mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Automated PR] Sync cloud_defend plugin policy schema with cloud-defend repo (#164216)
Automated by https://buildkite.com/elastic/cloud-defend/builds/2061 Co-authored-by: sec_cloudnative_integrations <sec-cloudnative-integrations@elastic.co>
This commit is contained in:
parent
5c1d118c36
commit
7127d32e34
1 changed files with 9 additions and 5 deletions
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"$id": "https://elastic.co/cloud-defend/policy-schema.json",
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$comment": "policy-version=1.0.0",
|
||||
"type": "object",
|
||||
"anyOf": [
|
||||
{
|
||||
|
@ -10,8 +11,11 @@
|
|||
"required": ["process"]
|
||||
}
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"version": {
|
||||
"type": "string"
|
||||
},
|
||||
"file": {
|
||||
"type": "object",
|
||||
"required": ["selectors", "responses"],
|
||||
|
@ -57,7 +61,7 @@
|
|||
"fileSelector": {
|
||||
"type": "object",
|
||||
"required": ["name"],
|
||||
"additionalProperties": false,
|
||||
"additionalProperties": true,
|
||||
"anyOf": [
|
||||
{
|
||||
"required": ["operation"]
|
||||
|
@ -206,7 +210,7 @@
|
|||
"processSelector": {
|
||||
"type": "object",
|
||||
"required": ["name"],
|
||||
"additionalProperties": false,
|
||||
"additionalProperties": true,
|
||||
"anyOf": [
|
||||
{
|
||||
"required": ["operation"]
|
||||
|
@ -346,7 +350,7 @@
|
|||
"fileResponse": {
|
||||
"type": "object",
|
||||
"required": ["match", "actions"],
|
||||
"additionalProperties": false,
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"match": {
|
||||
"type": "array",
|
||||
|
@ -373,7 +377,7 @@
|
|||
"processResponse": {
|
||||
"type": "object",
|
||||
"required": ["match", "actions"],
|
||||
"additionalProperties": false,
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"match": {
|
||||
"type": "array",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue