@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/build/v1beta2.d.ts
CHANGED
|
@@ -164,6 +164,24 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
164
164
|
*/
|
|
165
165
|
confidence?: number | null;
|
|
166
166
|
}
|
|
167
|
+
/**
|
|
168
|
+
* Details about resources affected by this finding.
|
|
169
|
+
*/
|
|
170
|
+
export interface Schema$AffectedResources {
|
|
171
|
+
/**
|
|
172
|
+
* The count of resources affected by the finding.
|
|
173
|
+
*/
|
|
174
|
+
count?: string | null;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Allowed IP rule.
|
|
178
|
+
*/
|
|
179
|
+
export interface Schema$Allowed {
|
|
180
|
+
/**
|
|
181
|
+
* Optional. Optional list of allowed IP rules.
|
|
182
|
+
*/
|
|
183
|
+
ipRules?: Schema$IpRule[];
|
|
184
|
+
}
|
|
167
185
|
/**
|
|
168
186
|
* Represents an application associated with a finding.
|
|
169
187
|
*/
|
|
@@ -405,6 +423,15 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
405
423
|
*/
|
|
406
424
|
storagePool?: string | null;
|
|
407
425
|
}
|
|
426
|
+
/**
|
|
427
|
+
* 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).
|
|
428
|
+
*/
|
|
429
|
+
export interface Schema$Chokepoint {
|
|
430
|
+
/**
|
|
431
|
+
* 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.
|
|
432
|
+
*/
|
|
433
|
+
relatedFindings?: string[] | null;
|
|
434
|
+
}
|
|
408
435
|
/**
|
|
409
436
|
* Fields related to Google Cloud Armor findings.
|
|
410
437
|
*/
|
|
@@ -506,43 +533,6 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
506
533
|
*/
|
|
507
534
|
version?: string | null;
|
|
508
535
|
}
|
|
509
|
-
/**
|
|
510
|
-
* Result containing the properties and count of a ComplianceSnapshot request.
|
|
511
|
-
*/
|
|
512
|
-
export interface Schema$ComplianceSnapshot {
|
|
513
|
-
/**
|
|
514
|
-
* The category of Findings matching.
|
|
515
|
-
*/
|
|
516
|
-
category?: string | null;
|
|
517
|
-
/**
|
|
518
|
-
* The cloud provider for the compliance snapshot.
|
|
519
|
-
*/
|
|
520
|
-
cloudProvider?: string | null;
|
|
521
|
-
/**
|
|
522
|
-
* The compliance standard (ie CIS).
|
|
523
|
-
*/
|
|
524
|
-
complianceStandard?: string | null;
|
|
525
|
-
/**
|
|
526
|
-
* The compliance version (ie 1.3) in CIS 1.3.
|
|
527
|
-
*/
|
|
528
|
-
complianceVersion?: string | null;
|
|
529
|
-
/**
|
|
530
|
-
* Total count of findings for the given properties.
|
|
531
|
-
*/
|
|
532
|
-
count?: string | null;
|
|
533
|
-
/**
|
|
534
|
-
* The leaf container resource name that is closest to the snapshot.
|
|
535
|
-
*/
|
|
536
|
-
leafContainerResource?: string | null;
|
|
537
|
-
/**
|
|
538
|
-
* The compliance snapshot name. Format: //sources//complianceSnapshots/
|
|
539
|
-
*/
|
|
540
|
-
name?: string | null;
|
|
541
|
-
/**
|
|
542
|
-
* The snapshot time of the snapshot.
|
|
543
|
-
*/
|
|
544
|
-
snapshotTime?: string | null;
|
|
545
|
-
}
|
|
546
536
|
/**
|
|
547
537
|
* Configuration of a module.
|
|
548
538
|
*/
|
|
@@ -739,6 +729,19 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
739
729
|
*/
|
|
740
730
|
userInteraction?: string | null;
|
|
741
731
|
}
|
|
732
|
+
/**
|
|
733
|
+
* CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).
|
|
734
|
+
*/
|
|
735
|
+
export interface Schema$Cwe {
|
|
736
|
+
/**
|
|
737
|
+
* The CWE identifier, e.g. CWE-94
|
|
738
|
+
*/
|
|
739
|
+
id?: string | null;
|
|
740
|
+
/**
|
|
741
|
+
* Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
|
|
742
|
+
*/
|
|
743
|
+
references?: Schema$Reference[];
|
|
744
|
+
}
|
|
742
745
|
/**
|
|
743
746
|
* Details about a data access attempt made by a principal not authorized under applicable data security policy.
|
|
744
747
|
*/
|
|
@@ -831,10 +834,19 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
831
834
|
*/
|
|
832
835
|
eventType?: string | null;
|
|
833
836
|
/**
|
|
834
|
-
* 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
|
|
837
|
+
* 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.
|
|
835
838
|
*/
|
|
836
839
|
maxRetentionAllowed?: string | null;
|
|
837
840
|
}
|
|
841
|
+
/**
|
|
842
|
+
* Denied IP rule.
|
|
843
|
+
*/
|
|
844
|
+
export interface Schema$Denied {
|
|
845
|
+
/**
|
|
846
|
+
* Optional. Optional list of denied IP rules.
|
|
847
|
+
*/
|
|
848
|
+
ipRules?: Schema$IpRule[];
|
|
849
|
+
}
|
|
838
850
|
/**
|
|
839
851
|
* Details of a subscription.
|
|
840
852
|
*/
|
|
@@ -870,7 +882,7 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
870
882
|
*/
|
|
871
883
|
export interface Schema$Disk {
|
|
872
884
|
/**
|
|
873
|
-
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-id/zones/zone-id/disks/disk-id".
|
|
885
|
+
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id\}/zones/{zone-id\}/disks/{disk-id\}".
|
|
874
886
|
*/
|
|
875
887
|
name?: string | null;
|
|
876
888
|
}
|
|
@@ -1028,6 +1040,10 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
1028
1040
|
* Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
|
|
1029
1041
|
*/
|
|
1030
1042
|
access?: Schema$Access;
|
|
1043
|
+
/**
|
|
1044
|
+
* AffectedResources associated with the finding.
|
|
1045
|
+
*/
|
|
1046
|
+
affectedResources?: Schema$AffectedResources;
|
|
1031
1047
|
/**
|
|
1032
1048
|
* Represents an application associated with the finding.
|
|
1033
1049
|
*/
|
|
@@ -1048,6 +1064,10 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
1048
1064
|
* The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
|
|
1049
1065
|
*/
|
|
1050
1066
|
category?: string | null;
|
|
1067
|
+
/**
|
|
1068
|
+
* 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.
|
|
1069
|
+
*/
|
|
1070
|
+
chokepoint?: Schema$Chokepoint;
|
|
1051
1071
|
/**
|
|
1052
1072
|
* Fields related to Cloud Armor findings.
|
|
1053
1073
|
*/
|
|
@@ -1144,6 +1164,14 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
1144
1164
|
* 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).
|
|
1145
1165
|
*/
|
|
1146
1166
|
indicator?: Schema$Indicator;
|
|
1167
|
+
/**
|
|
1168
|
+
* IP rules associated with the finding.
|
|
1169
|
+
*/
|
|
1170
|
+
ipRules?: Schema$IpRules;
|
|
1171
|
+
/**
|
|
1172
|
+
* Job associated with the finding.
|
|
1173
|
+
*/
|
|
1174
|
+
job?: Schema$Job;
|
|
1147
1175
|
/**
|
|
1148
1176
|
* Signature of the kernel rootkit.
|
|
1149
1177
|
*/
|
|
@@ -1188,6 +1216,10 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
1188
1216
|
* 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\}".
|
|
1189
1217
|
*/
|
|
1190
1218
|
name?: string | null;
|
|
1219
|
+
/**
|
|
1220
|
+
* Represents the VPC networks that the resource is attached to.
|
|
1221
|
+
*/
|
|
1222
|
+
networks?: Schema$Network[];
|
|
1191
1223
|
/**
|
|
1192
1224
|
* Steps to address the finding.
|
|
1193
1225
|
*/
|
|
@@ -1986,6 +2018,24 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
1986
2018
|
*/
|
|
1987
2019
|
confidence?: number | null;
|
|
1988
2020
|
}
|
|
2021
|
+
/**
|
|
2022
|
+
* Details about resources affected by this finding.
|
|
2023
|
+
*/
|
|
2024
|
+
export interface Schema$GoogleCloudSecuritycenterV2AffectedResources {
|
|
2025
|
+
/**
|
|
2026
|
+
* The count of resources affected by the finding.
|
|
2027
|
+
*/
|
|
2028
|
+
count?: string | null;
|
|
2029
|
+
}
|
|
2030
|
+
/**
|
|
2031
|
+
* Allowed IP rule.
|
|
2032
|
+
*/
|
|
2033
|
+
export interface Schema$GoogleCloudSecuritycenterV2Allowed {
|
|
2034
|
+
/**
|
|
2035
|
+
* Optional. Optional list of allowed IP rules.
|
|
2036
|
+
*/
|
|
2037
|
+
ipRules?: Schema$GoogleCloudSecuritycenterV2IpRule[];
|
|
2038
|
+
}
|
|
1989
2039
|
/**
|
|
1990
2040
|
* Represents an application associated with a finding.
|
|
1991
2041
|
*/
|
|
@@ -2290,6 +2340,15 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
2290
2340
|
*/
|
|
2291
2341
|
export interface Schema$GoogleCloudSecuritycenterV2BulkMuteFindingsResponse {
|
|
2292
2342
|
}
|
|
2343
|
+
/**
|
|
2344
|
+
* 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).
|
|
2345
|
+
*/
|
|
2346
|
+
export interface Schema$GoogleCloudSecuritycenterV2Chokepoint {
|
|
2347
|
+
/**
|
|
2348
|
+
* 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.
|
|
2349
|
+
*/
|
|
2350
|
+
relatedFindings?: string[] | null;
|
|
2351
|
+
}
|
|
2293
2352
|
/**
|
|
2294
2353
|
* Fields related to Google Cloud Armor findings.
|
|
2295
2354
|
*/
|
|
@@ -2545,6 +2604,19 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
2545
2604
|
*/
|
|
2546
2605
|
userInteraction?: string | null;
|
|
2547
2606
|
}
|
|
2607
|
+
/**
|
|
2608
|
+
* CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).
|
|
2609
|
+
*/
|
|
2610
|
+
export interface Schema$GoogleCloudSecuritycenterV2Cwe {
|
|
2611
|
+
/**
|
|
2612
|
+
* The CWE identifier, e.g. CWE-94
|
|
2613
|
+
*/
|
|
2614
|
+
id?: string | null;
|
|
2615
|
+
/**
|
|
2616
|
+
* Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
|
|
2617
|
+
*/
|
|
2618
|
+
references?: Schema$GoogleCloudSecuritycenterV2Reference[];
|
|
2619
|
+
}
|
|
2548
2620
|
/**
|
|
2549
2621
|
* Details about a data access attempt made by a principal not authorized under applicable data security policy.
|
|
2550
2622
|
*/
|
|
@@ -2637,10 +2709,19 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
2637
2709
|
*/
|
|
2638
2710
|
eventType?: string | null;
|
|
2639
2711
|
/**
|
|
2640
|
-
* 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
|
|
2712
|
+
* 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.
|
|
2641
2713
|
*/
|
|
2642
2714
|
maxRetentionAllowed?: string | null;
|
|
2643
2715
|
}
|
|
2716
|
+
/**
|
|
2717
|
+
* Denied IP rule.
|
|
2718
|
+
*/
|
|
2719
|
+
export interface Schema$GoogleCloudSecuritycenterV2Denied {
|
|
2720
|
+
/**
|
|
2721
|
+
* Optional. Optional list of denied IP rules.
|
|
2722
|
+
*/
|
|
2723
|
+
ipRules?: Schema$GoogleCloudSecuritycenterV2IpRule[];
|
|
2724
|
+
}
|
|
2644
2725
|
/**
|
|
2645
2726
|
* Memory hash detection contributing to the binary family match.
|
|
2646
2727
|
*/
|
|
@@ -2659,7 +2740,7 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
2659
2740
|
*/
|
|
2660
2741
|
export interface Schema$GoogleCloudSecuritycenterV2Disk {
|
|
2661
2742
|
/**
|
|
2662
|
-
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-id/zones/zone-id/disks/disk-id".
|
|
2743
|
+
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id\}/zones/{zone-id\}/disks/{disk-id\}".
|
|
2663
2744
|
*/
|
|
2664
2745
|
name?: string | null;
|
|
2665
2746
|
}
|
|
@@ -2822,6 +2903,10 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
2822
2903
|
* Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
|
|
2823
2904
|
*/
|
|
2824
2905
|
access?: Schema$GoogleCloudSecuritycenterV2Access;
|
|
2906
|
+
/**
|
|
2907
|
+
* AffectedResources associated with the finding.
|
|
2908
|
+
*/
|
|
2909
|
+
affectedResources?: Schema$GoogleCloudSecuritycenterV2AffectedResources;
|
|
2825
2910
|
/**
|
|
2826
2911
|
* Represents an application associated with the finding.
|
|
2827
2912
|
*/
|
|
@@ -2842,6 +2927,10 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
2842
2927
|
* Immutable. The additional taxonomy group within findings from a given source. Example: "XSS_FLASH_INJECTION"
|
|
2843
2928
|
*/
|
|
2844
2929
|
category?: string | null;
|
|
2930
|
+
/**
|
|
2931
|
+
* 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.
|
|
2932
|
+
*/
|
|
2933
|
+
chokepoint?: Schema$GoogleCloudSecuritycenterV2Chokepoint;
|
|
2845
2934
|
/**
|
|
2846
2935
|
* Fields related to Cloud Armor findings.
|
|
2847
2936
|
*/
|
|
@@ -2938,6 +3027,14 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
2938
3027
|
* 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).
|
|
2939
3028
|
*/
|
|
2940
3029
|
indicator?: Schema$GoogleCloudSecuritycenterV2Indicator;
|
|
3030
|
+
/**
|
|
3031
|
+
* IP rules associated with the finding.
|
|
3032
|
+
*/
|
|
3033
|
+
ipRules?: Schema$GoogleCloudSecuritycenterV2IpRules;
|
|
3034
|
+
/**
|
|
3035
|
+
* Job associated with the finding.
|
|
3036
|
+
*/
|
|
3037
|
+
job?: Schema$GoogleCloudSecuritycenterV2Job;
|
|
2941
3038
|
/**
|
|
2942
3039
|
* Signature of the kernel rootkit.
|
|
2943
3040
|
*/
|
|
@@ -2982,6 +3079,10 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
2982
3079
|
* 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\}`
|
|
2983
3080
|
*/
|
|
2984
3081
|
name?: string | null;
|
|
3082
|
+
/**
|
|
3083
|
+
* Represents the VPC networks that the resource is attached to.
|
|
3084
|
+
*/
|
|
3085
|
+
networks?: Schema$GoogleCloudSecuritycenterV2Network[];
|
|
2985
3086
|
/**
|
|
2986
3087
|
* Steps to address the finding.
|
|
2987
3088
|
*/
|
|
@@ -3114,6 +3215,48 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
3114
3215
|
*/
|
|
3115
3216
|
uris?: string[] | null;
|
|
3116
3217
|
}
|
|
3218
|
+
/**
|
|
3219
|
+
* IP rule information.
|
|
3220
|
+
*/
|
|
3221
|
+
export interface Schema$GoogleCloudSecuritycenterV2IpRule {
|
|
3222
|
+
/**
|
|
3223
|
+
* 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.
|
|
3224
|
+
*/
|
|
3225
|
+
portRanges?: Schema$GoogleCloudSecuritycenterV2PortRange[];
|
|
3226
|
+
/**
|
|
3227
|
+
* 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.
|
|
3228
|
+
*/
|
|
3229
|
+
protocol?: string | null;
|
|
3230
|
+
}
|
|
3231
|
+
/**
|
|
3232
|
+
* IP rules associated with the finding.
|
|
3233
|
+
*/
|
|
3234
|
+
export interface Schema$GoogleCloudSecuritycenterV2IpRules {
|
|
3235
|
+
/**
|
|
3236
|
+
* Tuple with allowed rules.
|
|
3237
|
+
*/
|
|
3238
|
+
allowed?: Schema$GoogleCloudSecuritycenterV2Allowed;
|
|
3239
|
+
/**
|
|
3240
|
+
* Tuple with denied rules.
|
|
3241
|
+
*/
|
|
3242
|
+
denied?: Schema$GoogleCloudSecuritycenterV2Denied;
|
|
3243
|
+
/**
|
|
3244
|
+
* 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.
|
|
3245
|
+
*/
|
|
3246
|
+
destinationIpRanges?: string[] | null;
|
|
3247
|
+
/**
|
|
3248
|
+
* The direction that the rule is applicable to, one of ingress or egress.
|
|
3249
|
+
*/
|
|
3250
|
+
direction?: string | null;
|
|
3251
|
+
/**
|
|
3252
|
+
* 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.
|
|
3253
|
+
*/
|
|
3254
|
+
exposedServices?: string[] | null;
|
|
3255
|
+
/**
|
|
3256
|
+
* 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.
|
|
3257
|
+
*/
|
|
3258
|
+
sourceIpRanges?: string[] | null;
|
|
3259
|
+
}
|
|
3117
3260
|
/**
|
|
3118
3261
|
* Security Command Center Issue.
|
|
3119
3262
|
*/
|
|
@@ -3377,6 +3520,27 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
3377
3520
|
*/
|
|
3378
3521
|
values?: string[] | null;
|
|
3379
3522
|
}
|
|
3523
|
+
/**
|
|
3524
|
+
* Describes a job
|
|
3525
|
+
*/
|
|
3526
|
+
export interface Schema$GoogleCloudSecuritycenterV2Job {
|
|
3527
|
+
/**
|
|
3528
|
+
* Optional. If the job did not complete successfully, this field describes why.
|
|
3529
|
+
*/
|
|
3530
|
+
errorCode?: number | null;
|
|
3531
|
+
/**
|
|
3532
|
+
* Optional. Gives the location where the job ran, such as `US` or `europe-west1`
|
|
3533
|
+
*/
|
|
3534
|
+
location?: string | null;
|
|
3535
|
+
/**
|
|
3536
|
+
* The fully-qualified name for a job. e.g. `projects//jobs/`
|
|
3537
|
+
*/
|
|
3538
|
+
name?: string | null;
|
|
3539
|
+
/**
|
|
3540
|
+
* Output only. State of the job, such as `RUNNING` or `PENDING`.
|
|
3541
|
+
*/
|
|
3542
|
+
state?: string | null;
|
|
3543
|
+
}
|
|
3380
3544
|
/**
|
|
3381
3545
|
* Kernel mode rootkit signatures.
|
|
3382
3546
|
*/
|
|
@@ -3570,6 +3734,15 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
3570
3734
|
*/
|
|
3571
3735
|
staticMute?: Schema$GoogleCloudSecuritycenterV2StaticMute;
|
|
3572
3736
|
}
|
|
3737
|
+
/**
|
|
3738
|
+
* Contains information about a VPC network associated with the finding.
|
|
3739
|
+
*/
|
|
3740
|
+
export interface Schema$GoogleCloudSecuritycenterV2Network {
|
|
3741
|
+
/**
|
|
3742
|
+
* The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.
|
|
3743
|
+
*/
|
|
3744
|
+
name?: string | null;
|
|
3745
|
+
}
|
|
3573
3746
|
/**
|
|
3574
3747
|
* Kubernetes nodes associated with the finding.
|
|
3575
3748
|
*/
|
|
@@ -3660,7 +3833,7 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
3660
3833
|
*/
|
|
3661
3834
|
export interface Schema$GoogleCloudSecuritycenterV2OrgPolicy {
|
|
3662
3835
|
/**
|
|
3663
|
-
* The resource name of the org policy. Example: "organizations/{organization_id\}/policies/{constraint_name\}"
|
|
3836
|
+
* Identifier. The resource name of the org policy. Example: "organizations/{organization_id\}/policies/{constraint_name\}"
|
|
3664
3837
|
*/
|
|
3665
3838
|
name?: string | null;
|
|
3666
3839
|
}
|
|
@@ -3723,6 +3896,19 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
3723
3896
|
*/
|
|
3724
3897
|
field?: string | null;
|
|
3725
3898
|
}
|
|
3899
|
+
/**
|
|
3900
|
+
* 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.
|
|
3901
|
+
*/
|
|
3902
|
+
export interface Schema$GoogleCloudSecuritycenterV2PortRange {
|
|
3903
|
+
/**
|
|
3904
|
+
* Maximum port value.
|
|
3905
|
+
*/
|
|
3906
|
+
max?: string | null;
|
|
3907
|
+
/**
|
|
3908
|
+
* Minimum port value.
|
|
3909
|
+
*/
|
|
3910
|
+
min?: string | null;
|
|
3911
|
+
}
|
|
3726
3912
|
/**
|
|
3727
3913
|
* Represents an operating system process.
|
|
3728
3914
|
*/
|
|
@@ -4158,6 +4344,10 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
4158
4344
|
* CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
|
|
4159
4345
|
*/
|
|
4160
4346
|
cve?: Schema$GoogleCloudSecuritycenterV2Cve;
|
|
4347
|
+
/**
|
|
4348
|
+
* Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
|
|
4349
|
+
*/
|
|
4350
|
+
cwes?: Schema$GoogleCloudSecuritycenterV2Cwe[];
|
|
4161
4351
|
/**
|
|
4162
4352
|
* The fixed package is relevant to the finding.
|
|
4163
4353
|
*/
|
|
@@ -4166,6 +4356,14 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
4166
4356
|
* The offending package is relevant to the finding.
|
|
4167
4357
|
*/
|
|
4168
4358
|
offendingPackage?: Schema$GoogleCloudSecuritycenterV2Package;
|
|
4359
|
+
/**
|
|
4360
|
+
* Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
|
|
4361
|
+
*/
|
|
4362
|
+
providerRiskScore?: string | null;
|
|
4363
|
+
/**
|
|
4364
|
+
* Represents whether the vulnerability is reachable (detected via static analysis)
|
|
4365
|
+
*/
|
|
4366
|
+
reachable?: boolean | null;
|
|
4169
4367
|
/**
|
|
4170
4368
|
* The security bulletin is relevant to this finding.
|
|
4171
4369
|
*/
|
|
@@ -4231,6 +4429,69 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
4231
4429
|
*/
|
|
4232
4430
|
uris?: string[] | null;
|
|
4233
4431
|
}
|
|
4432
|
+
/**
|
|
4433
|
+
* IP rule information.
|
|
4434
|
+
*/
|
|
4435
|
+
export interface Schema$IpRule {
|
|
4436
|
+
/**
|
|
4437
|
+
* 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.
|
|
4438
|
+
*/
|
|
4439
|
+
portRanges?: Schema$PortRange[];
|
|
4440
|
+
/**
|
|
4441
|
+
* 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.
|
|
4442
|
+
*/
|
|
4443
|
+
protocol?: string | null;
|
|
4444
|
+
}
|
|
4445
|
+
/**
|
|
4446
|
+
* IP rules associated with the finding.
|
|
4447
|
+
*/
|
|
4448
|
+
export interface Schema$IpRules {
|
|
4449
|
+
/**
|
|
4450
|
+
* Tuple with allowed rules.
|
|
4451
|
+
*/
|
|
4452
|
+
allowed?: Schema$Allowed;
|
|
4453
|
+
/**
|
|
4454
|
+
* Tuple with denied rules.
|
|
4455
|
+
*/
|
|
4456
|
+
denied?: Schema$Denied;
|
|
4457
|
+
/**
|
|
4458
|
+
* 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.
|
|
4459
|
+
*/
|
|
4460
|
+
destinationIpRanges?: string[] | null;
|
|
4461
|
+
/**
|
|
4462
|
+
* The direction that the rule is applicable to, one of ingress or egress.
|
|
4463
|
+
*/
|
|
4464
|
+
direction?: string | null;
|
|
4465
|
+
/**
|
|
4466
|
+
* 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.
|
|
4467
|
+
*/
|
|
4468
|
+
exposedServices?: string[] | null;
|
|
4469
|
+
/**
|
|
4470
|
+
* 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.
|
|
4471
|
+
*/
|
|
4472
|
+
sourceIpRanges?: string[] | null;
|
|
4473
|
+
}
|
|
4474
|
+
/**
|
|
4475
|
+
* Describes a job
|
|
4476
|
+
*/
|
|
4477
|
+
export interface Schema$Job {
|
|
4478
|
+
/**
|
|
4479
|
+
* Optional. If the job did not complete successfully, this field describes why.
|
|
4480
|
+
*/
|
|
4481
|
+
errorCode?: number | null;
|
|
4482
|
+
/**
|
|
4483
|
+
* Optional. Gives the location where the job ran, such as `US` or `europe-west1`
|
|
4484
|
+
*/
|
|
4485
|
+
location?: string | null;
|
|
4486
|
+
/**
|
|
4487
|
+
* The fully-qualified name for a job. e.g. `projects//jobs/`
|
|
4488
|
+
*/
|
|
4489
|
+
name?: string | null;
|
|
4490
|
+
/**
|
|
4491
|
+
* Output only. State of the job, such as `RUNNING` or `PENDING`.
|
|
4492
|
+
*/
|
|
4493
|
+
state?: string | null;
|
|
4494
|
+
}
|
|
4234
4495
|
/**
|
|
4235
4496
|
* Kernel mode rootkit signatures.
|
|
4236
4497
|
*/
|
|
@@ -4387,6 +4648,15 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
4387
4648
|
*/
|
|
4388
4649
|
staticMute?: Schema$StaticMute;
|
|
4389
4650
|
}
|
|
4651
|
+
/**
|
|
4652
|
+
* Contains information about a VPC network associated with the finding.
|
|
4653
|
+
*/
|
|
4654
|
+
export interface Schema$Network {
|
|
4655
|
+
/**
|
|
4656
|
+
* The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.
|
|
4657
|
+
*/
|
|
4658
|
+
name?: string | null;
|
|
4659
|
+
}
|
|
4390
4660
|
/**
|
|
4391
4661
|
* Kubernetes nodes associated with the finding.
|
|
4392
4662
|
*/
|
|
@@ -4523,6 +4793,19 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
4523
4793
|
*/
|
|
4524
4794
|
field?: string | null;
|
|
4525
4795
|
}
|
|
4796
|
+
/**
|
|
4797
|
+
* 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.
|
|
4798
|
+
*/
|
|
4799
|
+
export interface Schema$PortRange {
|
|
4800
|
+
/**
|
|
4801
|
+
* Maximum port value.
|
|
4802
|
+
*/
|
|
4803
|
+
max?: string | null;
|
|
4804
|
+
/**
|
|
4805
|
+
* Minimum port value.
|
|
4806
|
+
*/
|
|
4807
|
+
min?: string | null;
|
|
4808
|
+
}
|
|
4526
4809
|
/**
|
|
4527
4810
|
* Represents an operating system process.
|
|
4528
4811
|
*/
|
|
@@ -4703,7 +4986,7 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
4703
4986
|
suggestedUpgradeVersion?: string | null;
|
|
4704
4987
|
}
|
|
4705
4988
|
/**
|
|
4706
|
-
* Resource capturing the settings for Security Center.
|
|
4989
|
+
* Resource capturing the settings for Security Center.
|
|
4707
4990
|
*/
|
|
4708
4991
|
export interface Schema$SecurityCenterSettings {
|
|
4709
4992
|
/**
|
|
@@ -4960,6 +5243,10 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
4960
5243
|
* CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
|
|
4961
5244
|
*/
|
|
4962
5245
|
cve?: Schema$Cve;
|
|
5246
|
+
/**
|
|
5247
|
+
* Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
|
|
5248
|
+
*/
|
|
5249
|
+
cwes?: Schema$Cwe[];
|
|
4963
5250
|
/**
|
|
4964
5251
|
* The fixed package is relevant to the finding.
|
|
4965
5252
|
*/
|
|
@@ -4968,6 +5255,14 @@ export declare namespace securitycenter_v1beta2 {
|
|
|
4968
5255
|
* The offending package is relevant to the finding.
|
|
4969
5256
|
*/
|
|
4970
5257
|
offendingPackage?: Schema$Package;
|
|
5258
|
+
/**
|
|
5259
|
+
* Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
|
|
5260
|
+
*/
|
|
5261
|
+
providerRiskScore?: string | null;
|
|
5262
|
+
/**
|
|
5263
|
+
* Represents whether the vulnerability is reachable (detected via static analysis)
|
|
5264
|
+
*/
|
|
5265
|
+
reachable?: boolean | null;
|
|
4971
5266
|
/**
|
|
4972
5267
|
* The security bulletin is relevant to this finding.
|
|
4973
5268
|
*/
|