@googleapis/securitycenter 17.2.0 → 17.3.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/v1beta1.ts CHANGED
@@ -283,6 +283,36 @@ export namespace securitycenter_v1beta1 {
283
283
  */
284
284
  fullUri?: string | null;
285
285
  }
286
+ /**
287
+ * Represents the result of evaluating artifact guard policies.
288
+ */
289
+ export interface Schema$ArtifactGuardPolicies {
290
+ /**
291
+ * A list of failing policies.
292
+ */
293
+ failingPolicies?: Schema$ArtifactGuardPolicy[];
294
+ /**
295
+ * The ID of the resource that has policies configured for it.
296
+ */
297
+ resourceId?: string | null;
298
+ }
299
+ /**
300
+ * Represents an artifact guard policy.
301
+ */
302
+ export interface Schema$ArtifactGuardPolicy {
303
+ /**
304
+ * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2".
305
+ */
306
+ failureReason?: string | null;
307
+ /**
308
+ * The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy".
309
+ */
310
+ policyId?: string | null;
311
+ /**
312
+ * The type of the policy evaluation.
313
+ */
314
+ type?: string | null;
315
+ }
286
316
  /**
287
317
  * 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
318
  */
@@ -1208,6 +1238,10 @@ export namespace securitycenter_v1beta1 {
1208
1238
  * Path of the file in terms of underlying disk/partition identifiers.
1209
1239
  */
1210
1240
  diskPath?: Schema$DiskPath;
1241
+ /**
1242
+ * The load state of the file.
1243
+ */
1244
+ fileLoadState?: string | null;
1211
1245
  /**
1212
1246
  * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
1213
1247
  */
@@ -1262,6 +1296,10 @@ export namespace securitycenter_v1beta1 {
1262
1296
  * Represents an application associated with the finding.
1263
1297
  */
1264
1298
  application?: Schema$Application;
1299
+ /**
1300
+ * ArtifactGuardPolicies associated with the finding.
1301
+ */
1302
+ artifactGuardPolicies?: Schema$ArtifactGuardPolicies;
1265
1303
  /**
1266
1304
  * The results of an attack path simulation relevant to this finding.
1267
1305
  */
@@ -1464,6 +1502,10 @@ export namespace securitycenter_v1beta1 {
1464
1502
  * 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
1503
  */
1466
1504
  resourceName?: string | null;
1505
+ /**
1506
+ * Secret associated with the finding.
1507
+ */
1508
+ secret?: Schema$Secret;
1467
1509
  /**
1468
1510
  * 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
1511
  */
@@ -2467,6 +2509,36 @@ export namespace securitycenter_v1beta1 {
2467
2509
  */
2468
2510
  fullUri?: string | null;
2469
2511
  }
2512
+ /**
2513
+ * Represents the result of evaluating artifact guard policies.
2514
+ */
2515
+ export interface Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicies {
2516
+ /**
2517
+ * A list of failing policies.
2518
+ */
2519
+ failingPolicies?: Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicy[];
2520
+ /**
2521
+ * The ID of the resource that has policies configured for it.
2522
+ */
2523
+ resourceId?: string | null;
2524
+ }
2525
+ /**
2526
+ * Represents an artifact guard policy.
2527
+ */
2528
+ export interface Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicy {
2529
+ /**
2530
+ * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2".
2531
+ */
2532
+ failureReason?: string | null;
2533
+ /**
2534
+ * The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy".
2535
+ */
2536
+ policyId?: string | null;
2537
+ /**
2538
+ * The type of the policy evaluation.
2539
+ */
2540
+ type?: string | null;
2541
+ }
2470
2542
  /**
2471
2543
  * Information about DDoS attack volume and classification.
2472
2544
  */
@@ -3367,6 +3439,10 @@ export namespace securitycenter_v1beta1 {
3367
3439
  * Path of the file in terms of underlying disk/partition identifiers.
3368
3440
  */
3369
3441
  diskPath?: Schema$GoogleCloudSecuritycenterV2DiskPath;
3442
+ /**
3443
+ * The load state of the file.
3444
+ */
3445
+ fileLoadState?: string | null;
3370
3446
  /**
3371
3447
  * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
3372
3448
  */
@@ -3421,6 +3497,10 @@ export namespace securitycenter_v1beta1 {
3421
3497
  * Represents an application associated with the finding.
3422
3498
  */
3423
3499
  application?: Schema$GoogleCloudSecuritycenterV2Application;
3500
+ /**
3501
+ * ArtifactGuardPolicies associated with the finding.
3502
+ */
3503
+ artifactGuardPolicies?: Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicies;
3424
3504
  /**
3425
3505
  * The results of an attack path simulation relevant to this finding.
3426
3506
  */
@@ -3629,6 +3709,10 @@ export namespace securitycenter_v1beta1 {
3629
3709
  * 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
3710
  */
3631
3711
  resourceName?: string | null;
3712
+ /**
3713
+ * Secret associated with the finding.
3714
+ */
3715
+ secret?: Schema$GoogleCloudSecuritycenterV2Secret;
3632
3716
  /**
3633
3717
  * 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
3718
  */
@@ -4867,6 +4951,58 @@ export namespace securitycenter_v1beta1 {
4867
4951
  */
4868
4952
  ns?: string | null;
4869
4953
  }
4954
+ /**
4955
+ * Details about a secret or credential associated with the finding.
4956
+ */
4957
+ export interface Schema$GoogleCloudSecuritycenterV2Secret {
4958
+ /**
4959
+ * The environment variable containing the secret.
4960
+ */
4961
+ environmentVariable?: Schema$GoogleCloudSecuritycenterV2SecretEnvironmentVariable;
4962
+ /**
4963
+ * The file containing the secret.
4964
+ */
4965
+ filePath?: Schema$GoogleCloudSecuritycenterV2SecretFilePath;
4966
+ /**
4967
+ * The status of the secret.
4968
+ */
4969
+ status?: Schema$GoogleCloudSecuritycenterV2SecretStatus;
4970
+ /**
4971
+ * The type of secret, for example, GCP_API_KEY.
4972
+ */
4973
+ type?: string | null;
4974
+ }
4975
+ /**
4976
+ * Environment variable containing the secret.
4977
+ */
4978
+ export interface Schema$GoogleCloudSecuritycenterV2SecretEnvironmentVariable {
4979
+ /**
4980
+ * 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.
4981
+ */
4982
+ key?: string | null;
4983
+ }
4984
+ /**
4985
+ * File path containing the secret.
4986
+ */
4987
+ export interface Schema$GoogleCloudSecuritycenterV2SecretFilePath {
4988
+ /**
4989
+ * Path to the file.
4990
+ */
4991
+ path?: string | null;
4992
+ }
4993
+ /**
4994
+ * The status of the secret.
4995
+ */
4996
+ export interface Schema$GoogleCloudSecuritycenterV2SecretStatus {
4997
+ /**
4998
+ * Time that the secret was found.
4999
+ */
5000
+ lastUpdatedTime?: string | null;
5001
+ /**
5002
+ * The validity of the secret.
5003
+ */
5004
+ validity?: string | null;
5005
+ }
4870
5006
  /**
4871
5007
  * SecurityBulletin are notifications of vulnerabilities of Google products.
4872
5008
  */
@@ -5971,6 +6107,58 @@ export namespace securitycenter_v1beta1 {
5971
6107
  * Request message for running asset discovery for an organization.
5972
6108
  */
5973
6109
  export interface Schema$RunAssetDiscoveryRequest {}
6110
+ /**
6111
+ * Details about a secret or credential associated with the finding.
6112
+ */
6113
+ export interface Schema$Secret {
6114
+ /**
6115
+ * The environment variable containing the secret.
6116
+ */
6117
+ environmentVariable?: Schema$SecretEnvironmentVariable;
6118
+ /**
6119
+ * The file containing the secret.
6120
+ */
6121
+ filePath?: Schema$SecretFilePath;
6122
+ /**
6123
+ * The status of the secret.
6124
+ */
6125
+ status?: Schema$SecretStatus;
6126
+ /**
6127
+ * The type of secret, for example, GCP_API_KEY.
6128
+ */
6129
+ type?: string | null;
6130
+ }
6131
+ /**
6132
+ * Environment variable containing the secret.
6133
+ */
6134
+ export interface Schema$SecretEnvironmentVariable {
6135
+ /**
6136
+ * 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.
6137
+ */
6138
+ key?: string | null;
6139
+ }
6140
+ /**
6141
+ * File path containing the secret.
6142
+ */
6143
+ export interface Schema$SecretFilePath {
6144
+ /**
6145
+ * Path to the file.
6146
+ */
6147
+ path?: string | null;
6148
+ }
6149
+ /**
6150
+ * The status of the secret.
6151
+ */
6152
+ export interface Schema$SecretStatus {
6153
+ /**
6154
+ * Time that the secret was found.
6155
+ */
6156
+ lastUpdatedTime?: string | null;
6157
+ /**
6158
+ * The validity of the secret.
6159
+ */
6160
+ validity?: string | null;
6161
+ }
5974
6162
  /**
5975
6163
  * SecurityBulletin are notifications of vulnerabilities of Google products.
5976
6164
  */
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
  */