Skip to content

Commit 2418cf2

Browse files
authored
Merge pull request #686 from arijitr-citrix/master
Adding WAF CRD changes
2 parents 2971c75 + 747cfe6 commit 2418cf2

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

crd/nsic-crds.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1808,6 +1808,28 @@ spec:
18081808
items:
18091809
type: string
18101810
description: "header name"
1811+
exclude:
1812+
description: 'To control what traffic to be excluded by Web Application Firewall. If you do not provide the exclude list, nothing will be skipped by default explicitly'
1813+
type: object
1814+
properties:
1815+
path:
1816+
type: array
1817+
description: "List of http urls to exclude"
1818+
items:
1819+
type: string
1820+
description: "URL path"
1821+
method:
1822+
type: array
1823+
description: "List of http methods to exclude"
1824+
items:
1825+
type: string
1826+
enum: ['GET', 'PUT', 'POST', 'DELETE', 'HEAD', 'OPTIONS', 'TRACE', 'CONNECT', 'UNKNOWN_METHOD']
1827+
header:
1828+
type: array
1829+
description: "List of http headers to exclude"
1830+
items:
1831+
type: string
1832+
description: "header name"
18111833
security_checks:
18121834
description: 'To enable/disable application firewall security checks'
18131835
type: object

crd/waf/waf-crd.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,28 @@ spec:
9595
items:
9696
type: string
9797
description: "header name"
98+
exclude:
99+
description: 'To control what traffic to be excluded by Web Application Firewall. If you do not provide the exclude list, nothing will be skipped by default explicitly'
100+
type: object
101+
properties:
102+
path:
103+
type: array
104+
description: "List of http urls to exclude"
105+
items:
106+
type: string
107+
description: "URL path"
108+
method:
109+
type: array
110+
description: "List of http methods to exclude"
111+
items:
112+
type: string
113+
enum: ['GET', 'PUT', 'POST', 'DELETE', 'HEAD', 'OPTIONS', 'TRACE', 'CONNECT', 'UNKNOWN_METHOD']
114+
header:
115+
type: array
116+
description: "List of http headers to exclude"
117+
items:
118+
type: string
119+
description: "header name"
98120
security_checks:
99121
description: 'To enable/disable application firewall security checks'
100122
type: object

0 commit comments

Comments
 (0)