@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/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
|
*/
|
|
@@ -545,6 +563,15 @@ export namespace securitycenter_v1beta1 {
|
|
|
545
563
|
* The request message for Operations.CancelOperation.
|
|
546
564
|
*/
|
|
547
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
|
+
}
|
|
548
575
|
/**
|
|
549
576
|
* Fields related to Google Cloud Armor findings.
|
|
550
577
|
*/
|
|
@@ -646,43 +673,6 @@ export namespace securitycenter_v1beta1 {
|
|
|
646
673
|
*/
|
|
647
674
|
version?: string | null;
|
|
648
675
|
}
|
|
649
|
-
/**
|
|
650
|
-
* Result containing the properties and count of a ComplianceSnapshot request.
|
|
651
|
-
*/
|
|
652
|
-
export interface Schema$ComplianceSnapshot {
|
|
653
|
-
/**
|
|
654
|
-
* The category of Findings matching.
|
|
655
|
-
*/
|
|
656
|
-
category?: string | null;
|
|
657
|
-
/**
|
|
658
|
-
* The cloud provider for the compliance snapshot.
|
|
659
|
-
*/
|
|
660
|
-
cloudProvider?: string | null;
|
|
661
|
-
/**
|
|
662
|
-
* The compliance standard (ie CIS).
|
|
663
|
-
*/
|
|
664
|
-
complianceStandard?: string | null;
|
|
665
|
-
/**
|
|
666
|
-
* The compliance version (ie 1.3) in CIS 1.3.
|
|
667
|
-
*/
|
|
668
|
-
complianceVersion?: string | null;
|
|
669
|
-
/**
|
|
670
|
-
* Total count of findings for the given properties.
|
|
671
|
-
*/
|
|
672
|
-
count?: string | null;
|
|
673
|
-
/**
|
|
674
|
-
* The leaf container resource name that is closest to the snapshot.
|
|
675
|
-
*/
|
|
676
|
-
leafContainerResource?: string | null;
|
|
677
|
-
/**
|
|
678
|
-
* The compliance snapshot name. Format: //sources//complianceSnapshots/
|
|
679
|
-
*/
|
|
680
|
-
name?: string | null;
|
|
681
|
-
/**
|
|
682
|
-
* The snapshot time of the snapshot.
|
|
683
|
-
*/
|
|
684
|
-
snapshotTime?: string | null;
|
|
685
|
-
}
|
|
686
676
|
/**
|
|
687
677
|
* Contains information about the IP connection associated with the finding.
|
|
688
678
|
*/
|
|
@@ -837,6 +827,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
837
827
|
*/
|
|
838
828
|
userInteraction?: string | null;
|
|
839
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
|
+
}
|
|
840
843
|
/**
|
|
841
844
|
* Details about a data access attempt made by a principal not authorized under applicable data security policy.
|
|
842
845
|
*/
|
|
@@ -929,10 +932,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
929
932
|
*/
|
|
930
933
|
eventType?: string | null;
|
|
931
934
|
/**
|
|
932
|
-
* Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user
|
|
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.
|
|
933
936
|
*/
|
|
934
937
|
maxRetentionAllowed?: string | null;
|
|
935
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
|
+
}
|
|
936
948
|
/**
|
|
937
949
|
* Memory hash detection contributing to the binary family match.
|
|
938
950
|
*/
|
|
@@ -951,7 +963,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
951
963
|
*/
|
|
952
964
|
export interface Schema$Disk {
|
|
953
965
|
/**
|
|
954
|
-
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-id/zones/zone-id/disks/disk-id".
|
|
966
|
+
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id\}/zones/{zone-id\}/disks/{disk-id\}".
|
|
955
967
|
*/
|
|
956
968
|
name?: string | null;
|
|
957
969
|
}
|
|
@@ -1090,6 +1102,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
1090
1102
|
* Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
|
|
1091
1103
|
*/
|
|
1092
1104
|
access?: Schema$Access;
|
|
1105
|
+
/**
|
|
1106
|
+
* AffectedResources associated with the finding.
|
|
1107
|
+
*/
|
|
1108
|
+
affectedResources?: Schema$AffectedResources;
|
|
1093
1109
|
/**
|
|
1094
1110
|
* Represents an application associated with the finding.
|
|
1095
1111
|
*/
|
|
@@ -1110,6 +1126,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
1110
1126
|
* The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
|
|
1111
1127
|
*/
|
|
1112
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;
|
|
1113
1133
|
/**
|
|
1114
1134
|
* Fields related to Cloud Armor findings.
|
|
1115
1135
|
*/
|
|
@@ -1204,6 +1224,14 @@ export namespace securitycenter_v1beta1 {
|
|
|
1204
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).
|
|
1205
1225
|
*/
|
|
1206
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;
|
|
1207
1235
|
/**
|
|
1208
1236
|
* Signature of the kernel rootkit.
|
|
1209
1237
|
*/
|
|
@@ -1248,6 +1276,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
1248
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\}".
|
|
1249
1277
|
*/
|
|
1250
1278
|
name?: string | null;
|
|
1279
|
+
/**
|
|
1280
|
+
* Represents the VPC networks that the resource is attached to.
|
|
1281
|
+
*/
|
|
1282
|
+
networks?: Schema$Network[];
|
|
1251
1283
|
/**
|
|
1252
1284
|
* Steps to address the finding.
|
|
1253
1285
|
*/
|
|
@@ -2113,6 +2145,24 @@ export namespace securitycenter_v1beta1 {
|
|
|
2113
2145
|
*/
|
|
2114
2146
|
confidence?: number | null;
|
|
2115
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
|
+
}
|
|
2116
2166
|
/**
|
|
2117
2167
|
* Represents an application associated with a finding.
|
|
2118
2168
|
*/
|
|
@@ -2416,6 +2466,15 @@ export namespace securitycenter_v1beta1 {
|
|
|
2416
2466
|
* The response to a BulkMute request. Contains the LRO information.
|
|
2417
2467
|
*/
|
|
2418
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
|
+
}
|
|
2419
2478
|
/**
|
|
2420
2479
|
* Fields related to Google Cloud Armor findings.
|
|
2421
2480
|
*/
|
|
@@ -2671,6 +2730,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
2671
2730
|
*/
|
|
2672
2731
|
userInteraction?: string | null;
|
|
2673
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
|
+
}
|
|
2674
2746
|
/**
|
|
2675
2747
|
* Details about a data access attempt made by a principal not authorized under applicable data security policy.
|
|
2676
2748
|
*/
|
|
@@ -2763,10 +2835,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
2763
2835
|
*/
|
|
2764
2836
|
eventType?: string | null;
|
|
2765
2837
|
/**
|
|
2766
|
-
* Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user
|
|
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.
|
|
2767
2839
|
*/
|
|
2768
2840
|
maxRetentionAllowed?: string | null;
|
|
2769
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
|
+
}
|
|
2770
2851
|
/**
|
|
2771
2852
|
* Memory hash detection contributing to the binary family match.
|
|
2772
2853
|
*/
|
|
@@ -2785,7 +2866,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
2785
2866
|
*/
|
|
2786
2867
|
export interface Schema$GoogleCloudSecuritycenterV2Disk {
|
|
2787
2868
|
/**
|
|
2788
|
-
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-id/zones/zone-id/disks/disk-id".
|
|
2869
|
+
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id\}/zones/{zone-id\}/disks/{disk-id\}".
|
|
2789
2870
|
*/
|
|
2790
2871
|
name?: string | null;
|
|
2791
2872
|
}
|
|
@@ -2948,6 +3029,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
2948
3029
|
* Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
|
|
2949
3030
|
*/
|
|
2950
3031
|
access?: Schema$GoogleCloudSecuritycenterV2Access;
|
|
3032
|
+
/**
|
|
3033
|
+
* AffectedResources associated with the finding.
|
|
3034
|
+
*/
|
|
3035
|
+
affectedResources?: Schema$GoogleCloudSecuritycenterV2AffectedResources;
|
|
2951
3036
|
/**
|
|
2952
3037
|
* Represents an application associated with the finding.
|
|
2953
3038
|
*/
|
|
@@ -2968,6 +3053,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
2968
3053
|
* Immutable. The additional taxonomy group within findings from a given source. Example: "XSS_FLASH_INJECTION"
|
|
2969
3054
|
*/
|
|
2970
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;
|
|
2971
3060
|
/**
|
|
2972
3061
|
* Fields related to Cloud Armor findings.
|
|
2973
3062
|
*/
|
|
@@ -3064,6 +3153,14 @@ export namespace securitycenter_v1beta1 {
|
|
|
3064
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).
|
|
3065
3154
|
*/
|
|
3066
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;
|
|
3067
3164
|
/**
|
|
3068
3165
|
* Signature of the kernel rootkit.
|
|
3069
3166
|
*/
|
|
@@ -3108,6 +3205,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
3108
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\}`
|
|
3109
3206
|
*/
|
|
3110
3207
|
name?: string | null;
|
|
3208
|
+
/**
|
|
3209
|
+
* Represents the VPC networks that the resource is attached to.
|
|
3210
|
+
*/
|
|
3211
|
+
networks?: Schema$GoogleCloudSecuritycenterV2Network[];
|
|
3111
3212
|
/**
|
|
3112
3213
|
* Steps to address the finding.
|
|
3113
3214
|
*/
|
|
@@ -3238,6 +3339,48 @@ export namespace securitycenter_v1beta1 {
|
|
|
3238
3339
|
*/
|
|
3239
3340
|
uris?: string[] | null;
|
|
3240
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
|
+
}
|
|
3241
3384
|
/**
|
|
3242
3385
|
* Security Command Center Issue.
|
|
3243
3386
|
*/
|
|
@@ -3501,6 +3644,27 @@ export namespace securitycenter_v1beta1 {
|
|
|
3501
3644
|
*/
|
|
3502
3645
|
values?: string[] | null;
|
|
3503
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
|
+
}
|
|
3504
3668
|
/**
|
|
3505
3669
|
* Kernel mode rootkit signatures.
|
|
3506
3670
|
*/
|
|
@@ -3694,6 +3858,15 @@ export namespace securitycenter_v1beta1 {
|
|
|
3694
3858
|
*/
|
|
3695
3859
|
staticMute?: Schema$GoogleCloudSecuritycenterV2StaticMute;
|
|
3696
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
|
+
}
|
|
3697
3870
|
/**
|
|
3698
3871
|
* Kubernetes nodes associated with the finding.
|
|
3699
3872
|
*/
|
|
@@ -3784,7 +3957,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
3784
3957
|
*/
|
|
3785
3958
|
export interface Schema$GoogleCloudSecuritycenterV2OrgPolicy {
|
|
3786
3959
|
/**
|
|
3787
|
-
* 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\}"
|
|
3788
3961
|
*/
|
|
3789
3962
|
name?: string | null;
|
|
3790
3963
|
}
|
|
@@ -3847,6 +4020,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
3847
4020
|
*/
|
|
3848
4021
|
field?: string | null;
|
|
3849
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
|
+
}
|
|
3850
4036
|
/**
|
|
3851
4037
|
* Represents an operating system process.
|
|
3852
4038
|
*/
|
|
@@ -4278,6 +4464,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
4278
4464
|
* CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
|
|
4279
4465
|
*/
|
|
4280
4466
|
cve?: Schema$GoogleCloudSecuritycenterV2Cve;
|
|
4467
|
+
/**
|
|
4468
|
+
* Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
|
|
4469
|
+
*/
|
|
4470
|
+
cwes?: Schema$GoogleCloudSecuritycenterV2Cwe[];
|
|
4281
4471
|
/**
|
|
4282
4472
|
* The fixed package is relevant to the finding.
|
|
4283
4473
|
*/
|
|
@@ -4286,6 +4476,14 @@ export namespace securitycenter_v1beta1 {
|
|
|
4286
4476
|
* The offending package is relevant to the finding.
|
|
4287
4477
|
*/
|
|
4288
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;
|
|
4289
4487
|
/**
|
|
4290
4488
|
* The security bulletin is relevant to this finding.
|
|
4291
4489
|
*/
|
|
@@ -4452,6 +4650,69 @@ export namespace securitycenter_v1beta1 {
|
|
|
4452
4650
|
*/
|
|
4453
4651
|
uris?: string[] | null;
|
|
4454
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
|
+
}
|
|
4455
4716
|
/**
|
|
4456
4717
|
* Kernel mode rootkit signatures.
|
|
4457
4718
|
*/
|
|
@@ -4689,6 +4950,15 @@ export namespace securitycenter_v1beta1 {
|
|
|
4689
4950
|
*/
|
|
4690
4951
|
staticMute?: Schema$StaticMute;
|
|
4691
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
|
+
}
|
|
4692
4962
|
/**
|
|
4693
4963
|
* Kubernetes nodes associated with the finding.
|
|
4694
4964
|
*/
|
|
@@ -4888,6 +5158,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
4888
5158
|
*/
|
|
4889
5159
|
field?: string | null;
|
|
4890
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
|
+
}
|
|
4891
5174
|
/**
|
|
4892
5175
|
* Represents an operating system process.
|
|
4893
5176
|
*/
|
|
@@ -5315,6 +5598,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
5315
5598
|
* CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
|
|
5316
5599
|
*/
|
|
5317
5600
|
cve?: Schema$Cve;
|
|
5601
|
+
/**
|
|
5602
|
+
* Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
|
|
5603
|
+
*/
|
|
5604
|
+
cwes?: Schema$Cwe[];
|
|
5318
5605
|
/**
|
|
5319
5606
|
* The fixed package is relevant to the finding.
|
|
5320
5607
|
*/
|
|
@@ -5323,6 +5610,14 @@ export namespace securitycenter_v1beta1 {
|
|
|
5323
5610
|
* The offending package is relevant to the finding.
|
|
5324
5611
|
*/
|
|
5325
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;
|
|
5326
5621
|
/**
|
|
5327
5622
|
* The security bulletin is relevant to this finding.
|
|
5328
5623
|
*/
|