-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #368 from Revolyssup/schemas
Schemas
- Loading branch information
Showing
4,814 changed files
with
549,584 additions
and
270,477 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
272 changes: 272 additions & 0 deletions
272
...rkloads/1.10.0-alpha.0/authorizationpolicy.meshery.layer5.io.meshery.layer5io.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,272 @@ | ||
{ | ||
"description": "Configuration for access control on workloads. See more details at: https://istio.io/docs/reference/config/security/authorization-policy.html", | ||
"oneOf": [ | ||
{ | ||
"not": { | ||
"anyOf": [ | ||
{ | ||
"required": [ | ||
"provider" | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"required": [ | ||
"provider" | ||
] | ||
} | ||
], | ||
"properties": { | ||
"action": { | ||
"description": "Optional.", | ||
"enum": [ | ||
"ALLOW", | ||
"DENY", | ||
"AUDIT", | ||
"CUSTOM" | ||
], | ||
"type": "string" | ||
}, | ||
"provider": { | ||
"description": "Specifies detailed configuration of the CUSTOM action.", | ||
"properties": { | ||
"name": { | ||
"description": "Specifies the name of the extension provider.", | ||
"format": "string", | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"rules": { | ||
"description": "Optional.", | ||
"items": { | ||
"properties": { | ||
"from": { | ||
"description": "Optional.", | ||
"items": { | ||
"properties": { | ||
"source": { | ||
"description": "Source specifies the source of a request.", | ||
"properties": { | ||
"ipBlocks": { | ||
"description": "Optional.", | ||
"items": { | ||
"format": "string", | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"namespaces": { | ||
"description": "Optional.", | ||
"items": { | ||
"format": "string", | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"notIpBlocks": { | ||
"description": "Optional.", | ||
"items": { | ||
"format": "string", | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"notNamespaces": { | ||
"description": "Optional.", | ||
"items": { | ||
"format": "string", | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"notPrincipals": { | ||
"description": "Optional.", | ||
"items": { | ||
"format": "string", | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"notRemoteIpBlocks": { | ||
"description": "Optional.", | ||
"items": { | ||
"format": "string", | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"notRequestPrincipals": { | ||
"description": "Optional.", | ||
"items": { | ||
"format": "string", | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"principals": { | ||
"description": "Optional.", | ||
"items": { | ||
"format": "string", | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"remoteIpBlocks": { | ||
"description": "Optional.", | ||
"items": { | ||
"format": "string", | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"requestPrincipals": { | ||
"description": "Optional.", | ||
"items": { | ||
"format": "string", | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
} | ||
}, | ||
"type": "object" | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"type": "array" | ||
}, | ||
"to": { | ||
"description": "Optional.", | ||
"items": { | ||
"properties": { | ||
"operation": { | ||
"description": "Operation specifies the operation of a request.", | ||
"properties": { | ||
"hosts": { | ||
"description": "Optional.", | ||
"items": { | ||
"format": "string", | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"methods": { | ||
"description": "Optional.", | ||
"items": { | ||
"format": "string", | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"notHosts": { | ||
"description": "Optional.", | ||
"items": { | ||
"format": "string", | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"notMethods": { | ||
"description": "Optional.", | ||
"items": { | ||
"format": "string", | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"notPaths": { | ||
"description": "Optional.", | ||
"items": { | ||
"format": "string", | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"notPorts": { | ||
"description": "Optional.", | ||
"items": { | ||
"format": "string", | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"paths": { | ||
"description": "Optional.", | ||
"items": { | ||
"format": "string", | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"ports": { | ||
"description": "Optional.", | ||
"items": { | ||
"format": "string", | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
} | ||
}, | ||
"type": "object" | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"type": "array" | ||
}, | ||
"when": { | ||
"description": "Optional.", | ||
"items": { | ||
"properties": { | ||
"key": { | ||
"description": "The name of an Istio attribute.", | ||
"format": "string", | ||
"type": "string" | ||
}, | ||
"notValues": { | ||
"description": "Optional.", | ||
"items": { | ||
"format": "string", | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"values": { | ||
"description": "Optional.", | ||
"items": { | ||
"format": "string", | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"type": "array" | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"type": "array" | ||
}, | ||
"selector": { | ||
"description": "Optional.", | ||
"properties": { | ||
"matchLabels": { | ||
"additionalProperties": { | ||
"format": "string", | ||
"type": "string" | ||
}, | ||
"type": "object" | ||
} | ||
}, | ||
"type": "object" | ||
} | ||
}, | ||
"title": "Authorization Policy", | ||
"type": "object" | ||
} |
20 changes: 20 additions & 0 deletions
20
templates/oam/workloads/1.10.0-alpha.0/authorizationpolicy.meshery.layer5.io_definition.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"kind": "WorkloadDefinition", | ||
"apiVersion": "core.oam.dev/v1alpha1", | ||
"metadata": { | ||
"name": "AuthorizationPolicy", | ||
"creationTimestamp": null | ||
}, | ||
"spec": { | ||
"definitionRef": { | ||
"name": "authorizationpolicy.meshery.layer5.io" | ||
}, | ||
"metadata": { | ||
"@type": "pattern.meshery.io/mesh/workload", | ||
"k8sAPIVersion": "security.istio.io/v1beta1", | ||
"k8sKind": "AuthorizationPolicy", | ||
"meshName": "ISTIO", | ||
"meshVersion": "1.10.0-alpha.0" | ||
} | ||
} | ||
} |
Oops, something went wrong.