fix(scan): emit audit log events for multi-folder scans - #911
Closed
kocaemre wants to merge 1 commit into
Closed
Conversation
Signed-off-by: Emre K <110906681+kocaemre@users.noreply.github.com>
kocaemre
force-pushed
the
fix/multi-folder-audit-log
branch
from
July 28, 2026 11:59
ab9d9f9 to
b0927b3
Compare
Author
|
Closing this because I missed the existing overlapping PR #887 for the same multi-folder audit-log lifecycle path. I do not want to add duplicate review noise. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed and why
Multi-folder scans now write audit-log coverage when
--audit-logis enabled.This closes the silent no-op path for monorepo scans by:
scan.startedevent with folder count and flag contextscan.finishedwith the final exit code and finding countoa.detectedevents are written when--check-overridesis enabledCloses #879
Verification
Manual audit-log smoke test:
node dist/index.js examples \ --offline-db tests/fixtures/advisories/seeded.db \ --audit-log "$audit" \ --json \ --min-severity lowResult:
Scope notes
This PR is limited to the multi-folder audit-log behavior for #879. It does not change SARIF/CDX support, report JSON behavior, or the unrelated #877/#878 docs/report issues.