@pulumi/gcp 9.27.0 → 9.28.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/apigee/api.d.ts +1 -1
- package/apigee/api.d.ts.map +1 -1
- package/apigee/environmentDebugmask.d.ts +248 -0
- package/apigee/environmentDebugmask.d.ts.map +1 -0
- package/apigee/environmentDebugmask.js +163 -0
- package/apigee/environmentDebugmask.js.map +1 -0
- package/apigee/index.d.ts +3 -0
- package/apigee/index.d.ts.map +1 -1
- package/apigee/index.js +6 -1
- package/apigee/index.js.map +1 -1
- package/backupdisasterrecovery/restoreWorkload.d.ts +9 -9
- package/ces/guardrail.d.ts +41 -0
- package/ces/guardrail.d.ts.map +1 -1
- package/ces/guardrail.js +41 -0
- package/ces/guardrail.js.map +1 -1
- package/chronicle/index.d.ts +6 -0
- package/chronicle/index.d.ts.map +1 -1
- package/chronicle/index.js +11 -1
- package/chronicle/index.js.map +1 -1
- package/chronicle/parser.d.ts +474 -0
- package/chronicle/parser.d.ts.map +1 -0
- package/chronicle/parser.js +207 -0
- package/chronicle/parser.js.map +1 -0
- package/chronicle/soarNetwork.d.ts +217 -0
- package/chronicle/soarNetwork.d.ts.map +1 -0
- package/chronicle/soarNetwork.js +151 -0
- package/chronicle/soarNetwork.js.map +1 -0
- package/cloudrun/service.d.ts +1 -10
- package/cloudrun/service.d.ts.map +1 -1
- package/cloudrun/service.js +1 -10
- package/cloudrun/service.js.map +1 -1
- package/cloudrunv2/service.d.ts +0 -1
- package/cloudrunv2/service.d.ts.map +1 -1
- package/cloudrunv2/service.js +0 -1
- package/cloudrunv2/service.js.map +1 -1
- package/cloudrunv2/workerPool.d.ts +4 -0
- package/cloudrunv2/workerPool.d.ts.map +1 -1
- package/cloudrunv2/workerPool.js +4 -0
- package/cloudrunv2/workerPool.js.map +1 -1
- package/cloudsecuritycompliance/cloudControl.d.ts +345 -4
- package/cloudsecuritycompliance/cloudControl.d.ts.map +1 -1
- package/cloudsecuritycompliance/cloudControl.js +310 -6
- package/cloudsecuritycompliance/cloudControl.js.map +1 -1
- package/cloudsecuritycompliance/framework.d.ts +168 -9
- package/cloudsecuritycompliance/framework.d.ts.map +1 -1
- package/cloudsecuritycompliance/framework.js +131 -9
- package/cloudsecuritycompliance/framework.js.map +1 -1
- package/cloudsecuritycompliance/frameworkDeployment.d.ts +545 -7
- package/cloudsecuritycompliance/frameworkDeployment.d.ts.map +1 -1
- package/cloudsecuritycompliance/frameworkDeployment.js +506 -8
- package/cloudsecuritycompliance/frameworkDeployment.js.map +1 -1
- package/compute/getRegionTargetHttpProxy.d.ts +107 -0
- package/compute/getRegionTargetHttpProxy.d.ts.map +1 -0
- package/compute/getRegionTargetHttpProxy.js +83 -0
- package/compute/getRegionTargetHttpProxy.js.map +1 -0
- package/compute/getRegionTargetHttpsProxy.d.ts +111 -0
- package/compute/getRegionTargetHttpsProxy.d.ts.map +1 -0
- package/compute/getRegionTargetHttpsProxy.js +83 -0
- package/compute/getRegionTargetHttpsProxy.js.map +1 -0
- package/compute/getReservation.d.ts +1 -0
- package/compute/getReservation.d.ts.map +1 -1
- package/compute/getReservation.js.map +1 -1
- package/compute/getTargetHttpProxy.d.ts +98 -0
- package/compute/getTargetHttpProxy.d.ts.map +1 -0
- package/compute/getTargetHttpProxy.js +81 -0
- package/compute/getTargetHttpProxy.js.map +1 -0
- package/compute/getTargetHttpsProxy.d.ts +105 -0
- package/compute/getTargetHttpsProxy.d.ts.map +1 -0
- package/compute/getTargetHttpsProxy.js +81 -0
- package/compute/getTargetHttpsProxy.js.map +1 -0
- package/compute/index.d.ts +12 -0
- package/compute/index.d.ts.map +1 -1
- package/compute/index.js +17 -5
- package/compute/index.js.map +1 -1
- package/compute/regionCommitment.d.ts +1 -1
- package/compute/regionCommitment.d.ts.map +1 -1
- package/compute/reservation.d.ts +15 -0
- package/compute/reservation.d.ts.map +1 -1
- package/compute/reservation.js +2 -0
- package/compute/reservation.js.map +1 -1
- package/compute/securityScanConfig.d.ts +6 -0
- package/compute/securityScanConfig.d.ts.map +1 -1
- package/compute/securityScanConfig.js +6 -0
- package/compute/securityScanConfig.js.map +1 -1
- package/databasemigrationservice/migrationJob.d.ts +27 -0
- package/databasemigrationservice/migrationJob.d.ts.map +1 -1
- package/databasemigrationservice/migrationJob.js +4 -0
- package/databasemigrationservice/migrationJob.js.map +1 -1
- package/migrationcenter/importDataFile.d.ts +245 -0
- package/migrationcenter/importDataFile.d.ts.map +1 -0
- package/migrationcenter/importDataFile.js +150 -0
- package/migrationcenter/importDataFile.js.map +1 -0
- package/migrationcenter/index.d.ts +3 -0
- package/migrationcenter/index.d.ts.map +1 -1
- package/migrationcenter/index.js +6 -1
- package/migrationcenter/index.js.map +1 -1
- package/networksecurity/authzPolicy.d.ts +18 -1
- package/networksecurity/authzPolicy.d.ts.map +1 -1
- package/networksecurity/authzPolicy.js +2 -1
- package/networksecurity/authzPolicy.js.map +1 -1
- package/networkservices/agentGateway.d.ts +47 -9
- package/networkservices/agentGateway.d.ts.map +1 -1
- package/networkservices/agentGateway.js +30 -10
- package/networkservices/agentGateway.js.map +1 -1
- package/networkservices/authzExtension.d.ts +3 -0
- package/networkservices/authzExtension.d.ts.map +1 -1
- package/networkservices/authzExtension.js +3 -0
- package/networkservices/authzExtension.js.map +1 -1
- package/oracledatabase/getGoldengateDeploymentVersions.d.ts +135 -0
- package/oracledatabase/getGoldengateDeploymentVersions.d.ts.map +1 -0
- package/oracledatabase/getGoldengateDeploymentVersions.js +137 -0
- package/oracledatabase/getGoldengateDeploymentVersions.js.map +1 -0
- package/oracledatabase/goldengateDeployment.d.ts +1 -1
- package/oracledatabase/goldengateDeployment.js +1 -1
- package/oracledatabase/index.d.ts +3 -0
- package/oracledatabase/index.d.ts.map +1 -1
- package/oracledatabase/index.js +4 -1
- package/oracledatabase/index.js.map +1 -1
- package/package.json +2 -2
- package/pubsub/schema.d.ts +8 -0
- package/pubsub/schema.d.ts.map +1 -1
- package/pubsub/schema.js +2 -0
- package/pubsub/schema.js.map +1 -1
- package/pubsub/topic.d.ts +2 -0
- package/pubsub/topic.d.ts.map +1 -1
- package/pubsub/topic.js +2 -0
- package/pubsub/topic.js.map +1 -1
- package/storage/getControlProjectIntelligenceFinding.d.ts +137 -0
- package/storage/getControlProjectIntelligenceFinding.d.ts.map +1 -0
- package/storage/getControlProjectIntelligenceFinding.js +79 -0
- package/storage/getControlProjectIntelligenceFinding.js.map +1 -0
- package/storage/getControlProjectIntelligenceFindings.d.ts +92 -0
- package/storage/getControlProjectIntelligenceFindings.d.ts.map +1 -0
- package/storage/getControlProjectIntelligenceFindings.js +81 -0
- package/storage/getControlProjectIntelligenceFindings.js.map +1 -0
- package/storage/index.d.ts +6 -0
- package/storage/index.d.ts.map +1 -1
- package/storage/index.js +8 -2
- package/storage/index.js.map +1 -1
- package/storage/managedFolderIamBinding.d.ts +3 -0
- package/storage/managedFolderIamBinding.d.ts.map +1 -1
- package/storage/managedFolderIamBinding.js.map +1 -1
- package/storage/managedFolderIamMember.d.ts +3 -0
- package/storage/managedFolderIamMember.d.ts.map +1 -1
- package/storage/managedFolderIamMember.js.map +1 -1
- package/types/input.d.ts +446 -10
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1337 -10
- package/types/output.d.ts.map +1 -1
- package/vertex/aiTensorboardExperiment.d.ts +323 -0
- package/vertex/aiTensorboardExperiment.d.ts.map +1 -0
- package/vertex/aiTensorboardExperiment.js +161 -0
- package/vertex/aiTensorboardExperiment.js.map +1 -0
- package/vertex/index.d.ts +3 -0
- package/vertex/index.d.ts.map +1 -1
- package/vertex/index.js +7 -2
- package/vertex/index.js.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudControl.d.ts","sourceRoot":"","sources":["../../cloudsecuritycompliance/cloudControl.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO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AC,CAAC;IAChD;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,uBAAuB,CAAC,yBAAyB,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACpH;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpD;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAClG;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CAC9E"}
|
|
@@ -37,7 +37,312 @@ const utilities = __importStar(require("../utilities"));
|
|
|
37
37
|
*
|
|
38
38
|
* ## Example Usage
|
|
39
39
|
*
|
|
40
|
-
* ### Cloudsecuritycompliance Cloudcontrol Basic
|
|
40
|
+
* ### Cloudsecuritycompliance Cloudcontrol Org Basic
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as gcp from "@pulumi/gcp";
|
|
45
|
+
*
|
|
46
|
+
* const example = new gcp.cloudsecuritycompliance.CloudControl("example", {
|
|
47
|
+
* parent: "organizations/123456789",
|
|
48
|
+
* location: "global",
|
|
49
|
+
* cloudControlId: "example-cloudcontrol",
|
|
50
|
+
* displayName: "TF test CloudControl Name",
|
|
51
|
+
* description: "A test cloud control for security compliance",
|
|
52
|
+
* categories: ["CC_CATEGORY_INFRASTRUCTURE"],
|
|
53
|
+
* severity: "HIGH",
|
|
54
|
+
* findingCategory: "SECURITY_POLICY",
|
|
55
|
+
* remediationSteps: "Review and update the security configuration according to best practices.",
|
|
56
|
+
* supportedCloudProviders: ["GCP"],
|
|
57
|
+
* rules: [{
|
|
58
|
+
* description: "Ensure compute instances have secure boot enabled",
|
|
59
|
+
* ruleActionTypes: ["RULE_ACTION_TYPE_DETECTIVE"],
|
|
60
|
+
* celExpression: {
|
|
61
|
+
* expression: "resource.data.shieldedInstanceConfig.enableSecureBoot == true",
|
|
62
|
+
* resourceTypesValues: {
|
|
63
|
+
* values: ["compute.googleapis.com/Instance"],
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
66
|
+
* }],
|
|
67
|
+
* parameterSpecs: [
|
|
68
|
+
* {
|
|
69
|
+
* name: "location",
|
|
70
|
+
* displayName: "Resource Location",
|
|
71
|
+
* description: "The location where the resource should be deployed",
|
|
72
|
+
* valueType: "STRING",
|
|
73
|
+
* isRequired: true,
|
|
74
|
+
* defaultValue: {
|
|
75
|
+
* stringValue: "us-central1",
|
|
76
|
+
* },
|
|
77
|
+
* validation: {
|
|
78
|
+
* regexpPattern: {
|
|
79
|
+
* pattern: "^[a-z]+-[a-z]+[0-9]$",
|
|
80
|
+
* },
|
|
81
|
+
* },
|
|
82
|
+
* },
|
|
83
|
+
* {
|
|
84
|
+
* name: "enable_secure_boot",
|
|
85
|
+
* displayName: "Enable Secure Boot",
|
|
86
|
+
* description: "Whether to enable secure boot for instances",
|
|
87
|
+
* valueType: "BOOLEAN",
|
|
88
|
+
* isRequired: true,
|
|
89
|
+
* defaultValue: {
|
|
90
|
+
* boolValue: true,
|
|
91
|
+
* },
|
|
92
|
+
* substitutionRules: [{
|
|
93
|
+
* attributeSubstitutionRule: {
|
|
94
|
+
* attribute: "rules[0].cel_expression.expression",
|
|
95
|
+
* },
|
|
96
|
+
* }],
|
|
97
|
+
* validation: {
|
|
98
|
+
* allowedValues: {
|
|
99
|
+
* values: [{
|
|
100
|
+
* boolValue: true,
|
|
101
|
+
* }],
|
|
102
|
+
* },
|
|
103
|
+
* },
|
|
104
|
+
* },
|
|
105
|
+
* {
|
|
106
|
+
* name: "max_instances",
|
|
107
|
+
* displayName: "Maximum Instances",
|
|
108
|
+
* description: "Maximum number of instances allowed",
|
|
109
|
+
* valueType: "NUMBER",
|
|
110
|
+
* isRequired: false,
|
|
111
|
+
* defaultValue: {
|
|
112
|
+
* numberValue: 10,
|
|
113
|
+
* },
|
|
114
|
+
* substitutionRules: [{
|
|
115
|
+
* placeholderSubstitutionRule: {
|
|
116
|
+
* attribute: "rules[0].description",
|
|
117
|
+
* },
|
|
118
|
+
* }],
|
|
119
|
+
* validation: {
|
|
120
|
+
* intRange: {
|
|
121
|
+
* min: "1",
|
|
122
|
+
* max: "100",
|
|
123
|
+
* },
|
|
124
|
+
* },
|
|
125
|
+
* },
|
|
126
|
+
* {
|
|
127
|
+
* name: "allowed_regions",
|
|
128
|
+
* displayName: "Allowed Regions",
|
|
129
|
+
* description: "List of regions where resources can be deployed",
|
|
130
|
+
* valueType: "STRINGLIST",
|
|
131
|
+
* isRequired: true,
|
|
132
|
+
* defaultValue: {
|
|
133
|
+
* stringListValue: {
|
|
134
|
+
* values: [
|
|
135
|
+
* "us-central1",
|
|
136
|
+
* "us-east1",
|
|
137
|
+
* "us-west1",
|
|
138
|
+
* ],
|
|
139
|
+
* },
|
|
140
|
+
* },
|
|
141
|
+
* validation: {
|
|
142
|
+
* allowedValues: {
|
|
143
|
+
* values: [
|
|
144
|
+
* {
|
|
145
|
+
* stringListValue: {
|
|
146
|
+
* values: [
|
|
147
|
+
* "us-central1",
|
|
148
|
+
* "us-east1",
|
|
149
|
+
* ],
|
|
150
|
+
* },
|
|
151
|
+
* },
|
|
152
|
+
* {
|
|
153
|
+
* stringListValue: {
|
|
154
|
+
* values: [
|
|
155
|
+
* "us-west1",
|
|
156
|
+
* "us-west2",
|
|
157
|
+
* ],
|
|
158
|
+
* },
|
|
159
|
+
* },
|
|
160
|
+
* ],
|
|
161
|
+
* },
|
|
162
|
+
* },
|
|
163
|
+
* },
|
|
164
|
+
* {
|
|
165
|
+
* name: "environment_type",
|
|
166
|
+
* displayName: "Environment Type",
|
|
167
|
+
* description: "The type of environment",
|
|
168
|
+
* valueType: "STRING",
|
|
169
|
+
* isRequired: true,
|
|
170
|
+
* defaultValue: {
|
|
171
|
+
* stringValue: "production",
|
|
172
|
+
* },
|
|
173
|
+
* validation: {
|
|
174
|
+
* allowedValues: {
|
|
175
|
+
* values: [
|
|
176
|
+
* {
|
|
177
|
+
* stringValue: "production",
|
|
178
|
+
* },
|
|
179
|
+
* {
|
|
180
|
+
* stringValue: "staging",
|
|
181
|
+
* },
|
|
182
|
+
* {
|
|
183
|
+
* numberValue: 1,
|
|
184
|
+
* },
|
|
185
|
+
* ],
|
|
186
|
+
* },
|
|
187
|
+
* },
|
|
188
|
+
* },
|
|
189
|
+
* ],
|
|
190
|
+
* });
|
|
191
|
+
* ```
|
|
192
|
+
* ### Cloudsecuritycompliance Cloudcontrol Project Basic
|
|
193
|
+
*
|
|
194
|
+
* ```typescript
|
|
195
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
196
|
+
* import * as gcp from "@pulumi/gcp";
|
|
197
|
+
*
|
|
198
|
+
* const project = gcp.organizations.getProject({});
|
|
199
|
+
* const example = new gcp.cloudsecuritycompliance.CloudControl("example", {
|
|
200
|
+
* parent: project.then(project => `projects/${project.number}`),
|
|
201
|
+
* location: "global",
|
|
202
|
+
* cloudControlId: "example-cloudcontrol",
|
|
203
|
+
* displayName: "TF test CloudControl Name",
|
|
204
|
+
* description: "A test cloud control for security compliance",
|
|
205
|
+
* categories: ["CC_CATEGORY_INFRASTRUCTURE"],
|
|
206
|
+
* severity: "HIGH",
|
|
207
|
+
* findingCategory: "SECURITY_POLICY",
|
|
208
|
+
* remediationSteps: "Review and update the security configuration according to best practices.",
|
|
209
|
+
* supportedCloudProviders: ["GCP"],
|
|
210
|
+
* rules: [{
|
|
211
|
+
* description: "Ensure compute instances have secure boot enabled",
|
|
212
|
+
* ruleActionTypes: ["RULE_ACTION_TYPE_DETECTIVE"],
|
|
213
|
+
* celExpression: {
|
|
214
|
+
* expression: "resource.data.shieldedInstanceConfig.enableSecureBoot == true",
|
|
215
|
+
* resourceTypesValues: {
|
|
216
|
+
* values: ["compute.googleapis.com/Instance"],
|
|
217
|
+
* },
|
|
218
|
+
* },
|
|
219
|
+
* }],
|
|
220
|
+
* parameterSpecs: [
|
|
221
|
+
* {
|
|
222
|
+
* name: "location",
|
|
223
|
+
* displayName: "Resource Location",
|
|
224
|
+
* description: "The location where the resource should be deployed",
|
|
225
|
+
* valueType: "STRING",
|
|
226
|
+
* isRequired: true,
|
|
227
|
+
* defaultValue: {
|
|
228
|
+
* stringValue: "us-central1",
|
|
229
|
+
* },
|
|
230
|
+
* validation: {
|
|
231
|
+
* regexpPattern: {
|
|
232
|
+
* pattern: "^[a-z]+-[a-z]+[0-9]$",
|
|
233
|
+
* },
|
|
234
|
+
* },
|
|
235
|
+
* },
|
|
236
|
+
* {
|
|
237
|
+
* name: "enable_secure_boot",
|
|
238
|
+
* displayName: "Enable Secure Boot",
|
|
239
|
+
* description: "Whether to enable secure boot for instances",
|
|
240
|
+
* valueType: "BOOLEAN",
|
|
241
|
+
* isRequired: true,
|
|
242
|
+
* defaultValue: {
|
|
243
|
+
* boolValue: true,
|
|
244
|
+
* },
|
|
245
|
+
* substitutionRules: [{
|
|
246
|
+
* attributeSubstitutionRule: {
|
|
247
|
+
* attribute: "rules[0].cel_expression.expression",
|
|
248
|
+
* },
|
|
249
|
+
* }],
|
|
250
|
+
* validation: {
|
|
251
|
+
* allowedValues: {
|
|
252
|
+
* values: [{
|
|
253
|
+
* boolValue: true,
|
|
254
|
+
* }],
|
|
255
|
+
* },
|
|
256
|
+
* },
|
|
257
|
+
* },
|
|
258
|
+
* {
|
|
259
|
+
* name: "max_instances",
|
|
260
|
+
* displayName: "Maximum Instances",
|
|
261
|
+
* description: "Maximum number of instances allowed",
|
|
262
|
+
* valueType: "NUMBER",
|
|
263
|
+
* isRequired: false,
|
|
264
|
+
* defaultValue: {
|
|
265
|
+
* numberValue: 10,
|
|
266
|
+
* },
|
|
267
|
+
* substitutionRules: [{
|
|
268
|
+
* placeholderSubstitutionRule: {
|
|
269
|
+
* attribute: "rules[0].description",
|
|
270
|
+
* },
|
|
271
|
+
* }],
|
|
272
|
+
* validation: {
|
|
273
|
+
* intRange: {
|
|
274
|
+
* min: "1",
|
|
275
|
+
* max: "100",
|
|
276
|
+
* },
|
|
277
|
+
* },
|
|
278
|
+
* },
|
|
279
|
+
* {
|
|
280
|
+
* name: "allowed_regions",
|
|
281
|
+
* displayName: "Allowed Regions",
|
|
282
|
+
* description: "List of regions where resources can be deployed",
|
|
283
|
+
* valueType: "STRINGLIST",
|
|
284
|
+
* isRequired: true,
|
|
285
|
+
* defaultValue: {
|
|
286
|
+
* stringListValue: {
|
|
287
|
+
* values: [
|
|
288
|
+
* "us-central1",
|
|
289
|
+
* "us-east1",
|
|
290
|
+
* "us-west1",
|
|
291
|
+
* ],
|
|
292
|
+
* },
|
|
293
|
+
* },
|
|
294
|
+
* validation: {
|
|
295
|
+
* allowedValues: {
|
|
296
|
+
* values: [
|
|
297
|
+
* {
|
|
298
|
+
* stringListValue: {
|
|
299
|
+
* values: [
|
|
300
|
+
* "us-central1",
|
|
301
|
+
* "us-east1",
|
|
302
|
+
* ],
|
|
303
|
+
* },
|
|
304
|
+
* },
|
|
305
|
+
* {
|
|
306
|
+
* stringListValue: {
|
|
307
|
+
* values: [
|
|
308
|
+
* "us-west1",
|
|
309
|
+
* "us-west2",
|
|
310
|
+
* ],
|
|
311
|
+
* },
|
|
312
|
+
* },
|
|
313
|
+
* ],
|
|
314
|
+
* },
|
|
315
|
+
* },
|
|
316
|
+
* },
|
|
317
|
+
* {
|
|
318
|
+
* name: "environment_type",
|
|
319
|
+
* displayName: "Environment Type",
|
|
320
|
+
* description: "The type of environment",
|
|
321
|
+
* valueType: "STRING",
|
|
322
|
+
* isRequired: true,
|
|
323
|
+
* defaultValue: {
|
|
324
|
+
* stringValue: "production",
|
|
325
|
+
* },
|
|
326
|
+
* validation: {
|
|
327
|
+
* allowedValues: {
|
|
328
|
+
* values: [
|
|
329
|
+
* {
|
|
330
|
+
* stringValue: "production",
|
|
331
|
+
* },
|
|
332
|
+
* {
|
|
333
|
+
* stringValue: "staging",
|
|
334
|
+
* },
|
|
335
|
+
* {
|
|
336
|
+
* numberValue: 1,
|
|
337
|
+
* },
|
|
338
|
+
* ],
|
|
339
|
+
* },
|
|
340
|
+
* },
|
|
341
|
+
* },
|
|
342
|
+
* ],
|
|
343
|
+
* });
|
|
344
|
+
* ```
|
|
345
|
+
* ### Cloudsecuritycompliance Cloudcontrol Org Basic Backward
|
|
41
346
|
*
|
|
42
347
|
* ```typescript
|
|
43
348
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -195,13 +500,13 @@ const utilities = __importStar(require("../utilities"));
|
|
|
195
500
|
* CloudControl can be imported using any of these accepted formats:
|
|
196
501
|
*
|
|
197
502
|
* * `organizations/{{organization}}/locations/{{location}}/cloudControls/{{cloud_control_id}}`
|
|
198
|
-
* * `{{
|
|
503
|
+
* * `{{parent}}/locations/{{location}}/cloudControls/{{cloud_control_id}}`
|
|
199
504
|
*
|
|
200
505
|
* When using the `pulumi import` command, CloudControl can be imported using one of the formats above. For example:
|
|
201
506
|
*
|
|
202
507
|
* ```sh
|
|
203
508
|
* $ pulumi import gcp:cloudsecuritycompliance/cloudControl:CloudControl default organizations/{{organization}}/locations/{{location}}/cloudControls/{{cloud_control_id}}
|
|
204
|
-
* $ pulumi import gcp:cloudsecuritycompliance/cloudControl:CloudControl default {{
|
|
509
|
+
* $ pulumi import gcp:cloudsecuritycompliance/cloudControl:CloudControl default {{parent}}/locations/{{location}}/cloudControls/{{cloud_control_id}}
|
|
205
510
|
* ```
|
|
206
511
|
*/
|
|
207
512
|
class CloudControl extends pulumi.CustomResource {
|
|
@@ -246,6 +551,7 @@ class CloudControl extends pulumi.CustomResource {
|
|
|
246
551
|
resourceInputs["name"] = state?.name;
|
|
247
552
|
resourceInputs["organization"] = state?.organization;
|
|
248
553
|
resourceInputs["parameterSpecs"] = state?.parameterSpecs;
|
|
554
|
+
resourceInputs["parent"] = state?.parent;
|
|
249
555
|
resourceInputs["relatedFrameworks"] = state?.relatedFrameworks;
|
|
250
556
|
resourceInputs["remediationSteps"] = state?.remediationSteps;
|
|
251
557
|
resourceInputs["rules"] = state?.rules;
|
|
@@ -262,9 +568,6 @@ class CloudControl extends pulumi.CustomResource {
|
|
|
262
568
|
if (args?.location === undefined && !opts.urn) {
|
|
263
569
|
throw new Error("Missing required property 'location'");
|
|
264
570
|
}
|
|
265
|
-
if (args?.organization === undefined && !opts.urn) {
|
|
266
|
-
throw new Error("Missing required property 'organization'");
|
|
267
|
-
}
|
|
268
571
|
resourceInputs["categories"] = args?.categories;
|
|
269
572
|
resourceInputs["cloudControlId"] = args?.cloudControlId;
|
|
270
573
|
resourceInputs["deletionPolicy"] = args?.deletionPolicy;
|
|
@@ -274,6 +577,7 @@ class CloudControl extends pulumi.CustomResource {
|
|
|
274
577
|
resourceInputs["location"] = args?.location;
|
|
275
578
|
resourceInputs["organization"] = args?.organization;
|
|
276
579
|
resourceInputs["parameterSpecs"] = args?.parameterSpecs;
|
|
580
|
+
resourceInputs["parent"] = args?.parent;
|
|
277
581
|
resourceInputs["remediationSteps"] = args?.remediationSteps;
|
|
278
582
|
resourceInputs["rules"] = args?.rules;
|
|
279
583
|
resourceInputs["severity"] = args?.severity;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudControl.js","sourceRoot":"","sources":["../../cloudsecuritycompliance/cloudControl.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;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xD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,yBAAyB,CAAC,GAAG,IAAI,EAAE,uBAAuB,CAAC;YAC1E,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,2BAA2B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChE,cAAc,CAAC,8BAA8B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAzML,oCA0MC"}
|
|
@@ -10,14 +10,14 @@ import * as outputs from "../types/output";
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
-
* ### Cloudsecuritycompliance Framework Basic
|
|
13
|
+
* ### Cloudsecuritycompliance Framework Org Basic
|
|
14
14
|
*
|
|
15
15
|
* ```typescript
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as gcp from "@pulumi/gcp";
|
|
18
18
|
*
|
|
19
19
|
* const example = new gcp.cloudsecuritycompliance.Framework("example", {
|
|
20
|
-
*
|
|
20
|
+
* parent: "organizations/123456789",
|
|
21
21
|
* location: "global",
|
|
22
22
|
* frameworkId: "example-framework",
|
|
23
23
|
* displayName: "Terraform Framework Name",
|
|
@@ -25,7 +25,7 @@ import * as outputs from "../types/output";
|
|
|
25
25
|
* cloudControlDetails: [
|
|
26
26
|
* {
|
|
27
27
|
* name: "organizations/123456789/locations/global/cloudControls/builtin-assess-resource-availability",
|
|
28
|
-
* majorRevisionId: "
|
|
28
|
+
* majorRevisionId: "2",
|
|
29
29
|
* parameters: [{
|
|
30
30
|
* name: "location",
|
|
31
31
|
* parameterValue: {
|
|
@@ -50,7 +50,7 @@ import * as outputs from "../types/output";
|
|
|
50
50
|
* },
|
|
51
51
|
* {
|
|
52
52
|
* name: "organizations/123456789/locations/global/cloudControls/builtin-enable-automatic-backups-cloud-sql",
|
|
53
|
-
* majorRevisionId: "
|
|
53
|
+
* majorRevisionId: "3",
|
|
54
54
|
* parameters: [{
|
|
55
55
|
* name: "location",
|
|
56
56
|
* parameterValue: {
|
|
@@ -60,10 +60,133 @@ import * as outputs from "../types/output";
|
|
|
60
60
|
* },
|
|
61
61
|
* {
|
|
62
62
|
* name: "organizations/123456789/locations/global/cloudControls/builtin-require-cmek-on-bigquery-datasets",
|
|
63
|
+
* majorRevisionId: "2",
|
|
64
|
+
* parameters: [{
|
|
65
|
+
* name: "location",
|
|
66
|
+
* parameterValue: {
|
|
67
|
+
* numberValue: 1,
|
|
68
|
+
* },
|
|
69
|
+
* }],
|
|
70
|
+
* },
|
|
71
|
+
* ],
|
|
72
|
+
* });
|
|
73
|
+
* ```
|
|
74
|
+
* ### Cloudsecuritycompliance Framework Project Basic
|
|
75
|
+
*
|
|
76
|
+
* ```typescript
|
|
77
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
78
|
+
* import * as gcp from "@pulumi/gcp";
|
|
79
|
+
*
|
|
80
|
+
* const project = gcp.organizations.getProject({});
|
|
81
|
+
* const example = new gcp.cloudsecuritycompliance.Framework("example", {
|
|
82
|
+
* parent: project.then(project => `projects/${project.number}`),
|
|
83
|
+
* location: "global",
|
|
84
|
+
* frameworkId: "example-framework",
|
|
85
|
+
* displayName: "Terraform Framework Name",
|
|
86
|
+
* description: "An Terraform description for the framework",
|
|
87
|
+
* cloudControlDetails: [
|
|
88
|
+
* {
|
|
89
|
+
* name: project.then(project => `projects/${project.number}/locations/global/cloudControls/builtin-assess-resource-availability`),
|
|
90
|
+
* majorRevisionId: "2",
|
|
91
|
+
* parameters: [{
|
|
92
|
+
* name: "location",
|
|
93
|
+
* parameterValue: {
|
|
94
|
+
* stringValue: "us-central1",
|
|
95
|
+
* },
|
|
96
|
+
* }],
|
|
97
|
+
* },
|
|
98
|
+
* {
|
|
99
|
+
* name: project.then(project => `projects/${project.number}/locations/global/cloudControls/builtin-cmek-key-in-use-for-bigquery-table`),
|
|
100
|
+
* majorRevisionId: "1",
|
|
101
|
+
* parameters: [{
|
|
102
|
+
* name: "location",
|
|
103
|
+
* parameterValue: {
|
|
104
|
+
* stringListValue: {
|
|
105
|
+
* values: [
|
|
106
|
+
* "us-central1",
|
|
107
|
+
* "us-west1",
|
|
108
|
+
* ],
|
|
109
|
+
* },
|
|
110
|
+
* },
|
|
111
|
+
* }],
|
|
112
|
+
* },
|
|
113
|
+
* {
|
|
114
|
+
* name: project.then(project => `projects/${project.number}/locations/global/cloudControls/builtin-enable-automatic-backups-cloud-sql`),
|
|
115
|
+
* majorRevisionId: "3",
|
|
116
|
+
* parameters: [{
|
|
117
|
+
* name: "location",
|
|
118
|
+
* parameterValue: {
|
|
119
|
+
* boolValue: true,
|
|
120
|
+
* },
|
|
121
|
+
* }],
|
|
122
|
+
* },
|
|
123
|
+
* {
|
|
124
|
+
* name: project.then(project => `projects/${project.number}/locations/global/cloudControls/builtin-require-cmek-on-bigquery-datasets`),
|
|
125
|
+
* majorRevisionId: "2",
|
|
126
|
+
* parameters: [{
|
|
127
|
+
* name: "location",
|
|
128
|
+
* parameterValue: {
|
|
129
|
+
* numberValue: 1,
|
|
130
|
+
* },
|
|
131
|
+
* }],
|
|
132
|
+
* },
|
|
133
|
+
* ],
|
|
134
|
+
* });
|
|
135
|
+
* ```
|
|
136
|
+
* ### Cloudsecuritycompliance Framework Org Basic Backward
|
|
137
|
+
*
|
|
138
|
+
* ```typescript
|
|
139
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
140
|
+
* import * as gcp from "@pulumi/gcp";
|
|
141
|
+
*
|
|
142
|
+
* const example = new gcp.cloudsecuritycompliance.Framework("example", {
|
|
143
|
+
* organization: "123456789",
|
|
144
|
+
* location: "global",
|
|
145
|
+
* frameworkId: "example-framework",
|
|
146
|
+
* displayName: "Terraform Framework Name",
|
|
147
|
+
* description: "An Terraform description for the framework",
|
|
148
|
+
* cloudControlDetails: [
|
|
149
|
+
* {
|
|
150
|
+
* name: "organizations/123456789/locations/global/cloudControls/builtin-assess-resource-availability",
|
|
151
|
+
* majorRevisionId: "2",
|
|
152
|
+
* parameters: [{
|
|
153
|
+
* name: "location",
|
|
154
|
+
* parameterValue: {
|
|
155
|
+
* stringValue: "us-central1",
|
|
156
|
+
* },
|
|
157
|
+
* }],
|
|
158
|
+
* },
|
|
159
|
+
* {
|
|
160
|
+
* name: "organizations/123456789/locations/global/cloudControls/builtin-cmek-key-in-use-for-bigquery-table",
|
|
63
161
|
* majorRevisionId: "1",
|
|
64
162
|
* parameters: [{
|
|
65
163
|
* name: "location",
|
|
66
164
|
* parameterValue: {
|
|
165
|
+
* stringListValue: {
|
|
166
|
+
* values: [
|
|
167
|
+
* "us-central1",
|
|
168
|
+
* "us-west1",
|
|
169
|
+
* ],
|
|
170
|
+
* },
|
|
171
|
+
* },
|
|
172
|
+
* }],
|
|
173
|
+
* },
|
|
174
|
+
* {
|
|
175
|
+
* name: "organizations/123456789/locations/global/cloudControls/builtin-enable-automatic-backups-cloud-sql",
|
|
176
|
+
* majorRevisionId: "3",
|
|
177
|
+
* parameters: [{
|
|
178
|
+
* name: "location",
|
|
179
|
+
* parameterValue: {
|
|
180
|
+
* boolValue: true,
|
|
181
|
+
* },
|
|
182
|
+
* }],
|
|
183
|
+
* },
|
|
184
|
+
* {
|
|
185
|
+
* name: "organizations/123456789/locations/global/cloudControls/builtin-require-cmek-on-bigquery-datasets",
|
|
186
|
+
* majorRevisionId: "2",
|
|
187
|
+
* parameters: [{
|
|
188
|
+
* name: "location",
|
|
189
|
+
* parameterValue: {
|
|
67
190
|
* numberValue: 1,
|
|
68
191
|
* },
|
|
69
192
|
* }],
|
|
@@ -77,13 +200,13 @@ import * as outputs from "../types/output";
|
|
|
77
200
|
* Framework can be imported using any of these accepted formats:
|
|
78
201
|
*
|
|
79
202
|
* * `organizations/{{organization}}/locations/{{location}}/frameworks/{{framework_id}}`
|
|
80
|
-
* * `{{
|
|
203
|
+
* * `{{parent}}/locations/{{location}}/frameworks/{{framework_id}}`
|
|
81
204
|
*
|
|
82
205
|
* When using the `pulumi import` command, Framework can be imported using one of the formats above. For example:
|
|
83
206
|
*
|
|
84
207
|
* ```sh
|
|
85
208
|
* $ pulumi import gcp:cloudsecuritycompliance/framework:Framework default organizations/{{organization}}/locations/{{location}}/frameworks/{{framework_id}}
|
|
86
|
-
* $ pulumi import gcp:cloudsecuritycompliance/framework:Framework default {{
|
|
209
|
+
* $ pulumi import gcp:cloudsecuritycompliance/framework:Framework default {{parent}}/locations/{{location}}/frameworks/{{framework_id}}
|
|
87
210
|
* ```
|
|
88
211
|
*/
|
|
89
212
|
export declare class Framework extends pulumi.CustomResource {
|
|
@@ -146,13 +269,25 @@ export declare class Framework extends pulumi.CustomResource {
|
|
|
146
269
|
/**
|
|
147
270
|
* Identifier. The name of the framework.
|
|
148
271
|
* Format:
|
|
149
|
-
*
|
|
272
|
+
* {parent}/locations/{location}/frameworks/{framework_id}
|
|
150
273
|
*/
|
|
151
274
|
readonly name: pulumi.Output<string>;
|
|
152
275
|
/**
|
|
276
|
+
* (Optional, Deprecated)
|
|
153
277
|
* Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
|
278
|
+
*
|
|
279
|
+
* > **Warning:** Use `parent` instead.
|
|
280
|
+
*
|
|
281
|
+
* @deprecated Use `parent` instead.
|
|
154
282
|
*/
|
|
155
283
|
readonly organization: pulumi.Output<string>;
|
|
284
|
+
/**
|
|
285
|
+
* The parent resource in which to create the resource.
|
|
286
|
+
* Must be in one of the following formats:
|
|
287
|
+
* * `projects/{{project}}`
|
|
288
|
+
* * `organizations/{{organization}}`
|
|
289
|
+
*/
|
|
290
|
+
readonly parent: pulumi.Output<string>;
|
|
156
291
|
/**
|
|
157
292
|
* cloud providers supported
|
|
158
293
|
*/
|
|
@@ -229,13 +364,25 @@ export interface FrameworkState {
|
|
|
229
364
|
/**
|
|
230
365
|
* Identifier. The name of the framework.
|
|
231
366
|
* Format:
|
|
232
|
-
*
|
|
367
|
+
* {parent}/locations/{location}/frameworks/{framework_id}
|
|
233
368
|
*/
|
|
234
369
|
name?: pulumi.Input<string | undefined>;
|
|
235
370
|
/**
|
|
371
|
+
* (Optional, Deprecated)
|
|
236
372
|
* Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
|
373
|
+
*
|
|
374
|
+
* > **Warning:** Use `parent` instead.
|
|
375
|
+
*
|
|
376
|
+
* @deprecated Use `parent` instead.
|
|
237
377
|
*/
|
|
238
378
|
organization?: pulumi.Input<string | undefined>;
|
|
379
|
+
/**
|
|
380
|
+
* The parent resource in which to create the resource.
|
|
381
|
+
* Must be in one of the following formats:
|
|
382
|
+
* * `projects/{{project}}`
|
|
383
|
+
* * `organizations/{{organization}}`
|
|
384
|
+
*/
|
|
385
|
+
parent?: pulumi.Input<string | undefined>;
|
|
239
386
|
/**
|
|
240
387
|
* cloud providers supported
|
|
241
388
|
*/
|
|
@@ -294,8 +441,20 @@ export interface FrameworkArgs {
|
|
|
294
441
|
*/
|
|
295
442
|
location: pulumi.Input<string>;
|
|
296
443
|
/**
|
|
444
|
+
* (Optional, Deprecated)
|
|
297
445
|
* Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
|
446
|
+
*
|
|
447
|
+
* > **Warning:** Use `parent` instead.
|
|
448
|
+
*
|
|
449
|
+
* @deprecated Use `parent` instead.
|
|
450
|
+
*/
|
|
451
|
+
organization?: pulumi.Input<string | undefined>;
|
|
452
|
+
/**
|
|
453
|
+
* The parent resource in which to create the resource.
|
|
454
|
+
* Must be in one of the following formats:
|
|
455
|
+
* * `projects/{{project}}`
|
|
456
|
+
* * `organizations/{{organization}}`
|
|
298
457
|
*/
|
|
299
|
-
|
|
458
|
+
parent?: pulumi.Input<string | undefined>;
|
|
300
459
|
}
|
|
301
460
|
//# sourceMappingURL=framework.d.ts.map
|