@googleapis/securitycenter 17.2.0 → 17.4.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/CHANGELOG.md +14 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +216 -0
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +317 -0
- package/build/v1beta1.js.map +1 -1
- package/build/v1beta2.d.ts +188 -0
- package/build/v1beta2.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +216 -0
- package/v1beta1.ts +317 -0
- package/v1beta2.ts +188 -0
package/v1beta1.ts
CHANGED
|
@@ -215,6 +215,37 @@ export namespace securitycenter_v1beta1 {
|
|
|
215
215
|
*/
|
|
216
216
|
confidence?: number | null;
|
|
217
217
|
}
|
|
218
|
+
/**
|
|
219
|
+
* Represents an ADC application associated with the finding.
|
|
220
|
+
*/
|
|
221
|
+
export interface Schema$AdcApplication {
|
|
222
|
+
/**
|
|
223
|
+
* Consumer provided attributes for the AppHub application.
|
|
224
|
+
*/
|
|
225
|
+
attributes?: Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributes;
|
|
226
|
+
/**
|
|
227
|
+
* The resource name of an ADC Application. Format: projects/{project\}/locations/{location\}/spaces/{space\}/applications/{application\}
|
|
228
|
+
*/
|
|
229
|
+
name?: string | null;
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* Represents an ADC template associated with the finding.
|
|
233
|
+
*/
|
|
234
|
+
export interface Schema$AdcApplicationTemplateRevision {
|
|
235
|
+
/**
|
|
236
|
+
* The resource name of an ADC Application Template Revision. Format: projects/{project\}/locations/{location\}/spaces/{space\}/applicationTemplates/{application_template\}/revisions/{revision\}
|
|
237
|
+
*/
|
|
238
|
+
name?: string | null;
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* Represents an ADC shared template associated with the finding.
|
|
242
|
+
*/
|
|
243
|
+
export interface Schema$AdcSharedTemplateRevision {
|
|
244
|
+
/**
|
|
245
|
+
* The resource name of an ADC Shared Template Revision. Format: projects/{project\}/locations/{location\}/spaces/{space\}/applicationTemplates/{application_template\}/revisions/{revision\}
|
|
246
|
+
*/
|
|
247
|
+
name?: string | null;
|
|
248
|
+
}
|
|
218
249
|
/**
|
|
219
250
|
* Details about resources affected by this finding.
|
|
220
251
|
*/
|
|
@@ -283,6 +314,36 @@ export namespace securitycenter_v1beta1 {
|
|
|
283
314
|
*/
|
|
284
315
|
fullUri?: string | null;
|
|
285
316
|
}
|
|
317
|
+
/**
|
|
318
|
+
* Represents the result of evaluating artifact guard policies.
|
|
319
|
+
*/
|
|
320
|
+
export interface Schema$ArtifactGuardPolicies {
|
|
321
|
+
/**
|
|
322
|
+
* A list of failing policies.
|
|
323
|
+
*/
|
|
324
|
+
failingPolicies?: Schema$ArtifactGuardPolicy[];
|
|
325
|
+
/**
|
|
326
|
+
* The ID of the resource that has policies configured for it.
|
|
327
|
+
*/
|
|
328
|
+
resourceId?: string | null;
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* Represents an artifact guard policy.
|
|
332
|
+
*/
|
|
333
|
+
export interface Schema$ArtifactGuardPolicy {
|
|
334
|
+
/**
|
|
335
|
+
* The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2".
|
|
336
|
+
*/
|
|
337
|
+
failureReason?: string | null;
|
|
338
|
+
/**
|
|
339
|
+
* The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy".
|
|
340
|
+
*/
|
|
341
|
+
policyId?: string | null;
|
|
342
|
+
/**
|
|
343
|
+
* The type of the policy evaluation.
|
|
344
|
+
*/
|
|
345
|
+
type?: string | null;
|
|
346
|
+
}
|
|
286
347
|
/**
|
|
287
348
|
* Security Command Center representation of a Google Cloud resource. The Asset is a Security Command Center resource that captures information about a single Google Cloud resource. All modifications to an Asset are only within the context of Security Command Center and don't affect the referenced Google Cloud resource.
|
|
288
349
|
*/
|
|
@@ -1208,6 +1269,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
1208
1269
|
* Path of the file in terms of underlying disk/partition identifiers.
|
|
1209
1270
|
*/
|
|
1210
1271
|
diskPath?: Schema$DiskPath;
|
|
1272
|
+
/**
|
|
1273
|
+
* The load state of the file.
|
|
1274
|
+
*/
|
|
1275
|
+
fileLoadState?: string | null;
|
|
1211
1276
|
/**
|
|
1212
1277
|
* The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
|
|
1213
1278
|
*/
|
|
@@ -1262,6 +1327,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
1262
1327
|
* Represents an application associated with the finding.
|
|
1263
1328
|
*/
|
|
1264
1329
|
application?: Schema$Application;
|
|
1330
|
+
/**
|
|
1331
|
+
* ArtifactGuardPolicies associated with the finding.
|
|
1332
|
+
*/
|
|
1333
|
+
artifactGuardPolicies?: Schema$ArtifactGuardPolicies;
|
|
1265
1334
|
/**
|
|
1266
1335
|
* The results of an attack path simulation relevant to this finding.
|
|
1267
1336
|
*/
|
|
@@ -1464,6 +1533,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
1464
1533
|
* For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.
|
|
1465
1534
|
*/
|
|
1466
1535
|
resourceName?: string | null;
|
|
1536
|
+
/**
|
|
1537
|
+
* Secret associated with the finding.
|
|
1538
|
+
*/
|
|
1539
|
+
secret?: Schema$Secret;
|
|
1467
1540
|
/**
|
|
1468
1541
|
* Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
|
|
1469
1542
|
*/
|
|
@@ -2053,6 +2126,18 @@ export namespace securitycenter_v1beta1 {
|
|
|
2053
2126
|
* Information related to the Google Cloud resource.
|
|
2054
2127
|
*/
|
|
2055
2128
|
export interface Schema$GoogleCloudSecuritycenterV1Resource {
|
|
2129
|
+
/**
|
|
2130
|
+
* The ADC application associated with the finding.
|
|
2131
|
+
*/
|
|
2132
|
+
adcApplication?: Schema$AdcApplication;
|
|
2133
|
+
/**
|
|
2134
|
+
* The ADC template associated with the finding.
|
|
2135
|
+
*/
|
|
2136
|
+
adcApplicationTemplate?: Schema$AdcApplicationTemplateRevision;
|
|
2137
|
+
/**
|
|
2138
|
+
* The ADC shared template associated with the finding.
|
|
2139
|
+
*/
|
|
2140
|
+
adcSharedTemplate?: Schema$AdcSharedTemplateRevision;
|
|
2056
2141
|
/**
|
|
2057
2142
|
* The App Hub application this resource belongs to.
|
|
2058
2143
|
*/
|
|
@@ -2399,6 +2484,37 @@ export namespace securitycenter_v1beta1 {
|
|
|
2399
2484
|
*/
|
|
2400
2485
|
confidence?: number | null;
|
|
2401
2486
|
}
|
|
2487
|
+
/**
|
|
2488
|
+
* Represents an ADC application associated with the finding.
|
|
2489
|
+
*/
|
|
2490
|
+
export interface Schema$GoogleCloudSecuritycenterV2AdcApplication {
|
|
2491
|
+
/**
|
|
2492
|
+
* Consumer provided attributes for the AppHub application.
|
|
2493
|
+
*/
|
|
2494
|
+
attributes?: Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributes;
|
|
2495
|
+
/**
|
|
2496
|
+
* The resource name of an ADC Application. Format: projects/{project\}/locations/{location\}/spaces/{space\}/applications/{application\}
|
|
2497
|
+
*/
|
|
2498
|
+
name?: string | null;
|
|
2499
|
+
}
|
|
2500
|
+
/**
|
|
2501
|
+
* Represents an ADC template associated with the finding.
|
|
2502
|
+
*/
|
|
2503
|
+
export interface Schema$GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision {
|
|
2504
|
+
/**
|
|
2505
|
+
* The resource name of an ADC Application Template Revision. Format: projects/{project\}/locations/{location\}/spaces/{space\}/applicationTemplates/{application_template\}/revisions/{revision\}
|
|
2506
|
+
*/
|
|
2507
|
+
name?: string | null;
|
|
2508
|
+
}
|
|
2509
|
+
/**
|
|
2510
|
+
* Represents an ADC shared template associated with the finding.
|
|
2511
|
+
*/
|
|
2512
|
+
export interface Schema$GoogleCloudSecuritycenterV2AdcSharedTemplateRevision {
|
|
2513
|
+
/**
|
|
2514
|
+
* The resource name of an ADC Shared Template Revision. Format: projects/{project\}/locations/{location\}/spaces/{space\}/applicationTemplates/{application_template\}/revisions/{revision\}
|
|
2515
|
+
*/
|
|
2516
|
+
name?: string | null;
|
|
2517
|
+
}
|
|
2402
2518
|
/**
|
|
2403
2519
|
* Details about resources affected by this finding.
|
|
2404
2520
|
*/
|
|
@@ -2467,6 +2583,36 @@ export namespace securitycenter_v1beta1 {
|
|
|
2467
2583
|
*/
|
|
2468
2584
|
fullUri?: string | null;
|
|
2469
2585
|
}
|
|
2586
|
+
/**
|
|
2587
|
+
* Represents the result of evaluating artifact guard policies.
|
|
2588
|
+
*/
|
|
2589
|
+
export interface Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicies {
|
|
2590
|
+
/**
|
|
2591
|
+
* A list of failing policies.
|
|
2592
|
+
*/
|
|
2593
|
+
failingPolicies?: Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicy[];
|
|
2594
|
+
/**
|
|
2595
|
+
* The ID of the resource that has policies configured for it.
|
|
2596
|
+
*/
|
|
2597
|
+
resourceId?: string | null;
|
|
2598
|
+
}
|
|
2599
|
+
/**
|
|
2600
|
+
* Represents an artifact guard policy.
|
|
2601
|
+
*/
|
|
2602
|
+
export interface Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicy {
|
|
2603
|
+
/**
|
|
2604
|
+
* The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2".
|
|
2605
|
+
*/
|
|
2606
|
+
failureReason?: string | null;
|
|
2607
|
+
/**
|
|
2608
|
+
* The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy".
|
|
2609
|
+
*/
|
|
2610
|
+
policyId?: string | null;
|
|
2611
|
+
/**
|
|
2612
|
+
* The type of the policy evaluation.
|
|
2613
|
+
*/
|
|
2614
|
+
type?: string | null;
|
|
2615
|
+
}
|
|
2470
2616
|
/**
|
|
2471
2617
|
* Information about DDoS attack volume and classification.
|
|
2472
2618
|
*/
|
|
@@ -3367,6 +3513,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
3367
3513
|
* Path of the file in terms of underlying disk/partition identifiers.
|
|
3368
3514
|
*/
|
|
3369
3515
|
diskPath?: Schema$GoogleCloudSecuritycenterV2DiskPath;
|
|
3516
|
+
/**
|
|
3517
|
+
* The load state of the file.
|
|
3518
|
+
*/
|
|
3519
|
+
fileLoadState?: string | null;
|
|
3370
3520
|
/**
|
|
3371
3521
|
* The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
|
|
3372
3522
|
*/
|
|
@@ -3421,6 +3571,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
3421
3571
|
* Represents an application associated with the finding.
|
|
3422
3572
|
*/
|
|
3423
3573
|
application?: Schema$GoogleCloudSecuritycenterV2Application;
|
|
3574
|
+
/**
|
|
3575
|
+
* ArtifactGuardPolicies associated with the finding.
|
|
3576
|
+
*/
|
|
3577
|
+
artifactGuardPolicies?: Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicies;
|
|
3424
3578
|
/**
|
|
3425
3579
|
* The results of an attack path simulation relevant to this finding.
|
|
3426
3580
|
*/
|
|
@@ -3629,6 +3783,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
3629
3783
|
* Immutable. For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string.
|
|
3630
3784
|
*/
|
|
3631
3785
|
resourceName?: string | null;
|
|
3786
|
+
/**
|
|
3787
|
+
* Secret associated with the finding.
|
|
3788
|
+
*/
|
|
3789
|
+
secret?: Schema$GoogleCloudSecuritycenterV2Secret;
|
|
3632
3790
|
/**
|
|
3633
3791
|
* Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
|
|
3634
3792
|
*/
|
|
@@ -3961,6 +4119,18 @@ export namespace securitycenter_v1beta1 {
|
|
|
3961
4119
|
* A resource associated with the an issue.
|
|
3962
4120
|
*/
|
|
3963
4121
|
export interface Schema$GoogleCloudSecuritycenterV2IssueResource {
|
|
4122
|
+
/**
|
|
4123
|
+
* The ADC application associated with the finding.
|
|
4124
|
+
*/
|
|
4125
|
+
adcApplication?: Schema$GoogleCloudSecuritycenterV2IssueResourceAdcApplication;
|
|
4126
|
+
/**
|
|
4127
|
+
* The ADC template associated with the finding.
|
|
4128
|
+
*/
|
|
4129
|
+
adcApplicationTemplate?: Schema$GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision;
|
|
4130
|
+
/**
|
|
4131
|
+
* The ADC shared template associated with the finding.
|
|
4132
|
+
*/
|
|
4133
|
+
adcSharedTemplate?: Schema$GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision;
|
|
3964
4134
|
/**
|
|
3965
4135
|
* The AppHub application associated with the resource, if any. Only populated for the primary resource.
|
|
3966
4136
|
*/
|
|
@@ -3994,6 +4164,37 @@ export namespace securitycenter_v1beta1 {
|
|
|
3994
4164
|
*/
|
|
3995
4165
|
type?: string | null;
|
|
3996
4166
|
}
|
|
4167
|
+
/**
|
|
4168
|
+
* Represents an ADC application associated with the finding.
|
|
4169
|
+
*/
|
|
4170
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueResourceAdcApplication {
|
|
4171
|
+
/**
|
|
4172
|
+
* Consumer provided attributes for the AppHub application.
|
|
4173
|
+
*/
|
|
4174
|
+
attributes?: Schema$GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes;
|
|
4175
|
+
/**
|
|
4176
|
+
* The resource name of an ADC Application. Format: projects/{project\}/locations/{location\}/spaces/{space\}/applications/{application\}
|
|
4177
|
+
*/
|
|
4178
|
+
name?: string | null;
|
|
4179
|
+
}
|
|
4180
|
+
/**
|
|
4181
|
+
* Represents an ADC template associated with the finding.
|
|
4182
|
+
*/
|
|
4183
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision {
|
|
4184
|
+
/**
|
|
4185
|
+
* The resource name of an ADC Application Template Revision. Format: projects/{project\}/locations/{location\}/spaces/{space\}/applicationTemplates/{application_template\}/revisions/{revision\}
|
|
4186
|
+
*/
|
|
4187
|
+
name?: string | null;
|
|
4188
|
+
}
|
|
4189
|
+
/**
|
|
4190
|
+
* Represents an ADC shared template associated with the finding.
|
|
4191
|
+
*/
|
|
4192
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision {
|
|
4193
|
+
/**
|
|
4194
|
+
* The resource name of an ADC Shared Template Revision. Format: projects/{project\}/locations/{location\}/spaces/{space\}/applicationTemplates/{application_template\}/revisions/{revision\}
|
|
4195
|
+
*/
|
|
4196
|
+
name?: string | null;
|
|
4197
|
+
}
|
|
3997
4198
|
/**
|
|
3998
4199
|
* The AppHub application associated with the resource, if any.
|
|
3999
4200
|
*/
|
|
@@ -4661,6 +4862,18 @@ export namespace securitycenter_v1beta1 {
|
|
|
4661
4862
|
* Information related to the Google Cloud resource.
|
|
4662
4863
|
*/
|
|
4663
4864
|
export interface Schema$GoogleCloudSecuritycenterV2Resource {
|
|
4865
|
+
/**
|
|
4866
|
+
* The ADC application associated with the finding.
|
|
4867
|
+
*/
|
|
4868
|
+
adcApplication?: Schema$GoogleCloudSecuritycenterV2AdcApplication;
|
|
4869
|
+
/**
|
|
4870
|
+
* The ADC template associated with the finding.
|
|
4871
|
+
*/
|
|
4872
|
+
adcApplicationTemplate?: Schema$GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision;
|
|
4873
|
+
/**
|
|
4874
|
+
* The ADC shared template associated with the finding.
|
|
4875
|
+
*/
|
|
4876
|
+
adcSharedTemplate?: Schema$GoogleCloudSecuritycenterV2AdcSharedTemplateRevision;
|
|
4664
4877
|
/**
|
|
4665
4878
|
* The App Hub application this resource belongs to.
|
|
4666
4879
|
*/
|
|
@@ -4867,6 +5080,58 @@ export namespace securitycenter_v1beta1 {
|
|
|
4867
5080
|
*/
|
|
4868
5081
|
ns?: string | null;
|
|
4869
5082
|
}
|
|
5083
|
+
/**
|
|
5084
|
+
* Details about a secret or credential associated with the finding.
|
|
5085
|
+
*/
|
|
5086
|
+
export interface Schema$GoogleCloudSecuritycenterV2Secret {
|
|
5087
|
+
/**
|
|
5088
|
+
* The environment variable containing the secret.
|
|
5089
|
+
*/
|
|
5090
|
+
environmentVariable?: Schema$GoogleCloudSecuritycenterV2SecretEnvironmentVariable;
|
|
5091
|
+
/**
|
|
5092
|
+
* The file containing the secret.
|
|
5093
|
+
*/
|
|
5094
|
+
filePath?: Schema$GoogleCloudSecuritycenterV2SecretFilePath;
|
|
5095
|
+
/**
|
|
5096
|
+
* The status of the secret.
|
|
5097
|
+
*/
|
|
5098
|
+
status?: Schema$GoogleCloudSecuritycenterV2SecretStatus;
|
|
5099
|
+
/**
|
|
5100
|
+
* The type of secret, for example, GCP_API_KEY.
|
|
5101
|
+
*/
|
|
5102
|
+
type?: string | null;
|
|
5103
|
+
}
|
|
5104
|
+
/**
|
|
5105
|
+
* Environment variable containing the secret.
|
|
5106
|
+
*/
|
|
5107
|
+
export interface Schema$GoogleCloudSecuritycenterV2SecretEnvironmentVariable {
|
|
5108
|
+
/**
|
|
5109
|
+
* Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content.
|
|
5110
|
+
*/
|
|
5111
|
+
key?: string | null;
|
|
5112
|
+
}
|
|
5113
|
+
/**
|
|
5114
|
+
* File path containing the secret.
|
|
5115
|
+
*/
|
|
5116
|
+
export interface Schema$GoogleCloudSecuritycenterV2SecretFilePath {
|
|
5117
|
+
/**
|
|
5118
|
+
* Path to the file.
|
|
5119
|
+
*/
|
|
5120
|
+
path?: string | null;
|
|
5121
|
+
}
|
|
5122
|
+
/**
|
|
5123
|
+
* The status of the secret.
|
|
5124
|
+
*/
|
|
5125
|
+
export interface Schema$GoogleCloudSecuritycenterV2SecretStatus {
|
|
5126
|
+
/**
|
|
5127
|
+
* Time that the secret was found.
|
|
5128
|
+
*/
|
|
5129
|
+
lastUpdatedTime?: string | null;
|
|
5130
|
+
/**
|
|
5131
|
+
* The validity of the secret.
|
|
5132
|
+
*/
|
|
5133
|
+
validity?: string | null;
|
|
5134
|
+
}
|
|
4870
5135
|
/**
|
|
4871
5136
|
* SecurityBulletin are notifications of vulnerabilities of Google products.
|
|
4872
5137
|
*/
|
|
@@ -5971,6 +6236,58 @@ export namespace securitycenter_v1beta1 {
|
|
|
5971
6236
|
* Request message for running asset discovery for an organization.
|
|
5972
6237
|
*/
|
|
5973
6238
|
export interface Schema$RunAssetDiscoveryRequest {}
|
|
6239
|
+
/**
|
|
6240
|
+
* Details about a secret or credential associated with the finding.
|
|
6241
|
+
*/
|
|
6242
|
+
export interface Schema$Secret {
|
|
6243
|
+
/**
|
|
6244
|
+
* The environment variable containing the secret.
|
|
6245
|
+
*/
|
|
6246
|
+
environmentVariable?: Schema$SecretEnvironmentVariable;
|
|
6247
|
+
/**
|
|
6248
|
+
* The file containing the secret.
|
|
6249
|
+
*/
|
|
6250
|
+
filePath?: Schema$SecretFilePath;
|
|
6251
|
+
/**
|
|
6252
|
+
* The status of the secret.
|
|
6253
|
+
*/
|
|
6254
|
+
status?: Schema$SecretStatus;
|
|
6255
|
+
/**
|
|
6256
|
+
* The type of secret, for example, GCP_API_KEY.
|
|
6257
|
+
*/
|
|
6258
|
+
type?: string | null;
|
|
6259
|
+
}
|
|
6260
|
+
/**
|
|
6261
|
+
* Environment variable containing the secret.
|
|
6262
|
+
*/
|
|
6263
|
+
export interface Schema$SecretEnvironmentVariable {
|
|
6264
|
+
/**
|
|
6265
|
+
* Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content.
|
|
6266
|
+
*/
|
|
6267
|
+
key?: string | null;
|
|
6268
|
+
}
|
|
6269
|
+
/**
|
|
6270
|
+
* File path containing the secret.
|
|
6271
|
+
*/
|
|
6272
|
+
export interface Schema$SecretFilePath {
|
|
6273
|
+
/**
|
|
6274
|
+
* Path to the file.
|
|
6275
|
+
*/
|
|
6276
|
+
path?: string | null;
|
|
6277
|
+
}
|
|
6278
|
+
/**
|
|
6279
|
+
* The status of the secret.
|
|
6280
|
+
*/
|
|
6281
|
+
export interface Schema$SecretStatus {
|
|
6282
|
+
/**
|
|
6283
|
+
* Time that the secret was found.
|
|
6284
|
+
*/
|
|
6285
|
+
lastUpdatedTime?: string | null;
|
|
6286
|
+
/**
|
|
6287
|
+
* The validity of the secret.
|
|
6288
|
+
*/
|
|
6289
|
+
validity?: string | null;
|
|
6290
|
+
}
|
|
5974
6291
|
/**
|
|
5975
6292
|
* SecurityBulletin are notifications of vulnerabilities of Google products.
|
|
5976
6293
|
*/
|
package/v1beta2.ts
CHANGED
|
@@ -287,6 +287,36 @@ export namespace securitycenter_v1beta2 {
|
|
|
287
287
|
*/
|
|
288
288
|
fullUri?: string | null;
|
|
289
289
|
}
|
|
290
|
+
/**
|
|
291
|
+
* Represents the result of evaluating artifact guard policies.
|
|
292
|
+
*/
|
|
293
|
+
export interface Schema$ArtifactGuardPolicies {
|
|
294
|
+
/**
|
|
295
|
+
* A list of failing policies.
|
|
296
|
+
*/
|
|
297
|
+
failingPolicies?: Schema$ArtifactGuardPolicy[];
|
|
298
|
+
/**
|
|
299
|
+
* The ID of the resource that has policies configured for it.
|
|
300
|
+
*/
|
|
301
|
+
resourceId?: string | null;
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* Represents an artifact guard policy.
|
|
305
|
+
*/
|
|
306
|
+
export interface Schema$ArtifactGuardPolicy {
|
|
307
|
+
/**
|
|
308
|
+
* The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2".
|
|
309
|
+
*/
|
|
310
|
+
failureReason?: string | null;
|
|
311
|
+
/**
|
|
312
|
+
* The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy".
|
|
313
|
+
*/
|
|
314
|
+
policyId?: string | null;
|
|
315
|
+
/**
|
|
316
|
+
* The type of the policy evaluation.
|
|
317
|
+
*/
|
|
318
|
+
type?: string | null;
|
|
319
|
+
}
|
|
290
320
|
/**
|
|
291
321
|
* Information about DDoS attack volume and classification.
|
|
292
322
|
*/
|
|
@@ -1195,6 +1225,10 @@ export namespace securitycenter_v1beta2 {
|
|
|
1195
1225
|
* Path of the file in terms of underlying disk/partition identifiers.
|
|
1196
1226
|
*/
|
|
1197
1227
|
diskPath?: Schema$DiskPath;
|
|
1228
|
+
/**
|
|
1229
|
+
* The load state of the file.
|
|
1230
|
+
*/
|
|
1231
|
+
fileLoadState?: string | null;
|
|
1198
1232
|
/**
|
|
1199
1233
|
* The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
|
|
1200
1234
|
*/
|
|
@@ -1249,6 +1283,10 @@ export namespace securitycenter_v1beta2 {
|
|
|
1249
1283
|
* Represents an application associated with the finding.
|
|
1250
1284
|
*/
|
|
1251
1285
|
application?: Schema$Application;
|
|
1286
|
+
/**
|
|
1287
|
+
* ArtifactGuardPolicies associated with the finding.
|
|
1288
|
+
*/
|
|
1289
|
+
artifactGuardPolicies?: Schema$ArtifactGuardPolicies;
|
|
1252
1290
|
/**
|
|
1253
1291
|
* The results of an attack path simulation relevant to this finding.
|
|
1254
1292
|
*/
|
|
@@ -1451,6 +1489,10 @@ export namespace securitycenter_v1beta2 {
|
|
|
1451
1489
|
* For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.
|
|
1452
1490
|
*/
|
|
1453
1491
|
resourceName?: string | null;
|
|
1492
|
+
/**
|
|
1493
|
+
* Secret associated with the finding.
|
|
1494
|
+
*/
|
|
1495
|
+
secret?: Schema$Secret;
|
|
1454
1496
|
/**
|
|
1455
1497
|
* Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
|
|
1456
1498
|
*/
|
|
@@ -2378,6 +2420,36 @@ export namespace securitycenter_v1beta2 {
|
|
|
2378
2420
|
*/
|
|
2379
2421
|
fullUri?: string | null;
|
|
2380
2422
|
}
|
|
2423
|
+
/**
|
|
2424
|
+
* Represents the result of evaluating artifact guard policies.
|
|
2425
|
+
*/
|
|
2426
|
+
export interface Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicies {
|
|
2427
|
+
/**
|
|
2428
|
+
* A list of failing policies.
|
|
2429
|
+
*/
|
|
2430
|
+
failingPolicies?: Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicy[];
|
|
2431
|
+
/**
|
|
2432
|
+
* The ID of the resource that has policies configured for it.
|
|
2433
|
+
*/
|
|
2434
|
+
resourceId?: string | null;
|
|
2435
|
+
}
|
|
2436
|
+
/**
|
|
2437
|
+
* Represents an artifact guard policy.
|
|
2438
|
+
*/
|
|
2439
|
+
export interface Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicy {
|
|
2440
|
+
/**
|
|
2441
|
+
* The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2".
|
|
2442
|
+
*/
|
|
2443
|
+
failureReason?: string | null;
|
|
2444
|
+
/**
|
|
2445
|
+
* The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy".
|
|
2446
|
+
*/
|
|
2447
|
+
policyId?: string | null;
|
|
2448
|
+
/**
|
|
2449
|
+
* The type of the policy evaluation.
|
|
2450
|
+
*/
|
|
2451
|
+
type?: string | null;
|
|
2452
|
+
}
|
|
2381
2453
|
/**
|
|
2382
2454
|
* Information about DDoS attack volume and classification.
|
|
2383
2455
|
*/
|
|
@@ -3278,6 +3350,10 @@ export namespace securitycenter_v1beta2 {
|
|
|
3278
3350
|
* Path of the file in terms of underlying disk/partition identifiers.
|
|
3279
3351
|
*/
|
|
3280
3352
|
diskPath?: Schema$GoogleCloudSecuritycenterV2DiskPath;
|
|
3353
|
+
/**
|
|
3354
|
+
* The load state of the file.
|
|
3355
|
+
*/
|
|
3356
|
+
fileLoadState?: string | null;
|
|
3281
3357
|
/**
|
|
3282
3358
|
* The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
|
|
3283
3359
|
*/
|
|
@@ -3332,6 +3408,10 @@ export namespace securitycenter_v1beta2 {
|
|
|
3332
3408
|
* Represents an application associated with the finding.
|
|
3333
3409
|
*/
|
|
3334
3410
|
application?: Schema$GoogleCloudSecuritycenterV2Application;
|
|
3411
|
+
/**
|
|
3412
|
+
* ArtifactGuardPolicies associated with the finding.
|
|
3413
|
+
*/
|
|
3414
|
+
artifactGuardPolicies?: Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicies;
|
|
3335
3415
|
/**
|
|
3336
3416
|
* The results of an attack path simulation relevant to this finding.
|
|
3337
3417
|
*/
|
|
@@ -3540,6 +3620,10 @@ export namespace securitycenter_v1beta2 {
|
|
|
3540
3620
|
* Immutable. For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string.
|
|
3541
3621
|
*/
|
|
3542
3622
|
resourceName?: string | null;
|
|
3623
|
+
/**
|
|
3624
|
+
* Secret associated with the finding.
|
|
3625
|
+
*/
|
|
3626
|
+
secret?: Schema$GoogleCloudSecuritycenterV2Secret;
|
|
3543
3627
|
/**
|
|
3544
3628
|
* Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
|
|
3545
3629
|
*/
|
|
@@ -4778,6 +4862,58 @@ export namespace securitycenter_v1beta2 {
|
|
|
4778
4862
|
*/
|
|
4779
4863
|
ns?: string | null;
|
|
4780
4864
|
}
|
|
4865
|
+
/**
|
|
4866
|
+
* Details about a secret or credential associated with the finding.
|
|
4867
|
+
*/
|
|
4868
|
+
export interface Schema$GoogleCloudSecuritycenterV2Secret {
|
|
4869
|
+
/**
|
|
4870
|
+
* The environment variable containing the secret.
|
|
4871
|
+
*/
|
|
4872
|
+
environmentVariable?: Schema$GoogleCloudSecuritycenterV2SecretEnvironmentVariable;
|
|
4873
|
+
/**
|
|
4874
|
+
* The file containing the secret.
|
|
4875
|
+
*/
|
|
4876
|
+
filePath?: Schema$GoogleCloudSecuritycenterV2SecretFilePath;
|
|
4877
|
+
/**
|
|
4878
|
+
* The status of the secret.
|
|
4879
|
+
*/
|
|
4880
|
+
status?: Schema$GoogleCloudSecuritycenterV2SecretStatus;
|
|
4881
|
+
/**
|
|
4882
|
+
* The type of secret, for example, GCP_API_KEY.
|
|
4883
|
+
*/
|
|
4884
|
+
type?: string | null;
|
|
4885
|
+
}
|
|
4886
|
+
/**
|
|
4887
|
+
* Environment variable containing the secret.
|
|
4888
|
+
*/
|
|
4889
|
+
export interface Schema$GoogleCloudSecuritycenterV2SecretEnvironmentVariable {
|
|
4890
|
+
/**
|
|
4891
|
+
* Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content.
|
|
4892
|
+
*/
|
|
4893
|
+
key?: string | null;
|
|
4894
|
+
}
|
|
4895
|
+
/**
|
|
4896
|
+
* File path containing the secret.
|
|
4897
|
+
*/
|
|
4898
|
+
export interface Schema$GoogleCloudSecuritycenterV2SecretFilePath {
|
|
4899
|
+
/**
|
|
4900
|
+
* Path to the file.
|
|
4901
|
+
*/
|
|
4902
|
+
path?: string | null;
|
|
4903
|
+
}
|
|
4904
|
+
/**
|
|
4905
|
+
* The status of the secret.
|
|
4906
|
+
*/
|
|
4907
|
+
export interface Schema$GoogleCloudSecuritycenterV2SecretStatus {
|
|
4908
|
+
/**
|
|
4909
|
+
* Time that the secret was found.
|
|
4910
|
+
*/
|
|
4911
|
+
lastUpdatedTime?: string | null;
|
|
4912
|
+
/**
|
|
4913
|
+
* The validity of the secret.
|
|
4914
|
+
*/
|
|
4915
|
+
validity?: string | null;
|
|
4916
|
+
}
|
|
4781
4917
|
/**
|
|
4782
4918
|
* SecurityBulletin are notifications of vulnerabilities of Google products.
|
|
4783
4919
|
*/
|
|
@@ -5650,6 +5786,58 @@ export namespace securitycenter_v1beta2 {
|
|
|
5650
5786
|
*/
|
|
5651
5787
|
ns?: string | null;
|
|
5652
5788
|
}
|
|
5789
|
+
/**
|
|
5790
|
+
* Details about a secret or credential associated with the finding.
|
|
5791
|
+
*/
|
|
5792
|
+
export interface Schema$Secret {
|
|
5793
|
+
/**
|
|
5794
|
+
* The environment variable containing the secret.
|
|
5795
|
+
*/
|
|
5796
|
+
environmentVariable?: Schema$SecretEnvironmentVariable;
|
|
5797
|
+
/**
|
|
5798
|
+
* The file containing the secret.
|
|
5799
|
+
*/
|
|
5800
|
+
filePath?: Schema$SecretFilePath;
|
|
5801
|
+
/**
|
|
5802
|
+
* The status of the secret.
|
|
5803
|
+
*/
|
|
5804
|
+
status?: Schema$SecretStatus;
|
|
5805
|
+
/**
|
|
5806
|
+
* The type of secret, for example, GCP_API_KEY.
|
|
5807
|
+
*/
|
|
5808
|
+
type?: string | null;
|
|
5809
|
+
}
|
|
5810
|
+
/**
|
|
5811
|
+
* Environment variable containing the secret.
|
|
5812
|
+
*/
|
|
5813
|
+
export interface Schema$SecretEnvironmentVariable {
|
|
5814
|
+
/**
|
|
5815
|
+
* Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content.
|
|
5816
|
+
*/
|
|
5817
|
+
key?: string | null;
|
|
5818
|
+
}
|
|
5819
|
+
/**
|
|
5820
|
+
* File path containing the secret.
|
|
5821
|
+
*/
|
|
5822
|
+
export interface Schema$SecretFilePath {
|
|
5823
|
+
/**
|
|
5824
|
+
* Path to the file.
|
|
5825
|
+
*/
|
|
5826
|
+
path?: string | null;
|
|
5827
|
+
}
|
|
5828
|
+
/**
|
|
5829
|
+
* The status of the secret.
|
|
5830
|
+
*/
|
|
5831
|
+
export interface Schema$SecretStatus {
|
|
5832
|
+
/**
|
|
5833
|
+
* Time that the secret was found.
|
|
5834
|
+
*/
|
|
5835
|
+
lastUpdatedTime?: string | null;
|
|
5836
|
+
/**
|
|
5837
|
+
* The validity of the secret.
|
|
5838
|
+
*/
|
|
5839
|
+
validity?: string | null;
|
|
5840
|
+
}
|
|
5653
5841
|
/**
|
|
5654
5842
|
* SecurityBulletin are notifications of vulnerabilities of Google products.
|
|
5655
5843
|
*/
|