@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/v1beta2.ts
CHANGED
|
@@ -219,6 +219,24 @@ export namespace securitycenter_v1beta2 {
|
|
|
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
|
*/
|
|
@@ -460,6 +478,15 @@ export namespace securitycenter_v1beta2 {
|
|
|
460
478
|
*/
|
|
461
479
|
storagePool?: string | null;
|
|
462
480
|
}
|
|
481
|
+
/**
|
|
482
|
+
* 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).
|
|
483
|
+
*/
|
|
484
|
+
export interface Schema$Chokepoint {
|
|
485
|
+
/**
|
|
486
|
+
* 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.
|
|
487
|
+
*/
|
|
488
|
+
relatedFindings?: string[] | null;
|
|
489
|
+
}
|
|
463
490
|
/**
|
|
464
491
|
* Fields related to Google Cloud Armor findings.
|
|
465
492
|
*/
|
|
@@ -561,43 +588,6 @@ export namespace securitycenter_v1beta2 {
|
|
|
561
588
|
*/
|
|
562
589
|
version?: string | null;
|
|
563
590
|
}
|
|
564
|
-
/**
|
|
565
|
-
* Result containing the properties and count of a ComplianceSnapshot request.
|
|
566
|
-
*/
|
|
567
|
-
export interface Schema$ComplianceSnapshot {
|
|
568
|
-
/**
|
|
569
|
-
* The category of Findings matching.
|
|
570
|
-
*/
|
|
571
|
-
category?: string | null;
|
|
572
|
-
/**
|
|
573
|
-
* The cloud provider for the compliance snapshot.
|
|
574
|
-
*/
|
|
575
|
-
cloudProvider?: string | null;
|
|
576
|
-
/**
|
|
577
|
-
* The compliance standard (ie CIS).
|
|
578
|
-
*/
|
|
579
|
-
complianceStandard?: string | null;
|
|
580
|
-
/**
|
|
581
|
-
* The compliance version (ie 1.3) in CIS 1.3.
|
|
582
|
-
*/
|
|
583
|
-
complianceVersion?: string | null;
|
|
584
|
-
/**
|
|
585
|
-
* Total count of findings for the given properties.
|
|
586
|
-
*/
|
|
587
|
-
count?: string | null;
|
|
588
|
-
/**
|
|
589
|
-
* The leaf container resource name that is closest to the snapshot.
|
|
590
|
-
*/
|
|
591
|
-
leafContainerResource?: string | null;
|
|
592
|
-
/**
|
|
593
|
-
* The compliance snapshot name. Format: //sources//complianceSnapshots/
|
|
594
|
-
*/
|
|
595
|
-
name?: string | null;
|
|
596
|
-
/**
|
|
597
|
-
* The snapshot time of the snapshot.
|
|
598
|
-
*/
|
|
599
|
-
snapshotTime?: string | null;
|
|
600
|
-
}
|
|
601
591
|
/**
|
|
602
592
|
* Configuration of a module.
|
|
603
593
|
*/
|
|
@@ -790,6 +780,19 @@ export namespace securitycenter_v1beta2 {
|
|
|
790
780
|
*/
|
|
791
781
|
userInteraction?: string | null;
|
|
792
782
|
}
|
|
783
|
+
/**
|
|
784
|
+
* CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).
|
|
785
|
+
*/
|
|
786
|
+
export interface Schema$Cwe {
|
|
787
|
+
/**
|
|
788
|
+
* The CWE identifier, e.g. CWE-94
|
|
789
|
+
*/
|
|
790
|
+
id?: string | null;
|
|
791
|
+
/**
|
|
792
|
+
* Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
|
|
793
|
+
*/
|
|
794
|
+
references?: Schema$Reference[];
|
|
795
|
+
}
|
|
793
796
|
/**
|
|
794
797
|
* Details about a data access attempt made by a principal not authorized under applicable data security policy.
|
|
795
798
|
*/
|
|
@@ -882,10 +885,19 @@ export namespace securitycenter_v1beta2 {
|
|
|
882
885
|
*/
|
|
883
886
|
eventType?: string | null;
|
|
884
887
|
/**
|
|
885
|
-
* 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
|
|
888
|
+
* 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.
|
|
886
889
|
*/
|
|
887
890
|
maxRetentionAllowed?: string | null;
|
|
888
891
|
}
|
|
892
|
+
/**
|
|
893
|
+
* Denied IP rule.
|
|
894
|
+
*/
|
|
895
|
+
export interface Schema$Denied {
|
|
896
|
+
/**
|
|
897
|
+
* Optional. Optional list of denied IP rules.
|
|
898
|
+
*/
|
|
899
|
+
ipRules?: Schema$IpRule[];
|
|
900
|
+
}
|
|
889
901
|
/**
|
|
890
902
|
* Details of a subscription.
|
|
891
903
|
*/
|
|
@@ -921,7 +933,7 @@ export namespace securitycenter_v1beta2 {
|
|
|
921
933
|
*/
|
|
922
934
|
export interface Schema$Disk {
|
|
923
935
|
/**
|
|
924
|
-
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-id/zones/zone-id/disks/disk-id".
|
|
936
|
+
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id\}/zones/{zone-id\}/disks/{disk-id\}".
|
|
925
937
|
*/
|
|
926
938
|
name?: string | null;
|
|
927
939
|
}
|
|
@@ -1077,6 +1089,10 @@ export namespace securitycenter_v1beta2 {
|
|
|
1077
1089
|
* Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
|
|
1078
1090
|
*/
|
|
1079
1091
|
access?: Schema$Access;
|
|
1092
|
+
/**
|
|
1093
|
+
* AffectedResources associated with the finding.
|
|
1094
|
+
*/
|
|
1095
|
+
affectedResources?: Schema$AffectedResources;
|
|
1080
1096
|
/**
|
|
1081
1097
|
* Represents an application associated with the finding.
|
|
1082
1098
|
*/
|
|
@@ -1097,6 +1113,10 @@ export namespace securitycenter_v1beta2 {
|
|
|
1097
1113
|
* The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
|
|
1098
1114
|
*/
|
|
1099
1115
|
category?: string | null;
|
|
1116
|
+
/**
|
|
1117
|
+
* 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.
|
|
1118
|
+
*/
|
|
1119
|
+
chokepoint?: Schema$Chokepoint;
|
|
1100
1120
|
/**
|
|
1101
1121
|
* Fields related to Cloud Armor findings.
|
|
1102
1122
|
*/
|
|
@@ -1191,6 +1211,14 @@ export namespace securitycenter_v1beta2 {
|
|
|
1191
1211
|
* 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).
|
|
1192
1212
|
*/
|
|
1193
1213
|
indicator?: Schema$Indicator;
|
|
1214
|
+
/**
|
|
1215
|
+
* IP rules associated with the finding.
|
|
1216
|
+
*/
|
|
1217
|
+
ipRules?: Schema$IpRules;
|
|
1218
|
+
/**
|
|
1219
|
+
* Job associated with the finding.
|
|
1220
|
+
*/
|
|
1221
|
+
job?: Schema$Job;
|
|
1194
1222
|
/**
|
|
1195
1223
|
* Signature of the kernel rootkit.
|
|
1196
1224
|
*/
|
|
@@ -1235,6 +1263,10 @@ export namespace securitycenter_v1beta2 {
|
|
|
1235
1263
|
* 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\}".
|
|
1236
1264
|
*/
|
|
1237
1265
|
name?: string | null;
|
|
1266
|
+
/**
|
|
1267
|
+
* Represents the VPC networks that the resource is attached to.
|
|
1268
|
+
*/
|
|
1269
|
+
networks?: Schema$Network[];
|
|
1238
1270
|
/**
|
|
1239
1271
|
* Steps to address the finding.
|
|
1240
1272
|
*/
|
|
@@ -2024,6 +2056,24 @@ export namespace securitycenter_v1beta2 {
|
|
|
2024
2056
|
*/
|
|
2025
2057
|
confidence?: number | null;
|
|
2026
2058
|
}
|
|
2059
|
+
/**
|
|
2060
|
+
* Details about resources affected by this finding.
|
|
2061
|
+
*/
|
|
2062
|
+
export interface Schema$GoogleCloudSecuritycenterV2AffectedResources {
|
|
2063
|
+
/**
|
|
2064
|
+
* The count of resources affected by the finding.
|
|
2065
|
+
*/
|
|
2066
|
+
count?: string | null;
|
|
2067
|
+
}
|
|
2068
|
+
/**
|
|
2069
|
+
* Allowed IP rule.
|
|
2070
|
+
*/
|
|
2071
|
+
export interface Schema$GoogleCloudSecuritycenterV2Allowed {
|
|
2072
|
+
/**
|
|
2073
|
+
* Optional. Optional list of allowed IP rules.
|
|
2074
|
+
*/
|
|
2075
|
+
ipRules?: Schema$GoogleCloudSecuritycenterV2IpRule[];
|
|
2076
|
+
}
|
|
2027
2077
|
/**
|
|
2028
2078
|
* Represents an application associated with a finding.
|
|
2029
2079
|
*/
|
|
@@ -2327,6 +2377,15 @@ export namespace securitycenter_v1beta2 {
|
|
|
2327
2377
|
* The response to a BulkMute request. Contains the LRO information.
|
|
2328
2378
|
*/
|
|
2329
2379
|
export interface Schema$GoogleCloudSecuritycenterV2BulkMuteFindingsResponse {}
|
|
2380
|
+
/**
|
|
2381
|
+
* 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).
|
|
2382
|
+
*/
|
|
2383
|
+
export interface Schema$GoogleCloudSecuritycenterV2Chokepoint {
|
|
2384
|
+
/**
|
|
2385
|
+
* 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.
|
|
2386
|
+
*/
|
|
2387
|
+
relatedFindings?: string[] | null;
|
|
2388
|
+
}
|
|
2330
2389
|
/**
|
|
2331
2390
|
* Fields related to Google Cloud Armor findings.
|
|
2332
2391
|
*/
|
|
@@ -2582,6 +2641,19 @@ export namespace securitycenter_v1beta2 {
|
|
|
2582
2641
|
*/
|
|
2583
2642
|
userInteraction?: string | null;
|
|
2584
2643
|
}
|
|
2644
|
+
/**
|
|
2645
|
+
* CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).
|
|
2646
|
+
*/
|
|
2647
|
+
export interface Schema$GoogleCloudSecuritycenterV2Cwe {
|
|
2648
|
+
/**
|
|
2649
|
+
* The CWE identifier, e.g. CWE-94
|
|
2650
|
+
*/
|
|
2651
|
+
id?: string | null;
|
|
2652
|
+
/**
|
|
2653
|
+
* Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
|
|
2654
|
+
*/
|
|
2655
|
+
references?: Schema$GoogleCloudSecuritycenterV2Reference[];
|
|
2656
|
+
}
|
|
2585
2657
|
/**
|
|
2586
2658
|
* Details about a data access attempt made by a principal not authorized under applicable data security policy.
|
|
2587
2659
|
*/
|
|
@@ -2674,10 +2746,19 @@ export namespace securitycenter_v1beta2 {
|
|
|
2674
2746
|
*/
|
|
2675
2747
|
eventType?: string | null;
|
|
2676
2748
|
/**
|
|
2677
|
-
* 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
|
|
2749
|
+
* 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.
|
|
2678
2750
|
*/
|
|
2679
2751
|
maxRetentionAllowed?: string | null;
|
|
2680
2752
|
}
|
|
2753
|
+
/**
|
|
2754
|
+
* Denied IP rule.
|
|
2755
|
+
*/
|
|
2756
|
+
export interface Schema$GoogleCloudSecuritycenterV2Denied {
|
|
2757
|
+
/**
|
|
2758
|
+
* Optional. Optional list of denied IP rules.
|
|
2759
|
+
*/
|
|
2760
|
+
ipRules?: Schema$GoogleCloudSecuritycenterV2IpRule[];
|
|
2761
|
+
}
|
|
2681
2762
|
/**
|
|
2682
2763
|
* Memory hash detection contributing to the binary family match.
|
|
2683
2764
|
*/
|
|
@@ -2696,7 +2777,7 @@ export namespace securitycenter_v1beta2 {
|
|
|
2696
2777
|
*/
|
|
2697
2778
|
export interface Schema$GoogleCloudSecuritycenterV2Disk {
|
|
2698
2779
|
/**
|
|
2699
|
-
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-id/zones/zone-id/disks/disk-id".
|
|
2780
|
+
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id\}/zones/{zone-id\}/disks/{disk-id\}".
|
|
2700
2781
|
*/
|
|
2701
2782
|
name?: string | null;
|
|
2702
2783
|
}
|
|
@@ -2859,6 +2940,10 @@ export namespace securitycenter_v1beta2 {
|
|
|
2859
2940
|
* Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
|
|
2860
2941
|
*/
|
|
2861
2942
|
access?: Schema$GoogleCloudSecuritycenterV2Access;
|
|
2943
|
+
/**
|
|
2944
|
+
* AffectedResources associated with the finding.
|
|
2945
|
+
*/
|
|
2946
|
+
affectedResources?: Schema$GoogleCloudSecuritycenterV2AffectedResources;
|
|
2862
2947
|
/**
|
|
2863
2948
|
* Represents an application associated with the finding.
|
|
2864
2949
|
*/
|
|
@@ -2879,6 +2964,10 @@ export namespace securitycenter_v1beta2 {
|
|
|
2879
2964
|
* Immutable. The additional taxonomy group within findings from a given source. Example: "XSS_FLASH_INJECTION"
|
|
2880
2965
|
*/
|
|
2881
2966
|
category?: string | null;
|
|
2967
|
+
/**
|
|
2968
|
+
* 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.
|
|
2969
|
+
*/
|
|
2970
|
+
chokepoint?: Schema$GoogleCloudSecuritycenterV2Chokepoint;
|
|
2882
2971
|
/**
|
|
2883
2972
|
* Fields related to Cloud Armor findings.
|
|
2884
2973
|
*/
|
|
@@ -2975,6 +3064,14 @@ export namespace securitycenter_v1beta2 {
|
|
|
2975
3064
|
* 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).
|
|
2976
3065
|
*/
|
|
2977
3066
|
indicator?: Schema$GoogleCloudSecuritycenterV2Indicator;
|
|
3067
|
+
/**
|
|
3068
|
+
* IP rules associated with the finding.
|
|
3069
|
+
*/
|
|
3070
|
+
ipRules?: Schema$GoogleCloudSecuritycenterV2IpRules;
|
|
3071
|
+
/**
|
|
3072
|
+
* Job associated with the finding.
|
|
3073
|
+
*/
|
|
3074
|
+
job?: Schema$GoogleCloudSecuritycenterV2Job;
|
|
2978
3075
|
/**
|
|
2979
3076
|
* Signature of the kernel rootkit.
|
|
2980
3077
|
*/
|
|
@@ -3019,6 +3116,10 @@ export namespace securitycenter_v1beta2 {
|
|
|
3019
3116
|
* 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\}`
|
|
3020
3117
|
*/
|
|
3021
3118
|
name?: string | null;
|
|
3119
|
+
/**
|
|
3120
|
+
* Represents the VPC networks that the resource is attached to.
|
|
3121
|
+
*/
|
|
3122
|
+
networks?: Schema$GoogleCloudSecuritycenterV2Network[];
|
|
3022
3123
|
/**
|
|
3023
3124
|
* Steps to address the finding.
|
|
3024
3125
|
*/
|
|
@@ -3149,6 +3250,48 @@ export namespace securitycenter_v1beta2 {
|
|
|
3149
3250
|
*/
|
|
3150
3251
|
uris?: string[] | null;
|
|
3151
3252
|
}
|
|
3253
|
+
/**
|
|
3254
|
+
* IP rule information.
|
|
3255
|
+
*/
|
|
3256
|
+
export interface Schema$GoogleCloudSecuritycenterV2IpRule {
|
|
3257
|
+
/**
|
|
3258
|
+
* 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.
|
|
3259
|
+
*/
|
|
3260
|
+
portRanges?: Schema$GoogleCloudSecuritycenterV2PortRange[];
|
|
3261
|
+
/**
|
|
3262
|
+
* 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.
|
|
3263
|
+
*/
|
|
3264
|
+
protocol?: string | null;
|
|
3265
|
+
}
|
|
3266
|
+
/**
|
|
3267
|
+
* IP rules associated with the finding.
|
|
3268
|
+
*/
|
|
3269
|
+
export interface Schema$GoogleCloudSecuritycenterV2IpRules {
|
|
3270
|
+
/**
|
|
3271
|
+
* Tuple with allowed rules.
|
|
3272
|
+
*/
|
|
3273
|
+
allowed?: Schema$GoogleCloudSecuritycenterV2Allowed;
|
|
3274
|
+
/**
|
|
3275
|
+
* Tuple with denied rules.
|
|
3276
|
+
*/
|
|
3277
|
+
denied?: Schema$GoogleCloudSecuritycenterV2Denied;
|
|
3278
|
+
/**
|
|
3279
|
+
* 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.
|
|
3280
|
+
*/
|
|
3281
|
+
destinationIpRanges?: string[] | null;
|
|
3282
|
+
/**
|
|
3283
|
+
* The direction that the rule is applicable to, one of ingress or egress.
|
|
3284
|
+
*/
|
|
3285
|
+
direction?: string | null;
|
|
3286
|
+
/**
|
|
3287
|
+
* 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.
|
|
3288
|
+
*/
|
|
3289
|
+
exposedServices?: string[] | null;
|
|
3290
|
+
/**
|
|
3291
|
+
* 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.
|
|
3292
|
+
*/
|
|
3293
|
+
sourceIpRanges?: string[] | null;
|
|
3294
|
+
}
|
|
3152
3295
|
/**
|
|
3153
3296
|
* Security Command Center Issue.
|
|
3154
3297
|
*/
|
|
@@ -3412,6 +3555,27 @@ export namespace securitycenter_v1beta2 {
|
|
|
3412
3555
|
*/
|
|
3413
3556
|
values?: string[] | null;
|
|
3414
3557
|
}
|
|
3558
|
+
/**
|
|
3559
|
+
* Describes a job
|
|
3560
|
+
*/
|
|
3561
|
+
export interface Schema$GoogleCloudSecuritycenterV2Job {
|
|
3562
|
+
/**
|
|
3563
|
+
* Optional. If the job did not complete successfully, this field describes why.
|
|
3564
|
+
*/
|
|
3565
|
+
errorCode?: number | null;
|
|
3566
|
+
/**
|
|
3567
|
+
* Optional. Gives the location where the job ran, such as `US` or `europe-west1`
|
|
3568
|
+
*/
|
|
3569
|
+
location?: string | null;
|
|
3570
|
+
/**
|
|
3571
|
+
* The fully-qualified name for a job. e.g. `projects//jobs/`
|
|
3572
|
+
*/
|
|
3573
|
+
name?: string | null;
|
|
3574
|
+
/**
|
|
3575
|
+
* Output only. State of the job, such as `RUNNING` or `PENDING`.
|
|
3576
|
+
*/
|
|
3577
|
+
state?: string | null;
|
|
3578
|
+
}
|
|
3415
3579
|
/**
|
|
3416
3580
|
* Kernel mode rootkit signatures.
|
|
3417
3581
|
*/
|
|
@@ -3605,6 +3769,15 @@ export namespace securitycenter_v1beta2 {
|
|
|
3605
3769
|
*/
|
|
3606
3770
|
staticMute?: Schema$GoogleCloudSecuritycenterV2StaticMute;
|
|
3607
3771
|
}
|
|
3772
|
+
/**
|
|
3773
|
+
* Contains information about a VPC network associated with the finding.
|
|
3774
|
+
*/
|
|
3775
|
+
export interface Schema$GoogleCloudSecuritycenterV2Network {
|
|
3776
|
+
/**
|
|
3777
|
+
* The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.
|
|
3778
|
+
*/
|
|
3779
|
+
name?: string | null;
|
|
3780
|
+
}
|
|
3608
3781
|
/**
|
|
3609
3782
|
* Kubernetes nodes associated with the finding.
|
|
3610
3783
|
*/
|
|
@@ -3695,7 +3868,7 @@ export namespace securitycenter_v1beta2 {
|
|
|
3695
3868
|
*/
|
|
3696
3869
|
export interface Schema$GoogleCloudSecuritycenterV2OrgPolicy {
|
|
3697
3870
|
/**
|
|
3698
|
-
* The resource name of the org policy. Example: "organizations/{organization_id\}/policies/{constraint_name\}"
|
|
3871
|
+
* Identifier. The resource name of the org policy. Example: "organizations/{organization_id\}/policies/{constraint_name\}"
|
|
3699
3872
|
*/
|
|
3700
3873
|
name?: string | null;
|
|
3701
3874
|
}
|
|
@@ -3758,6 +3931,19 @@ export namespace securitycenter_v1beta2 {
|
|
|
3758
3931
|
*/
|
|
3759
3932
|
field?: string | null;
|
|
3760
3933
|
}
|
|
3934
|
+
/**
|
|
3935
|
+
* 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.
|
|
3936
|
+
*/
|
|
3937
|
+
export interface Schema$GoogleCloudSecuritycenterV2PortRange {
|
|
3938
|
+
/**
|
|
3939
|
+
* Maximum port value.
|
|
3940
|
+
*/
|
|
3941
|
+
max?: string | null;
|
|
3942
|
+
/**
|
|
3943
|
+
* Minimum port value.
|
|
3944
|
+
*/
|
|
3945
|
+
min?: string | null;
|
|
3946
|
+
}
|
|
3761
3947
|
/**
|
|
3762
3948
|
* Represents an operating system process.
|
|
3763
3949
|
*/
|
|
@@ -4189,6 +4375,10 @@ export namespace securitycenter_v1beta2 {
|
|
|
4189
4375
|
* CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
|
|
4190
4376
|
*/
|
|
4191
4377
|
cve?: Schema$GoogleCloudSecuritycenterV2Cve;
|
|
4378
|
+
/**
|
|
4379
|
+
* Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
|
|
4380
|
+
*/
|
|
4381
|
+
cwes?: Schema$GoogleCloudSecuritycenterV2Cwe[];
|
|
4192
4382
|
/**
|
|
4193
4383
|
* The fixed package is relevant to the finding.
|
|
4194
4384
|
*/
|
|
@@ -4197,6 +4387,14 @@ export namespace securitycenter_v1beta2 {
|
|
|
4197
4387
|
* The offending package is relevant to the finding.
|
|
4198
4388
|
*/
|
|
4199
4389
|
offendingPackage?: Schema$GoogleCloudSecuritycenterV2Package;
|
|
4390
|
+
/**
|
|
4391
|
+
* Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
|
|
4392
|
+
*/
|
|
4393
|
+
providerRiskScore?: string | null;
|
|
4394
|
+
/**
|
|
4395
|
+
* Represents whether the vulnerability is reachable (detected via static analysis)
|
|
4396
|
+
*/
|
|
4397
|
+
reachable?: boolean | null;
|
|
4200
4398
|
/**
|
|
4201
4399
|
* The security bulletin is relevant to this finding.
|
|
4202
4400
|
*/
|
|
@@ -4262,6 +4460,69 @@ export namespace securitycenter_v1beta2 {
|
|
|
4262
4460
|
*/
|
|
4263
4461
|
uris?: string[] | null;
|
|
4264
4462
|
}
|
|
4463
|
+
/**
|
|
4464
|
+
* IP rule information.
|
|
4465
|
+
*/
|
|
4466
|
+
export interface Schema$IpRule {
|
|
4467
|
+
/**
|
|
4468
|
+
* 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.
|
|
4469
|
+
*/
|
|
4470
|
+
portRanges?: Schema$PortRange[];
|
|
4471
|
+
/**
|
|
4472
|
+
* 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.
|
|
4473
|
+
*/
|
|
4474
|
+
protocol?: string | null;
|
|
4475
|
+
}
|
|
4476
|
+
/**
|
|
4477
|
+
* IP rules associated with the finding.
|
|
4478
|
+
*/
|
|
4479
|
+
export interface Schema$IpRules {
|
|
4480
|
+
/**
|
|
4481
|
+
* Tuple with allowed rules.
|
|
4482
|
+
*/
|
|
4483
|
+
allowed?: Schema$Allowed;
|
|
4484
|
+
/**
|
|
4485
|
+
* Tuple with denied rules.
|
|
4486
|
+
*/
|
|
4487
|
+
denied?: Schema$Denied;
|
|
4488
|
+
/**
|
|
4489
|
+
* 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.
|
|
4490
|
+
*/
|
|
4491
|
+
destinationIpRanges?: string[] | null;
|
|
4492
|
+
/**
|
|
4493
|
+
* The direction that the rule is applicable to, one of ingress or egress.
|
|
4494
|
+
*/
|
|
4495
|
+
direction?: string | null;
|
|
4496
|
+
/**
|
|
4497
|
+
* 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.
|
|
4498
|
+
*/
|
|
4499
|
+
exposedServices?: string[] | null;
|
|
4500
|
+
/**
|
|
4501
|
+
* 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.
|
|
4502
|
+
*/
|
|
4503
|
+
sourceIpRanges?: string[] | null;
|
|
4504
|
+
}
|
|
4505
|
+
/**
|
|
4506
|
+
* Describes a job
|
|
4507
|
+
*/
|
|
4508
|
+
export interface Schema$Job {
|
|
4509
|
+
/**
|
|
4510
|
+
* Optional. If the job did not complete successfully, this field describes why.
|
|
4511
|
+
*/
|
|
4512
|
+
errorCode?: number | null;
|
|
4513
|
+
/**
|
|
4514
|
+
* Optional. Gives the location where the job ran, such as `US` or `europe-west1`
|
|
4515
|
+
*/
|
|
4516
|
+
location?: string | null;
|
|
4517
|
+
/**
|
|
4518
|
+
* The fully-qualified name for a job. e.g. `projects//jobs/`
|
|
4519
|
+
*/
|
|
4520
|
+
name?: string | null;
|
|
4521
|
+
/**
|
|
4522
|
+
* Output only. State of the job, such as `RUNNING` or `PENDING`.
|
|
4523
|
+
*/
|
|
4524
|
+
state?: string | null;
|
|
4525
|
+
}
|
|
4265
4526
|
/**
|
|
4266
4527
|
* Kernel mode rootkit signatures.
|
|
4267
4528
|
*/
|
|
@@ -4418,6 +4679,15 @@ export namespace securitycenter_v1beta2 {
|
|
|
4418
4679
|
*/
|
|
4419
4680
|
staticMute?: Schema$StaticMute;
|
|
4420
4681
|
}
|
|
4682
|
+
/**
|
|
4683
|
+
* Contains information about a VPC network associated with the finding.
|
|
4684
|
+
*/
|
|
4685
|
+
export interface Schema$Network {
|
|
4686
|
+
/**
|
|
4687
|
+
* The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.
|
|
4688
|
+
*/
|
|
4689
|
+
name?: string | null;
|
|
4690
|
+
}
|
|
4421
4691
|
/**
|
|
4422
4692
|
* Kubernetes nodes associated with the finding.
|
|
4423
4693
|
*/
|
|
@@ -4554,6 +4824,19 @@ export namespace securitycenter_v1beta2 {
|
|
|
4554
4824
|
*/
|
|
4555
4825
|
field?: string | null;
|
|
4556
4826
|
}
|
|
4827
|
+
/**
|
|
4828
|
+
* 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.
|
|
4829
|
+
*/
|
|
4830
|
+
export interface Schema$PortRange {
|
|
4831
|
+
/**
|
|
4832
|
+
* Maximum port value.
|
|
4833
|
+
*/
|
|
4834
|
+
max?: string | null;
|
|
4835
|
+
/**
|
|
4836
|
+
* Minimum port value.
|
|
4837
|
+
*/
|
|
4838
|
+
min?: string | null;
|
|
4839
|
+
}
|
|
4557
4840
|
/**
|
|
4558
4841
|
* Represents an operating system process.
|
|
4559
4842
|
*/
|
|
@@ -4732,7 +5015,7 @@ export namespace securitycenter_v1beta2 {
|
|
|
4732
5015
|
suggestedUpgradeVersion?: string | null;
|
|
4733
5016
|
}
|
|
4734
5017
|
/**
|
|
4735
|
-
* Resource capturing the settings for Security Center.
|
|
5018
|
+
* Resource capturing the settings for Security Center.
|
|
4736
5019
|
*/
|
|
4737
5020
|
export interface Schema$SecurityCenterSettings {
|
|
4738
5021
|
/**
|
|
@@ -4983,6 +5266,10 @@ export namespace securitycenter_v1beta2 {
|
|
|
4983
5266
|
* CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
|
|
4984
5267
|
*/
|
|
4985
5268
|
cve?: Schema$Cve;
|
|
5269
|
+
/**
|
|
5270
|
+
* Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
|
|
5271
|
+
*/
|
|
5272
|
+
cwes?: Schema$Cwe[];
|
|
4986
5273
|
/**
|
|
4987
5274
|
* The fixed package is relevant to the finding.
|
|
4988
5275
|
*/
|
|
@@ -4991,6 +5278,14 @@ export namespace securitycenter_v1beta2 {
|
|
|
4991
5278
|
* The offending package is relevant to the finding.
|
|
4992
5279
|
*/
|
|
4993
5280
|
offendingPackage?: Schema$Package;
|
|
5281
|
+
/**
|
|
5282
|
+
* Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
|
|
5283
|
+
*/
|
|
5284
|
+
providerRiskScore?: string | null;
|
|
5285
|
+
/**
|
|
5286
|
+
* Represents whether the vulnerability is reachable (detected via static analysis)
|
|
5287
|
+
*/
|
|
5288
|
+
reachable?: boolean | null;
|
|
4994
5289
|
/**
|
|
4995
5290
|
* The security bulletin is relevant to this finding.
|
|
4996
5291
|
*/
|