@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/v1beta1.ts
CHANGED
|
@@ -279,13 +279,21 @@ export namespace securitycenter_v1beta1 {
|
|
|
279
279
|
*/
|
|
280
280
|
classification?: string | null;
|
|
281
281
|
/**
|
|
282
|
-
* Total BPS (bytes per second) volume of attack.
|
|
282
|
+
* Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.
|
|
283
283
|
*/
|
|
284
284
|
volumeBps?: number | null;
|
|
285
285
|
/**
|
|
286
|
-
* Total
|
|
286
|
+
* Total BPS (bytes per second) volume of attack.
|
|
287
|
+
*/
|
|
288
|
+
volumeBpsLong?: string | null;
|
|
289
|
+
/**
|
|
290
|
+
* Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.
|
|
287
291
|
*/
|
|
288
292
|
volumePps?: number | null;
|
|
293
|
+
/**
|
|
294
|
+
* Total PPS (packets per second) volume of attack.
|
|
295
|
+
*/
|
|
296
|
+
volumePpsLong?: string | null;
|
|
289
297
|
}
|
|
290
298
|
/**
|
|
291
299
|
* An attack exposure contains the results of an attack path simulation run.
|
|
@@ -427,11 +435,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
427
435
|
* The Azure subscription associated with the resource.
|
|
428
436
|
*/
|
|
429
437
|
subscription?: Schema$AzureSubscription;
|
|
438
|
+
/**
|
|
439
|
+
* The Azure Entra tenant associated with the resource.
|
|
440
|
+
*/
|
|
441
|
+
tenant?: Schema$AzureTenant;
|
|
430
442
|
}
|
|
431
443
|
/**
|
|
432
444
|
* Represents an Azure resource group.
|
|
433
445
|
*/
|
|
434
446
|
export interface Schema$AzureResourceGroup {
|
|
447
|
+
/**
|
|
448
|
+
* The ID of the Azure resource group.
|
|
449
|
+
*/
|
|
450
|
+
id?: string | null;
|
|
435
451
|
/**
|
|
436
452
|
* The name of the Azure resource group. This is not a UUID.
|
|
437
453
|
*/
|
|
@@ -450,6 +466,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
450
466
|
*/
|
|
451
467
|
id?: string | null;
|
|
452
468
|
}
|
|
469
|
+
/**
|
|
470
|
+
* Represents a Microsoft Entra tenant.
|
|
471
|
+
*/
|
|
472
|
+
export interface Schema$AzureTenant {
|
|
473
|
+
/**
|
|
474
|
+
* The display name of the Azure tenant.
|
|
475
|
+
*/
|
|
476
|
+
displayName?: string | null;
|
|
477
|
+
/**
|
|
478
|
+
* The ID of the Microsoft Entra tenant, for example, "a11aaa11-aa11-1aa1-11aa-1aaa11a".
|
|
479
|
+
*/
|
|
480
|
+
id?: string | null;
|
|
481
|
+
}
|
|
453
482
|
/**
|
|
454
483
|
* Information related to Google Cloud Backup and DR Service findings.
|
|
455
484
|
*/
|
|
@@ -738,6 +767,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
738
767
|
* Date the first publicly available exploit or PoC was released.
|
|
739
768
|
*/
|
|
740
769
|
exploitReleaseDate?: string | null;
|
|
770
|
+
/**
|
|
771
|
+
* Date of the earliest known exploitation.
|
|
772
|
+
*/
|
|
773
|
+
firstExploitationDate?: string | null;
|
|
741
774
|
/**
|
|
742
775
|
* The unique identifier for the vulnerability. e.g. CVE-2021-34527
|
|
743
776
|
*/
|
|
@@ -804,6 +837,27 @@ export namespace securitycenter_v1beta1 {
|
|
|
804
837
|
*/
|
|
805
838
|
userInteraction?: string | null;
|
|
806
839
|
}
|
|
840
|
+
/**
|
|
841
|
+
* Details about a data access attempt made by a principal not authorized under applicable data security policy.
|
|
842
|
+
*/
|
|
843
|
+
export interface Schema$DataAccessEvent {
|
|
844
|
+
/**
|
|
845
|
+
* Unique identifier for data access event.
|
|
846
|
+
*/
|
|
847
|
+
eventId?: string | null;
|
|
848
|
+
/**
|
|
849
|
+
* Timestamp of data access event.
|
|
850
|
+
*/
|
|
851
|
+
eventTime?: string | null;
|
|
852
|
+
/**
|
|
853
|
+
* The operation performed by the principal to access the data.
|
|
854
|
+
*/
|
|
855
|
+
operation?: string | null;
|
|
856
|
+
/**
|
|
857
|
+
* The email address of the principal that accessed the data. The principal could be a user account, service account, Google group, or other.
|
|
858
|
+
*/
|
|
859
|
+
principalEmail?: string | null;
|
|
860
|
+
}
|
|
807
861
|
/**
|
|
808
862
|
* 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.
|
|
809
863
|
*/
|
|
@@ -833,6 +887,52 @@ export namespace securitycenter_v1beta1 {
|
|
|
833
887
|
*/
|
|
834
888
|
version?: string | null;
|
|
835
889
|
}
|
|
890
|
+
/**
|
|
891
|
+
* 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.
|
|
892
|
+
*/
|
|
893
|
+
export interface Schema$DataFlowEvent {
|
|
894
|
+
/**
|
|
895
|
+
* Unique identifier for data flow event.
|
|
896
|
+
*/
|
|
897
|
+
eventId?: string | null;
|
|
898
|
+
/**
|
|
899
|
+
* Timestamp of data flow event.
|
|
900
|
+
*/
|
|
901
|
+
eventTime?: string | null;
|
|
902
|
+
/**
|
|
903
|
+
* The operation performed by the principal for the data flow event.
|
|
904
|
+
*/
|
|
905
|
+
operation?: string | null;
|
|
906
|
+
/**
|
|
907
|
+
* 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.
|
|
908
|
+
*/
|
|
909
|
+
principalEmail?: string | null;
|
|
910
|
+
/**
|
|
911
|
+
* Non-compliant location of the principal or the data destination.
|
|
912
|
+
*/
|
|
913
|
+
violatedLocation?: string | null;
|
|
914
|
+
}
|
|
915
|
+
/**
|
|
916
|
+
* 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.
|
|
917
|
+
*/
|
|
918
|
+
export interface Schema$DataRetentionDeletionEvent {
|
|
919
|
+
/**
|
|
920
|
+
* 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.
|
|
921
|
+
*/
|
|
922
|
+
dataObjectCount?: string | null;
|
|
923
|
+
/**
|
|
924
|
+
* Timestamp indicating when the event was detected.
|
|
925
|
+
*/
|
|
926
|
+
eventDetectionTime?: string | null;
|
|
927
|
+
/**
|
|
928
|
+
* Type of the DRD event.
|
|
929
|
+
*/
|
|
930
|
+
eventType?: string | null;
|
|
931
|
+
/**
|
|
932
|
+
* 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.
|
|
933
|
+
*/
|
|
934
|
+
maxRetentionAllowed?: string | null;
|
|
935
|
+
}
|
|
836
936
|
/**
|
|
837
937
|
* Memory hash detection contributing to the binary family match.
|
|
838
938
|
*/
|
|
@@ -846,6 +946,15 @@ export namespace securitycenter_v1beta1 {
|
|
|
846
946
|
*/
|
|
847
947
|
percentPagesMatched?: number | null;
|
|
848
948
|
}
|
|
949
|
+
/**
|
|
950
|
+
* Contains information about the disk associated with the finding.
|
|
951
|
+
*/
|
|
952
|
+
export interface Schema$Disk {
|
|
953
|
+
/**
|
|
954
|
+
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-id/zones/zone-id/disks/disk-id".
|
|
955
|
+
*/
|
|
956
|
+
name?: string | null;
|
|
957
|
+
}
|
|
849
958
|
/**
|
|
850
959
|
* Path of the file in terms of underlying disk/partition identifiers.
|
|
851
960
|
*/
|
|
@@ -1033,14 +1142,30 @@ export namespace securitycenter_v1beta1 {
|
|
|
1033
1142
|
* The time at which the finding was created in Security Command Center.
|
|
1034
1143
|
*/
|
|
1035
1144
|
createTime?: string | null;
|
|
1145
|
+
/**
|
|
1146
|
+
* Data access events associated with the finding.
|
|
1147
|
+
*/
|
|
1148
|
+
dataAccessEvents?: Schema$DataAccessEvent[];
|
|
1036
1149
|
/**
|
|
1037
1150
|
* Database associated with the finding.
|
|
1038
1151
|
*/
|
|
1039
1152
|
database?: Schema$Database;
|
|
1153
|
+
/**
|
|
1154
|
+
* Data flow events associated with the finding.
|
|
1155
|
+
*/
|
|
1156
|
+
dataFlowEvents?: Schema$DataFlowEvent[];
|
|
1157
|
+
/**
|
|
1158
|
+
* Data retention deletion events associated with the finding.
|
|
1159
|
+
*/
|
|
1160
|
+
dataRetentionDeletionEvents?: Schema$DataRetentionDeletionEvent[];
|
|
1040
1161
|
/**
|
|
1041
1162
|
* Contains more details about the finding.
|
|
1042
1163
|
*/
|
|
1043
1164
|
description?: string | null;
|
|
1165
|
+
/**
|
|
1166
|
+
* Disk associated with the finding.
|
|
1167
|
+
*/
|
|
1168
|
+
disk?: Schema$Disk;
|
|
1044
1169
|
/**
|
|
1045
1170
|
* 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.
|
|
1046
1171
|
*/
|
|
@@ -1424,6 +1549,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
1424
1549
|
* 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.
|
|
1425
1550
|
*/
|
|
1426
1551
|
export interface Schema$GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule {
|
|
1552
|
+
/**
|
|
1553
|
+
* The cloud provider of the custom module.
|
|
1554
|
+
*/
|
|
1555
|
+
cloudProvider?: string | null;
|
|
1427
1556
|
/**
|
|
1428
1557
|
* Output only. The user-specified configuration for the module.
|
|
1429
1558
|
*/
|
|
@@ -1822,7 +1951,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
1822
1951
|
*/
|
|
1823
1952
|
sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping;
|
|
1824
1953
|
/**
|
|
1825
|
-
* Required. Tag values combined with `AND` to check against.
|
|
1954
|
+
* 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
|
|
1826
1955
|
*/
|
|
1827
1956
|
tagValues?: string[] | null;
|
|
1828
1957
|
/**
|
|
@@ -1851,6 +1980,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
1851
1980
|
* 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.
|
|
1852
1981
|
*/
|
|
1853
1982
|
ancestorModule?: string | null;
|
|
1983
|
+
/**
|
|
1984
|
+
* The cloud provider of the custom module.
|
|
1985
|
+
*/
|
|
1986
|
+
cloudProvider?: string | null;
|
|
1854
1987
|
/**
|
|
1855
1988
|
* The user specified custom configuration for the module.
|
|
1856
1989
|
*/
|
|
@@ -2002,13 +2135,21 @@ export namespace securitycenter_v1beta1 {
|
|
|
2002
2135
|
*/
|
|
2003
2136
|
classification?: string | null;
|
|
2004
2137
|
/**
|
|
2005
|
-
* Total BPS (bytes per second) volume of attack.
|
|
2138
|
+
* Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.
|
|
2006
2139
|
*/
|
|
2007
2140
|
volumeBps?: number | null;
|
|
2008
2141
|
/**
|
|
2009
|
-
* Total
|
|
2142
|
+
* Total BPS (bytes per second) volume of attack.
|
|
2143
|
+
*/
|
|
2144
|
+
volumeBpsLong?: string | null;
|
|
2145
|
+
/**
|
|
2146
|
+
* Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.
|
|
2010
2147
|
*/
|
|
2011
2148
|
volumePps?: number | null;
|
|
2149
|
+
/**
|
|
2150
|
+
* Total PPS (packets per second) volume of attack.
|
|
2151
|
+
*/
|
|
2152
|
+
volumePpsLong?: string | null;
|
|
2012
2153
|
}
|
|
2013
2154
|
/**
|
|
2014
2155
|
* An attack exposure contains the results of an attack path simulation run.
|
|
@@ -2124,11 +2265,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
2124
2265
|
* The Azure subscription associated with the resource.
|
|
2125
2266
|
*/
|
|
2126
2267
|
subscription?: Schema$GoogleCloudSecuritycenterV2AzureSubscription;
|
|
2268
|
+
/**
|
|
2269
|
+
* The Azure Entra tenant associated with the resource.
|
|
2270
|
+
*/
|
|
2271
|
+
tenant?: Schema$GoogleCloudSecuritycenterV2AzureTenant;
|
|
2127
2272
|
}
|
|
2128
2273
|
/**
|
|
2129
2274
|
* Represents an Azure resource group.
|
|
2130
2275
|
*/
|
|
2131
2276
|
export interface Schema$GoogleCloudSecuritycenterV2AzureResourceGroup {
|
|
2277
|
+
/**
|
|
2278
|
+
* The ID of the Azure resource group.
|
|
2279
|
+
*/
|
|
2280
|
+
id?: string | null;
|
|
2132
2281
|
/**
|
|
2133
2282
|
* The name of the Azure resource group. This is not a UUID.
|
|
2134
2283
|
*/
|
|
@@ -2147,6 +2296,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
2147
2296
|
*/
|
|
2148
2297
|
id?: string | null;
|
|
2149
2298
|
}
|
|
2299
|
+
/**
|
|
2300
|
+
* Represents a Microsoft Entra tenant.
|
|
2301
|
+
*/
|
|
2302
|
+
export interface Schema$GoogleCloudSecuritycenterV2AzureTenant {
|
|
2303
|
+
/**
|
|
2304
|
+
* The display name of the Azure tenant.
|
|
2305
|
+
*/
|
|
2306
|
+
displayName?: string | null;
|
|
2307
|
+
/**
|
|
2308
|
+
* The ID of the Microsoft Entra tenant, for example, "a11aaa11-aa11-1aa1-11aa-1aaa11a".
|
|
2309
|
+
*/
|
|
2310
|
+
id?: string | null;
|
|
2311
|
+
}
|
|
2150
2312
|
/**
|
|
2151
2313
|
* Information related to Google Cloud Backup and DR Service findings.
|
|
2152
2314
|
*/
|
|
@@ -2439,6 +2601,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
2439
2601
|
* Date the first publicly available exploit or PoC was released.
|
|
2440
2602
|
*/
|
|
2441
2603
|
exploitReleaseDate?: string | null;
|
|
2604
|
+
/**
|
|
2605
|
+
* Date of the earliest known exploitation.
|
|
2606
|
+
*/
|
|
2607
|
+
firstExploitationDate?: string | null;
|
|
2442
2608
|
/**
|
|
2443
2609
|
* The unique identifier for the vulnerability. e.g. CVE-2021-34527
|
|
2444
2610
|
*/
|
|
@@ -2505,6 +2671,27 @@ export namespace securitycenter_v1beta1 {
|
|
|
2505
2671
|
*/
|
|
2506
2672
|
userInteraction?: string | null;
|
|
2507
2673
|
}
|
|
2674
|
+
/**
|
|
2675
|
+
* Details about a data access attempt made by a principal not authorized under applicable data security policy.
|
|
2676
|
+
*/
|
|
2677
|
+
export interface Schema$GoogleCloudSecuritycenterV2DataAccessEvent {
|
|
2678
|
+
/**
|
|
2679
|
+
* Unique identifier for data access event.
|
|
2680
|
+
*/
|
|
2681
|
+
eventId?: string | null;
|
|
2682
|
+
/**
|
|
2683
|
+
* Timestamp of data access event.
|
|
2684
|
+
*/
|
|
2685
|
+
eventTime?: string | null;
|
|
2686
|
+
/**
|
|
2687
|
+
* The operation performed by the principal to access the data.
|
|
2688
|
+
*/
|
|
2689
|
+
operation?: string | null;
|
|
2690
|
+
/**
|
|
2691
|
+
* The email address of the principal that accessed the data. The principal could be a user account, service account, Google group, or other.
|
|
2692
|
+
*/
|
|
2693
|
+
principalEmail?: string | null;
|
|
2694
|
+
}
|
|
2508
2695
|
/**
|
|
2509
2696
|
* 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.
|
|
2510
2697
|
*/
|
|
@@ -2534,6 +2721,52 @@ export namespace securitycenter_v1beta1 {
|
|
|
2534
2721
|
*/
|
|
2535
2722
|
version?: string | null;
|
|
2536
2723
|
}
|
|
2724
|
+
/**
|
|
2725
|
+
* 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.
|
|
2726
|
+
*/
|
|
2727
|
+
export interface Schema$GoogleCloudSecuritycenterV2DataFlowEvent {
|
|
2728
|
+
/**
|
|
2729
|
+
* Unique identifier for data flow event.
|
|
2730
|
+
*/
|
|
2731
|
+
eventId?: string | null;
|
|
2732
|
+
/**
|
|
2733
|
+
* Timestamp of data flow event.
|
|
2734
|
+
*/
|
|
2735
|
+
eventTime?: string | null;
|
|
2736
|
+
/**
|
|
2737
|
+
* The operation performed by the principal for the data flow event.
|
|
2738
|
+
*/
|
|
2739
|
+
operation?: string | null;
|
|
2740
|
+
/**
|
|
2741
|
+
* 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.
|
|
2742
|
+
*/
|
|
2743
|
+
principalEmail?: string | null;
|
|
2744
|
+
/**
|
|
2745
|
+
* Non-compliant location of the principal or the data destination.
|
|
2746
|
+
*/
|
|
2747
|
+
violatedLocation?: string | null;
|
|
2748
|
+
}
|
|
2749
|
+
/**
|
|
2750
|
+
* 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.
|
|
2751
|
+
*/
|
|
2752
|
+
export interface Schema$GoogleCloudSecuritycenterV2DataRetentionDeletionEvent {
|
|
2753
|
+
/**
|
|
2754
|
+
* 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.
|
|
2755
|
+
*/
|
|
2756
|
+
dataObjectCount?: string | null;
|
|
2757
|
+
/**
|
|
2758
|
+
* Timestamp indicating when the event was detected.
|
|
2759
|
+
*/
|
|
2760
|
+
eventDetectionTime?: string | null;
|
|
2761
|
+
/**
|
|
2762
|
+
* Type of the DRD event.
|
|
2763
|
+
*/
|
|
2764
|
+
eventType?: string | null;
|
|
2765
|
+
/**
|
|
2766
|
+
* 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.
|
|
2767
|
+
*/
|
|
2768
|
+
maxRetentionAllowed?: string | null;
|
|
2769
|
+
}
|
|
2537
2770
|
/**
|
|
2538
2771
|
* Memory hash detection contributing to the binary family match.
|
|
2539
2772
|
*/
|
|
@@ -2547,6 +2780,15 @@ export namespace securitycenter_v1beta1 {
|
|
|
2547
2780
|
*/
|
|
2548
2781
|
percentPagesMatched?: number | null;
|
|
2549
2782
|
}
|
|
2783
|
+
/**
|
|
2784
|
+
* Contains information about the disk associated with the finding.
|
|
2785
|
+
*/
|
|
2786
|
+
export interface Schema$GoogleCloudSecuritycenterV2Disk {
|
|
2787
|
+
/**
|
|
2788
|
+
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-id/zones/zone-id/disks/disk-id".
|
|
2789
|
+
*/
|
|
2790
|
+
name?: string | null;
|
|
2791
|
+
}
|
|
2550
2792
|
/**
|
|
2551
2793
|
* Path of the file in terms of underlying disk/partition identifiers.
|
|
2552
2794
|
*/
|
|
@@ -2760,14 +3002,30 @@ export namespace securitycenter_v1beta1 {
|
|
|
2760
3002
|
* Output only. The time at which the finding was created in Security Command Center.
|
|
2761
3003
|
*/
|
|
2762
3004
|
createTime?: string | null;
|
|
3005
|
+
/**
|
|
3006
|
+
* Data access events associated with the finding.
|
|
3007
|
+
*/
|
|
3008
|
+
dataAccessEvents?: Schema$GoogleCloudSecuritycenterV2DataAccessEvent[];
|
|
2763
3009
|
/**
|
|
2764
3010
|
* Database associated with the finding.
|
|
2765
3011
|
*/
|
|
2766
3012
|
database?: Schema$GoogleCloudSecuritycenterV2Database;
|
|
3013
|
+
/**
|
|
3014
|
+
* Data flow events associated with the finding.
|
|
3015
|
+
*/
|
|
3016
|
+
dataFlowEvents?: Schema$GoogleCloudSecuritycenterV2DataFlowEvent[];
|
|
3017
|
+
/**
|
|
3018
|
+
* Data retention deletion events associated with the finding.
|
|
3019
|
+
*/
|
|
3020
|
+
dataRetentionDeletionEvents?: Schema$GoogleCloudSecuritycenterV2DataRetentionDeletionEvent[];
|
|
2767
3021
|
/**
|
|
2768
3022
|
* Contains more details about the finding.
|
|
2769
3023
|
*/
|
|
2770
3024
|
description?: string | null;
|
|
3025
|
+
/**
|
|
3026
|
+
* Disk associated with the finding.
|
|
3027
|
+
*/
|
|
3028
|
+
disk?: Schema$GoogleCloudSecuritycenterV2Disk;
|
|
2771
3029
|
/**
|
|
2772
3030
|
* 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.
|
|
2773
3031
|
*/
|
|
@@ -2980,6 +3238,269 @@ export namespace securitycenter_v1beta1 {
|
|
|
2980
3238
|
*/
|
|
2981
3239
|
uris?: string[] | null;
|
|
2982
3240
|
}
|
|
3241
|
+
/**
|
|
3242
|
+
* Security Command Center Issue.
|
|
3243
|
+
*/
|
|
3244
|
+
export interface Schema$GoogleCloudSecuritycenterV2Issue {
|
|
3245
|
+
/**
|
|
3246
|
+
* Output only. The time the issue was created.
|
|
3247
|
+
*/
|
|
3248
|
+
createTime?: string | null;
|
|
3249
|
+
/**
|
|
3250
|
+
* The description of the issue in Markdown format.
|
|
3251
|
+
*/
|
|
3252
|
+
description?: string | null;
|
|
3253
|
+
/**
|
|
3254
|
+
* The finding category or rule name that generated the issue.
|
|
3255
|
+
*/
|
|
3256
|
+
detection?: string | null;
|
|
3257
|
+
/**
|
|
3258
|
+
* The domains of the issue.
|
|
3259
|
+
*/
|
|
3260
|
+
domains?: Schema$GoogleCloudSecuritycenterV2IssueDomain[];
|
|
3261
|
+
/**
|
|
3262
|
+
* The exposure score of the issue.
|
|
3263
|
+
*/
|
|
3264
|
+
exposureScore?: number | null;
|
|
3265
|
+
/**
|
|
3266
|
+
* The type of the issue.
|
|
3267
|
+
*/
|
|
3268
|
+
issueType?: string | null;
|
|
3269
|
+
/**
|
|
3270
|
+
* The time the issue was last observed.
|
|
3271
|
+
*/
|
|
3272
|
+
lastObservationTime?: string | null;
|
|
3273
|
+
/**
|
|
3274
|
+
* The mute information of the issue.
|
|
3275
|
+
*/
|
|
3276
|
+
mute?: Schema$GoogleCloudSecuritycenterV2IssueMute;
|
|
3277
|
+
/**
|
|
3278
|
+
* Identifier. The name of the issue. Format: organizations/{organization\}/locations/{location\}/issues/{issue\}
|
|
3279
|
+
*/
|
|
3280
|
+
name?: string | null;
|
|
3281
|
+
/**
|
|
3282
|
+
* The primary resource associated with the issue.
|
|
3283
|
+
*/
|
|
3284
|
+
primaryResource?: Schema$GoogleCloudSecuritycenterV2IssueResource;
|
|
3285
|
+
/**
|
|
3286
|
+
* The findings related to the issue.
|
|
3287
|
+
*/
|
|
3288
|
+
relatedFindings?: Schema$GoogleCloudSecuritycenterV2IssueFinding[];
|
|
3289
|
+
/**
|
|
3290
|
+
* Approaches to remediate the issue in Markdown format.
|
|
3291
|
+
*/
|
|
3292
|
+
remediations?: string[] | null;
|
|
3293
|
+
/**
|
|
3294
|
+
* Additional resources associated with the issue.
|
|
3295
|
+
*/
|
|
3296
|
+
secondaryResources?: Schema$GoogleCloudSecuritycenterV2IssueResource[];
|
|
3297
|
+
/**
|
|
3298
|
+
* The security context of the issue.
|
|
3299
|
+
*/
|
|
3300
|
+
securityContexts?: Schema$GoogleCloudSecuritycenterV2IssueSecurityContext[];
|
|
3301
|
+
/**
|
|
3302
|
+
* The severity of the issue.
|
|
3303
|
+
*/
|
|
3304
|
+
severity?: string | null;
|
|
3305
|
+
/**
|
|
3306
|
+
* Output only. The state of the issue.
|
|
3307
|
+
*/
|
|
3308
|
+
state?: string | null;
|
|
3309
|
+
/**
|
|
3310
|
+
* Output only. The time the issue was last updated.
|
|
3311
|
+
*/
|
|
3312
|
+
updateTime?: string | null;
|
|
3313
|
+
}
|
|
3314
|
+
/**
|
|
3315
|
+
* The domains of an issue.
|
|
3316
|
+
*/
|
|
3317
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueDomain {
|
|
3318
|
+
/**
|
|
3319
|
+
* The domain category of the issue.
|
|
3320
|
+
*/
|
|
3321
|
+
domainCategory?: string | null;
|
|
3322
|
+
}
|
|
3323
|
+
/**
|
|
3324
|
+
* Finding related to an issue.
|
|
3325
|
+
*/
|
|
3326
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueFinding {
|
|
3327
|
+
/**
|
|
3328
|
+
* The CVE of the finding.
|
|
3329
|
+
*/
|
|
3330
|
+
cve?: Schema$GoogleCloudSecuritycenterV2IssueFindingCve;
|
|
3331
|
+
/**
|
|
3332
|
+
* The name of the finding.
|
|
3333
|
+
*/
|
|
3334
|
+
name?: string | null;
|
|
3335
|
+
/**
|
|
3336
|
+
* The security bulletin of the finding.
|
|
3337
|
+
*/
|
|
3338
|
+
securityBulletin?: Schema$GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin;
|
|
3339
|
+
}
|
|
3340
|
+
/**
|
|
3341
|
+
* The CVE of the finding.
|
|
3342
|
+
*/
|
|
3343
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueFindingCve {
|
|
3344
|
+
/**
|
|
3345
|
+
* The CVE name.
|
|
3346
|
+
*/
|
|
3347
|
+
name?: string | null;
|
|
3348
|
+
}
|
|
3349
|
+
/**
|
|
3350
|
+
* The security bulletin of the finding.
|
|
3351
|
+
*/
|
|
3352
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin {
|
|
3353
|
+
/**
|
|
3354
|
+
* The security bulletin name.
|
|
3355
|
+
*/
|
|
3356
|
+
name?: string | null;
|
|
3357
|
+
}
|
|
3358
|
+
/**
|
|
3359
|
+
* The mute information of the issue.
|
|
3360
|
+
*/
|
|
3361
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueMute {
|
|
3362
|
+
/**
|
|
3363
|
+
* The email address of the user who last changed the mute state of the issue.
|
|
3364
|
+
*/
|
|
3365
|
+
muteInitiator?: string | null;
|
|
3366
|
+
/**
|
|
3367
|
+
* The user-provided reason for muting the issue.
|
|
3368
|
+
*/
|
|
3369
|
+
muteReason?: string | null;
|
|
3370
|
+
/**
|
|
3371
|
+
* Output only. The mute state of the issue.
|
|
3372
|
+
*/
|
|
3373
|
+
muteState?: string | null;
|
|
3374
|
+
/**
|
|
3375
|
+
* The time the issue was muted.
|
|
3376
|
+
*/
|
|
3377
|
+
muteUpdateTime?: string | null;
|
|
3378
|
+
}
|
|
3379
|
+
/**
|
|
3380
|
+
* A resource associated with the an issue.
|
|
3381
|
+
*/
|
|
3382
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueResource {
|
|
3383
|
+
/**
|
|
3384
|
+
* The AWS metadata of the resource associated with the issue. Only populated for AWS resources.
|
|
3385
|
+
*/
|
|
3386
|
+
awsMetadata?: Schema$GoogleCloudSecuritycenterV2IssueResourceAwsMetadata;
|
|
3387
|
+
/**
|
|
3388
|
+
* The Azure metadata of the resource associated with the issue. Only populated for Azure resources.
|
|
3389
|
+
*/
|
|
3390
|
+
azureMetadata?: Schema$GoogleCloudSecuritycenterV2IssueResourceAzureMetadata;
|
|
3391
|
+
/**
|
|
3392
|
+
* The cloud provider of the resource associated with the issue.
|
|
3393
|
+
*/
|
|
3394
|
+
cloudProvider?: string | null;
|
|
3395
|
+
/**
|
|
3396
|
+
* The resource-type specific display name of the resource associated with the issue.
|
|
3397
|
+
*/
|
|
3398
|
+
displayName?: string | null;
|
|
3399
|
+
/**
|
|
3400
|
+
* The Google Cloud metadata of the resource associated with the issue. Only populated for Google Cloud resources.
|
|
3401
|
+
*/
|
|
3402
|
+
googleCloudMetadata?: Schema$GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata;
|
|
3403
|
+
/**
|
|
3404
|
+
* The full resource name of the resource associated with the issue.
|
|
3405
|
+
*/
|
|
3406
|
+
name?: string | null;
|
|
3407
|
+
/**
|
|
3408
|
+
* The type of the resource associated with the issue.
|
|
3409
|
+
*/
|
|
3410
|
+
type?: string | null;
|
|
3411
|
+
}
|
|
3412
|
+
/**
|
|
3413
|
+
* The AWS metadata of a resource associated with an issue.
|
|
3414
|
+
*/
|
|
3415
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueResourceAwsMetadata {
|
|
3416
|
+
/**
|
|
3417
|
+
* The AWS account of the resource associated with the issue.
|
|
3418
|
+
*/
|
|
3419
|
+
account?: Schema$GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount;
|
|
3420
|
+
}
|
|
3421
|
+
/**
|
|
3422
|
+
* The AWS account of the resource associated with the issue.
|
|
3423
|
+
*/
|
|
3424
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount {
|
|
3425
|
+
/**
|
|
3426
|
+
* The AWS account ID of the resource associated with the issue.
|
|
3427
|
+
*/
|
|
3428
|
+
id?: string | null;
|
|
3429
|
+
/**
|
|
3430
|
+
* The AWS account name of the resource associated with the issue.
|
|
3431
|
+
*/
|
|
3432
|
+
name?: string | null;
|
|
3433
|
+
}
|
|
3434
|
+
/**
|
|
3435
|
+
* The Azure metadata of a resource associated with an issue.
|
|
3436
|
+
*/
|
|
3437
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueResourceAzureMetadata {
|
|
3438
|
+
/**
|
|
3439
|
+
* The Azure subscription of the resource associated with the issue.
|
|
3440
|
+
*/
|
|
3441
|
+
subscription?: Schema$GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription;
|
|
3442
|
+
}
|
|
3443
|
+
/**
|
|
3444
|
+
* The Azure subscription of the resource associated with the issue.
|
|
3445
|
+
*/
|
|
3446
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription {
|
|
3447
|
+
/**
|
|
3448
|
+
* The Azure subscription display name of the resource associated with the issue.
|
|
3449
|
+
*/
|
|
3450
|
+
displayName?: string | null;
|
|
3451
|
+
/**
|
|
3452
|
+
* The Azure subscription ID of the resource associated with the issue.
|
|
3453
|
+
*/
|
|
3454
|
+
id?: string | null;
|
|
3455
|
+
}
|
|
3456
|
+
/**
|
|
3457
|
+
* Google Cloud metadata of a resource associated with an issue.
|
|
3458
|
+
*/
|
|
3459
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata {
|
|
3460
|
+
/**
|
|
3461
|
+
* The project ID that the resource associated with the issue belongs to.
|
|
3462
|
+
*/
|
|
3463
|
+
projectId?: string | null;
|
|
3464
|
+
}
|
|
3465
|
+
/**
|
|
3466
|
+
* Security context associated with an issue.
|
|
3467
|
+
*/
|
|
3468
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueSecurityContext {
|
|
3469
|
+
/**
|
|
3470
|
+
* The aggregated count of the security context.
|
|
3471
|
+
*/
|
|
3472
|
+
aggregatedCount?: Schema$GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount;
|
|
3473
|
+
/**
|
|
3474
|
+
* The context of the security context.
|
|
3475
|
+
*/
|
|
3476
|
+
context?: Schema$GoogleCloudSecuritycenterV2IssueSecurityContextContext;
|
|
3477
|
+
}
|
|
3478
|
+
/**
|
|
3479
|
+
* Aggregated count of a security context.
|
|
3480
|
+
*/
|
|
3481
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount {
|
|
3482
|
+
/**
|
|
3483
|
+
* Aggregation key.
|
|
3484
|
+
*/
|
|
3485
|
+
key?: string | null;
|
|
3486
|
+
/**
|
|
3487
|
+
* Aggregation value.
|
|
3488
|
+
*/
|
|
3489
|
+
value?: number | null;
|
|
3490
|
+
}
|
|
3491
|
+
/**
|
|
3492
|
+
* Context of a security context.
|
|
3493
|
+
*/
|
|
3494
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueSecurityContextContext {
|
|
3495
|
+
/**
|
|
3496
|
+
* Context type.
|
|
3497
|
+
*/
|
|
3498
|
+
type?: string | null;
|
|
3499
|
+
/**
|
|
3500
|
+
* Context values.
|
|
3501
|
+
*/
|
|
3502
|
+
values?: string[] | null;
|
|
3503
|
+
}
|
|
2983
3504
|
/**
|
|
2984
3505
|
* Kernel mode rootkit signatures.
|
|
2985
3506
|
*/
|
|
@@ -3538,7 +4059,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
3538
4059
|
*/
|
|
3539
4060
|
sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping;
|
|
3540
4061
|
/**
|
|
3541
|
-
* Tag values combined with `AND` to check against.
|
|
4062
|
+
* 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
|
|
3542
4063
|
*/
|
|
3543
4064
|
tagValues?: string[] | null;
|
|
3544
4065
|
/**
|
|
@@ -4641,7 +5162,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
4641
5162
|
*/
|
|
4642
5163
|
export interface Schema$SetFindingStateRequest {
|
|
4643
5164
|
/**
|
|
4644
|
-
*
|
|
5165
|
+
* Optional. The time at which the updated state takes effect. If not set uses the current time.
|
|
4645
5166
|
*/
|
|
4646
5167
|
startTime?: string | null;
|
|
4647
5168
|
/**
|
|
@@ -5532,7 +6053,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
5532
6053
|
}
|
|
5533
6054
|
|
|
5534
6055
|
/**
|
|
5535
|
-
* 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
|
|
6056
|
+
* 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`.
|
|
5536
6057
|
*
|
|
5537
6058
|
* @param params - Parameters for request
|
|
5538
6059
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -6470,7 +6991,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
6470
6991
|
}
|
|
6471
6992
|
|
|
6472
6993
|
/**
|
|
6473
|
-
*
|
|
6994
|
+
* Returns the permissions that a caller has on the specified source.
|
|
6474
6995
|
*
|
|
6475
6996
|
* @param params - Parameters for request
|
|
6476
6997
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|