@googleapis/securitycenter 8.2.0 → 9.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 +22 -0
- package/build/v1.d.ts +458 -164
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +304 -18
- package/build/v1beta1.js.map +1 -1
- package/build/v1beta2.d.ts +330 -44
- package/build/v1beta2.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +458 -164
- package/v1beta1.ts +304 -18
- package/v1beta2.ts +330 -44
package/v1beta1.ts
CHANGED
|
@@ -292,7 +292,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
292
292
|
*/
|
|
293
293
|
export interface Schema$AttackExposure {
|
|
294
294
|
/**
|
|
295
|
-
* The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/simulations/456/attackExposureResults/789
|
|
295
|
+
* The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789`
|
|
296
296
|
*/
|
|
297
297
|
attackExposureResult?: string | null;
|
|
298
298
|
/**
|
|
@@ -398,6 +398,58 @@ export namespace securitycenter_v1beta1 {
|
|
|
398
398
|
*/
|
|
399
399
|
name?: string | null;
|
|
400
400
|
}
|
|
401
|
+
/**
|
|
402
|
+
* Represents an Azure management group.
|
|
403
|
+
*/
|
|
404
|
+
export interface Schema$AzureManagementGroup {
|
|
405
|
+
/**
|
|
406
|
+
* The display name of the Azure management group.
|
|
407
|
+
*/
|
|
408
|
+
displayName?: string | null;
|
|
409
|
+
/**
|
|
410
|
+
* The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`.
|
|
411
|
+
*/
|
|
412
|
+
id?: string | null;
|
|
413
|
+
}
|
|
414
|
+
/**
|
|
415
|
+
* Azure metadata associated with the resource, only applicable if the finding's cloud provider is Microsoft Azure.
|
|
416
|
+
*/
|
|
417
|
+
export interface Schema$AzureMetadata {
|
|
418
|
+
/**
|
|
419
|
+
* A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level.
|
|
420
|
+
*/
|
|
421
|
+
managementGroups?: Schema$AzureManagementGroup[];
|
|
422
|
+
/**
|
|
423
|
+
* The Azure resource group associated with the resource.
|
|
424
|
+
*/
|
|
425
|
+
resourceGroup?: Schema$AzureResourceGroup;
|
|
426
|
+
/**
|
|
427
|
+
* The Azure subscription associated with the resource.
|
|
428
|
+
*/
|
|
429
|
+
subscription?: Schema$AzureSubscription;
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* Represents an Azure resource group.
|
|
433
|
+
*/
|
|
434
|
+
export interface Schema$AzureResourceGroup {
|
|
435
|
+
/**
|
|
436
|
+
* The name of the Azure resource group. This is not a UUID.
|
|
437
|
+
*/
|
|
438
|
+
name?: string | null;
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
* Represents an Azure subscription.
|
|
442
|
+
*/
|
|
443
|
+
export interface Schema$AzureSubscription {
|
|
444
|
+
/**
|
|
445
|
+
* The display name of the Azure subscription.
|
|
446
|
+
*/
|
|
447
|
+
displayName?: string | null;
|
|
448
|
+
/**
|
|
449
|
+
* The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`.
|
|
450
|
+
*/
|
|
451
|
+
id?: string | null;
|
|
452
|
+
}
|
|
401
453
|
/**
|
|
402
454
|
* Information related to Google Cloud Backup and DR Service findings.
|
|
403
455
|
*/
|
|
@@ -682,6 +734,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
682
734
|
* The exploitation activity of the vulnerability in the wild.
|
|
683
735
|
*/
|
|
684
736
|
exploitationActivity?: string | null;
|
|
737
|
+
/**
|
|
738
|
+
* Date the first publicly available exploit or PoC was released.
|
|
739
|
+
*/
|
|
740
|
+
exploitReleaseDate?: string | null;
|
|
685
741
|
/**
|
|
686
742
|
* The unique identifier for the vulnerability. e.g. CVE-2021-34527
|
|
687
743
|
*/
|
|
@@ -803,6 +859,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
803
859
|
*/
|
|
804
860
|
relativePath?: string | null;
|
|
805
861
|
}
|
|
862
|
+
/**
|
|
863
|
+
* The record of a dynamic mute rule that matches the finding.
|
|
864
|
+
*/
|
|
865
|
+
export interface Schema$DynamicMuteRecord {
|
|
866
|
+
/**
|
|
867
|
+
* When the dynamic mute rule first matched the finding.
|
|
868
|
+
*/
|
|
869
|
+
matchTime?: string | null;
|
|
870
|
+
/**
|
|
871
|
+
* The relative resource name of the mute rule, represented by a mute config, that created this record, for example `organizations/123/muteConfigs/mymuteconfig` or `organizations/123/locations/global/muteConfigs/mymuteconfig`.
|
|
872
|
+
*/
|
|
873
|
+
muteConfig?: string | null;
|
|
874
|
+
}
|
|
806
875
|
/**
|
|
807
876
|
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
|
|
808
877
|
*/
|
|
@@ -998,6 +1067,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
998
1067
|
* The class of the finding.
|
|
999
1068
|
*/
|
|
1000
1069
|
findingClass?: string | null;
|
|
1070
|
+
/**
|
|
1071
|
+
* Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.
|
|
1072
|
+
*/
|
|
1073
|
+
groupMemberships?: Schema$GroupMembership[];
|
|
1001
1074
|
/**
|
|
1002
1075
|
* Represents IAM bindings associated with the finding.
|
|
1003
1076
|
*/
|
|
@@ -1034,6 +1107,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
1034
1107
|
* Indicates the mute state of a finding (either muted, unmuted or undefined). Unlike other attributes of a finding, a finding provider shouldn't set the value of mute.
|
|
1035
1108
|
*/
|
|
1036
1109
|
mute?: string | null;
|
|
1110
|
+
/**
|
|
1111
|
+
* Output only. The mute information regarding this finding.
|
|
1112
|
+
*/
|
|
1113
|
+
muteInfo?: Schema$MuteInfo;
|
|
1037
1114
|
/**
|
|
1038
1115
|
* Records additional information about the mute operation, for example, the [mute configuration](/security-command-center/docs/how-to-mute-findings) that muted the finding and the user who muted the finding.
|
|
1039
1116
|
*/
|
|
@@ -1094,6 +1171,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
1094
1171
|
* The state of the finding.
|
|
1095
1172
|
*/
|
|
1096
1173
|
state?: string | null;
|
|
1174
|
+
/**
|
|
1175
|
+
* Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests.
|
|
1176
|
+
*/
|
|
1177
|
+
toxicCombination?: Schema$ToxicCombination;
|
|
1097
1178
|
/**
|
|
1098
1179
|
* Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
|
|
1099
1180
|
*/
|
|
@@ -1425,6 +1506,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
1425
1506
|
* The human readable name to be displayed for the mute config.
|
|
1426
1507
|
*/
|
|
1427
1508
|
displayName?: string | null;
|
|
1509
|
+
/**
|
|
1510
|
+
* Optional. The expiry of the mute config. Only applicable for dynamic configs. If the expiry is set, when the config expires, it is removed from all findings.
|
|
1511
|
+
*/
|
|
1512
|
+
expiryTime?: string | null;
|
|
1428
1513
|
/**
|
|
1429
1514
|
* Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`
|
|
1430
1515
|
*/
|
|
@@ -1434,9 +1519,13 @@ export namespace securitycenter_v1beta1 {
|
|
|
1434
1519
|
*/
|
|
1435
1520
|
mostRecentEditor?: string | null;
|
|
1436
1521
|
/**
|
|
1437
|
-
* This field will be ignored if provided on config creation. Format
|
|
1522
|
+
* This field will be ignored if provided on config creation. Format `organizations/{organization\}/muteConfigs/{mute_config\}` `folders/{folder\}/muteConfigs/{mute_config\}` `projects/{project\}/muteConfigs/{mute_config\}` `organizations/{organization\}/locations/global/muteConfigs/{mute_config\}` `folders/{folder\}/locations/global/muteConfigs/{mute_config\}` `projects/{project\}/locations/global/muteConfigs/{mute_config\}`
|
|
1438
1523
|
*/
|
|
1439
1524
|
name?: string | null;
|
|
1525
|
+
/**
|
|
1526
|
+
* Optional. The type of the mute config, which determines what type of mute state the config affects. The static mute state takes precedence over the dynamic mute state. Immutable after creation. STATIC by default if not set during creation.
|
|
1527
|
+
*/
|
|
1528
|
+
type?: string | null;
|
|
1440
1529
|
/**
|
|
1441
1530
|
* Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
|
|
1442
1531
|
*/
|
|
@@ -1622,6 +1711,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
1622
1711
|
* The AWS metadata associated with the finding.
|
|
1623
1712
|
*/
|
|
1624
1713
|
awsMetadata?: Schema$AwsMetadata;
|
|
1714
|
+
/**
|
|
1715
|
+
* The Azure metadata associated with the finding.
|
|
1716
|
+
*/
|
|
1717
|
+
azureMetadata?: Schema$AzureMetadata;
|
|
1625
1718
|
/**
|
|
1626
1719
|
* Indicates which cloud provider the resource resides in.
|
|
1627
1720
|
*/
|
|
@@ -1667,7 +1760,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
1667
1760
|
*/
|
|
1668
1761
|
resourcePath?: Schema$ResourcePath;
|
|
1669
1762
|
/**
|
|
1670
|
-
* A string representation of the resource path. For Google Cloud, it has the format of organizations/{organization_id\}/folders/{folder_id\}/folders/{folder_id\}/projects/{project_id\} where there can be any number of folders. For AWS, it has the format of org/{organization_id\}/ou/{organizational_unit_id\}/ou/{organizational_unit_id\}/account/{account_id\} where there can be any number of organizational units. For Azure, it has the format of mg/{management_group_id\}/mg/{management_group_id\}/subscription/{subscription_id\}/rg/{resource_group_name\} where there can be any number of management groups.
|
|
1763
|
+
* A string representation of the resource path. For Google Cloud, it has the format of `organizations/{organization_id\}/folders/{folder_id\}/folders/{folder_id\}/projects/{project_id\}` where there can be any number of folders. For AWS, it has the format of `org/{organization_id\}/ou/{organizational_unit_id\}/ou/{organizational_unit_id\}/account/{account_id\}` where there can be any number of organizational units. For Azure, it has the format of `mg/{management_group_id\}/mg/{management_group_id\}/subscription/{subscription_id\}/rg/{resource_group_name\}` where there can be any number of management groups.
|
|
1671
1764
|
*/
|
|
1672
1765
|
resourcePathString?: string | null;
|
|
1673
1766
|
/**
|
|
@@ -1709,11 +1802,11 @@ export namespace securitycenter_v1beta1 {
|
|
|
1709
1802
|
*/
|
|
1710
1803
|
name?: string | null;
|
|
1711
1804
|
/**
|
|
1712
|
-
* List of resource labels to search for, evaluated with AND
|
|
1805
|
+
* List of resource labels to search for, evaluated with `AND`. For example, `"resource_labels_selector": {"key": "value", "env": "prod"\}` will match resources with labels "key": "value" `AND` "env": "prod" https://cloud.google.com/resource-manager/docs/creating-managing-labels
|
|
1713
1806
|
*/
|
|
1714
1807
|
resourceLabelsSelector?: {[key: string]: string} | null;
|
|
1715
1808
|
/**
|
|
1716
|
-
* Apply resource_value only to resources that match resource_type. resource_type will be checked with AND of other resources. For example, "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources.
|
|
1809
|
+
* Apply resource_value only to resources that match resource_type. resource_type will be checked with `AND` of other resources. For example, "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources.
|
|
1717
1810
|
*/
|
|
1718
1811
|
resourceType?: string | null;
|
|
1719
1812
|
/**
|
|
@@ -1721,7 +1814,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
1721
1814
|
*/
|
|
1722
1815
|
resourceValue?: string | null;
|
|
1723
1816
|
/**
|
|
1724
|
-
* Project or folder to scope this configuration to. For example, "project/456" would apply this configuration only to resources in "project/456" scope will be checked with AND of other resources.
|
|
1817
|
+
* Project or folder to scope this configuration to. For example, "project/456" would apply this configuration only to resources in "project/456" scope will be checked with `AND` of other resources.
|
|
1725
1818
|
*/
|
|
1726
1819
|
scope?: string | null;
|
|
1727
1820
|
/**
|
|
@@ -1729,7 +1822,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
1729
1822
|
*/
|
|
1730
1823
|
sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping;
|
|
1731
1824
|
/**
|
|
1732
|
-
* Required. Tag values combined with AND to check against. Values in the form "tagValues/123" Example: [ "tagValues/123", "tagValues/456", "tagValues/789" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
|
|
1825
|
+
* Required. Tag values combined with `AND` to check against. Values in the form "tagValues/123" Example: `[ "tagValues/123", "tagValues/456", "tagValues/789" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
|
|
1733
1826
|
*/
|
|
1734
1827
|
tagValues?: string[] | null;
|
|
1735
1828
|
/**
|
|
@@ -1922,7 +2015,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
1922
2015
|
*/
|
|
1923
2016
|
export interface Schema$GoogleCloudSecuritycenterV2AttackExposure {
|
|
1924
2017
|
/**
|
|
1925
|
-
* The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/simulations/456/attackExposureResults/789
|
|
2018
|
+
* The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789`
|
|
1926
2019
|
*/
|
|
1927
2020
|
attackExposureResult?: string | null;
|
|
1928
2021
|
/**
|
|
@@ -2002,6 +2095,58 @@ export namespace securitycenter_v1beta1 {
|
|
|
2002
2095
|
*/
|
|
2003
2096
|
name?: string | null;
|
|
2004
2097
|
}
|
|
2098
|
+
/**
|
|
2099
|
+
* Represents an Azure management group.
|
|
2100
|
+
*/
|
|
2101
|
+
export interface Schema$GoogleCloudSecuritycenterV2AzureManagementGroup {
|
|
2102
|
+
/**
|
|
2103
|
+
* The display name of the Azure management group.
|
|
2104
|
+
*/
|
|
2105
|
+
displayName?: string | null;
|
|
2106
|
+
/**
|
|
2107
|
+
* The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`.
|
|
2108
|
+
*/
|
|
2109
|
+
id?: string | null;
|
|
2110
|
+
}
|
|
2111
|
+
/**
|
|
2112
|
+
* Azure metadata associated with the resource, only applicable if the finding's cloud provider is Microsoft Azure.
|
|
2113
|
+
*/
|
|
2114
|
+
export interface Schema$GoogleCloudSecuritycenterV2AzureMetadata {
|
|
2115
|
+
/**
|
|
2116
|
+
* A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level.
|
|
2117
|
+
*/
|
|
2118
|
+
managementGroups?: Schema$GoogleCloudSecuritycenterV2AzureManagementGroup[];
|
|
2119
|
+
/**
|
|
2120
|
+
* The Azure resource group associated with the resource.
|
|
2121
|
+
*/
|
|
2122
|
+
resourceGroup?: Schema$GoogleCloudSecuritycenterV2AzureResourceGroup;
|
|
2123
|
+
/**
|
|
2124
|
+
* The Azure subscription associated with the resource.
|
|
2125
|
+
*/
|
|
2126
|
+
subscription?: Schema$GoogleCloudSecuritycenterV2AzureSubscription;
|
|
2127
|
+
}
|
|
2128
|
+
/**
|
|
2129
|
+
* Represents an Azure resource group.
|
|
2130
|
+
*/
|
|
2131
|
+
export interface Schema$GoogleCloudSecuritycenterV2AzureResourceGroup {
|
|
2132
|
+
/**
|
|
2133
|
+
* The name of the Azure resource group. This is not a UUID.
|
|
2134
|
+
*/
|
|
2135
|
+
name?: string | null;
|
|
2136
|
+
}
|
|
2137
|
+
/**
|
|
2138
|
+
* Represents an Azure subscription.
|
|
2139
|
+
*/
|
|
2140
|
+
export interface Schema$GoogleCloudSecuritycenterV2AzureSubscription {
|
|
2141
|
+
/**
|
|
2142
|
+
* The display name of the Azure subscription.
|
|
2143
|
+
*/
|
|
2144
|
+
displayName?: string | null;
|
|
2145
|
+
/**
|
|
2146
|
+
* The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`.
|
|
2147
|
+
*/
|
|
2148
|
+
id?: string | null;
|
|
2149
|
+
}
|
|
2005
2150
|
/**
|
|
2006
2151
|
* Information related to Google Cloud Backup and DR Service findings.
|
|
2007
2152
|
*/
|
|
@@ -2056,7 +2201,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
2056
2201
|
*/
|
|
2057
2202
|
createTime?: string | null;
|
|
2058
2203
|
/**
|
|
2059
|
-
* The dataset to write findings' updates to. Its format is "projects/[project_id]/datasets/[bigquery_dataset_id]". BigQuery
|
|
2204
|
+
* The dataset to write findings' updates to. Its format is "projects/[project_id]/datasets/[bigquery_dataset_id]". BigQuery dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
|
|
2060
2205
|
*/
|
|
2061
2206
|
dataset?: string | null;
|
|
2062
2207
|
/**
|
|
@@ -2072,7 +2217,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
2072
2217
|
*/
|
|
2073
2218
|
mostRecentEditor?: string | null;
|
|
2074
2219
|
/**
|
|
2075
|
-
* The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name. The following list shows some examples: + `organizations/{organization_id\}/locations/{location_id\}/bigQueryExports/{export_id\}` + `folders/{folder_id\}/locations/{location_id\}/bigQueryExports/{export_id\}` + `projects/{project_id\}/locations/{location_id\}/bigQueryExports/{export_id\}` This field is provided in responses, and is ignored when provided in create requests.
|
|
2220
|
+
* Identifier. The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name. The following list shows some examples: + `organizations/{organization_id\}/locations/{location_id\}/bigQueryExports/{export_id\}` + `folders/{folder_id\}/locations/{location_id\}/bigQueryExports/{export_id\}` + `projects/{project_id\}/locations/{location_id\}/bigQueryExports/{export_id\}` This field is provided in responses, and is ignored when provided in create requests.
|
|
2076
2221
|
*/
|
|
2077
2222
|
name?: string | null;
|
|
2078
2223
|
/**
|
|
@@ -2290,6 +2435,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
2290
2435
|
* The exploitation activity of the vulnerability in the wild.
|
|
2291
2436
|
*/
|
|
2292
2437
|
exploitationActivity?: string | null;
|
|
2438
|
+
/**
|
|
2439
|
+
* Date the first publicly available exploit or PoC was released.
|
|
2440
|
+
*/
|
|
2441
|
+
exploitReleaseDate?: string | null;
|
|
2293
2442
|
/**
|
|
2294
2443
|
* The unique identifier for the vulnerability. e.g. CVE-2021-34527
|
|
2295
2444
|
*/
|
|
@@ -2411,6 +2560,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
2411
2560
|
*/
|
|
2412
2561
|
relativePath?: string | null;
|
|
2413
2562
|
}
|
|
2563
|
+
/**
|
|
2564
|
+
* The record of a dynamic mute rule that matches the finding.
|
|
2565
|
+
*/
|
|
2566
|
+
export interface Schema$GoogleCloudSecuritycenterV2DynamicMuteRecord {
|
|
2567
|
+
/**
|
|
2568
|
+
* When the dynamic mute rule first matched the finding.
|
|
2569
|
+
*/
|
|
2570
|
+
matchTime?: string | null;
|
|
2571
|
+
/**
|
|
2572
|
+
* The relative resource name of the mute rule, represented by a mute config, that created this record, for example `organizations/123/muteConfigs/mymuteconfig` or `organizations/123/locations/global/muteConfigs/mymuteconfig`.
|
|
2573
|
+
*/
|
|
2574
|
+
muteConfig?: string | null;
|
|
2575
|
+
}
|
|
2414
2576
|
/**
|
|
2415
2577
|
* A name-value pair representing an environment variable used in an operating system process.
|
|
2416
2578
|
*/
|
|
@@ -2632,6 +2794,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
2632
2794
|
* The class of the finding.
|
|
2633
2795
|
*/
|
|
2634
2796
|
findingClass?: string | null;
|
|
2797
|
+
/**
|
|
2798
|
+
* Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.
|
|
2799
|
+
*/
|
|
2800
|
+
groupMemberships?: Schema$GoogleCloudSecuritycenterV2GroupMembership[];
|
|
2635
2801
|
/**
|
|
2636
2802
|
* Represents IAM bindings associated with the finding.
|
|
2637
2803
|
*/
|
|
@@ -2668,6 +2834,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
2668
2834
|
* Indicates the mute state of a finding (either muted, unmuted or undefined). Unlike other attributes of a finding, a finding provider shouldn't set the value of mute.
|
|
2669
2835
|
*/
|
|
2670
2836
|
mute?: string | null;
|
|
2837
|
+
/**
|
|
2838
|
+
* Output only. The mute information regarding this finding.
|
|
2839
|
+
*/
|
|
2840
|
+
muteInfo?: Schema$GoogleCloudSecuritycenterV2MuteInfo;
|
|
2671
2841
|
/**
|
|
2672
2842
|
* Records additional information about the mute operation, for example, the [mute configuration](https://cloud.google.com/security-command-center/docs/how-to-mute-findings) that muted the finding and the user who muted the finding.
|
|
2673
2843
|
*/
|
|
@@ -2728,6 +2898,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
2728
2898
|
* Output only. The state of the finding.
|
|
2729
2899
|
*/
|
|
2730
2900
|
state?: string | null;
|
|
2901
|
+
/**
|
|
2902
|
+
* Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests.
|
|
2903
|
+
*/
|
|
2904
|
+
toxicCombination?: Schema$GoogleCloudSecuritycenterV2ToxicCombination;
|
|
2731
2905
|
/**
|
|
2732
2906
|
* Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
|
|
2733
2907
|
*/
|
|
@@ -2755,6 +2929,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
2755
2929
|
*/
|
|
2756
2930
|
regionCode?: string | null;
|
|
2757
2931
|
}
|
|
2932
|
+
/**
|
|
2933
|
+
* Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way.
|
|
2934
|
+
*/
|
|
2935
|
+
export interface Schema$GoogleCloudSecuritycenterV2GroupMembership {
|
|
2936
|
+
/**
|
|
2937
|
+
* ID of the group.
|
|
2938
|
+
*/
|
|
2939
|
+
groupId?: string | null;
|
|
2940
|
+
/**
|
|
2941
|
+
* Type of group.
|
|
2942
|
+
*/
|
|
2943
|
+
groupType?: string | null;
|
|
2944
|
+
}
|
|
2758
2945
|
/**
|
|
2759
2946
|
* Represents a particular IAM binding, which captures a member's role addition, removal, or state.
|
|
2760
2947
|
*/
|
|
@@ -2948,6 +3135,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
2948
3135
|
* A description of the mute config.
|
|
2949
3136
|
*/
|
|
2950
3137
|
description?: string | null;
|
|
3138
|
+
/**
|
|
3139
|
+
* Optional. The expiry of the mute config. Only applicable for dynamic configs. If the expiry is set, when the config expires, it is removed from all findings.
|
|
3140
|
+
*/
|
|
3141
|
+
expiryTime?: string | null;
|
|
2951
3142
|
/**
|
|
2952
3143
|
* Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`
|
|
2953
3144
|
*/
|
|
@@ -2957,7 +3148,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
2957
3148
|
*/
|
|
2958
3149
|
mostRecentEditor?: string | null;
|
|
2959
3150
|
/**
|
|
2960
|
-
* This field will be ignored if provided on config creation. The following list shows some examples of the format: + `organizations/{organization\}/muteConfigs/{mute_config\}` + `organizations/{organization\}locations/{location\}//muteConfigs/{mute_config\}` + `folders/{folder\}/muteConfigs/{mute_config\}` + `folders/{folder\}/locations/{location\}/muteConfigs/{mute_config\}` + `projects/{project\}/muteConfigs/{mute_config\}` + `projects/{project\}/locations/{location\}/muteConfigs/{mute_config\}`
|
|
3151
|
+
* Identifier. This field will be ignored if provided on config creation. The following list shows some examples of the format: + `organizations/{organization\}/muteConfigs/{mute_config\}` + `organizations/{organization\}locations/{location\}//muteConfigs/{mute_config\}` + `folders/{folder\}/muteConfigs/{mute_config\}` + `folders/{folder\}/locations/{location\}/muteConfigs/{mute_config\}` + `projects/{project\}/muteConfigs/{mute_config\}` + `projects/{project\}/locations/{location\}/muteConfigs/{mute_config\}`
|
|
2961
3152
|
*/
|
|
2962
3153
|
name?: string | null;
|
|
2963
3154
|
/**
|
|
@@ -2969,6 +3160,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
2969
3160
|
*/
|
|
2970
3161
|
updateTime?: string | null;
|
|
2971
3162
|
}
|
|
3163
|
+
/**
|
|
3164
|
+
* Mute information about the finding, including whether the finding has a static mute or any matching dynamic mute rules.
|
|
3165
|
+
*/
|
|
3166
|
+
export interface Schema$GoogleCloudSecuritycenterV2MuteInfo {
|
|
3167
|
+
/**
|
|
3168
|
+
* The list of dynamic mute rules that currently match the finding.
|
|
3169
|
+
*/
|
|
3170
|
+
dynamicMuteRecords?: Schema$GoogleCloudSecuritycenterV2DynamicMuteRecord[];
|
|
3171
|
+
/**
|
|
3172
|
+
* If set, the static mute applied to this finding. Static mutes override dynamic mutes. If unset, there is no static mute.
|
|
3173
|
+
*/
|
|
3174
|
+
staticMute?: Schema$GoogleCloudSecuritycenterV2StaticMute;
|
|
3175
|
+
}
|
|
2972
3176
|
/**
|
|
2973
3177
|
* Kubernetes nodes associated with the finding.
|
|
2974
3178
|
*/
|
|
@@ -3226,6 +3430,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
3226
3430
|
* The AWS metadata associated with the finding.
|
|
3227
3431
|
*/
|
|
3228
3432
|
awsMetadata?: Schema$GoogleCloudSecuritycenterV2AwsMetadata;
|
|
3433
|
+
/**
|
|
3434
|
+
* The Azure metadata associated with the finding.
|
|
3435
|
+
*/
|
|
3436
|
+
azureMetadata?: Schema$GoogleCloudSecuritycenterV2AzureMetadata;
|
|
3229
3437
|
/**
|
|
3230
3438
|
* Indicates which cloud provider the finding is from.
|
|
3231
3439
|
*/
|
|
@@ -3251,7 +3459,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
3251
3459
|
*/
|
|
3252
3460
|
resourcePath?: Schema$GoogleCloudSecuritycenterV2ResourcePath;
|
|
3253
3461
|
/**
|
|
3254
|
-
* A string representation of the resource path. For Google Cloud, it has the format of organizations/{organization_id\}/folders/{folder_id\}/folders/{folder_id\}/projects/{project_id\} where there can be any number of folders. For AWS, it has the format of org/{organization_id\}/ou/{organizational_unit_id\}/ou/{organizational_unit_id\}/account/{account_id\} where there can be any number of organizational units. For Azure, it has the format of mg/{management_group_id\}/mg/{management_group_id\}/subscription/{subscription_id\}/rg/{resource_group_name\} where there can be any number of management groups.
|
|
3462
|
+
* A string representation of the resource path. For Google Cloud, it has the format of `organizations/{organization_id\}/folders/{folder_id\}/folders/{folder_id\}/projects/{project_id\}` where there can be any number of folders. For AWS, it has the format of `org/{organization_id\}/ou/{organizational_unit_id\}/ou/{organizational_unit_id\}/account/{account_id\}` where there can be any number of organizational units. For Azure, it has the format of `mg/{management_group_id\}/mg/{management_group_id\}/subscription/{subscription_id\}/rg/{resource_group_name\}` where there can be any number of management groups.
|
|
3255
3463
|
*/
|
|
3256
3464
|
resourcePathString?: string | null;
|
|
3257
3465
|
/**
|
|
@@ -3306,23 +3514,23 @@ export namespace securitycenter_v1beta1 {
|
|
|
3306
3514
|
*/
|
|
3307
3515
|
description?: string | null;
|
|
3308
3516
|
/**
|
|
3309
|
-
* Name for the resource value configuration
|
|
3517
|
+
* Identifier. Name for the resource value configuration
|
|
3310
3518
|
*/
|
|
3311
3519
|
name?: string | null;
|
|
3312
3520
|
/**
|
|
3313
|
-
* List of resource labels to search for, evaluated with AND
|
|
3521
|
+
* List of resource labels to search for, evaluated with `AND`. For example, "resource_labels_selector": {"key": "value", "env": "prod"\} will match resources with labels "key": "value" `AND` "env": "prod" https://cloud.google.com/resource-manager/docs/creating-managing-labels
|
|
3314
3522
|
*/
|
|
3315
3523
|
resourceLabelsSelector?: {[key: string]: string} | null;
|
|
3316
3524
|
/**
|
|
3317
|
-
* Apply resource_value only to resources that match resource_type. resource_type will be checked with AND of other resources. For example, "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources.
|
|
3525
|
+
* Apply resource_value only to resources that match resource_type. resource_type will be checked with `AND` of other resources. For example, "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources.
|
|
3318
3526
|
*/
|
|
3319
3527
|
resourceType?: string | null;
|
|
3320
3528
|
/**
|
|
3321
|
-
* Resource value level this expression represents Only required when there is no
|
|
3529
|
+
* Resource value level this expression represents Only required when there is no Sensitive Data Protection mapping in the request
|
|
3322
3530
|
*/
|
|
3323
3531
|
resourceValue?: string | null;
|
|
3324
3532
|
/**
|
|
3325
|
-
* Project or folder to scope this configuration to. For example, "project/456" would apply this configuration only to resources in "project/456" scope will be checked with AND of other resources.
|
|
3533
|
+
* Project or folder to scope this configuration to. For example, "project/456" would apply this configuration only to resources in "project/456" scope and will be checked with `AND` of other resources.
|
|
3326
3534
|
*/
|
|
3327
3535
|
scope?: string | null;
|
|
3328
3536
|
/**
|
|
@@ -3330,7 +3538,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
3330
3538
|
*/
|
|
3331
3539
|
sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping;
|
|
3332
3540
|
/**
|
|
3333
|
-
*
|
|
3541
|
+
* Tag values combined with `AND` to check against. Values in the form "tagValues/123" Example: `[ "tagValues/123", "tagValues/456", "tagValues/789" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
|
|
3334
3542
|
*/
|
|
3335
3543
|
tagValues?: string[] | null;
|
|
3336
3544
|
/**
|
|
@@ -3469,6 +3677,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
3469
3677
|
*/
|
|
3470
3678
|
principalSubject?: string | null;
|
|
3471
3679
|
}
|
|
3680
|
+
/**
|
|
3681
|
+
* Information about the static mute state. A static mute state overrides any dynamic mute rules that apply to this finding. The static mute state can be set by a static mute rule or by muting the finding directly.
|
|
3682
|
+
*/
|
|
3683
|
+
export interface Schema$GoogleCloudSecuritycenterV2StaticMute {
|
|
3684
|
+
/**
|
|
3685
|
+
* When the static mute was applied.
|
|
3686
|
+
*/
|
|
3687
|
+
applyTime?: string | null;
|
|
3688
|
+
/**
|
|
3689
|
+
* The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding's overall mute state will have the same value.
|
|
3690
|
+
*/
|
|
3691
|
+
state?: string | null;
|
|
3692
|
+
}
|
|
3472
3693
|
/**
|
|
3473
3694
|
* Represents a Kubernetes subject.
|
|
3474
3695
|
*/
|
|
@@ -3515,6 +3736,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
3515
3736
|
*/
|
|
3516
3737
|
uri?: string | null;
|
|
3517
3738
|
}
|
|
3739
|
+
/**
|
|
3740
|
+
* Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination.
|
|
3741
|
+
*/
|
|
3742
|
+
export interface Schema$GoogleCloudSecuritycenterV2ToxicCombination {
|
|
3743
|
+
/**
|
|
3744
|
+
* The [Attack exposure score](https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_exposure_scores) of this toxic combination. The score is a measure of how much this toxic combination exposes one or more high-value resources to potential attack.
|
|
3745
|
+
*/
|
|
3746
|
+
attackExposureScore?: number | null;
|
|
3747
|
+
/**
|
|
3748
|
+
* List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`.
|
|
3749
|
+
*/
|
|
3750
|
+
relatedFindings?: string[] | null;
|
|
3751
|
+
}
|
|
3518
3752
|
/**
|
|
3519
3753
|
* Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
|
|
3520
3754
|
*/
|
|
@@ -3633,6 +3867,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
3633
3867
|
*/
|
|
3634
3868
|
readTime?: string | null;
|
|
3635
3869
|
}
|
|
3870
|
+
/**
|
|
3871
|
+
* Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way.
|
|
3872
|
+
*/
|
|
3873
|
+
export interface Schema$GroupMembership {
|
|
3874
|
+
/**
|
|
3875
|
+
* ID of the group.
|
|
3876
|
+
*/
|
|
3877
|
+
groupId?: string | null;
|
|
3878
|
+
/**
|
|
3879
|
+
* Type of group.
|
|
3880
|
+
*/
|
|
3881
|
+
groupType?: string | null;
|
|
3882
|
+
}
|
|
3636
3883
|
/**
|
|
3637
3884
|
* Result containing the properties and count of a groupBy request.
|
|
3638
3885
|
*/
|
|
@@ -3908,6 +4155,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
3908
4155
|
*/
|
|
3909
4156
|
version?: string | null;
|
|
3910
4157
|
}
|
|
4158
|
+
/**
|
|
4159
|
+
* Mute information about the finding, including whether the finding has a static mute or any matching dynamic mute rules.
|
|
4160
|
+
*/
|
|
4161
|
+
export interface Schema$MuteInfo {
|
|
4162
|
+
/**
|
|
4163
|
+
* The list of dynamic mute rules that currently match the finding.
|
|
4164
|
+
*/
|
|
4165
|
+
dynamicMuteRecords?: Schema$DynamicMuteRecord[];
|
|
4166
|
+
/**
|
|
4167
|
+
* If set, the static mute applied to this finding. Static mutes override dynamic mutes. If unset, there is no static mute.
|
|
4168
|
+
*/
|
|
4169
|
+
staticMute?: Schema$StaticMute;
|
|
4170
|
+
}
|
|
3911
4171
|
/**
|
|
3912
4172
|
* Kubernetes nodes associated with the finding.
|
|
3913
4173
|
*/
|
|
@@ -4419,6 +4679,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
4419
4679
|
*/
|
|
4420
4680
|
name?: string | null;
|
|
4421
4681
|
}
|
|
4682
|
+
/**
|
|
4683
|
+
* Information about the static mute state. A static mute state overrides any dynamic mute rules that apply to this finding. The static mute state can be set by a static mute rule or by muting the finding directly.
|
|
4684
|
+
*/
|
|
4685
|
+
export interface Schema$StaticMute {
|
|
4686
|
+
/**
|
|
4687
|
+
* When the static mute was applied.
|
|
4688
|
+
*/
|
|
4689
|
+
applyTime?: string | null;
|
|
4690
|
+
/**
|
|
4691
|
+
* The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding's overall mute state will have the same value.
|
|
4692
|
+
*/
|
|
4693
|
+
state?: string | null;
|
|
4694
|
+
}
|
|
4422
4695
|
/**
|
|
4423
4696
|
* The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
4424
4697
|
*/
|
|
@@ -4500,6 +4773,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
4500
4773
|
*/
|
|
4501
4774
|
uri?: string | null;
|
|
4502
4775
|
}
|
|
4776
|
+
/**
|
|
4777
|
+
* Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination.
|
|
4778
|
+
*/
|
|
4779
|
+
export interface Schema$ToxicCombination {
|
|
4780
|
+
/**
|
|
4781
|
+
* The [Attack exposure score](https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_exposure_scores) of this toxic combination. The score is a measure of how much this toxic combination exposes one or more high-value resources to potential attack.
|
|
4782
|
+
*/
|
|
4783
|
+
attackExposureScore?: number | null;
|
|
4784
|
+
/**
|
|
4785
|
+
* List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`.
|
|
4786
|
+
*/
|
|
4787
|
+
relatedFindings?: string[] | null;
|
|
4788
|
+
}
|
|
4503
4789
|
/**
|
|
4504
4790
|
* Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
|
|
4505
4791
|
*/
|