@googleapis/securitycenter 9.1.0 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -0
- package/build/v1.d.ts +779 -228
- package/build/v1.js +39 -193
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +721 -47
- package/build/v1beta1.js.map +1 -1
- package/build/v1beta2.d.ts +783 -45
- package/build/v1beta2.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +1029 -885
- package/v1beta1.ts +721 -47
- package/v1beta2.ts +783 -45
package/v1beta1.ts
CHANGED
|
@@ -215,6 +215,24 @@ export namespace securitycenter_v1beta1 {
|
|
|
215
215
|
*/
|
|
216
216
|
confidence?: number | null;
|
|
217
217
|
}
|
|
218
|
+
/**
|
|
219
|
+
* Details about resources affected by this finding.
|
|
220
|
+
*/
|
|
221
|
+
export interface Schema$AffectedResources {
|
|
222
|
+
/**
|
|
223
|
+
* The count of resources affected by the finding.
|
|
224
|
+
*/
|
|
225
|
+
count?: string | null;
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Allowed IP rule.
|
|
229
|
+
*/
|
|
230
|
+
export interface Schema$Allowed {
|
|
231
|
+
/**
|
|
232
|
+
* Optional. Optional list of allowed IP rules.
|
|
233
|
+
*/
|
|
234
|
+
ipRules?: Schema$IpRule[];
|
|
235
|
+
}
|
|
218
236
|
/**
|
|
219
237
|
* Represents an application associated with a finding.
|
|
220
238
|
*/
|
|
@@ -279,13 +297,21 @@ export namespace securitycenter_v1beta1 {
|
|
|
279
297
|
*/
|
|
280
298
|
classification?: string | null;
|
|
281
299
|
/**
|
|
282
|
-
* Total BPS (bytes per second) volume of attack.
|
|
300
|
+
* Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.
|
|
283
301
|
*/
|
|
284
302
|
volumeBps?: number | null;
|
|
285
303
|
/**
|
|
286
|
-
* Total
|
|
304
|
+
* Total BPS (bytes per second) volume of attack.
|
|
305
|
+
*/
|
|
306
|
+
volumeBpsLong?: string | null;
|
|
307
|
+
/**
|
|
308
|
+
* Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.
|
|
287
309
|
*/
|
|
288
310
|
volumePps?: number | null;
|
|
311
|
+
/**
|
|
312
|
+
* Total PPS (packets per second) volume of attack.
|
|
313
|
+
*/
|
|
314
|
+
volumePpsLong?: string | null;
|
|
289
315
|
}
|
|
290
316
|
/**
|
|
291
317
|
* An attack exposure contains the results of an attack path simulation run.
|
|
@@ -436,6 +462,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
436
462
|
* Represents an Azure resource group.
|
|
437
463
|
*/
|
|
438
464
|
export interface Schema$AzureResourceGroup {
|
|
465
|
+
/**
|
|
466
|
+
* The ID of the Azure resource group.
|
|
467
|
+
*/
|
|
468
|
+
id?: string | null;
|
|
439
469
|
/**
|
|
440
470
|
* The name of the Azure resource group. This is not a UUID.
|
|
441
471
|
*/
|
|
@@ -458,6 +488,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
458
488
|
* Represents a Microsoft Entra tenant.
|
|
459
489
|
*/
|
|
460
490
|
export interface Schema$AzureTenant {
|
|
491
|
+
/**
|
|
492
|
+
* The display name of the Azure tenant.
|
|
493
|
+
*/
|
|
494
|
+
displayName?: string | null;
|
|
461
495
|
/**
|
|
462
496
|
* The ID of the Microsoft Entra tenant, for example, "a11aaa11-aa11-1aa1-11aa-1aaa11a".
|
|
463
497
|
*/
|
|
@@ -529,6 +563,15 @@ export namespace securitycenter_v1beta1 {
|
|
|
529
563
|
* The request message for Operations.CancelOperation.
|
|
530
564
|
*/
|
|
531
565
|
export interface Schema$CancelOperationRequest {}
|
|
566
|
+
/**
|
|
567
|
+
* Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations).
|
|
568
|
+
*/
|
|
569
|
+
export interface Schema$Chokepoint {
|
|
570
|
+
/**
|
|
571
|
+
* List of resource names of findings associated with this chokepoint. For example, organizations/123/sources/456/findings/789. This list will have at most 100 findings.
|
|
572
|
+
*/
|
|
573
|
+
relatedFindings?: string[] | null;
|
|
574
|
+
}
|
|
532
575
|
/**
|
|
533
576
|
* Fields related to Google Cloud Armor findings.
|
|
534
577
|
*/
|
|
@@ -630,43 +673,6 @@ export namespace securitycenter_v1beta1 {
|
|
|
630
673
|
*/
|
|
631
674
|
version?: string | null;
|
|
632
675
|
}
|
|
633
|
-
/**
|
|
634
|
-
* Result containing the properties and count of a ComplianceSnapshot request.
|
|
635
|
-
*/
|
|
636
|
-
export interface Schema$ComplianceSnapshot {
|
|
637
|
-
/**
|
|
638
|
-
* The category of Findings matching.
|
|
639
|
-
*/
|
|
640
|
-
category?: string | null;
|
|
641
|
-
/**
|
|
642
|
-
* The cloud provider for the compliance snapshot.
|
|
643
|
-
*/
|
|
644
|
-
cloudProvider?: string | null;
|
|
645
|
-
/**
|
|
646
|
-
* The compliance standard (ie CIS).
|
|
647
|
-
*/
|
|
648
|
-
complianceStandard?: string | null;
|
|
649
|
-
/**
|
|
650
|
-
* The compliance version (ie 1.3) in CIS 1.3.
|
|
651
|
-
*/
|
|
652
|
-
complianceVersion?: string | null;
|
|
653
|
-
/**
|
|
654
|
-
* Total count of findings for the given properties.
|
|
655
|
-
*/
|
|
656
|
-
count?: string | null;
|
|
657
|
-
/**
|
|
658
|
-
* The leaf container resource name that is closest to the snapshot.
|
|
659
|
-
*/
|
|
660
|
-
leafContainerResource?: string | null;
|
|
661
|
-
/**
|
|
662
|
-
* The compliance snapshot name. Format: //sources//complianceSnapshots/
|
|
663
|
-
*/
|
|
664
|
-
name?: string | null;
|
|
665
|
-
/**
|
|
666
|
-
* The snapshot time of the snapshot.
|
|
667
|
-
*/
|
|
668
|
-
snapshotTime?: string | null;
|
|
669
|
-
}
|
|
670
676
|
/**
|
|
671
677
|
* Contains information about the IP connection associated with the finding.
|
|
672
678
|
*/
|
|
@@ -821,6 +827,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
821
827
|
*/
|
|
822
828
|
userInteraction?: string | null;
|
|
823
829
|
}
|
|
830
|
+
/**
|
|
831
|
+
* CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).
|
|
832
|
+
*/
|
|
833
|
+
export interface Schema$Cwe {
|
|
834
|
+
/**
|
|
835
|
+
* The CWE identifier, e.g. CWE-94
|
|
836
|
+
*/
|
|
837
|
+
id?: string | null;
|
|
838
|
+
/**
|
|
839
|
+
* Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
|
|
840
|
+
*/
|
|
841
|
+
references?: Schema$Reference[];
|
|
842
|
+
}
|
|
824
843
|
/**
|
|
825
844
|
* Details about a data access attempt made by a principal not authorized under applicable data security policy.
|
|
826
845
|
*/
|
|
@@ -896,6 +915,36 @@ export namespace securitycenter_v1beta1 {
|
|
|
896
915
|
*/
|
|
897
916
|
violatedLocation?: string | null;
|
|
898
917
|
}
|
|
918
|
+
/**
|
|
919
|
+
* 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.
|
|
920
|
+
*/
|
|
921
|
+
export interface Schema$DataRetentionDeletionEvent {
|
|
922
|
+
/**
|
|
923
|
+
* 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.
|
|
924
|
+
*/
|
|
925
|
+
dataObjectCount?: string | null;
|
|
926
|
+
/**
|
|
927
|
+
* Timestamp indicating when the event was detected.
|
|
928
|
+
*/
|
|
929
|
+
eventDetectionTime?: string | null;
|
|
930
|
+
/**
|
|
931
|
+
* Type of the DRD event.
|
|
932
|
+
*/
|
|
933
|
+
eventType?: string | null;
|
|
934
|
+
/**
|
|
935
|
+
* Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.
|
|
936
|
+
*/
|
|
937
|
+
maxRetentionAllowed?: string | null;
|
|
938
|
+
}
|
|
939
|
+
/**
|
|
940
|
+
* Denied IP rule.
|
|
941
|
+
*/
|
|
942
|
+
export interface Schema$Denied {
|
|
943
|
+
/**
|
|
944
|
+
* Optional. Optional list of denied IP rules.
|
|
945
|
+
*/
|
|
946
|
+
ipRules?: Schema$IpRule[];
|
|
947
|
+
}
|
|
899
948
|
/**
|
|
900
949
|
* Memory hash detection contributing to the binary family match.
|
|
901
950
|
*/
|
|
@@ -909,6 +958,15 @@ export namespace securitycenter_v1beta1 {
|
|
|
909
958
|
*/
|
|
910
959
|
percentPagesMatched?: number | null;
|
|
911
960
|
}
|
|
961
|
+
/**
|
|
962
|
+
* Contains information about the disk associated with the finding.
|
|
963
|
+
*/
|
|
964
|
+
export interface Schema$Disk {
|
|
965
|
+
/**
|
|
966
|
+
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id\}/zones/{zone-id\}/disks/{disk-id\}".
|
|
967
|
+
*/
|
|
968
|
+
name?: string | null;
|
|
969
|
+
}
|
|
912
970
|
/**
|
|
913
971
|
* Path of the file in terms of underlying disk/partition identifiers.
|
|
914
972
|
*/
|
|
@@ -1044,6 +1102,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
1044
1102
|
* Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
|
|
1045
1103
|
*/
|
|
1046
1104
|
access?: Schema$Access;
|
|
1105
|
+
/**
|
|
1106
|
+
* AffectedResources associated with the finding.
|
|
1107
|
+
*/
|
|
1108
|
+
affectedResources?: Schema$AffectedResources;
|
|
1047
1109
|
/**
|
|
1048
1110
|
* Represents an application associated with the finding.
|
|
1049
1111
|
*/
|
|
@@ -1064,6 +1126,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
1064
1126
|
* The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
|
|
1065
1127
|
*/
|
|
1066
1128
|
category?: string | null;
|
|
1129
|
+
/**
|
|
1130
|
+
* Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be updated. Its value is ignored in all update requests.
|
|
1131
|
+
*/
|
|
1132
|
+
chokepoint?: Schema$Chokepoint;
|
|
1067
1133
|
/**
|
|
1068
1134
|
* Fields related to Cloud Armor findings.
|
|
1069
1135
|
*/
|
|
@@ -1108,10 +1174,18 @@ export namespace securitycenter_v1beta1 {
|
|
|
1108
1174
|
* Data flow events associated with the finding.
|
|
1109
1175
|
*/
|
|
1110
1176
|
dataFlowEvents?: Schema$DataFlowEvent[];
|
|
1177
|
+
/**
|
|
1178
|
+
* Data retention deletion events associated with the finding.
|
|
1179
|
+
*/
|
|
1180
|
+
dataRetentionDeletionEvents?: Schema$DataRetentionDeletionEvent[];
|
|
1111
1181
|
/**
|
|
1112
1182
|
* Contains more details about the finding.
|
|
1113
1183
|
*/
|
|
1114
1184
|
description?: string | null;
|
|
1185
|
+
/**
|
|
1186
|
+
* Disk associated with the finding.
|
|
1187
|
+
*/
|
|
1188
|
+
disk?: Schema$Disk;
|
|
1115
1189
|
/**
|
|
1116
1190
|
* 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.
|
|
1117
1191
|
*/
|
|
@@ -1150,6 +1224,14 @@ export namespace securitycenter_v1beta1 {
|
|
|
1150
1224
|
* Represents what's commonly known as an *indicator of compromise* (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).
|
|
1151
1225
|
*/
|
|
1152
1226
|
indicator?: Schema$Indicator;
|
|
1227
|
+
/**
|
|
1228
|
+
* IP rules associated with the finding.
|
|
1229
|
+
*/
|
|
1230
|
+
ipRules?: Schema$IpRules;
|
|
1231
|
+
/**
|
|
1232
|
+
* Job associated with the finding.
|
|
1233
|
+
*/
|
|
1234
|
+
job?: Schema$Job;
|
|
1153
1235
|
/**
|
|
1154
1236
|
* Signature of the kernel rootkit.
|
|
1155
1237
|
*/
|
|
@@ -1194,6 +1276,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
1194
1276
|
* The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: "organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}", "folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}", "projects/{project_id\}/sources/{source_id\}/findings/{finding_id\}".
|
|
1195
1277
|
*/
|
|
1196
1278
|
name?: string | null;
|
|
1279
|
+
/**
|
|
1280
|
+
* Represents the VPC networks that the resource is attached to.
|
|
1281
|
+
*/
|
|
1282
|
+
networks?: Schema$Network[];
|
|
1197
1283
|
/**
|
|
1198
1284
|
* Steps to address the finding.
|
|
1199
1285
|
*/
|
|
@@ -1495,6 +1581,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
1495
1581
|
* 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.
|
|
1496
1582
|
*/
|
|
1497
1583
|
export interface Schema$GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule {
|
|
1584
|
+
/**
|
|
1585
|
+
* The cloud provider of the custom module.
|
|
1586
|
+
*/
|
|
1587
|
+
cloudProvider?: string | null;
|
|
1498
1588
|
/**
|
|
1499
1589
|
* Output only. The user-specified configuration for the module.
|
|
1500
1590
|
*/
|
|
@@ -1893,7 +1983,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
1893
1983
|
*/
|
|
1894
1984
|
sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping;
|
|
1895
1985
|
/**
|
|
1896
|
-
* Required. Tag values combined with `AND` to check against.
|
|
1986
|
+
* 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
|
|
1897
1987
|
*/
|
|
1898
1988
|
tagValues?: string[] | null;
|
|
1899
1989
|
/**
|
|
@@ -1922,6 +2012,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
1922
2012
|
* 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.
|
|
1923
2013
|
*/
|
|
1924
2014
|
ancestorModule?: string | null;
|
|
2015
|
+
/**
|
|
2016
|
+
* The cloud provider of the custom module.
|
|
2017
|
+
*/
|
|
2018
|
+
cloudProvider?: string | null;
|
|
1925
2019
|
/**
|
|
1926
2020
|
* The user specified custom configuration for the module.
|
|
1927
2021
|
*/
|
|
@@ -2051,6 +2145,24 @@ export namespace securitycenter_v1beta1 {
|
|
|
2051
2145
|
*/
|
|
2052
2146
|
confidence?: number | null;
|
|
2053
2147
|
}
|
|
2148
|
+
/**
|
|
2149
|
+
* Details about resources affected by this finding.
|
|
2150
|
+
*/
|
|
2151
|
+
export interface Schema$GoogleCloudSecuritycenterV2AffectedResources {
|
|
2152
|
+
/**
|
|
2153
|
+
* The count of resources affected by the finding.
|
|
2154
|
+
*/
|
|
2155
|
+
count?: string | null;
|
|
2156
|
+
}
|
|
2157
|
+
/**
|
|
2158
|
+
* Allowed IP rule.
|
|
2159
|
+
*/
|
|
2160
|
+
export interface Schema$GoogleCloudSecuritycenterV2Allowed {
|
|
2161
|
+
/**
|
|
2162
|
+
* Optional. Optional list of allowed IP rules.
|
|
2163
|
+
*/
|
|
2164
|
+
ipRules?: Schema$GoogleCloudSecuritycenterV2IpRule[];
|
|
2165
|
+
}
|
|
2054
2166
|
/**
|
|
2055
2167
|
* Represents an application associated with a finding.
|
|
2056
2168
|
*/
|
|
@@ -2073,13 +2185,21 @@ export namespace securitycenter_v1beta1 {
|
|
|
2073
2185
|
*/
|
|
2074
2186
|
classification?: string | null;
|
|
2075
2187
|
/**
|
|
2076
|
-
* Total BPS (bytes per second) volume of attack.
|
|
2188
|
+
* Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.
|
|
2077
2189
|
*/
|
|
2078
2190
|
volumeBps?: number | null;
|
|
2079
2191
|
/**
|
|
2080
|
-
* Total
|
|
2192
|
+
* Total BPS (bytes per second) volume of attack.
|
|
2193
|
+
*/
|
|
2194
|
+
volumeBpsLong?: string | null;
|
|
2195
|
+
/**
|
|
2196
|
+
* Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.
|
|
2081
2197
|
*/
|
|
2082
2198
|
volumePps?: number | null;
|
|
2199
|
+
/**
|
|
2200
|
+
* Total PPS (packets per second) volume of attack.
|
|
2201
|
+
*/
|
|
2202
|
+
volumePpsLong?: string | null;
|
|
2083
2203
|
}
|
|
2084
2204
|
/**
|
|
2085
2205
|
* An attack exposure contains the results of an attack path simulation run.
|
|
@@ -2204,6 +2324,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
2204
2324
|
* Represents an Azure resource group.
|
|
2205
2325
|
*/
|
|
2206
2326
|
export interface Schema$GoogleCloudSecuritycenterV2AzureResourceGroup {
|
|
2327
|
+
/**
|
|
2328
|
+
* The ID of the Azure resource group.
|
|
2329
|
+
*/
|
|
2330
|
+
id?: string | null;
|
|
2207
2331
|
/**
|
|
2208
2332
|
* The name of the Azure resource group. This is not a UUID.
|
|
2209
2333
|
*/
|
|
@@ -2226,6 +2350,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
2226
2350
|
* Represents a Microsoft Entra tenant.
|
|
2227
2351
|
*/
|
|
2228
2352
|
export interface Schema$GoogleCloudSecuritycenterV2AzureTenant {
|
|
2353
|
+
/**
|
|
2354
|
+
* The display name of the Azure tenant.
|
|
2355
|
+
*/
|
|
2356
|
+
displayName?: string | null;
|
|
2229
2357
|
/**
|
|
2230
2358
|
* The ID of the Microsoft Entra tenant, for example, "a11aaa11-aa11-1aa1-11aa-1aaa11a".
|
|
2231
2359
|
*/
|
|
@@ -2338,6 +2466,15 @@ export namespace securitycenter_v1beta1 {
|
|
|
2338
2466
|
* The response to a BulkMute request. Contains the LRO information.
|
|
2339
2467
|
*/
|
|
2340
2468
|
export interface Schema$GoogleCloudSecuritycenterV2BulkMuteFindingsResponse {}
|
|
2469
|
+
/**
|
|
2470
|
+
* Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations).
|
|
2471
|
+
*/
|
|
2472
|
+
export interface Schema$GoogleCloudSecuritycenterV2Chokepoint {
|
|
2473
|
+
/**
|
|
2474
|
+
* List of resource names of findings associated with this chokepoint. For example, organizations/123/sources/456/findings/789. This list will have at most 100 findings.
|
|
2475
|
+
*/
|
|
2476
|
+
relatedFindings?: string[] | null;
|
|
2477
|
+
}
|
|
2341
2478
|
/**
|
|
2342
2479
|
* Fields related to Google Cloud Armor findings.
|
|
2343
2480
|
*/
|
|
@@ -2593,6 +2730,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
2593
2730
|
*/
|
|
2594
2731
|
userInteraction?: string | null;
|
|
2595
2732
|
}
|
|
2733
|
+
/**
|
|
2734
|
+
* CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).
|
|
2735
|
+
*/
|
|
2736
|
+
export interface Schema$GoogleCloudSecuritycenterV2Cwe {
|
|
2737
|
+
/**
|
|
2738
|
+
* The CWE identifier, e.g. CWE-94
|
|
2739
|
+
*/
|
|
2740
|
+
id?: string | null;
|
|
2741
|
+
/**
|
|
2742
|
+
* Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
|
|
2743
|
+
*/
|
|
2744
|
+
references?: Schema$GoogleCloudSecuritycenterV2Reference[];
|
|
2745
|
+
}
|
|
2596
2746
|
/**
|
|
2597
2747
|
* Details about a data access attempt made by a principal not authorized under applicable data security policy.
|
|
2598
2748
|
*/
|
|
@@ -2668,6 +2818,36 @@ export namespace securitycenter_v1beta1 {
|
|
|
2668
2818
|
*/
|
|
2669
2819
|
violatedLocation?: string | null;
|
|
2670
2820
|
}
|
|
2821
|
+
/**
|
|
2822
|
+
* 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.
|
|
2823
|
+
*/
|
|
2824
|
+
export interface Schema$GoogleCloudSecuritycenterV2DataRetentionDeletionEvent {
|
|
2825
|
+
/**
|
|
2826
|
+
* 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.
|
|
2827
|
+
*/
|
|
2828
|
+
dataObjectCount?: string | null;
|
|
2829
|
+
/**
|
|
2830
|
+
* Timestamp indicating when the event was detected.
|
|
2831
|
+
*/
|
|
2832
|
+
eventDetectionTime?: string | null;
|
|
2833
|
+
/**
|
|
2834
|
+
* Type of the DRD event.
|
|
2835
|
+
*/
|
|
2836
|
+
eventType?: string | null;
|
|
2837
|
+
/**
|
|
2838
|
+
* Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.
|
|
2839
|
+
*/
|
|
2840
|
+
maxRetentionAllowed?: string | null;
|
|
2841
|
+
}
|
|
2842
|
+
/**
|
|
2843
|
+
* Denied IP rule.
|
|
2844
|
+
*/
|
|
2845
|
+
export interface Schema$GoogleCloudSecuritycenterV2Denied {
|
|
2846
|
+
/**
|
|
2847
|
+
* Optional. Optional list of denied IP rules.
|
|
2848
|
+
*/
|
|
2849
|
+
ipRules?: Schema$GoogleCloudSecuritycenterV2IpRule[];
|
|
2850
|
+
}
|
|
2671
2851
|
/**
|
|
2672
2852
|
* Memory hash detection contributing to the binary family match.
|
|
2673
2853
|
*/
|
|
@@ -2681,6 +2861,15 @@ export namespace securitycenter_v1beta1 {
|
|
|
2681
2861
|
*/
|
|
2682
2862
|
percentPagesMatched?: number | null;
|
|
2683
2863
|
}
|
|
2864
|
+
/**
|
|
2865
|
+
* Contains information about the disk associated with the finding.
|
|
2866
|
+
*/
|
|
2867
|
+
export interface Schema$GoogleCloudSecuritycenterV2Disk {
|
|
2868
|
+
/**
|
|
2869
|
+
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id\}/zones/{zone-id\}/disks/{disk-id\}".
|
|
2870
|
+
*/
|
|
2871
|
+
name?: string | null;
|
|
2872
|
+
}
|
|
2684
2873
|
/**
|
|
2685
2874
|
* Path of the file in terms of underlying disk/partition identifiers.
|
|
2686
2875
|
*/
|
|
@@ -2840,6 +3029,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
2840
3029
|
* Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
|
|
2841
3030
|
*/
|
|
2842
3031
|
access?: Schema$GoogleCloudSecuritycenterV2Access;
|
|
3032
|
+
/**
|
|
3033
|
+
* AffectedResources associated with the finding.
|
|
3034
|
+
*/
|
|
3035
|
+
affectedResources?: Schema$GoogleCloudSecuritycenterV2AffectedResources;
|
|
2843
3036
|
/**
|
|
2844
3037
|
* Represents an application associated with the finding.
|
|
2845
3038
|
*/
|
|
@@ -2860,6 +3053,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
2860
3053
|
* Immutable. The additional taxonomy group within findings from a given source. Example: "XSS_FLASH_INJECTION"
|
|
2861
3054
|
*/
|
|
2862
3055
|
category?: string | null;
|
|
3056
|
+
/**
|
|
3057
|
+
* Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be updated. Its value is ignored in all update requests.
|
|
3058
|
+
*/
|
|
3059
|
+
chokepoint?: Schema$GoogleCloudSecuritycenterV2Chokepoint;
|
|
2863
3060
|
/**
|
|
2864
3061
|
* Fields related to Cloud Armor findings.
|
|
2865
3062
|
*/
|
|
@@ -2906,10 +3103,18 @@ export namespace securitycenter_v1beta1 {
|
|
|
2906
3103
|
* Data flow events associated with the finding.
|
|
2907
3104
|
*/
|
|
2908
3105
|
dataFlowEvents?: Schema$GoogleCloudSecuritycenterV2DataFlowEvent[];
|
|
3106
|
+
/**
|
|
3107
|
+
* Data retention deletion events associated with the finding.
|
|
3108
|
+
*/
|
|
3109
|
+
dataRetentionDeletionEvents?: Schema$GoogleCloudSecuritycenterV2DataRetentionDeletionEvent[];
|
|
2909
3110
|
/**
|
|
2910
3111
|
* Contains more details about the finding.
|
|
2911
3112
|
*/
|
|
2912
3113
|
description?: string | null;
|
|
3114
|
+
/**
|
|
3115
|
+
* Disk associated with the finding.
|
|
3116
|
+
*/
|
|
3117
|
+
disk?: Schema$GoogleCloudSecuritycenterV2Disk;
|
|
2913
3118
|
/**
|
|
2914
3119
|
* 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.
|
|
2915
3120
|
*/
|
|
@@ -2948,6 +3153,14 @@ export namespace securitycenter_v1beta1 {
|
|
|
2948
3153
|
* Represents what's commonly known as an *indicator of compromise* (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).
|
|
2949
3154
|
*/
|
|
2950
3155
|
indicator?: Schema$GoogleCloudSecuritycenterV2Indicator;
|
|
3156
|
+
/**
|
|
3157
|
+
* IP rules associated with the finding.
|
|
3158
|
+
*/
|
|
3159
|
+
ipRules?: Schema$GoogleCloudSecuritycenterV2IpRules;
|
|
3160
|
+
/**
|
|
3161
|
+
* Job associated with the finding.
|
|
3162
|
+
*/
|
|
3163
|
+
job?: Schema$GoogleCloudSecuritycenterV2Job;
|
|
2951
3164
|
/**
|
|
2952
3165
|
* Signature of the kernel rootkit.
|
|
2953
3166
|
*/
|
|
@@ -2992,6 +3205,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
2992
3205
|
* The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. The following list shows some examples: + `organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}` + `organizations/{organization_id\}/sources/{source_id\}/locations/{location_id\}/findings/{finding_id\}` + `folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}` + `folders/{folder_id\}/sources/{source_id\}/locations/{location_id\}/findings/{finding_id\}` + `projects/{project_id\}/sources/{source_id\}/findings/{finding_id\}` + `projects/{project_id\}/sources/{source_id\}/locations/{location_id\}/findings/{finding_id\}`
|
|
2993
3206
|
*/
|
|
2994
3207
|
name?: string | null;
|
|
3208
|
+
/**
|
|
3209
|
+
* Represents the VPC networks that the resource is attached to.
|
|
3210
|
+
*/
|
|
3211
|
+
networks?: Schema$GoogleCloudSecuritycenterV2Network[];
|
|
2995
3212
|
/**
|
|
2996
3213
|
* Steps to address the finding.
|
|
2997
3214
|
*/
|
|
@@ -3122,6 +3339,332 @@ export namespace securitycenter_v1beta1 {
|
|
|
3122
3339
|
*/
|
|
3123
3340
|
uris?: string[] | null;
|
|
3124
3341
|
}
|
|
3342
|
+
/**
|
|
3343
|
+
* IP rule information.
|
|
3344
|
+
*/
|
|
3345
|
+
export interface Schema$GoogleCloudSecuritycenterV2IpRule {
|
|
3346
|
+
/**
|
|
3347
|
+
* Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.
|
|
3348
|
+
*/
|
|
3349
|
+
portRanges?: Schema$GoogleCloudSecuritycenterV2PortRange[];
|
|
3350
|
+
/**
|
|
3351
|
+
* The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.
|
|
3352
|
+
*/
|
|
3353
|
+
protocol?: string | null;
|
|
3354
|
+
}
|
|
3355
|
+
/**
|
|
3356
|
+
* IP rules associated with the finding.
|
|
3357
|
+
*/
|
|
3358
|
+
export interface Schema$GoogleCloudSecuritycenterV2IpRules {
|
|
3359
|
+
/**
|
|
3360
|
+
* Tuple with allowed rules.
|
|
3361
|
+
*/
|
|
3362
|
+
allowed?: Schema$GoogleCloudSecuritycenterV2Allowed;
|
|
3363
|
+
/**
|
|
3364
|
+
* Tuple with denied rules.
|
|
3365
|
+
*/
|
|
3366
|
+
denied?: Schema$GoogleCloudSecuritycenterV2Denied;
|
|
3367
|
+
/**
|
|
3368
|
+
* If destination IP ranges are specified, the firewall rule applies only to traffic that has a destination IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
|
|
3369
|
+
*/
|
|
3370
|
+
destinationIpRanges?: string[] | null;
|
|
3371
|
+
/**
|
|
3372
|
+
* The direction that the rule is applicable to, one of ingress or egress.
|
|
3373
|
+
*/
|
|
3374
|
+
direction?: string | null;
|
|
3375
|
+
/**
|
|
3376
|
+
* Name of the network protocol service, such as FTP, that is exposed by the open port. Follows the naming convention available at: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
|
|
3377
|
+
*/
|
|
3378
|
+
exposedServices?: string[] | null;
|
|
3379
|
+
/**
|
|
3380
|
+
* If source IP ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
|
|
3381
|
+
*/
|
|
3382
|
+
sourceIpRanges?: string[] | null;
|
|
3383
|
+
}
|
|
3384
|
+
/**
|
|
3385
|
+
* Security Command Center Issue.
|
|
3386
|
+
*/
|
|
3387
|
+
export interface Schema$GoogleCloudSecuritycenterV2Issue {
|
|
3388
|
+
/**
|
|
3389
|
+
* Output only. The time the issue was created.
|
|
3390
|
+
*/
|
|
3391
|
+
createTime?: string | null;
|
|
3392
|
+
/**
|
|
3393
|
+
* The description of the issue in Markdown format.
|
|
3394
|
+
*/
|
|
3395
|
+
description?: string | null;
|
|
3396
|
+
/**
|
|
3397
|
+
* The finding category or rule name that generated the issue.
|
|
3398
|
+
*/
|
|
3399
|
+
detection?: string | null;
|
|
3400
|
+
/**
|
|
3401
|
+
* The domains of the issue.
|
|
3402
|
+
*/
|
|
3403
|
+
domains?: Schema$GoogleCloudSecuritycenterV2IssueDomain[];
|
|
3404
|
+
/**
|
|
3405
|
+
* The exposure score of the issue.
|
|
3406
|
+
*/
|
|
3407
|
+
exposureScore?: number | null;
|
|
3408
|
+
/**
|
|
3409
|
+
* The type of the issue.
|
|
3410
|
+
*/
|
|
3411
|
+
issueType?: string | null;
|
|
3412
|
+
/**
|
|
3413
|
+
* The time the issue was last observed.
|
|
3414
|
+
*/
|
|
3415
|
+
lastObservationTime?: string | null;
|
|
3416
|
+
/**
|
|
3417
|
+
* The mute information of the issue.
|
|
3418
|
+
*/
|
|
3419
|
+
mute?: Schema$GoogleCloudSecuritycenterV2IssueMute;
|
|
3420
|
+
/**
|
|
3421
|
+
* Identifier. The name of the issue. Format: organizations/{organization\}/locations/{location\}/issues/{issue\}
|
|
3422
|
+
*/
|
|
3423
|
+
name?: string | null;
|
|
3424
|
+
/**
|
|
3425
|
+
* The primary resource associated with the issue.
|
|
3426
|
+
*/
|
|
3427
|
+
primaryResource?: Schema$GoogleCloudSecuritycenterV2IssueResource;
|
|
3428
|
+
/**
|
|
3429
|
+
* The findings related to the issue.
|
|
3430
|
+
*/
|
|
3431
|
+
relatedFindings?: Schema$GoogleCloudSecuritycenterV2IssueFinding[];
|
|
3432
|
+
/**
|
|
3433
|
+
* Approaches to remediate the issue in Markdown format.
|
|
3434
|
+
*/
|
|
3435
|
+
remediations?: string[] | null;
|
|
3436
|
+
/**
|
|
3437
|
+
* Additional resources associated with the issue.
|
|
3438
|
+
*/
|
|
3439
|
+
secondaryResources?: Schema$GoogleCloudSecuritycenterV2IssueResource[];
|
|
3440
|
+
/**
|
|
3441
|
+
* The security context of the issue.
|
|
3442
|
+
*/
|
|
3443
|
+
securityContexts?: Schema$GoogleCloudSecuritycenterV2IssueSecurityContext[];
|
|
3444
|
+
/**
|
|
3445
|
+
* The severity of the issue.
|
|
3446
|
+
*/
|
|
3447
|
+
severity?: string | null;
|
|
3448
|
+
/**
|
|
3449
|
+
* Output only. The state of the issue.
|
|
3450
|
+
*/
|
|
3451
|
+
state?: string | null;
|
|
3452
|
+
/**
|
|
3453
|
+
* Output only. The time the issue was last updated.
|
|
3454
|
+
*/
|
|
3455
|
+
updateTime?: string | null;
|
|
3456
|
+
}
|
|
3457
|
+
/**
|
|
3458
|
+
* The domains of an issue.
|
|
3459
|
+
*/
|
|
3460
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueDomain {
|
|
3461
|
+
/**
|
|
3462
|
+
* The domain category of the issue.
|
|
3463
|
+
*/
|
|
3464
|
+
domainCategory?: string | null;
|
|
3465
|
+
}
|
|
3466
|
+
/**
|
|
3467
|
+
* Finding related to an issue.
|
|
3468
|
+
*/
|
|
3469
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueFinding {
|
|
3470
|
+
/**
|
|
3471
|
+
* The CVE of the finding.
|
|
3472
|
+
*/
|
|
3473
|
+
cve?: Schema$GoogleCloudSecuritycenterV2IssueFindingCve;
|
|
3474
|
+
/**
|
|
3475
|
+
* The name of the finding.
|
|
3476
|
+
*/
|
|
3477
|
+
name?: string | null;
|
|
3478
|
+
/**
|
|
3479
|
+
* The security bulletin of the finding.
|
|
3480
|
+
*/
|
|
3481
|
+
securityBulletin?: Schema$GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin;
|
|
3482
|
+
}
|
|
3483
|
+
/**
|
|
3484
|
+
* The CVE of the finding.
|
|
3485
|
+
*/
|
|
3486
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueFindingCve {
|
|
3487
|
+
/**
|
|
3488
|
+
* The CVE name.
|
|
3489
|
+
*/
|
|
3490
|
+
name?: string | null;
|
|
3491
|
+
}
|
|
3492
|
+
/**
|
|
3493
|
+
* The security bulletin of the finding.
|
|
3494
|
+
*/
|
|
3495
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin {
|
|
3496
|
+
/**
|
|
3497
|
+
* The security bulletin name.
|
|
3498
|
+
*/
|
|
3499
|
+
name?: string | null;
|
|
3500
|
+
}
|
|
3501
|
+
/**
|
|
3502
|
+
* The mute information of the issue.
|
|
3503
|
+
*/
|
|
3504
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueMute {
|
|
3505
|
+
/**
|
|
3506
|
+
* The email address of the user who last changed the mute state of the issue.
|
|
3507
|
+
*/
|
|
3508
|
+
muteInitiator?: string | null;
|
|
3509
|
+
/**
|
|
3510
|
+
* The user-provided reason for muting the issue.
|
|
3511
|
+
*/
|
|
3512
|
+
muteReason?: string | null;
|
|
3513
|
+
/**
|
|
3514
|
+
* Output only. The mute state of the issue.
|
|
3515
|
+
*/
|
|
3516
|
+
muteState?: string | null;
|
|
3517
|
+
/**
|
|
3518
|
+
* The time the issue was muted.
|
|
3519
|
+
*/
|
|
3520
|
+
muteUpdateTime?: string | null;
|
|
3521
|
+
}
|
|
3522
|
+
/**
|
|
3523
|
+
* A resource associated with the an issue.
|
|
3524
|
+
*/
|
|
3525
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueResource {
|
|
3526
|
+
/**
|
|
3527
|
+
* The AWS metadata of the resource associated with the issue. Only populated for AWS resources.
|
|
3528
|
+
*/
|
|
3529
|
+
awsMetadata?: Schema$GoogleCloudSecuritycenterV2IssueResourceAwsMetadata;
|
|
3530
|
+
/**
|
|
3531
|
+
* The Azure metadata of the resource associated with the issue. Only populated for Azure resources.
|
|
3532
|
+
*/
|
|
3533
|
+
azureMetadata?: Schema$GoogleCloudSecuritycenterV2IssueResourceAzureMetadata;
|
|
3534
|
+
/**
|
|
3535
|
+
* The cloud provider of the resource associated with the issue.
|
|
3536
|
+
*/
|
|
3537
|
+
cloudProvider?: string | null;
|
|
3538
|
+
/**
|
|
3539
|
+
* The resource-type specific display name of the resource associated with the issue.
|
|
3540
|
+
*/
|
|
3541
|
+
displayName?: string | null;
|
|
3542
|
+
/**
|
|
3543
|
+
* The Google Cloud metadata of the resource associated with the issue. Only populated for Google Cloud resources.
|
|
3544
|
+
*/
|
|
3545
|
+
googleCloudMetadata?: Schema$GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata;
|
|
3546
|
+
/**
|
|
3547
|
+
* The full resource name of the resource associated with the issue.
|
|
3548
|
+
*/
|
|
3549
|
+
name?: string | null;
|
|
3550
|
+
/**
|
|
3551
|
+
* The type of the resource associated with the issue.
|
|
3552
|
+
*/
|
|
3553
|
+
type?: string | null;
|
|
3554
|
+
}
|
|
3555
|
+
/**
|
|
3556
|
+
* The AWS metadata of a resource associated with an issue.
|
|
3557
|
+
*/
|
|
3558
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueResourceAwsMetadata {
|
|
3559
|
+
/**
|
|
3560
|
+
* The AWS account of the resource associated with the issue.
|
|
3561
|
+
*/
|
|
3562
|
+
account?: Schema$GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount;
|
|
3563
|
+
}
|
|
3564
|
+
/**
|
|
3565
|
+
* The AWS account of the resource associated with the issue.
|
|
3566
|
+
*/
|
|
3567
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount {
|
|
3568
|
+
/**
|
|
3569
|
+
* The AWS account ID of the resource associated with the issue.
|
|
3570
|
+
*/
|
|
3571
|
+
id?: string | null;
|
|
3572
|
+
/**
|
|
3573
|
+
* The AWS account name of the resource associated with the issue.
|
|
3574
|
+
*/
|
|
3575
|
+
name?: string | null;
|
|
3576
|
+
}
|
|
3577
|
+
/**
|
|
3578
|
+
* The Azure metadata of a resource associated with an issue.
|
|
3579
|
+
*/
|
|
3580
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueResourceAzureMetadata {
|
|
3581
|
+
/**
|
|
3582
|
+
* The Azure subscription of the resource associated with the issue.
|
|
3583
|
+
*/
|
|
3584
|
+
subscription?: Schema$GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription;
|
|
3585
|
+
}
|
|
3586
|
+
/**
|
|
3587
|
+
* The Azure subscription of the resource associated with the issue.
|
|
3588
|
+
*/
|
|
3589
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription {
|
|
3590
|
+
/**
|
|
3591
|
+
* The Azure subscription display name of the resource associated with the issue.
|
|
3592
|
+
*/
|
|
3593
|
+
displayName?: string | null;
|
|
3594
|
+
/**
|
|
3595
|
+
* The Azure subscription ID of the resource associated with the issue.
|
|
3596
|
+
*/
|
|
3597
|
+
id?: string | null;
|
|
3598
|
+
}
|
|
3599
|
+
/**
|
|
3600
|
+
* Google Cloud metadata of a resource associated with an issue.
|
|
3601
|
+
*/
|
|
3602
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata {
|
|
3603
|
+
/**
|
|
3604
|
+
* The project ID that the resource associated with the issue belongs to.
|
|
3605
|
+
*/
|
|
3606
|
+
projectId?: string | null;
|
|
3607
|
+
}
|
|
3608
|
+
/**
|
|
3609
|
+
* Security context associated with an issue.
|
|
3610
|
+
*/
|
|
3611
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueSecurityContext {
|
|
3612
|
+
/**
|
|
3613
|
+
* The aggregated count of the security context.
|
|
3614
|
+
*/
|
|
3615
|
+
aggregatedCount?: Schema$GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount;
|
|
3616
|
+
/**
|
|
3617
|
+
* The context of the security context.
|
|
3618
|
+
*/
|
|
3619
|
+
context?: Schema$GoogleCloudSecuritycenterV2IssueSecurityContextContext;
|
|
3620
|
+
}
|
|
3621
|
+
/**
|
|
3622
|
+
* Aggregated count of a security context.
|
|
3623
|
+
*/
|
|
3624
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount {
|
|
3625
|
+
/**
|
|
3626
|
+
* Aggregation key.
|
|
3627
|
+
*/
|
|
3628
|
+
key?: string | null;
|
|
3629
|
+
/**
|
|
3630
|
+
* Aggregation value.
|
|
3631
|
+
*/
|
|
3632
|
+
value?: number | null;
|
|
3633
|
+
}
|
|
3634
|
+
/**
|
|
3635
|
+
* Context of a security context.
|
|
3636
|
+
*/
|
|
3637
|
+
export interface Schema$GoogleCloudSecuritycenterV2IssueSecurityContextContext {
|
|
3638
|
+
/**
|
|
3639
|
+
* Context type.
|
|
3640
|
+
*/
|
|
3641
|
+
type?: string | null;
|
|
3642
|
+
/**
|
|
3643
|
+
* Context values.
|
|
3644
|
+
*/
|
|
3645
|
+
values?: string[] | null;
|
|
3646
|
+
}
|
|
3647
|
+
/**
|
|
3648
|
+
* Describes a job
|
|
3649
|
+
*/
|
|
3650
|
+
export interface Schema$GoogleCloudSecuritycenterV2Job {
|
|
3651
|
+
/**
|
|
3652
|
+
* Optional. If the job did not complete successfully, this field describes why.
|
|
3653
|
+
*/
|
|
3654
|
+
errorCode?: number | null;
|
|
3655
|
+
/**
|
|
3656
|
+
* Optional. Gives the location where the job ran, such as `US` or `europe-west1`
|
|
3657
|
+
*/
|
|
3658
|
+
location?: string | null;
|
|
3659
|
+
/**
|
|
3660
|
+
* The fully-qualified name for a job. e.g. `projects//jobs/`
|
|
3661
|
+
*/
|
|
3662
|
+
name?: string | null;
|
|
3663
|
+
/**
|
|
3664
|
+
* Output only. State of the job, such as `RUNNING` or `PENDING`.
|
|
3665
|
+
*/
|
|
3666
|
+
state?: string | null;
|
|
3667
|
+
}
|
|
3125
3668
|
/**
|
|
3126
3669
|
* Kernel mode rootkit signatures.
|
|
3127
3670
|
*/
|
|
@@ -3315,6 +3858,15 @@ export namespace securitycenter_v1beta1 {
|
|
|
3315
3858
|
*/
|
|
3316
3859
|
staticMute?: Schema$GoogleCloudSecuritycenterV2StaticMute;
|
|
3317
3860
|
}
|
|
3861
|
+
/**
|
|
3862
|
+
* Contains information about a VPC network associated with the finding.
|
|
3863
|
+
*/
|
|
3864
|
+
export interface Schema$GoogleCloudSecuritycenterV2Network {
|
|
3865
|
+
/**
|
|
3866
|
+
* The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.
|
|
3867
|
+
*/
|
|
3868
|
+
name?: string | null;
|
|
3869
|
+
}
|
|
3318
3870
|
/**
|
|
3319
3871
|
* Kubernetes nodes associated with the finding.
|
|
3320
3872
|
*/
|
|
@@ -3405,7 +3957,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
3405
3957
|
*/
|
|
3406
3958
|
export interface Schema$GoogleCloudSecuritycenterV2OrgPolicy {
|
|
3407
3959
|
/**
|
|
3408
|
-
* The resource name of the org policy. Example: "organizations/{organization_id\}/policies/{constraint_name\}"
|
|
3960
|
+
* Identifier. The resource name of the org policy. Example: "organizations/{organization_id\}/policies/{constraint_name\}"
|
|
3409
3961
|
*/
|
|
3410
3962
|
name?: string | null;
|
|
3411
3963
|
}
|
|
@@ -3468,6 +4020,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
3468
4020
|
*/
|
|
3469
4021
|
field?: string | null;
|
|
3470
4022
|
}
|
|
4023
|
+
/**
|
|
4024
|
+
* A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.
|
|
4025
|
+
*/
|
|
4026
|
+
export interface Schema$GoogleCloudSecuritycenterV2PortRange {
|
|
4027
|
+
/**
|
|
4028
|
+
* Maximum port value.
|
|
4029
|
+
*/
|
|
4030
|
+
max?: string | null;
|
|
4031
|
+
/**
|
|
4032
|
+
* Minimum port value.
|
|
4033
|
+
*/
|
|
4034
|
+
min?: string | null;
|
|
4035
|
+
}
|
|
3471
4036
|
/**
|
|
3472
4037
|
* Represents an operating system process.
|
|
3473
4038
|
*/
|
|
@@ -3680,7 +4245,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
3680
4245
|
*/
|
|
3681
4246
|
sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping;
|
|
3682
4247
|
/**
|
|
3683
|
-
* Tag values combined with `AND` to check against.
|
|
4248
|
+
* 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
|
|
3684
4249
|
*/
|
|
3685
4250
|
tagValues?: string[] | null;
|
|
3686
4251
|
/**
|
|
@@ -3899,6 +4464,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
3899
4464
|
* CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
|
|
3900
4465
|
*/
|
|
3901
4466
|
cve?: Schema$GoogleCloudSecuritycenterV2Cve;
|
|
4467
|
+
/**
|
|
4468
|
+
* Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
|
|
4469
|
+
*/
|
|
4470
|
+
cwes?: Schema$GoogleCloudSecuritycenterV2Cwe[];
|
|
3902
4471
|
/**
|
|
3903
4472
|
* The fixed package is relevant to the finding.
|
|
3904
4473
|
*/
|
|
@@ -3907,6 +4476,14 @@ export namespace securitycenter_v1beta1 {
|
|
|
3907
4476
|
* The offending package is relevant to the finding.
|
|
3908
4477
|
*/
|
|
3909
4478
|
offendingPackage?: Schema$GoogleCloudSecuritycenterV2Package;
|
|
4479
|
+
/**
|
|
4480
|
+
* Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
|
|
4481
|
+
*/
|
|
4482
|
+
providerRiskScore?: string | null;
|
|
4483
|
+
/**
|
|
4484
|
+
* Represents whether the vulnerability is reachable (detected via static analysis)
|
|
4485
|
+
*/
|
|
4486
|
+
reachable?: boolean | null;
|
|
3910
4487
|
/**
|
|
3911
4488
|
* The security bulletin is relevant to this finding.
|
|
3912
4489
|
*/
|
|
@@ -4073,6 +4650,69 @@ export namespace securitycenter_v1beta1 {
|
|
|
4073
4650
|
*/
|
|
4074
4651
|
uris?: string[] | null;
|
|
4075
4652
|
}
|
|
4653
|
+
/**
|
|
4654
|
+
* IP rule information.
|
|
4655
|
+
*/
|
|
4656
|
+
export interface Schema$IpRule {
|
|
4657
|
+
/**
|
|
4658
|
+
* Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.
|
|
4659
|
+
*/
|
|
4660
|
+
portRanges?: Schema$PortRange[];
|
|
4661
|
+
/**
|
|
4662
|
+
* The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.
|
|
4663
|
+
*/
|
|
4664
|
+
protocol?: string | null;
|
|
4665
|
+
}
|
|
4666
|
+
/**
|
|
4667
|
+
* IP rules associated with the finding.
|
|
4668
|
+
*/
|
|
4669
|
+
export interface Schema$IpRules {
|
|
4670
|
+
/**
|
|
4671
|
+
* Tuple with allowed rules.
|
|
4672
|
+
*/
|
|
4673
|
+
allowed?: Schema$Allowed;
|
|
4674
|
+
/**
|
|
4675
|
+
* Tuple with denied rules.
|
|
4676
|
+
*/
|
|
4677
|
+
denied?: Schema$Denied;
|
|
4678
|
+
/**
|
|
4679
|
+
* If destination IP ranges are specified, the firewall rule applies only to traffic that has a destination IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
|
|
4680
|
+
*/
|
|
4681
|
+
destinationIpRanges?: string[] | null;
|
|
4682
|
+
/**
|
|
4683
|
+
* The direction that the rule is applicable to, one of ingress or egress.
|
|
4684
|
+
*/
|
|
4685
|
+
direction?: string | null;
|
|
4686
|
+
/**
|
|
4687
|
+
* Name of the network protocol service, such as FTP, that is exposed by the open port. Follows the naming convention available at: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
|
|
4688
|
+
*/
|
|
4689
|
+
exposedServices?: string[] | null;
|
|
4690
|
+
/**
|
|
4691
|
+
* If source IP ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
|
|
4692
|
+
*/
|
|
4693
|
+
sourceIpRanges?: string[] | null;
|
|
4694
|
+
}
|
|
4695
|
+
/**
|
|
4696
|
+
* Describes a job
|
|
4697
|
+
*/
|
|
4698
|
+
export interface Schema$Job {
|
|
4699
|
+
/**
|
|
4700
|
+
* Optional. If the job did not complete successfully, this field describes why.
|
|
4701
|
+
*/
|
|
4702
|
+
errorCode?: number | null;
|
|
4703
|
+
/**
|
|
4704
|
+
* Optional. Gives the location where the job ran, such as `US` or `europe-west1`
|
|
4705
|
+
*/
|
|
4706
|
+
location?: string | null;
|
|
4707
|
+
/**
|
|
4708
|
+
* The fully-qualified name for a job. e.g. `projects//jobs/`
|
|
4709
|
+
*/
|
|
4710
|
+
name?: string | null;
|
|
4711
|
+
/**
|
|
4712
|
+
* Output only. State of the job, such as `RUNNING` or `PENDING`.
|
|
4713
|
+
*/
|
|
4714
|
+
state?: string | null;
|
|
4715
|
+
}
|
|
4076
4716
|
/**
|
|
4077
4717
|
* Kernel mode rootkit signatures.
|
|
4078
4718
|
*/
|
|
@@ -4310,6 +4950,15 @@ export namespace securitycenter_v1beta1 {
|
|
|
4310
4950
|
*/
|
|
4311
4951
|
staticMute?: Schema$StaticMute;
|
|
4312
4952
|
}
|
|
4953
|
+
/**
|
|
4954
|
+
* Contains information about a VPC network associated with the finding.
|
|
4955
|
+
*/
|
|
4956
|
+
export interface Schema$Network {
|
|
4957
|
+
/**
|
|
4958
|
+
* The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.
|
|
4959
|
+
*/
|
|
4960
|
+
name?: string | null;
|
|
4961
|
+
}
|
|
4313
4962
|
/**
|
|
4314
4963
|
* Kubernetes nodes associated with the finding.
|
|
4315
4964
|
*/
|
|
@@ -4509,6 +5158,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
4509
5158
|
*/
|
|
4510
5159
|
field?: string | null;
|
|
4511
5160
|
}
|
|
5161
|
+
/**
|
|
5162
|
+
* A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.
|
|
5163
|
+
*/
|
|
5164
|
+
export interface Schema$PortRange {
|
|
5165
|
+
/**
|
|
5166
|
+
* Maximum port value.
|
|
5167
|
+
*/
|
|
5168
|
+
max?: string | null;
|
|
5169
|
+
/**
|
|
5170
|
+
* Minimum port value.
|
|
5171
|
+
*/
|
|
5172
|
+
min?: string | null;
|
|
5173
|
+
}
|
|
4512
5174
|
/**
|
|
4513
5175
|
* Represents an operating system process.
|
|
4514
5176
|
*/
|
|
@@ -4783,7 +5445,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
4783
5445
|
*/
|
|
4784
5446
|
export interface Schema$SetFindingStateRequest {
|
|
4785
5447
|
/**
|
|
4786
|
-
*
|
|
5448
|
+
* Optional. The time at which the updated state takes effect. If not set uses the current time.
|
|
4787
5449
|
*/
|
|
4788
5450
|
startTime?: string | null;
|
|
4789
5451
|
/**
|
|
@@ -4936,6 +5598,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
4936
5598
|
* CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
|
|
4937
5599
|
*/
|
|
4938
5600
|
cve?: Schema$Cve;
|
|
5601
|
+
/**
|
|
5602
|
+
* Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
|
|
5603
|
+
*/
|
|
5604
|
+
cwes?: Schema$Cwe[];
|
|
4939
5605
|
/**
|
|
4940
5606
|
* The fixed package is relevant to the finding.
|
|
4941
5607
|
*/
|
|
@@ -4944,6 +5610,14 @@ export namespace securitycenter_v1beta1 {
|
|
|
4944
5610
|
* The offending package is relevant to the finding.
|
|
4945
5611
|
*/
|
|
4946
5612
|
offendingPackage?: Schema$Package;
|
|
5613
|
+
/**
|
|
5614
|
+
* Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
|
|
5615
|
+
*/
|
|
5616
|
+
providerRiskScore?: string | null;
|
|
5617
|
+
/**
|
|
5618
|
+
* Represents whether the vulnerability is reachable (detected via static analysis)
|
|
5619
|
+
*/
|
|
5620
|
+
reachable?: boolean | null;
|
|
4947
5621
|
/**
|
|
4948
5622
|
* The security bulletin is relevant to this finding.
|
|
4949
5623
|
*/
|
|
@@ -5674,7 +6348,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
5674
6348
|
}
|
|
5675
6349
|
|
|
5676
6350
|
/**
|
|
5677
|
-
* 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
|
|
6351
|
+
* 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`.
|
|
5678
6352
|
*
|
|
5679
6353
|
* @param params - Parameters for request
|
|
5680
6354
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -6612,7 +7286,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
6612
7286
|
}
|
|
6613
7287
|
|
|
6614
7288
|
/**
|
|
6615
|
-
*
|
|
7289
|
+
* Returns the permissions that a caller has on the specified source.
|
|
6616
7290
|
*
|
|
6617
7291
|
* @param params - Parameters for request
|
|
6618
7292
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|