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
Copy file name to clipboardExpand all lines: crd/waf/README.md
-166Lines changed: 0 additions & 166 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,172 +47,6 @@ Based on the type of security checks, you can specify the metadata and use the C
47
47
48
48
The WAF CRD is available in the Citrix ingress controller GitHub repository at [waf-crd.yaml](./waf-crd.yaml). The WAF CRD provides attributes for the various options that are required to define the web application firewall policies on Citrix ADC.
49
49
50
-
The following is the WAF CRD definition:
51
-
52
-
```yml
53
-
apiVersion: apiextensions.k8s.io/v1
54
-
kind: CustomResourceDefinition
55
-
metadata:
56
-
name: wafs.citrix.com
57
-
spec:
58
-
group: citrix.com
59
-
names:
60
-
kind: waf
61
-
plural: wafs
62
-
singular: waf
63
-
scope: Namespaced
64
-
versions:
65
-
- name: v1
66
-
served: true
67
-
storage: true
68
-
subresources:
69
-
status: {}
70
-
additionalPrinterColumns:
71
-
- name: Status
72
-
type: string
73
-
description: "Current Status of the CRD"
74
-
jsonPath: .status.state
75
-
- name: Message
76
-
type: string
77
-
description: "Status Message"
78
-
jsonPath: .status.status_message
79
-
schema:
80
-
openAPIV3Schema:
81
-
type: object
82
-
required: [spec]
83
-
properties:
84
-
status:
85
-
type: object
86
-
properties:
87
-
state:
88
-
type: string
89
-
status_message:
90
-
type: string
91
-
spec:
92
-
type: object
93
-
properties:
94
-
ingressclass:
95
-
type: string
96
-
description: "Ingress class, if not specified then all citrix ingress controllers in the cluster will process the resource otherwise only the controller with that ingress class will process this resource"
97
-
servicenames:
98
-
description: 'Name of the services to which the waf policies are applied.'
99
-
type: array
100
-
items:
101
-
type: string
102
-
maxLength: 127
103
-
application_type:
104
-
description: 'Type of applications to protect'
105
-
type: array
106
-
items:
107
-
type: string
108
-
enum: ['HTML', 'JSON', 'XML']
109
-
signatures:
110
-
description: 'Location of external signature file'
111
-
type: string
112
-
redirect_url:
113
-
description: ''
114
-
type: string
115
-
html_error_object:
116
-
description: 'Location of customized error page to respond when html or common violation are hit'
117
-
type: string
118
-
xml_error_object:
119
-
description: 'Location of customized error page to respond when xml violations are hit'
120
-
type: string
121
-
json_error_object:
122
-
description: 'Location of customized error page to respond when json violations are hit'
123
-
type: string
124
-
ip_reputation:
125
-
type: object
126
-
x-kubernetes-preserve-unknown-fields: true
127
-
description: 'Enabling IP reputation feature'
128
-
target:
129
-
description: 'To control what traffic to be inspected by Web Application Firewall. If you do not provide the target, everything will be inspected by default'
Copy file name to clipboardExpand all lines: docs/crds/waf.md
-137Lines changed: 0 additions & 137 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,143 +47,6 @@ Based on the type of security checks, you can specify the metadata and use the C
47
47
48
48
The WAF CRD is available in the Citrix ingress controller GitHub repository at [waf-crd.yaml](https://github.com/citrix/citrix-k8s-ingress-controller/blob/master/crd/waf/waf-crd.yaml). The WAF CRD provides attributes for the various options that are required to define the web application firewall policies on Citrix ADC.
49
49
50
-
The following is the WAF CRD definition:
51
-
52
-
```yml
53
-
apiVersion: apiextensions.k8s.io/v1beta1
54
-
kind: CustomResourceDefinition
55
-
metadata:
56
-
name: wafs.citrix.com
57
-
spec:
58
-
group: citrix.com
59
-
version: v1
60
-
names:
61
-
kind: waf
62
-
plural: wafs
63
-
singular: waf
64
-
scope: Namespaced
65
-
subresources:
66
-
status: {}
67
-
additionalPrinterColumns:
68
-
- name: Status
69
-
type: string
70
-
description: "Current Status of the CRD"
71
-
JSONPath: .status.state
72
-
- name: Message
73
-
type: string
74
-
description: "Status Message"
75
-
JSONPath: .status.status_message
76
-
validation:
77
-
openAPIV3Schema:
78
-
required: [spec]
79
-
properties:
80
-
spec:
81
-
type: object
82
-
properties:
83
-
servicenames:
84
-
description: "Name of the services to which the waf policies are applied."
85
-
type: array
86
-
items:
87
-
type: string
88
-
maxLength: 127
89
-
application_type:
90
-
description: "Type of applications to protect"
91
-
type: array
92
-
items
93
-
type: string
94
-
enum: ["HTML", "JSON", "XML"]
95
-
signatures:
96
-
description: "Location of external signature file"
97
-
type: string
98
-
redirect_url:
99
-
description: ""
100
-
type: string
101
-
html_error_object:
102
-
description: "Location of customized error page to respond when html or common violation are hit"
103
-
type: string
104
-
xml_error_object:
105
-
description: "Location of customized error page to respond when xml violations are hit"
106
-
type: string
107
-
json_error_object:
108
-
description: "Location of customized error page to respond when json violations are hit"
109
-
type: string
110
-
ip_reputation:
111
-
description: "Enabling IP reputation feature"
112
-
oneOf:
113
-
- type: string
114
-
- type: object
115
-
target:
116
-
description: "To control what traffic to be inspected by Web Application Firewall. If you do not provide the target, everything will be inspected by default"
0 commit comments