update cli with new behavior

This commit is contained in:
kevin zhao
2025-12-02 23:03:22 +00:00
parent 59fd706deb
commit 06676fdaea
5 changed files with 54 additions and 50 deletions

View File

@@ -40,17 +40,15 @@ prefix_rule(
assert_eq!(
result,
json!({
"match": {
"decision": "forbidden",
"matchedRules": [
{
"prefixRuleMatch": {
"matchedPrefix": ["git", "push"],
"decision": "forbidden"
}
"decision": "forbidden",
"matchedRules": [
{
"prefixRuleMatch": {
"matchedPrefix": ["git", "push"],
"decision": "forbidden"
}
]
}
}
]
})
);