Skip to content

feat: report NuGet inventory through Azure Monitor Logs Ingestion API - #186

Merged
devlead merged 1 commit into
developfrom
feature/monitorIngest
Oct 16, 2026
Merged

devlead merged 1 commit into
developfrom
feature/monitorIngest

Conversation

@devlead

@devlead devlead commented Oct 16, 2026

Copy link
Copy Markdown
Owner

Replace HTTP Data Collector as the default path with Logs Ingestion (DefaultAzureCredential, no client secret). Keep workspace/shared-key as a deprecated fallback, reject mixed mode, and require an absolute HTTPS endpoint. Skip upload when a scan has no records so empty inventories still succeed.

Add a Direct DCR that maps DPI JSON onto a migrated NuGetReport_CL table (suffixed columns, quoted source). Use a distinct input stream (Custom-NuGetReport) and outputStream Custom-NuGetReport_CL. Document table migrate, Entra app, Monitoring Metrics Publisher on the DCR, and GitHub OIDC for main and develop only (not pull_request), parameterized with $owner/$repo.

Gate azure/login and ingestion env to push/workflow_dispatch on main or develop. Stop passing shared-key and stream secrets in CI; an empty stream env no longer overrides the default.

Cover settings, reporters, and serialization with xUnit v3, MTP, Verify, and Cake testing fakes. Move pack metadata onto DPI.csproj, keep Cake restore paths absolute, and snapshot Verify files with LF endings.

Replace HTTP Data Collector as the default path with Logs Ingestion
(DefaultAzureCredential, no client secret). Keep workspace/shared-key as a
deprecated fallback, reject mixed mode, and require an absolute HTTPS
endpoint. Skip upload when a scan has no records so empty inventories still
succeed.

Add a Direct DCR that maps DPI JSON onto a migrated NuGetReport_CL table
(suffixed columns, quoted source). Use a distinct input stream
(Custom-NuGetReport) and outputStream Custom-NuGetReport_CL. Document table
migrate, Entra app, Monitoring Metrics Publisher on the DCR, and GitHub OIDC
for main and develop only (not pull_request), parameterized with $owner/$repo.

Gate azure/login and ingestion env to push/workflow_dispatch on main or
develop. Stop passing shared-key and stream secrets in CI; an empty stream
env no longer overrides the default.

Cover settings, reporters, and serialization with xUnit v3, MTP, Verify, and
Cake testing fakes. Move pack metadata onto DPI.csproj, keep Cake restore
paths absolute, and snapshot Verify files with LF endings.
@devlead
devlead merged commit b982177 into develop Oct 16, 2026
3 checks passed
@devlead
devlead deleted the feature/monitorIngest branch October 16, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant