mirror of
https://github.com/openappsec/openappsec.git
synced 2025-06-28 16:41:02 +03:00
Update open-appsec-crd-v1beta2.yaml
This commit is contained in:
parent
de8e2d9970
commit
96ce290e5f
@ -138,6 +138,8 @@ spec:
|
|||||||
items:
|
items:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
host:
|
host:
|
||||||
type: string
|
type: string
|
||||||
mode:
|
mode:
|
||||||
@ -182,142 +184,6 @@ spec:
|
|||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata :
|
|
||||||
name : practices.openappsec.io
|
|
||||||
|
|
||||||
spec:
|
|
||||||
group: openappsec.io
|
|
||||||
versions:
|
|
||||||
- name: v1beta1
|
|
||||||
served: true
|
|
||||||
storage: true
|
|
||||||
schema:
|
|
||||||
openAPIV3Schema:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
spec:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
web-attacks:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
override-mode:
|
|
||||||
type: string
|
|
||||||
enum:
|
|
||||||
- prevent-learn
|
|
||||||
- detect-learn
|
|
||||||
- prevent
|
|
||||||
- detect
|
|
||||||
- inactive
|
|
||||||
minimum-confidence:
|
|
||||||
type: string
|
|
||||||
enum:
|
|
||||||
- medium
|
|
||||||
- high
|
|
||||||
- critical
|
|
||||||
max-url-size-bytes:
|
|
||||||
type: integer
|
|
||||||
max-object-depth:
|
|
||||||
type: integer
|
|
||||||
max-body-size-kb:
|
|
||||||
type: integer
|
|
||||||
max-header-size-bytes:
|
|
||||||
type: integer
|
|
||||||
protections:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
csrf-enabled:
|
|
||||||
type: string
|
|
||||||
enum:
|
|
||||||
- prevent-learn
|
|
||||||
- detect-learn
|
|
||||||
- prevent
|
|
||||||
- detect
|
|
||||||
- inactive
|
|
||||||
error-disclosure-enabled:
|
|
||||||
type: string
|
|
||||||
enum:
|
|
||||||
- prevent-learn
|
|
||||||
- detect-learn
|
|
||||||
- prevent
|
|
||||||
- detect
|
|
||||||
- inactive
|
|
||||||
open-redirect-enabled:
|
|
||||||
type: string
|
|
||||||
enum:
|
|
||||||
- prevent-learn
|
|
||||||
- detect-learn
|
|
||||||
- prevent
|
|
||||||
- detect
|
|
||||||
- inactive
|
|
||||||
non-valid-http-methods:
|
|
||||||
type: boolean
|
|
||||||
anti-bot:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
override-mode:
|
|
||||||
type: string
|
|
||||||
enum:
|
|
||||||
- prevent-learn
|
|
||||||
- detect-learn
|
|
||||||
- prevent
|
|
||||||
- detect
|
|
||||||
- inactive
|
|
||||||
injected-URIs:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
uri:
|
|
||||||
type: string
|
|
||||||
validated-URIs:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
uri:
|
|
||||||
type: string
|
|
||||||
snort-signatures:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
override-mode:
|
|
||||||
type: string
|
|
||||||
enum:
|
|
||||||
- prevent-learn
|
|
||||||
- detect-learn
|
|
||||||
- prevent
|
|
||||||
- detect
|
|
||||||
- inactive
|
|
||||||
configmap:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
openapi-schema-validation:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
override-mode:
|
|
||||||
type: string
|
|
||||||
enum:
|
|
||||||
- prevent-learn
|
|
||||||
- detect-learn
|
|
||||||
- prevent
|
|
||||||
- detect
|
|
||||||
- inactive
|
|
||||||
configmap:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
|
|
||||||
scope: Cluster
|
|
||||||
names:
|
|
||||||
plural: practices
|
|
||||||
singular: practice
|
|
||||||
kind: Practice
|
|
||||||
shortNames:
|
|
||||||
- practice
|
|
||||||
---
|
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
|
||||||
kind: CustomResourceDefinition
|
|
||||||
metadata :
|
metadata :
|
||||||
name : accesscontrolpractices.openappsec.io
|
name : accesscontrolpractices.openappsec.io
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
@ -338,8 +204,6 @@ spec:
|
|||||||
properties:
|
properties:
|
||||||
appsecClassName:
|
appsecClassName:
|
||||||
type: string
|
type: string
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
practiceMode:
|
practiceMode:
|
||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
@ -431,7 +295,7 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
- block-page
|
- block-page
|
||||||
#- redirect
|
- redirect
|
||||||
- response-code-only
|
- response-code-only
|
||||||
message-title:
|
message-title:
|
||||||
type: string
|
type: string
|
||||||
@ -455,8 +319,6 @@ spec:
|
|||||||
properties:
|
properties:
|
||||||
appsecClassName:
|
appsecClassName:
|
||||||
type: string
|
type: string
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
mode:
|
mode:
|
||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
@ -569,8 +431,6 @@ spec:
|
|||||||
properties:
|
properties:
|
||||||
appsecClassName:
|
appsecClassName:
|
||||||
type: string
|
type: string
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
action:
|
action:
|
||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
@ -718,8 +578,6 @@ spec:
|
|||||||
properties:
|
properties:
|
||||||
appsecClassName:
|
appsecClassName:
|
||||||
type: string
|
type: string
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
accessControlLogging:
|
accessControlLogging:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -801,8 +659,8 @@ spec:
|
|||||||
- json
|
- json
|
||||||
- json-formatted
|
- json-formatted
|
||||||
default: json
|
default: json
|
||||||
k8s-service:
|
local-tuning:
|
||||||
type: boolean # Default value is dependant on the environment type
|
type: boolean
|
||||||
cefService:
|
cefService:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
@ -873,8 +731,6 @@ spec:
|
|||||||
properties:
|
properties:
|
||||||
appsecClassName:
|
appsecClassName:
|
||||||
type: string
|
type: string
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
sourcesIdentifiers: # required, minItems: 1
|
sourcesIdentifiers: # required, minItems: 1
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
@ -929,8 +785,6 @@ spec:
|
|||||||
properties:
|
properties:
|
||||||
appsecClassName:
|
appsecClassName:
|
||||||
type: string
|
type: string
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
practiceMode:
|
practiceMode:
|
||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
@ -1078,6 +932,8 @@ spec:
|
|||||||
- inactive
|
- inactive
|
||||||
- inherited #inherited from threatPreventionPractice mode set in policy
|
- inherited #inherited from threatPreventionPractice mode set in policy
|
||||||
default: inactive
|
default: inactive
|
||||||
|
enforcementLevel:
|
||||||
|
type: string
|
||||||
configmap:
|
configmap:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
@ -1303,8 +1159,6 @@ spec:
|
|||||||
properties:
|
properties:
|
||||||
appsecClassName:
|
appsecClassName:
|
||||||
type: string
|
type: string
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
minNumOfSources:
|
minNumOfSources:
|
||||||
type: integer
|
type: integer
|
||||||
default: 3
|
default: 3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user