Skip to content

Commit bea8b05

Browse files
hiskudinclaude
andcommitted
fix: add defender_config to mock handler body type
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 02bf4a2 commit bea8b05

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

mocks/handlers.stackone-rpc.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ export const stackoneRpcHandlers = [
2121
action?: string;
2222
body?: Record<string, unknown>;
2323
defender_enabled?: boolean;
24+
defender_config?: {
25+
enabled?: boolean;
26+
block_high_risk?: boolean;
27+
use_tier1_classification?: boolean;
28+
use_tier2_classification?: boolean;
29+
};
2430
headers?: Record<string, string>;
2531
path?: Record<string, string>;
2632
query?: Record<string, string>;

0 commit comments

Comments
 (0)