Repository navigation
Add fail-closed dependency vulnerability scanning - #61
Open
TristanKruse wants to merge 2 commits into
Open
TristanKruse wants to merge 2 commits into
TristanKruse wants to merge 2 commits into
Conversation
This branch has not been deployed
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.
Independent follow-up to #60; no merging or publishing. Adds development-only bundler-audit 0.9.3, a dedicated read-only security workflow for PRs/main/manual/weekly runs, and JSON artifacts. The wrapper refreshes advisories, normalizes Windows paths, rejects empty databases, and verifies that a known-vulnerable lockfile is detected before accepting a clean scan. Database update failures and scanner errors remain failures with diagnostic evidence; no vulnerable fixture gem is installed or executed, and no ignores are added. Offline synthetic tests verify clean/vulnerable results, health failures, Windows paths, exit codes, and report persistence. The default test task remains offline. The RubyGems runtime dependencies and version are unchanged. Local scanner tests: 11 examples, zero failures; focused lint clean. Full CI will validate the combined stack.
Final verification
The dedicated vulnerability scan and every normal CI job are green at 3d71731: https://github.com/LukasNiessen/ArchUnitRuby/actions/runs/39749666974 . The real database scan checked 1,266 advisories with 0 findings and successfully detected the known-vulnerable health fixture. A local-only integration with #62 also passed 593 examples, coverage thresholds, release metadata, and all 260 linted files. No PR was merged and no release was published.