@googleapis/securitycenter 9.1.0 → 12.0.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
@@ -219,6 +219,24 @@ export namespace securitycenter_v1 {
219
219
  */
220
220
  confidence?: number | null;
221
221
  }
222
+ /**
223
+ * Details about resources affected by this finding.
224
+ */
225
+ export interface Schema$AffectedResources {
226
+ /**
227
+ * The count of resources affected by the finding.
228
+ */
229
+ count?: string | null;
230
+ }
231
+ /**
232
+ * Allowed IP rule.
233
+ */
234
+ export interface Schema$Allowed {
235
+ /**
236
+ * Optional. Optional list of allowed IP rules.
237
+ */
238
+ ipRules?: Schema$IpRule[];
239
+ }
222
240
  /**
223
241
  * Represents an application associated with a finding.
224
242
  */
@@ -295,13 +313,21 @@ export namespace securitycenter_v1 {
295
313
  */
296
314
  classification?: string | null;
297
315
  /**
298
- * Total BPS (bytes per second) volume of attack.
316
+ * Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.
299
317
  */
300
318
  volumeBps?: number | null;
301
319
  /**
302
- * Total PPS (packets per second) volume of attack.
320
+ * Total BPS (bytes per second) volume of attack.
321
+ */
322
+ volumeBpsLong?: string | null;
323
+ /**
324
+ * Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.
303
325
  */
304
326
  volumePps?: number | null;
327
+ /**
328
+ * Total PPS (packets per second) volume of attack.
329
+ */
330
+ volumePpsLong?: string | null;
305
331
  }
306
332
  /**
307
333
  * An attack exposure contains the results of an attack path simulation run.
@@ -536,6 +562,10 @@ export namespace securitycenter_v1 {
536
562
  * Represents an Azure resource group.
537
563
  */
