mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-04-30 04:20:20 +00:00
Require ai:execute for approvals approve/deny
This commit is contained in:
parent
23cc5af69f
commit
773ba13ada
1 changed files with 2 additions and 0 deletions
|
|
@ -1240,6 +1240,8 @@ func TestAIExecuteMutationEndpointsRequireAIExecuteScope(t *testing.T) {
|
|||
{method: http.MethodPost, path: "/api/ai/patrol/suppressions", body: `{}`},
|
||||
{method: http.MethodDelete, path: "/api/ai/patrol/suppressions/rule-1", body: ""},
|
||||
{method: http.MethodPost, path: "/api/ai/remediation/approve", body: `{}`},
|
||||
{method: http.MethodPost, path: "/api/ai/approvals/approval-1/approve", body: `{}`},
|
||||
{method: http.MethodPost, path: "/api/ai/approvals/approval-1/deny", body: `{}`},
|
||||
}
|
||||
|
||||
for _, tc := range paths {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue