@googleapis/securitycenter 9.0.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/CHANGELOG.md +33 -0
- package/build/v1.d.ts +660 -221
- package/build/v1.js +78 -193
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +530 -9
- package/build/v1beta1.js.map +1 -1
- package/build/v1beta2.d.ts +591 -6
- package/build/v1beta2.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +941 -819
- package/v1beta1.ts +530 -9
- package/v1beta2.ts +591 -6
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
|
|
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.
|
|
@@ -527,11 +535,19 @@ export namespace securitycenter_v1 {
|
|
|
527
535
|
* The Azure subscription associated with the resource.
|
|
528
536
|
*/
|
|
529
537
|
subscription?: Schema$AzureSubscription;
|
|
538
|
+
/**
|
|
539
|
+
* The Azure Entra tenant associated with the resource.
|
|
540
|
+
*/
|
|
541
|
+
tenant?: Schema$AzureTenant;
|
|
530
542
|
}
|
|
531
543
|
/**
|
|
532
544
|
* Represents an Azure resource group.
|
|
533
545
|
*/
|
|
534
546
|
export interface Schema$AzureResourceGroup {
|
|
547
|
+
/**
|
|
548
|
+
* The ID of the Azure resource group.
|
|
549
|
+
*/
|
|
550
|
+
id?: string | null;
|
|
535
551
|
/**
|
|
536
552
|
* The name of the Azure resource group. This is not a UUID.
|
|
537
553
|
*/
|
|
@@ -550,6 +566,19 @@ export namespace securitycenter_v1 {
|
|
|
550
566
|
*/
|
|
551
567
|
id?: string | null;
|
|
552
568
|
}
|
|
569
|
+
/**
|
|
570
|
+
* Represents a Microsoft Entra tenant.
|
|
571
|
+
*/
|
|
572
|
+
export interface Schema$AzureTenant {
|
|
573
|
+
/**
|
|
574
|
+
* The display name of the Azure tenant.
|
|
575
|
+
*/
|
|
576
|
+
displayName?: string | null;
|
|
577
|
+
/**
|
|
578
|
+
* The ID of the Microsoft Entra tenant, for example, "a11aaa11-aa11-1aa1-11aa-1aaa11a".
|
|
579
|
+
*/
|
|
580
|
+
id?: string | null;
|
|
581
|
+
}
|
|
553
582
|
/**
|
|
554
583
|
* Information related to Google Cloud Backup and DR Service findings.
|
|
555
584
|
*/
|
|
@@ -909,6 +938,10 @@ export namespace securitycenter_v1 {
|
|
|
909
938
|
* Date the first publicly available exploit or PoC was released.
|
|
910
939
|
*/
|
|
911
940
|
exploitReleaseDate?: string | null;
|
|
941
|
+
/**
|
|
942
|
+
* Date of the earliest known exploitation.
|
|
943
|
+
*/
|
|
944
|
+
firstExploitationDate?: string | null;
|
|
912
945
|
/**
|
|
913
946
|
* The unique identifier for the vulnerability. e.g. CVE-2021-34527
|
|
914
947
|
*/
|
|
@@ -975,6 +1008,27 @@ export namespace securitycenter_v1 {
|
|
|
975
1008
|
*/
|
|
976
1009
|
userInteraction?: string | null;
|
|
977
1010
|
}
|
|
1011
|
+
/**
|
|
1012
|
+
* Details about a data access attempt made by a principal not authorized under applicable data security policy.
|
|
1013
|
+
*/
|
|
1014
|
+
export interface Schema$DataAccessEvent {
|
|
1015
|
+
/**
|
|
1016
|
+
* Unique identifier for data access event.
|
|
1017
|
+
*/
|
|
1018
|
+
eventId?: string | null;
|
|
1019
|
+
/**
|
|
1020
|
+
* Timestamp of data access event.
|
|
1021
|
+
*/
|
|
1022
|
+
eventTime?: string | null;
|
|
1023
|
+
/**
|
|
1024
|
+
* The operation performed by the principal to access the data.
|
|
1025
|
+
*/
|
|
1026
|
+
operation?: string | null;
|
|
1027
|
+
/**
|
|
1028
|
+
* The email address of the principal that accessed the data. The principal could be a user account, service account, Google group, or other.
|
|
1029
|
+
*/
|
|
1030
|
+
principalEmail?: string | null;
|
|
1031
|
+
}
|
|
978
1032
|
/**
|
|
979
1033
|
* Represents database access information, such as queries. A database may be a sub-resource of an instance (as in the case of Cloud SQL instances or Cloud Spanner instances), or the database instance itself. Some database resources might not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types, such as Cloud SQL databases, are not yet supported by Cloud Asset Inventory. In these cases only the display name is provided.
|
|
980
1034
|
*/
|
|
@@ -1004,6 +1058,52 @@ export namespace securitycenter_v1 {
|
|
|
1004
1058
|
*/
|
|
1005
1059
|
version?: string | null;
|
|
1006
1060
|
}
|
|
1061
|
+
/**
|
|
1062
|
+
* Details about a data flow event, in which either the data is moved to or is accessed from a non-compliant geo-location, as defined in the applicable data security policy.
|
|
1063
|
+
*/
|
|
1064
|
+
export interface Schema$DataFlowEvent {
|
|
1065
|
+
/**
|
|
1066
|
+
* Unique identifier for data flow event.
|
|
1067
|
+
*/
|
|
1068
|
+
eventId?: string | null;
|
|
1069
|
+
/**
|
|
1070
|
+
* Timestamp of data flow event.
|
|
1071
|
+
*/
|
|
1072
|
+
eventTime?: string | null;
|
|
1073
|
+
/**
|
|
1074
|
+
* The operation performed by the principal for the data flow event.
|
|
1075
|
+
*/
|
|
1076
|
+
operation?: string | null;
|
|
1077
|
+
/**
|
|
1078
|
+
* The email address of the principal that initiated the data flow event. The principal could be a user account, service account, Google group, or other.
|
|
1079
|
+
*/
|
|
1080
|
+
principalEmail?: string | null;
|
|
1081
|
+
/**
|
|
1082
|
+
* Non-compliant location of the principal or the data destination.
|
|
1083
|
+
*/
|
|
1084
|
+
violatedLocation?: string | null;
|
|
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
|
+
}
|
|
1007
1107
|
/**
|
|
1008
1108
|
* Memory hash detection contributing to the binary family match.
|
|
1009
1109
|
*/
|
|
@@ -1017,6 +1117,15 @@ export namespace securitycenter_v1 {
|
|
|
1017
1117
|
*/
|
|
1018
1118
|
percentPagesMatched?: number | null;
|
|
1019
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
|
+
}
|
|
1020
1129
|
/**
|
|
1021
1130
|
* Path of the file in terms of underlying disk/partition identifiers.
|
|
1022
1131
|
*/
|
|
@@ -1047,6 +1156,10 @@ export namespace securitycenter_v1 {
|
|
|
1047
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.
|
|
1048
1157
|
*/
|
|
1049
1158
|
export interface Schema$EffectiveEventThreatDetectionCustomModule {
|
|
1159
|
+
/**
|
|
1160
|
+
* The cloud provider of the custom module.
|
|
1161
|
+
*/
|
|
1162
|
+
cloudProvider?: string | null;
|
|
1050
1163
|
/**
|
|
1051
1164
|
* Output only. Config for the effective module.
|
|
1052
1165
|
*/
|
|
@@ -1097,6 +1210,10 @@ export namespace securitycenter_v1 {
|
|
|
1097
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.
|
|
1098
1211
|
*/
|
|
1099
1212
|
ancestorModule?: string | null;
|
|
1213
|
+
/**
|
|
1214
|
+
* The cloud provider of the custom module.
|
|
1215
|
+
*/
|
|
1216
|
+
cloudProvider?: string | null;
|
|
1100
1217
|
/**
|
|
1101
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.
|
|
1102
1219
|
*/
|
|
@@ -1274,14 +1391,30 @@ export namespace securitycenter_v1 {
|
|
|
1274
1391
|
* The time at which the finding was created in Security Command Center.
|
|
1275
1392
|
*/
|
|
1276
1393
|
createTime?: string | null;
|
|
1394
|
+
/**
|
|
1395
|
+
* Data access events associated with the finding.
|
|
1396
|
+
*/
|
|
1397
|
+
dataAccessEvents?: Schema$DataAccessEvent[];
|
|
1277
1398
|
/**
|
|
1278
1399
|
* Database associated with the finding.
|
|
1279
1400
|
*/
|
|
1280
1401
|
database?: Schema$Database;
|
|
1402
|
+
/**
|
|
1403
|
+
* Data flow events associated with the finding.
|
|
1404
|
+
*/
|
|
1405
|
+
dataFlowEvents?: Schema$DataFlowEvent[];
|
|
1406
|
+
/**
|
|
1407
|
+
* Data retention deletion events associated with the finding.
|
|
1408
|
+
*/
|
|
1409
|
+
dataRetentionDeletionEvents?: Schema$DataRetentionDeletionEvent[];
|
|
1281
1410
|
/**
|
|
1282
1411
|
* Contains more details about the finding.
|
|
1283
1412
|
*/
|
|
1284
1413
|
description?: string | null;
|
|
1414
|
+
/**
|
|
1415
|
+
* Disk associated with the finding.
|
|
1416
|
+
*/
|
|
1417
|
+
disk?: Schema$Disk;
|
|
1285
1418
|
/**
|
|
1286
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.
|
|
1287
1420
|
*/
|
|
@@ -1607,6 +1740,10 @@ export namespace securitycenter_v1 {
|
|
|
1607
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.
|
|
1608
1741
|
*/
|
|
1609
1742
|
export interface Schema$GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule {
|
|
1743
|
+
/**
|
|
1744
|
+
* The cloud provider of the custom module.
|
|
1745
|
+
*/
|
|
1746
|
+
cloudProvider?: string | null;
|
|
1610
1747
|
/**
|
|
1611
1748
|
* Output only. The user-specified configuration for the module.
|
|
1612
1749
|
*/
|
|
@@ -2005,7 +2142,7 @@ export namespace securitycenter_v1 {
|
|
|
2005
2142
|
*/
|
|
2006
2143
|
sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping;
|
|
2007
2144
|
/**
|
|
2008
|
-
* Required. Tag values combined with `AND` to check against.
|
|
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
|
|
2009
2146
|
*/
|
|
2010
2147
|
tagValues?: string[] | null;
|
|
2011
2148
|
/**
|
|
@@ -2034,6 +2171,10 @@ export namespace securitycenter_v1 {
|
|
|
2034
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.
|
|
2035
2172
|
*/
|
|
2036
2173
|
ancestorModule?: string | null;
|
|
2174
|
+
/**
|
|
2175
|
+
* The cloud provider of the custom module.
|
|
2176
|
+
*/
|
|
2177
|
+
cloudProvider?: string | null;
|
|
2037
2178
|
/**
|
|
2038
2179
|
* The user specified custom configuration for the module.
|
|
2039
2180
|
*/
|
|
@@ -2185,13 +2326,21 @@ export namespace securitycenter_v1 {
|
|
|
2185
2326
|
*/
|
|
2186
2327
|
classification?: string | null;
|
|
2187
2328
|
/**
|
|
2188
|
-
* Total BPS (bytes per second) volume of attack.
|
|
2329
|
+
* Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.
|
|
2189
2330
|
*/
|
|
2190
2331
|
volumeBps?: number | null;
|
|
2191
2332
|
/**
|
|
2192
|
-
* Total
|
|
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.
|
|
2193
2338
|
*/
|
|
2194
2339
|
volumePps?: number | null;
|
|
2340
|
+
/**
|
|
2341
|
+
* Total PPS (packets per second) volume of attack.
|
|
2342
|
+
*/
|
|
2343
|
+
volumePpsLong?: string | null;
|
|
2195
2344
|
}
|
|
2196
2345
|
/**
|
|
2197
2346
|
* An attack exposure contains the results of an attack path simulation run.
|
|
@@ -2307,11 +2456,19 @@ export namespace securitycenter_v1 {
|
|
|
2307
2456
|
* The Azure subscription associated with the resource.
|
|
2308
2457
|
*/
|
|
2309
2458
|
subscription?: Schema$GoogleCloudSecuritycenterV2AzureSubscription;
|
|
2459
|
+
/**
|
|
2460
|
+
* The Azure Entra tenant associated with the resource.
|
|
2461
|
+
*/
|
|
2462
|
+
tenant?: Schema$GoogleCloudSecuritycenterV2AzureTenant;
|
|
2310
2463
|
}
|
|
2311
2464
|
/**
|
|
2312
2465
|
* Represents an Azure resource group.
|
|
2313
2466
|
*/
|
|
2314
2467
|
export interface Schema$GoogleCloudSecuritycenterV2AzureResourceGroup {
|
|
2468
|
+
/**
|
|
2469
|
+
* The ID of the Azure resource group.
|
|
2470
|
+
*/
|
|
2471
|
+
id?: string | null;
|
|
2315
2472
|
/**
|
|
2316
2473
|
* The name of the Azure resource group. This is not a UUID.
|
|
2317
2474
|
*/
|
|
@@ -2330,6 +2487,19 @@ export namespace securitycenter_v1 {
|
|
|
2330
2487
|
*/
|
|
2331
2488
|
id?: string | null;
|
|
2332
2489
|
}
|
|
2490
|
+
/**
|
|
2491
|
+
* Represents a Microsoft Entra tenant.
|
|
2492
|
+
*/
|
|
2493
|
+
export interface Schema$GoogleCloudSecuritycenterV2AzureTenant {
|
|
2494
|
+
/**
|
|
2495
|
+
* The display name of the Azure tenant.
|
|
2496
|
+
*/
|
|
2497
|
+
displayName?: string | null;
|
|
2498
|
+
/**
|
|
2499
|
+
* The ID of the Microsoft Entra tenant, for example, "a11aaa11-aa11-1aa1-11aa-1aaa11a".
|
|
2500
|
+
*/
|
|
2501
|
+
id?: string | null;
|
|
2502
|
+
}
|
|
2333
2503
|
/**
|
|
2334
2504
|
* Information related to Google Cloud Backup and DR Service findings.
|
|
2335
2505
|
*/
|
|
@@ -2622,6 +2792,10 @@ export namespace securitycenter_v1 {
|
|
|
2622
2792
|
* Date the first publicly available exploit or PoC was released.
|
|
2623
2793
|
*/
|
|
2624
2794
|
exploitReleaseDate?: string | null;
|
|
2795
|
+
/**
|
|
2796
|
+
* Date of the earliest known exploitation.
|
|
2797
|
+
*/
|
|
2798
|
+
firstExploitationDate?: string | null;
|
|
2625
2799
|
/**
|
|
2626
2800
|
* The unique identifier for the vulnerability. e.g. CVE-2021-34527
|
|
2627
2801
|
*/
|
|
@@ -2688,6 +2862,27 @@ export namespace securitycenter_v1 {
|
|
|
2688
2862
|
*/
|
|
2689
2863
|
userInteraction?: string | null;
|
|
2690
2864
|
}
|
|
2865
|
+
/**
|
|
2866
|
+
* Details about a data access attempt made by a principal not authorized under applicable data security policy.
|
|
2867
|
+
*/
|
|
2868
|
+
export interface Schema$GoogleCloudSecuritycenterV2DataAccessEvent {
|
|
2869
|
+
/**
|
|
2870
|
+
* Unique identifier for data access event.
|
|
2871
|
+
*/
|
|
2872
|
+
eventId?: string | null;
|
|
2873
|
+
/**
|
|
2874
|
+
* Timestamp of data access event.
|
|
2875
|
+
*/
|
|
2876
|
+
eventTime?: string | null;
|
|
2877
|
+
/**
|
|
2878
|
+
* The operation performed by the principal to access the data.
|
|
2879
|
+
*/
|
|
2880
|
+
operation?: string | null;
|
|
2881
|
+
/**
|
|
2882
|
+
* The email address of the principal that accessed the data. The principal could be a user account, service account, Google group, or other.
|
|
2883
|
+
*/
|
|
2884
|
+
principalEmail?: string | null;
|
|
2885
|
+
}
|
|
2691
2886
|
/**
|
|
2692
2887
|
* Represents database access information, such as queries. A database may be a sub-resource of an instance (as in the case of Cloud SQL instances or Cloud Spanner instances), or the database instance itself. Some database resources might not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types, such as Cloud SQL databases, are not yet supported by Cloud Asset Inventory. In these cases only the display name is provided.
|
|
2693
2888
|
*/
|
|
@@ -2717,6 +2912,52 @@ export namespace securitycenter_v1 {
|
|
|
2717
2912
|
*/
|
|
2718
2913
|
version?: string | null;
|
|
2719
2914
|
}
|
|
2915
|
+
/**
|
|
2916
|
+
* Details about a data flow event, in which either the data is moved to or is accessed from a non-compliant geo-location, as defined in the applicable data security policy.
|
|
2917
|
+
*/
|
|
2918
|
+
export interface Schema$GoogleCloudSecuritycenterV2DataFlowEvent {
|
|
2919
|
+
/**
|
|
2920
|
+
* Unique identifier for data flow event.
|
|
2921
|
+
*/
|
|
2922
|
+
eventId?: string | null;
|
|
2923
|
+
/**
|
|
2924
|
+
* Timestamp of data flow event.
|
|
2925
|
+
*/
|
|
2926
|
+
eventTime?: string | null;
|
|
2927
|
+
/**
|
|
2928
|
+
* The operation performed by the principal for the data flow event.
|
|
2929
|
+
*/
|
|
2930
|
+
operation?: string | null;
|
|
2931
|
+
/**
|
|
2932
|
+
* The email address of the principal that initiated the data flow event. The principal could be a user account, service account, Google group, or other.
|
|
2933
|
+
*/
|
|
2934
|
+
principalEmail?: string | null;
|
|
2935
|
+
/**
|
|
2936
|
+
* Non-compliant location of the principal or the data destination.
|
|
2937
|
+
*/
|
|
2938
|
+
violatedLocation?: string | null;
|
|
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
|
+
}
|
|
2720
2961
|
/**
|
|
2721
2962
|
* Memory hash detection contributing to the binary family match.
|
|
2722
2963
|
*/
|
|
@@ -2730,6 +2971,15 @@ export namespace securitycenter_v1 {
|
|
|
2730
2971
|
*/
|
|
2731
2972
|
percentPagesMatched?: number | null;
|
|
2732
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
|
+
}
|
|
2733
2983
|
/**
|
|
2734
2984
|
* Path of the file in terms of underlying disk/partition identifiers.
|
|
2735
2985
|
*/
|
|
@@ -2943,14 +3193,30 @@ export namespace securitycenter_v1 {
|
|
|
2943
3193
|
* Output only. The time at which the finding was created in Security Command Center.
|
|
2944
3194
|
*/
|
|
2945
3195
|
createTime?: string | null;
|
|
3196
|
+
/**
|
|
3197
|
+
* Data access events associated with the finding.
|
|
3198
|
+
*/
|
|
3199
|
+
dataAccessEvents?: Schema$GoogleCloudSecuritycenterV2DataAccessEvent[];
|
|
2946
3200
|
/**
|
|
2947
3201
|
* Database associated with the finding.
|
|
2948
3202
|
*/
|
|
2949
3203
|
database?: Schema$GoogleCloudSecuritycenterV2Database;
|
|
3204
|
+
/**
|
|
3205
|
+
* Data flow events associated with the finding.
|
|
3206
|
+
*/
|
|
3207
|
+
dataFlowEvents?: Schema$GoogleCloudSecuritycenterV2DataFlowEvent[];
|
|
3208
|
+
/**
|
|
3209
|
+
* Data retention deletion events associated with the finding.
|
|
3210
|
+
*/
|
|
3211
|
+
dataRetentionDeletionEvents?: Schema$GoogleCloudSecuritycenterV2DataRetentionDeletionEvent[];
|
|
2950
3212
|
/**
|
|
2951
3213
|
* Contains more details about the finding.
|
|
2952
3214
|
*/
|
|
2953
3215
|
description?: string | null;
|
|
3216
|
+
/**
|
|
3217
|
+
* Disk associated with the finding.
|
|
3218
|
+
*/
|
|
3219
|
+
disk?: Schema$GoogleCloudSecuritycenterV2Disk;
|
|
2954
3220
|
/**
|
|
2955
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.
|
|
2956
3222
|
*/
|
|
@@ -3164,141 +3430,404 @@ export namespace securitycenter_v1 {
|
|
|
3164
3430
|
uris?: string[] | null;
|
|
3165
3431
|
}
|
|
3166
3432
|
/**
|
|
3167
|
-
*
|
|
3433
|
+
* Security Command Center Issue.
|
|
3168
3434
|
*/
|
|
3169
|
-
export interface Schema$
|
|
3435
|
+
export interface Schema$GoogleCloudSecuritycenterV2Issue {
|
|
3170
3436
|
/**
|
|
3171
|
-
*
|
|
3437
|
+
* Output only. The time the issue was created.
|
|
3172
3438
|
*/
|
|
3173
|
-
|
|
3439
|
+
createTime?: string | null;
|
|
3174
3440
|
/**
|
|
3175
|
-
*
|
|
3441
|
+
* The description of the issue in Markdown format.
|
|
3176
3442
|
*/
|
|
3177
|
-
|
|
3443
|
+
description?: string | null;
|
|
3178
3444
|
/**
|
|
3179
|
-
*
|
|
3445
|
+
* The finding category or rule name that generated the issue.
|
|
3180
3446
|
*/
|
|
3181
|
-
|
|
3447
|
+
detection?: string | null;
|
|
3182
3448
|
/**
|
|
3183
|
-
*
|
|
3449
|
+
* The domains of the issue.
|
|
3184
3450
|
*/
|
|
3185
|
-
|
|
3451
|
+
domains?: Schema$GoogleCloudSecuritycenterV2IssueDomain[];
|
|
3186
3452
|
/**
|
|
3187
|
-
*
|
|
3453
|
+
* The exposure score of the issue.
|
|
3188
3454
|
*/
|
|
3189
|
-
|
|
3455
|
+
exposureScore?: number | null;
|
|
3190
3456
|
/**
|
|
3191
|
-
*
|
|
3457
|
+
* The type of the issue.
|
|
3192
3458
|
*/
|
|
3193
|
-
|
|
3459
|
+
issueType?: string | null;
|
|
3194
3460
|
/**
|
|
3195
|
-
*
|
|
3461
|
+
* The time the issue was last observed.
|
|
3196
3462
|
*/
|
|
3197
|
-
|
|
3463
|
+
lastObservationTime?: string | null;
|
|
3198
3464
|
/**
|
|
3199
|
-
*
|
|
3465
|
+
* The mute information of the issue.
|
|
3200
3466
|
*/
|
|
3201
|
-
|
|
3467
|
+
mute?: Schema$GoogleCloudSecuritycenterV2IssueMute;
|
|
3202
3468
|
/**
|
|
3203
|
-
*
|
|
3469
|
+
* Identifier. The name of the issue. Format: organizations/{organization\}/locations/{location\}/issues/{issue\}
|
|
3204
3470
|
*/
|
|
3205
|
-
|
|
3206
|
-
}
|
|
3207
|
-
/**
|
|
3208
|
-
* Kubernetes-related attributes.
|
|
3209
|
-
*/
|
|
3210
|
-
export interface Schema$GoogleCloudSecuritycenterV2Kubernetes {
|
|
3471
|
+
name?: string | null;
|
|
3211
3472
|
/**
|
|
3212
|
-
*
|
|
3473
|
+
* The primary resource associated with the issue.
|
|
3213
3474
|
*/
|
|
3214
|
-
|
|
3475
|
+
primaryResource?: Schema$GoogleCloudSecuritycenterV2IssueResource;
|
|
3215
3476
|
/**
|
|
3216
|
-
*
|
|
3477
|
+
* The findings related to the issue.
|
|
3217
3478
|
*/
|
|
3218
|
-
|
|
3479
|
+
relatedFindings?: Schema$GoogleCloudSecuritycenterV2IssueFinding[];
|
|
3219
3480
|
/**
|
|
3220
|
-
*
|
|
3481
|
+
* Approaches to remediate the issue in Markdown format.
|
|
3221
3482
|
*/
|
|
3222
|
-
|
|
3483
|
+
remediations?: string[] | null;
|
|
3223
3484
|
/**
|
|
3224
|
-
*
|
|
3485
|
+
* Additional resources associated with the issue.
|
|
3225
3486
|
*/
|
|
3226
|
-
|
|
3487
|
+
secondaryResources?: Schema$GoogleCloudSecuritycenterV2IssueResource[];
|
|
3227
3488
|
/**
|
|
3228
|
-
*
|
|
3489
|
+
* The security context of the issue.
|
|
3229
3490
|
*/
|
|
3230
|
-
|
|
3491
|
+
securityContexts?: Schema$GoogleCloudSecuritycenterV2IssueSecurityContext[];
|
|
3231
3492
|
/**
|
|
3232
|
-
*
|
|
3493
|
+
* The severity of the issue.
|
|
3233
3494
|
*/
|
|
3234
|
-
|
|
3495
|
+
severity?: string | null;
|
|
3235
3496
|
/**
|
|
3236
|
-
*
|
|
3497
|
+
* Output only. The state of the issue.
|
|
3237
3498
|
*/
|
|
3238
|
-
|
|
3499
|
+
state?: string | null;
|
|
3500
|
+
/**
|
|
3501
|
+
* Output only. The time the issue was last updated.
|
|
3502
|
+
*/
|
|
3503
|
+
updateTime?: string | null;
|
|
3239
3504
|
}
|
|
3240
3505
|
/**
|
|
3241
|
-
*
|
|
3506
|
+
* The domains of an issue.
|
|
3242
3507
|
*/
|
|
3243
|
-
export interface Schema$
|
|
3508
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueDomain {
|
|
3244
3509
|
/**
|
|
3245
|
-
*
|
|
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.
|
|
3246
3524
|
*/
|
|
3247
3525
|
name?: string | null;
|
|
3248
3526
|
/**
|
|
3249
|
-
*
|
|
3527
|
+
* The security bulletin of the finding.
|
|
3250
3528
|
*/
|
|
3251
|
-
|
|
3529
|
+
securityBulletin?: Schema$GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin;
|
|
3252
3530
|
}
|
|
3253
3531
|
/**
|
|
3254
|
-
*
|
|
3532
|
+
* The CVE of the finding.
|
|
3255
3533
|
*/
|
|
3256
|
-
export interface Schema$
|
|
3534
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueFindingCve {
|
|
3257
3535
|
/**
|
|
3258
|
-
* The name
|
|
3536
|
+
* The CVE name.
|
|
3259
3537
|
*/
|
|
3260
3538
|
name?: string | null;
|
|
3261
3539
|
}
|
|
3262
3540
|
/**
|
|
3263
|
-
*
|
|
3541
|
+
* The security bulletin of the finding.
|
|
3264
3542
|
*/
|
|
3265
|
-
export interface Schema$
|
|
3543
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin {
|
|
3266
3544
|
/**
|
|
3267
|
-
*
|
|
3545
|
+
* The security bulletin name.
|
|
3268
3546
|
*/
|
|
3269
|
-
|
|
3547
|
+
name?: string | null;
|
|
3270
3548
|
}
|
|
3271
3549
|
/**
|
|
3272
|
-
*
|
|
3550
|
+
* The mute information of the issue.
|
|
3273
3551
|
*/
|
|
3274
|
-
export interface Schema$
|
|
3552
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueMute {
|
|
3275
3553
|
/**
|
|
3276
|
-
* The
|
|
3554
|
+
* The email address of the user who last changed the mute state of the issue.
|
|
3277
3555
|
*/
|
|
3278
|
-
|
|
3556
|
+
muteInitiator?: string | null;
|
|
3279
3557
|
/**
|
|
3280
|
-
* The
|
|
3558
|
+
* The user-provided reason for muting the issue.
|
|
3281
3559
|
*/
|
|
3282
|
-
|
|
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;
|
|
3283
3569
|
}
|
|
3284
3570
|
/**
|
|
3285
|
-
*
|
|
3571
|
+
* A resource associated with the an issue.
|
|
3286
3572
|
*/
|
|
3287
|
-
export interface Schema$
|
|
3573
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueResource {
|
|
3288
3574
|
/**
|
|
3289
|
-
*
|
|
3575
|
+
* The AWS metadata of the resource associated with the issue. Only populated for AWS resources.
|
|
3290
3576
|
*/
|
|
3291
|
-
|
|
3577
|
+
awsMetadata?: Schema$GoogleCloudSecuritycenterV2IssueResourceAwsMetadata;
|
|
3292
3578
|
/**
|
|
3293
|
-
*
|
|
3579
|
+
* The Azure metadata of the resource associated with the issue. Only populated for Azure resources.
|
|
3294
3580
|
*/
|
|
3295
|
-
|
|
3581
|
+
azureMetadata?: Schema$GoogleCloudSecuritycenterV2IssueResourceAzureMetadata;
|
|
3296
3582
|
/**
|
|
3297
|
-
* The
|
|
3583
|
+
* The cloud provider of the resource associated with the issue.
|
|
3298
3584
|
*/
|
|
3299
|
-
|
|
3585
|
+
cloudProvider?: string | null;
|
|
3300
3586
|
/**
|
|
3301
|
-
* The
|
|
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
|
+
}
|
|
3695
|
+
/**
|
|
3696
|
+
* Kernel mode rootkit signatures.
|
|
3697
|
+
*/
|
|
3698
|
+
export interface Schema$GoogleCloudSecuritycenterV2KernelRootkit {
|
|
3699
|
+
/**
|
|
3700
|
+
* Rootkit name, when available.
|
|
3701
|
+
*/
|
|
3702
|
+
name?: string | null;
|
|
3703
|
+
/**
|
|
3704
|
+
* True if unexpected modifications of kernel code memory are present.
|
|
3705
|
+
*/
|
|
3706
|
+
unexpectedCodeModification?: boolean | null;
|
|
3707
|
+
/**
|
|
3708
|
+
* True if `ftrace` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.
|
|
3709
|
+
*/
|
|
3710
|
+
unexpectedFtraceHandler?: boolean | null;
|
|
3711
|
+
/**
|
|
3712
|
+
* True if interrupt handlers that are are not in the expected kernel or module code regions are present.
|
|
3713
|
+
*/
|
|
3714
|
+
unexpectedInterruptHandler?: boolean | null;
|
|
3715
|
+
/**
|
|
3716
|
+
* True if kernel code pages that are not in the expected kernel or module code regions are present.
|
|
3717
|
+
*/
|
|
3718
|
+
unexpectedKernelCodePages?: boolean | null;
|
|
3719
|
+
/**
|
|
3720
|
+
* True if `kprobe` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.
|
|
3721
|
+
*/
|
|
3722
|
+
unexpectedKprobeHandler?: boolean | null;
|
|
3723
|
+
/**
|
|
3724
|
+
* 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.
|
|
3725
|
+
*/
|
|
3726
|
+
unexpectedProcessesInRunqueue?: boolean | null;
|
|
3727
|
+
/**
|
|
3728
|
+
* True if unexpected modifications of kernel read-only data memory are present.
|
|
3729
|
+
*/
|
|
3730
|
+
unexpectedReadOnlyDataModification?: boolean | null;
|
|
3731
|
+
/**
|
|
3732
|
+
* True if system call handlers that are are not in the expected kernel or module code regions are present.
|
|
3733
|
+
*/
|
|
3734
|
+
unexpectedSystemCallHandler?: boolean | null;
|
|
3735
|
+
}
|
|
3736
|
+
/**
|
|
3737
|
+
* Kubernetes-related attributes.
|
|
3738
|
+
*/
|
|
3739
|
+
export interface Schema$GoogleCloudSecuritycenterV2Kubernetes {
|
|
3740
|
+
/**
|
|
3741
|
+
* Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.
|
|
3742
|
+
*/
|
|
3743
|
+
accessReviews?: Schema$GoogleCloudSecuritycenterV2AccessReview[];
|
|
3744
|
+
/**
|
|
3745
|
+
* 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).
|
|
3746
|
+
*/
|
|
3747
|
+
bindings?: Schema$GoogleCloudSecuritycenterV2Binding[];
|
|
3748
|
+
/**
|
|
3749
|
+
* 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.
|
|
3750
|
+
*/
|
|
3751
|
+
nodePools?: Schema$GoogleCloudSecuritycenterV2NodePool[];
|
|
3752
|
+
/**
|
|
3753
|
+
* Provides Kubernetes [node](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#nodes) information.
|
|
3754
|
+
*/
|
|
3755
|
+
nodes?: Schema$GoogleCloudSecuritycenterV2Node[];
|
|
3756
|
+
/**
|
|
3757
|
+
* Kubernetes objects related to the finding.
|
|
3758
|
+
*/
|
|
3759
|
+
objects?: Schema$GoogleCloudSecuritycenterV2Object[];
|
|
3760
|
+
/**
|
|
3761
|
+
* 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.
|
|
3762
|
+
*/
|
|
3763
|
+
pods?: Schema$GoogleCloudSecuritycenterV2Pod[];
|
|
3764
|
+
/**
|
|
3765
|
+
* Provides Kubernetes role information for findings that involve [Roles or ClusterRoles](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).
|
|
3766
|
+
*/
|
|
3767
|
+
roles?: Schema$GoogleCloudSecuritycenterV2Role[];
|
|
3768
|
+
}
|
|
3769
|
+
/**
|
|
3770
|
+
* 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).
|
|
3771
|
+
*/
|
|
3772
|
+
export interface Schema$GoogleCloudSecuritycenterV2Label {
|
|
3773
|
+
/**
|
|
3774
|
+
* Name of the label.
|
|
3775
|
+
*/
|
|
3776
|
+
name?: string | null;
|
|
3777
|
+
/**
|
|
3778
|
+
* Value that corresponds to the label's name.
|
|
3779
|
+
*/
|
|
3780
|
+
value?: string | null;
|
|
3781
|
+
}
|
|
3782
|
+
/**
|
|
3783
|
+
* Contains information related to the load balancer associated with the finding.
|
|
3784
|
+
*/
|
|
3785
|
+
export interface Schema$GoogleCloudSecuritycenterV2LoadBalancer {
|
|
3786
|
+
/**
|
|
3787
|
+
* The name of the load balancer associated with the finding.
|
|
3788
|
+
*/
|
|
3789
|
+
name?: string | null;
|
|
3790
|
+
}
|
|
3791
|
+
/**
|
|
3792
|
+
* An individual entry in a log.
|
|
3793
|
+
*/
|
|
3794
|
+
export interface Schema$GoogleCloudSecuritycenterV2LogEntry {
|
|
3795
|
+
/**
|
|
3796
|
+
* An individual entry in a log stored in Cloud Logging.
|
|
3797
|
+
*/
|
|
3798
|
+
cloudLoggingEntry?: Schema$GoogleCloudSecuritycenterV2CloudLoggingEntry;
|
|
3799
|
+
}
|
|
3800
|
+
/**
|
|
3801
|
+
* A signature corresponding to memory page hashes.
|
|
3802
|
+
*/
|
|
3803
|
+
export interface Schema$GoogleCloudSecuritycenterV2MemoryHashSignature {
|
|
3804
|
+
/**
|
|
3805
|
+
* The binary family.
|
|
3806
|
+
*/
|
|
3807
|
+
binaryFamily?: string | null;
|
|
3808
|
+
/**
|
|
3809
|
+
* The list of memory hash detections contributing to the binary family match.
|
|
3810
|
+
*/
|
|
3811
|
+
detections?: Schema$GoogleCloudSecuritycenterV2Detection[];
|
|
3812
|
+
}
|
|
3813
|
+
/**
|
|
3814
|
+
* MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org
|
|
3815
|
+
*/
|
|
3816
|
+
export interface Schema$GoogleCloudSecuritycenterV2MitreAttack {
|
|
3817
|
+
/**
|
|
3818
|
+
* Additional MITRE ATT&CK tactics related to this finding, if any.
|
|
3819
|
+
*/
|
|
3820
|
+
additionalTactics?: string[] | null;
|
|
3821
|
+
/**
|
|
3822
|
+
* Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.
|
|
3823
|
+
*/
|
|
3824
|
+
additionalTechniques?: string[] | null;
|
|
3825
|
+
/**
|
|
3826
|
+
* The MITRE ATT&CK tactic most closely represented by this finding, if any.
|
|
3827
|
+
*/
|
|
3828
|
+
primaryTactic?: string | null;
|
|
3829
|
+
/**
|
|
3830
|
+
* The MITRE ATT&CK technique most closely represented by this finding, if any. primary_techniques is a repeated field because there are multiple levels of MITRE ATT&CK techniques. If the technique most closely represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`), both the sub-technique and its parent technique(s) will be listed (e.g. `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).
|
|
3302
3831
|
*/
|
|
3303
3832
|
primaryTechniques?: string[] | null;
|
|
3304
3833
|
/**
|
|
@@ -3721,7 +4250,7 @@ export namespace securitycenter_v1 {
|
|
|
3721
4250
|
*/
|
|
3722
4251
|
sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping;
|
|
3723
4252
|
/**
|
|
3724
|
-
* Tag values combined with `AND` to check against.
|
|
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
|
|
3725
4254
|
*/
|
|
3726
4255
|
tagValues?: string[] | null;
|
|
3727
4256
|
/**
|
|
@@ -5165,7 +5694,7 @@ export namespace securitycenter_v1 {
|
|
|
5165
5694
|
*/
|
|
5166
5695
|
export interface Schema$SetFindingStateRequest {
|
|
5167
5696
|
/**
|
|
5168
|
-
*
|
|
5697
|
+
* Optional. The time at which the updated state takes effect. If unset, defaults to the request time.
|
|
5169
5698
|
*/
|
|
5170
5699
|
startTime?: string | null;
|
|
5171
5700
|
/**
|
|
@@ -7576,64 +8105,57 @@ export namespace securitycenter_v1 {
|
|
|
7576
8105
|
}
|
|
7577
8106
|
|
|
7578
8107
|
/**
|
|
7579
|
-
*
|
|
8108
|
+
* Deletes an existing mute config.
|
|
7580
8109
|
*
|
|
7581
8110
|
* @param params - Parameters for request
|
|
7582
8111
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
7583
8112
|
* @param callback - Optional callback that handles the response.
|
|
7584
8113
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
7585
8114
|
*/
|
|
7586
|
-
|
|
7587
|
-
params: Params$Resource$Folders$Locations$Muteconfigs$
|
|
8115
|
+
delete(
|
|
8116
|
+
params: Params$Resource$Folders$Locations$Muteconfigs$Delete,
|
|
7588
8117
|
options: StreamMethodOptions
|
|
7589
8118
|
): GaxiosPromise<Readable>;
|
|
7590
|
-
|
|
7591
|
-
params?: Params$Resource$Folders$Locations$Muteconfigs$
|
|
8119
|
+
delete(
|
|
8120
|
+
params?: Params$Resource$Folders$Locations$Muteconfigs$Delete,
|
|
7592
8121
|
options?: MethodOptions
|
|
7593
|
-
): GaxiosPromise<Schema$
|
|
7594
|
-
|
|
7595
|
-
params: Params$Resource$Folders$Locations$Muteconfigs$
|
|
8122
|
+
): GaxiosPromise<Schema$Empty>;
|
|
8123
|
+
delete(
|
|
8124
|
+
params: Params$Resource$Folders$Locations$Muteconfigs$Delete,
|
|
7596
8125
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
7597
8126
|
callback: BodyResponseCallback<Readable>
|
|
7598
8127
|
): void;
|
|
7599
|
-
|
|
7600
|
-
params: Params$Resource$Folders$Locations$Muteconfigs$
|
|
7601
|
-
options:
|
|
7602
|
-
|
|
7603
|
-
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>,
|
|
7604
|
-
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
7605
|
-
): void;
|
|
7606
|
-
create(
|
|
7607
|
-
params: Params$Resource$Folders$Locations$Muteconfigs$Create,
|
|
7608
|
-
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
8128
|
+
delete(
|
|
8129
|
+
params: Params$Resource$Folders$Locations$Muteconfigs$Delete,
|
|
8130
|
+
options: MethodOptions | BodyResponseCallback<Schema$Empty>,
|
|
8131
|
+
callback: BodyResponseCallback<Schema$Empty>
|
|
7609
8132
|
): void;
|
|
7610
|
-
|
|
7611
|
-
|
|
8133
|
+
delete(
|
|
8134
|
+
params: Params$Resource$Folders$Locations$Muteconfigs$Delete,
|
|
8135
|
+
callback: BodyResponseCallback<Schema$Empty>
|
|
7612
8136
|
): void;
|
|
7613
|
-
|
|
8137
|
+
delete(callback: BodyResponseCallback<Schema$Empty>): void;
|
|
8138
|
+
delete(
|
|
7614
8139
|
paramsOrCallback?:
|
|
7615
|
-
| Params$Resource$Folders$Locations$Muteconfigs$
|
|
7616
|
-
| BodyResponseCallback<Schema$
|
|
8140
|
+
| Params$Resource$Folders$Locations$Muteconfigs$Delete
|
|
8141
|
+
| BodyResponseCallback<Schema$Empty>
|
|
7617
8142
|
| BodyResponseCallback<Readable>,
|
|
7618
8143
|
optionsOrCallback?:
|
|
7619
8144
|
| MethodOptions
|
|
7620
8145
|
| StreamMethodOptions
|
|
7621
|
-
| BodyResponseCallback<Schema$
|
|
8146
|
+
| BodyResponseCallback<Schema$Empty>
|
|
7622
8147
|
| BodyResponseCallback<Readable>,
|
|
7623
8148
|
callback?:
|
|
7624
|
-
| BodyResponseCallback<Schema$
|
|
8149
|
+
| BodyResponseCallback<Schema$Empty>
|
|
7625
8150
|
| BodyResponseCallback<Readable>
|
|
7626
|
-
):
|
|
7627
|
-
| void
|
|
7628
|
-
| GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
7629
|
-
| GaxiosPromise<Readable> {
|
|
8151
|
+
): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
|
|
7630
8152
|
let params = (paramsOrCallback ||
|
|
7631
|
-
{}) as Params$Resource$Folders$Locations$Muteconfigs$
|
|
8153
|
+
{}) as Params$Resource$Folders$Locations$Muteconfigs$Delete;
|
|
7632
8154
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
7633
8155
|
|
|
7634
8156
|
if (typeof paramsOrCallback === 'function') {
|
|
7635
8157
|
callback = paramsOrCallback;
|
|
7636
|
-
params = {} as Params$Resource$Folders$Locations$Muteconfigs$
|
|
8158
|
+
params = {} as Params$Resource$Folders$Locations$Muteconfigs$Delete;
|
|
7637
8159
|
options = {};
|
|
7638
8160
|
}
|
|
7639
8161
|
|
|
@@ -7647,99 +8169,8 @@ export namespace securitycenter_v1 {
|
|
|
7647
8169
|
const parameters = {
|
|
7648
8170
|
options: Object.assign(
|
|
7649
8171
|
{
|
|
7650
|
-
url: (rootUrl + '/v1/{+
|
|
7651
|
-
|
|
7652
|
-
'$1'
|
|
7653
|
-
),
|
|
7654
|
-
method: 'POST',
|
|
7655
|
-
apiVersion: '',
|
|
7656
|
-
},
|
|
7657
|
-
options
|
|
7658
|
-
),
|
|
7659
|
-
params,
|
|
7660
|
-
requiredParams: ['parent'],
|
|
7661
|
-
pathParams: ['parent'],
|
|
7662
|
-
context: this.context,
|
|
7663
|
-
};
|
|
7664
|
-
if (callback) {
|
|
7665
|
-
createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
|
|
7666
|
-
parameters,
|
|
7667
|
-
callback as BodyResponseCallback<unknown>
|
|
7668
|
-
);
|
|
7669
|
-
} else {
|
|
7670
|
-
return createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
|
|
7671
|
-
parameters
|
|
7672
|
-
);
|
|
7673
|
-
}
|
|
7674
|
-
}
|
|
7675
|
-
|
|
7676
|
-
/**
|
|
7677
|
-
* Deletes an existing mute config.
|
|
7678
|
-
*
|
|
7679
|
-
* @param params - Parameters for request
|
|
7680
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
7681
|
-
* @param callback - Optional callback that handles the response.
|
|
7682
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
7683
|
-
*/
|
|
7684
|
-
delete(
|
|
7685
|
-
params: Params$Resource$Folders$Locations$Muteconfigs$Delete,
|
|
7686
|
-
options: StreamMethodOptions
|
|
7687
|
-
): GaxiosPromise<Readable>;
|
|
7688
|
-
delete(
|
|
7689
|
-
params?: Params$Resource$Folders$Locations$Muteconfigs$Delete,
|
|
7690
|
-
options?: MethodOptions
|
|
7691
|
-
): GaxiosPromise<Schema$Empty>;
|
|
7692
|
-
delete(
|
|
7693
|
-
params: Params$Resource$Folders$Locations$Muteconfigs$Delete,
|
|
7694
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
7695
|
-
callback: BodyResponseCallback<Readable>
|
|
7696
|
-
): void;
|
|
7697
|
-
delete(
|
|
7698
|
-
params: Params$Resource$Folders$Locations$Muteconfigs$Delete,
|
|
7699
|
-
options: MethodOptions | BodyResponseCallback<Schema$Empty>,
|
|
7700
|
-
callback: BodyResponseCallback<Schema$Empty>
|
|
7701
|
-
): void;
|
|
7702
|
-
delete(
|
|
7703
|
-
params: Params$Resource$Folders$Locations$Muteconfigs$Delete,
|
|
7704
|
-
callback: BodyResponseCallback<Schema$Empty>
|
|
7705
|
-
): void;
|
|
7706
|
-
delete(callback: BodyResponseCallback<Schema$Empty>): void;
|
|
7707
|
-
delete(
|
|
7708
|
-
paramsOrCallback?:
|
|
7709
|
-
| Params$Resource$Folders$Locations$Muteconfigs$Delete
|
|
7710
|
-
| BodyResponseCallback<Schema$Empty>
|
|
7711
|
-
| BodyResponseCallback<Readable>,
|
|
7712
|
-
optionsOrCallback?:
|
|
7713
|
-
| MethodOptions
|
|
7714
|
-
| StreamMethodOptions
|
|
7715
|
-
| BodyResponseCallback<Schema$Empty>
|
|
7716
|
-
| BodyResponseCallback<Readable>,
|
|
7717
|
-
callback?:
|
|
7718
|
-
| BodyResponseCallback<Schema$Empty>
|
|
7719
|
-
| BodyResponseCallback<Readable>
|
|
7720
|
-
): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
|
|
7721
|
-
let params = (paramsOrCallback ||
|
|
7722
|
-
{}) as Params$Resource$Folders$Locations$Muteconfigs$Delete;
|
|
7723
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
7724
|
-
|
|
7725
|
-
if (typeof paramsOrCallback === 'function') {
|
|
7726
|
-
callback = paramsOrCallback;
|
|
7727
|
-
params = {} as Params$Resource$Folders$Locations$Muteconfigs$Delete;
|
|
7728
|
-
options = {};
|
|
7729
|
-
}
|
|
7730
|
-
|
|
7731
|
-
if (typeof optionsOrCallback === 'function') {
|
|
7732
|
-
callback = optionsOrCallback;
|
|
7733
|
-
options = {};
|
|
7734
|
-
}
|
|
7735
|
-
|
|
7736
|
-
const rootUrl =
|
|
7737
|
-
options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
7738
|
-
const parameters = {
|
|
7739
|
-
options: Object.assign(
|
|
7740
|
-
{
|
|
7741
|
-
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
7742
|
-
method: 'DELETE',
|
|
8172
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
8173
|
+
method: 'DELETE',
|
|
7743
8174
|
apiVersion: '',
|
|
7744
8175
|
},
|
|
7745
8176
|
options
|
|
@@ -7854,97 +8285,6 @@ export namespace securitycenter_v1 {
|
|
|
7854
8285
|
}
|
|
7855
8286
|
}
|
|
7856
8287
|
|
|
7857
|
-
/**
|
|
7858
|
-
* Lists mute configs.
|
|
7859
|
-
*
|
|
7860
|
-
* @param params - Parameters for request
|
|
7861
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
7862
|
-
* @param callback - Optional callback that handles the response.
|
|
7863
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
7864
|
-
*/
|
|
7865
|
-
list(
|
|
7866
|
-
params: Params$Resource$Folders$Locations$Muteconfigs$List,
|
|
7867
|
-
options: StreamMethodOptions
|
|
7868
|
-
): GaxiosPromise<Readable>;
|
|
7869
|
-
list(
|
|
7870
|
-
params?: Params$Resource$Folders$Locations$Muteconfigs$List,
|
|
7871
|
-
options?: MethodOptions
|
|
7872
|
-
): GaxiosPromise<Schema$ListMuteConfigsResponse>;
|
|
7873
|
-
list(
|
|
7874
|
-
params: Params$Resource$Folders$Locations$Muteconfigs$List,
|
|
7875
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
7876
|
-
callback: BodyResponseCallback<Readable>
|
|
7877
|
-
): void;
|
|
7878
|
-
list(
|
|
7879
|
-
params: Params$Resource$Folders$Locations$Muteconfigs$List,
|
|
7880
|
-
options:
|
|
7881
|
-
| MethodOptions
|
|
7882
|
-
| BodyResponseCallback<Schema$ListMuteConfigsResponse>,
|
|
7883
|
-
callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
7884
|
-
): void;
|
|
7885
|
-
list(
|
|
7886
|
-
params: Params$Resource$Folders$Locations$Muteconfigs$List,
|
|
7887
|
-
callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
7888
|
-
): void;
|
|
7889
|
-
list(callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>): void;
|
|
7890
|
-
list(
|
|
7891
|
-
paramsOrCallback?:
|
|
7892
|
-
| Params$Resource$Folders$Locations$Muteconfigs$List
|
|
7893
|
-
| BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
7894
|
-
| BodyResponseCallback<Readable>,
|
|
7895
|
-
optionsOrCallback?:
|
|
7896
|
-
| MethodOptions
|
|
7897
|
-
| StreamMethodOptions
|
|
7898
|
-
| BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
7899
|
-
| BodyResponseCallback<Readable>,
|
|
7900
|
-
callback?:
|
|
7901
|
-
| BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
7902
|
-
| BodyResponseCallback<Readable>
|
|
7903
|
-
):
|
|
7904
|
-
| void
|
|
7905
|
-
| GaxiosPromise<Schema$ListMuteConfigsResponse>
|
|
7906
|
-
| GaxiosPromise<Readable> {
|
|
7907
|
-
let params = (paramsOrCallback ||
|
|
7908
|
-
{}) as Params$Resource$Folders$Locations$Muteconfigs$List;
|
|
7909
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
7910
|
-
|
|
7911
|
-
if (typeof paramsOrCallback === 'function') {
|
|
7912
|
-
callback = paramsOrCallback;
|
|
7913
|
-
params = {} as Params$Resource$Folders$Locations$Muteconfigs$List;
|
|
7914
|
-
options = {};
|
|
7915
|
-
}
|
|
7916
|
-
|
|
7917
|
-
if (typeof optionsOrCallback === 'function') {
|
|
7918
|
-
callback = optionsOrCallback;
|
|
7919
|
-
options = {};
|
|
7920
|
-
}
|
|
7921
|
-
|
|
7922
|
-
const rootUrl =
|
|
7923
|
-
options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
7924
|
-
const parameters = {
|
|
7925
|
-
options: Object.assign(
|
|
7926
|
-
{
|
|
7927
|
-
url: (rootUrl + '/v1/{+parent}').replace(/([^:]\/)\/+/g, '$1'),
|
|
7928
|
-
method: 'GET',
|
|
7929
|
-
apiVersion: '',
|
|
7930
|
-
},
|
|
7931
|
-
options
|
|
7932
|
-
),
|
|
7933
|
-
params,
|
|
7934
|
-
requiredParams: ['parent'],
|
|
7935
|
-
pathParams: ['parent'],
|
|
7936
|
-
context: this.context,
|
|
7937
|
-
};
|
|
7938
|
-
if (callback) {
|
|
7939
|
-
createAPIRequest<Schema$ListMuteConfigsResponse>(
|
|
7940
|
-
parameters,
|
|
7941
|
-
callback as BodyResponseCallback<unknown>
|
|
7942
|
-
);
|
|
7943
|
-
} else {
|
|
7944
|
-
return createAPIRequest<Schema$ListMuteConfigsResponse>(parameters);
|
|
7945
|
-
}
|
|
7946
|
-
}
|
|
7947
|
-
|
|
7948
8288
|
/**
|
|
7949
8289
|
* Updates a mute config.
|
|
7950
8290
|
*
|
|
@@ -8041,22 +8381,6 @@ export namespace securitycenter_v1 {
|
|
|
8041
8381
|
}
|
|
8042
8382
|
}
|
|
8043
8383
|
|
|
8044
|
-
export interface Params$Resource$Folders$Locations$Muteconfigs$Create
|
|
8045
|
-
extends StandardParameters {
|
|
8046
|
-
/**
|
|
8047
|
-
* 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.
|
|
8048
|
-
*/
|
|
8049
|
-
muteConfigId?: string;
|
|
8050
|
-
/**
|
|
8051
|
-
* Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
8052
|
-
*/
|
|
8053
|
-
parent?: string;
|
|
8054
|
-
|
|
8055
|
-
/**
|
|
8056
|
-
* Request body metadata
|
|
8057
|
-
*/
|
|
8058
|
-
requestBody?: Schema$GoogleCloudSecuritycenterV1MuteConfig;
|
|
8059
|
-
}
|
|
8060
8384
|
export interface Params$Resource$Folders$Locations$Muteconfigs$Delete
|
|
8061
8385
|
extends StandardParameters {
|
|
8062
8386
|
/**
|
|
@@ -8071,21 +8395,6 @@ export namespace securitycenter_v1 {
|
|
|
8071
8395
|
*/
|
|
8072
8396
|
name?: string;
|
|
8073
8397
|
}
|
|
8074
|
-
export interface Params$Resource$Folders$Locations$Muteconfigs$List
|
|
8075
|
-
extends StandardParameters {
|
|
8076
|
-
/**
|
|
8077
|
-
* 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.
|
|
8078
|
-
*/
|
|
8079
|
-
pageSize?: number;
|
|
8080
|
-
/**
|
|
8081
|
-
* 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.
|
|
8082
|
-
*/
|
|
8083
|
-
pageToken?: string;
|
|
8084
|
-
/**
|
|
8085
|
-
* Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.
|
|
8086
|
-
*/
|
|
8087
|
-
parent?: string;
|
|
8088
|
-
}
|
|
8089
8398
|
export interface Params$Resource$Folders$Locations$Muteconfigs$Patch
|
|
8090
8399
|
extends StandardParameters {
|
|
8091
8400
|
/**
|
|
@@ -11070,6 +11379,7 @@ export namespace securitycenter_v1 {
|
|
|
11070
11379
|
export class Resource$Organizations {
|
|
11071
11380
|
context: APIRequestContext;
|
|
11072
11381
|
assets: Resource$Organizations$Assets;
|
|
11382
|
+
attackPaths: Resource$Organizations$Attackpaths;
|
|
11073
11383
|
bigQueryExports: Resource$Organizations$Bigqueryexports;
|
|
11074
11384
|
eventThreatDetectionSettings: Resource$Organizations$Eventthreatdetectionsettings;
|
|
11075
11385
|
findings: Resource$Organizations$Findings;
|
|
@@ -11081,9 +11391,11 @@ export namespace securitycenter_v1 {
|
|
|
11081
11391
|
securityHealthAnalyticsSettings: Resource$Organizations$Securityhealthanalyticssettings;
|
|
11082
11392
|
simulations: Resource$Organizations$Simulations;
|
|
11083
11393
|
sources: Resource$Organizations$Sources;
|
|
11394
|
+
valuedResources: Resource$Organizations$Valuedresources;
|
|
11084
11395
|
constructor(context: APIRequestContext) {
|
|
11085
11396
|
this.context = context;
|
|
11086
11397
|
this.assets = new Resource$Organizations$Assets(this.context);
|
|
11398
|
+
this.attackPaths = new Resource$Organizations$Attackpaths(this.context);
|
|
11087
11399
|
this.bigQueryExports = new Resource$Organizations$Bigqueryexports(
|
|
11088
11400
|
this.context
|
|
11089
11401
|
);
|
|
@@ -11104,6 +11416,9 @@ export namespace securitycenter_v1 {
|
|
|
11104
11416
|
);
|
|
11105
11417
|
this.simulations = new Resource$Organizations$Simulations(this.context);
|
|
11106
11418
|
this.sources = new Resource$Organizations$Sources(this.context);
|
|
11419
|
+
this.valuedResources = new Resource$Organizations$Valuedresources(
|
|
11420
|
+
this.context
|
|
11421
|
+
);
|
|
11107
11422
|
}
|
|
11108
11423
|
|
|
11109
11424
|
/**
|
|
@@ -11765,71 +12080,69 @@ export namespace securitycenter_v1 {
|
|
|
11765
12080
|
requestBody?: Schema$SecurityMarks;
|
|
11766
12081
|
}
|
|
11767
12082
|
|
|
11768
|
-
export class Resource$Organizations$
|
|
12083
|
+
export class Resource$Organizations$Attackpaths {
|
|
11769
12084
|
context: APIRequestContext;
|
|
11770
12085
|
constructor(context: APIRequestContext) {
|
|
11771
12086
|
this.context = context;
|
|
11772
12087
|
}
|
|
11773
12088
|
|
|
11774
12089
|
/**
|
|
11775
|
-
*
|
|
12090
|
+
* Lists the attack paths for a set of simulation results or valued resources and filter.
|
|
11776
12091
|
*
|
|
11777
12092
|
* @param params - Parameters for request
|
|
11778
12093
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
11779
12094
|
* @param callback - Optional callback that handles the response.
|
|
11780
12095
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
11781
12096
|
*/
|
|
11782
|
-
|
|
11783
|
-
params: Params$Resource$Organizations$
|
|
12097
|
+
list(
|
|
12098
|
+
params: Params$Resource$Organizations$Attackpaths$List,
|
|
11784
12099
|
options: StreamMethodOptions
|
|
11785
12100
|
): GaxiosPromise<Readable>;
|
|
11786
|
-
|
|
11787
|
-
params?: Params$Resource$Organizations$
|
|
12101
|
+
list(
|
|
12102
|
+
params?: Params$Resource$Organizations$Attackpaths$List,
|
|
11788
12103
|
options?: MethodOptions
|
|
11789
|
-
): GaxiosPromise<Schema$
|
|
11790
|
-
|
|
11791
|
-
params: Params$Resource$Organizations$
|
|
12104
|
+
): GaxiosPromise<Schema$ListAttackPathsResponse>;
|
|
12105
|
+
list(
|
|
12106
|
+
params: Params$Resource$Organizations$Attackpaths$List,
|
|
11792
12107
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
11793
12108
|
callback: BodyResponseCallback<Readable>
|
|
11794
12109
|
): void;
|
|
11795
|
-
|
|
11796
|
-
params: Params$Resource$Organizations$
|
|
12110
|
+
list(
|
|
12111
|
+
params: Params$Resource$Organizations$Attackpaths$List,
|
|
11797
12112
|
options:
|
|
11798
12113
|
| MethodOptions
|
|
11799
|
-
| BodyResponseCallback<Schema$
|
|
11800
|
-
callback: BodyResponseCallback<Schema$
|
|
11801
|
-
): void;
|
|
11802
|
-
create(
|
|
11803
|
-
params: Params$Resource$Organizations$Bigqueryexports$Create,
|
|
11804
|
-
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
|
|
12114
|
+
| BodyResponseCallback<Schema$ListAttackPathsResponse>,
|
|
12115
|
+
callback: BodyResponseCallback<Schema$ListAttackPathsResponse>
|
|
11805
12116
|
): void;
|
|
11806
|
-
|
|
11807
|
-
|
|
12117
|
+
list(
|
|
12118
|
+
params: Params$Resource$Organizations$Attackpaths$List,
|
|
12119
|
+
callback: BodyResponseCallback<Schema$ListAttackPathsResponse>
|
|
11808
12120
|
): void;
|
|
11809
|
-
|
|
12121
|
+
list(callback: BodyResponseCallback<Schema$ListAttackPathsResponse>): void;
|
|
12122
|
+
list(
|
|
11810
12123
|
paramsOrCallback?:
|
|
11811
|
-
| Params$Resource$Organizations$
|
|
11812
|
-
| BodyResponseCallback<Schema$
|
|
12124
|
+
| Params$Resource$Organizations$Attackpaths$List
|
|
12125
|
+
| BodyResponseCallback<Schema$ListAttackPathsResponse>
|
|
11813
12126
|
| BodyResponseCallback<Readable>,
|
|
11814
12127
|
optionsOrCallback?:
|
|
11815
12128
|
| MethodOptions
|
|
11816
12129
|
| StreamMethodOptions
|
|
11817
|
-
| BodyResponseCallback<Schema$
|
|
12130
|
+
| BodyResponseCallback<Schema$ListAttackPathsResponse>
|
|
11818
12131
|
| BodyResponseCallback<Readable>,
|
|
11819
12132
|
callback?:
|
|
11820
|
-
| BodyResponseCallback<Schema$
|
|
12133
|
+
| BodyResponseCallback<Schema$ListAttackPathsResponse>
|
|
11821
12134
|
| BodyResponseCallback<Readable>
|
|
11822
12135
|
):
|
|
11823
12136
|
| void
|
|
11824
|
-
| GaxiosPromise<Schema$
|
|
12137
|
+
| GaxiosPromise<Schema$ListAttackPathsResponse>
|
|
11825
12138
|
| GaxiosPromise<Readable> {
|
|
11826
12139
|
let params = (paramsOrCallback ||
|
|
11827
|
-
{}) as Params$Resource$Organizations$
|
|
12140
|
+
{}) as Params$Resource$Organizations$Attackpaths$List;
|
|
11828
12141
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
11829
12142
|
|
|
11830
12143
|
if (typeof paramsOrCallback === 'function') {
|
|
11831
12144
|
callback = paramsOrCallback;
|
|
11832
|
-
params = {} as Params$Resource$Organizations$
|
|
12145
|
+
params = {} as Params$Resource$Organizations$Attackpaths$List;
|
|
11833
12146
|
options = {};
|
|
11834
12147
|
}
|
|
11835
12148
|
|
|
@@ -11843,11 +12156,11 @@ export namespace securitycenter_v1 {
|
|
|
11843
12156
|
const parameters = {
|
|
11844
12157
|
options: Object.assign(
|
|
11845
12158
|
{
|
|
11846
|
-
url: (rootUrl + '/v1/{+parent}/
|
|
12159
|
+
url: (rootUrl + '/v1/{+parent}/attackPaths').replace(
|
|
11847
12160
|
/([^:]\/)\/+/g,
|
|
11848
12161
|
'$1'
|
|
11849
12162
|
),
|
|
11850
|
-
method: '
|
|
12163
|
+
method: 'GET',
|
|
11851
12164
|
apiVersion: '',
|
|
11852
12165
|
},
|
|
11853
12166
|
options
|
|
@@ -11858,14 +12171,137 @@ export namespace securitycenter_v1 {
|
|
|
11858
12171
|
context: this.context,
|
|
11859
12172
|
};
|
|
11860
12173
|
if (callback) {
|
|
11861
|
-
createAPIRequest<Schema$
|
|
12174
|
+
createAPIRequest<Schema$ListAttackPathsResponse>(
|
|
11862
12175
|
parameters,
|
|
11863
12176
|
callback as BodyResponseCallback<unknown>
|
|
11864
12177
|
);
|
|
11865
12178
|
} else {
|
|
11866
|
-
return createAPIRequest<Schema$
|
|
11867
|
-
|
|
11868
|
-
|
|
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
|
+
|
|
12204
|
+
export class Resource$Organizations$Bigqueryexports {
|
|
12205
|
+
context: APIRequestContext;
|
|
12206
|
+
constructor(context: APIRequestContext) {
|
|
12207
|
+
this.context = context;
|
|
12208
|
+
}
|
|
12209
|
+
|
|
12210
|
+
/**
|
|
12211
|
+
* Creates a BigQuery export.
|
|
12212
|
+
*
|
|
12213
|
+
* @param params - Parameters for request
|
|
12214
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
12215
|
+
* @param callback - Optional callback that handles the response.
|
|
12216
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
12217
|
+
*/
|
|
12218
|
+
create(
|
|
12219
|
+
params: Params$Resource$Organizations$Bigqueryexports$Create,
|
|
12220
|
+
options: StreamMethodOptions
|
|
12221
|
+
): GaxiosPromise<Readable>;
|
|
12222
|
+
create(
|
|
12223
|
+
params?: Params$Resource$Organizations$Bigqueryexports$Create,
|
|
12224
|
+
options?: MethodOptions
|
|
12225
|
+
): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1BigQueryExport>;
|
|
12226
|
+
create(
|
|
12227
|
+
params: Params$Resource$Organizations$Bigqueryexports$Create,
|
|
12228
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
12229
|
+
callback: BodyResponseCallback<Readable>
|
|
12230
|
+
): void;
|
|
12231
|
+
create(
|
|
12232
|
+
params: Params$Resource$Organizations$Bigqueryexports$Create,
|
|
12233
|
+
options:
|
|
12234
|
+
| MethodOptions
|
|
12235
|
+
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1BigQueryExport>,
|
|
12236
|
+
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
|
|
12237
|
+
): void;
|
|
12238
|
+
create(
|
|
12239
|
+
params: Params$Resource$Organizations$Bigqueryexports$Create,
|
|
12240
|
+
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
|
|
12241
|
+
): void;
|
|
12242
|
+
create(
|
|
12243
|
+
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
|
|
12244
|
+
): void;
|
|
12245
|
+
create(
|
|
12246
|
+
paramsOrCallback?:
|
|
12247
|
+
| Params$Resource$Organizations$Bigqueryexports$Create
|
|
12248
|
+
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
|
|
12249
|
+
| BodyResponseCallback<Readable>,
|
|
12250
|
+
optionsOrCallback?:
|
|
12251
|
+
| MethodOptions
|
|
12252
|
+
| StreamMethodOptions
|
|
12253
|
+
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
|
|
12254
|
+
| BodyResponseCallback<Readable>,
|
|
12255
|
+
callback?:
|
|
12256
|
+
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
|
|
12257
|
+
| BodyResponseCallback<Readable>
|
|
12258
|
+
):
|
|
12259
|
+
| void
|
|
12260
|
+
| GaxiosPromise<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
|
|
12261
|
+
| GaxiosPromise<Readable> {
|
|
12262
|
+
let params = (paramsOrCallback ||
|
|
12263
|
+
{}) as Params$Resource$Organizations$Bigqueryexports$Create;
|
|
12264
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
12265
|
+
|
|
12266
|
+
if (typeof paramsOrCallback === 'function') {
|
|
12267
|
+
callback = paramsOrCallback;
|
|
12268
|
+
params = {} as Params$Resource$Organizations$Bigqueryexports$Create;
|
|
12269
|
+
options = {};
|
|
12270
|
+
}
|
|
12271
|
+
|
|
12272
|
+
if (typeof optionsOrCallback === 'function') {
|
|
12273
|
+
callback = optionsOrCallback;
|
|
12274
|
+
options = {};
|
|
12275
|
+
}
|
|
12276
|
+
|
|
12277
|
+
const rootUrl =
|
|
12278
|
+
options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
12279
|
+
const parameters = {
|
|
12280
|
+
options: Object.assign(
|
|
12281
|
+
{
|
|
12282
|
+
url: (rootUrl + '/v1/{+parent}/bigQueryExports').replace(
|
|
12283
|
+
/([^:]\/)\/+/g,
|
|
12284
|
+
'$1'
|
|
12285
|
+
),
|
|
12286
|
+
method: 'POST',
|
|
12287
|
+
apiVersion: '',
|
|
12288
|
+
},
|
|
12289
|
+
options
|
|
12290
|
+
),
|
|
12291
|
+
params,
|
|
12292
|
+
requiredParams: ['parent'],
|
|
12293
|
+
pathParams: ['parent'],
|
|
12294
|
+
context: this.context,
|
|
12295
|
+
};
|
|
12296
|
+
if (callback) {
|
|
12297
|
+
createAPIRequest<Schema$GoogleCloudSecuritycenterV1BigQueryExport>(
|
|
12298
|
+
parameters,
|
|
12299
|
+
callback as BodyResponseCallback<unknown>
|
|
12300
|
+
);
|
|
12301
|
+
} else {
|
|
12302
|
+
return createAPIRequest<Schema$GoogleCloudSecuritycenterV1BigQueryExport>(
|
|
12303
|
+
parameters
|
|
12304
|
+
);
|
|
11869
12305
|
}
|
|
11870
12306
|
}
|
|
11871
12307
|
|
|
@@ -13439,105 +13875,6 @@ export namespace securitycenter_v1 {
|
|
|
13439
13875
|
this.context = context;
|
|
13440
13876
|
}
|
|
13441
13877
|
|
|
13442
|
-
/**
|
|
13443
|
-
* Creates a mute config.
|
|
13444
|
-
*
|
|
13445
|
-
* @param params - Parameters for request
|
|
13446
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
13447
|
-
* @param callback - Optional callback that handles the response.
|
|
13448
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
13449
|
-
*/
|
|
13450
|
-
create(
|
|
13451
|
-
params: Params$Resource$Organizations$Locations$Muteconfigs$Create,
|
|
13452
|
-
options: StreamMethodOptions
|
|
13453
|
-
): GaxiosPromise<Readable>;
|
|
13454
|
-
create(
|
|
13455
|
-
params?: Params$Resource$Organizations$Locations$Muteconfigs$Create,
|
|
13456
|
-
options?: MethodOptions
|
|
13457
|
-
): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
|
|
13458
|
-
create(
|
|
13459
|
-
params: Params$Resource$Organizations$Locations$Muteconfigs$Create,
|
|
13460
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
13461
|
-
callback: BodyResponseCallback<Readable>
|
|
13462
|
-
): void;
|
|
13463
|
-
create(
|
|
13464
|
-
params: Params$Resource$Organizations$Locations$Muteconfigs$Create,
|
|
13465
|
-
options:
|
|
13466
|
-
| MethodOptions
|
|
13467
|
-
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>,
|
|
13468
|
-
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
13469
|
-
): void;
|
|
13470
|
-
create(
|
|
13471
|
-
params: Params$Resource$Organizations$Locations$Muteconfigs$Create,
|
|
13472
|
-
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
13473
|
-
): void;
|
|
13474
|
-
create(
|
|
13475
|
-
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
13476
|
-
): void;
|
|
13477
|
-
create(
|
|
13478
|
-
paramsOrCallback?:
|
|
13479
|
-
| Params$Resource$Organizations$Locations$Muteconfigs$Create
|
|
13480
|
-
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
13481
|
-
| BodyResponseCallback<Readable>,
|
|
13482
|
-
optionsOrCallback?:
|
|
13483
|
-
| MethodOptions
|
|
13484
|
-
| StreamMethodOptions
|
|
13485
|
-
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
13486
|
-
| BodyResponseCallback<Readable>,
|
|
13487
|
-
callback?:
|
|
13488
|
-
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
13489
|
-
| BodyResponseCallback<Readable>
|
|
13490
|
-
):
|
|
13491
|
-
| void
|
|
13492
|
-
| GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
13493
|
-
| GaxiosPromise<Readable> {
|
|
13494
|
-
let params = (paramsOrCallback ||
|
|
13495
|
-
{}) as Params$Resource$Organizations$Locations$Muteconfigs$Create;
|
|
13496
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
13497
|
-
|
|
13498
|
-
if (typeof paramsOrCallback === 'function') {
|
|
13499
|
-
callback = paramsOrCallback;
|
|
13500
|
-
params =
|
|
13501
|
-
{} as Params$Resource$Organizations$Locations$Muteconfigs$Create;
|
|
13502
|
-
options = {};
|
|
13503
|
-
}
|
|
13504
|
-
|
|
13505
|
-
if (typeof optionsOrCallback === 'function') {
|
|
13506
|
-
callback = optionsOrCallback;
|
|
13507
|
-
options = {};
|
|
13508
|
-
}
|
|
13509
|
-
|
|
13510
|
-
const rootUrl =
|
|
13511
|
-
options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
13512
|
-
const parameters = {
|
|
13513
|
-
options: Object.assign(
|
|
13514
|
-
{
|
|
13515
|
-
url: (rootUrl + '/v1/{+parent}/muteConfigs').replace(
|
|
13516
|
-
/([^:]\/)\/+/g,
|
|
13517
|
-
'$1'
|
|
13518
|
-
),
|
|
13519
|
-
method: 'POST',
|
|
13520
|
-
apiVersion: '',
|
|
13521
|
-
},
|
|
13522
|
-
options
|
|
13523
|
-
),
|
|
13524
|
-
params,
|
|
13525
|
-
requiredParams: ['parent'],
|
|
13526
|
-
pathParams: ['parent'],
|
|
13527
|
-
context: this.context,
|
|
13528
|
-
};
|
|
13529
|
-
if (callback) {
|
|
13530
|
-
createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
|
|
13531
|
-
parameters,
|
|
13532
|
-
callback as BodyResponseCallback<unknown>
|
|
13533
|
-
);
|
|
13534
|
-
} else {
|
|
13535
|
-
return createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
|
|
13536
|
-
parameters
|
|
13537
|
-
);
|
|
13538
|
-
}
|
|
13539
|
-
}
|
|
13540
|
-
|
|
13541
13878
|
/**
|
|
13542
13879
|
* Deletes an existing mute config.
|
|
13543
13880
|
*
|
|
@@ -13720,97 +14057,6 @@ export namespace securitycenter_v1 {
|
|
|
13720
14057
|
}
|
|
13721
14058
|
}
|
|
13722
14059
|
|
|
13723
|
-
/**
|
|
13724
|
-
* Lists mute configs.
|
|
13725
|
-
*
|
|
13726
|
-
* @param params - Parameters for request
|
|
13727
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
13728
|
-
* @param callback - Optional callback that handles the response.
|
|
13729
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
13730
|
-
*/
|
|
13731
|
-
list(
|
|
13732
|
-
params: Params$Resource$Organizations$Locations$Muteconfigs$List,
|
|
13733
|
-
options: StreamMethodOptions
|
|
13734
|
-
): GaxiosPromise<Readable>;
|
|
13735
|
-
list(
|
|
13736
|
-
params?: Params$Resource$Organizations$Locations$Muteconfigs$List,
|
|
13737
|
-
options?: MethodOptions
|
|
13738
|
-
): GaxiosPromise<Schema$ListMuteConfigsResponse>;
|
|
13739
|
-
list(
|
|
13740
|
-
params: Params$Resource$Organizations$Locations$Muteconfigs$List,
|
|
13741
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
13742
|
-
callback: BodyResponseCallback<Readable>
|
|
13743
|
-
): void;
|
|
13744
|
-
list(
|
|
13745
|
-
params: Params$Resource$Organizations$Locations$Muteconfigs$List,
|
|
13746
|
-
options:
|
|
13747
|
-
| MethodOptions
|
|
13748
|
-
| BodyResponseCallback<Schema$ListMuteConfigsResponse>,
|
|
13749
|
-
callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
13750
|
-
): void;
|
|
13751
|
-
list(
|
|
13752
|
-
params: Params$Resource$Organizations$Locations$Muteconfigs$List,
|
|
13753
|
-
callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
13754
|
-
): void;
|
|
13755
|
-
list(callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>): void;
|
|
13756
|
-
list(
|
|
13757
|
-
paramsOrCallback?:
|
|
13758
|
-
| Params$Resource$Organizations$Locations$Muteconfigs$List
|
|
13759
|
-
| BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
13760
|
-
| BodyResponseCallback<Readable>,
|
|
13761
|
-
optionsOrCallback?:
|
|
13762
|
-
| MethodOptions
|
|
13763
|
-
| StreamMethodOptions
|
|
13764
|
-
| BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
13765
|
-
| BodyResponseCallback<Readable>,
|
|
13766
|
-
callback?:
|
|
13767
|
-
| BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
13768
|
-
| BodyResponseCallback<Readable>
|
|
13769
|
-
):
|
|
13770
|
-
| void
|
|
13771
|
-
| GaxiosPromise<Schema$ListMuteConfigsResponse>
|
|
13772
|
-
| GaxiosPromise<Readable> {
|
|
13773
|
-
let params = (paramsOrCallback ||
|
|
13774
|
-
{}) as Params$Resource$Organizations$Locations$Muteconfigs$List;
|
|
13775
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
13776
|
-
|
|
13777
|
-
if (typeof paramsOrCallback === 'function') {
|
|
13778
|
-
callback = paramsOrCallback;
|
|
13779
|
-
params = {} as Params$Resource$Organizations$Locations$Muteconfigs$List;
|
|
13780
|
-
options = {};
|
|
13781
|
-
}
|
|
13782
|
-
|
|
13783
|
-
if (typeof optionsOrCallback === 'function') {
|
|
13784
|
-
callback = optionsOrCallback;
|
|
13785
|
-
options = {};
|
|
13786
|
-
}
|
|
13787
|
-
|
|
13788
|
-
const rootUrl =
|
|
13789
|
-
options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
13790
|
-
const parameters = {
|
|
13791
|
-
options: Object.assign(
|
|
13792
|
-
{
|
|
13793
|
-
url: (rootUrl + '/v1/{+parent}').replace(/([^:]\/)\/+/g, '$1'),
|
|
13794
|
-
method: 'GET',
|
|
13795
|
-
apiVersion: '',
|
|
13796
|
-
},
|
|
13797
|
-
options
|
|
13798
|
-
),
|
|
13799
|
-
params,
|
|
13800
|
-
requiredParams: ['parent'],
|
|
13801
|
-
pathParams: ['parent'],
|
|
13802
|
-
context: this.context,
|
|
13803
|
-
};
|
|
13804
|
-
if (callback) {
|
|
13805
|
-
createAPIRequest<Schema$ListMuteConfigsResponse>(
|
|
13806
|
-
parameters,
|
|
13807
|
-
callback as BodyResponseCallback<unknown>
|
|
13808
|
-
);
|
|
13809
|
-
} else {
|
|
13810
|
-
return createAPIRequest<Schema$ListMuteConfigsResponse>(parameters);
|
|
13811
|
-
}
|
|
13812
|
-
}
|
|
13813
|
-
|
|
13814
14060
|
/**
|
|
13815
14061
|
* Updates a mute config.
|
|
13816
14062
|
*
|
|
@@ -13908,22 +14154,6 @@ export namespace securitycenter_v1 {
|
|
|
13908
14154
|
}
|
|
13909
14155
|
}
|
|
13910
14156
|
|
|
13911
|
-
export interface Params$Resource$Organizations$Locations$Muteconfigs$Create
|
|
13912
|
-
extends StandardParameters {
|
|
13913
|
-
/**
|
|
13914
|
-
* 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.
|
|
13915
|
-
*/
|
|
13916
|
-
muteConfigId?: string;
|
|
13917
|
-
/**
|
|
13918
|
-
* Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
13919
|
-
*/
|
|
13920
|
-
parent?: string;
|
|
13921
|
-
|
|
13922
|
-
/**
|
|
13923
|
-
* Request body metadata
|
|
13924
|
-
*/
|
|
13925
|
-
requestBody?: Schema$GoogleCloudSecuritycenterV1MuteConfig;
|
|
13926
|
-
}
|
|
13927
14157
|
export interface Params$Resource$Organizations$Locations$Muteconfigs$Delete
|
|
13928
14158
|
extends StandardParameters {
|
|
13929
14159
|
/**
|
|
@@ -13938,21 +14168,6 @@ export namespace securitycenter_v1 {
|
|
|
13938
14168
|
*/
|
|
13939
14169
|
name?: string;
|
|
13940
14170
|
}
|
|
13941
|
-
export interface Params$Resource$Organizations$Locations$Muteconfigs$List
|
|
13942
|
-
extends StandardParameters {
|
|
13943
|
-
/**
|
|
13944
|
-
* 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.
|
|
13945
|
-
*/
|
|
13946
|
-
pageSize?: number;
|
|
13947
|
-
/**
|
|
13948
|
-
* 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.
|
|
13949
|
-
*/
|
|
13950
|
-
pageToken?: string;
|
|
13951
|
-
/**
|
|
13952
|
-
* Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.
|
|
13953
|
-
*/
|
|
13954
|
-
parent?: string;
|
|
13955
|
-
}
|
|
13956
14171
|
export interface Params$Resource$Organizations$Locations$Muteconfigs$Patch
|
|
13957
14172
|
extends StandardParameters {
|
|
13958
14173
|
/**
|
|
@@ -15037,7 +15252,7 @@ export namespace securitycenter_v1 {
|
|
|
15037
15252
|
}
|
|
15038
15253
|
|
|
15039
15254
|
/**
|
|
15040
|
-
* 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
|
|
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`.
|
|
15041
15256
|
*
|
|
15042
15257
|
* @param params - Parameters for request
|
|
15043
15258
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -19354,31 +19569,150 @@ export namespace securitycenter_v1 {
|
|
|
19354
19569
|
patch(
|
|
19355
19570
|
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1ExternalSystem>
|
|
19356
19571
|
): void;
|
|
19357
|
-
patch(
|
|
19572
|
+
patch(
|
|
19573
|
+
paramsOrCallback?:
|
|
19574
|
+
| Params$Resource$Organizations$Sources$Findings$Externalsystems$Patch
|
|
19575
|
+
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1ExternalSystem>
|
|
19576
|
+
| BodyResponseCallback<Readable>,
|
|
19577
|
+
optionsOrCallback?:
|
|
19578
|
+
| MethodOptions
|
|
19579
|
+
| StreamMethodOptions
|
|
19580
|
+
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1ExternalSystem>
|
|
19581
|
+
| BodyResponseCallback<Readable>,
|
|
19582
|
+
callback?:
|
|
19583
|
+
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1ExternalSystem>
|
|
19584
|
+
| BodyResponseCallback<Readable>
|
|
19585
|
+
):
|
|
19586
|
+
| void
|
|
19587
|
+
| GaxiosPromise<Schema$GoogleCloudSecuritycenterV1ExternalSystem>
|
|
19588
|
+
| GaxiosPromise<Readable> {
|
|
19589
|
+
let params = (paramsOrCallback ||
|
|
19590
|
+
{}) as Params$Resource$Organizations$Sources$Findings$Externalsystems$Patch;
|
|
19591
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
19592
|
+
|
|
19593
|
+
if (typeof paramsOrCallback === 'function') {
|
|
19594
|
+
callback = paramsOrCallback;
|
|
19595
|
+
params =
|
|
19596
|
+
{} as Params$Resource$Organizations$Sources$Findings$Externalsystems$Patch;
|
|
19597
|
+
options = {};
|
|
19598
|
+
}
|
|
19599
|
+
|
|
19600
|
+
if (typeof optionsOrCallback === 'function') {
|
|
19601
|
+
callback = optionsOrCallback;
|
|
19602
|
+
options = {};
|
|
19603
|
+
}
|
|
19604
|
+
|
|
19605
|
+
const rootUrl =
|
|
19606
|
+
options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
19607
|
+
const parameters = {
|
|
19608
|
+
options: Object.assign(
|
|
19609
|
+
{
|
|
19610
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
19611
|
+
method: 'PATCH',
|
|
19612
|
+
apiVersion: '',
|
|
19613
|
+
},
|
|
19614
|
+
options
|
|
19615
|
+
),
|
|
19616
|
+
params,
|
|
19617
|
+
requiredParams: ['name'],
|
|
19618
|
+
pathParams: ['name'],
|
|
19619
|
+
context: this.context,
|
|
19620
|
+
};
|
|
19621
|
+
if (callback) {
|
|
19622
|
+
createAPIRequest<Schema$GoogleCloudSecuritycenterV1ExternalSystem>(
|
|
19623
|
+
parameters,
|
|
19624
|
+
callback as BodyResponseCallback<unknown>
|
|
19625
|
+
);
|
|
19626
|
+
} else {
|
|
19627
|
+
return createAPIRequest<Schema$GoogleCloudSecuritycenterV1ExternalSystem>(
|
|
19628
|
+
parameters
|
|
19629
|
+
);
|
|
19630
|
+
}
|
|
19631
|
+
}
|
|
19632
|
+
}
|
|
19633
|
+
|
|
19634
|
+
export interface Params$Resource$Organizations$Sources$Findings$Externalsystems$Patch
|
|
19635
|
+
extends StandardParameters {
|
|
19636
|
+
/**
|
|
19637
|
+
* Full resource name of the external system, for example: "organizations/1234/sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/123456/externalSystems/jira"
|
|
19638
|
+
*/
|
|
19639
|
+
name?: string;
|
|
19640
|
+
/**
|
|
19641
|
+
* The FieldMask to use when updating the external system resource. If empty all mutable fields will be updated.
|
|
19642
|
+
*/
|
|
19643
|
+
updateMask?: string;
|
|
19644
|
+
|
|
19645
|
+
/**
|
|
19646
|
+
* Request body metadata
|
|
19647
|
+
*/
|
|
19648
|
+
requestBody?: Schema$GoogleCloudSecuritycenterV1ExternalSystem;
|
|
19649
|
+
}
|
|
19650
|
+
|
|
19651
|
+
export class Resource$Organizations$Valuedresources {
|
|
19652
|
+
context: APIRequestContext;
|
|
19653
|
+
constructor(context: APIRequestContext) {
|
|
19654
|
+
this.context = context;
|
|
19655
|
+
}
|
|
19656
|
+
|
|
19657
|
+
/**
|
|
19658
|
+
* Lists the valued resources for a set of simulation results and filter.
|
|
19659
|
+
*
|
|
19660
|
+
* @param params - Parameters for request
|
|
19661
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
19662
|
+
* @param callback - Optional callback that handles the response.
|
|
19663
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
19664
|
+
*/
|
|
19665
|
+
list(
|
|
19666
|
+
params: Params$Resource$Organizations$Valuedresources$List,
|
|
19667
|
+
options: StreamMethodOptions
|
|
19668
|
+
): GaxiosPromise<Readable>;
|
|
19669
|
+
list(
|
|
19670
|
+
params?: Params$Resource$Organizations$Valuedresources$List,
|
|
19671
|
+
options?: MethodOptions
|
|
19672
|
+
): GaxiosPromise<Schema$ListValuedResourcesResponse>;
|
|
19673
|
+
list(
|
|
19674
|
+
params: Params$Resource$Organizations$Valuedresources$List,
|
|
19675
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
19676
|
+
callback: BodyResponseCallback<Readable>
|
|
19677
|
+
): void;
|
|
19678
|
+
list(
|
|
19679
|
+
params: Params$Resource$Organizations$Valuedresources$List,
|
|
19680
|
+
options:
|
|
19681
|
+
| MethodOptions
|
|
19682
|
+
| BodyResponseCallback<Schema$ListValuedResourcesResponse>,
|
|
19683
|
+
callback: BodyResponseCallback<Schema$ListValuedResourcesResponse>
|
|
19684
|
+
): void;
|
|
19685
|
+
list(
|
|
19686
|
+
params: Params$Resource$Organizations$Valuedresources$List,
|
|
19687
|
+
callback: BodyResponseCallback<Schema$ListValuedResourcesResponse>
|
|
19688
|
+
): void;
|
|
19689
|
+
list(
|
|
19690
|
+
callback: BodyResponseCallback<Schema$ListValuedResourcesResponse>
|
|
19691
|
+
): void;
|
|
19692
|
+
list(
|
|
19358
19693
|
paramsOrCallback?:
|
|
19359
|
-
| Params$Resource$Organizations$
|
|
19360
|
-
| BodyResponseCallback<Schema$
|
|
19694
|
+
| Params$Resource$Organizations$Valuedresources$List
|
|
19695
|
+
| BodyResponseCallback<Schema$ListValuedResourcesResponse>
|
|
19361
19696
|
| BodyResponseCallback<Readable>,
|
|
19362
19697
|
optionsOrCallback?:
|
|
19363
19698
|
| MethodOptions
|
|
19364
19699
|
| StreamMethodOptions
|
|
19365
|
-
| BodyResponseCallback<Schema$
|
|
19700
|
+
| BodyResponseCallback<Schema$ListValuedResourcesResponse>
|
|
19366
19701
|
| BodyResponseCallback<Readable>,
|
|
19367
19702
|
callback?:
|
|
19368
|
-
| BodyResponseCallback<Schema$
|
|
19703
|
+
| BodyResponseCallback<Schema$ListValuedResourcesResponse>
|
|
19369
19704
|
| BodyResponseCallback<Readable>
|
|
19370
19705
|
):
|
|
19371
19706
|
| void
|
|
19372
|
-
| GaxiosPromise<Schema$
|
|
19707
|
+
| GaxiosPromise<Schema$ListValuedResourcesResponse>
|
|
19373
19708
|
| GaxiosPromise<Readable> {
|
|
19374
19709
|
let params = (paramsOrCallback ||
|
|
19375
|
-
{}) as Params$Resource$Organizations$
|
|
19710
|
+
{}) as Params$Resource$Organizations$Valuedresources$List;
|
|
19376
19711
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
19377
19712
|
|
|
19378
19713
|
if (typeof paramsOrCallback === 'function') {
|
|
19379
19714
|
callback = paramsOrCallback;
|
|
19380
|
-
params =
|
|
19381
|
-
{} as Params$Resource$Organizations$Sources$Findings$Externalsystems$Patch;
|
|
19715
|
+
params = {} as Params$Resource$Organizations$Valuedresources$List;
|
|
19382
19716
|
options = {};
|
|
19383
19717
|
}
|
|
19384
19718
|
|
|
@@ -19392,45 +19726,53 @@ export namespace securitycenter_v1 {
|
|
|
19392
19726
|
const parameters = {
|
|
19393
19727
|
options: Object.assign(
|
|
19394
19728
|
{
|
|
19395
|
-
url: (rootUrl + '/v1/{+
|
|
19396
|
-
|
|
19729
|
+
url: (rootUrl + '/v1/{+parent}/valuedResources').replace(
|
|
19730
|
+
/([^:]\/)\/+/g,
|
|
19731
|
+
'$1'
|
|
19732
|
+
),
|
|
19733
|
+
method: 'GET',
|
|
19397
19734
|
apiVersion: '',
|
|
19398
19735
|
},
|
|
19399
19736
|
options
|
|
19400
19737
|
),
|
|
19401
19738
|
params,
|
|
19402
|
-
requiredParams: ['
|
|
19403
|
-
pathParams: ['
|
|
19739
|
+
requiredParams: ['parent'],
|
|
19740
|
+
pathParams: ['parent'],
|
|
19404
19741
|
context: this.context,
|
|
19405
19742
|
};
|
|
19406
19743
|
if (callback) {
|
|
19407
|
-
createAPIRequest<Schema$
|
|
19744
|
+
createAPIRequest<Schema$ListValuedResourcesResponse>(
|
|
19408
19745
|
parameters,
|
|
19409
19746
|
callback as BodyResponseCallback<unknown>
|
|
19410
19747
|
);
|
|
19411
19748
|
} else {
|
|
19412
|
-
return createAPIRequest<Schema$
|
|
19413
|
-
parameters
|
|
19414
|
-
);
|
|
19749
|
+
return createAPIRequest<Schema$ListValuedResourcesResponse>(parameters);
|
|
19415
19750
|
}
|
|
19416
19751
|
}
|
|
19417
19752
|
}
|
|
19418
19753
|
|
|
19419
|
-
export interface Params$Resource$Organizations$
|
|
19754
|
+
export interface Params$Resource$Organizations$Valuedresources$List
|
|
19420
19755
|
extends StandardParameters {
|
|
19421
19756
|
/**
|
|
19422
|
-
*
|
|
19757
|
+
* The filter expression that filters the valued resources in the response. Supported fields: * `resource_value` supports = * `resource_type` supports =
|
|
19423
19758
|
*/
|
|
19424
|
-
|
|
19759
|
+
filter?: string;
|
|
19425
19760
|
/**
|
|
19426
|
-
* The
|
|
19761
|
+
* Optional. The fields by which to order the valued resources response. Supported fields: * `exposed_score` * `resource_value` * `resource_type` * `resource` * `display_name` Values should be a comma separated list of fields. For example: `exposed_score,resource_value`. The default sorting order is descending. To specify ascending or descending order for a field, append a ` ASC` or a ` DESC` suffix, respectively; for example: `exposed_score DESC`.
|
|
19427
19762
|
*/
|
|
19428
|
-
|
|
19429
|
-
|
|
19763
|
+
orderBy?: string;
|
|
19430
19764
|
/**
|
|
19431
|
-
*
|
|
19765
|
+
* The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.
|
|
19432
19766
|
*/
|
|
19433
|
-
|
|
19767
|
+
pageSize?: number;
|
|
19768
|
+
/**
|
|
19769
|
+
* The value returned by the last `ListValuedResourcesResponse`; indicates that this is a continuation of a prior `ListValuedResources` call, and that the system should return the next page of data.
|
|
19770
|
+
*/
|
|
19771
|
+
pageToken?: string;
|
|
19772
|
+
/**
|
|
19773
|
+
* Required. Name of parent to list valued resources. Valid formats: `organizations/{organization\}`, `organizations/{organization\}/simulations/{simulation\}` `organizations/{organization\}/simulations/{simulation\}/attackExposureResults/{attack_exposure_result_v2\}`
|
|
19774
|
+
*/
|
|
19775
|
+
parent?: string;
|
|
19434
19776
|
}
|
|
19435
19777
|
|
|
19436
19778
|
export class Resource$Projects {
|
|
@@ -21485,104 +21827,6 @@ export namespace securitycenter_v1 {
|
|
|
21485
21827
|
this.context = context;
|
|
21486
21828
|
}
|
|
21487
21829
|
|
|
21488
|
-
/**
|
|
21489
|
-
* Creates a mute config.
|
|
21490
|
-
*
|
|
21491
|
-
* @param params - Parameters for request
|
|
21492
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
21493
|
-
* @param callback - Optional callback that handles the response.
|
|
21494
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
21495
|
-
*/
|
|
21496
|
-
create(
|
|
21497
|
-
params: Params$Resource$Projects$Locations$Muteconfigs$Create,
|
|
21498
|
-
options: StreamMethodOptions
|
|
21499
|
-
): GaxiosPromise<Readable>;
|
|
21500
|
-
create(
|
|
21501
|
-
params?: Params$Resource$Projects$Locations$Muteconfigs$Create,
|
|
21502
|
-
options?: MethodOptions
|
|
21503
|
-
): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
|
|
21504
|
-
create(
|
|
21505
|
-
params: Params$Resource$Projects$Locations$Muteconfigs$Create,
|
|
21506
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
21507
|
-
callback: BodyResponseCallback<Readable>
|
|
21508
|
-
): void;
|
|
21509
|
-
create(
|
|
21510
|
-
params: Params$Resource$Projects$Locations$Muteconfigs$Create,
|
|
21511
|
-
options:
|
|
21512
|
-
| MethodOptions
|
|
21513
|
-
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>,
|
|
21514
|
-
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
21515
|
-
): void;
|
|
21516
|
-
create(
|
|
21517
|
-
params: Params$Resource$Projects$Locations$Muteconfigs$Create,
|
|
21518
|
-
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
21519
|
-
): void;
|
|
21520
|
-
create(
|
|
21521
|
-
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
21522
|
-
): void;
|
|
21523
|
-
create(
|
|
21524
|
-
paramsOrCallback?:
|
|
21525
|
-
| Params$Resource$Projects$Locations$Muteconfigs$Create
|
|
21526
|
-
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
21527
|
-
| BodyResponseCallback<Readable>,
|
|
21528
|
-
optionsOrCallback?:
|
|
21529
|
-
| MethodOptions
|
|
21530
|
-
| StreamMethodOptions
|
|
21531
|
-
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
21532
|
-
| BodyResponseCallback<Readable>,
|
|
21533
|
-
callback?:
|
|
21534
|
-
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
21535
|
-
| BodyResponseCallback<Readable>
|
|
21536
|
-
):
|
|
21537
|
-
| void
|
|
21538
|
-
| GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
21539
|
-
| GaxiosPromise<Readable> {
|
|
21540
|
-
let params = (paramsOrCallback ||
|
|
21541
|
-
{}) as Params$Resource$Projects$Locations$Muteconfigs$Create;
|
|
21542
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
21543
|
-
|
|
21544
|
-
if (typeof paramsOrCallback === 'function') {
|
|
21545
|
-
callback = paramsOrCallback;
|
|
21546
|
-
params = {} as Params$Resource$Projects$Locations$Muteconfigs$Create;
|
|
21547
|
-
options = {};
|
|
21548
|
-
}
|
|
21549
|
-
|
|
21550
|
-
if (typeof optionsOrCallback === 'function') {
|
|
21551
|
-
callback = optionsOrCallback;
|
|
21552
|
-
options = {};
|
|
21553
|
-
}
|
|
21554
|
-
|
|
21555
|
-
const rootUrl =
|
|
21556
|
-
options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
21557
|
-
const parameters = {
|
|
21558
|
-
options: Object.assign(
|
|
21559
|
-
{
|
|
21560
|
-
url: (rootUrl + '/v1/{+parent}/muteConfigs').replace(
|
|
21561
|
-
/([^:]\/)\/+/g,
|
|
21562
|
-
'$1'
|
|
21563
|
-
),
|
|
21564
|
-
method: 'POST',
|
|
21565
|
-
apiVersion: '',
|
|
21566
|
-
},
|
|
21567
|
-
options
|
|
21568
|
-
),
|
|
21569
|
-
params,
|
|
21570
|
-
requiredParams: ['parent'],
|
|
21571
|
-
pathParams: ['parent'],
|
|
21572
|
-
context: this.context,
|
|
21573
|
-
};
|
|
21574
|
-
if (callback) {
|
|
21575
|
-
createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
|
|
21576
|
-
parameters,
|
|
21577
|
-
callback as BodyResponseCallback<unknown>
|
|
21578
|
-
);
|
|
21579
|
-
} else {
|
|
21580
|
-
return createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
|
|
21581
|
-
parameters
|
|
21582
|
-
);
|
|
21583
|
-
}
|
|
21584
|
-
}
|
|
21585
|
-
|
|
21586
21830
|
/**
|
|
21587
21831
|
* Deletes an existing mute config.
|
|
21588
21832
|
*
|
|
@@ -21764,97 +22008,6 @@ export namespace securitycenter_v1 {
|
|
|
21764
22008
|
}
|
|
21765
22009
|
}
|
|
21766
22010
|
|
|
21767
|
-
/**
|
|
21768
|
-
* Lists mute configs.
|
|
21769
|
-
*
|
|
21770
|
-
* @param params - Parameters for request
|
|
21771
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
21772
|
-
* @param callback - Optional callback that handles the response.
|
|
21773
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
21774
|
-
*/
|
|
21775
|
-
list(
|
|
21776
|
-
params: Params$Resource$Projects$Locations$Muteconfigs$List,
|
|
21777
|
-
options: StreamMethodOptions
|
|
21778
|
-
): GaxiosPromise<Readable>;
|
|
21779
|
-
list(
|
|
21780
|
-
params?: Params$Resource$Projects$Locations$Muteconfigs$List,
|
|
21781
|
-
options?: MethodOptions
|
|
21782
|
-
): GaxiosPromise<Schema$ListMuteConfigsResponse>;
|
|
21783
|
-
list(
|
|
21784
|
-
params: Params$Resource$Projects$Locations$Muteconfigs$List,
|
|
21785
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
21786
|
-
callback: BodyResponseCallback<Readable>
|
|
21787
|
-
): void;
|
|
21788
|
-
list(
|
|
21789
|
-
params: Params$Resource$Projects$Locations$Muteconfigs$List,
|
|
21790
|
-
options:
|
|
21791
|
-
| MethodOptions
|
|
21792
|
-
| BodyResponseCallback<Schema$ListMuteConfigsResponse>,
|
|
21793
|
-
callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
21794
|
-
): void;
|
|
21795
|
-
list(
|
|
21796
|
-
params: Params$Resource$Projects$Locations$Muteconfigs$List,
|
|
21797
|
-
callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
21798
|
-
): void;
|
|
21799
|
-
list(callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>): void;
|
|
21800
|
-
list(
|
|
21801
|
-
paramsOrCallback?:
|
|
21802
|
-
| Params$Resource$Projects$Locations$Muteconfigs$List
|
|
21803
|
-
| BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
21804
|
-
| BodyResponseCallback<Readable>,
|
|
21805
|
-
optionsOrCallback?:
|
|
21806
|
-
| MethodOptions
|
|
21807
|
-
| StreamMethodOptions
|
|
21808
|
-
| BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
21809
|
-
| BodyResponseCallback<Readable>,
|
|
21810
|
-
callback?:
|
|
21811
|
-
| BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
21812
|
-
| BodyResponseCallback<Readable>
|
|
21813
|
-
):
|
|
21814
|
-
| void
|
|
21815
|
-
| GaxiosPromise<Schema$ListMuteConfigsResponse>
|
|
21816
|
-
| GaxiosPromise<Readable> {
|
|
21817
|
-
let params = (paramsOrCallback ||
|
|
21818
|
-
{}) as Params$Resource$Projects$Locations$Muteconfigs$List;
|
|
21819
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
21820
|
-
|
|
21821
|
-
if (typeof paramsOrCallback === 'function') {
|
|
21822
|
-
callback = paramsOrCallback;
|
|
21823
|
-
params = {} as Params$Resource$Projects$Locations$Muteconfigs$List;
|
|
21824
|
-
options = {};
|
|
21825
|
-
}
|
|
21826
|
-
|
|
21827
|
-
if (typeof optionsOrCallback === 'function') {
|
|
21828
|
-
callback = optionsOrCallback;
|
|
21829
|
-
options = {};
|
|
21830
|
-
}
|
|
21831
|
-
|
|
21832
|
-
const rootUrl =
|
|
21833
|
-
options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
21834
|
-
const parameters = {
|
|
21835
|
-
options: Object.assign(
|
|
21836
|
-
{
|
|
21837
|
-
url: (rootUrl + '/v1/{+parent}').replace(/([^:]\/)\/+/g, '$1'),
|
|
21838
|
-
method: 'GET',
|
|
21839
|
-
apiVersion: '',
|
|
21840
|
-
},
|
|
21841
|
-
options
|
|
21842
|
-
),
|
|
21843
|
-
params,
|
|
21844
|
-
requiredParams: ['parent'],
|
|
21845
|
-
pathParams: ['parent'],
|
|
21846
|
-
context: this.context,
|
|
21847
|
-
};
|
|
21848
|
-
if (callback) {
|
|
21849
|
-
createAPIRequest<Schema$ListMuteConfigsResponse>(
|
|
21850
|
-
parameters,
|
|
21851
|
-
callback as BodyResponseCallback<unknown>
|
|
21852
|
-
);
|
|
21853
|
-
} else {
|
|
21854
|
-
return createAPIRequest<Schema$ListMuteConfigsResponse>(parameters);
|
|
21855
|
-
}
|
|
21856
|
-
}
|
|
21857
|
-
|
|
21858
22011
|
/**
|
|
21859
22012
|
* Updates a mute config.
|
|
21860
22013
|
*
|
|
@@ -21951,22 +22104,6 @@ export namespace securitycenter_v1 {
|
|
|
21951
22104
|
}
|
|
21952
22105
|
}
|
|
21953
22106
|
|
|
21954
|
-
export interface Params$Resource$Projects$Locations$Muteconfigs$Create
|
|
21955
|
-
extends StandardParameters {
|
|
21956
|
-
/**
|
|
21957
|
-
* 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.
|
|
21958
|
-
*/
|
|
21959
|
-
muteConfigId?: string;
|
|
21960
|
-
/**
|
|
21961
|
-
* Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
21962
|
-
*/
|
|
21963
|
-
parent?: string;
|
|
21964
|
-
|
|
21965
|
-
/**
|
|
21966
|
-
* Request body metadata
|
|
21967
|
-
*/
|
|
21968
|
-
requestBody?: Schema$GoogleCloudSecuritycenterV1MuteConfig;
|
|
21969
|
-
}
|
|
21970
22107
|
export interface Params$Resource$Projects$Locations$Muteconfigs$Delete
|
|
21971
22108
|
extends StandardParameters {
|
|
21972
22109
|
/**
|
|
@@ -21981,21 +22118,6 @@ export namespace securitycenter_v1 {
|
|
|
21981
22118
|
*/
|
|
21982
22119
|
name?: string;
|
|
21983
22120
|
}
|
|
21984
|
-
export interface Params$Resource$Projects$Locations$Muteconfigs$List
|
|
21985
|
-
extends StandardParameters {
|
|
21986
|
-
/**
|
|
21987
|
-
* 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.
|
|
21988
|
-
*/
|
|
21989
|
-
pageSize?: number;
|
|
21990
|
-
/**
|
|
21991
|
-
* 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.
|
|
21992
|
-
*/
|
|
21993
|
-
pageToken?: string;
|
|
21994
|
-
/**
|
|
21995
|
-
* Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.
|
|
21996
|
-
*/
|
|
21997
|
-
parent?: string;
|
|
21998
|
-
}
|
|
21999
22121
|
export interface Params$Resource$Projects$Locations$Muteconfigs$Patch
|
|
22000
22122
|
extends StandardParameters {
|
|
22001
22123
|
/**
|