File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ go build -o hook-vault-radar
5858
5959``` bash
6060# Install to ~/.local/bin (or your preferred location)
61- cp hook-vault-radar ~ /.local/bin/
62- chmod +x ~ /.local/bin /hook-vault-radar
61+ cp hook-vault-radar ~ /.agent-hooks/vault-radar/hook-vault-radar
62+ chmod +x ~ /.agent-hooks/vault-radar /hook-vault-radar
6363```
6464
6565## Configuration
@@ -222,7 +222,7 @@ cat testdata/claude/userpromptsubmit.json | ./hook-vault-radar --framework claud
222222` ` ` json
223223{
224224 "decision": "block",
225- "reason": "Vault Radar detected 1 security finding:\n\n 1. [INFO] aws_access_key_id: AWS access key ID (scan-content.txt)\n\n Please remove or redact sensitive information before proceeding.",
225+ "reason": "\n Vault Radar detected 1 security finding:\n\n 1. [INFO] aws_access_key_id: AWS access key ID (scan-content.txt)\n\n Please remove or redact sensitive information before proceeding.",
226226 "hookSpecificOutput": {
227227 "hookEventName": "UserPromptSubmit"
228228 },
You can’t perform that action at this time.
0 commit comments