about summary refs log tree commit diff
path: root/tools/rust-crates-advisory/check-security-advisory.rs
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2021-10-11T12·24+0200
committerclbot <clbot@tvl.fyi>2022-02-04T11·20+0000
commitc3684740ad6852f15de46577974f44dc98ca9703 (patch)
treeb82503c21d24ecc60f3791186c6a33bb19f71080 /tools/rust-crates-advisory/check-security-advisory.rs
parent32da9861d5e8d8c3a51e3a102f08f15072ab8eea (diff)
feat(tools/rust-crates-advisory): also check all our Cargo.locks r/3761
check-all-our-lock-files works very similarly to
//users/sterni/nixpkgs-crate-holes, even reusing some parts of it, but
is much simpler since we don't need to extract the lock files — they are
already in tree.

It is implemented as a very simple script which just traverses the
subtree of the current directory, collecting all warnings. When
executing this script in buildkite via extraSteps, it never fails,
instead annotating the pipeline run with a warning.

Change-Id: I0a0bc26deffe7b20b99f5aa7238fb3c3bb9deb92
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3721
Reviewed-by: sterni <sternenseemann@systemli.org>
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Diffstat (limited to 'tools/rust-crates-advisory/check-security-advisory.rs')
0 files changed, 0 insertions, 0 deletions