@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/v1.ts CHANGED
@@ -287,6 +287,36 @@ export namespace securitycenter_v1 {
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
  * 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.
292
322
  */
@@ -1460,6 +1490,10 @@ export namespace securitycenter_v1 {
1460
1490
  * Path of the file in terms of underlying disk/partition identifiers.
1461
1491
  */
1462
1492
  diskPath?: Schema$DiskPath;
1493
+ /**
1494
+ * The load state of the file.
1495
+ */
1496
+ fileLoadState?: string | null;
1463
1497
  /**
1464
1498
  * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
1465
1499
  */
@@ -1514,6 +1548,10 @@ export namespace securitycenter_v1 {
1514
1548
  * Represents an application associated with the finding.
1515
1549
  */
1516
1550
  application?: Schema$Application;
1551
+ /**
1552
+ * ArtifactGuardPolicies associated with the finding.
1553
+ */
1554
+ artifactGuardPolicies?: Schema$ArtifactGuardPolicies;
1517
1555
  /**
1518
1556
  * The results of an attack path simulation relevant to this finding.
1519
1557
  */
@@ -1716,6 +1754,10 @@ export namespace securitycenter_v1 {
1716
1754
  * 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.
1717
1755
  */
1718
1756
  resourceName?: string | null;
1757
+ /**
1758
+ * Secret associated with the finding.
1759
+ */
1760
+ secret?: Schema$Secret;
1719
1761
  /**
1720
1762
  * 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.
1721
1763
  */
@@ -2661,6 +2703,36 @@ export namespace securitycenter_v1 {
2661
2703
  */
2662
2704
  fullUri?: string | null;
2663
2705
  }
2706
+ /**
2707
+ * Represents the result of evaluating artifact guard policies.
2708
+ */
2709
+ export interface Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicies {
2710
+ /**
2711
+ * A list of failing policies.
2712
+ */
2713
+ failingPolicies?: Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicy[];
2714
+ /**
2715
+ * The ID of the resource that has policies configured for it.
2716
+ */
2717
+ resourceId?: string | null;
2718
+ }
2719
+ /**
2720
+ * Represents an artifact guard policy.
2721
+ */
2722
+ export interface Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicy {
2723
+ /**
2724
+ * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2".
2725
+ */
2726
+ failureReason?: string | null;
2727
+ /**
2728
+ * The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy".
2729
+ */
2730
+ policyId?: string | null;
2731
+ /**
2732
+ * The type of the policy evaluation.
2733
+ */
2734
+ type?: string | null;
2735
+ }
2664
2736
  /**
2665
2737
  * Information about DDoS attack volume and classification.
2666
2738
  */
@@ -3561,6 +3633,10 @@ export namespace securitycenter_v1 {
3561
3633
  * Path of the file in terms of underlying disk/partition identifiers.
3562
3634
  */
3563
3635
  diskPath?: Schema$GoogleCloudSecuritycenterV2DiskPath;
3636
+ /**
3637
+ * The load state of the file.
3638
+ */
3639
+ fileLoadState?: string | null;
3564
3640
  /**
3565
3641
  * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
3566
3642
  */
@@ -3615,6 +3691,10 @@ export namespace securitycenter_v1 {
3615
3691
  * Represents an application associated with the finding.
3616
3692
  */
3617
3693
  application?: Schema$GoogleCloudSecuritycenterV2Application;
3694
+ /**
3695
+ * ArtifactGuardPolicies associated with the finding.
3696
+ */
3697
+ artifactGuardPolicies?: Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicies;
3618
3698
  /**
3619
3699
  * The results of an attack path simulation relevant to this finding.
3620
3700
  */
@@ -3823,6 +3903,10 @@ export namespace securitycenter_v1 {
3823
3903
  * 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.
3824
3904
  */
3825
3905
  resourceName?: string | null;
3906
+ /**
3907
+ * Secret associated with the finding.
3908
+ */
3909
+ secret?: Schema$GoogleCloudSecuritycenterV2Secret;
3826
3910
  /**
3827
3911
  * 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.
3828
3912
  */
@@ -5061,6 +5145,58 @@ export namespace securitycenter_v1 {
5061
5145
  */
5062
5146
  ns?: string | null;
5063
5147
  }
5148
+ /**
5149
+ * Details about a secret or credential associated with the finding.
5150
+ */
5151
+ export interface Schema$GoogleCloudSecuritycenterV2Secret {
5152
+ /**
5153
+ * The environment variable containing the secret.
5154
+ */
5155
+ environmentVariable?: Schema$GoogleCloudSecuritycenterV2SecretEnvironmentVariable;
5156
+ /**
5157
+ * The file containing the secret.
5158
+ */
5159
+ filePath?: Schema$GoogleCloudSecuritycenterV2SecretFilePath;
5160
+ /**
5161
+ * The status of the secret.
5162
+ */
5163
+ status?: Schema$GoogleCloudSecuritycenterV2SecretStatus;
5164
+ /**
5165
+ * The type of secret, for example, GCP_API_KEY.
5166
+ */
5167
+ type?: string | null;
5168
+ }
5169
+ /**
5170
+ * Environment variable containing the secret.
5171
+ */
5172
+ export interface Schema$GoogleCloudSecuritycenterV2SecretEnvironmentVariable {
5173
+ /**
5174
+ * 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.
5175
+ */
5176
+ key?: string | null;
5177
+ }
5178
+ /**
5179
+ * File path containing the secret.
5180
+ */
5181
+ export interface Schema$GoogleCloudSecuritycenterV2SecretFilePath {
5182
+ /**
5183
+ * Path to the file.
5184
+ */
5185
+ path?: string | null;
5186
+ }
5187
+ /**
5188
+ * The status of the secret.
5189
+ */
5190
+ export interface Schema$GoogleCloudSecuritycenterV2SecretStatus {
5191
+ /**
5192
+ * Time that the secret was found.
5193
+ */
5194
+ lastUpdatedTime?: string | null;
5195
+ /**
5196
+ * The validity of the secret.
5197
+ */
5198
+ validity?: string | null;
5199
+ }
5064
5200
  /**
5065
5201
  * SecurityBulletin are notifications of vulnerabilities of Google products.
5066
5202
  */
@@ -6500,6 +6636,58 @@ export namespace securitycenter_v1 {
6500
6636
  * Request message for running asset discovery for an organization.
6501
6637
  */
6502
6638
  export interface Schema$RunAssetDiscoveryRequest {}
6639
+ /**
6640
+ * Details about a secret or credential associated with the finding.
6641
+ */
6642
+ export interface Schema$Secret {
6643
+ /**
6644
+ * The environment variable containing the secret.
6645
+ */
6646
+ environmentVariable?: Schema$SecretEnvironmentVariable;
6647
+ /**
6648
+ * The file containing the secret.
6649
+ */
6650
+ filePath?: Schema$SecretFilePath;
6651
+ /**
6652
+ * The status of the secret.
6653
+ */
6654
+ status?: Schema$SecretStatus;
6655
+ /**
6656
+ * The type of secret, for example, GCP_API_KEY.
6657
+ */
6658
+ type?: string | null;
6659
+ }
6660
+ /**
6661
+ * Environment variable containing the secret.
6662
+ */
6663
+ export interface Schema$SecretEnvironmentVariable {
6664
+ /**
6665
+ * 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.
6666
+ */
6667
+ key?: string | null;
6668
+ }
6669
+ /**
6670
+ * File path containing the secret.
6671
+ */
6672
+ export interface Schema$SecretFilePath {
6673
+ /**
6674
+ * Path to the file.
6675
+ */
6676
+ path?: string | null;
6677
+ }
6678
+ /**
6679
+ * The status of the secret.
6680
+ */
6681
+ export interface Schema$SecretStatus {
6682
+ /**
6683
+ * Time that the secret was found.
6684
+ */
6685
+ lastUpdatedTime?: string | null;
6686
+ /**
6687
+ * The validity of the secret.
6688
+ */
6689
+ validity?: string | null;
6690
+ }
6503
6691
  /**
6504
6692
  * SecurityBulletin are notifications of vulnerabilities of Google products.
6505
6693
  */
@@ -14403,6 +14591,7 @@ export namespace securitycenter_v1 {
14403
14591
  * // "affectedResources": {},
14404
14592
  * // "aiModel": {},
14405
14593
  * // "application": {},
14594
+ * // "artifactGuardPolicies": {},
14406
14595
  * // "attackExposure": {},
14407
14596
  * // "backupDisasterRecovery": {},
14408
14597
  * // "canonicalName": "my_canonicalName",
@@ -14453,6 +14642,7 @@ export namespace securitycenter_v1 {
14453
14642
  * // "parentDisplayName": "my_parentDisplayName",
14454
14643
  * // "processes": [],
14455
14644
  * // "resourceName": "my_resourceName",
14645
+ * // "secret": {},
14456
14646
  * // "securityMarks": {},
14457
14647
  * // "securityPosture": {},
14458
14648
  * // "severity": "my_severity",
@@ -14472,6 +14662,7 @@ export namespace securitycenter_v1 {
14472
14662
  * // "affectedResources": {},
14473
14663
  * // "aiModel": {},
14474
14664
  * // "application": {},
14665
+ * // "artifactGuardPolicies": {},
14475
14666
  * // "attackExposure": {},
14476
14667
  * // "backupDisasterRecovery": {},
14477
14668
  * // "canonicalName": "my_canonicalName",
@@ -14522,6 +14713,7 @@ export namespace securitycenter_v1 {
14522
14713
  * // "parentDisplayName": "my_parentDisplayName",
14523
14714
  * // "processes": [],
14524
14715
  * // "resourceName": "my_resourceName",
14716
+ * // "secret": {},
14525
14717
  * // "securityMarks": {},
14526
14718
  * // "securityPosture": {},
14527
14719
  * // "severity": "my_severity",
@@ -14676,6 +14868,7 @@ export namespace securitycenter_v1 {
14676
14868
  * // "affectedResources": {},
14677
14869
  * // "aiModel": {},
14678
14870
  * // "application": {},
14871
+ * // "artifactGuardPolicies": {},
14679
14872
  * // "attackExposure": {},
14680
14873
  * // "backupDisasterRecovery": {},
14681
14874
  * // "canonicalName": "my_canonicalName",
@@ -14726,6 +14919,7 @@ export namespace securitycenter_v1 {
14726
14919
  * // "parentDisplayName": "my_parentDisplayName",
14727
14920
  * // "processes": [],
14728
14921
  * // "resourceName": "my_resourceName",
14922
+ * // "secret": {},
14729
14923
  * // "securityMarks": {},
14730
14924
  * // "securityPosture": {},
14731
14925
  * // "severity": "my_severity",
@@ -14884,6 +15078,7 @@ export namespace securitycenter_v1 {
14884
15078
  * // "affectedResources": {},
14885
15079
  * // "aiModel": {},
14886
15080
  * // "application": {},
15081
+ * // "artifactGuardPolicies": {},
14887
15082
  * // "attackExposure": {},
14888
15083
  * // "backupDisasterRecovery": {},
14889
15084
  * // "canonicalName": "my_canonicalName",
@@ -14934,6 +15129,7 @@ export namespace securitycenter_v1 {
14934
15129
  * // "parentDisplayName": "my_parentDisplayName",
14935
15130
  * // "processes": [],
14936
15131
  * // "resourceName": "my_resourceName",
15132
+ * // "secret": {},
14937
15133
  * // "securityMarks": {},
14938
15134
  * // "securityPosture": {},
14939
15135
  * // "severity": "my_severity",
@@ -26843,6 +27039,7 @@ export namespace securitycenter_v1 {
26843
27039
  * // "affectedResources": {},
26844
27040
  * // "aiModel": {},
26845
27041
  * // "application": {},
27042
+ * // "artifactGuardPolicies": {},
26846
27043
  * // "attackExposure": {},
26847
27044
  * // "backupDisasterRecovery": {},
26848
27045
  * // "canonicalName": "my_canonicalName",
@@ -26893,6 +27090,7 @@ export namespace securitycenter_v1 {
26893
27090
  * // "parentDisplayName": "my_parentDisplayName",
26894
27091
  * // "processes": [],
26895
27092
  * // "resourceName": "my_resourceName",
27093
+ * // "secret": {},
26896
27094
  * // "securityMarks": {},
26897
27095
  * // "securityPosture": {},
26898
27096
  * // "severity": "my_severity",
@@ -26912,6 +27110,7 @@ export namespace securitycenter_v1 {
26912
27110
  * // "affectedResources": {},
26913
27111
  * // "aiModel": {},
26914
27112
  * // "application": {},
27113
+ * // "artifactGuardPolicies": {},
26915
27114
  * // "attackExposure": {},
26916
27115
  * // "backupDisasterRecovery": {},
26917
27116
  * // "canonicalName": "my_canonicalName",
@@ -26962,6 +27161,7 @@ export namespace securitycenter_v1 {
26962
27161
  * // "parentDisplayName": "my_parentDisplayName",
26963
27162
  * // "processes": [],
26964
27163
  * // "resourceName": "my_resourceName",
27164
+ * // "secret": {},
26965
27165
  * // "securityMarks": {},
26966
27166
  * // "securityPosture": {},
26967
27167
  * // "severity": "my_severity",
@@ -27426,6 +27626,7 @@ export namespace securitycenter_v1 {
27426
27626
  * // "affectedResources": {},
27427
27627
  * // "aiModel": {},
27428
27628
  * // "application": {},
27629
+ * // "artifactGuardPolicies": {},
27429
27630
  * // "attackExposure": {},
27430
27631
  * // "backupDisasterRecovery": {},
27431
27632
  * // "canonicalName": "my_canonicalName",
@@ -27476,6 +27677,7 @@ export namespace securitycenter_v1 {
27476
27677
  * // "parentDisplayName": "my_parentDisplayName",
27477
27678
  * // "processes": [],
27478
27679
  * // "resourceName": "my_resourceName",
27680
+ * // "secret": {},
27479
27681
  * // "securityMarks": {},
27480
27682
  * // "securityPosture": {},
27481
27683
  * // "severity": "my_severity",
@@ -27495,6 +27697,7 @@ export namespace securitycenter_v1 {
27495
27697
  * // "affectedResources": {},
27496
27698
  * // "aiModel": {},
27497
27699
  * // "application": {},
27700
+ * // "artifactGuardPolicies": {},
27498
27701
  * // "attackExposure": {},
27499
27702
  * // "backupDisasterRecovery": {},
27500
27703
  * // "canonicalName": "my_canonicalName",
@@ -27545,6 +27748,7 @@ export namespace securitycenter_v1 {
27545
27748
  * // "parentDisplayName": "my_parentDisplayName",
27546
27749
  * // "processes": [],
27547
27750
  * // "resourceName": "my_resourceName",
27751
+ * // "secret": {},
27548
27752
  * // "securityMarks": {},
27549
27753
  * // "securityPosture": {},
27550
27754
  * // "severity": "my_severity",
@@ -27699,6 +27903,7 @@ export namespace securitycenter_v1 {
27699
27903
  * // "affectedResources": {},
27700
27904
  * // "aiModel": {},
27701
27905
  * // "application": {},
27906
+ * // "artifactGuardPolicies": {},
27702
27907
  * // "attackExposure": {},
27703
27908
  * // "backupDisasterRecovery": {},
27704
27909
  * // "canonicalName": "my_canonicalName",
@@ -27749,6 +27954,7 @@ export namespace securitycenter_v1 {
27749
27954
  * // "parentDisplayName": "my_parentDisplayName",
27750
27955
  * // "processes": [],
27751
27956
  * // "resourceName": "my_resourceName",
27957
+ * // "secret": {},
27752
27958
  * // "securityMarks": {},
27753
27959
  * // "securityPosture": {},
27754
27960
  * // "severity": "my_severity",
@@ -27907,6 +28113,7 @@ export namespace securitycenter_v1 {
27907
28113
  * // "affectedResources": {},
27908
28114
  * // "aiModel": {},
27909
28115
  * // "application": {},
28116
+ * // "artifactGuardPolicies": {},
27910
28117
  * // "attackExposure": {},
27911
28118
  * // "backupDisasterRecovery": {},
27912
28119
  * // "canonicalName": "my_canonicalName",
@@ -27957,6 +28164,7 @@ export namespace securitycenter_v1 {
27957
28164
  * // "parentDisplayName": "my_parentDisplayName",
27958
28165
  * // "processes": [],
27959
28166
  * // "resourceName": "my_resourceName",
28167
+ * // "secret": {},
27960
28168
  * // "securityMarks": {},
27961
28169
  * // "securityPosture": {},
27962
28170
  * // "severity": "my_severity",
@@ -36083,6 +36291,7 @@ export namespace securitycenter_v1 {
36083
36291
  * // "affectedResources": {},
36084
36292
  * // "aiModel": {},
36085
36293
  * // "application": {},
36294
+ * // "artifactGuardPolicies": {},
36086
36295
  * // "attackExposure": {},
36087
36296
  * // "backupDisasterRecovery": {},
36088
36297
  * // "canonicalName": "my_canonicalName",
@@ -36133,6 +36342,7 @@ export namespace securitycenter_v1 {
36133
36342
  * // "parentDisplayName": "my_parentDisplayName",
36134
36343
  * // "processes": [],
36135
36344
  * // "resourceName": "my_resourceName",
36345
+ * // "secret": {},
36136
36346
  * // "securityMarks": {},
36137
36347
  * // "securityPosture": {},
36138
36348
  * // "severity": "my_severity",
@@ -36152,6 +36362,7 @@ export namespace securitycenter_v1 {
36152
36362
  * // "affectedResources": {},
36153
36363
  * // "aiModel": {},
36154
36364
  * // "application": {},
36365
+ * // "artifactGuardPolicies": {},
36155
36366
  * // "attackExposure": {},
36156
36367
  * // "backupDisasterRecovery": {},
36157
36368
  * // "canonicalName": "my_canonicalName",
@@ -36202,6 +36413,7 @@ export namespace securitycenter_v1 {
36202
36413
  * // "parentDisplayName": "my_parentDisplayName",
36203
36414
  * // "processes": [],
36204
36415
  * // "resourceName": "my_resourceName",
36416
+ * // "secret": {},
36205
36417
  * // "securityMarks": {},
36206
36418
  * // "securityPosture": {},
36207
36419
  * // "severity": "my_severity",
@@ -36356,6 +36568,7 @@ export namespace securitycenter_v1 {
36356
36568
  * // "affectedResources": {},
36357
36569
  * // "aiModel": {},
36358
36570
  * // "application": {},
36571
+ * // "artifactGuardPolicies": {},
36359
36572
  * // "attackExposure": {},
36360
36573
  * // "backupDisasterRecovery": {},
36361
36574
  * // "canonicalName": "my_canonicalName",
@@ -36406,6 +36619,7 @@ export namespace securitycenter_v1 {
36406
36619
  * // "parentDisplayName": "my_parentDisplayName",
36407
36620
  * // "processes": [],
36408
36621
  * // "resourceName": "my_resourceName",
36622
+ * // "secret": {},
36409
36623
  * // "securityMarks": {},
36410
36624
  * // "securityPosture": {},
36411
36625
  * // "severity": "my_severity",
@@ -36564,6 +36778,7 @@ export namespace securitycenter_v1 {
36564
36778
  * // "affectedResources": {},
36565
36779
  * // "aiModel": {},
36566
36780
  * // "application": {},
36781
+ * // "artifactGuardPolicies": {},
36567
36782
  * // "attackExposure": {},
36568
36783
  * // "backupDisasterRecovery": {},
36569
36784
  * // "canonicalName": "my_canonicalName",
@@ -36614,6 +36829,7 @@ export namespace securitycenter_v1 {
36614
36829
  * // "parentDisplayName": "my_parentDisplayName",
36615
36830
  * // "processes": [],
36616
36831
  * // "resourceName": "my_resourceName",
36832
+ * // "secret": {},
36617
36833
  * // "securityMarks": {},
36618
36834
  * // "securityPosture": {},
36619
36835
  * // "severity": "my_severity",