538
564
  export interface Schema$AzureResourceGroup {
565
+ /**
566
+ * The ID of the Azure resource group.
567
+ */
568
+ id?: string | null;
539
569
  /**
540
570
  * The name of the Azure resource group. This is not a UUID.
541
571
  */
@@ -558,6 +588,10 @@ export namespace securitycenter_v1 {
558
588
  * Represents a Microsoft Entra tenant.
559
589
  */
560
590
  export interface Schema$AzureTenant {
591
+ /**
592
+ * The display name of the Azure tenant.
593
+ */
594
+ displayName?: string | null;
561
595
  /**
562
596
  * The ID of the Microsoft Entra tenant, for example, "a11aaa11-aa11-1aa1-11aa-1aaa11a".
563
597
  */
@@ -660,6 +694,15 @@ export namespace securitycenter_v1 {
660
694
  */
661
695
  muteState?: string | null;
662
696
  }
697
+ /**
698
+ * Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations).
699
+ */
700
+ export interface Schema$Chokepoint {
701
+ /**
702
+ * List of resource names of findings associated with this chokepoint. For example, organizations/123/sources/456/findings/789. This list will have at most 100 findings.
703
+ */
704
+ relatedFindings?: string[] | null;
705
+ }
663
706
  /**
664
707
  * Fields related to Google Cloud Armor findings.
665
708
  */
@@ -761,43 +804,6 @@ export namespace securitycenter_v1 {
761
804
  */
762
805
  version?: string | null;
763
806
  }
764
- /**
765
- * Result containing the properties and count of a ComplianceSnapshot request.
766
- */
767
- export interface Schema$ComplianceSnapshot {
768
- /**
769
- * The category of Findings matching.
770
- */
771
- category?: string | null;
772
- /**
773
- * The cloud provider for the compliance snapshot.
774
- */
775
- cloudProvider?: string | null;
776
- /**
777
- * The compliance standard (ie CIS).
778
- */
779
- complianceStandard?: string | null;
780
- /**
781
- * The compliance version (ie 1.3) in CIS 1.3.
782
- */
783
- complianceVersion?: string | null;
784
- /**
785
- * Total count of findings for the given properties.
786
- */
787
- count?: string | null;
788
- /**
789
- * The leaf container resource name that is closest to the snapshot.
790
- */
791
- leafContainerResource?: string | null;
792
- /**
793
- * The compliance snapshot name. Format: //sources//complianceSnapshots/
794
- */
795
- name?: string | null;
796
- /**
797
- * The snapshot time of the snapshot.
798
- */
799
- snapshotTime?: string | null;
800
- }
801
807
  /**
802
808
  * Contains information about the IP connection associated with the finding.
803
809
  */
@@ -992,6 +998,19 @@ export namespace securitycenter_v1 {
992
998
  */
993
999
  userInteraction?: string | null;
994
1000
  }
1001
+ /**
1002
+ * CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).
1003
+ */
1004
+ export interface Schema$Cwe {
1005
+ /**
1006
+ * The CWE identifier, e.g. CWE-94
1007
+ */
1008
+ id?: string | null;
1009
+ /**
1010
+ * Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
1011
+ */
1012
+ references?: Schema$Reference[];
1013
+ }
995
1014
  /**
996
1015
  * Details about a data access attempt made by a principal not authorized under applicable data security policy.
997
1016
  */
@@ -1067,6 +1086,36 @@ export namespace securitycenter_v1 {
1067
1086
  */
1068
1087
  violatedLocation?: string | null;
1069
1088
  }
1089
+ /**
1090
+ * Details about data retention deletion violations, in which the data is non-compliant based on their retention or deletion time, as defined in the applicable data security policy. The Data Retention Deletion (DRD) control is a control of the DSPM (Data Security Posture Management) suite that enables organizations to manage data retention and deletion policies in compliance with regulations, such as GDPR and CRPA. DRD supports two primary policy types: maximum storage length (max TTL) and minimum storage length (min TTL). Both are aimed at helping organizations meet regulatory and data management commitments.
1091
+ */
1092
+ export interface Schema$DataRetentionDeletionEvent {
1093
+ /**
1094
+ * Number of objects that violated the policy for this resource. If the number is less than 1,000, then the value of this field is the exact number. If the number of objects that violated the policy is greater than or equal to 1,000, then the value of this field is 1000.
1095
+ */
1096
+ dataObjectCount?: string | null;
1097
+ /**
1098
+ * Timestamp indicating when the event was detected.
1099
+ */
1100
+ eventDetectionTime?: string | null;
1101
+ /**
1102
+ * Type of the DRD event.
1103
+ */
1104
+ eventType?: string | null;
1105
+ /**
1106
+ * Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.
1107
+ */
1108
+ maxRetentionAllowed?: string | null;
1109
+ }
1110
+ /**
1111
+ * Denied IP rule.
1112
+ */
1113
+ export interface Schema$Denied {
1114
+ /**
1115
+ * Optional. Optional list of denied IP rules.
1116
+ */
1117
+ ipRules?: Schema$IpRule[];
1118
+ }
1070
1119
  /**
1071
1120
  * Memory hash detection contributing to the binary family match.
1072
1121
  */
@@ -1080,6 +1129,15 @@ export namespace securitycenter_v1 {
1080
1129
  */
1081
1130
  percentPagesMatched?: number | null;
1082
1131
  }
1132
+ /**
1133
+ * Contains information about the disk associated with the finding.
1134
+ */
1135
+ export interface Schema$Disk {
1136
+ /**
1137
+ * The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id\}/zones/{zone-id\}/disks/{disk-id\}".
1138
+ */
1139
+ name?: string | null;
1140
+ }
1083
1141
  /**
1084
1142
  * Path of the file in terms of underlying disk/partition identifiers.
1085
1143
  */
@@ -1110,6 +1168,10 @@ export namespace securitycenter_v1 {
1110
1168
  * An EffectiveEventThreatDetectionCustomModule is the representation of an Event Threat Detection custom module at a specified level of the resource hierarchy: organization, folder, or project. If a custom module is inherited from a parent organization or folder, the value of the `enablement_state` property in EffectiveEventThreatDetectionCustomModule is set to the value that is effective in the parent, instead of `INHERITED`. For example, if the module is enabled in a parent organization or folder, the effective `enablement_state` for the module in all child folders or projects is also `enabled`. EffectiveEventThreatDetectionCustomModule is read-only.
1111
1169
  */
1112
1170
  export interface Schema$EffectiveEventThreatDetectionCustomModule {
1171
+ /**
1172
+ * The cloud provider of the custom module.
1173
+ */
1174
+ cloudProvider?: string | null;
1113
1175
  /**
1114
1176
  * Output only. Config for the effective module.
1115
1177
  */
@@ -1160,6 +1222,10 @@ export namespace securitycenter_v1 {
1160
1222
  * Output only. The closest ancestor module that this module inherits the enablement state from. The format is the same as the EventThreatDetectionCustomModule resource name.
1161
1223
  */
1162
1224
  ancestorModule?: string | null;
1225
+ /**
1226
+ * The cloud provider of the custom module.
1227
+ */
1228
+ cloudProvider?: string | null;
1163
1229
  /**
1164
1230
  * Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config value is inherited from the ancestor module.
1165
1231
  */
@@ -1285,6 +1351,10 @@ export namespace securitycenter_v1 {
1285
1351
  * Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
1286
1352
  */
1287
1353
  access?: Schema$Access;
1354
+ /**
1355
+ * AffectedResources associated with the finding.
1356
+ */
1357
+ affectedResources?: Schema$AffectedResources;
1288
1358
  /**
1289
1359
  * Represents an application associated with the finding.
1290
1360
  */
@@ -1305,6 +1375,10 @@ export namespace securitycenter_v1 {
1305
1375
  * The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
1306
1376
  */
1307
1377
  category?: string | null;
1378
+ /**
1379
+ * Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be updated. Its value is ignored in all update requests.
1380
+ */
1381
+ chokepoint?: Schema$Chokepoint;
1308
1382
  /**
1309
1383
  * Fields related to Cloud Armor findings.
1310
1384
  */
@@ -1349,10 +1423,18 @@ export namespace securitycenter_v1 {
1349
1423
  * Data flow events associated with the finding.
1350
1424
  */
1351
1425
  dataFlowEvents?: Schema$DataFlowEvent[];
1426
+ /**
1427
+ * Data retention deletion events associated with the finding.
1428
+ */
1429
+ dataRetentionDeletionEvents?: Schema$DataRetentionDeletionEvent[];
1352
1430
  /**
1353
1431
  * Contains more details about the finding.
1354
1432
  */
1355
1433
  description?: string | null;
1434
+ /**
1435
+ * Disk associated with the finding.
1436
+ */
1437
+ disk?: Schema$Disk;
1356
1438
  /**
1357
1439
  * The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding is later resolved, then this time reflects when the finding was resolved. This must not be set to a value greater than the current timestamp.
1358
1440
  */
@@ -1391,6 +1473,14 @@ export namespace securitycenter_v1 {
1391
1473
  * Represents what's commonly known as an *indicator of compromise* (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).
1392
1474
  */
1393
1475
  indicator?: Schema$Indicator;
1476
+ /**
1477
+ * IP rules associated with the finding.
1478
+ */
1479
+ ipRules?: Schema$IpRules;
1480
+ /**
1481
+ * Job associated with the finding.
1482
+ */
1483
+ job?: Schema$Job;
1394
1484
  /**
1395
1485
  * Signature of the kernel rootkit.
1396
1486
  */
@@ -1435,6 +1525,10 @@ export namespace securitycenter_v1 {
1435
1525
  * The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: "organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}", "folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}", "projects/{project_id\}/sources/{source_id\}/findings/{finding_id\}".
1436
1526
  */
1437
1527
  name?: string | null;
1528
+ /**
1529
+ * Represents the VPC networks that the resource is attached to.
1530
+ */
1531
+ networks?: Schema$Network[];
1438
1532
  /**
1439
1533
  * Steps to address the finding.
1440
1534
  */
@@ -1678,6 +1772,10 @@ export namespace securitycenter_v1 {
1678
1772
  * An EffectiveSecurityHealthAnalyticsCustomModule is the representation of a Security Health Analytics custom module at a specified level of the resource hierarchy: organization, folder, or project. If a custom module is inherited from a parent organization or folder, the value of the `enablementState` property in EffectiveSecurityHealthAnalyticsCustomModule is set to the value that is effective in the parent, instead of `INHERITED`. For example, if the module is enabled in a parent organization or folder, the effective enablement_state for the module in all child folders or projects is also `enabled`. EffectiveSecurityHealthAnalyticsCustomModule is read-only.
1679
1773
  */
1680
1774
  export interface Schema$GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule {
1775
+ /**
1776
+ * The cloud provider of the custom module.
1777
+ */
1778
+ cloudProvider?: string | null;
1681
1779
  /**
1682
1780
  * Output only. The user-specified configuration for the module.
1683
1781
  */
@@ -2076,7 +2174,7 @@ export namespace securitycenter_v1 {
2076
2174
  */
2077
2175
  sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping;
2078
2176
  /**
2079
- * Required. Tag values combined with `AND` to check against. Values in the form "tagValues/123" Example: `[ "tagValues/123", "tagValues/456", "tagValues/789" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
2177
+ * Required. Tag values combined with `AND` to check against. For Google Cloud resources, they are tag value IDs in the form of "tagValues/123". Example: `[ "tagValues/123", "tagValues/456", "tagValues/789" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
2080
2178
  */
2081
2179
  tagValues?: string[] | null;
2082
2180
  /**
@@ -2105,6 +2203,10 @@ export namespace securitycenter_v1 {
2105
2203
  * Output only. If empty, indicates that the custom module was created in the organization, folder, or project in which you are viewing the custom module. Otherwise, `ancestor_module` specifies the organization or folder from which the custom module is inherited.
2106
2204
  */
2107
2205
  ancestorModule?: string | null;
2206
+ /**
2207
+ * The cloud provider of the custom module.
2208
+ */
2209
+ cloudProvider?: string | null;
2108
2210
  /**
2109
2211
  * The user specified custom configuration for the module.
2110
2212
  */
@@ -2234,6 +2336,24 @@ export namespace securitycenter_v1 {
2234
2336
  */
2235
2337
  confidence?: number | null;
2236
2338
  }
2339
+ /**
2340
+ * Details about resources affected by this finding.
2341
+ */
2342
+ export interface Schema$GoogleCloudSecuritycenterV2AffectedResources {
2343
+ /**
2344
+ * The count of resources affected by the finding.
2345
+ */
2346
+ count?: string | null;
2347
+ }
2348
+ /**
2349
+ * Allowed IP rule.
2350
+ */
2351
+ export interface Schema$GoogleCloudSecuritycenterV2Allowed {
2352
+ /**
2353
+ * Optional. Optional list of allowed IP rules.
2354
+ */
2355
+ ipRules?: Schema$GoogleCloudSecuritycenterV2IpRule[];
2356
+ }
2237
2357
  /**
2238
2358
  * Represents an application associated with a finding.
2239
2359
  */
@@ -2256,13 +2376,21 @@ export namespace securitycenter_v1 {
2256
2376
  */
2257
2377
  classification?: string | null;
2258
2378
  /**
2259
- * Total BPS (bytes per second) volume of attack.
2379
+ * Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.
2260
2380
  */
2261
2381
  volumeBps?: number | null;
2262
2382
  /**
2263
- * Total PPS (packets per second) volume of attack.
2383
+ * Total BPS (bytes per second) volume of attack.
2384
+ */
2385
+ volumeBpsLong?: string | null;
2386
+ /**
2387
+ * Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.
2264
2388
  */
2265
2389
  volumePps?: number | null;
2390
+ /**
2391
+ * Total PPS (packets per second) volume of attack.
2392
+ */
2393
+ volumePpsLong?: string | null;
2266
2394
  }
2267
2395
  /**
2268
2396
  * An attack exposure contains the results of an attack path simulation run.
@@ -2387,6 +2515,10 @@ export namespace securitycenter_v1 {
2387
2515
  * Represents an Azure resource group.
2388
2516
  */
2389
2517
  export interface Schema$GoogleCloudSecuritycenterV2AzureResourceGroup {
2518
+ /**
2519
+ * The ID of the Azure resource group.
2520
+ */
2521
+ id?: string | null;
2390
2522
  /**
2391
2523
  * The name of the Azure resource group. This is not a UUID.
2392
2524
  */
@@ -2409,6 +2541,10 @@ export namespace securitycenter_v1 {
2409
2541
  * Represents a Microsoft Entra tenant.
2410
2542
  */
2411
2543
  export interface Schema$GoogleCloudSecuritycenterV2AzureTenant {
2544
+ /**
2545
+ * The display name of the Azure tenant.
2546
+ */
2547
+ displayName?: string | null;
2412
2548
  /**
2413
2549
  * The ID of the Microsoft Entra tenant, for example, "a11aaa11-aa11-1aa1-11aa-1aaa11a".
2414
2550
  */
@@ -2521,6 +2657,15 @@ export namespace securitycenter_v1 {
2521
2657
  * The response to a BulkMute request. Contains the LRO information.
2522
2658
  */
2523
2659
  export interface Schema$GoogleCloudSecuritycenterV2BulkMuteFindingsResponse {}
2660
+ /**
2661
+ * Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations).
2662
+ */
2663
+ export interface Schema$GoogleCloudSecuritycenterV2Chokepoint {
2664
+ /**
2665
+ * List of resource names of findings associated with this chokepoint. For example, organizations/123/sources/456/findings/789. This list will have at most 100 findings.
2666
+ */
2667
+ relatedFindings?: string[] | null;
2668
+ }
2524
2669
  /**
2525
2670
  * Fields related to Google Cloud Armor findings.
2526
2671
  */
@@ -2776,6 +2921,19 @@ export namespace securitycenter_v1 {
2776
2921
  */
2777
2922
  userInteraction?: string | null;
2778
2923
  }
2924
+ /**
2925
+ * CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).
2926
+ */
2927
+ export interface Schema$GoogleCloudSecuritycenterV2Cwe {
2928
+ /**
2929
+ * The CWE identifier, e.g. CWE-94
2930
+ */
2931
+ id?: string | null;
2932
+ /**
2933
+ * Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
2934
+ */
2935
+ references?: Schema$GoogleCloudSecuritycenterV2Reference[];
2936
+ }
2779
2937
  /**
2780
2938
  * Details about a data access attempt made by a principal not authorized under applicable data security policy.
2781
2939
  */
@@ -2851,6 +3009,36 @@ export namespace securitycenter_v1 {
2851
3009
  */
2852
3010
  violatedLocation?: string | null;
2853
3011
  }
3012
+ /**
3013
+ * Details about data retention deletion violations, in which the data is non-compliant based on their retention or deletion time, as defined in the applicable data security policy. The Data Retention Deletion (DRD) control is a control of the DSPM (Data Security Posture Management) suite that enables organizations to manage data retention and deletion policies in compliance with regulations, such as GDPR and CRPA. DRD supports two primary policy types: maximum storage length (max TTL) and minimum storage length (min TTL). Both are aimed at helping organizations meet regulatory and data management commitments.
3014
+ */
3015
+ export interface Schema$GoogleCloudSecuritycenterV2DataRetentionDeletionEvent {
3016
+ /**
3017
+ * Number of objects that violated the policy for this resource. If the number is less than 1,000, then the value of this field is the exact number. If the number of objects that violated the policy is greater than or equal to 1,000, then the value of this field is 1000.
3018
+ */
3019
+ dataObjectCount?: string | null;
3020
+ /**
3021
+ * Timestamp indicating when the event was detected.
3022
+ */
3023
+ eventDetectionTime?: string | null;
3024
+ /**
3025
+ * Type of the DRD event.
3026
+ */
3027
+ eventType?: string | null;
3028
+ /**
3029
+ * Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.
3030
+ */
3031
+ maxRetentionAllowed?: string | null;
3032
+ }
3033
+ /**
3034
+ * Denied IP rule.
3035
+ */
3036
+ export interface Schema$GoogleCloudSecuritycenterV2Denied {
3037
+ /**
3038
+ * Optional. Optional list of denied IP rules.
3039
+ */
3040
+ ipRules?: Schema$GoogleCloudSecuritycenterV2IpRule[];
3041
+ }
2854
3042
  /**
2855
3043
  * Memory hash detection contributing to the binary family match.
2856
3044
  */
@@ -2864,6 +3052,15 @@ export namespace securitycenter_v1 {
2864
3052
  */
2865
3053
  percentPagesMatched?: number | null;
2866
3054
  }
3055
+ /**
3056
+ * Contains information about the disk associated with the finding.
3057
+ */
3058
+ export interface Schema$GoogleCloudSecuritycenterV2Disk {
3059
+ /**
3060
+ * The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id\}/zones/{zone-id\}/disks/{disk-id\}".
3061
+ */
3062
+ name?: string | null;
3063
+ }
2867
3064
  /**
2868
3065
  * Path of the file in terms of underlying disk/partition identifiers.
2869
3066
  */
@@ -3023,6 +3220,10 @@ export namespace securitycenter_v1 {
3023
3220
  * Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
3024
3221
  */
3025
3222
  access?: Schema$GoogleCloudSecuritycenterV2Access;
3223
+ /**
3224
+ * AffectedResources associated with the finding.
3225
+ */
3226
+ affectedResources?: Schema$GoogleCloudSecuritycenterV2AffectedResources;
3026
3227
  /**
3027
3228
  * Represents an application associated with the finding.
3028
3229
  */
@@ -3043,6 +3244,10 @@ export namespace securitycenter_v1 {
3043
3244
  * Immutable. The additional taxonomy group within findings from a given source. Example: "XSS_FLASH_INJECTION"
3044
3245
  */
3045
3246
  category?: string | null;
3247
+ /**
3248
+ * Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be updated. Its value is ignored in all update requests.
3249
+ */
3250
+ chokepoint?: Schema$GoogleCloudSecuritycenterV2Chokepoint;
3046
3251
  /**
3047
3252
  * Fields related to Cloud Armor findings.
3048
3253
  */
@@ -3089,10 +3294,18 @@ export namespace securitycenter_v1 {
3089
3294
  * Data flow events associated with the finding.
3090
3295
  */
3091
3296
  dataFlowEvents?: Schema$GoogleCloudSecuritycenterV2DataFlowEvent[];
3297
+ /**
3298
+ * Data retention deletion events associated with the finding.
3299
+ */
3300
+ dataRetentionDeletionEvents?: Schema$GoogleCloudSecuritycenterV2DataRetentionDeletionEvent[];
3092
3301
  /**
3093
3302
  * Contains more details about the finding.
3094
3303
  */
3095
3304
  description?: string | null;
3305
+ /**
3306
+ * Disk associated with the finding.
3307
+ */
3308
+ disk?: Schema$GoogleCloudSecuritycenterV2Disk;
3096
3309
  /**
3097
3310
  * The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding is later resolved, then this time reflects when the finding was resolved. This must not be set to a value greater than the current timestamp.
3098
3311
  */
@@ -3131,6 +3344,14 @@ export namespace securitycenter_v1 {
3131
3344
  * Represents what's commonly known as an *indicator of compromise* (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).
3132
3345
  */
3133
3346
  indicator?: Schema$GoogleCloudSecuritycenterV2Indicator;
3347
+ /**
3348
+ * IP rules associated with the finding.
3349
+ */
3350
+ ipRules?: Schema$GoogleCloudSecuritycenterV2IpRules;
3351
+ /**
3352
+ * Job associated with the finding.
3353
+ */
3354
+ job?: Schema$GoogleCloudSecuritycenterV2Job;
3134
3355
  /**
3135
3356
  * Signature of the kernel rootkit.
3136
3357
  */
@@ -3175,6 +3396,10 @@ export namespace securitycenter_v1 {
3175
3396
  * The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. The following list shows some examples: + `organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}` + `organizations/{organization_id\}/sources/{source_id\}/locations/{location_id\}/findings/{finding_id\}` + `folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}` + `folders/{folder_id\}/sources/{source_id\}/locations/{location_id\}/findings/{finding_id\}` + `projects/{project_id\}/sources/{source_id\}/findings/{finding_id\}` + `projects/{project_id\}/sources/{source_id\}/locations/{location_id\}/findings/{finding_id\}`
3176
3397
  */
3177
3398
  name?: string | null;
3399
+ /**
3400
+ * Represents the VPC networks that the resource is attached to.
3401
+ */
3402
+ networks?: Schema$GoogleCloudSecuritycenterV2Network[];
3178
3403
  /**
3179
3404
  * Steps to address the finding.
3180
3405
  */
@@ -3306,109 +3531,435 @@ export namespace securitycenter_v1 {
3306
3531
  uris?: string[] | null;
3307
3532
  }
3308
3533
  /**
3309
- * Kernel mode rootkit signatures.
3534
+ * IP rule information.
3310
3535
  */
3311
- export interface Schema$GoogleCloudSecuritycenterV2KernelRootkit {
3312
- /**
3313
- * Rootkit name, when available.
3314
- */
3315
- name?: string | null;
3536
+ export interface Schema$GoogleCloudSecuritycenterV2IpRule {
3316
3537
  /**
3317
- * True if unexpected modifications of kernel code memory are present.
3538
+ * Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.
3318
3539
  */
3319
- unexpectedCodeModification?: boolean | null;
3540
+ portRanges?: Schema$GoogleCloudSecuritycenterV2PortRange[];
3320
3541
  /**
3321
- * True if `ftrace` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.
3542
+ * The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.
3322
3543
  */
3323
- unexpectedFtraceHandler?: boolean | null;
3544
+ protocol?: string | null;
3545
+ }
3546
+ /**
3547
+ * IP rules associated with the finding.
3548
+ */
3549
+ export interface Schema$GoogleCloudSecuritycenterV2IpRules {
3324
3550
  /**
3325
- * True if interrupt handlers that are are not in the expected kernel or module code regions are present.
3551
+ * Tuple with allowed rules.
3326
3552
  */
3327
- unexpectedInterruptHandler?: boolean | null;
3553
+ allowed?: Schema$GoogleCloudSecuritycenterV2Allowed;
3328
3554
  /**
3329
- * True if kernel code pages that are not in the expected kernel or module code regions are present.
3555
+ * Tuple with denied rules.
3330
3556
  */
3331
- unexpectedKernelCodePages?: boolean | null;
3557
+ denied?: Schema$GoogleCloudSecuritycenterV2Denied;
3332
3558
  /**
3333
- * True if `kprobe` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.
3559
+ * If destination IP ranges are specified, the firewall rule applies only to traffic that has a destination IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
3334
3560
  */
3335
- unexpectedKprobeHandler?: boolean | null;
3561
+ destinationIpRanges?: string[] | null;
3336
3562
  /**
3337
- * True if unexpected processes in the scheduler run queue are present. Such processes are in the run queue, but not in the process task list.
3563
+ * The direction that the rule is applicable to, one of ingress or egress.
3338
3564
  */
3339
- unexpectedProcessesInRunqueue?: boolean | null;
3565
+ direction?: string | null;
3340
3566
  /**
3341
- * True if unexpected modifications of kernel read-only data memory are present.
3567
+ * Name of the network protocol service, such as FTP, that is exposed by the open port. Follows the naming convention available at: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
3342
3568
  */
3343
- unexpectedReadOnlyDataModification?: boolean | null;
3569
+ exposedServices?: string[] | null;
3344
3570
  /**
3345
- * True if system call handlers that are are not in the expected kernel or module code regions are present.
3571
+ * If source IP ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
3346
3572
  */
3347
- unexpectedSystemCallHandler?: boolean | null;
3573
+ sourceIpRanges?: string[] | null;
3348
3574
  }
3349
3575
  /**
3350
- * Kubernetes-related attributes.
3576
+ * Security Command Center Issue.
3351
3577
  */
3352
- export interface Schema$GoogleCloudSecuritycenterV2Kubernetes {
3578
+ export interface Schema$GoogleCloudSecuritycenterV2Issue {
3353
3579
  /**
3354
- * Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.
3580
+ * Output only. The time the issue was created.
3355
3581
  */
3356
- accessReviews?: Schema$GoogleCloudSecuritycenterV2AccessReview[];
3582
+ createTime?: string | null;
3357
3583
  /**
3358
- * Provides Kubernetes role binding information for findings that involve [RoleBindings or ClusterRoleBindings](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).
3584
+ * The description of the issue in Markdown format.
3359
3585
  */
3360
- bindings?: Schema$GoogleCloudSecuritycenterV2Binding[];
3586
+ description?: string | null;
3361
3587
  /**
3362
- * GKE [node pools](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pools) associated with the finding. This field contains node pool information for each node, when it is available.
3588
+ * The finding category or rule name that generated the issue.
3363
3589
  */
3364
- nodePools?: Schema$GoogleCloudSecuritycenterV2NodePool[];
3590
+ detection?: string | null;
3365
3591
  /**
3366
- * Provides Kubernetes [node](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#nodes) information.
3592
+ * The domains of the issue.
3367
3593
  */
3368
- nodes?: Schema$GoogleCloudSecuritycenterV2Node[];
3594
+ domains?: Schema$GoogleCloudSecuritycenterV2IssueDomain[];
3369
3595
  /**
3370
- * Kubernetes objects related to the finding.
3596
+ * The exposure score of the issue.
3371
3597
  */
3372
- objects?: Schema$GoogleCloudSecuritycenterV2Object[];
3598
+ exposureScore?: number | null;
3373
3599
  /**
3374
- * Kubernetes [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) associated with the finding. This field contains Pod records for each container that is owned by a Pod.
3600
+ * The type of the issue.
3375
3601
  */
3376
- pods?: Schema$GoogleCloudSecuritycenterV2Pod[];
3602
+ issueType?: string | null;
3377
3603
  /**
3378
- * Provides Kubernetes role information for findings that involve [Roles or ClusterRoles](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).
3604
+ * The time the issue was last observed.
3379
3605
  */
3380
- roles?: Schema$GoogleCloudSecuritycenterV2Role[];
3381
- }
3382
- /**
3383
- * Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
3384
- */
3385
- export interface Schema$GoogleCloudSecuritycenterV2Label {
3606
+ lastObservationTime?: string | null;
3386
3607
  /**
3387
- * Name of the label.
3608
+ * The mute information of the issue.
3609
+ */
3610
+ mute?: Schema$GoogleCloudSecuritycenterV2IssueMute;
3611
+ /**
3612
+ * Identifier. The name of the issue. Format: organizations/{organization\}/locations/{location\}/issues/{issue\}
3388
3613
  */
3389
3614
  name?: string | null;
3390
3615
  /**
3391
- * Value that corresponds to the label's name.
3616
+ * The primary resource associated with the issue.
3392
3617
  */
3393
- value?: string | null;
3394
- }
3395
- /**
3396
- * Contains information related to the load balancer associated with the finding.
3397
- */
3398
- export interface Schema$GoogleCloudSecuritycenterV2LoadBalancer {
3618
+ primaryResource?: Schema$GoogleCloudSecuritycenterV2IssueResource;
3399
3619
  /**
3400
- * The name of the load balancer associated with the finding.
3620
+ * The findings related to the issue.
3401
3621
  */
3402
- name?: string | null;
3403
- }
3404
- /**
3405
- * An individual entry in a log.
3406
- */
3407
- export interface Schema$GoogleCloudSecuritycenterV2LogEntry {
3622
+ relatedFindings?: Schema$GoogleCloudSecuritycenterV2IssueFinding[];
3408
3623
  /**
3409
- * An individual entry in a log stored in Cloud Logging.
3624
+ * Approaches to remediate the issue in Markdown format.
3410
3625
  */
3411
- cloudLoggingEntry?: Schema$GoogleCloudSecuritycenterV2CloudLoggingEntry;
3626
+ remediations?: string[] | null;
3627
+ /**
3628
+ * Additional resources associated with the issue.
3629
+ */
3630
+ secondaryResources?: Schema$GoogleCloudSecuritycenterV2IssueResource[];
3631
+ /**
3632
+ * The security context of the issue.
3633
+ */
3634
+ securityContexts?: Schema$GoogleCloudSecuritycenterV2IssueSecurityContext[];
3635
+ /**
3636
+ * The severity of the issue.
3637
+ */
3638
+ severity?: string | null;
3639
+ /**
3640
+ * Output only. The state of the issue.
3641
+ */
3642
+ state?: string | null;
3643
+ /**
3644
+ * Output only. The time the issue was last updated.
3645
+ */
3646
+ updateTime?: string | null;
3647
+ }
3648
+ /**
3649
+ * The domains of an issue.
3650
+ */
3651
+ export interface Schema$GoogleCloudSecuritycenterV2IssueDomain {
3652
+ /**
3653
+ * The domain category of the issue.
3654
+ */
3655
+ domainCategory?: string | null;
3656
+ }
3657
+ /**
3658
+ * Finding related to an issue.
3659
+ */
3660
+ export interface Schema$GoogleCloudSecuritycenterV2IssueFinding {
3661
+ /**
3662
+ * The CVE of the finding.
3663
+ */
3664
+ cve?: Schema$GoogleCloudSecuritycenterV2IssueFindingCve;
3665
+ /**
3666
+ * The name of the finding.
3667
+ */
3668
+ name?: string | null;
3669
+ /**
3670
+ * The security bulletin of the finding.
3671
+ */
3672
+ securityBulletin?: Schema$GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin;
3673
+ }
3674
+ /**
3675
+ * The CVE of the finding.
3676
+ */
3677
+ export interface Schema$GoogleCloudSecuritycenterV2IssueFindingCve {
3678
+ /**
3679
+ * The CVE name.
3680
+ */
3681
+ name?: string | null;
3682
+ }
3683
+ /**
3684
+ * The security bulletin of the finding.
3685
+ */
3686
+ export interface Schema$GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin {
3687
+ /**
3688
+ * The security bulletin name.
3689
+ */
3690
+ name?: string | null;
3691
+ }
3692
+ /**
3693
+ * The mute information of the issue.
3694
+ */
3695
+ export interface Schema$GoogleCloudSecuritycenterV2IssueMute {
3696
+ /**
3697
+ * The email address of the user who last changed the mute state of the issue.
3698
+ */
3699
+ muteInitiator?: string | null;
3700
+ /**
3701
+ * The user-provided reason for muting the issue.
3702
+ */
3703
+ muteReason?: string | null;
3704
+ /**
3705
+ * Output only. The mute state of the issue.
3706
+ */
3707
+ muteState?: string | null;
3708
+ /**
3709
+ * The time the issue was muted.
3710
+ */
3711
+ muteUpdateTime?: string | null;
3712
+ }
3713
+ /**
3714
+ * A resource associated with the an issue.
3715
+ */
3716
+ export interface Schema$GoogleCloudSecuritycenterV2IssueResource {
3717
+ /**
3718
+ * The AWS metadata of the resource associated with the issue. Only populated for AWS resources.
3719
+ */
3720
+ awsMetadata?: Schema$GoogleCloudSecuritycenterV2IssueResourceAwsMetadata;
3721
+ /**
3722
+ * The Azure metadata of the resource associated with the issue. Only populated for Azure resources.
3723
+ */
3724
+ azureMetadata?: Schema$GoogleCloudSecuritycenterV2IssueResourceAzureMetadata;
3725
+ /**
3726
+ * The cloud provider of the resource associated with the issue.
3727
+ */
3728
+ cloudProvider?: string | null;
3729
+ /**
3730
+ * The resource-type specific display name of the resource associated with the issue.
3731
+ */
3732
+ displayName?: string | null;
3733
+ /**
3734
+ * The Google Cloud metadata of the resource associated with the issue. Only populated for Google Cloud resources.
3735
+ */
3736
+ googleCloudMetadata?: Schema$GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata;
3737
+ /**
3738
+ * The full resource name of the resource associated with the issue.
3739
+ */
3740
+ name?: string | null;
3741
+ /**
3742
+ * The type of the resource associated with the issue.
3743
+ */
3744
+ type?: string | null;
3745
+ }
3746
+ /**
3747
+ * The AWS metadata of a resource associated with an issue.
3748
+ */
3749
+ export interface Schema$GoogleCloudSecuritycenterV2IssueResourceAwsMetadata {
3750
+ /**
3751
+ * The AWS account of the resource associated with the issue.
3752
+ */
3753
+ account?: Schema$GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount;
3754
+ }
3755
+ /**
3756
+ * The AWS account of the resource associated with the issue.
3757
+ */
3758
+ export interface Schema$GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount {
3759
+ /**
3760
+ * The AWS account ID of the resource associated with the issue.
3761
+ */
3762
+ id?: string | null;
3763
+ /**
3764
+ * The AWS account name of the resource associated with the issue.
3765
+ */
3766
+ name?: string | null;
3767
+ }
3768
+ /**
3769
+ * The Azure metadata of a resource associated with an issue.
3770
+ */
3771
+ export interface Schema$GoogleCloudSecuritycenterV2IssueResourceAzureMetadata {
3772
+ /**
3773
+ * The Azure subscription of the resource associated with the issue.
3774
+ */
3775
+ subscription?: Schema$GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription;
3776
+ }
3777
+ /**
3778
+ * The Azure subscription of the resource associated with the issue.
3779
+ */
3780
+ export interface Schema$GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription {
3781
+ /**
3782
+ * The Azure subscription display name of the resource associated with the issue.
3783
+ */
3784
+ displayName?: string | null;
3785
+ /**
3786
+ * The Azure subscription ID of the resource associated with the issue.
3787
+ */
3788
+ id?: string | null;
3789
+ }
3790
+ /**
3791
+ * Google Cloud metadata of a resource associated with an issue.
3792
+ */
3793
+ export interface Schema$GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata {
3794
+ /**
3795
+ * The project ID that the resource associated with the issue belongs to.
3796
+ */
3797
+ projectId?: string | null;
3798
+ }
3799
+ /**
3800
+ * Security context associated with an issue.
3801
+ */
3802
+ export interface Schema$GoogleCloudSecuritycenterV2IssueSecurityContext {
3803
+ /**
3804
+ * The aggregated count of the security context.
3805
+ */
3806
+ aggregatedCount?: Schema$GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount;
3807
+ /**
3808
+ * The context of the security context.
3809
+ */
3810
+ context?: Schema$GoogleCloudSecuritycenterV2IssueSecurityContextContext;
3811
+ }
3812
+ /**
3813
+ * Aggregated count of a security context.
3814
+ */
3815
+ export interface Schema$GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount {
3816
+ /**
3817
+ * Aggregation key.
3818
+ */
3819
+ key?: string | null;
3820
+ /**
3821
+ * Aggregation value.
3822
+ */
3823
+ value?: number | null;
3824
+ }
3825
+ /**
3826
+ * Context of a security context.
3827
+ */
3828
+ export interface Schema$GoogleCloudSecuritycenterV2IssueSecurityContextContext {
3829
+ /**
3830
+ * Context type.
3831
+ */
3832
+ type?: string | null;
3833
+ /**
3834
+ * Context values.
3835
+ */
3836
+ values?: string[] | null;
3837
+ }
3838
+ /**
3839
+ * Describes a job
3840
+ */
3841
+ export interface Schema$GoogleCloudSecuritycenterV2Job {
3842
+ /**
3843
+ * Optional. If the job did not complete successfully, this field describes why.
3844
+ */
3845
+ errorCode?: number | null;
3846
+ /**
3847
+ * Optional. Gives the location where the job ran, such as `US` or `europe-west1`
3848
+ */
3849
+ location?: string | null;
3850
+ /**
3851
+ * The fully-qualified name for a job. e.g. `projects//jobs/`
3852
+ */
3853
+ name?: string | null;
3854
+ /**
3855
+ * Output only. State of the job, such as `RUNNING` or `PENDING`.
3856
+ */
3857
+ state?: string | null;
3858
+ }
3859
+ /**
3860
+ * Kernel mode rootkit signatures.
3861
+ */
3862
+ export interface Schema$GoogleCloudSecuritycenterV2KernelRootkit {
3863
+ /**
3864
+ * Rootkit name, when available.
3865
+ */
3866
+ name?: string | null;
3867
+ /**
3868
+ * True if unexpected modifications of kernel code memory are present.
3869
+ */
3870
+ unexpectedCodeModification?: boolean | null;
3871
+ /**
3872
+ * True if `ftrace` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.
3873
+ */
3874
+ unexpectedFtraceHandler?: boolean | null;
3875
+ /**
3876
+ * True if interrupt handlers that are are not in the expected kernel or module code regions are present.
3877
+ */
3878
+ unexpectedInterruptHandler?: boolean | null;
3879
+ /**
3880
+ * True if kernel code pages that are not in the expected kernel or module code regions are present.
3881
+ */
3882
+ unexpectedKernelCodePages?: boolean | null;
3883
+ /**
3884
+ * True if `kprobe` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.
3885
+ */
3886
+ unexpectedKprobeHandler?: boolean | null;
3887
+ /**
3888
+ * True if unexpected processes in the scheduler run queue are present. Such processes are in the run queue, but not in the process task list.
3889
+ */
3890
+ unexpectedProcessesInRunqueue?: boolean | null;
3891
+ /**
3892
+ * True if unexpected modifications of kernel read-only data memory are present.
3893
+ */
3894
+ unexpectedReadOnlyDataModification?: boolean | null;
3895
+ /**
3896
+ * True if system call handlers that are are not in the expected kernel or module code regions are present.
3897
+ */
3898
+ unexpectedSystemCallHandler?: boolean | null;
3899
+ }
3900
+ /**
3901
+ * Kubernetes-related attributes.
3902
+ */
3903
+ export interface Schema$GoogleCloudSecuritycenterV2Kubernetes {
3904
+ /**
3905
+ * Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.
3906
+ */
3907
+ accessReviews?: Schema$GoogleCloudSecuritycenterV2AccessReview[];
3908
+ /**
3909
+ * Provides Kubernetes role binding information for findings that involve [RoleBindings or ClusterRoleBindings](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).
3910
+ */
3911
+ bindings?: Schema$GoogleCloudSecuritycenterV2Binding[];
3912
+ /**
3913
+ * GKE [node pools](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pools) associated with the finding. This field contains node pool information for each node, when it is available.
3914
+ */
3915
+ nodePools?: Schema$GoogleCloudSecuritycenterV2NodePool[];
3916
+ /**
3917
+ * Provides Kubernetes [node](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#nodes) information.
3918
+ */
3919
+ nodes?: Schema$GoogleCloudSecuritycenterV2Node[];
3920
+ /**
3921
+ * Kubernetes objects related to the finding.
3922
+ */
3923
+ objects?: Schema$GoogleCloudSecuritycenterV2Object[];
3924
+ /**
3925
+ * Kubernetes [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) associated with the finding. This field contains Pod records for each container that is owned by a Pod.
3926
+ */
3927
+ pods?: Schema$GoogleCloudSecuritycenterV2Pod[];
3928
+ /**
3929
+ * Provides Kubernetes role information for findings that involve [Roles or ClusterRoles](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).
3930
+ */
3931
+ roles?: Schema$GoogleCloudSecuritycenterV2Role[];
3932
+ }
3933
+ /**
3934
+ * Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
3935
+ */
3936
+ export interface Schema$GoogleCloudSecuritycenterV2Label {
3937
+ /**
3938
+ * Name of the label.
3939
+ */
3940
+ name?: string | null;
3941
+ /**
3942
+ * Value that corresponds to the label's name.
3943
+ */
3944
+ value?: string | null;
3945
+ }
3946
+ /**
3947
+ * Contains information related to the load balancer associated with the finding.
3948
+ */
3949
+ export interface Schema$GoogleCloudSecuritycenterV2LoadBalancer {
3950
+ /**
3951
+ * The name of the load balancer associated with the finding.
3952
+ */
3953
+ name?: string | null;
3954
+ }
3955
+ /**
3956
+ * An individual entry in a log.
3957
+ */
3958
+ export interface Schema$GoogleCloudSecuritycenterV2LogEntry {
3959
+ /**
3960
+ * An individual entry in a log stored in Cloud Logging.
3961
+ */
3962
+ cloudLoggingEntry?: Schema$GoogleCloudSecuritycenterV2CloudLoggingEntry;
3412
3963
  }
3413
3964
  /**
3414
3965
  * A signature corresponding to memory page hashes.
@@ -3498,6 +4049,15 @@ export namespace securitycenter_v1 {
3498
4049
  */
3499
4050
  staticMute?: Schema$GoogleCloudSecuritycenterV2StaticMute;
3500
4051
  }
4052
+ /**
4053
+ * Contains information about a VPC network associated with the finding.
4054
+ */
4055
+ export interface Schema$GoogleCloudSecuritycenterV2Network {
4056
+ /**
4057
+ * The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.
4058
+ */
4059
+ name?: string | null;
4060
+ }
3501
4061
  /**
3502
4062
  * Kubernetes nodes associated with the finding.
3503
4063
  */
@@ -3588,7 +4148,7 @@ export namespace securitycenter_v1 {
3588
4148
  */
3589
4149
  export interface Schema$GoogleCloudSecuritycenterV2OrgPolicy {
3590
4150
  /**
3591
- * The resource name of the org policy. Example: "organizations/{organization_id\}/policies/{constraint_name\}"
4151
+ * Identifier. The resource name of the org policy. Example: "organizations/{organization_id\}/policies/{constraint_name\}"
3592
4152
  */
3593
4153
  name?: string | null;
3594
4154
  }
@@ -3651,6 +4211,19 @@ export namespace securitycenter_v1 {
3651
4211
  */
3652
4212
  field?: string | null;
3653
4213
  }
4214
+ /**
4215
+ * A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.
4216
+ */
4217
+ export interface Schema$GoogleCloudSecuritycenterV2PortRange {
4218
+ /**
4219
+ * Maximum port value.
4220
+ */
4221
+ max?: string | null;
4222
+ /**
4223
+ * Minimum port value.
4224
+ */
4225
+ min?: string | null;
4226
+ }
3654
4227
  /**
3655
4228
  * Represents an operating system process.
3656
4229
  */
@@ -3863,7 +4436,7 @@ export namespace securitycenter_v1 {
3863
4436
  */
3864
4437
  sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping;
3865
4438
  /**
3866
- * Tag values combined with `AND` to check against. Values in the form "tagValues/123" Example: `[ "tagValues/123", "tagValues/456", "tagValues/789" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
4439
+ * Tag values combined with `AND` to check against. For Google Cloud resources, they are tag value IDs in the form of "tagValues/123". Example: `[ "tagValues/123", "tagValues/456", "tagValues/789" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
3867
4440
  */
3868
4441
  tagValues?: string[] | null;
3869
4442
  /**
@@ -4082,6 +4655,10 @@ export namespace securitycenter_v1 {
4082
4655
  * CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
4083
4656
  */
4084
4657
  cve?: Schema$GoogleCloudSecuritycenterV2Cve;
4658
+ /**
4659
+ * Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
4660
+ */
4661
+ cwes?: Schema$GoogleCloudSecuritycenterV2Cwe[];
4085
4662
  /**
4086
4663
  * The fixed package is relevant to the finding.
4087
4664
  */
@@ -4090,6 +4667,14 @@ export namespace securitycenter_v1 {
4090
4667
  * The offending package is relevant to the finding.
4091
4668
  */
4092
4669
  offendingPackage?: Schema$GoogleCloudSecuritycenterV2Package;
4670
+ /**
4671
+ * Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
4672
+ */
4673
+ providerRiskScore?: string | null;
4674
+ /**
4675
+ * Represents whether the vulnerability is reachable (detected via static analysis)
4676
+ */
4677
+ reachable?: boolean | null;
4093
4678
  /**
4094
4679
  * The security bulletin is relevant to this finding.
4095
4680
  */
@@ -4277,6 +4862,69 @@ export namespace securitycenter_v1 {
4277
4862
  */
4278
4863
  uris?: string[] | null;
4279
4864
  }
4865
+ /**
4866
+ * IP rule information.
4867
+ */
4868
+ export interface Schema$IpRule {
4869
+ /**
4870
+ * Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.
4871
+ */
4872
+ portRanges?: Schema$PortRange[];
4873
+ /**
4874
+ * The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.
4875
+ */
4876
+ protocol?: string | null;
4877
+ }
4878
+ /**
4879
+ * IP rules associated with the finding.
4880
+ */
4881
+ export interface Schema$IpRules {
4882
+ /**
4883
+ * Tuple with allowed rules.
4884
+ */
4885
+ allowed?: Schema$Allowed;
4886
+ /**
4887
+ * Tuple with denied rules.
4888
+ */
4889
+ denied?: Schema$Denied;
4890
+ /**
4891
+ * If destination IP ranges are specified, the firewall rule applies only to traffic that has a destination IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
4892
+ */
4893
+ destinationIpRanges?: string[] | null;
4894
+ /**
4895
+ * The direction that the rule is applicable to, one of ingress or egress.
4896
+ */
4897
+ direction?: string | null;
4898
+ /**
4899
+ * Name of the network protocol service, such as FTP, that is exposed by the open port. Follows the naming convention available at: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
4900
+ */
4901
+ exposedServices?: string[] | null;
4902
+ /**
4903
+ * If source IP ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
4904
+ */
4905
+ sourceIpRanges?: string[] | null;
4906
+ }
4907
+ /**
4908
+ * Describes a job
4909
+ */
4910
+ export interface Schema$Job {
4911
+ /**
4912
+ * Optional. If the job did not complete successfully, this field describes why.
4913
+ */
4914
+ errorCode?: number | null;
4915
+ /**
4916
+ * Optional. Gives the location where the job ran, such as `US` or `europe-west1`
4917
+ */
4918
+ location?: string | null;
4919
+ /**
4920
+ * The fully-qualified name for a job. e.g. `projects//jobs/`
4921
+ */
4922
+ name?: string | null;
4923
+ /**
4924
+ * Output only. State of the job, such as `RUNNING` or `PENDING`.
4925
+ */
4926
+ state?: string | null;
4927
+ }
4280
4928
  /**
4281
4929
  * Kernel mode rootkit signatures.
4282
4930
  */
@@ -4691,6 +5339,15 @@ export namespace securitycenter_v1 {
4691
5339
  */
4692
5340
  staticMute?: Schema$StaticMute;
4693
5341
  }
5342
+ /**
5343
+ * Contains information about a VPC network associated with the finding.
5344
+ */
5345
+ export interface Schema$Network {
5346
+ /**
5347
+ * The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.
5348
+ */
5349
+ name?: string | null;
5350
+ }
4694
5351
  /**
4695
5352
  * Kubernetes nodes associated with the finding.
4696
5353
  */
@@ -4932,6 +5589,19 @@ export namespace securitycenter_v1 {
4932
5589
  */
4933
5590
  field?: string | null;
4934
5591
  }
5592
+ /**
5593
+ * A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.
5594
+ */
5595
+ export interface Schema$PortRange {
5596
+ /**
5597
+ * Maximum port value.
5598
+ */
5599
+ max?: string | null;
5600
+ /**
5601
+ * Minimum port value.
5602
+ */
5603
+ min?: string | null;
5604
+ }
4935
5605
  /**
4936
5606
  * A position in the uploaded text version of a module.
4937
5607
  */
@@ -5307,7 +5977,7 @@ export namespace securitycenter_v1 {
5307
5977
  */
5308
5978
  export interface Schema$SetFindingStateRequest {
5309
5979
  /**
5310
- * Required. The time at which the updated state takes effect.
5980
+ * Optional. The time at which the updated state takes effect. If unset, defaults to the request time.
5311
5981
  */
5312
5982
  startTime?: string | null;
5313
5983
  /**
@@ -5614,6 +6284,10 @@ export namespace securitycenter_v1 {
5614
6284
  * CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
5615
6285
  */
5616
6286
  cve?: Schema$Cve;
6287
+ /**
6288
+ * Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
6289
+ */
6290
+ cwes?: Schema$Cwe[];
5617
6291
  /**
5618
6292
  * The fixed package is relevant to the finding.
5619
6293
  */
@@ -5622,6 +6296,14 @@ export namespace securitycenter_v1 {
5622
6296
  * The offending package is relevant to the finding.
5623
6297
  */
5624
6298
  offendingPackage?: Schema$Package;
6299
+ /**
6300
+ * Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
6301
+ */
6302
+ providerRiskScore?: string | null;
6303
+ /**
6304
+ * Represents whether the vulnerability is reachable (detected via static analysis)
6305
+ */
6306
+ reachable?: boolean | null;
5625
6307
  /**
5626
6308
  * The security bulletin is relevant to this finding.
5627
6309
  */
@@ -7717,104 +8399,6 @@ export namespace securitycenter_v1 {
7717
8399
  this.context = context;
7718
8400
  }
7719
8401
 
7720
- /**
7721
- * Creates a mute config.
7722
- *
7723
- * @param params - Parameters for request
7724
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
7725
- * @param callback - Optional callback that handles the response.
7726
- * @returns A promise if used with async/await, or void if used with a callback.
7727
- */
7728
- create(
7729
- params: Params$Resource$Folders$Locations$Muteconfigs$Create,
7730
- options: StreamMethodOptions
7731
- ): GaxiosPromise<Readable>;
7732
- create(
7733
- params?: Params$Resource$Folders$Locations$Muteconfigs$Create,
7734
- options?: MethodOptions
7735
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
7736
- create(
7737
- params: Params$Resource$Folders$Locations$Muteconfigs$Create,
7738
- options: StreamMethodOptions | BodyResponseCallback<Readable>,
7739
- callback: BodyResponseCallback<Readable>
7740
- ): void;
7741
- create(
7742
- params: Params$Resource$Folders$Locations$Muteconfigs$Create,
7743
- options:
7744
- | MethodOptions
7745
- | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>,
7746
- callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
7747
- ): void;
7748
- create(
7749
- params: Params$Resource$Folders$Locations$Muteconfigs$Create,
7750
- callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
7751
- ): void;
7752
- create(
7753
- callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
7754
- ): void;
7755
- create(
7756
- paramsOrCallback?:
7757
- | Params$Resource$Folders$Locations$Muteconfigs$Create
7758
- | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
7759
- | BodyResponseCallback<Readable>,
7760
- optionsOrCallback?:
7761
- | MethodOptions
7762
- | StreamMethodOptions
7763
- | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
7764
- | BodyResponseCallback<Readable>,
7765
- callback?:
7766
- | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
7767
- | BodyResponseCallback<Readable>
7768
- ):
7769
- | void
7770
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
7771
- | GaxiosPromise<Readable> {
7772
- let params = (paramsOrCallback ||
7773
- {}) as Params$Resource$Folders$Locations$Muteconfigs$Create;
7774
- let options = (optionsOrCallback || {}) as MethodOptions;
7775
-
7776
- if (typeof paramsOrCallback === 'function') {
7777
- callback = paramsOrCallback;
7778
- params = {} as Params$Resource$Folders$Locations$Muteconfigs$Create;
7779
- options = {};
7780
- }
7781
-
7782
- if (typeof optionsOrCallback === 'function') {
7783
- callback = optionsOrCallback;
7784
- options = {};
7785
- }
7786
-
7787
- const rootUrl =
7788
- options.rootUrl || 'https://securitycenter.googleapis.com/';
7789
- const parameters = {
7790
- options: Object.assign(
7791
- {
7792
- url: (rootUrl + '/v1/{+parent}/muteConfigs').replace(
7793
- /([^:]\/)\/+/g,
7794
- '$1'
7795
- ),
7796
- method: 'POST',
7797
- apiVersion: '',
7798
- },
7799
- options
7800
- ),
7801
- params,
7802
- requiredParams: ['parent'],
7803
- pathParams: ['parent'],
7804
- context: this.context,
7805
- };
7806
- if (callback) {
7807
- createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
7808
- parameters,
7809
- callback as BodyResponseCallback<unknown>
7810
- );
7811
- } else {
7812
- return createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
7813
- parameters
7814
- );
7815
- }
7816
- }
7817
-
7818
8402
  /**
7819
8403
  * Deletes an existing mute config.
7820
8404
  *
@@ -7897,162 +8481,69 @@ export namespace securitycenter_v1 {
7897
8481
  callback as BodyResponseCallback<unknown>
7898
8482
  );
7899
8483
  } else {
7900
- return createAPIRequest<Schema$Empty>(parameters);
7901
- }
7902
- }
7903
-
7904
- /**
7905
- * Gets a mute config.
7906
- *
7907
- * @param params - Parameters for request
7908
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
7909
- * @param callback - Optional callback that handles the response.
7910
- * @returns A promise if used with async/await, or void if used with a callback.
7911
- */
7912
- get(
7913
- params: Params$Resource$Folders$Locations$Muteconfigs$Get,
7914
- options: StreamMethodOptions
7915
- ): GaxiosPromise<Readable>;
7916
- get(
7917
- params?: Params$Resource$Folders$Locations$Muteconfigs$Get,
7918
- options?: MethodOptions
7919
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
7920
- get(
7921
- params: Params$Resource$Folders$Locations$Muteconfigs$Get,
7922
- options: StreamMethodOptions | BodyResponseCallback<Readable>,
7923
- callback: BodyResponseCallback<Readable>
7924
- ): void;
7925
- get(
7926
- params: Params$Resource$Folders$Locations$Muteconfigs$Get,
7927
- options:
7928
- | MethodOptions
7929
- | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>,
7930
- callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
7931
- ): void;
7932
- get(
7933
- params: Params$Resource$Folders$Locations$Muteconfigs$Get,
7934
- callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
7935
- ): void;
7936
- get(
7937
- callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
7938
- ): void;
7939
- get(
7940
- paramsOrCallback?:
7941
- | Params$Resource$Folders$Locations$Muteconfigs$Get
7942
- | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
7943
- | BodyResponseCallback<Readable>,
7944
- optionsOrCallback?:
7945
- | MethodOptions
7946
- | StreamMethodOptions
7947
- | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
7948
- | BodyResponseCallback<Readable>,
7949
- callback?:
7950
- | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
7951
- | BodyResponseCallback<Readable>
7952
- ):
7953
- | void
7954
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
7955
- | GaxiosPromise<Readable> {
7956
- let params = (paramsOrCallback ||
7957
- {}) as Params$Resource$Folders$Locations$Muteconfigs$Get;
7958
- let options = (optionsOrCallback || {}) as MethodOptions;
7959
-
7960
- if (typeof paramsOrCallback === 'function') {
7961
- callback = paramsOrCallback;
7962
- params = {} as Params$Resource$Folders$Locations$Muteconfigs$Get;
7963
- options = {};
7964
- }
7965
-
7966
- if (typeof optionsOrCallback === 'function') {
7967
- callback = optionsOrCallback;
7968
- options = {};
7969
- }
7970
-
7971
- const rootUrl =
7972
- options.rootUrl || 'https://securitycenter.googleapis.com/';
7973
- const parameters = {
7974
- options: Object.assign(
7975
- {
7976
- url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
7977
- method: 'GET',
7978
- apiVersion: '',
7979
- },
7980
- options
7981
- ),
7982
- params,
7983
- requiredParams: ['name'],
7984
- pathParams: ['name'],
7985
- context: this.context,
7986
- };
7987
- if (callback) {
7988
- createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
7989
- parameters,
7990
- callback as BodyResponseCallback<unknown>
7991
- );
7992
- } else {
7993
- return createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
7994
- parameters
7995
- );
8484
+ return createAPIRequest<Schema$Empty>(parameters);
7996
8485
  }
7997
8486
  }
7998
8487
 
7999
8488
  /**
8000
- * Lists mute configs.
8489
+ * Gets a mute config.
8001
8490
  *
8002
8491
  * @param params - Parameters for request
8003
8492
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
8004
8493
  * @param callback - Optional callback that handles the response.
8005
8494
  * @returns A promise if used with async/await, or void if used with a callback.
8006
8495
  */
8007
- list(
8008
- params: Params$Resource$Folders$Locations$Muteconfigs$List,
8496
+ get(
8497
+ params: Params$Resource$Folders$Locations$Muteconfigs$Get,
8009
8498
  options: StreamMethodOptions
8010
8499
  ): GaxiosPromise<Readable>;
8011
- list(
8012
- params?: Params$Resource$Folders$Locations$Muteconfigs$List,
8500
+ get(
8501
+ params?: Params$Resource$Folders$Locations$Muteconfigs$Get,
8013
8502
  options?: MethodOptions
8014
- ): GaxiosPromise<Schema$ListMuteConfigsResponse>;
8015
- list(
8016
- params: Params$Resource$Folders$Locations$Muteconfigs$List,
8503
+ ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
8504
+ get(
8505
+ params: Params$Resource$Folders$Locations$Muteconfigs$Get,
8017
8506
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
8018
8507
  callback: BodyResponseCallback<Readable>
8019
8508
  ): void;
8020
- list(
8021
- params: Params$Resource$Folders$Locations$Muteconfigs$List,
8509
+ get(
8510
+ params: Params$Resource$Folders$Locations$Muteconfigs$Get,
8022
8511
  options:
8023
8512
  | MethodOptions
8024
- | BodyResponseCallback<Schema$ListMuteConfigsResponse>,
8025
- callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>
8513
+ | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>,
8514
+ callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
8026
8515
  ): void;
8027
- list(
8028
- params: Params$Resource$Folders$Locations$Muteconfigs$List,
8029
- callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>
8516
+ get(
8517
+ params: Params$Resource$Folders$Locations$Muteconfigs$Get,
8518
+ callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
8030
8519
  ): void;
8031
- list(callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>): void;
8032
- list(
8520
+ get(
8521
+ callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
8522
+ ): void;
8523
+ get(
8033
8524
  paramsOrCallback?:
8034
- | Params$Resource$Folders$Locations$Muteconfigs$List
8035
- | BodyResponseCallback<Schema$ListMuteConfigsResponse>
8525
+ | Params$Resource$Folders$Locations$Muteconfigs$Get
8526
+ | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
8036
8527
  | BodyResponseCallback<Readable>,
8037
8528
  optionsOrCallback?:
8038
8529
  | MethodOptions
8039
8530
  | StreamMethodOptions
8040
- | BodyResponseCallback<Schema$ListMuteConfigsResponse>
8531
+ | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
8041
8532
  | BodyResponseCallback<Readable>,
8042
8533
  callback?:
8043
- | BodyResponseCallback<Schema$ListMuteConfigsResponse>
8534
+ | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
8044
8535
  | BodyResponseCallback<Readable>
8045
8536
  ):
8046
8537
  | void
8047
- | GaxiosPromise<Schema$ListMuteConfigsResponse>
8538
+ | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
8048
8539
  | GaxiosPromise<Readable> {
8049
8540
  let params = (paramsOrCallback ||
8050
- {}) as Params$Resource$Folders$Locations$Muteconfigs$List;
8541
+ {}) as Params$Resource$Folders$Locations$Muteconfigs$Get;
8051
8542
  let options = (optionsOrCallback || {}) as MethodOptions;
8052
8543
 
8053
8544
  if (typeof paramsOrCallback === 'function') {
8054
8545
  callback = paramsOrCallback;
8055
- params = {} as Params$Resource$Folders$Locations$Muteconfigs$List;
8546
+ params = {} as Params$Resource$Folders$Locations$Muteconfigs$Get;
8056
8547
  options = {};
8057
8548
  }
8058
8549
 
@@ -8066,24 +8557,26 @@ export namespace securitycenter_v1 {
8066
8557
  const parameters = {
8067
8558
  options: Object.assign(
8068
8559
  {
8069
- url: (rootUrl + '/v1/{+parent}').replace(/([^:]\/)\/+/g, '$1'),
8560
+ url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
8070
8561
  method: 'GET',
8071
8562
  apiVersion: '',
8072
8563
  },
8073
8564
  options
8074
8565
  ),
8075
8566
  params,
8076
- requiredParams: ['parent'],
8077
- pathParams: ['parent'],
8567
+ requiredParams: ['name'],
8568
+ pathParams: ['name'],
8078
8569
  context: this.context,
8079
8570
  };
8080
8571
  if (callback) {
8081
- createAPIRequest<Schema$ListMuteConfigsResponse>(
8572
+ createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
8082
8573
  parameters,
8083
8574
  callback as BodyResponseCallback<unknown>
8084
8575
  );
8085
8576
  } else {
8086
- return createAPIRequest<Schema$ListMuteConfigsResponse>(parameters);
8577
+ return createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
8578
+ parameters
8579
+ );
8087
8580
  }
8088
8581
  }
8089
8582
 
@@ -8183,22 +8676,6 @@ export namespace securitycenter_v1 {
8183
8676
  }
8184
8677
  }
8185
8678
 
8186
- export interface Params$Resource$Folders$Locations$Muteconfigs$Create
8187
- extends StandardParameters {
8188
- /**
8189
- * Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.
8190
- */
8191
- muteConfigId?: string;
8192
- /**
8193
- * Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
8194
- */
8195
- parent?: string;
8196
-
8197
- /**
8198
- * Request body metadata
8199
- */
8200
- requestBody?: Schema$GoogleCloudSecuritycenterV1MuteConfig;
8201
- }
8202
8679
  export interface Params$Resource$Folders$Locations$Muteconfigs$Delete
8203
8680
  extends StandardParameters {
8204
8681
  /**
@@ -8213,21 +8690,6 @@ export namespace securitycenter_v1 {
8213
8690
  */
8214
8691
  name?: string;
8215
8692
  }
8216
- export interface Params$Resource$Folders$Locations$Muteconfigs$List
8217
- extends StandardParameters {
8218
- /**
8219
- * The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
8220
- */
8221
- pageSize?: number;
8222
- /**
8223
- * A page token, received from a previous `ListMuteConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMuteConfigs` must match the call that provided the page token.
8224
- */
8225
- pageToken?: string;
8226
- /**
8227
- * Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.
8228
- */
8229
- parent?: string;
8230
- }
8231
8693
  export interface Params$Resource$Folders$Locations$Muteconfigs$Patch
8232
8694
  extends StandardParameters {
8233
8695
  /**
@@ -11212,6 +11674,7 @@ export namespace securitycenter_v1 {
11212
11674
  export class Resource$Organizations {
11213
11675
  context: APIRequestContext;
11214
11676
  assets: Resource$Organizations$Assets;
11677
+ attackPaths: Resource$Organizations$Attackpaths;
11215
11678
  bigQueryExports: Resource$Organizations$Bigqueryexports;
11216
11679
  eventThreatDetectionSettings: Resource$Organizations$Eventthreatdetectionsettings;
11217
11680
  findings: Resource$Organizations$Findings;
@@ -11227,6 +11690,7 @@ export namespace securitycenter_v1 {
11227
11690
  constructor(context: APIRequestContext) {
11228
11691
  this.context = context;
11229
11692
  this.assets = new Resource$Organizations$Assets(this.context);
11693
+ this.attackPaths = new Resource$Organizations$Attackpaths(this.context);
11230
11694
  this.bigQueryExports = new Resource$Organizations$Bigqueryexports(
11231
11695
  this.context
11232
11696
  );
@@ -11816,99 +12280,220 @@ export namespace securitycenter_v1 {
11816
12280
  options
11817
12281
  ),
11818
12282
  params,
11819
- requiredParams: ['name'],
11820
- pathParams: ['name'],
12283
+ requiredParams: ['name'],
12284
+ pathParams: ['name'],
12285
+ context: this.context,
12286
+ };
12287
+ if (callback) {
12288
+ createAPIRequest<Schema$SecurityMarks>(
12289
+ parameters,
12290
+ callback as BodyResponseCallback<unknown>
12291
+ );
12292
+ } else {
12293
+ return createAPIRequest<Schema$SecurityMarks>(parameters);
12294
+ }
12295
+ }
12296
+ }
12297
+
12298
+ export interface Params$Resource$Organizations$Assets$Group
12299
+ extends StandardParameters {
12300
+ /**
12301
+ * Required. The name of the parent to group the assets by. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
12302
+ */
12303
+ parent?: string;
12304
+
12305
+ /**
12306
+ * Request body metadata
12307
+ */
12308
+ requestBody?: Schema$GroupAssetsRequest;
12309
+ }
12310
+ export interface Params$Resource$Organizations$Assets$List
12311
+ extends StandardParameters {
12312
+ /**
12313
+ * When compare_duration is set, the ListAssetsResult's "state_change" attribute is updated to indicate whether the asset was added, removed, or remained present during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the asset is removed and re-created again. Possible "state_change" values when compare_duration is specified: * "ADDED": indicates that the asset was not present at the start of compare_duration, but present at read_time. * "REMOVED": indicates that the asset was present at the start of compare_duration, but not present at read_time. * "ACTIVE": indicates that the asset was present at both the start and the end of the time period defined by compare_duration and read_time. If compare_duration is not specified, then the only possible state_change is "UNUSED", which will be the state_change set for all assets present at read_time.
12314
+ */
12315
+ compareDuration?: string;
12316
+ /**
12317
+ * A field mask to specify the ListAssetsResult fields to be listed in the response. An empty field mask will list all fields.
12318
+ */
12319
+ fieldMask?: string;
12320
+ /**
12321
+ * Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the Asset resource. Examples include: * name * security_center_properties.resource_name * resource_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `\>`, `<`, `\>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following are the allowed field and operator combinations: * name: `=` * update_time: `=`, `\>`, `<`, `\>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `update_time = "2019-06-10T16:07:18-07:00"` `update_time = 1560208038000` * create_time: `=`, `\>`, `<`, `\>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `create_time = "2019-06-10T16:07:18-07:00"` `create_time = 1560208038000` * iam_policy.policy_blob: `=`, `:` * resource_properties: `=`, `:`, `\>`, `<`, `\>=`, `<=` * security_marks.marks: `=`, `:` * security_center_properties.resource_name: `=`, `:` * security_center_properties.resource_display_name: `=`, `:` * security_center_properties.resource_type: `=`, `:` * security_center_properties.resource_parent: `=`, `:` * security_center_properties.resource_parent_display_name: `=`, `:` * security_center_properties.resource_project: `=`, `:` * security_center_properties.resource_project_display_name: `=`, `:` * security_center_properties.resource_owners: `=`, `:` For example, `resource_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `resource_properties.my_property : ""` Use a negated partial match on the empty string to filter based on a property not existing: `-resource_properties.my_property : ""`
12322
+ */
12323
+ filter?: string;
12324
+ /**
12325
+ * Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: "name,resource_properties.a_property". The default sorting order is ascending. To specify descending order for a field, a suffix " desc" should be appended to the field name. For example: "name desc,resource_properties.a_property". Redundant space characters in the syntax are insignificant. "name desc,resource_properties.a_property" and " name desc , resource_properties.a_property " are equivalent. The following fields are supported: name update_time resource_properties security_marks.marks security_center_properties.resource_name security_center_properties.resource_display_name security_center_properties.resource_parent security_center_properties.resource_parent_display_name security_center_properties.resource_project security_center_properties.resource_project_display_name security_center_properties.resource_type
12326
+ */
12327
+ orderBy?: string;
12328
+ /**
12329
+ * The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.
12330
+ */
12331
+ pageSize?: number;
12332
+ /**
12333
+ * The value returned by the last `ListAssetsResponse`; indicates that this is a continuation of a prior `ListAssets` call, and that the system should return the next page of data.
12334
+ */
12335
+ pageToken?: string;
12336
+ /**
12337
+ * Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
12338
+ */
12339
+ parent?: string;
12340
+ /**
12341
+ * Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.
12342
+ */
12343
+ readTime?: string;
12344
+ }
12345
+ export interface Params$Resource$Organizations$Assets$Rundiscovery
12346
+ extends StandardParameters {
12347
+ /**
12348
+ * Required. Name of the organization to run asset discovery for. Its format is `organizations/[organization_id]`.
12349
+ */
12350
+ parent?: string;
12351
+
12352
+ /**
12353
+ * Request body metadata
12354
+ */
12355
+ requestBody?: Schema$RunAssetDiscoveryRequest;
12356
+ }
12357
+ export interface Params$Resource$Organizations$Assets$Updatesecuritymarks
12358
+ extends StandardParameters {
12359
+ /**
12360
+ * The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: "organizations/{organization_id\}/assets/{asset_id\}/securityMarks" "organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}/securityMarks".
12361
+ */
12362
+ name?: string;
12363
+ /**
12364
+ * The time at which the updated SecurityMarks take effect. If not set uses current server time. Updates will be applied to the SecurityMarks that are active immediately preceding this time. Must be earlier or equal to the server time.
12365
+ */
12366
+ startTime?: string;
12367
+ /**
12368
+ * The FieldMask to use when updating the security marks resource. The field mask must not contain duplicate fields. If empty or set to "marks", all marks will be replaced. Individual marks can be updated using "marks.".
12369
+ */
12370
+ updateMask?: string;
12371
+
12372
+ /**
12373
+ * Request body metadata
12374
+ */
12375
+ requestBody?: Schema$SecurityMarks;
12376
+ }
12377
+
12378
+ export class Resource$Organizations$Attackpaths {
12379
+ context: APIRequestContext;
12380
+ constructor(context: APIRequestContext) {
12381
+ this.context = context;
12382
+ }
12383
+
12384
+ /**
12385
+ * Lists the attack paths for a set of simulation results or valued resources and filter.
12386
+ *
12387
+ * @param params - Parameters for request
12388
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
12389
+ * @param callback - Optional callback that handles the response.
12390
+ * @returns A promise if used with async/await, or void if used with a callback.
12391
+ */
12392
+ list(
12393
+ params: Params$Resource$Organizations$Attackpaths$List,
12394
+ options: StreamMethodOptions
12395
+ ): GaxiosPromise<Readable>;
12396
+ list(
12397
+ params?: Params$Resource$Organizations$Attackpaths$List,
12398
+ options?: MethodOptions
12399
+ ): GaxiosPromise<Schema$ListAttackPathsResponse>;
12400
+ list(
12401
+ params: Params$Resource$Organizations$Attackpaths$List,
12402
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
12403
+ callback: BodyResponseCallback<Readable>
12404
+ ): void;
12405
+ list(
12406
+ params: Params$Resource$Organizations$Attackpaths$List,
12407
+ options:
12408
+ | MethodOptions
12409
+ | BodyResponseCallback<Schema$ListAttackPathsResponse>,
12410
+ callback: BodyResponseCallback<Schema$ListAttackPathsResponse>
12411
+ ): void;
12412
+ list(
12413
+ params: Params$Resource$Organizations$Attackpaths$List,
12414
+ callback: BodyResponseCallback<Schema$ListAttackPathsResponse>
12415
+ ): void;
12416
+ list(callback: BodyResponseCallback<Schema$ListAttackPathsResponse>): void;
12417
+ list(
12418
+ paramsOrCallback?:
12419
+ | Params$Resource$Organizations$Attackpaths$List
12420
+ | BodyResponseCallback<Schema$ListAttackPathsResponse>
12421
+ | BodyResponseCallback<Readable>,
12422
+ optionsOrCallback?:
12423
+ | MethodOptions
12424
+ | StreamMethodOptions
12425
+ | BodyResponseCallback<Schema$ListAttackPathsResponse>
12426
+ | BodyResponseCallback<Readable>,
12427
+ callback?:
12428
+ | BodyResponseCallback<Schema$ListAttackPathsResponse>
12429
+ | BodyResponseCallback<Readable>
12430
+ ):
12431
+ | void
12432
+ | GaxiosPromise<Schema$ListAttackPathsResponse>
12433
+ | GaxiosPromise<Readable> {
12434
+ let params = (paramsOrCallback ||
12435
+ {}) as Params$Resource$Organizations$Attackpaths$List;
12436
+ let options = (optionsOrCallback || {}) as MethodOptions;
12437
+
12438
+ if (typeof paramsOrCallback === 'function') {
12439
+ callback = paramsOrCallback;
12440
+ params = {} as Params$Resource$Organizations$Attackpaths$List;
12441
+ options = {};
12442
+ }
12443
+
12444
+ if (typeof optionsOrCallback === 'function') {
12445
+ callback = optionsOrCallback;
12446
+ options = {};
12447
+ }
12448
+
12449
+ const rootUrl =
12450
+ options.rootUrl || 'https://securitycenter.googleapis.com/';
12451
+ const parameters = {
12452
+ options: Object.assign(
12453
+ {
12454
+ url: (rootUrl + '/v1/{+parent}/attackPaths').replace(
12455
+ /([^:]\/)\/+/g,
12456
+ '$1'
12457
+ ),
12458
+ method: 'GET',
12459
+ apiVersion: '',
12460
+ },
12461
+ options
12462
+ ),
12463
+ params,
12464
+ requiredParams: ['parent'],
12465
+ pathParams: ['parent'],
11821
12466
  context: this.context,
11822
12467
  };
11823
12468
  if (callback) {
11824
- createAPIRequest<Schema$SecurityMarks>(
12469
+ createAPIRequest<Schema$ListAttackPathsResponse>(
11825
12470
  parameters,
11826
12471
  callback as BodyResponseCallback<unknown>
11827
12472
  );
11828
12473
  } else {
11829
- return createAPIRequest<Schema$SecurityMarks>(parameters);
12474
+ return createAPIRequest<Schema$ListAttackPathsResponse>(parameters);
11830
12475
  }
11831
12476
  }
11832
12477
  }
11833
12478
 
11834
- export interface Params$Resource$Organizations$Assets$Group
11835
- extends StandardParameters {
11836
- /**
11837
- * Required. The name of the parent to group the assets by. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
11838
- */
11839
- parent?: string;
11840
-
11841
- /**
11842
- * Request body metadata
11843
- */
11844
- requestBody?: Schema$GroupAssetsRequest;
11845
- }
11846
- export interface Params$Resource$Organizations$Assets$List
12479
+ export interface Params$Resource$Organizations$Attackpaths$List
11847
12480
  extends StandardParameters {
11848
12481
  /**
11849
- * When compare_duration is set, the ListAssetsResult's "state_change" attribute is updated to indicate whether the asset was added, removed, or remained present during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the asset is removed and re-created again. Possible "state_change" values when compare_duration is specified: * "ADDED": indicates that the asset was not present at the start of compare_duration, but present at read_time. * "REMOVED": indicates that the asset was present at the start of compare_duration, but not present at read_time. * "ACTIVE": indicates that the asset was present at both the start and the end of the time period defined by compare_duration and read_time. If compare_duration is not specified, then the only possible state_change is "UNUSED", which will be the state_change set for all assets present at read_time.
11850
- */
11851
- compareDuration?: string;
11852
- /**
11853
- * A field mask to specify the ListAssetsResult fields to be listed in the response. An empty field mask will list all fields.
11854
- */
11855
- fieldMask?: string;
11856
- /**
11857
- * Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the Asset resource. Examples include: * name * security_center_properties.resource_name * resource_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `\>`, `<`, `\>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following are the allowed field and operator combinations: * name: `=` * update_time: `=`, `\>`, `<`, `\>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `update_time = "2019-06-10T16:07:18-07:00"` `update_time = 1560208038000` * create_time: `=`, `\>`, `<`, `\>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `create_time = "2019-06-10T16:07:18-07:00"` `create_time = 1560208038000` * iam_policy.policy_blob: `=`, `:` * resource_properties: `=`, `:`, `\>`, `<`, `\>=`, `<=` * security_marks.marks: `=`, `:` * security_center_properties.resource_name: `=`, `:` * security_center_properties.resource_display_name: `=`, `:` * security_center_properties.resource_type: `=`, `:` * security_center_properties.resource_parent: `=`, `:` * security_center_properties.resource_parent_display_name: `=`, `:` * security_center_properties.resource_project: `=`, `:` * security_center_properties.resource_project_display_name: `=`, `:` * security_center_properties.resource_owners: `=`, `:` For example, `resource_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `resource_properties.my_property : ""` Use a negated partial match on the empty string to filter based on a property not existing: `-resource_properties.my_property : ""`
12482
+ * The filter expression that filters the attack path in the response. Supported fields: * `valued_resources` supports =
11858
12483
  */
11859
12484
  filter?: string;
11860
- /**
11861
- * Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: "name,resource_properties.a_property". The default sorting order is ascending. To specify descending order for a field, a suffix " desc" should be appended to the field name. For example: "name desc,resource_properties.a_property". Redundant space characters in the syntax are insignificant. "name desc,resource_properties.a_property" and " name desc , resource_properties.a_property " are equivalent. The following fields are supported: name update_time resource_properties security_marks.marks security_center_properties.resource_name security_center_properties.resource_display_name security_center_properties.resource_parent security_center_properties.resource_parent_display_name security_center_properties.resource_project security_center_properties.resource_project_display_name security_center_properties.resource_type
11862
- */
11863
- orderBy?: string;
11864
12485
  /**
11865
12486
  * The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.
11866
12487
  */
11867
12488
  pageSize?: number;
11868
12489
  /**
11869
- * The value returned by the last `ListAssetsResponse`; indicates that this is a continuation of a prior `ListAssets` call, and that the system should return the next page of data.
12490
+ * The value returned by the last `ListAttackPathsResponse`; indicates that this is a continuation of a prior `ListAttackPaths` call, and that the system should return the next page of data.
11870
12491
  */
11871
12492
  pageToken?: string;
11872
12493
  /**
11873
- * Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
11874
- */
11875
- parent?: string;
11876
- /**
11877
- * Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.
11878
- */
11879
- readTime?: string;
11880
- }
11881
- export interface Params$Resource$Organizations$Assets$Rundiscovery
11882
- extends StandardParameters {
11883
- /**
11884
- * Required. Name of the organization to run asset discovery for. Its format is `organizations/[organization_id]`.
12494
+ * Required. Name of parent to list attack paths. Valid formats: `organizations/{organization\}`, `organizations/{organization\}/simulations/{simulation\}` `organizations/{organization\}/simulations/{simulation\}/attackExposureResults/{attack_exposure_result_v2\}` `organizations/{organization\}/simulations/{simulation\}/valuedResources/{valued_resource\}`
11885
12495
  */
11886
12496
  parent?: string;
11887
-
11888
- /**
11889
- * Request body metadata
11890
- */
11891
- requestBody?: Schema$RunAssetDiscoveryRequest;
11892
- }
11893
- export interface Params$Resource$Organizations$Assets$Updatesecuritymarks
11894
- extends StandardParameters {
11895
- /**
11896
- * The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: "organizations/{organization_id\}/assets/{asset_id\}/securityMarks" "organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}/securityMarks".
11897
- */
11898
- name?: string;
11899
- /**
11900
- * The time at which the updated SecurityMarks take effect. If not set uses current server time. Updates will be applied to the SecurityMarks that are active immediately preceding this time. Must be earlier or equal to the server time.
11901
- */
11902
- startTime?: string;
11903
- /**
11904
- * The FieldMask to use when updating the security marks resource. The field mask must not contain duplicate fields. If empty or set to "marks", all marks will be replaced. Individual marks can be updated using "marks.".
11905
- */
11906
- updateMask?: string;
11907
-
11908
- /**
11909
- * Request body metadata
11910
- */
11911
- requestBody?: Schema$SecurityMarks;
11912
12497
  }
11913
12498
 
11914
12499
  export class Resource$Organizations$Bigqueryexports {
@@ -13585,105 +14170,6 @@ export namespace securitycenter_v1 {
13585
14170
  this.context = context;
13586
14171
  }
13587
14172
 
13588
- /**
13589
- * Creates a mute config.
13590
- *
13591
- * @param params - Parameters for request
13592
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
13593
- * @param callback - Optional callback that handles the response.
13594
- * @returns A promise if used with async/await, or void if used with a callback.
13595
- */
13596
- create(
13597
- params: Params$Resource$Organizations$Locations$Muteconfigs$Create,
13598
- options: StreamMethodOptions
13599
- ): GaxiosPromise<Readable>;
13600
- create(
13601
- params?: Params$Resource$Organizations$Locations$Muteconfigs$Create,
13602
- options?: MethodOptions
13603
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
13604
- create(
13605
- params: Params$Resource$Organizations$Locations$Muteconfigs$Create,
13606
- options: StreamMethodOptions | BodyResponseCallback<Readable>,
13607
- callback: BodyResponseCallback<Readable>
13608
- ): void;
13609
- create(
13610
- params: Params$Resource$Organizations$Locations$Muteconfigs$Create,
13611
- options:
13612
- | MethodOptions
13613
- | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>,
13614
- callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13615
- ): void;
13616
- create(
13617
- params: Params$Resource$Organizations$Locations$Muteconfigs$Create,
13618
- callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13619
- ): void;
13620
- create(
13621
- callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13622
- ): void;
13623
- create(
13624
- paramsOrCallback?:
13625
- | Params$Resource$Organizations$Locations$Muteconfigs$Create
13626
- | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13627
- | BodyResponseCallback<Readable>,
13628
- optionsOrCallback?:
13629
- | MethodOptions
13630
- | StreamMethodOptions
13631
- | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13632
- | BodyResponseCallback<Readable>,
13633
- callback?:
13634
- | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13635
- | BodyResponseCallback<Readable>
13636
- ):
13637
- | void
13638
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13639
- | GaxiosPromise<Readable> {
13640
- let params = (paramsOrCallback ||
13641
- {}) as Params$Resource$Organizations$Locations$Muteconfigs$Create;
13642
- let options = (optionsOrCallback || {}) as MethodOptions;
13643
-
13644
- if (typeof paramsOrCallback === 'function') {
13645
- callback = paramsOrCallback;
13646
- params =
13647
- {} as Params$Resource$Organizations$Locations$Muteconfigs$Create;
13648
- options = {};
13649
- }
13650
-
13651
- if (typeof optionsOrCallback === 'function') {
13652
- callback = optionsOrCallback;
13653
- options = {};
13654
- }
13655
-
13656
- const rootUrl =
13657
- options.rootUrl || 'https://securitycenter.googleapis.com/';
13658
- const parameters = {
13659
- options: Object.assign(
13660
- {
13661
- url: (rootUrl + '/v1/{+parent}/muteConfigs').replace(
13662
- /([^:]\/)\/+/g,
13663
- '$1'
13664
- ),
13665
- method: 'POST',
13666
- apiVersion: '',
13667
- },
13668
- options
13669
- ),
13670
- params,
13671
- requiredParams: ['parent'],
13672
- pathParams: ['parent'],
13673
- context: this.context,
13674
- };
13675
- if (callback) {
13676
- createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
13677
- parameters,
13678
- callback as BodyResponseCallback<unknown>
13679
- );
13680
- } else {
13681
- return createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
13682
- parameters
13683
- );
13684
- }
13685
- }
13686
-
13687
14173
  /**
13688
14174
  * Deletes an existing mute config.
13689
14175
  *
@@ -13804,125 +14290,32 @@ export namespace securitycenter_v1 {
13804
14290
  callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13805
14291
  ): void;
13806
14292
  get(
13807
- callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13808
- ): void;
13809
- get(
13810
- paramsOrCallback?:
13811
- | Params$Resource$Organizations$Locations$Muteconfigs$Get
13812
- | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13813
- | BodyResponseCallback<Readable>,
13814
- optionsOrCallback?:
13815
- | MethodOptions
13816
- | StreamMethodOptions
13817
- | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13818
- | BodyResponseCallback<Readable>,
13819
- callback?:
13820
- | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13821
- | BodyResponseCallback<Readable>
13822
- ):
13823
- | void
13824
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13825
- | GaxiosPromise<Readable> {
13826
- let params = (paramsOrCallback ||
13827
- {}) as Params$Resource$Organizations$Locations$Muteconfigs$Get;
13828
- let options = (optionsOrCallback || {}) as MethodOptions;
13829
-
13830
- if (typeof paramsOrCallback === 'function') {
13831
- callback = paramsOrCallback;
13832
- params = {} as Params$Resource$Organizations$Locations$Muteconfigs$Get;
13833
- options = {};
13834
- }
13835
-
13836
- if (typeof optionsOrCallback === 'function') {
13837
- callback = optionsOrCallback;
13838
- options = {};
13839
- }
13840
-
13841
- const rootUrl =
13842
- options.rootUrl || 'https://securitycenter.googleapis.com/';
13843
- const parameters = {
13844
- options: Object.assign(
13845
- {
13846
- url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
13847
- method: 'GET',
13848
- apiVersion: '',
13849
- },
13850
- options
13851
- ),
13852
- params,
13853
- requiredParams: ['name'],
13854
- pathParams: ['name'],
13855
- context: this.context,
13856
- };
13857
- if (callback) {
13858
- createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
13859
- parameters,
13860
- callback as BodyResponseCallback<unknown>
13861
- );
13862
- } else {
13863
- return createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
13864
- parameters
13865
- );
13866
- }
13867
- }
13868
-
13869
- /**
13870
- * Lists mute configs.
13871
- *
13872
- * @param params - Parameters for request
13873
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
13874
- * @param callback - Optional callback that handles the response.
13875
- * @returns A promise if used with async/await, or void if used with a callback.
13876
- */
13877
- list(
13878
- params: Params$Resource$Organizations$Locations$Muteconfigs$List,
13879
- options: StreamMethodOptions
13880
- ): GaxiosPromise<Readable>;
13881
- list(
13882
- params?: Params$Resource$Organizations$Locations$Muteconfigs$List,
13883
- options?: MethodOptions
13884
- ): GaxiosPromise<Schema$ListMuteConfigsResponse>;
13885
- list(
13886
- params: Params$Resource$Organizations$Locations$Muteconfigs$List,
13887
- options: StreamMethodOptions | BodyResponseCallback<Readable>,
13888
- callback: BodyResponseCallback<Readable>
13889
- ): void;
13890
- list(
13891
- params: Params$Resource$Organizations$Locations$Muteconfigs$List,
13892
- options:
13893
- | MethodOptions
13894
- | BodyResponseCallback<Schema$ListMuteConfigsResponse>,
13895
- callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>
13896
- ): void;
13897
- list(
13898
- params: Params$Resource$Organizations$Locations$Muteconfigs$List,
13899
- callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>
14293
+ callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13900
14294
  ): void;
13901
- list(callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>): void;
13902
- list(
14295
+ get(
13903
14296
  paramsOrCallback?:
13904
- | Params$Resource$Organizations$Locations$Muteconfigs$List
13905
- | BodyResponseCallback<Schema$ListMuteConfigsResponse>
14297
+ | Params$Resource$Organizations$Locations$Muteconfigs$Get
14298
+ | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13906
14299
  | BodyResponseCallback<Readable>,
13907
14300
  optionsOrCallback?:
13908
14301
  | MethodOptions
13909
14302
  | StreamMethodOptions
13910
- | BodyResponseCallback<Schema$ListMuteConfigsResponse>
14303
+ | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13911
14304
  | BodyResponseCallback<Readable>,
13912
14305
  callback?:
13913
- | BodyResponseCallback<Schema$ListMuteConfigsResponse>
14306
+ | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13914
14307
  | BodyResponseCallback<Readable>
13915
14308
  ):
13916
14309
  | void
13917
- | GaxiosPromise<Schema$ListMuteConfigsResponse>
14310
+ | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13918
14311
  | GaxiosPromise<Readable> {
13919
14312
  let params = (paramsOrCallback ||
13920
- {}) as Params$Resource$Organizations$Locations$Muteconfigs$List;
14313
+ {}) as Params$Resource$Organizations$Locations$Muteconfigs$Get;
13921
14314
  let options = (optionsOrCallback || {}) as MethodOptions;
13922
14315
 
13923
14316
  if (typeof paramsOrCallback === 'function') {
13924
14317
  callback = paramsOrCallback;
13925
- params = {} as Params$Resource$Organizations$Locations$Muteconfigs$List;
14318
+ params = {} as Params$Resource$Organizations$Locations$Muteconfigs$Get;
13926
14319
  options = {};
13927
14320
  }
13928
14321
 
@@ -13936,24 +14329,26 @@ export namespace securitycenter_v1 {
13936
14329
  const parameters = {
13937
14330
  options: Object.assign(
13938
14331
  {
13939
- url: (rootUrl + '/v1/{+parent}').replace(/([^:]\/)\/+/g, '$1'),
14332
+ url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
13940
14333
  method: 'GET',
13941
14334
  apiVersion: '',
13942
14335
  },
13943
14336
  options
13944
14337
  ),
13945
14338
  params,
13946
- requiredParams: ['parent'],
13947
- pathParams: ['parent'],
14339
+ requiredParams: ['name'],
14340
+ pathParams: ['name'],
13948
14341
  context: this.context,
13949
14342
  };
13950
14343
  if (callback) {
13951
- createAPIRequest<Schema$ListMuteConfigsResponse>(
14344
+ createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
13952
14345
  parameters,
13953
14346
  callback as BodyResponseCallback<unknown>
13954
14347
  );
13955
14348
  } else {
13956
- return createAPIRequest<Schema$ListMuteConfigsResponse>(parameters);
14349
+ return createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
14350
+ parameters
14351
+ );
13957
14352
  }
13958
14353
  }
13959
14354
 
@@ -14054,22 +14449,6 @@ export namespace securitycenter_v1 {
14054
14449
  }
14055
14450
  }
14056
14451
 
14057
- export interface Params$Resource$Organizations$Locations$Muteconfigs$Create
14058
- extends StandardParameters {
14059
- /**
14060
- * Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.
14061
- */
14062
- muteConfigId?: string;
14063
- /**
14064
- * Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
14065
- */
14066
- parent?: string;
14067
-
14068
- /**
14069
- * Request body metadata
14070
- */
14071
- requestBody?: Schema$GoogleCloudSecuritycenterV1MuteConfig;
14072
- }
14073
14452
  export interface Params$Resource$Organizations$Locations$Muteconfigs$Delete
14074
14453
  extends StandardParameters {
14075
14454
  /**
@@ -14084,21 +14463,6 @@ export namespace securitycenter_v1 {
14084
14463
  */
14085
14464
  name?: string;
14086
14465
  }
14087
- export interface Params$Resource$Organizations$Locations$Muteconfigs$List
14088
- extends StandardParameters {
14089
- /**
14090
- * The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
14091
- */
14092
- pageSize?: number;
14093
- /**
14094
- * A page token, received from a previous `ListMuteConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMuteConfigs` must match the call that provided the page token.
14095
- */
14096
- pageToken?: string;
14097
- /**
14098
- * Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.
14099
- */
14100
- parent?: string;
14101
- }
14102
14466
  export interface Params$Resource$Organizations$Locations$Muteconfigs$Patch
14103
14467
  extends StandardParameters {
14104
14468
  /**
@@ -15183,7 +15547,7 @@ export namespace securitycenter_v1 {
15183
15547
  }
15184
15548
 
15185
15549
  /**
15186
- * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
15550
+ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
15187
15551
  *
15188
15552
  * @param params - Parameters for request
15189
15553
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -21758,104 +22122,6 @@ export namespace securitycenter_v1 {
21758
22122
  this.context = context;
21759
22123
  }
21760
22124
 
21761
- /**
21762
- * Creates a mute config.
21763
- *
21764
- * @param params - Parameters for request
21765
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
21766
- * @param callback - Optional callback that handles the response.
21767
- * @returns A promise if used with async/await, or void if used with a callback.
21768
- */
21769
- create(
21770
- params: Params$Resource$Projects$Locations$Muteconfigs$Create,
21771
- options: StreamMethodOptions
21772
- ): GaxiosPromise<Readable>;
21773
- create(
21774
- params?: Params$Resource$Projects$Locations$Muteconfigs$Create,
21775
- options?: MethodOptions
21776
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
21777
- create(
21778
- params: Params$Resource$Projects$Locations$Muteconfigs$Create,
21779
- options: StreamMethodOptions | BodyResponseCallback<Readable>,
21780
- callback: BodyResponseCallback<Readable>
21781
- ): void;
21782
- create(
21783
- params: Params$Resource$Projects$Locations$Muteconfigs$Create,
21784
- options:
21785
- | MethodOptions
21786
- | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>,
21787
- callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
21788
- ): void;
21789
- create(
21790
- params: Params$Resource$Projects$Locations$Muteconfigs$Create,
21791
- callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
21792
- ): void;
21793
- create(
21794
- callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
21795
- ): void;
21796
- create(
21797
- paramsOrCallback?:
21798
- | Params$Resource$Projects$Locations$Muteconfigs$Create
21799
- | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
21800
- | BodyResponseCallback<Readable>,
21801
- optionsOrCallback?:
21802
- | MethodOptions
21803
- | StreamMethodOptions
21804
- | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
21805
- | BodyResponseCallback<Readable>,
21806
- callback?:
21807
- | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
21808
- | BodyResponseCallback<Readable>
21809
- ):
21810
- | void
21811
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
21812
- | GaxiosPromise<Readable> {
21813
- let params = (paramsOrCallback ||
21814
- {}) as Params$Resource$Projects$Locations$Muteconfigs$Create;
21815
- let options = (optionsOrCallback || {}) as MethodOptions;
21816
-
21817
- if (typeof paramsOrCallback === 'function') {
21818
- callback = paramsOrCallback;
21819
- params = {} as Params$Resource$Projects$Locations$Muteconfigs$Create;
21820
- options = {};
21821
- }
21822
-
21823
- if (typeof optionsOrCallback === 'function') {
21824
- callback = optionsOrCallback;
21825
- options = {};
21826
- }
21827
-
21828
- const rootUrl =
21829
- options.rootUrl || 'https://securitycenter.googleapis.com/';
21830
- const parameters = {
21831
- options: Object.assign(
21832
- {
21833
- url: (rootUrl + '/v1/{+parent}/muteConfigs').replace(
21834
- /([^:]\/)\/+/g,
21835
- '$1'
21836
- ),
21837
- method: 'POST',
21838
- apiVersion: '',
21839
- },
21840
- options
21841
- ),
21842
- params,
21843
- requiredParams: ['parent'],
21844
- pathParams: ['parent'],
21845
- context: this.context,
21846
- };
21847
- if (callback) {
21848
- createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
21849
- parameters,
21850
- callback as BodyResponseCallback<unknown>
21851
- );
21852
- } else {
21853
- return createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
21854
- parameters
21855
- );
21856
- }
21857
- }
21858
-
21859
22125
  /**
21860
22126
  * Deletes an existing mute config.
21861
22127
  *
@@ -22037,97 +22303,6 @@ export namespace securitycenter_v1 {
22037
22303
  }
22038
22304
  }
22039
22305
 
22040
- /**
22041
- * Lists mute configs.
22042
- *
22043
- * @param params - Parameters for request
22044
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
22045
- * @param callback - Optional callback that handles the response.
22046
- * @returns A promise if used with async/await, or void if used with a callback.
22047
- */
22048
- list(
22049
- params: Params$Resource$Projects$Locations$Muteconfigs$List,
22050
- options: StreamMethodOptions
22051
- ): GaxiosPromise<Readable>;
22052
- list(
22053
- params?: Params$Resource$Projects$Locations$Muteconfigs$List,
22054
- options?: MethodOptions
22055
- ): GaxiosPromise<Schema$ListMuteConfigsResponse>;
22056
- list(
22057
- params: Params$Resource$Projects$Locations$Muteconfigs$List,
22058
- options: StreamMethodOptions | BodyResponseCallback<Readable>,
22059
- callback: BodyResponseCallback<Readable>
22060
- ): void;
22061
- list(
22062
- params: Params$Resource$Projects$Locations$Muteconfigs$List,
22063
- options:
22064
- | MethodOptions
22065
- | BodyResponseCallback<Schema$ListMuteConfigsResponse>,
22066
- callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>
22067
- ): void;
22068
- list(
22069
- params: Params$Resource$Projects$Locations$Muteconfigs$List,
22070
- callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>
22071
- ): void;
22072
- list(callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>): void;
22073
- list(
22074
- paramsOrCallback?:
22075
- | Params$Resource$Projects$Locations$Muteconfigs$List
22076
- | BodyResponseCallback<Schema$ListMuteConfigsResponse>
22077
- | BodyResponseCallback<Readable>,
22078
- optionsOrCallback?:
22079
- | MethodOptions
22080
- | StreamMethodOptions
22081
- | BodyResponseCallback<Schema$ListMuteConfigsResponse>
22082
- | BodyResponseCallback<Readable>,
22083
- callback?:
22084
- | BodyResponseCallback<Schema$ListMuteConfigsResponse>
22085
- | BodyResponseCallback<Readable>
22086
- ):
22087
- | void
22088
- | GaxiosPromise<Schema$ListMuteConfigsResponse>
22089
- | GaxiosPromise<Readable> {
22090
- let params = (paramsOrCallback ||
22091
- {}) as Params$Resource$Projects$Locations$Muteconfigs$List;
22092
- let options = (optionsOrCallback || {}) as MethodOptions;
22093
-
22094
- if (typeof paramsOrCallback === 'function') {
22095
- callback = paramsOrCallback;
22096
- params = {} as Params$Resource$Projects$Locations$Muteconfigs$List;
22097
- options = {};
22098
- }
22099
-
22100
- if (typeof optionsOrCallback === 'function') {
22101
- callback = optionsOrCallback;
22102
- options = {};
22103
- }
22104
-
22105
- const rootUrl =
22106
- options.rootUrl || 'https://securitycenter.googleapis.com/';
22107
- const parameters = {
22108
- options: Object.assign(
22109
- {
22110
- url: (rootUrl + '/v1/{+parent}').replace(/([^:]\/)\/+/g, '$1'),
22111
- method: 'GET',
22112
- apiVersion: '',
22113
- },
22114
- options
22115
- ),
22116
- params,
22117
- requiredParams: ['parent'],
22118
- pathParams: ['parent'],
22119
- context: this.context,
22120
- };
22121
- if (callback) {
22122
- createAPIRequest<Schema$ListMuteConfigsResponse>(
22123
- parameters,
22124
- callback as BodyResponseCallback<unknown>
22125
- );
22126
- } else {
22127
- return createAPIRequest<Schema$ListMuteConfigsResponse>(parameters);
22128
- }
22129
- }
22130
-
22131
22306
  /**
22132
22307
  * Updates a mute config.
22133
22308
  *
@@ -22224,22 +22399,6 @@ export namespace securitycenter_v1 {
22224
22399
  }
22225
22400
  }
22226
22401
 
22227
- export interface Params$Resource$Projects$Locations$Muteconfigs$Create
22228
- extends StandardParameters {
22229
- /**
22230
- * Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.
22231
- */
22232
- muteConfigId?: string;
22233
- /**
22234
- * Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
22235
- */
22236
- parent?: string;
22237
-
22238
- /**
22239
- * Request body metadata
22240
- */
22241
- requestBody?: Schema$GoogleCloudSecuritycenterV1MuteConfig;
22242
- }
22243
22402
  export interface Params$Resource$Projects$Locations$Muteconfigs$Delete
22244
22403
  extends StandardParameters {
22245
22404
  /**
@@ -22254,21 +22413,6 @@ export namespace securitycenter_v1 {
22254
22413
  */
22255
22414
  name?: string;
22256
22415
  }
22257
- export interface Params$Resource$Projects$Locations$Muteconfigs$List
22258
- extends StandardParameters {
22259
- /**
22260
- * The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
22261
- */
22262
- pageSize?: number;
22263
- /**
22264
- * A page token, received from a previous `ListMuteConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMuteConfigs` must match the call that provided the page token.
22265
- */
22266
- pageToken?: string;
22267
- /**
22268
- * Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.
22269
- */
22270
- parent?: string;
22271
- }
22272
22416
  export interface Params$Resource$Projects$Locations$Muteconfigs$Patch
22273
22417
  extends StandardParameters {
22274
22418
  /**