Skip to content

Commit 0e94b72

Browse files
committed
waf response
1 parent 6640b18 commit 0e94b72

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

components/schemas/environments/services/loadbalancer/config/types/v1/WafConfig.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,15 @@ properties:
5252
type:
5353
- integer
5454
- "null"
55+
response:
56+
description: Response configuration for when the rule is triggered.
57+
oneOf:
58+
- type: object
59+
properties:
60+
http_code:
61+
description: The HTTP code that will be sent back to the requester on rule match.
62+
type: integer
63+
- type: "null"
5564
conditions:
5665
description: An array of the specific conditions for the rule.
5766
type: array

stackspec/schema/services/loadbalancer/types/v1/StackSpecWafConfig.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,16 @@ properties:
6464
- type: integer
6565
- type: "null"
6666
- $ref: ../../../../StackVariable.yml
67+
response:
68+
description: Response configuration for when the rule is triggered.
69+
oneOf:
70+
- type: object
71+
properties:
72+
http_code:
73+
description: The HTTP code that will be sent back to the requester on rule match.
74+
type: integer
75+
- type: "null"
76+
- $ref: ../../../../StackVariable.yml
6777
conditions:
6878
description: An array of the specific conditions for the rule.
6979
oneOf:

0 commit comments

Comments
 (0)