-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi-security-request-header-condition-2-schema.json
More file actions
57 lines (57 loc) · 2.01 KB
/
Copy pathapi-security-request-header-condition-2-schema.json
File metadata and controls
57 lines (57 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/akamai-api-security/refs/heads/main/json-schema/api-security-request-header-condition-2-schema.json",
"title": "request-header-condition-2",
"description": "Collects data needed for condition matches on request headers.",
"type": "object",
"properties": {
"className": {
"description": "The type of condition. The `RequestHeaderCondition` type checks for a header from the requesting client and determines if it matches a provided header. This subtype supports the `?` wildcard to match any single character and the `*` wildcard to match any sequence of 0 or more characters. You can also match on case sensitivity.",
"enum": [
"RequestHeaderCondition"
],
"type": "string"
},
"name": {
"description": "A header name. Use `name` to check whether the specified header exists.",
"items": {
"minLength": 1,
"type": "string"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"nameWildcard": {
"description": "Whether to interpret `?` and `*` as wildcards.",
"type": "boolean"
},
"positiveMatch": {
"description": "Whether the condition triggers on a match or lack of match.",
"type": "boolean"
},
"value": {
"description": "A list of unique header values. Use both `value` and `name` to check whether the requesting client\u2019s header matches a provided header.",
"items": {
"minLength": 1,
"type": "string"
},
"nullable": true,
"type": "array",
"uniqueItems": true
},
"valueCase": {
"description": "Whether to consider the case sensitivity of the provided header values.",
"type": "boolean"
},
"valueWildcard": {
"description": "Whether to interpret `?` and `*` as wildcards.",
"type": "boolean"
}
},
"required": [
"className",
"name"
],
"additionalProperties": false
}