diff options
| author | Mohamed Hegazy <mhegazy@anthropic.com> | 2026-10-15 22:21:47 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-10-15 22:21:47 +0000 |
| commit | f014d4623b59ffc4212ffd43f274ec81dffa35d6 (patch) | |
| tree | b273e273bb42a9ae00395ba4c72c19d4bfde7020 /plugins/security-guidance/hooks/security_reminder_hook.py | |
| parent | 8876c9951efd618ef5a889dd1a6479bdb73b70bd (diff) | |
| parent | 83e004a98e1fc268a94cc6a74b1b054630542696 (diff) | |
Merge remote-tracking branch 'origin/main' into mhegazy/sg-skip-untracked-listingmhegazy/sg-skip-untracked-listing
Diffstat (limited to 'plugins/security-guidance/hooks/security_reminder_hook.py')
| -rwxr-xr-x | plugins/security-guidance/hooks/security_reminder_hook.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/security-guidance/hooks/security_reminder_hook.py b/plugins/security-guidance/hooks/security_reminder_hook.py index 97ad466e..e29f515e 100755 --- a/plugins/security-guidance/hooks/security_reminder_hook.py +++ b/plugins/security-guidance/hooks/security_reminder_hook.py @@ -2135,6 +2135,8 @@ def handle_stop_hook(input_data): **v2_metrics, **extra, **sweep, **({"diff_hdr_unparsed": len(gitutil._unparsed_diff_headers)} if gitutil._unparsed_diff_headers else {}), + **({"secret_shaped_skipped": len(gitutil._secret_shaped_skipped)} + if gitutil._secret_shaped_skipped else {}), }) sys.exit(0) @@ -2350,6 +2352,8 @@ def handle_stop_hook(input_data): **sweep_trimmed, **({"diff_hdr_unparsed": len(gitutil._unparsed_diff_headers)} if gitutil._unparsed_diff_headers else {}), + **({"secret_shaped_skipped": len(gitutil._secret_shaped_skipped)} + if gitutil._secret_shaped_skipped else {}), }, rewake_summary=_format_vulns_summary(vulns), additional_context=(PROVENANCE_BANNER + "\n\n" + concrete_guidance + CONTINUATION_SUFFIX + "\n"), @@ -2385,6 +2389,8 @@ def handle_stop_hook(input_data): **v2_metrics, **({"diff_hdr_unparsed": len(gitutil._unparsed_diff_headers)} if gitutil._unparsed_diff_headers else {}), + **({"secret_shaped_skipped": len(gitutil._secret_shaped_skipped)} + if gitutil._secret_shaped_skipped else {}), }) sys.exit(0) |
