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

It should be possible to scan a project without updating its sbom or "risk" - just getting the exit code in the pipeline #181

Open
timbastin opened this issue Sep 25, 2024 · 0 comments

Comments

@timbastin
Copy link
Member

Running the scans on a different than the primary branch makes no sense. Imagine the following scenario:

main --> . --> . --> . -->
|
branch A --> . --> .

If branch A fixes a vulnerability, the next run on branch main will reopen it. The next run on branch A will then close it again. Thus Devguard should only scan the main branch to get the current security posture.

Nevertheless a developer needs feedback on the updated dependencies, if his branch has any impact on the security posture after getting merged to main. We just need the exit code - maybe we can even add a comment to the merge request about the potential impact after merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant