@googleapis/securitycenter 9.1.0 → 11.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
@@ -295,13 +295,21 @@ export namespace securitycenter_v1 {
295
295
  */
296
296
  classification?: string | null;
297
297
  /**
298
- * Total BPS (bytes per second) volume of attack.
298
+ * Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.
299
299
  */
300
300
  volumeBps?: number | null;
301
301
  /**
302
- * Total PPS (packets per second) volume of attack.
302
+ * Total BPS (bytes per second) volume of attack.
303
+ */
304
+ volumeBpsLong?: string | null;
305
+ /**
306
+ * Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.
303
307
  */
304
308
  volumePps?: number | null;
309
+ /**
310
+ * Total PPS (packets per second) volume of attack.
311
+ */
312
+ volumePpsLong?: string | null;
305
313
  }
306
314
  /**
307
315
  * An attack exposure contains the results of an attack path simulation run.
@@ -536,6 +544,10 @@ export namespace securitycenter_v1 {
536
544
  * Represents an Azure resource group.
537
545
  */
538
546
  export interface Schema$AzureResourceGroup {
547
+ /**
548
+ * The ID of the Azure resource group.
549
+ */
550
+ id?: string | null;
539
551
  /**
540
552
  * The name of the Azure resource group. This is not a UUID.
541
553
  */
@@ -558,6 +570,10 @@ export namespace securitycenter_v1 {
558
570
  * Represents a Microsoft Entra tenant.
559
571
  */
560
572
  export interface Schema$AzureTenant {
573
+ /**
574
+ * The display name of the Azure tenant.
575
+ */
576
+ displayName?: string | null;
561
577
  /**
562
578
  * The ID of the Microsoft Entra tenant, for example, "a11aaa11-aa11-1aa1-11aa-1aaa11a".
563
579
  */
@@ -1067,6 +1083,27 @@ export namespace securitycenter_v1 {
1067
1083
  */
1068
1084
  violatedLocation?: string | null;
1069
1085
  }
1086
+ /**
1087
+ * 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.
1088
+ */
1089
+ export interface Schema$DataRetentionDeletionEvent {
1090
+ /**
1091
+ * 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.
1092
+ */
1093
+ dataObjectCount?: string | null;
1094
+ /**
1095
+ * Timestamp indicating when the event was detected.
1096
+ */
1097
+ eventDetectionTime?: string | null;
1098
+ /**
1099
+ * Type of the DRD event.
1100
+ */
1101
+ eventType?: string | null;
1102
+ /**
1103
+ * 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 set 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.
1104
+ */
1105
+ maxRetentionAllowed?: string | null;
1106
+ }
1070
1107
  /**
1071
1108
  * Memory hash detection contributing to the binary family match.
1072
1109
  */
@@ -1080,6 +1117,15 @@ export namespace securitycenter_v1 {
1080
1117
  */
1081
1118
  percentPagesMatched?: number | null;
1082
1119
  }
1120
+ /**
1121
+ * Contains information about the disk associated with the finding.
1122
+ */
1123
+ export interface Schema$Disk {
1124
+ /**
1125
+ * The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-id/zones/zone-id/disks/disk-id".
1126
+ */
1127
+ name?: string | null;
1128
+ }
1083
1129
  /**
1084
1130
  * Path of the file in terms of underlying disk/partition identifiers.
1085
1131
  */
@@ -1110,6 +1156,10 @@ export namespace securitycenter_v1 {
1110
1156
  * 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
1157
  */
1112
1158
  export interface Schema$EffectiveEventThreatDetectionCustomModule {
1159
+ /**
1160
+ * The cloud provider of the custom module.
1161
+ */
1162
+ cloudProvider?: string | null;
1113
1163
  /**
1114
1164
  * Output only. Config for the effective module.
1115
1165
  */
@@ -1160,6 +1210,10 @@ export namespace securitycenter_v1 {
1160
1210
  * 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
1211
  */
1162
1212
  ancestorModule?: string | null;
1213
+ /**
1214
+ * The cloud provider of the custom module.
1215
+ */
1216
+ cloudProvider?: string | null;
1163
1217
  /**
1164
1218
  * 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
1219
  */
@@ -1349,10 +1403,18 @@ export namespace securitycenter_v1 {
1349
1403
  * Data flow events associated with the finding.
1350
1404
  */
1351
1405
  dataFlowEvents?: Schema$DataFlowEvent[];
1406
+ /**
1407
+ * Data retention deletion events associated with the finding.
1408
+ */
1409
+ dataRetentionDeletionEvents?: Schema$DataRetentionDeletionEvent[];
1352
1410
  /**
1353
1411
  * Contains more details about the finding.
1354
1412
  */
1355
1413
  description?: string | null;
1414
+ /**
1415
+ * Disk associated with the finding.
1416
+ */
1417
+ disk?: Schema$Disk;
1356
1418
  /**
1357
1419
  * 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
1420
  */
@@ -1678,6 +1740,10 @@ export namespace securitycenter_v1 {
1678
1740
  * 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
1741
  */
1680
1742
  export interface Schema$GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule {
1743
+ /**
1744
+ * The cloud provider of the custom module.
1745
+ */
1746
+ cloudProvider?: string | null;
1681
1747
  /**
1682
1748
  * Output only. The user-specified configuration for the module.
1683
1749
  */
@@ -2076,7 +2142,7 @@ export namespace securitycenter_v1 {
2076
2142
  */
2077
2143
  sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping;
2078
2144
  /**
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
2145
+ * 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
2146
  */
2081
2147
  tagValues?: string[] | null;
2082
2148
  /**
@@ -2105,6 +2171,10 @@ export namespace securitycenter_v1 {
2105
2171
  * 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
2172
  */
2107
2173
  ancestorModule?: string | null;
2174
+ /**
2175
+ * The cloud provider of the custom module.
2176
+ */
2177
+ cloudProvider?: string | null;
2108
2178
  /**
2109
2179
  * The user specified custom configuration for the module.
2110
2180
  */
@@ -2256,13 +2326,21 @@ export namespace securitycenter_v1 {
2256
2326
  */
2257
2327
  classification?: string | null;
2258
2328
  /**
2259
- * Total BPS (bytes per second) volume of attack.
2329
+ * Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.
2260
2330
  */
2261
2331
  volumeBps?: number | null;
2262
2332
  /**
2263
- * Total PPS (packets per second) volume of attack.
2333
+ * Total BPS (bytes per second) volume of attack.
2334
+ */
2335
+ volumeBpsLong?: string | null;
2336
+ /**
2337
+ * Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.
2264
2338
  */
2265
2339
  volumePps?: number | null;
2340
+ /**
2341
+ * Total PPS (packets per second) volume of attack.
2342
+ */
2343
+ volumePpsLong?: string | null;
2266
2344
  }
2267
2345
  /**
2268
2346
  * An attack exposure contains the results of an attack path simulation run.
@@ -2387,6 +2465,10 @@ export namespace securitycenter_v1 {
2387
2465
  * Represents an Azure resource group.
2388
2466
  */
2389
2467
  export interface Schema$GoogleCloudSecuritycenterV2AzureResourceGroup {
2468
+ /**
2469
+ * The ID of the Azure resource group.
2470
+ */
2471
+ id?: string | null;
2390
2472
  /**
2391
2473
  * The name of the Azure resource group. This is not a UUID.
2392
2474
  */
@@ -2409,6 +2491,10 @@ export namespace securitycenter_v1 {
2409
2491
  * Represents a Microsoft Entra tenant.
2410
2492
  */
2411
2493
  export interface Schema$GoogleCloudSecuritycenterV2AzureTenant {
2494
+ /**
2495
+ * The display name of the Azure tenant.
2496
+ */
2497
+ displayName?: string | null;
2412
2498
  /**
2413
2499
  * The ID of the Microsoft Entra tenant, for example, "a11aaa11-aa11-1aa1-11aa-1aaa11a".
2414
2500
  */
@@ -2851,6 +2937,27 @@ export namespace securitycenter_v1 {
2851
2937
  */
2852
2938
  violatedLocation?: string | null;
2853
2939
  }
2940
+ /**
2941
+ * 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.
2942
+ */
2943
+ export interface Schema$GoogleCloudSecuritycenterV2DataRetentionDeletionEvent {
2944
+ /**
2945
+ * 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.
2946
+ */
2947
+ dataObjectCount?: string | null;
2948
+ /**
2949
+ * Timestamp indicating when the event was detected.
2950
+ */
2951
+ eventDetectionTime?: string | null;
2952
+ /**
2953
+ * Type of the DRD event.
2954
+ */
2955
+ eventType?: string | null;
2956
+ /**
2957
+ * 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 set 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.
2958
+ */
2959
+ maxRetentionAllowed?: string | null;
2960
+ }
2854
2961
  /**
2855
2962
  * Memory hash detection contributing to the binary family match.
2856
2963
  */
@@ -2864,6 +2971,15 @@ export namespace securitycenter_v1 {
2864
2971
  */
2865
2972
  percentPagesMatched?: number | null;
2866
2973
  }
2974
+ /**
2975
+ * Contains information about the disk associated with the finding.
2976
+ */
2977
+ export interface Schema$GoogleCloudSecuritycenterV2Disk {
2978
+ /**
2979
+ * The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-id/zones/zone-id/disks/disk-id".
2980
+ */
2981
+ name?: string | null;
2982
+ }
2867
2983
  /**
2868
2984
  * Path of the file in terms of underlying disk/partition identifiers.
2869
2985
  */
@@ -3089,10 +3205,18 @@ export namespace securitycenter_v1 {
3089
3205
  * Data flow events associated with the finding.
3090
3206
  */
3091
3207
  dataFlowEvents?: Schema$GoogleCloudSecuritycenterV2DataFlowEvent[];
3208
+ /**
3209
+ * Data retention deletion events associated with the finding.
3210
+ */
3211
+ dataRetentionDeletionEvents?: Schema$GoogleCloudSecuritycenterV2DataRetentionDeletionEvent[];
3092
3212
  /**
3093
3213
  * Contains more details about the finding.
3094
3214
  */
3095
3215
  description?: string | null;
3216
+ /**
3217
+ * Disk associated with the finding.
3218
+ */
3219
+ disk?: Schema$GoogleCloudSecuritycenterV2Disk;
3096
3220
  /**
3097
3221
  * 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
3222
  */
@@ -3305,6 +3429,269 @@ export namespace securitycenter_v1 {
3305
3429
  */
3306
3430
  uris?: string[] | null;
3307
3431
  }
3432
+ /**
3433
+ * Security Command Center Issue.
3434
+ */
3435
+ export interface Schema$GoogleCloudSecuritycenterV2Issue {
3436
+ /**
3437
+ * Output only. The time the issue was created.
3438
+ */
3439
+ createTime?: string | null;
3440
+ /**
3441
+ * The description of the issue in Markdown format.
3442
+ */
3443
+ description?: string | null;
3444
+ /**
3445
+ * The finding category or rule name that generated the issue.
3446
+ */
3447
+ detection?: string | null;
3448
+ /**
3449
+ * The domains of the issue.
3450
+ */
3451
+ domains?: Schema$GoogleCloudSecuritycenterV2IssueDomain[];
3452
+ /**
3453
+ * The exposure score of the issue.
3454
+ */
3455
+ exposureScore?: number | null;
3456
+ /**
3457
+ * The type of the issue.
3458
+ */
3459
+ issueType?: string | null;
3460
+ /**
3461
+ * The time the issue was last observed.
3462
+ */
3463
+ lastObservationTime?: string | null;
3464
+ /**
3465
+ * The mute information of the issue.
3466
+ */
3467
+ mute?: Schema$GoogleCloudSecuritycenterV2IssueMute;
3468
+ /**
3469
+ * Identifier. The name of the issue. Format: organizations/{organization\}/locations/{location\}/issues/{issue\}
3470
+ */
3471
+ name?: string | null;
3472
+ /**
3473
+ * The primary resource associated with the issue.
3474
+ */
3475
+ primaryResource?: Schema$GoogleCloudSecuritycenterV2IssueResource;
3476
+ /**
3477
+ * The findings related to the issue.
3478
+ */
3479
+ relatedFindings?: Schema$GoogleCloudSecuritycenterV2IssueFinding[];
3480
+ /**
3481
+ * Approaches to remediate the issue in Markdown format.
3482
+ */
3483
+ remediations?: string[] | null;
3484
+ /**
3485
+ * Additional resources associated with the issue.
3486
+ */
3487
+ secondaryResources?: Schema$GoogleCloudSecuritycenterV2IssueResource[];
3488
+ /**
3489
+ * The security context of the issue.
3490
+ */
3491
+ securityContexts?: Schema$GoogleCloudSecuritycenterV2IssueSecurityContext[];
3492
+ /**
3493
+ * The severity of the issue.
3494
+ */
3495
+ severity?: string | null;
3496
+ /**
3497
+ * Output only. The state of the issue.
3498
+ */
3499
+ state?: string | null;
3500
+ /**
3501
+ * Output only. The time the issue was last updated.
3502
+ */
3503
+ updateTime?: string | null;
3504
+ }
3505
+ /**
3506
+ * The domains of an issue.
3507
+ */
3508
+ export interface Schema$GoogleCloudSecuritycenterV2IssueDomain {
3509
+ /**
3510
+ * The domain category of the issue.
3511
+ */
3512
+ domainCategory?: string | null;
3513
+ }
3514
+ /**
3515
+ * Finding related to an issue.
3516
+ */
3517
+ export interface Schema$GoogleCloudSecuritycenterV2IssueFinding {
3518
+ /**
3519
+ * The CVE of the finding.
3520
+ */
3521
+ cve?: Schema$GoogleCloudSecuritycenterV2IssueFindingCve;
3522
+ /**
3523
+ * The name of the finding.
3524
+ */
3525
+ name?: string | null;
3526
+ /**
3527
+ * The security bulletin of the finding.
3528
+ */
3529
+ securityBulletin?: Schema$GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin;
3530
+ }
3531
+ /**
3532
+ * The CVE of the finding.
3533
+ */
3534
+ export interface Schema$GoogleCloudSecuritycenterV2IssueFindingCve {
3535
+ /**
3536
+ * The CVE name.
3537
+ */
3538
+ name?: string | null;
3539
+ }
3540
+ /**
3541
+ * The security bulletin of the finding.
3542
+ */
3543
+ export interface Schema$GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin {
3544
+ /**
3545
+ * The security bulletin name.
3546
+ */
3547
+ name?: string | null;
3548
+ }
3549
+ /**
3550
+ * The mute information of the issue.
3551
+ */
3552
+ export interface Schema$GoogleCloudSecuritycenterV2IssueMute {
3553
+ /**
3554
+ * The email address of the user who last changed the mute state of the issue.
3555
+ */
3556
+ muteInitiator?: string | null;
3557
+ /**
3558
+ * The user-provided reason for muting the issue.
3559
+ */
3560
+ muteReason?: string | null;
3561
+ /**
3562
+ * Output only. The mute state of the issue.
3563
+ */
3564
+ muteState?: string | null;
3565
+ /**
3566
+ * The time the issue was muted.
3567
+ */
3568
+ muteUpdateTime?: string | null;
3569
+ }
3570
+ /**
3571
+ * A resource associated with the an issue.
3572
+ */
3573
+ export interface Schema$GoogleCloudSecuritycenterV2IssueResource {
3574
+ /**
3575
+ * The AWS metadata of the resource associated with the issue. Only populated for AWS resources.
3576
+ */
3577
+ awsMetadata?: Schema$GoogleCloudSecuritycenterV2IssueResourceAwsMetadata;
3578
+ /**
3579
+ * The Azure metadata of the resource associated with the issue. Only populated for Azure resources.
3580
+ */
3581
+ azureMetadata?: Schema$GoogleCloudSecuritycenterV2IssueResourceAzureMetadata;
3582
+ /**
3583
+ * The cloud provider of the resource associated with the issue.
3584
+ */
3585
+ cloudProvider?: string | null;
3586
+ /**
3587
+ * The resource-type specific display name of the resource associated with the issue.
3588
+ */
3589
+ displayName?: string | null;
3590
+ /**
3591
+ * The Google Cloud metadata of the resource associated with the issue. Only populated for Google Cloud resources.
3592
+ */
3593
+ googleCloudMetadata?: Schema$GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata;
3594
+ /**
3595
+ * The full resource name of the resource associated with the issue.
3596
+ */
3597
+ name?: string | null;
3598
+ /**
3599
+ * The type of the resource associated with the issue.
3600
+ */
3601
+ type?: string | null;
3602
+ }
3603
+ /**
3604
+ * The AWS metadata of a resource associated with an issue.
3605
+ */
3606
+ export interface Schema$GoogleCloudSecuritycenterV2IssueResourceAwsMetadata {
3607
+ /**
3608
+ * The AWS account of the resource associated with the issue.
3609
+ */
3610
+ account?: Schema$GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount;
3611
+ }
3612
+ /**
3613
+ * The AWS account of the resource associated with the issue.
3614
+ */
3615
+ export interface Schema$GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount {
3616
+ /**
3617
+ * The AWS account ID of the resource associated with the issue.
3618
+ */
3619
+ id?: string | null;
3620
+ /**
3621
+ * The AWS account name of the resource associated with the issue.
3622
+ */
3623
+ name?: string | null;
3624
+ }
3625
+ /**
3626
+ * The Azure metadata of a resource associated with an issue.
3627
+ */
3628
+ export interface Schema$GoogleCloudSecuritycenterV2IssueResourceAzureMetadata {
3629
+ /**
3630
+ * The Azure subscription of the resource associated with the issue.
3631
+ */
3632
+ subscription?: Schema$GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription;
3633
+ }
3634
+ /**
3635
+ * The Azure subscription of the resource associated with the issue.
3636
+ */
3637
+ export interface Schema$GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription {
3638
+ /**
3639
+ * The Azure subscription display name of the resource associated with the issue.
3640
+ */
3641
+ displayName?: string | null;
3642
+ /**
3643
+ * The Azure subscription ID of the resource associated with the issue.
3644
+ */
3645
+ id?: string | null;
3646
+ }
3647
+ /**
3648
+ * Google Cloud metadata of a resource associated with an issue.
3649
+ */
3650
+ export interface Schema$GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata {
3651
+ /**
3652
+ * The project ID that the resource associated with the issue belongs to.
3653
+ */
3654
+ projectId?: string | null;
3655
+ }
3656
+ /**
3657
+ * Security context associated with an issue.
3658
+ */
3659
+ export interface Schema$GoogleCloudSecuritycenterV2IssueSecurityContext {
3660
+ /**
3661
+ * The aggregated count of the security context.
3662
+ */
3663
+ aggregatedCount?: Schema$GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount;
3664
+ /**
3665
+ * The context of the security context.
3666
+ */
3667
+ context?: Schema$GoogleCloudSecuritycenterV2IssueSecurityContextContext;
3668
+ }
3669
+ /**
3670
+ * Aggregated count of a security context.
3671
+ */
3672
+ export interface Schema$GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount {
3673
+ /**
3674
+ * Aggregation key.
3675
+ */
3676
+ key?: string | null;
3677
+ /**
3678
+ * Aggregation value.
3679
+ */
3680
+ value?: number | null;
3681
+ }
3682
+ /**
3683
+ * Context of a security context.
3684
+ */
3685
+ export interface Schema$GoogleCloudSecuritycenterV2IssueSecurityContextContext {
3686
+ /**
3687
+ * Context type.
3688
+ */
3689
+ type?: string | null;
3690
+ /**
3691
+ * Context values.
3692
+ */
3693
+ values?: string[] | null;
3694
+ }
3308
3695
  /**
3309
3696
  * Kernel mode rootkit signatures.
3310
3697
  */
@@ -3863,7 +4250,7 @@ export namespace securitycenter_v1 {
3863
4250
  */
3864
4251
  sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping;
3865
4252
  /**
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
4253
+ * 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
4254
  */
3868
4255
  tagValues?: string[] | null;
3869
4256
  /**
@@ -5307,7 +5694,7 @@ export namespace securitycenter_v1 {
5307
5694
  */
5308
5695
  export interface Schema$SetFindingStateRequest {
5309
5696
  /**
5310
- * Required. The time at which the updated state takes effect.
5697
+ * Optional. The time at which the updated state takes effect. If unset, defaults to the request time.
5311
5698
  */
5312
5699
  startTime?: string | null;
5313
5700
  /**
@@ -7718,121 +8105,23 @@ export namespace securitycenter_v1 {
7718
8105
  }
7719
8106
 
7720
8107
  /**
7721
- * Creates a mute config.
8108
+ * Deletes an existing mute config.
7722
8109
  *
7723
8110
  * @param params - Parameters for request
7724
8111
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
7725
8112
  * @param callback - Optional callback that handles the response.
7726
8113
  * @returns A promise if used with async/await, or void if used with a callback.
7727
8114
  */
7728
- create(
7729
- params: Params$Resource$Folders$Locations$Muteconfigs$Create,
8115
+ delete(
8116
+ params: Params$Resource$Folders$Locations$Muteconfigs$Delete,
7730
8117
  options: StreamMethodOptions
7731
8118
  ): GaxiosPromise<Readable>;
7732
- create(
7733
- params?: Params$Resource$Folders$Locations$Muteconfigs$Create,
8119
+ delete(
8120
+ params?: Params$Resource$Folders$Locations$Muteconfigs$Delete,
7734
8121
  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
- /**
7819
- * Deletes an existing mute config.
7820
- *
7821
- * @param params - Parameters for request
7822
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
7823
- * @param callback - Optional callback that handles the response.
7824
- * @returns A promise if used with async/await, or void if used with a callback.
7825
- */
7826
- delete(
7827
- params: Params$Resource$Folders$Locations$Muteconfigs$Delete,
7828
- options: StreamMethodOptions
7829
- ): GaxiosPromise<Readable>;
7830
- delete(
7831
- params?: Params$Resource$Folders$Locations$Muteconfigs$Delete,
7832
- options?: MethodOptions
7833
- ): GaxiosPromise<Schema$Empty>;
7834
- delete(
7835
- params: Params$Resource$Folders$Locations$Muteconfigs$Delete,
8122
+ ): GaxiosPromise<Schema$Empty>;
8123
+ delete(
8124
+ params: Params$Resource$Folders$Locations$Muteconfigs$Delete,
7836
8125
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
7837
8126
  callback: BodyResponseCallback<Readable>
7838
8127
  ): void;
@@ -7996,97 +8285,6 @@ export namespace securitycenter_v1 {
7996
8285
  }
7997
8286
  }
7998
8287
 
7999
- /**
8000
- * Lists mute configs.
8001
- *
8002
- * @param params - Parameters for request
8003
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
8004
- * @param callback - Optional callback that handles the response.
8005
- * @returns A promise if used with async/await, or void if used with a callback.
8006
- */
8007
- list(
8008
- params: Params$Resource$Folders$Locations$Muteconfigs$List,
8009
- options: StreamMethodOptions
8010
- ): GaxiosPromise<Readable>;
8011
- list(
8012
- params?: Params$Resource$Folders$Locations$Muteconfigs$List,
8013
- options?: MethodOptions
8014
- ): GaxiosPromise<Schema$ListMuteConfigsResponse>;
8015
- list(
8016
- params: Params$Resource$Folders$Locations$Muteconfigs$List,
8017
- options: StreamMethodOptions | BodyResponseCallback<Readable>,
8018
- callback: BodyResponseCallback<Readable>
8019
- ): void;
8020
- list(
8021
- params: Params$Resource$Folders$Locations$Muteconfigs$List,
8022
- options:
8023
- | MethodOptions
8024
- | BodyResponseCallback<Schema$ListMuteConfigsResponse>,
8025
- callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>
8026
- ): void;
8027
- list(
8028
- params: Params$Resource$Folders$Locations$Muteconfigs$List,
8029
- callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>
8030
- ): void;
8031
- list(callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>): void;
8032
- list(
8033
- paramsOrCallback?:
8034
- | Params$Resource$Folders$Locations$Muteconfigs$List
8035
- | BodyResponseCallback<Schema$ListMuteConfigsResponse>
8036
- | BodyResponseCallback<Readable>,
8037
- optionsOrCallback?:
8038
- | MethodOptions
8039
- | StreamMethodOptions
8040
- | BodyResponseCallback<Schema$ListMuteConfigsResponse>
8041
- | BodyResponseCallback<Readable>,
8042
- callback?:
8043
- | BodyResponseCallback<Schema$ListMuteConfigsResponse>
8044
- | BodyResponseCallback<Readable>
8045
- ):
8046
- | void
8047
- | GaxiosPromise<Schema$ListMuteConfigsResponse>
8048
- | GaxiosPromise<Readable> {
8049
- let params = (paramsOrCallback ||
8050
- {}) as Params$Resource$Folders$Locations$Muteconfigs$List;
8051
- let options = (optionsOrCallback || {}) as MethodOptions;
8052
-
8053
- if (typeof paramsOrCallback === 'function') {
8054
- callback = paramsOrCallback;
8055
- params = {} as Params$Resource$Folders$Locations$Muteconfigs$List;
8056
- options = {};
8057
- }
8058
-
8059
- if (typeof optionsOrCallback === 'function') {
8060
- callback = optionsOrCallback;
8061
- options = {};
8062
- }
8063
-
8064
- const rootUrl =
8065
- options.rootUrl || 'https://securitycenter.googleapis.com/';
8066
- const parameters = {
8067
- options: Object.assign(
8068
- {
8069
- url: (rootUrl + '/v1/{+parent}').replace(/([^:]\/)\/+/g, '$1'),
8070
- method: 'GET',
8071
- apiVersion: '',
8072
- },
8073
- options
8074
- ),
8075
- params,
8076
- requiredParams: ['parent'],
8077
- pathParams: ['parent'],
8078
- context: this.context,
8079
- };
8080
- if (callback) {
8081
- createAPIRequest<Schema$ListMuteConfigsResponse>(
8082
- parameters,
8083
- callback as BodyResponseCallback<unknown>
8084
- );
8085
- } else {
8086
- return createAPIRequest<Schema$ListMuteConfigsResponse>(parameters);
8087
- }
8088
- }
8089
-
8090
8288
  /**
8091
8289
  * Updates a mute config.
8092
8290
  *
@@ -8183,22 +8381,6 @@ export namespace securitycenter_v1 {
8183
8381
  }
8184
8382
  }
8185
8383
 
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
8384
  export interface Params$Resource$Folders$Locations$Muteconfigs$Delete
8203
8385
  extends StandardParameters {
8204
8386
  /**
@@ -8213,21 +8395,6 @@ export namespace securitycenter_v1 {
8213
8395
  */
8214
8396
  name?: string;
8215
8397
  }
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
8398
  export interface Params$Resource$Folders$Locations$Muteconfigs$Patch
8232
8399
  extends StandardParameters {
8233
8400
  /**
@@ -11212,6 +11379,7 @@ export namespace securitycenter_v1 {
11212
11379
  export class Resource$Organizations {
11213
11380
  context: APIRequestContext;
11214
11381
  assets: Resource$Organizations$Assets;
11382
+ attackPaths: Resource$Organizations$Attackpaths;
11215
11383
  bigQueryExports: Resource$Organizations$Bigqueryexports;
11216
11384
  eventThreatDetectionSettings: Resource$Organizations$Eventthreatdetectionsettings;
11217
11385
  findings: Resource$Organizations$Findings;
@@ -11227,6 +11395,7 @@ export namespace securitycenter_v1 {
11227
11395
  constructor(context: APIRequestContext) {
11228
11396
  this.context = context;
11229
11397
  this.assets = new Resource$Organizations$Assets(this.context);
11398
+ this.attackPaths = new Resource$Organizations$Attackpaths(this.context);
11230
11399
  this.bigQueryExports = new Resource$Organizations$Bigqueryexports(
11231
11400
  this.context
11232
11401
  );
@@ -11911,6 +12080,127 @@ export namespace securitycenter_v1 {
11911
12080
  requestBody?: Schema$SecurityMarks;
11912
12081
  }
11913
12082
 
12083
+ export class Resource$Organizations$Attackpaths {
12084
+ context: APIRequestContext;
12085
+ constructor(context: APIRequestContext) {
12086
+ this.context = context;
12087
+ }
12088
+
12089
+ /**
12090
+ * Lists the attack paths for a set of simulation results or valued resources and filter.
12091
+ *
12092
+ * @param params - Parameters for request
12093
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
12094
+ * @param callback - Optional callback that handles the response.
12095
+ * @returns A promise if used with async/await, or void if used with a callback.
12096
+ */
12097
+ list(
12098
+ params: Params$Resource$Organizations$Attackpaths$List,
12099
+ options: StreamMethodOptions
12100
+ ): GaxiosPromise<Readable>;
12101
+ list(
12102
+ params?: Params$Resource$Organizations$Attackpaths$List,
12103
+ options?: MethodOptions
12104
+ ): GaxiosPromise<Schema$ListAttackPathsResponse>;
12105
+ list(
12106
+ params: Params$Resource$Organizations$Attackpaths$List,
12107
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
12108
+ callback: BodyResponseCallback<Readable>
12109
+ ): void;
12110
+ list(
12111
+ params: Params$Resource$Organizations$Attackpaths$List,
12112
+ options:
12113
+ | MethodOptions
12114
+ | BodyResponseCallback<Schema$ListAttackPathsResponse>,
12115
+ callback: BodyResponseCallback<Schema$ListAttackPathsResponse>
12116
+ ): void;
12117
+ list(
12118
+ params: Params$Resource$Organizations$Attackpaths$List,
12119
+ callback: BodyResponseCallback<Schema$ListAttackPathsResponse>
12120
+ ): void;
12121
+ list(callback: BodyResponseCallback<Schema$ListAttackPathsResponse>): void;
12122
+ list(
12123
+ paramsOrCallback?:
12124
+ | Params$Resource$Organizations$Attackpaths$List
12125
+ | BodyResponseCallback<Schema$ListAttackPathsResponse>
12126
+ | BodyResponseCallback<Readable>,
12127
+ optionsOrCallback?:
12128
+ | MethodOptions
12129
+ | StreamMethodOptions
12130
+ | BodyResponseCallback<Schema$ListAttackPathsResponse>
12131
+ | BodyResponseCallback<Readable>,
12132
+ callback?:
12133
+ | BodyResponseCallback<Schema$ListAttackPathsResponse>
12134
+ | BodyResponseCallback<Readable>
12135
+ ):
12136
+ | void
12137
+ | GaxiosPromise<Schema$ListAttackPathsResponse>
12138
+ | GaxiosPromise<Readable> {
12139
+ let params = (paramsOrCallback ||
12140
+ {}) as Params$Resource$Organizations$Attackpaths$List;
12141
+ let options = (optionsOrCallback || {}) as MethodOptions;
12142
+
12143
+ if (typeof paramsOrCallback === 'function') {
12144
+ callback = paramsOrCallback;
12145
+ params = {} as Params$Resource$Organizations$Attackpaths$List;
12146
+ options = {};
12147
+ }
12148
+
12149
+ if (typeof optionsOrCallback === 'function') {
12150
+ callback = optionsOrCallback;
12151
+ options = {};
12152
+ }
12153
+
12154
+ const rootUrl =
12155
+ options.rootUrl || 'https://securitycenter.googleapis.com/';
12156
+ const parameters = {
12157
+ options: Object.assign(
12158
+ {
12159
+ url: (rootUrl + '/v1/{+parent}/attackPaths').replace(
12160
+ /([^:]\/)\/+/g,
12161
+ '$1'
12162
+ ),
12163
+ method: 'GET',
12164
+ apiVersion: '',
12165
+ },
12166
+ options
12167
+ ),
12168
+ params,
12169
+ requiredParams: ['parent'],
12170
+ pathParams: ['parent'],
12171
+ context: this.context,
12172
+ };
12173
+ if (callback) {
12174
+ createAPIRequest<Schema$ListAttackPathsResponse>(
12175
+ parameters,
12176
+ callback as BodyResponseCallback<unknown>
12177
+ );
12178
+ } else {
12179
+ return createAPIRequest<Schema$ListAttackPathsResponse>(parameters);
12180
+ }
12181
+ }
12182
+ }
12183
+
12184
+ export interface Params$Resource$Organizations$Attackpaths$List
12185
+ extends StandardParameters {
12186
+ /**
12187
+ * The filter expression that filters the attack path in the response. Supported fields: * `valued_resources` supports =
12188
+ */
12189
+ filter?: string;
12190
+ /**
12191
+ * The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.
12192
+ */
12193
+ pageSize?: number;
12194
+ /**
12195
+ * 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.
12196
+ */
12197
+ pageToken?: string;
12198
+ /**
12199
+ * 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\}`
12200
+ */
12201
+ parent?: string;
12202
+ }
12203
+
11914
12204
  export class Resource$Organizations$Bigqueryexports {
11915
12205
  context: APIRequestContext;
11916
12206
  constructor(context: APIRequestContext) {
@@ -13585,105 +13875,6 @@ export namespace securitycenter_v1 {
13585
13875
  this.context = context;
13586
13876
  }
13587
13877
 
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
13878
  /**
13688
13879
  * Deletes an existing mute config.
13689
13880
  *
@@ -13804,125 +13995,32 @@ export namespace securitycenter_v1 {
13804
13995
  callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13805
13996
  ): void;
13806
13997
  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>
13998
+ callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13900
13999
  ): void;
13901
- list(callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>): void;
13902
- list(
14000
+ get(
13903
14001
  paramsOrCallback?:
13904
- | Params$Resource$Organizations$Locations$Muteconfigs$List
13905
- | BodyResponseCallback<Schema$ListMuteConfigsResponse>
14002
+ | Params$Resource$Organizations$Locations$Muteconfigs$Get
14003
+ | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13906
14004
  | BodyResponseCallback<Readable>,
13907
14005
  optionsOrCallback?:
13908
14006
  | MethodOptions
13909
14007
  | StreamMethodOptions
13910
- | BodyResponseCallback<Schema$ListMuteConfigsResponse>
14008
+ | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13911
14009
  | BodyResponseCallback<Readable>,
13912
14010
  callback?:
13913
- | BodyResponseCallback<Schema$ListMuteConfigsResponse>
14011
+ | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13914
14012
  | BodyResponseCallback<Readable>
13915
14013
  ):
13916
14014
  | void
13917
- | GaxiosPromise<Schema$ListMuteConfigsResponse>
14015
+ | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
13918
14016
  | GaxiosPromise<Readable> {
13919
14017
  let params = (paramsOrCallback ||
13920
- {}) as Params$Resource$Organizations$Locations$Muteconfigs$List;
14018
+ {}) as Params$Resource$Organizations$Locations$Muteconfigs$Get;
13921
14019
  let options = (optionsOrCallback || {}) as MethodOptions;
13922
14020
 
13923
14021
  if (typeof paramsOrCallback === 'function') {
13924
14022
  callback = paramsOrCallback;
13925
- params = {} as Params$Resource$Organizations$Locations$Muteconfigs$List;
14023
+ params = {} as Params$Resource$Organizations$Locations$Muteconfigs$Get;
13926
14024
  options = {};
13927
14025
  }
13928
14026
 
@@ -13936,24 +14034,26 @@ export namespace securitycenter_v1 {
13936
14034
  const parameters = {
13937
14035
  options: Object.assign(
13938
14036
  {
13939
- url: (rootUrl + '/v1/{+parent}').replace(/([^:]\/)\/+/g, '$1'),
14037
+ url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
13940
14038
  method: 'GET',
13941
14039
  apiVersion: '',
13942
14040
  },
13943
14041
  options
13944
14042
  ),
13945
14043
  params,
13946
- requiredParams: ['parent'],
13947
- pathParams: ['parent'],
14044
+ requiredParams: ['name'],
14045
+ pathParams: ['name'],
13948
14046
  context: this.context,
13949
14047
  };
13950
14048
  if (callback) {
13951
- createAPIRequest<Schema$ListMuteConfigsResponse>(
14049
+ createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
13952
14050
  parameters,
13953
14051
  callback as BodyResponseCallback<unknown>
13954
14052
  );
13955
14053
  } else {
13956
- return createAPIRequest<Schema$ListMuteConfigsResponse>(parameters);
14054
+ return createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
14055
+ parameters
14056
+ );
13957
14057
  }
13958
14058
  }
13959
14059
 
@@ -14054,22 +14154,6 @@ export namespace securitycenter_v1 {
14054
14154
  }
14055
14155
  }
14056
14156
 
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
14157
  export interface Params$Resource$Organizations$Locations$Muteconfigs$Delete
14074
14158
  extends StandardParameters {
14075
14159
  /**
@@ -14084,21 +14168,6 @@ export namespace securitycenter_v1 {
14084
14168
  */
14085
14169
  name?: string;
14086
14170
  }
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
14171
  export interface Params$Resource$Organizations$Locations$Muteconfigs$Patch
14103
14172
  extends StandardParameters {
14104
14173
  /**
@@ -15183,7 +15252,7 @@ export namespace securitycenter_v1 {
15183
15252
  }
15184
15253
 
15185
15254
  /**
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`.
15255
+ * 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
15256
  *
15188
15257
  * @param params - Parameters for request
15189
15258
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -21758,104 +21827,6 @@ export namespace securitycenter_v1 {
21758
21827
  this.context = context;
21759
21828
  }
21760
21829
 
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
21830
  /**
21860
21831
  * Deletes an existing mute config.
21861
21832
  *
@@ -22037,97 +22008,6 @@ export namespace securitycenter_v1 {
22037
22008
  }
22038
22009
  }
22039
22010
 
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
22011
  /**
22132
22012
  * Updates a mute config.
22133
22013
  *
@@ -22224,22 +22104,6 @@ export namespace securitycenter_v1 {
22224
22104
  }
22225
22105
  }
22226
22106
 
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
22107
  export interface Params$Resource$Projects$Locations$Muteconfigs$Delete
22244
22108
  extends StandardParameters {
22245
22109
  /**
@@ -22254,21 +22118,6 @@ export namespace securitycenter_v1 {
22254
22118
  */
22255
22119
  name?: string;
22256
22120
  }
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
22121
  export interface Params$Resource$Projects$Locations$Muteconfigs$Patch
22273
22122
  extends StandardParameters {
22274
22123
  /**