Harden audit tooling and release helpers
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -uo pipefail
|
||||
|
||||
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
||||
MODE="${SECURITY_AUDIT_MODE:-ci}"
|
||||
SCOPE="${SECURITY_AUDIT_SCOPE:-current}"
|
||||
REPORTS_DIR="${SECURITY_AUDIT_REPORTS_DIR:-$ROOT/audit-reports}"
|
||||
@@ -95,6 +95,14 @@ if [[ "${#REPOS[@]}" -eq 0 ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Security audit mode: $MODE"
|
||||
echo "Security audit scope: $SCOPE"
|
||||
echo "Security audit reports: $REPORTS_DIR"
|
||||
echo "Security audit repositories: ${#REPOS[@]}"
|
||||
if [[ "${#REPOS[@]}" -le 12 ]]; then
|
||||
printf ' %s\n' "${REPOS[@]}"
|
||||
fi
|
||||
|
||||
declare -a PY_ROOTS=()
|
||||
for repo in "${REPOS[@]}"; do
|
||||
[[ -d "$repo/src" ]] && PY_ROOTS+=("$repo/src")
|
||||
|
||||
Reference in New Issue
Block a user