-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move cargo-audit to separate action (#1192)
* Move cargo-audit to separate action - For PRs only run on dependency changes. - Run once a day on main. - Add audit.toml file - Update mio and whoami to avoid CVEs. * Use port 44010 instead of 50010 for tx generator
- Loading branch information
Showing
8 changed files
with
45 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[advisories] | ||
ignore = [ | ||
# remove_dir_all (used by deprecated tempdir crate) | ||
"RUSTSEC-2023-0018", | ||
# DoS in WebPKI that comes with tide_disco | ||
"RUSTSEC-2023-0052", | ||
# Tungstenite allows remote attackers to cause a denial of service | ||
# Dependency of async-tungstenite -> tide-websockets / surf-disco | ||
"RUSTSEC-2023-0065", | ||
] |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Security audit | ||
on: | ||
push: | ||
# For PR we only want to fail if dependencies were changed. | ||
paths: | ||
- "**/Cargo.toml" | ||
- "**/Cargo.lock" | ||
# Run the audit job once a day on main. | ||
schedule: | ||
- cron: "0 0 * * *" | ||
jobs: | ||
security_audit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
# See https://github.com/marketplace/actions/rust-audit-check for docs | ||
- uses: actions-rs/audit-check@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} |
This file contains 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
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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