From 0ad9cdf9643957396b1ddc96a06cf31269be9bd9 Mon Sep 17 00:00:00 2001 From: Eric Brown Date: Tue, 23 Apr 2024 11:17:31 -0700 Subject: [PATCH] Add Precaution script to the supported tools Precaution is another SAST that can analyze Java code for security vulnerabilities. The Precaution CLI is named precli and must be installed via Pip. For more information: https://github.com/securesauce/precli https://precli.readthedocs.io/latest/ Signed-off-by: Eric Brown --- scripts/runPrecaution.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 scripts/runPrecaution.sh diff --git a/scripts/runPrecaution.sh b/scripts/runPrecaution.sh new file mode 100755 index 0000000000..6ce7d5afa8 --- /dev/null +++ b/scripts/runPrecaution.sh @@ -0,0 +1,6 @@ +# To install Precaution CLI: +# pip install precli +# +# See also: https://precli.readthedocs.io/latest/ +benchmark_version=$(scripts/getBenchmarkVersion.sh) +precli -r . --json -o results/Benchmark_$benchmark_version-Precaution.json