@googleapis/securitycenter 11.0.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 +18 -0
- package/build/v1.d.ts +337 -42
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +337 -42
- package/build/v1beta1.js.map +1 -1
- package/build/v1beta2.d.ts +338 -43
- package/build/v1beta2.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +337 -42
- package/v1beta1.ts +337 -42
- package/v1beta2.ts +338 -43
package/v1.ts
CHANGED
|
@@ -219,6 +219,24 @@ export namespace securitycenter_v1 {
|
|
|
219
219
|
*/
|
|
220
220
|
confidence?: number | null;
|
|
221
221
|
}
|
|
222
|
+
/**
|
|
223
|
+
* Details about resources affected by this finding.
|
|
224
|
+
*/
|
|
225
|
+
export interface Schema$AffectedResources {
|
|
226
|
+
/**
|
|
227
|
+
* The count of resources affected by the finding.
|
|
228
|
+
*/
|
|
229
|
+
count?: string | null;
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* Allowed IP rule.
|
|
233
|
+
*/
|
|
234
|
+
export interface Schema$Allowed {
|
|
235
|
+
/**
|
|
236
|
+
* Optional. Optional list of allowed IP rules.
|
|
237
|
+
*/
|
|
238
|
+
ipRules?: Schema$IpRule[];
|
|
239
|
+
}
|
|
222
240
|
/**
|
|
223
241
|
* Represents an application associated with a finding.
|
|
224
242
|
*/
|
|
@@ -676,6 +694,15 @@ export namespace securitycenter_v1 {
|
|
|
676
694
|
*/
|
|
677
695
|
muteState?: string | null;
|
|
678
696
|
}
|
|
697
|
+
/**
|
|
698
|
+
* Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations).
|
|
699
|
+
*/
|
|
700
|
+
export interface Schema$Chokepoint {
|
|
701
|
+
/**
|
|
702
|
+
* List of resource names of findings associated with this chokepoint. For example, organizations/123/sources/456/findings/789. This list will have at most 100 findings.
|
|
703
|
+
*/
|
|
704
|
+
relatedFindings?: string[] | null;
|
|
705
|
+
}
|
|
679
706
|
/**
|
|
680
707
|
* Fields related to Google Cloud Armor findings.
|
|
681
708
|
*/
|
|
@@ -777,43 +804,6 @@ export namespace securitycenter_v1 {
|
|
|
777
804
|
*/
|
|
778
805
|
version?: string | null;
|
|
779
806
|
}
|
|
780
|
-
/**
|
|
781
|
-
* Result containing the properties and count of a ComplianceSnapshot request.
|
|
782
|
-
*/
|
|
783
|
-
export interface Schema$ComplianceSnapshot {
|
|
784
|
-
/**
|
|
785
|
-
* The category of Findings matching.
|
|
786
|
-
*/
|
|
787
|
-
category?: string | null;
|
|
788
|
-
/**
|
|
789
|
-
* The cloud provider for the compliance snapshot.
|
|
790
|
-
*/
|
|
791
|
-
cloudProvider?: string | null;
|
|
792
|
-
/**
|
|
793
|
-
* The compliance standard (ie CIS).
|
|
794
|
-
*/
|
|
795
|
-
complianceStandard?: string | null;
|
|
796
|
-
/**
|
|
797
|
-
* The compliance version (ie 1.3) in CIS 1.3.
|
|
798
|
-
*/
|
|
799
|
-
complianceVersion?: string | null;
|
|
800
|
-
/**
|
|
801
|
-
* Total count of findings for the given properties.
|
|
802
|
-
*/
|
|
803
|
-
count?: string | null;
|
|
804
|
-
/**
|
|
805
|
-
* The leaf container resource name that is closest to the snapshot.
|
|
806
|
-
*/
|
|
807
|
-
leafContainerResource?: string | null;
|
|
808
|
-
/**
|
|
809
|
-
* The compliance snapshot name. Format: //sources//complianceSnapshots/
|
|
810
|
-
*/
|
|
811
|
-
name?: string | null;
|
|
812
|
-
/**
|
|
813
|
-
* The snapshot time of the snapshot.
|
|
814
|
-
*/
|
|
815
|
-
snapshotTime?: string | null;
|
|
816
|
-
}
|
|
817
807
|
/**
|
|
818
808
|
* Contains information about the IP connection associated with the finding.
|
|
819
809
|
*/
|
|
@@ -1008,6 +998,19 @@ export namespace securitycenter_v1 {
|
|
|
1008
998
|
*/
|
|
1009
999
|
userInteraction?: string | null;
|
|
1010
1000
|
}
|
|
1001
|
+
/**
|
|
1002
|
+
* CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).
|
|
1003
|
+
*/
|
|
1004
|
+
export interface Schema$Cwe {
|
|
1005
|
+
/**
|
|
1006
|
+
* The CWE identifier, e.g. CWE-94
|
|
1007
|
+
*/
|
|
1008
|
+
id?: string | null;
|
|
1009
|
+
/**
|
|
1010
|
+
* Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
|
|
1011
|
+
*/
|
|
1012
|
+
references?: Schema$Reference[];
|
|
1013
|
+
}
|
|
1011
1014
|
/**
|
|
1012
1015
|
* Details about a data access attempt made by a principal not authorized under applicable data security policy.
|
|
1013
1016
|
*/
|
|
@@ -1100,10 +1103,19 @@ export namespace securitycenter_v1 {
|
|
|
1100
1103
|
*/
|
|
1101
1104
|
eventType?: string | null;
|
|
1102
1105
|
/**
|
|
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
|
|
1106
|
+
* Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.
|
|
1104
1107
|
*/
|
|
1105
1108
|
maxRetentionAllowed?: string | null;
|
|
1106
1109
|
}
|
|
1110
|
+
/**
|
|
1111
|
+
* Denied IP rule.
|
|
1112
|
+
*/
|
|
1113
|
+
export interface Schema$Denied {
|
|
1114
|
+
/**
|
|
1115
|
+
* Optional. Optional list of denied IP rules.
|
|
1116
|
+
*/
|
|
1117
|
+
ipRules?: Schema$IpRule[];
|
|
1118
|
+
}
|
|
1107
1119
|
/**
|
|
1108
1120
|
* Memory hash detection contributing to the binary family match.
|
|
1109
1121
|
*/
|
|
@@ -1122,7 +1134,7 @@ export namespace securitycenter_v1 {
|
|
|
1122
1134
|
*/
|
|
1123
1135
|
export interface Schema$Disk {
|
|
1124
1136
|
/**
|
|
1125
|
-
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-id/zones/zone-id/disks/disk-id".
|
|
1137
|
+
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id\}/zones/{zone-id\}/disks/{disk-id\}".
|
|
1126
1138
|
*/
|
|
1127
1139
|
name?: string | null;
|
|
1128
1140
|
}
|
|
@@ -1339,6 +1351,10 @@ export namespace securitycenter_v1 {
|
|
|
1339
1351
|
* Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
|
|
1340
1352
|
*/
|
|
1341
1353
|
access?: Schema$Access;
|
|
1354
|
+
/**
|
|
1355
|
+
* AffectedResources associated with the finding.
|
|
1356
|
+
*/
|
|
1357
|
+
affectedResources?: Schema$AffectedResources;
|
|
1342
1358
|
/**
|
|
1343
1359
|
* Represents an application associated with the finding.
|
|
1344
1360
|
*/
|
|
@@ -1359,6 +1375,10 @@ export namespace securitycenter_v1 {
|
|
|
1359
1375
|
* The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
|
|
1360
1376
|
*/
|
|
1361
1377
|
category?: string | null;
|
|
1378
|
+
/**
|
|
1379
|
+
* Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be updated. Its value is ignored in all update requests.
|
|
1380
|
+
*/
|
|
1381
|
+
chokepoint?: Schema$Chokepoint;
|
|
1362
1382
|
/**
|
|
1363
1383
|
* Fields related to Cloud Armor findings.
|
|
1364
1384
|
*/
|
|
@@ -1453,6 +1473,14 @@ export namespace securitycenter_v1 {
|
|
|
1453
1473
|
* Represents what's commonly known as an *indicator of compromise* (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).
|
|
1454
1474
|
*/
|
|
1455
1475
|
indicator?: Schema$Indicator;
|
|
1476
|
+
/**
|
|
1477
|
+
* IP rules associated with the finding.
|
|
1478
|
+
*/
|
|
1479
|
+
ipRules?: Schema$IpRules;
|
|
1480
|
+
/**
|
|
1481
|
+
* Job associated with the finding.
|
|
1482
|
+
*/
|
|
1483
|
+
job?: Schema$Job;
|
|
1456
1484
|
/**
|
|
1457
1485
|
* Signature of the kernel rootkit.
|
|
1458
1486
|
*/
|
|
@@ -1497,6 +1525,10 @@ export namespace securitycenter_v1 {
|
|
|
1497
1525
|
* The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: "organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}", "folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}", "projects/{project_id\}/sources/{source_id\}/findings/{finding_id\}".
|
|
1498
1526
|
*/
|
|
1499
1527
|
name?: string | null;
|
|
1528
|
+
/**
|
|
1529
|
+
* Represents the VPC networks that the resource is attached to.
|
|
1530
|
+
*/
|
|
1531
|
+
networks?: Schema$Network[];
|
|
1500
1532
|
/**
|
|
1501
1533
|
* Steps to address the finding.
|
|
1502
1534
|
*/
|
|
@@ -2304,6 +2336,24 @@ export namespace securitycenter_v1 {
|
|
|
2304
2336
|
*/
|
|
2305
2337
|
confidence?: number | null;
|
|
2306
2338
|
}
|
|
2339
|
+
/**
|
|
2340
|
+
* Details about resources affected by this finding.
|
|
2341
|
+
*/
|
|
2342
|
+
export interface Schema$GoogleCloudSecuritycenterV2AffectedResources {
|
|
2343
|
+
/**
|
|
2344
|
+
* The count of resources affected by the finding.
|
|
2345
|
+
*/
|
|
2346
|
+
count?: string | null;
|
|
2347
|
+
}
|
|
2348
|
+
/**
|
|
2349
|
+
* Allowed IP rule.
|
|
2350
|
+
*/
|
|
2351
|
+
export interface Schema$GoogleCloudSecuritycenterV2Allowed {
|
|
2352
|
+
/**
|
|
2353
|
+
* Optional. Optional list of allowed IP rules.
|
|
2354
|
+
*/
|
|
2355
|
+
ipRules?: Schema$GoogleCloudSecuritycenterV2IpRule[];
|
|
2356
|
+
}
|
|
2307
2357
|
/**
|
|
2308
2358
|
* Represents an application associated with a finding.
|
|
2309
2359
|
*/
|
|
@@ -2607,6 +2657,15 @@ export namespace securitycenter_v1 {
|
|
|
2607
2657
|
* The response to a BulkMute request. Contains the LRO information.
|
|
2608
2658
|
*/
|
|
2609
2659
|
export interface Schema$GoogleCloudSecuritycenterV2BulkMuteFindingsResponse {}
|
|
2660
|
+
/**
|
|
2661
|
+
* Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations).
|
|
2662
|
+
*/
|
|
2663
|
+
export interface Schema$GoogleCloudSecuritycenterV2Chokepoint {
|
|
2664
|
+
/**
|
|
2665
|
+
* List of resource names of findings associated with this chokepoint. For example, organizations/123/sources/456/findings/789. This list will have at most 100 findings.
|
|
2666
|
+
*/
|
|
2667
|
+
relatedFindings?: string[] | null;
|
|
2668
|
+
}
|
|
2610
2669
|
/**
|
|
2611
2670
|
* Fields related to Google Cloud Armor findings.
|
|
2612
2671
|
*/
|
|
@@ -2862,6 +2921,19 @@ export namespace securitycenter_v1 {
|
|
|
2862
2921
|
*/
|
|
2863
2922
|
userInteraction?: string | null;
|
|
2864
2923
|
}
|
|
2924
|
+
/**
|
|
2925
|
+
* CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).
|
|
2926
|
+
*/
|
|
2927
|
+
export interface Schema$GoogleCloudSecuritycenterV2Cwe {
|
|
2928
|
+
/**
|
|
2929
|
+
* The CWE identifier, e.g. CWE-94
|
|
2930
|
+
*/
|
|
2931
|
+
id?: string | null;
|
|
2932
|
+
/**
|
|
2933
|
+
* Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
|
|
2934
|
+
*/
|
|
2935
|
+
references?: Schema$GoogleCloudSecuritycenterV2Reference[];
|
|
2936
|
+
}
|
|
2865
2937
|
/**
|
|
2866
2938
|
* Details about a data access attempt made by a principal not authorized under applicable data security policy.
|
|
2867
2939
|
*/
|
|
@@ -2954,10 +3026,19 @@ export namespace securitycenter_v1 {
|
|
|
2954
3026
|
*/
|
|
2955
3027
|
eventType?: string | null;
|
|
2956
3028
|
/**
|
|
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
|
|
3029
|
+
* Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.
|
|
2958
3030
|
*/
|
|
2959
3031
|
maxRetentionAllowed?: string | null;
|
|
2960
3032
|
}
|
|
3033
|
+
/**
|
|
3034
|
+
* Denied IP rule.
|
|
3035
|
+
*/
|
|
3036
|
+
export interface Schema$GoogleCloudSecuritycenterV2Denied {
|
|
3037
|
+
/**
|
|
3038
|
+
* Optional. Optional list of denied IP rules.
|
|
3039
|
+
*/
|
|
3040
|
+
ipRules?: Schema$GoogleCloudSecuritycenterV2IpRule[];
|
|
3041
|
+
}
|
|
2961
3042
|
/**
|
|
2962
3043
|
* Memory hash detection contributing to the binary family match.
|
|
2963
3044
|
*/
|
|
@@ -2976,7 +3057,7 @@ export namespace securitycenter_v1 {
|
|
|
2976
3057
|
*/
|
|
2977
3058
|
export interface Schema$GoogleCloudSecuritycenterV2Disk {
|
|
2978
3059
|
/**
|
|
2979
|
-
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-id/zones/zone-id/disks/disk-id".
|
|
3060
|
+
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id\}/zones/{zone-id\}/disks/{disk-id\}".
|
|
2980
3061
|
*/
|
|
2981
3062
|
name?: string | null;
|
|
2982
3063
|
}
|
|
@@ -3139,6 +3220,10 @@ export namespace securitycenter_v1 {
|
|
|
3139
3220
|
* Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
|
|
3140
3221
|
*/
|
|
3141
3222
|
access?: Schema$GoogleCloudSecuritycenterV2Access;
|
|
3223
|
+
/**
|
|
3224
|
+
* AffectedResources associated with the finding.
|
|
3225
|
+
*/
|
|
3226
|
+
affectedResources?: Schema$GoogleCloudSecuritycenterV2AffectedResources;
|
|
3142
3227
|
/**
|
|
3143
3228
|
* Represents an application associated with the finding.
|
|
3144
3229
|
*/
|
|
@@ -3159,6 +3244,10 @@ export namespace securitycenter_v1 {
|
|
|
3159
3244
|
* Immutable. The additional taxonomy group within findings from a given source. Example: "XSS_FLASH_INJECTION"
|
|
3160
3245
|
*/
|
|
3161
3246
|
category?: string | null;
|
|
3247
|
+
/**
|
|
3248
|
+
* Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be updated. Its value is ignored in all update requests.
|
|
3249
|
+
*/
|
|
3250
|
+
chokepoint?: Schema$GoogleCloudSecuritycenterV2Chokepoint;
|
|
3162
3251
|
/**
|
|
3163
3252
|
* Fields related to Cloud Armor findings.
|
|
3164
3253
|
*/
|
|
@@ -3255,6 +3344,14 @@ export namespace securitycenter_v1 {
|
|
|
3255
3344
|
* Represents what's commonly known as an *indicator of compromise* (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).
|
|
3256
3345
|
*/
|
|
3257
3346
|
indicator?: Schema$GoogleCloudSecuritycenterV2Indicator;
|
|
3347
|
+
/**
|
|
3348
|
+
* IP rules associated with the finding.
|
|
3349
|
+
*/
|
|
3350
|
+
ipRules?: Schema$GoogleCloudSecuritycenterV2IpRules;
|
|
3351
|
+
/**
|
|
3352
|
+
* Job associated with the finding.
|
|
3353
|
+
*/
|
|
3354
|
+
job?: Schema$GoogleCloudSecuritycenterV2Job;
|
|
3258
3355
|
/**
|
|
3259
3356
|
* Signature of the kernel rootkit.
|
|
3260
3357
|
*/
|
|
@@ -3299,6 +3396,10 @@ export namespace securitycenter_v1 {
|
|
|
3299
3396
|
* The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. The following list shows some examples: + `organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}` + `organizations/{organization_id\}/sources/{source_id\}/locations/{location_id\}/findings/{finding_id\}` + `folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}` + `folders/{folder_id\}/sources/{source_id\}/locations/{location_id\}/findings/{finding_id\}` + `projects/{project_id\}/sources/{source_id\}/findings/{finding_id\}` + `projects/{project_id\}/sources/{source_id\}/locations/{location_id\}/findings/{finding_id\}`
|
|
3300
3397
|
*/
|
|
3301
3398
|
name?: string | null;
|
|
3399
|
+
/**
|
|
3400
|
+
* Represents the VPC networks that the resource is attached to.
|
|
3401
|
+
*/
|
|
3402
|
+
networks?: Schema$GoogleCloudSecuritycenterV2Network[];
|
|
3302
3403
|
/**
|
|
3303
3404
|
* Steps to address the finding.
|
|
3304
3405
|
*/
|
|
@@ -3429,6 +3530,48 @@ export namespace securitycenter_v1 {
|
|
|
3429
3530
|
*/
|
|
3430
3531
|
uris?: string[] | null;
|
|
3431
3532
|
}
|
|
3533
|
+
/**
|
|
3534
|
+
* IP rule information.
|
|
3535
|
+
*/
|
|
3536
|
+
export interface Schema$GoogleCloudSecuritycenterV2IpRule {
|
|
3537
|
+
/**
|
|
3538
|
+
* Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.
|
|
3539
|
+
*/
|
|
3540
|
+
portRanges?: Schema$GoogleCloudSecuritycenterV2PortRange[];
|
|
3541
|
+
/**
|
|
3542
|
+
* The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.
|
|
3543
|
+
*/
|
|
3544
|
+
protocol?: string | null;
|
|
3545
|
+
}
|
|
3546
|
+
/**
|
|
3547
|
+
* IP rules associated with the finding.
|
|
3548
|
+
*/
|
|
3549
|
+
export interface Schema$GoogleCloudSecuritycenterV2IpRules {
|
|
3550
|
+
/**
|
|
3551
|
+
* Tuple with allowed rules.
|
|
3552
|
+
*/
|
|
3553
|
+
allowed?: Schema$GoogleCloudSecuritycenterV2Allowed;
|
|
3554
|
+
/**
|
|
3555
|
+
* Tuple with denied rules.
|
|
3556
|
+
*/
|
|
3557
|
+
denied?: Schema$GoogleCloudSecuritycenterV2Denied;
|
|
3558
|
+
/**
|
|
3559
|
+
* If destination IP ranges are specified, the firewall rule applies only to traffic that has a destination IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
|
|
3560
|
+
*/
|
|
3561
|
+
destinationIpRanges?: string[] | null;
|
|
3562
|
+
/**
|
|
3563
|
+
* The direction that the rule is applicable to, one of ingress or egress.
|
|
3564
|
+
*/
|
|
3565
|
+
direction?: string | null;
|
|
3566
|
+
/**
|
|
3567
|
+
* Name of the network protocol service, such as FTP, that is exposed by the open port. Follows the naming convention available at: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
|
|
3568
|
+
*/
|
|
3569
|
+
exposedServices?: string[] | null;
|
|
3570
|
+
/**
|
|
3571
|
+
* If source IP ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
|
|
3572
|
+
*/
|
|
3573
|
+
sourceIpRanges?: string[] | null;
|
|
3574
|
+
}
|
|
3432
3575
|
/**
|
|
3433
3576
|
* Security Command Center Issue.
|
|
3434
3577
|
*/
|
|
@@ -3692,6 +3835,27 @@ export namespace securitycenter_v1 {
|
|
|
3692
3835
|
*/
|
|
3693
3836
|
values?: string[] | null;
|
|
3694
3837
|
}
|
|
3838
|
+
/**
|
|
3839
|
+
* Describes a job
|
|
3840
|
+
*/
|
|
3841
|
+
export interface Schema$GoogleCloudSecuritycenterV2Job {
|
|
3842
|
+
/**
|
|
3843
|
+
* Optional. If the job did not complete successfully, this field describes why.
|
|
3844
|
+
*/
|
|
3845
|
+
errorCode?: number | null;
|
|
3846
|
+
/**
|
|
3847
|
+
* Optional. Gives the location where the job ran, such as `US` or `europe-west1`
|
|
3848
|
+
*/
|
|
3849
|
+
location?: string | null;
|
|
3850
|
+
/**
|
|
3851
|
+
* The fully-qualified name for a job. e.g. `projects//jobs/`
|
|
3852
|
+
*/
|
|
3853
|
+
name?: string | null;
|
|
3854
|
+
/**
|
|
3855
|
+
* Output only. State of the job, such as `RUNNING` or `PENDING`.
|
|
3856
|
+
*/
|
|
3857
|
+
state?: string | null;
|
|
3858
|
+
}
|
|
3695
3859
|
/**
|
|
3696
3860
|
* Kernel mode rootkit signatures.
|
|
3697
3861
|
*/
|
|
@@ -3885,6 +4049,15 @@ export namespace securitycenter_v1 {
|
|
|
3885
4049
|
*/
|
|
3886
4050
|
staticMute?: Schema$GoogleCloudSecuritycenterV2StaticMute;
|
|
3887
4051
|
}
|
|
4052
|
+
/**
|
|
4053
|
+
* Contains information about a VPC network associated with the finding.
|
|
4054
|
+
*/
|
|
4055
|
+
export interface Schema$GoogleCloudSecuritycenterV2Network {
|
|
4056
|
+
/**
|
|
4057
|
+
* The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.
|
|
4058
|
+
*/
|
|
4059
|
+
name?: string | null;
|
|
4060
|
+
}
|
|
3888
4061
|
/**
|
|
3889
4062
|
* Kubernetes nodes associated with the finding.
|
|
3890
4063
|
*/
|
|
@@ -3975,7 +4148,7 @@ export namespace securitycenter_v1 {
|
|
|
3975
4148
|
*/
|
|
3976
4149
|
export interface Schema$GoogleCloudSecuritycenterV2OrgPolicy {
|
|
3977
4150
|
/**
|
|
3978
|
-
* The resource name of the org policy. Example: "organizations/{organization_id\}/policies/{constraint_name\}"
|
|
4151
|
+
* Identifier. The resource name of the org policy. Example: "organizations/{organization_id\}/policies/{constraint_name\}"
|
|
3979
4152
|
*/
|
|
3980
4153
|
name?: string | null;
|
|
3981
4154
|
}
|
|
@@ -4038,6 +4211,19 @@ export namespace securitycenter_v1 {
|
|
|
4038
4211
|
*/
|
|
4039
4212
|
field?: string | null;
|
|
4040
4213
|
}
|
|
4214
|
+
/**
|
|
4215
|
+
* A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.
|
|
4216
|
+
*/
|
|
4217
|
+
export interface Schema$GoogleCloudSecuritycenterV2PortRange {
|
|
4218
|
+
/**
|
|
4219
|
+
* Maximum port value.
|
|
4220
|
+
*/
|
|
4221
|
+
max?: string | null;
|
|
4222
|
+
/**
|
|
4223
|
+
* Minimum port value.
|
|
4224
|
+
*/
|
|
4225
|
+
min?: string | null;
|
|
4226
|
+
}
|
|
4041
4227
|
/**
|
|
4042
4228
|
* Represents an operating system process.
|
|
4043
4229
|
*/
|
|
@@ -4469,6 +4655,10 @@ export namespace securitycenter_v1 {
|
|
|
4469
4655
|
* CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
|
|
4470
4656
|
*/
|
|
4471
4657
|
cve?: Schema$GoogleCloudSecuritycenterV2Cve;
|
|
4658
|
+
/**
|
|
4659
|
+
* Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
|
|
4660
|
+
*/
|
|
4661
|
+
cwes?: Schema$GoogleCloudSecuritycenterV2Cwe[];
|
|
4472
4662
|
/**
|
|
4473
4663
|
* The fixed package is relevant to the finding.
|
|
4474
4664
|
*/
|
|
@@ -4477,6 +4667,14 @@ export namespace securitycenter_v1 {
|
|
|
4477
4667
|
* The offending package is relevant to the finding.
|
|
4478
4668
|
*/
|
|
4479
4669
|
offendingPackage?: Schema$GoogleCloudSecuritycenterV2Package;
|
|
4670
|
+
/**
|
|
4671
|
+
* Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
|
|
4672
|
+
*/
|
|
4673
|
+
providerRiskScore?: string | null;
|
|
4674
|
+
/**
|
|
4675
|
+
* Represents whether the vulnerability is reachable (detected via static analysis)
|
|
4676
|
+
*/
|
|
4677
|
+
reachable?: boolean | null;
|
|
4480
4678
|
/**
|
|
4481
4679
|
* The security bulletin is relevant to this finding.
|
|
4482
4680
|
*/
|
|
@@ -4664,6 +4862,69 @@ export namespace securitycenter_v1 {
|
|
|
4664
4862
|
*/
|
|
4665
4863
|
uris?: string[] | null;
|
|
4666
4864
|
}
|
|
4865
|
+
/**
|
|
4866
|
+
* IP rule information.
|
|
4867
|
+
*/
|
|
4868
|
+
export interface Schema$IpRule {
|
|
4869
|
+
/**
|
|
4870
|
+
* Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.
|
|
4871
|
+
*/
|
|
4872
|
+
portRanges?: Schema$PortRange[];
|
|
4873
|
+
/**
|
|
4874
|
+
* The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.
|
|
4875
|
+
*/
|
|
4876
|
+
protocol?: string | null;
|
|
4877
|
+
}
|
|
4878
|
+
/**
|
|
4879
|
+
* IP rules associated with the finding.
|
|
4880
|
+
*/
|
|
4881
|
+
export interface Schema$IpRules {
|
|
4882
|
+
/**
|
|
4883
|
+
* Tuple with allowed rules.
|
|
4884
|
+
*/
|
|
4885
|
+
allowed?: Schema$Allowed;
|
|
4886
|
+
/**
|
|
4887
|
+
* Tuple with denied rules.
|
|
4888
|
+
*/
|
|
4889
|
+
denied?: Schema$Denied;
|
|
4890
|
+
/**
|
|
4891
|
+
* If destination IP ranges are specified, the firewall rule applies only to traffic that has a destination IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
|
|
4892
|
+
*/
|
|
4893
|
+
destinationIpRanges?: string[] | null;
|
|
4894
|
+
/**
|
|
4895
|
+
* The direction that the rule is applicable to, one of ingress or egress.
|
|
4896
|
+
*/
|
|
4897
|
+
direction?: string | null;
|
|
4898
|
+
/**
|
|
4899
|
+
* Name of the network protocol service, such as FTP, that is exposed by the open port. Follows the naming convention available at: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
|
|
4900
|
+
*/
|
|
4901
|
+
exposedServices?: string[] | null;
|
|
4902
|
+
/**
|
|
4903
|
+
* If source IP ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
|
|
4904
|
+
*/
|
|
4905
|
+
sourceIpRanges?: string[] | null;
|
|
4906
|
+
}
|
|
4907
|
+
/**
|
|
4908
|
+
* Describes a job
|
|
4909
|
+
*/
|
|
4910
|
+
export interface Schema$Job {
|
|
4911
|
+
/**
|
|
4912
|
+
* Optional. If the job did not complete successfully, this field describes why.
|
|
4913
|
+
*/
|
|
4914
|
+
errorCode?: number | null;
|
|
4915
|
+
/**
|
|
4916
|
+
* Optional. Gives the location where the job ran, such as `US` or `europe-west1`
|
|
4917
|
+
*/
|
|
4918
|
+
location?: string | null;
|
|
4919
|
+
/**
|
|
4920
|
+
* The fully-qualified name for a job. e.g. `projects//jobs/`
|
|
4921
|
+
*/
|
|
4922
|
+
name?: string | null;
|
|
4923
|
+
/**
|
|
4924
|
+
* Output only. State of the job, such as `RUNNING` or `PENDING`.
|
|
4925
|
+
*/
|
|
4926
|
+
state?: string | null;
|
|
4927
|
+
}
|
|
4667
4928
|
/**
|
|
4668
4929
|
* Kernel mode rootkit signatures.
|
|
4669
4930
|
*/
|
|
@@ -5078,6 +5339,15 @@ export namespace securitycenter_v1 {
|
|
|
5078
5339
|
*/
|
|
5079
5340
|
staticMute?: Schema$StaticMute;
|
|
5080
5341
|
}
|
|
5342
|
+
/**
|
|
5343
|
+
* Contains information about a VPC network associated with the finding.
|
|
5344
|
+
*/
|
|
5345
|
+
export interface Schema$Network {
|
|
5346
|
+
/**
|
|
5347
|
+
* The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.
|
|
5348
|
+
*/
|
|
5349
|
+
name?: string | null;
|
|
5350
|
+
}
|
|
5081
5351
|
/**
|
|
5082
5352
|
* Kubernetes nodes associated with the finding.
|
|
5083
5353
|
*/
|
|
@@ -5319,6 +5589,19 @@ export namespace securitycenter_v1 {
|
|
|
5319
5589
|
*/
|
|
5320
5590
|
field?: string | null;
|
|
5321
5591
|
}
|
|
5592
|
+
/**
|
|
5593
|
+
* A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.
|
|
5594
|
+
*/
|
|
5595
|
+
export interface Schema$PortRange {
|
|
5596
|
+
/**
|
|
5597
|
+
* Maximum port value.
|
|
5598
|
+
*/
|
|
5599
|
+
max?: string | null;
|
|
5600
|
+
/**
|
|
5601
|
+
* Minimum port value.
|
|
5602
|
+
*/
|
|
5603
|
+
min?: string | null;
|
|
5604
|
+
}
|
|
5322
5605
|
/**
|
|
5323
5606
|
* A position in the uploaded text version of a module.
|
|
5324
5607
|
*/
|
|
@@ -6001,6 +6284,10 @@ export namespace securitycenter_v1 {
|
|
|
6001
6284
|
* CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
|
|
6002
6285
|
*/
|
|
6003
6286
|
cve?: Schema$Cve;
|
|
6287
|
+
/**
|
|
6288
|
+
* Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
|
|
6289
|
+
*/
|
|
6290
|
+
cwes?: Schema$Cwe[];
|
|
6004
6291
|
/**
|
|
6005
6292
|
* The fixed package is relevant to the finding.
|
|
6006
6293
|
*/
|
|
@@ -6009,6 +6296,14 @@ export namespace securitycenter_v1 {
|
|
|
6009
6296
|
* The offending package is relevant to the finding.
|
|
6010
6297
|
*/
|
|
6011
6298
|
offendingPackage?: Schema$Package;
|
|
6299
|
+
/**
|
|
6300
|
+
* Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
|
|
6301
|
+
*/
|
|
6302
|
+
providerRiskScore?: string | null;
|
|
6303
|
+
/**
|
|
6304
|
+
* Represents whether the vulnerability is reachable (detected via static analysis)
|
|
6305
|
+
*/
|
|
6306
|
+
reachable?: boolean | null;
|
|
6012
6307
|
/**
|
|
6013
6308
|
* The security bulletin is relevant to this finding.
|
|
6014
6309
|
*/
|