Skip to content

Ignore spurious SBoM/component-detection warnings - #7552

Merged
akoeplinger merged 1 commit into
mainfrom
akoeplinger/sbom-ignore-directories
Jul 6, 2026
Merged

akoeplinger merged 1 commit into
mainfrom
akoeplinger/sbom-ignore-directories

Conversation

@akoeplinger

Copy link
Copy Markdown
Member

Add directory exclusions for the Component Governance scan (componentgovernance.ignoreDirectories) and the Generate SBoM Manifest task (sbom.additionalComponentDetectorArgs --DirectoryExclusionList), covering build outputs and test assets that produce non-actionable component-detection warnings.

Add directory exclusions for the Component Governance scan
(componentgovernance.ignoreDirectories) and the Generate SBoM Manifest
task (sbom.additionalComponentDetectorArgs --DirectoryExclusionList),
covering build outputs and test assets that produce non-actionable
component-detection warnings.

Co-authored-by: Copilot <[email protected]>
Copilot AI review requested due to automatic review settings July 6, 2026 09:34
@akoeplinger
akoeplinger requested review from a team as code owners July 6, 2026 09:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the VMR official pipeline SDL configuration to suppress non-actionable Component Governance / SBoM “component detection” warnings by excluding known-problematic output and test-asset directories from scanning.

Changes:

  • Added componentgovernance.ignoreDirectories exclusions for directories that consistently generate spurious detection warnings.
  • Added matching SBoM generation exclusions via sbom.additionalComponentDetectorArgs using --DirectoryExclusionList.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@akoeplinger
akoeplinger enabled auto-merge (squash) July 6, 2026 11:55
@akoeplinger
akoeplinger merged commit a67d575 into main Jul 6, 2026
12 checks passed
@akoeplinger
akoeplinger deleted the akoeplinger/sbom-ignore-directories branch July 6, 2026 12:06
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.

3 participants