Repository navigation
ci: Align rust-gems RustSec audit workflow - #177
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
CI does not enforce lockfile consistency, so builds can use a different dependency graph than both audit jobs scan, potentially missing vulnerabilities in built dependencies.
1 open issue
What changed in this PR
Aligns rust-gems’ RustSec auditing with the Blackbird workflow approach and adds a tracked dependency lockfile for workspace audits.
Changes:
- Adds push-triggered and manual audits, plus nightly audits with issue-reporting permissions.
- Commits the root
Cargo.lockas the audit input. - Allows tracking the root lockfile while keeping nested lockfiles ignored.
| File | Description |
|---|---|
Cargo.lock |
Records workspace dependency versions for auditing. |
.gitignore |
Exempts the root lockfile from ignore rules. |
.github/workflows/security-audit.yml |
Adds event-driven and scheduled RustSec audit jobs. |
Review effort: Balanced (auto)
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.

Adds a RustSec audit workflow for rust-gems. This also checks in a root Cargo.lock, updates .gitignore for lockfile auditing, and passes
--lockedin theMakefilebuildtarget.