test(config-audit): add marketplace-small/medium/large scanner fixtures
This commit is contained in:
parent
94ce70186c
commit
5a4f29fd14
14 changed files with 222 additions and 0 deletions
17
plugins/config-audit/tests/fixtures/marketplace-large/hooks/hooks.json
vendored
Normal file
17
plugins/config-audit/tests/fixtures/marketplace-large/hooks/hooks.json
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"hooks": {
|
||||
"PreToolUse": [
|
||||
{ "matcher": "Bash", "hooks": [{ "type": "command", "command": "echo pre-bash", "timeout": 5000 }] }
|
||||
],
|
||||
"PostToolUse": [
|
||||
{ "matcher": "Write", "hooks": [{ "type": "command", "command": "echo post-write", "timeout": 5000 }] },
|
||||
{ "matcher": "Edit", "hooks": [{ "type": "command", "command": "echo post-edit", "timeout": 5000 }] }
|
||||
],
|
||||
"SessionStart": [
|
||||
{ "hooks": [{ "type": "command", "command": "echo session-start", "timeout": 5000 }] }
|
||||
],
|
||||
"Stop": [
|
||||
{ "hooks": [{ "type": "command", "command": "echo stop", "timeout": 5000 }] }
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue