Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devise a strategy to deal with component governance alerts in SBRP #4838

Open
MichaelSimons opened this issue Jan 22, 2025 · 0 comments
Open
Assignees
Labels
area-sbrp Source build reference packages

Comments

@MichaelSimons
Copy link
Member

MichaelSimons commented Jan 22, 2025

The SBRP repo has component governance (CG) alerts reported for reference packages it produces that have actual CVEs. The CG alerts against the reference packages are false positives given the packages do not contain any implementations.

If these packages are no longer referenced they will get removed by the periodic cleanup of unreferenced pack. It is possible however that references would remain. The scenario is SBRP A reference B (with CVE). Product repos reference A but explicitly reference a newer B to lift the version to address the CVE. In this scenario B could never be "cleaned up. This would not be a security issue because B is a reference only package.

Currently CGs in SBRP are being addressed by this process. This is a waste of resources for no benefit other than to check a box. The customizations made to "lift" references breaks our ability to easily regenerate the reference packages as improvements are made to the tooling - #3978.

Ideally CG would be configured in such a way to ignore the reference packages in SBRP. It should still scan the repo's infrastructure.

Related to #3559

@MichaelSimons MichaelSimons added the area-sbrp Source build reference packages label Jan 22, 2025
@MichaelSimons MichaelSimons self-assigned this Jan 23, 2025
@MichaelSimons MichaelSimons moved this from Backlog to In Progress in .NET Source Build Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-sbrp Source build reference packages
Projects
Status: In Progress
Development

No branches or pull requests

1 participant