Fixed validation caching for HTTP validators to include rendered headers so inactive secrets no longer appear active, in some cases

This commit is contained in:
Mick Grove 2025-08-01 09:15:24 -07:00
commit f48eeb79e2
5 changed files with 28 additions and 118 deletions

View file

@ -68,6 +68,10 @@ if [[ $status -eq 200 ]]; then
status=0
fi
if [[ $status -eq 205 ]]; then
status=0
fi
if [[ $status -ne 0 ]]; then
echo "Kingfisher detected secrets in staged files. Commit aborted." >&2
exit $status