@pulumi/f5bigip 3.8.0 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/as3.d.ts +1 -1
- package/as3.js +1 -1
- package/fastHttpApp.d.ts +199 -0
- package/fastHttpApp.js +96 -0
- package/fastHttpApp.js.map +1 -0
- package/fastHttpsApp.d.ts +226 -0
- package/fastHttpsApp.js +100 -0
- package/fastHttpsApp.js.map +1 -0
- package/fastTcpApp.d.ts +215 -0
- package/fastTcpApp.js +106 -0
- package/fastTcpApp.js.map +1 -0
- package/index.d.ts +3 -0
- package/index.js +15 -0
- package/index.js.map +1 -1
- package/ltm/monitor.d.ts +6 -6
- package/ltm/monitor.js +3 -3
- package/ltm/node.d.ts +3 -2
- package/ltm/node.js +2 -1
- package/ltm/node.js.map +1 -1
- package/ltm/policy.d.ts +2 -1
- package/ltm/policy.js +2 -1
- package/ltm/policy.js.map +1 -1
- package/ltm/pool.d.ts +5 -4
- package/ltm/pool.js +2 -1
- package/ltm/pool.js.map +1 -1
- package/ltm/virtualServer.d.ts +2 -1
- package/ltm/virtualServer.js +2 -1
- package/ltm/virtualServer.js.map +1 -1
- package/net/selfIp.d.ts +19 -3
- package/net/selfIp.js +16 -0
- package/net/selfIp.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +2 -1
- package/package.json.dev +4 -3
- package/ssl/certificate.d.ts +1 -1
- package/ssl/certificate.js +1 -1
- package/ssl/getWafSignatures.d.ts +11 -1
- package/ssl/getWafSignatures.js +3 -0
- package/ssl/getWafSignatures.js.map +1 -1
- package/ssl/key.d.ts +1 -1
- package/ssl/key.js +1 -1
- package/sys/iapp.d.ts +1 -1
- package/sys/iapp.js +1 -1
- package/types/input.d.ts +319 -125
- package/types/output.d.ts +196 -2
- package/wafPolicy.d.ts +93 -10
- package/wafPolicy.js +14 -1
- package/wafPolicy.js.map +1 -1
package/types/output.d.ts
CHANGED
|
@@ -4,6 +4,196 @@ export interface EventServiceDiscoveryNode {
|
|
|
4
4
|
ip?: string;
|
|
5
5
|
port?: number;
|
|
6
6
|
}
|
|
7
|
+
export interface FastHttpAppFastCreateMonitor {
|
|
8
|
+
/**
|
|
9
|
+
* Set the time between health checks,in seconds for FAST-Generated Pool Monitor.
|
|
10
|
+
*/
|
|
11
|
+
interval?: number;
|
|
12
|
+
/**
|
|
13
|
+
* set `true` if the servers require login credentials for web access on FAST-Generated Pool Monitor. default is `false`.
|
|
14
|
+
*/
|
|
15
|
+
monitorAuth?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* password for web access on FAST-Generated Pool Monitor.
|
|
18
|
+
*/
|
|
19
|
+
password?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The presence of this string anywhere in the HTTP response implies availability.
|
|
22
|
+
*/
|
|
23
|
+
response?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Specify data to be sent during each health check for FAST-Generated Pool Monitor.
|
|
26
|
+
*/
|
|
27
|
+
sendString?: string;
|
|
28
|
+
/**
|
|
29
|
+
* username for web access on FAST-Generated Pool Monitor.
|
|
30
|
+
*/
|
|
31
|
+
username?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface FastHttpAppFastCreatePoolMember {
|
|
34
|
+
/**
|
|
35
|
+
* List of server address to be used for FAST-Generated Pool.
|
|
36
|
+
*/
|
|
37
|
+
addresses: string[];
|
|
38
|
+
/**
|
|
39
|
+
* connectionLimit value to be used for FAST-Generated Pool.
|
|
40
|
+
*/
|
|
41
|
+
connectionLimit?: number;
|
|
42
|
+
/**
|
|
43
|
+
* port number of serviceport to be used for FAST-Generated Pool.
|
|
44
|
+
*/
|
|
45
|
+
port?: number;
|
|
46
|
+
/**
|
|
47
|
+
* priorityGroup value to be used for FAST-Generated Pool.
|
|
48
|
+
*/
|
|
49
|
+
priorityGroup?: number;
|
|
50
|
+
/**
|
|
51
|
+
* shareNodes value to be used for FAST-Generated Pool.
|
|
52
|
+
*/
|
|
53
|
+
shareNodes?: boolean;
|
|
54
|
+
}
|
|
55
|
+
export interface FastHttpAppVirtualServer {
|
|
56
|
+
/**
|
|
57
|
+
* IP4/IPv6 address to be used for virtual server ex: `10.1.1.1`
|
|
58
|
+
*/
|
|
59
|
+
ip: string;
|
|
60
|
+
/**
|
|
61
|
+
* -(Optional , `int`) Port number to used for accessing virtual server/application
|
|
62
|
+
*/
|
|
63
|
+
port: number;
|
|
64
|
+
}
|
|
65
|
+
export interface FastHttpsAppCreateTlsServerProfile {
|
|
66
|
+
/**
|
|
67
|
+
* Name of existing BIG-IP SSL certificate to be used for FAST-Generated TLS Server Profile.
|
|
68
|
+
*/
|
|
69
|
+
tlsCertName: string;
|
|
70
|
+
/**
|
|
71
|
+
* Name of existing BIG-IP SSL Key to be used for FAST-Generated TLS Server Profile.
|
|
72
|
+
*/
|
|
73
|
+
tlsKeyName: string;
|
|
74
|
+
}
|
|
75
|
+
export interface FastHttpsAppFastCreateMonitor {
|
|
76
|
+
/**
|
|
77
|
+
* Set the time between health checks,in seconds for FAST-Generated Pool Monitor.
|
|
78
|
+
*/
|
|
79
|
+
interval?: number;
|
|
80
|
+
/**
|
|
81
|
+
* set `true` if the servers require login credentials for web access on FAST-Generated Pool Monitor. default is `false`.
|
|
82
|
+
*/
|
|
83
|
+
monitorAuth?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* password for web access on FAST-Generated Pool Monitor.
|
|
86
|
+
*/
|
|
87
|
+
password?: string;
|
|
88
|
+
/**
|
|
89
|
+
* The presence of this string anywhere in the HTTP response implies availability.
|
|
90
|
+
*/
|
|
91
|
+
response?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Specify data to be sent during each health check for FAST-Generated Pool Monitor.
|
|
94
|
+
*/
|
|
95
|
+
sendString?: string;
|
|
96
|
+
/**
|
|
97
|
+
* username for web access on FAST-Generated Pool Monitor.
|
|
98
|
+
*/
|
|
99
|
+
username?: string;
|
|
100
|
+
}
|
|
101
|
+
export interface FastHttpsAppFastCreatePoolMember {
|
|
102
|
+
/**
|
|
103
|
+
* List of server address to be used for FAST-Generated Pool.
|
|
104
|
+
*/
|
|
105
|
+
addresses: string[];
|
|
106
|
+
/**
|
|
107
|
+
* connectionLimit value to be used for FAST-Generated Pool.
|
|
108
|
+
*/
|
|
109
|
+
connectionLimit?: number;
|
|
110
|
+
/**
|
|
111
|
+
* port number of serviceport to be used for FAST-Generated Pool.
|
|
112
|
+
*/
|
|
113
|
+
port?: number;
|
|
114
|
+
/**
|
|
115
|
+
* priorityGroup value to be used for FAST-Generated Pool.
|
|
116
|
+
*/
|
|
117
|
+
priorityGroup?: number;
|
|
118
|
+
/**
|
|
119
|
+
* shareNodes value to be used for FAST-Generated Pool.
|
|
120
|
+
*/
|
|
121
|
+
shareNodes?: boolean;
|
|
122
|
+
}
|
|
123
|
+
export interface FastHttpsAppVirtualServer {
|
|
124
|
+
/**
|
|
125
|
+
* IP4/IPv6 address to be used for virtual server ex: `10.1.1.1`
|
|
126
|
+
*/
|
|
127
|
+
ip: string;
|
|
128
|
+
/**
|
|
129
|
+
* -(Optional , `int`) Port number to used for accessing virtual server/application
|
|
130
|
+
*/
|
|
131
|
+
port: number;
|
|
132
|
+
}
|
|
133
|
+
export interface FastTcpAppFastCreateMonitor {
|
|
134
|
+
/**
|
|
135
|
+
* Set the time between health checks,in seconds for FAST-Generated Pool Monitor.
|
|
136
|
+
*/
|
|
137
|
+
interval?: number;
|
|
138
|
+
}
|
|
139
|
+
export interface FastTcpAppFastCreatePoolMember {
|
|
140
|
+
/**
|
|
141
|
+
* List of server address to be used for FAST-Generated Pool.
|
|
142
|
+
*/
|
|
143
|
+
addresses: string[];
|
|
144
|
+
/**
|
|
145
|
+
* connectionLimit value to be used for FAST-Generated Pool.
|
|
146
|
+
*/
|
|
147
|
+
connectionLimit?: number;
|
|
148
|
+
/**
|
|
149
|
+
* port number of serviceport to be used for FAST-Generated Pool.
|
|
150
|
+
*/
|
|
151
|
+
port?: number;
|
|
152
|
+
/**
|
|
153
|
+
* priorityGroup value to be used for FAST-Generated Pool.
|
|
154
|
+
*/
|
|
155
|
+
priorityGroup?: number;
|
|
156
|
+
/**
|
|
157
|
+
* shareNodes value to be used for FAST-Generated Pool.
|
|
158
|
+
*/
|
|
159
|
+
shareNodes?: boolean;
|
|
160
|
+
}
|
|
161
|
+
export interface FastTcpAppVirtualServer {
|
|
162
|
+
/**
|
|
163
|
+
* IP4/IPv6 address to be used for virtual server ex: `10.1.1.1`
|
|
164
|
+
*/
|
|
165
|
+
ip: string;
|
|
166
|
+
/**
|
|
167
|
+
* -(Optional , `int`) Port number to used for accessing virtual server/application
|
|
168
|
+
*/
|
|
169
|
+
port: number;
|
|
170
|
+
}
|
|
171
|
+
export interface WafPolicyFileType {
|
|
172
|
+
/**
|
|
173
|
+
* Specifies the file type name as appearing in the URL extension.
|
|
174
|
+
*/
|
|
175
|
+
name?: string;
|
|
176
|
+
/**
|
|
177
|
+
* Determines the type of the name attribute. Only when setting the type to `wildcard` will the special wildcard characters in the name be interpreted as such
|
|
178
|
+
*/
|
|
179
|
+
type?: string;
|
|
180
|
+
}
|
|
181
|
+
export interface WafPolicyGraphqlProfile {
|
|
182
|
+
/**
|
|
183
|
+
* The unique user-given name of the policy. Policy names cannot contain spaces or special characters. Allowed characters are a-z, A-Z, 0-9, dot, dash (-), colon (:) and underscore (_).
|
|
184
|
+
*/
|
|
185
|
+
name?: string;
|
|
186
|
+
}
|
|
187
|
+
export interface WafPolicyPolicyBuilder {
|
|
188
|
+
/**
|
|
189
|
+
* learning mode setting for policy-builder, possible options: [`automatic`,`disabled`, `manual`]
|
|
190
|
+
*/
|
|
191
|
+
learningMode?: string;
|
|
192
|
+
}
|
|
193
|
+
export interface WafPolicySignaturesSetting {
|
|
194
|
+
placesignaturesInStaging?: boolean;
|
|
195
|
+
signatureStaging?: boolean;
|
|
196
|
+
}
|
|
7
197
|
export declare namespace cm {
|
|
8
198
|
interface DeviceGroupDevice {
|
|
9
199
|
/**
|
|
@@ -295,7 +485,10 @@ export declare namespace ltm {
|
|
|
295
485
|
clonePool: string;
|
|
296
486
|
code: number;
|
|
297
487
|
compress: boolean;
|
|
298
|
-
|
|
488
|
+
/**
|
|
489
|
+
* This action is set to `true` by default, it needs to be explicitly set to `false` for actions it conflicts with.
|
|
490
|
+
*/
|
|
491
|
+
connection?: boolean;
|
|
299
492
|
content: string;
|
|
300
493
|
cookieHash: boolean;
|
|
301
494
|
cookieInsert: boolean;
|
|
@@ -372,7 +565,7 @@ export declare namespace ltm {
|
|
|
372
565
|
select: boolean;
|
|
373
566
|
serverSsl: boolean;
|
|
374
567
|
setVariable: boolean;
|
|
375
|
-
shutdown
|
|
568
|
+
shutdown?: boolean;
|
|
376
569
|
snat: string;
|
|
377
570
|
snatpool: string;
|
|
378
571
|
sourceAddress: boolean;
|
|
@@ -418,6 +611,7 @@ export declare namespace ltm {
|
|
|
418
611
|
domain: boolean;
|
|
419
612
|
endsWith: boolean;
|
|
420
613
|
equals: boolean;
|
|
614
|
+
exists: boolean;
|
|
421
615
|
expiry: boolean;
|
|
422
616
|
extension: boolean;
|
|
423
617
|
external: boolean;
|
package/wafPolicy.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
2
3
|
/**
|
|
3
4
|
* `f5bigip.WafPolicy` Manages a WAF Policy resource with its adjustments and modifications on a BIG-IP.
|
|
4
5
|
* It outputs an up-to-date WAF Policy in a JSON format
|
|
@@ -31,7 +32,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
31
32
|
* name: "URL2",
|
|
32
33
|
* });
|
|
33
34
|
* const test_awaf = new f5bigip.WafPolicy("test-awaf", {
|
|
34
|
-
* name: "
|
|
35
|
+
* name: "testpolicyravi",
|
|
36
|
+
* partition: "Common",
|
|
35
37
|
* templateName: "POLICY_TEMPLATE_RAPID_DEPLOYMENT",
|
|
36
38
|
* applicationLanguage: "utf-8",
|
|
37
39
|
* enforcementMode: "blocking",
|
|
@@ -95,6 +97,16 @@ export declare class WafPolicy extends pulumi.CustomResource {
|
|
|
95
97
|
* How the system processes a request that triggers a security policy violation
|
|
96
98
|
*/
|
|
97
99
|
readonly enforcementMode: pulumi.Output<string | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* `fileTypes` takes list of file-types options to be used for policy builder.
|
|
102
|
+
* See file types below for more details.
|
|
103
|
+
*/
|
|
104
|
+
readonly fileTypes: pulumi.Output<outputs.WafPolicyFileType[] | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* `graphqlProfiles` takes list of graphql profile options to be used for policy builder.
|
|
107
|
+
* See graphql profiles below for more details.
|
|
108
|
+
*/
|
|
109
|
+
readonly graphqlProfiles: pulumi.Output<outputs.WafPolicyGraphqlProfile[] | undefined>;
|
|
98
110
|
/**
|
|
99
111
|
* the modifications section includes actions that modify the declarative policy as it is defined in the adjustments
|
|
100
112
|
* section. The modifications section is updated manually, with the changes generally driven by the learning suggestions
|
|
@@ -102,13 +114,26 @@ export declare class WafPolicy extends pulumi.CustomResource {
|
|
|
102
114
|
*/
|
|
103
115
|
readonly modifications: pulumi.Output<string[] | undefined>;
|
|
104
116
|
/**
|
|
105
|
-
* The unique user-given name of the policy. Policy names cannot contain spaces or special characters. Allowed characters are a-z, A-Z, 0-9, dot, dash (-), colon (:) and underscore (_).
|
|
117
|
+
* The unique user-given name of the policy. Policy names cannot contain spaces or special characters. Allowed characters are a-z, A-Z, 0-9, dot, dash (-), colon (:) and underscore (_).
|
|
106
118
|
*/
|
|
107
119
|
readonly name: pulumi.Output<string>;
|
|
120
|
+
/**
|
|
121
|
+
* This section defines the Link for open api files on the policy.
|
|
122
|
+
*/
|
|
123
|
+
readonly openApiFiles: pulumi.Output<string[] | undefined>;
|
|
108
124
|
/**
|
|
109
125
|
* This section defines parameters that the security policy permits in requests.
|
|
110
126
|
*/
|
|
111
127
|
readonly parameters: pulumi.Output<string[] | undefined>;
|
|
128
|
+
/**
|
|
129
|
+
* Specifies the partition of the policy. Default is `Common`
|
|
130
|
+
*/
|
|
131
|
+
readonly partition: pulumi.Output<string | undefined>;
|
|
132
|
+
/**
|
|
133
|
+
* `policyBuilder` block will provide `learningMode` options to be used for policy builder.
|
|
134
|
+
* See policy builder below for more details.
|
|
135
|
+
*/
|
|
136
|
+
readonly policyBuilders: pulumi.Output<outputs.WafPolicyPolicyBuilder[] | undefined>;
|
|
112
137
|
/**
|
|
113
138
|
* Exported WAF policy deployed on BIGIP.
|
|
114
139
|
*/
|
|
@@ -118,7 +143,7 @@ export declare class WafPolicy extends pulumi.CustomResource {
|
|
|
118
143
|
*/
|
|
119
144
|
readonly policyId: pulumi.Output<string>;
|
|
120
145
|
/**
|
|
121
|
-
* The payload of the WAF Policy to be used for IMPORT on to
|
|
146
|
+
* The payload of the WAF Policy to be used for IMPORT on to BIG-IP.
|
|
122
147
|
*/
|
|
123
148
|
readonly policyImportJson: pulumi.Output<string | undefined>;
|
|
124
149
|
/**
|
|
@@ -137,12 +162,16 @@ export declare class WafPolicy extends pulumi.CustomResource {
|
|
|
137
162
|
* This section defines the properties of a signature on the policy.
|
|
138
163
|
*/
|
|
139
164
|
readonly signatures: pulumi.Output<string[] | undefined>;
|
|
165
|
+
/**
|
|
166
|
+
* bulk signature setting
|
|
167
|
+
*/
|
|
168
|
+
readonly signaturesSettings: pulumi.Output<outputs.WafPolicySignaturesSetting[] | undefined>;
|
|
140
169
|
/**
|
|
141
170
|
* Specifies the name of the template used for the policy creation.
|
|
142
171
|
*/
|
|
143
172
|
readonly templateName: pulumi.Output<string>;
|
|
144
173
|
/**
|
|
145
|
-
* The type of policy you want to create. The default policy type is
|
|
174
|
+
* The type of policy you want to create. The default policy type is `security`.
|
|
146
175
|
*/
|
|
147
176
|
readonly type: pulumi.Output<string | undefined>;
|
|
148
177
|
/**
|
|
@@ -182,6 +211,16 @@ export interface WafPolicyState {
|
|
|
182
211
|
* How the system processes a request that triggers a security policy violation
|
|
183
212
|
*/
|
|
184
213
|
enforcementMode?: pulumi.Input<string>;
|
|
214
|
+
/**
|
|
215
|
+
* `fileTypes` takes list of file-types options to be used for policy builder.
|
|
216
|
+
* See file types below for more details.
|
|
217
|
+
*/
|
|
218
|
+
fileTypes?: pulumi.Input<pulumi.Input<inputs.WafPolicyFileType>[]>;
|
|
219
|
+
/**
|
|
220
|
+
* `graphqlProfiles` takes list of graphql profile options to be used for policy builder.
|
|
221
|
+
* See graphql profiles below for more details.
|
|
222
|
+
*/
|
|
223
|
+
graphqlProfiles?: pulumi.Input<pulumi.Input<inputs.WafPolicyGraphqlProfile>[]>;
|
|
185
224
|
/**
|
|
186
225
|
* the modifications section includes actions that modify the declarative policy as it is defined in the adjustments
|
|
187
226
|
* section. The modifications section is updated manually, with the changes generally driven by the learning suggestions
|
|
@@ -189,13 +228,26 @@ export interface WafPolicyState {
|
|
|
189
228
|
*/
|
|
190
229
|
modifications?: pulumi.Input<pulumi.Input<string>[]>;
|
|
191
230
|
/**
|
|
192
|
-
* The unique user-given name of the policy. Policy names cannot contain spaces or special characters. Allowed characters are a-z, A-Z, 0-9, dot, dash (-), colon (:) and underscore (_).
|
|
231
|
+
* The unique user-given name of the policy. Policy names cannot contain spaces or special characters. Allowed characters are a-z, A-Z, 0-9, dot, dash (-), colon (:) and underscore (_).
|
|
193
232
|
*/
|
|
194
233
|
name?: pulumi.Input<string>;
|
|
234
|
+
/**
|
|
235
|
+
* This section defines the Link for open api files on the policy.
|
|
236
|
+
*/
|
|
237
|
+
openApiFiles?: pulumi.Input<pulumi.Input<string>[]>;
|
|
195
238
|
/**
|
|
196
239
|
* This section defines parameters that the security policy permits in requests.
|
|
197
240
|
*/
|
|
198
241
|
parameters?: pulumi.Input<pulumi.Input<string>[]>;
|
|
242
|
+
/**
|
|
243
|
+
* Specifies the partition of the policy. Default is `Common`
|
|
244
|
+
*/
|
|
245
|
+
partition?: pulumi.Input<string>;
|
|
246
|
+
/**
|
|
247
|
+
* `policyBuilder` block will provide `learningMode` options to be used for policy builder.
|
|
248
|
+
* See policy builder below for more details.
|
|
249
|
+
*/
|
|
250
|
+
policyBuilders?: pulumi.Input<pulumi.Input<inputs.WafPolicyPolicyBuilder>[]>;
|
|
199
251
|
/**
|
|
200
252
|
* Exported WAF policy deployed on BIGIP.
|
|
201
253
|
*/
|
|
@@ -205,7 +257,7 @@ export interface WafPolicyState {
|
|
|
205
257
|
*/
|
|
206
258
|
policyId?: pulumi.Input<string>;
|
|
207
259
|
/**
|
|
208
|
-
* The payload of the WAF Policy to be used for IMPORT on to
|
|
260
|
+
* The payload of the WAF Policy to be used for IMPORT on to BIG-IP.
|
|
209
261
|
*/
|
|
210
262
|
policyImportJson?: pulumi.Input<string>;
|
|
211
263
|
/**
|
|
@@ -224,12 +276,16 @@ export interface WafPolicyState {
|
|
|
224
276
|
* This section defines the properties of a signature on the policy.
|
|
225
277
|
*/
|
|
226
278
|
signatures?: pulumi.Input<pulumi.Input<string>[]>;
|
|
279
|
+
/**
|
|
280
|
+
* bulk signature setting
|
|
281
|
+
*/
|
|
282
|
+
signaturesSettings?: pulumi.Input<pulumi.Input<inputs.WafPolicySignaturesSetting>[]>;
|
|
227
283
|
/**
|
|
228
284
|
* Specifies the name of the template used for the policy creation.
|
|
229
285
|
*/
|
|
230
286
|
templateName?: pulumi.Input<string>;
|
|
231
287
|
/**
|
|
232
|
-
* The type of policy you want to create. The default policy type is
|
|
288
|
+
* The type of policy you want to create. The default policy type is `security`.
|
|
233
289
|
*/
|
|
234
290
|
type?: pulumi.Input<string>;
|
|
235
291
|
/**
|
|
@@ -261,6 +317,16 @@ export interface WafPolicyArgs {
|
|
|
261
317
|
* How the system processes a request that triggers a security policy violation
|
|
262
318
|
*/
|
|
263
319
|
enforcementMode?: pulumi.Input<string>;
|
|
320
|
+
/**
|
|
321
|
+
* `fileTypes` takes list of file-types options to be used for policy builder.
|
|
322
|
+
* See file types below for more details.
|
|
323
|
+
*/
|
|
324
|
+
fileTypes?: pulumi.Input<pulumi.Input<inputs.WafPolicyFileType>[]>;
|
|
325
|
+
/**
|
|
326
|
+
* `graphqlProfiles` takes list of graphql profile options to be used for policy builder.
|
|
327
|
+
* See graphql profiles below for more details.
|
|
328
|
+
*/
|
|
329
|
+
graphqlProfiles?: pulumi.Input<pulumi.Input<inputs.WafPolicyGraphqlProfile>[]>;
|
|
264
330
|
/**
|
|
265
331
|
* the modifications section includes actions that modify the declarative policy as it is defined in the adjustments
|
|
266
332
|
* section. The modifications section is updated manually, with the changes generally driven by the learning suggestions
|
|
@@ -268,13 +334,26 @@ export interface WafPolicyArgs {
|
|
|
268
334
|
*/
|
|
269
335
|
modifications?: pulumi.Input<pulumi.Input<string>[]>;
|
|
270
336
|
/**
|
|
271
|
-
* The unique user-given name of the policy. Policy names cannot contain spaces or special characters. Allowed characters are a-z, A-Z, 0-9, dot, dash (-), colon (:) and underscore (_).
|
|
337
|
+
* The unique user-given name of the policy. Policy names cannot contain spaces or special characters. Allowed characters are a-z, A-Z, 0-9, dot, dash (-), colon (:) and underscore (_).
|
|
272
338
|
*/
|
|
273
339
|
name: pulumi.Input<string>;
|
|
340
|
+
/**
|
|
341
|
+
* This section defines the Link for open api files on the policy.
|
|
342
|
+
*/
|
|
343
|
+
openApiFiles?: pulumi.Input<pulumi.Input<string>[]>;
|
|
274
344
|
/**
|
|
275
345
|
* This section defines parameters that the security policy permits in requests.
|
|
276
346
|
*/
|
|
277
347
|
parameters?: pulumi.Input<pulumi.Input<string>[]>;
|
|
348
|
+
/**
|
|
349
|
+
* Specifies the partition of the policy. Default is `Common`
|
|
350
|
+
*/
|
|
351
|
+
partition?: pulumi.Input<string>;
|
|
352
|
+
/**
|
|
353
|
+
* `policyBuilder` block will provide `learningMode` options to be used for policy builder.
|
|
354
|
+
* See policy builder below for more details.
|
|
355
|
+
*/
|
|
356
|
+
policyBuilders?: pulumi.Input<pulumi.Input<inputs.WafPolicyPolicyBuilder>[]>;
|
|
278
357
|
/**
|
|
279
358
|
* Exported WAF policy deployed on BIGIP.
|
|
280
359
|
*/
|
|
@@ -284,7 +363,7 @@ export interface WafPolicyArgs {
|
|
|
284
363
|
*/
|
|
285
364
|
policyId?: pulumi.Input<string>;
|
|
286
365
|
/**
|
|
287
|
-
* The payload of the WAF Policy to be used for IMPORT on to
|
|
366
|
+
* The payload of the WAF Policy to be used for IMPORT on to BIG-IP.
|
|
288
367
|
*/
|
|
289
368
|
policyImportJson?: pulumi.Input<string>;
|
|
290
369
|
/**
|
|
@@ -303,12 +382,16 @@ export interface WafPolicyArgs {
|
|
|
303
382
|
* This section defines the properties of a signature on the policy.
|
|
304
383
|
*/
|
|
305
384
|
signatures?: pulumi.Input<pulumi.Input<string>[]>;
|
|
385
|
+
/**
|
|
386
|
+
* bulk signature setting
|
|
387
|
+
*/
|
|
388
|
+
signaturesSettings?: pulumi.Input<pulumi.Input<inputs.WafPolicySignaturesSetting>[]>;
|
|
306
389
|
/**
|
|
307
390
|
* Specifies the name of the template used for the policy creation.
|
|
308
391
|
*/
|
|
309
392
|
templateName: pulumi.Input<string>;
|
|
310
393
|
/**
|
|
311
|
-
* The type of policy you want to create. The default policy type is
|
|
394
|
+
* The type of policy you want to create. The default policy type is `security`.
|
|
312
395
|
*/
|
|
313
396
|
type?: pulumi.Input<string>;
|
|
314
397
|
/**
|
package/wafPolicy.js
CHANGED
|
@@ -37,7 +37,8 @@ const utilities = require("./utilities");
|
|
|
37
37
|
* name: "URL2",
|
|
38
38
|
* });
|
|
39
39
|
* const test_awaf = new f5bigip.WafPolicy("test-awaf", {
|
|
40
|
-
* name: "
|
|
40
|
+
* name: "testpolicyravi",
|
|
41
|
+
* partition: "Common",
|
|
41
42
|
* templateName: "POLICY_TEMPLATE_RAPID_DEPLOYMENT",
|
|
42
43
|
* applicationLanguage: "utf-8",
|
|
43
44
|
* enforcementMode: "blocking",
|
|
@@ -76,9 +77,14 @@ class WafPolicy extends pulumi.CustomResource {
|
|
|
76
77
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
77
78
|
resourceInputs["enablePassivemode"] = state ? state.enablePassivemode : undefined;
|
|
78
79
|
resourceInputs["enforcementMode"] = state ? state.enforcementMode : undefined;
|
|
80
|
+
resourceInputs["fileTypes"] = state ? state.fileTypes : undefined;
|
|
81
|
+
resourceInputs["graphqlProfiles"] = state ? state.graphqlProfiles : undefined;
|
|
79
82
|
resourceInputs["modifications"] = state ? state.modifications : undefined;
|
|
80
83
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
84
|
+
resourceInputs["openApiFiles"] = state ? state.openApiFiles : undefined;
|
|
81
85
|
resourceInputs["parameters"] = state ? state.parameters : undefined;
|
|
86
|
+
resourceInputs["partition"] = state ? state.partition : undefined;
|
|
87
|
+
resourceInputs["policyBuilders"] = state ? state.policyBuilders : undefined;
|
|
82
88
|
resourceInputs["policyExportJson"] = state ? state.policyExportJson : undefined;
|
|
83
89
|
resourceInputs["policyId"] = state ? state.policyId : undefined;
|
|
84
90
|
resourceInputs["policyImportJson"] = state ? state.policyImportJson : undefined;
|
|
@@ -86,6 +92,7 @@ class WafPolicy extends pulumi.CustomResource {
|
|
|
86
92
|
resourceInputs["serverTechnologies"] = state ? state.serverTechnologies : undefined;
|
|
87
93
|
resourceInputs["signatureSets"] = state ? state.signatureSets : undefined;
|
|
88
94
|
resourceInputs["signatures"] = state ? state.signatures : undefined;
|
|
95
|
+
resourceInputs["signaturesSettings"] = state ? state.signaturesSettings : undefined;
|
|
89
96
|
resourceInputs["templateName"] = state ? state.templateName : undefined;
|
|
90
97
|
resourceInputs["type"] = state ? state.type : undefined;
|
|
91
98
|
resourceInputs["urls"] = state ? state.urls : undefined;
|
|
@@ -103,9 +110,14 @@ class WafPolicy extends pulumi.CustomResource {
|
|
|
103
110
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
104
111
|
resourceInputs["enablePassivemode"] = args ? args.enablePassivemode : undefined;
|
|
105
112
|
resourceInputs["enforcementMode"] = args ? args.enforcementMode : undefined;
|
|
113
|
+
resourceInputs["fileTypes"] = args ? args.fileTypes : undefined;
|
|
114
|
+
resourceInputs["graphqlProfiles"] = args ? args.graphqlProfiles : undefined;
|
|
106
115
|
resourceInputs["modifications"] = args ? args.modifications : undefined;
|
|
107
116
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
117
|
+
resourceInputs["openApiFiles"] = args ? args.openApiFiles : undefined;
|
|
108
118
|
resourceInputs["parameters"] = args ? args.parameters : undefined;
|
|
119
|
+
resourceInputs["partition"] = args ? args.partition : undefined;
|
|
120
|
+
resourceInputs["policyBuilders"] = args ? args.policyBuilders : undefined;
|
|
109
121
|
resourceInputs["policyExportJson"] = args ? args.policyExportJson : undefined;
|
|
110
122
|
resourceInputs["policyId"] = args ? args.policyId : undefined;
|
|
111
123
|
resourceInputs["policyImportJson"] = args ? args.policyImportJson : undefined;
|
|
@@ -113,6 +125,7 @@ class WafPolicy extends pulumi.CustomResource {
|
|
|
113
125
|
resourceInputs["serverTechnologies"] = args ? args.serverTechnologies : undefined;
|
|
114
126
|
resourceInputs["signatureSets"] = args ? args.signatureSets : undefined;
|
|
115
127
|
resourceInputs["signatures"] = args ? args.signatures : undefined;
|
|
128
|
+
resourceInputs["signaturesSettings"] = args ? args.signaturesSettings : undefined;
|
|
116
129
|
resourceInputs["templateName"] = args ? args.templateName : undefined;
|
|
117
130
|
resourceInputs["type"] = args ? args.type : undefined;
|
|
118
131
|
resourceInputs["urls"] = args ? args.urls : undefined;
|
package/wafPolicy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wafPolicy.js","sourceRoot":"","sources":["../wafPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"wafPolicy.js","sourceRoot":"","sources":["../wafPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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