@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/build/v1beta1.d.ts
CHANGED
|
@@ -241,7 +241,7 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
241
241
|
*/
|
|
242
242
|
export interface Schema$AttackExposure {
|
|
243
243
|
/**
|
|
244
|
-
* 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
|
|
244
|
+
* 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`
|
|
245
245
|
*/
|
|
246
246
|
attackExposureResult?: string | null;
|
|
247
247
|
/**
|
|
@@ -347,6 +347,58 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
347
347
|
*/
|
|
348
348
|
name?: string | null;
|
|
349
349
|
}
|
|
350
|
+
/**
|
|
351
|
+
* Represents an Azure management group.
|
|
352
|
+
*/
|
|
353
|
+
export interface Schema$AzureManagementGroup {
|
|
354
|
+
/**
|
|
355
|
+
* The display name of the Azure management group.
|
|
356
|
+
*/
|
|
357
|
+
displayName?: string | null;
|
|
358
|
+
/**
|
|
359
|
+
* The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`.
|
|
360
|
+
*/
|
|
361
|
+
id?: string | null;
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* Azure metadata associated with the resource, only applicable if the finding's cloud provider is Microsoft Azure.
|
|
365
|
+
*/
|
|
366
|
+
export interface Schema$AzureMetadata {
|
|
367
|
+
/**
|
|
368
|
+
* A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level.
|
|
369
|
+
*/
|
|
370
|
+
managementGroups?: Schema$AzureManagementGroup[];
|
|
371
|
+
/**
|
|
372
|
+
* The Azure resource group associated with the resource.
|
|
373
|
+
*/
|
|
374
|
+
resourceGroup?: Schema$AzureResourceGroup;
|
|
375
|
+
/**
|
|
376
|
+
* The Azure subscription associated with the resource.
|
|
377
|
+
*/
|
|
378
|
+
subscription?: Schema$AzureSubscription;
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* Represents an Azure resource group.
|
|
382
|
+
*/
|
|
383
|
+
export interface Schema$AzureResourceGroup {
|
|
384
|
+
/**
|
|
385
|
+
* The name of the Azure resource group. This is not a UUID.
|
|
386
|
+
*/
|
|
387
|
+
name?: string | null;
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* Represents an Azure subscription.
|
|
391
|
+
*/
|
|
392
|
+
export interface Schema$AzureSubscription {
|
|
393
|
+
/**
|
|
394
|
+
* The display name of the Azure subscription.
|
|
395
|
+
*/
|
|
396
|
+
displayName?: string | null;
|
|
397
|
+
/**
|
|
398
|
+
* The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`.
|
|
399
|
+
*/
|
|
400
|
+
id?: string | null;
|
|
401
|
+
}
|
|
350
402
|
/**
|
|
351
403
|
* Information related to Google Cloud Backup and DR Service findings.
|
|
352
404
|
*/
|
|
@@ -632,6 +684,10 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
632
684
|
* The exploitation activity of the vulnerability in the wild.
|
|
633
685
|
*/
|
|
634
686
|
exploitationActivity?: string | null;
|
|
687
|
+
/**
|
|
688
|
+
* Date the first publicly available exploit or PoC was released.
|
|
689
|
+
*/
|
|
690
|
+
exploitReleaseDate?: string | null;
|
|
635
691
|
/**
|
|
636
692
|
* The unique identifier for the vulnerability. e.g. CVE-2021-34527
|
|
637
693
|
*/
|
|
@@ -753,6 +809,19 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
753
809
|
*/
|
|
754
810
|
relativePath?: string | null;
|
|
755
811
|
}
|
|
812
|
+
/**
|
|
813
|
+
* The record of a dynamic mute rule that matches the finding.
|
|
814
|
+
*/
|
|
815
|
+
export interface Schema$DynamicMuteRecord {
|
|
816
|
+
/**
|
|
817
|
+
* When the dynamic mute rule first matched the finding.
|
|
818
|
+
*/
|
|
819
|
+
matchTime?: string | null;
|
|
820
|
+
/**
|
|
821
|
+
* 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`.
|
|
822
|
+
*/
|
|
823
|
+
muteConfig?: string | null;
|
|
824
|
+
}
|
|
756
825
|
/**
|
|
757
826
|
* 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); \}
|
|
758
827
|
*/
|
|
@@ -951,6 +1020,10 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
951
1020
|
* The class of the finding.
|
|
952
1021
|
*/
|
|
953
1022
|
findingClass?: string | null;
|
|
1023
|
+
/**
|
|
1024
|
+
* 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.
|
|
1025
|
+
*/
|
|
1026
|
+
groupMemberships?: Schema$GroupMembership[];
|
|
954
1027
|
/**
|
|
955
1028
|
* Represents IAM bindings associated with the finding.
|
|
956
1029
|
*/
|
|
@@ -987,6 +1060,10 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
987
1060
|
* 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.
|
|
988
1061
|
*/
|
|
989
1062
|
mute?: string | null;
|
|
1063
|
+
/**
|
|
1064
|
+
* Output only. The mute information regarding this finding.
|
|
1065
|
+
*/
|
|
1066
|
+
muteInfo?: Schema$MuteInfo;
|
|
990
1067
|
/**
|
|
991
1068
|
* 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.
|
|
992
1069
|
*/
|
|
@@ -1049,6 +1126,10 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
1049
1126
|
* The state of the finding.
|
|
1050
1127
|
*/
|
|
1051
1128
|
state?: string | null;
|
|
1129
|
+
/**
|
|
1130
|
+
* 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.
|
|
1131
|
+
*/
|
|
1132
|
+
toxicCombination?: Schema$ToxicCombination;
|
|
1052
1133
|
/**
|
|
1053
1134
|
* Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
|
|
1054
1135
|
*/
|
|
@@ -1385,6 +1466,10 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
1385
1466
|
* The human readable name to be displayed for the mute config.
|
|
1386
1467
|
*/
|
|
1387
1468
|
displayName?: string | null;
|
|
1469
|
+
/**
|
|
1470
|
+
* 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.
|
|
1471
|
+
*/
|
|
1472
|
+
expiryTime?: string | null;
|
|
1388
1473
|
/**
|
|
1389
1474
|
* 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: `=`, `:`
|
|
1390
1475
|
*/
|
|
@@ -1394,9 +1479,13 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
1394
1479
|
*/
|
|
1395
1480
|
mostRecentEditor?: string | null;
|
|
1396
1481
|
/**
|
|
1397
|
-
* This field will be ignored if provided on config creation. Format
|
|
1482
|
+
* 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\}`
|
|
1398
1483
|
*/
|
|
1399
1484
|
name?: string | null;
|
|
1485
|
+
/**
|
|
1486
|
+
* 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.
|
|
1487
|
+
*/
|
|
1488
|
+
type?: string | null;
|
|
1400
1489
|
/**
|
|
1401
1490
|
* 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.
|
|
1402
1491
|
*/
|
|
@@ -1586,6 +1675,10 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
1586
1675
|
* The AWS metadata associated with the finding.
|
|
1587
1676
|
*/
|
|
1588
1677
|
awsMetadata?: Schema$AwsMetadata;
|
|
1678
|
+
/**
|
|
1679
|
+
* The Azure metadata associated with the finding.
|
|
1680
|
+
*/
|
|
1681
|
+
azureMetadata?: Schema$AzureMetadata;
|
|
1589
1682
|
/**
|
|
1590
1683
|
* Indicates which cloud provider the resource resides in.
|
|
1591
1684
|
*/
|
|
@@ -1631,7 +1724,7 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
1631
1724
|
*/
|
|
1632
1725
|
resourcePath?: Schema$ResourcePath;
|
|
1633
1726
|
/**
|
|
1634
|
-
* 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.
|
|
1727
|
+
* 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.
|
|
1635
1728
|
*/
|
|
1636
1729
|
resourcePathString?: string | null;
|
|
1637
1730
|
/**
|
|
@@ -1673,13 +1766,13 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
1673
1766
|
*/
|
|
1674
1767
|
name?: string | null;
|
|
1675
1768
|
/**
|
|
1676
|
-
* List of resource labels to search for, evaluated with AND
|
|
1769
|
+
* 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
|
|
1677
1770
|
*/
|
|
1678
1771
|
resourceLabelsSelector?: {
|
|
1679
1772
|
[key: string]: string;
|
|
1680
1773
|
} | null;
|
|
1681
1774
|
/**
|
|
1682
|
-
* 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.
|
|
1775
|
+
* 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.
|
|
1683
1776
|
*/
|
|
1684
1777
|
resourceType?: string | null;
|
|
1685
1778
|
/**
|
|
@@ -1687,7 +1780,7 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
1687
1780
|
*/
|
|
1688
1781
|
resourceValue?: string | null;
|
|
1689
1782
|
/**
|
|
1690
|
-
* 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.
|
|
1783
|
+
* 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.
|
|
1691
1784
|
*/
|
|
1692
1785
|
scope?: string | null;
|
|
1693
1786
|
/**
|
|
@@ -1695,7 +1788,7 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
1695
1788
|
*/
|
|
1696
1789
|
sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping;
|
|
1697
1790
|
/**
|
|
1698
|
-
* 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
|
|
1791
|
+
* 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
|
|
1699
1792
|
*/
|
|
1700
1793
|
tagValues?: string[] | null;
|
|
1701
1794
|
/**
|
|
@@ -1888,7 +1981,7 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
1888
1981
|
*/
|
|
1889
1982
|
export interface Schema$GoogleCloudSecuritycenterV2AttackExposure {
|
|
1890
1983
|
/**
|
|
1891
|
-
* 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
|
|
1984
|
+
* 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`
|
|
1892
1985
|
*/
|
|
1893
1986
|
attackExposureResult?: string | null;
|
|
1894
1987
|
/**
|
|
@@ -1968,6 +2061,58 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
1968
2061
|
*/
|
|
1969
2062
|
name?: string | null;
|
|
1970
2063
|
}
|
|
2064
|
+
/**
|
|
2065
|
+
* Represents an Azure management group.
|
|
2066
|
+
*/
|
|
2067
|
+
export interface Schema$GoogleCloudSecuritycenterV2AzureManagementGroup {
|
|
2068
|
+
/**
|
|
2069
|
+
* The display name of the Azure management group.
|
|
2070
|
+
*/
|
|
2071
|
+
displayName?: string | null;
|
|
2072
|
+
/**
|
|
2073
|
+
* The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`.
|
|
2074
|
+
*/
|
|
2075
|
+
id?: string | null;
|
|
2076
|
+
}
|
|
2077
|
+
/**
|
|
2078
|
+
* Azure metadata associated with the resource, only applicable if the finding's cloud provider is Microsoft Azure.
|
|
2079
|
+
*/
|
|
2080
|
+
export interface Schema$GoogleCloudSecuritycenterV2AzureMetadata {
|
|
2081
|
+
/**
|
|
2082
|
+
* A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level.
|
|
2083
|
+
*/
|
|
2084
|
+
managementGroups?: Schema$GoogleCloudSecuritycenterV2AzureManagementGroup[];
|
|
2085
|
+
/**
|
|
2086
|
+
* The Azure resource group associated with the resource.
|
|
2087
|
+
*/
|
|
2088
|
+
resourceGroup?: Schema$GoogleCloudSecuritycenterV2AzureResourceGroup;
|
|
2089
|
+
/**
|
|
2090
|
+
* The Azure subscription associated with the resource.
|
|
2091
|
+
*/
|
|
2092
|
+
subscription?: Schema$GoogleCloudSecuritycenterV2AzureSubscription;
|
|
2093
|
+
}
|
|
2094
|
+
/**
|
|
2095
|
+
* Represents an Azure resource group.
|
|
2096
|
+
*/
|
|
2097
|
+
export interface Schema$GoogleCloudSecuritycenterV2AzureResourceGroup {
|
|
2098
|
+
/**
|
|
2099
|
+
* The name of the Azure resource group. This is not a UUID.
|
|
2100
|
+
*/
|
|
2101
|
+
name?: string | null;
|
|
2102
|
+
}
|
|
2103
|
+
/**
|
|
2104
|
+
* Represents an Azure subscription.
|
|
2105
|
+
*/
|
|
2106
|
+
export interface Schema$GoogleCloudSecuritycenterV2AzureSubscription {
|
|
2107
|
+
/**
|
|
2108
|
+
* The display name of the Azure subscription.
|
|
2109
|
+
*/
|
|
2110
|
+
displayName?: string | null;
|
|
2111
|
+
/**
|
|
2112
|
+
* The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`.
|
|
2113
|
+
*/
|
|
2114
|
+
id?: string | null;
|
|
2115
|
+
}
|
|
1971
2116
|
/**
|
|
1972
2117
|
* Information related to Google Cloud Backup and DR Service findings.
|
|
1973
2118
|
*/
|
|
@@ -2022,7 +2167,7 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
2022
2167
|
*/
|
|
2023
2168
|
createTime?: string | null;
|
|
2024
2169
|
/**
|
|
2025
|
-
* The dataset to write findings' updates to. Its format is "projects/[project_id]/datasets/[bigquery_dataset_id]". BigQuery
|
|
2170
|
+
* 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 (_).
|
|
2026
2171
|
*/
|
|
2027
2172
|
dataset?: string | null;
|
|
2028
2173
|
/**
|
|
@@ -2038,7 +2183,7 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
2038
2183
|
*/
|
|
2039
2184
|
mostRecentEditor?: string | null;
|
|
2040
2185
|
/**
|
|
2041
|
-
* 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.
|
|
2186
|
+
* 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.
|
|
2042
2187
|
*/
|
|
2043
2188
|
name?: string | null;
|
|
2044
2189
|
/**
|
|
@@ -2257,6 +2402,10 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
2257
2402
|
* The exploitation activity of the vulnerability in the wild.
|
|
2258
2403
|
*/
|
|
2259
2404
|
exploitationActivity?: string | null;
|
|
2405
|
+
/**
|
|
2406
|
+
* Date the first publicly available exploit or PoC was released.
|
|
2407
|
+
*/
|
|
2408
|
+
exploitReleaseDate?: string | null;
|
|
2260
2409
|
/**
|
|
2261
2410
|
* The unique identifier for the vulnerability. e.g. CVE-2021-34527
|
|
2262
2411
|
*/
|
|
@@ -2378,6 +2527,19 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
2378
2527
|
*/
|
|
2379
2528
|
relativePath?: string | null;
|
|
2380
2529
|
}
|
|
2530
|
+
/**
|
|
2531
|
+
* The record of a dynamic mute rule that matches the finding.
|
|
2532
|
+
*/
|
|
2533
|
+
export interface Schema$GoogleCloudSecuritycenterV2DynamicMuteRecord {
|
|
2534
|
+
/**
|
|
2535
|
+
* When the dynamic mute rule first matched the finding.
|
|
2536
|
+
*/
|
|
2537
|
+
matchTime?: string | null;
|
|
2538
|
+
/**
|
|
2539
|
+
* 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`.
|
|
2540
|
+
*/
|
|
2541
|
+
muteConfig?: string | null;
|
|
2542
|
+
}
|
|
2381
2543
|
/**
|
|
2382
2544
|
* A name-value pair representing an environment variable used in an operating system process.
|
|
2383
2545
|
*/
|
|
@@ -2599,6 +2761,10 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
2599
2761
|
* The class of the finding.
|
|
2600
2762
|
*/
|
|
2601
2763
|
findingClass?: string | null;
|
|
2764
|
+
/**
|
|
2765
|
+
* 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.
|
|
2766
|
+
*/
|
|
2767
|
+
groupMemberships?: Schema$GoogleCloudSecuritycenterV2GroupMembership[];
|
|
2602
2768
|
/**
|
|
2603
2769
|
* Represents IAM bindings associated with the finding.
|
|
2604
2770
|
*/
|
|
@@ -2635,6 +2801,10 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
2635
2801
|
* 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.
|
|
2636
2802
|
*/
|
|
2637
2803
|
mute?: string | null;
|
|
2804
|
+
/**
|
|
2805
|
+
* Output only. The mute information regarding this finding.
|
|
2806
|
+
*/
|
|
2807
|
+
muteInfo?: Schema$GoogleCloudSecuritycenterV2MuteInfo;
|
|
2638
2808
|
/**
|
|
2639
2809
|
* 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.
|
|
2640
2810
|
*/
|
|
@@ -2697,6 +2867,10 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
2697
2867
|
* Output only. The state of the finding.
|
|
2698
2868
|
*/
|
|
2699
2869
|
state?: string | null;
|
|
2870
|
+
/**
|
|
2871
|
+
* 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.
|
|
2872
|
+
*/
|
|
2873
|
+
toxicCombination?: Schema$GoogleCloudSecuritycenterV2ToxicCombination;
|
|
2700
2874
|
/**
|
|
2701
2875
|
* Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
|
|
2702
2876
|
*/
|
|
@@ -2724,6 +2898,19 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
2724
2898
|
*/
|
|
2725
2899
|
regionCode?: string | null;
|
|
2726
2900
|
}
|
|
2901
|
+
/**
|
|
2902
|
+
* Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way.
|
|
2903
|
+
*/
|
|
2904
|
+
export interface Schema$GoogleCloudSecuritycenterV2GroupMembership {
|
|
2905
|
+
/**
|
|
2906
|
+
* ID of the group.
|
|
2907
|
+
*/
|
|
2908
|
+
groupId?: string | null;
|
|
2909
|
+
/**
|
|
2910
|
+
* Type of group.
|
|
2911
|
+
*/
|
|
2912
|
+
groupType?: string | null;
|
|
2913
|
+
}
|
|
2727
2914
|
/**
|
|
2728
2915
|
* Represents a particular IAM binding, which captures a member's role addition, removal, or state.
|
|
2729
2916
|
*/
|
|
@@ -2917,6 +3104,10 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
2917
3104
|
* A description of the mute config.
|
|
2918
3105
|
*/
|
|
2919
3106
|
description?: string | null;
|
|
3107
|
+
/**
|
|
3108
|
+
* 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.
|
|
3109
|
+
*/
|
|
3110
|
+
expiryTime?: string | null;
|
|
2920
3111
|
/**
|
|
2921
3112
|
* 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: `=`, `:`
|
|
2922
3113
|
*/
|
|
@@ -2926,7 +3117,7 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
2926
3117
|
*/
|
|
2927
3118
|
mostRecentEditor?: string | null;
|
|
2928
3119
|
/**
|
|
2929
|
-
* 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\}`
|
|
3120
|
+
* 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\}`
|
|
2930
3121
|
*/
|
|
2931
3122
|
name?: string | null;
|
|
2932
3123
|
/**
|
|
@@ -2938,6 +3129,19 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
2938
3129
|
*/
|
|
2939
3130
|
updateTime?: string | null;
|
|
2940
3131
|
}
|
|
3132
|
+
/**
|
|
3133
|
+
* Mute information about the finding, including whether the finding has a static mute or any matching dynamic mute rules.
|
|
3134
|
+
*/
|
|
3135
|
+
export interface Schema$GoogleCloudSecuritycenterV2MuteInfo {
|
|
3136
|
+
/**
|
|
3137
|
+
* The list of dynamic mute rules that currently match the finding.
|
|
3138
|
+
*/
|
|
3139
|
+
dynamicMuteRecords?: Schema$GoogleCloudSecuritycenterV2DynamicMuteRecord[];
|
|
3140
|
+
/**
|
|
3141
|
+
* If set, the static mute applied to this finding. Static mutes override dynamic mutes. If unset, there is no static mute.
|
|
3142
|
+
*/
|
|
3143
|
+
staticMute?: Schema$GoogleCloudSecuritycenterV2StaticMute;
|
|
3144
|
+
}
|
|
2941
3145
|
/**
|
|
2942
3146
|
* Kubernetes nodes associated with the finding.
|
|
2943
3147
|
*/
|
|
@@ -3195,6 +3399,10 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
3195
3399
|
* The AWS metadata associated with the finding.
|
|
3196
3400
|
*/
|
|
3197
3401
|
awsMetadata?: Schema$GoogleCloudSecuritycenterV2AwsMetadata;
|
|
3402
|
+
/**
|
|
3403
|
+
* The Azure metadata associated with the finding.
|
|
3404
|
+
*/
|
|
3405
|
+
azureMetadata?: Schema$GoogleCloudSecuritycenterV2AzureMetadata;
|
|
3198
3406
|
/**
|
|
3199
3407
|
* Indicates which cloud provider the finding is from.
|
|
3200
3408
|
*/
|
|
@@ -3220,7 +3428,7 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
3220
3428
|
*/
|
|
3221
3429
|
resourcePath?: Schema$GoogleCloudSecuritycenterV2ResourcePath;
|
|
3222
3430
|
/**
|
|
3223
|
-
* 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.
|
|
3431
|
+
* 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.
|
|
3224
3432
|
*/
|
|
3225
3433
|
resourcePathString?: string | null;
|
|
3226
3434
|
/**
|
|
@@ -3275,25 +3483,25 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
3275
3483
|
*/
|
|
3276
3484
|
description?: string | null;
|
|
3277
3485
|
/**
|
|
3278
|
-
* Name for the resource value configuration
|
|
3486
|
+
* Identifier. Name for the resource value configuration
|
|
3279
3487
|
*/
|
|
3280
3488
|
name?: string | null;
|
|
3281
3489
|
/**
|
|
3282
|
-
* List of resource labels to search for, evaluated with AND
|
|
3490
|
+
* 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
|
|
3283
3491
|
*/
|
|
3284
3492
|
resourceLabelsSelector?: {
|
|
3285
3493
|
[key: string]: string;
|
|
3286
3494
|
} | null;
|
|
3287
3495
|
/**
|
|
3288
|
-
* 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.
|
|
3496
|
+
* 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.
|
|
3289
3497
|
*/
|
|
3290
3498
|
resourceType?: string | null;
|
|
3291
3499
|
/**
|
|
3292
|
-
* Resource value level this expression represents Only required when there is no
|
|
3500
|
+
* Resource value level this expression represents Only required when there is no Sensitive Data Protection mapping in the request
|
|
3293
3501
|
*/
|
|
3294
3502
|
resourceValue?: string | null;
|
|
3295
3503
|
/**
|
|
3296
|
-
* 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.
|
|
3504
|
+
* 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.
|
|
3297
3505
|
*/
|
|
3298
3506
|
scope?: string | null;
|
|
3299
3507
|
/**
|
|
@@ -3301,7 +3509,7 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
3301
3509
|
*/
|
|
3302
3510
|
sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping;
|
|
3303
3511
|
/**
|
|
3304
|
-
*
|
|
3512
|
+
* 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
|
|
3305
3513
|
*/
|
|
3306
3514
|
tagValues?: string[] | null;
|
|
3307
3515
|
/**
|
|
@@ -3442,6 +3650,19 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
3442
3650
|
*/
|
|
3443
3651
|
principalSubject?: string | null;
|
|
3444
3652
|
}
|
|
3653
|
+
/**
|
|
3654
|
+
* 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.
|
|
3655
|
+
*/
|
|
3656
|
+
export interface Schema$GoogleCloudSecuritycenterV2StaticMute {
|
|
3657
|
+
/**
|
|
3658
|
+
* When the static mute was applied.
|
|
3659
|
+
*/
|
|
3660
|
+
applyTime?: string | null;
|
|
3661
|
+
/**
|
|
3662
|
+
* The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding's overall mute state will have the same value.
|
|
3663
|
+
*/
|
|
3664
|
+
state?: string | null;
|
|
3665
|
+
}
|
|
3445
3666
|
/**
|
|
3446
3667
|
* Represents a Kubernetes subject.
|
|
3447
3668
|
*/
|
|
@@ -3488,6 +3709,19 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
3488
3709
|
*/
|
|
3489
3710
|
uri?: string | null;
|
|
3490
3711
|
}
|
|
3712
|
+
/**
|
|
3713
|
+
* 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.
|
|
3714
|
+
*/
|
|
3715
|
+
export interface Schema$GoogleCloudSecuritycenterV2ToxicCombination {
|
|
3716
|
+
/**
|
|
3717
|
+
* 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.
|
|
3718
|
+
*/
|
|
3719
|
+
attackExposureScore?: number | null;
|
|
3720
|
+
/**
|
|
3721
|
+
* List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`.
|
|
3722
|
+
*/
|
|
3723
|
+
relatedFindings?: string[] | null;
|
|
3724
|
+
}
|
|
3491
3725
|
/**
|
|
3492
3726
|
* Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
|
|
3493
3727
|
*/
|
|
@@ -3606,6 +3840,19 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
3606
3840
|
*/
|
|
3607
3841
|
readTime?: string | null;
|
|
3608
3842
|
}
|
|
3843
|
+
/**
|
|
3844
|
+
* Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way.
|
|
3845
|
+
*/
|
|
3846
|
+
export interface Schema$GroupMembership {
|
|
3847
|
+
/**
|
|
3848
|
+
* ID of the group.
|
|
3849
|
+
*/
|
|
3850
|
+
groupId?: string | null;
|
|
3851
|
+
/**
|
|
3852
|
+
* Type of group.
|
|
3853
|
+
*/
|
|
3854
|
+
groupType?: string | null;
|
|
3855
|
+
}
|
|
3609
3856
|
/**
|
|
3610
3857
|
* Result containing the properties and count of a groupBy request.
|
|
3611
3858
|
*/
|
|
@@ -3883,6 +4130,19 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
3883
4130
|
*/
|
|
3884
4131
|
version?: string | null;
|
|
3885
4132
|
}
|
|
4133
|
+
/**
|
|
4134
|
+
* Mute information about the finding, including whether the finding has a static mute or any matching dynamic mute rules.
|
|
4135
|
+
*/
|
|
4136
|
+
export interface Schema$MuteInfo {
|
|
4137
|
+
/**
|
|
4138
|
+
* The list of dynamic mute rules that currently match the finding.
|
|
4139
|
+
*/
|
|
4140
|
+
dynamicMuteRecords?: Schema$DynamicMuteRecord[];
|
|
4141
|
+
/**
|
|
4142
|
+
* If set, the static mute applied to this finding. Static mutes override dynamic mutes. If unset, there is no static mute.
|
|
4143
|
+
*/
|
|
4144
|
+
staticMute?: Schema$StaticMute;
|
|
4145
|
+
}
|
|
3886
4146
|
/**
|
|
3887
4147
|
* Kubernetes nodes associated with the finding.
|
|
3888
4148
|
*/
|
|
@@ -4401,6 +4661,19 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
4401
4661
|
*/
|
|
4402
4662
|
name?: string | null;
|
|
4403
4663
|
}
|
|
4664
|
+
/**
|
|
4665
|
+
* 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.
|
|
4666
|
+
*/
|
|
4667
|
+
export interface Schema$StaticMute {
|
|
4668
|
+
/**
|
|
4669
|
+
* When the static mute was applied.
|
|
4670
|
+
*/
|
|
4671
|
+
applyTime?: string | null;
|
|
4672
|
+
/**
|
|
4673
|
+
* The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding's overall mute state will have the same value.
|
|
4674
|
+
*/
|
|
4675
|
+
state?: string | null;
|
|
4676
|
+
}
|
|
4404
4677
|
/**
|
|
4405
4678
|
* 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).
|
|
4406
4679
|
*/
|
|
@@ -4484,6 +4757,19 @@ export declare namespace securitycenter_v1beta1 {
|
|
|
4484
4757
|
*/
|
|
4485
4758
|
uri?: string | null;
|
|
4486
4759
|
}
|
|
4760
|
+
/**
|
|
4761
|
+
* 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.
|
|
4762
|
+
*/
|
|
4763
|
+
export interface Schema$ToxicCombination {
|
|
4764
|
+
/**
|
|
4765
|
+
* 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.
|
|
4766
|
+
*/
|
|
4767
|
+
attackExposureScore?: number | null;
|
|
4768
|
+
/**
|
|
4769
|
+
* List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`.
|
|
4770
|
+
*/
|
|
4771
|
+
relatedFindings?: string[] | null;
|
|
4772
|
+
}
|
|
4487
4773
|
/**
|
|
4488
4774
|
* Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
|
|
4489
4775
|
*/
|