Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,24 @@ properties:
- operator
- value
properties:
key:
description: |
An optional key used to target a specific attribute within the condition type.
For example, when using `http-header-match`, the key would be the header name (e.g., `X-Forwarded-For`).
type:
- string
- "null"
value:
description: The value corresponding to the condition type.
examples:
- "0.0.0.0/0"
type: string
regex:
description: |
When `true`, the `value` field is interpreted as a regular expression pattern
rather than a literal string. Allows for advanced pattern matching on condition values.
type: boolean
default: false
type:
description: A string that describes the match type for the condition.
type: string
Expand Down Expand Up @@ -99,8 +117,3 @@ properties:
- "Less than — numeric comparison."
- "Greater than or equal — numeric comparison."
- "Less than or equal — numeric comparison."
value:
description: The value corresponding to the condition type.
examples:
- "0.0.0.0/0"
type: string
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,21 @@ properties:
oneOf:
- type: string
- $ref: ../../../../StackVariable.yml
key:
description: |
An optional key used to target a specific attribute within the condition type.
For example, when using `http-header-match`, the key would be the header name (e.g., `X-Forwarded-For`).
oneOf:
- type: string
- type: "null"
- $ref: ../../../../StackVariable.yml
regex:
description: |
When `true`, the `value` field is interpreted as a regular expression pattern
rather than a literal string. Allows for advanced pattern matching on condition values.
oneOf:
- type: boolean
- $ref: ../../../../StackVariable.yml
- $ref: ../../../../StackVariable.yml
- $ref: ../../../../StackVariable.yml
- $ref: ../../../../StackVariable.yml
Expand Down
2 changes: 1 addition & 1 deletion stackspec/stackspec.json

Large diffs are not rendered by default.

Loading