Onboard arcade-validation to OpenTelemetry Audit (OTel)#5500
Conversation
Add OTel Audit SDK instrumentation for privileged operations per S360 Service Layer Auditing requirements
|
I'd run this branch through https://dnceng.visualstudio.com/internal/_build?definitionId=282 to make sure it does what you expect it to. |
| string round0FilePath = Path.Combine(builder.TestRepoRoot, "artifacts", "tmp", "Release", "Signing", "Round0-Sign.proj"); | ||
| string round0ProjectText = File.ReadAllText(round0FilePath); | ||
| string expectedCert = useDotNetCert.GetValueOrDefault() ? DotNetCertificate : MicrosoftCertificate; | ||
| AuditHelper.LogControlPlane( |
There was a problem hiding this comment.
Do you need to initialize AuditHelper?
There was a problem hiding this comment.
Yes, we need to initialize AuditHelper. I will fix that
|
File: eng/validation/update-channel.ps1 (line ~10) There appears to be a wrong path for dot-sourcing the audit module. The file is loaded as: But I think this would cause a script error at runtime when |
|
File: eng/validation/build-arcadewithrepo.ps1 (multiple Write-AuditLog-* call sites) Several audit calls in the happy path are hardcoded as Is there an intent to add failure-path audit logging here in the same way |
|
File: src/Validation/src/AuditHelper.cs (Initialize() method, lines ~609–615) The Unless |
@davfost thanks for pointing this out. |
Work Item: https://dev.azure.com/dnceng/internal/_workitems/edit/10352
Add OTel Audit SDK instrumentation for privileged operations per S360 Service Layer Auditing requirements
Changes:
GetLocalIpAddress helper, and Golden Schema field population