test(config-audit): add baseline-all-a fixture + grade-stability regression test
This commit is contained in:
parent
a9fb328584
commit
350cebc39c
8 changed files with 167 additions and 0 deletions
28
plugins/config-audit/tests/fixtures/baseline-all-a/hooks/hooks.json
vendored
Normal file
28
plugins/config-audit/tests/fixtures/baseline-all-a/hooks/hooks.json
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"hooks": {
|
||||
"PreToolUse": [
|
||||
{
|
||||
"matcher": "Bash",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "echo pre-bash",
|
||||
"timeout": 5000
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"PostToolUse": [
|
||||
{
|
||||
"matcher": "Write|Edit",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "echo post-edit",
|
||||
"timeout": 5000
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue