Experimental
Schema
EffectiveNetworkPolicy
Type:
object
EffectiveNetworkPolicy is the policy after layering and fail-closed defaults.
allowNetworks
Type:
array
allow_networks are effective allowed rules with attribution.
Array item
Schema:
AttributedRule
All schema constraints and annotations
{
"description": "allow_networks are effective allowed rules with attribution.",
"items": {
"$ref": "#/components/schemas/AttributedRule"
},
"type": "array"
}denyNetworks
Type:
array
deny_networks are effective denied rules with attribution.
Array item
Schema:
AttributedRule
All schema constraints and annotations
{
"description": "deny_networks are effective denied rules with attribution.",
"items": {
"$ref": "#/components/schemas/AttributedRule"
},
"type": "array"
}mode
· required
Schema:
NetworkPolicyMode
mode is the effective mode and is always concrete in conforming responses.
All schema constraints and annotations
{
"$ref": "#/components/schemas/NetworkPolicyMode",
"description": "mode is the effective mode and is always concrete in conforming responses.",
"not": {
"enum": [
"unspecified"
]
}
}All schema constraints and annotations
{
"description": "EffectiveNetworkPolicy is the policy after layering and fail-closed defaults.",
"properties": {
"allowNetworks": {
"description": "allow_networks are effective allowed rules with attribution.",
"items": {
"$ref": "#/components/schemas/AttributedRule"
},
"type": "array"
},
"denyNetworks": {
"description": "deny_networks are effective denied rules with attribution.",
"items": {
"$ref": "#/components/schemas/AttributedRule"
},
"type": "array"
},
"mode": {
"$ref": "#/components/schemas/NetworkPolicyMode",
"description": "mode is the effective mode and is always concrete in conforming responses.",
"not": {
"enum": [
"unspecified"
]
}
}
},
"required": [
"mode"
],
"title": "EffectiveNetworkPolicy",
"type": "object"
}