You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Configuration for access control on workloads. See more details at: https://istio.io/docs/reference/config/security/authorization-policy.html",
3
+
"oneOf": [
4
+
{
5
+
"not": {
6
+
"anyOf": [
7
+
{
8
+
"required": [
9
+
"provider"
10
+
]
11
+
}
12
+
]
13
+
}
14
+
},
15
+
{
16
+
"required": [
17
+
"provider"
18
+
]
19
+
}
20
+
],
21
+
"properties": {
22
+
"action": {
23
+
"description": "Optional.",
24
+
"enum": [
25
+
"ALLOW",
26
+
"DENY",
27
+
"AUDIT",
28
+
"CUSTOM"
29
+
],
30
+
"type": "string"
31
+
},
32
+
"provider": {
33
+
"description": "Specifies detailed configuration of the CUSTOM action.",
34
+
"properties": {
35
+
"name": {
36
+
"description": "Specifies the name of the extension provider.",
37
+
"type": "string"
38
+
}
39
+
},
40
+
"type": "object"
41
+
},
42
+
"rules": {
43
+
"description": "Optional.",
44
+
"items": {
45
+
"properties": {
46
+
"from": {
47
+
"description": "Optional.",
48
+
"items": {
49
+
"properties": {
50
+
"source": {
51
+
"description": "Source specifies the source of a request.",
52
+
"properties": {
53
+
"ipBlocks": {
54
+
"description": "Optional.",
55
+
"items": {
56
+
"type": "string"
57
+
},
58
+
"type": "array"
59
+
},
60
+
"namespaces": {
61
+
"description": "Optional.",
62
+
"items": {
63
+
"type": "string"
64
+
},
65
+
"type": "array"
66
+
},
67
+
"notIpBlocks": {
68
+
"description": "Optional.",
69
+
"items": {
70
+
"type": "string"
71
+
},
72
+
"type": "array"
73
+
},
74
+
"notNamespaces": {
75
+
"description": "Optional.",
76
+
"items": {
77
+
"type": "string"
78
+
},
79
+
"type": "array"
80
+
},
81
+
"notPrincipals": {
82
+
"description": "Optional.",
83
+
"items": {
84
+
"type": "string"
85
+
},
86
+
"type": "array"
87
+
},
88
+
"notRemoteIpBlocks": {
89
+
"description": "Optional.",
90
+
"items": {
91
+
"type": "string"
92
+
},
93
+
"type": "array"
94
+
},
95
+
"notRequestPrincipals": {
96
+
"description": "Optional.",
97
+
"items": {
98
+
"type": "string"
99
+
},
100
+
"type": "array"
101
+
},
102
+
"principals": {
103
+
"description": "Optional.",
104
+
"items": {
105
+
"type": "string"
106
+
},
107
+
"type": "array"
108
+
},
109
+
"remoteIpBlocks": {
110
+
"description": "Optional.",
111
+
"items": {
112
+
"type": "string"
113
+
},
114
+
"type": "array"
115
+
},
116
+
"requestPrincipals": {
117
+
"description": "Optional.",
118
+
"items": {
119
+
"type": "string"
120
+
},
121
+
"type": "array"
122
+
}
123
+
},
124
+
"type": "object"
125
+
}
126
+
},
127
+
"type": "object"
128
+
},
129
+
"type": "array"
130
+
},
131
+
"to": {
132
+
"description": "Optional.",
133
+
"items": {
134
+
"properties": {
135
+
"operation": {
136
+
"description": "Operation specifies the operation of a request.",
0 commit comments