@googleapis/securitycenter 8.1.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 +29 -0
- package/build/v1.d.ts +630 -168
- package/build/v1.js +193 -0
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +313 -27
- package/build/v1beta1.js.map +1 -1
- package/build/v1beta2.d.ts +339 -53
- package/build/v1beta2.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +1184 -229
- package/v1beta1.ts +313 -27
- package/v1beta2.ts +339 -53
package/v1.ts
CHANGED
|
@@ -308,7 +308,7 @@ export namespace securitycenter_v1 {
|
|
|
308
308
|
*/
|
|
309
309
|
export interface Schema$AttackExposure {
|
|
310
310
|
/**
|
|
311
|
-
* 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
|
|
311
|
+
* 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`
|
|
312
312
|
*/
|
|
313
313
|
attackExposureResult?: string | null;
|
|
314
314
|
/**
|
|
@@ -383,11 +383,11 @@ export namespace securitycenter_v1 {
|
|
|
383
383
|
*/
|
|
384
384
|
displayName?: string | null;
|
|
385
385
|
/**
|
|
386
|
-
* The name of the resource at this point in the attack path. The format of the name follows the Cloud Asset Inventory [resource name format](
|
|
386
|
+
* The name of the resource at this point in the attack path. The format of the name follows the Cloud Asset Inventory [resource name format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
|
|
387
387
|
*/
|
|
388
388
|
resource?: string | null;
|
|
389
389
|
/**
|
|
390
|
-
* The [supported resource type](https://cloud.google.com/asset-inventory/docs/supported-asset-types
|
|
390
|
+
* The [supported resource type](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
|
|
391
391
|
*/
|
|
392
392
|
resourceType?: string | null;
|
|
393
393
|
/**
|
|
@@ -498,6 +498,58 @@ export namespace securitycenter_v1 {
|
|
|
498
498
|
*/
|
|
499
499
|
name?: string | null;
|
|
500
500
|
}
|
|
501
|
+
/**
|
|
502
|
+
* Represents an Azure management group.
|
|
503
|
+
*/
|
|
504
|
+
export interface Schema$AzureManagementGroup {
|
|
505
|
+
/**
|
|
506
|
+
* The display name of the Azure management group.
|
|
507
|
+
*/
|
|
508
|
+
displayName?: string | null;
|
|
509
|
+
/**
|
|
510
|
+
* The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`.
|
|
511
|
+
*/
|
|
512
|
+
id?: string | null;
|
|
513
|
+
}
|
|
514
|
+
/**
|
|
515
|
+
* Azure metadata associated with the resource, only applicable if the finding's cloud provider is Microsoft Azure.
|
|
516
|
+
*/
|
|
517
|
+
export interface Schema$AzureMetadata {
|
|
518
|
+
/**
|
|
519
|
+
* A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level.
|
|
520
|
+
*/
|
|
521
|
+
managementGroups?: Schema$AzureManagementGroup[];
|
|
522
|
+
/**
|
|
523
|
+
* The Azure resource group associated with the resource.
|
|
524
|
+
*/
|
|
525
|
+
resourceGroup?: Schema$AzureResourceGroup;
|
|
526
|
+
/**
|
|
527
|
+
* The Azure subscription associated with the resource.
|
|
528
|
+
*/
|
|
529
|
+
subscription?: Schema$AzureSubscription;
|
|
530
|
+
}
|
|
531
|
+
/**
|
|
532
|
+
* Represents an Azure resource group.
|
|
533
|
+
*/
|
|
534
|
+
export interface Schema$AzureResourceGroup {
|
|
535
|
+
/**
|
|
536
|
+
* The name of the Azure resource group. This is not a UUID.
|
|
537
|
+
*/
|
|
538
|
+
name?: string | null;
|
|
539
|
+
}
|
|
540
|
+
/**
|
|
541
|
+
* Represents an Azure subscription.
|
|
542
|
+
*/
|
|
543
|
+
export interface Schema$AzureSubscription {
|
|
544
|
+
/**
|
|
545
|
+
* The display name of the Azure subscription.
|
|
546
|
+
*/
|
|
547
|
+
displayName?: string | null;
|
|
548
|
+
/**
|
|
549
|
+
* The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`.
|
|
550
|
+
*/
|
|
551
|
+
id?: string | null;
|
|
552
|
+
}
|
|
501
553
|
/**
|
|
502
554
|
* Information related to Google Cloud Backup and DR Service findings.
|
|
503
555
|
*/
|
|
@@ -590,6 +642,10 @@ export namespace securitycenter_v1 {
|
|
|
590
642
|
* This can be a mute configuration name or any identifier for mute/unmute of findings based on the filter.
|
|
591
643
|
*/
|
|
592
644
|
muteAnnotation?: string | null;
|
|
645
|
+
/**
|
|
646
|
+
* Optional. All findings matching the given filter will have their mute state set to this value. The default value is `MUTED`. Setting this to `UNDEFINED` will clear the mute state on all matching findings.
|
|
647
|
+
*/
|
|
648
|
+
muteState?: string | null;
|
|
593
649
|
}
|
|
594
650
|
/**
|
|
595
651
|
* Fields related to Google Cloud Armor findings.
|
|
@@ -849,6 +905,10 @@ export namespace securitycenter_v1 {
|
|
|
849
905
|
* The exploitation activity of the vulnerability in the wild.
|
|
850
906
|
*/
|
|
851
907
|
exploitationActivity?: string | null;
|
|
908
|
+
/**
|
|
909
|
+
* Date the first publicly available exploit or PoC was released.
|
|
910
|
+
*/
|
|
911
|
+
exploitReleaseDate?: string | null;
|
|
852
912
|
/**
|
|
853
913
|
* The unique identifier for the vulnerability. e.g. CVE-2021-34527
|
|
854
914
|
*/
|
|
@@ -970,6 +1030,19 @@ export namespace securitycenter_v1 {
|
|
|
970
1030
|
*/
|
|
971
1031
|
relativePath?: string | null;
|
|
972
1032
|
}
|
|
1033
|
+
/**
|
|
1034
|
+
* The record of a dynamic mute rule that matches the finding.
|
|
1035
|
+
*/
|
|
1036
|
+
export interface Schema$DynamicMuteRecord {
|
|
1037
|
+
/**
|
|
1038
|
+
* When the dynamic mute rule first matched the finding.
|
|
1039
|
+
*/
|
|
1040
|
+
matchTime?: string | null;
|
|
1041
|
+
/**
|
|
1042
|
+
* 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`.
|
|
1043
|
+
*/
|
|
1044
|
+
muteConfig?: string | null;
|
|
1045
|
+
}
|
|
973
1046
|
/**
|
|
974
1047
|
* An EffectiveEventThreatDetectionCustomModule is the representation of an Event Threat Detection custom module at a specified level of the resource hierarchy: organization, folder, or project. If a custom module is inherited from a parent organization or folder, the value of the `enablement_state` property in EffectiveEventThreatDetectionCustomModule is set to the value that is effective in the parent, instead of `INHERITED`. For example, if the module is enabled in a parent organization or folder, the effective `enablement_state` for the module in all child folders or projects is also `enabled`. EffectiveEventThreatDetectionCustomModule is read-only.
|
|
975
1048
|
*/
|
|
@@ -991,7 +1064,7 @@ export namespace securitycenter_v1 {
|
|
|
991
1064
|
*/
|
|
992
1065
|
enablementState?: string | null;
|
|
993
1066
|
/**
|
|
994
|
-
* Output only. The resource name of the effective ETD custom module. Its format is: *
|
|
1067
|
+
* Output only. The resource name of the effective ETD custom module. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}`. * `folders/{folder\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}`. * `projects/{project\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}`.
|
|
995
1068
|
*/
|
|
996
1069
|
name?: string | null;
|
|
997
1070
|
/**
|
|
@@ -1045,7 +1118,7 @@ export namespace securitycenter_v1 {
|
|
|
1045
1118
|
*/
|
|
1046
1119
|
lastEditor?: string | null;
|
|
1047
1120
|
/**
|
|
1048
|
-
* Immutable. The resource name of the Event Threat Detection custom module. Its format is: *
|
|
1121
|
+
* Immutable. The resource name of the Event Threat Detection custom module. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}`. * `folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}`. * `projects/{project\}/eventThreatDetectionSettings/customModules/{module\}`.
|
|
1049
1122
|
*/
|
|
1050
1123
|
name?: string | null;
|
|
1051
1124
|
/**
|
|
@@ -1235,6 +1308,10 @@ export namespace securitycenter_v1 {
|
|
|
1235
1308
|
* The class of the finding.
|
|
1236
1309
|
*/
|
|
1237
1310
|
findingClass?: string | null;
|
|
1311
|
+
/**
|
|
1312
|
+
* 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.
|
|
1313
|
+
*/
|
|
1314
|
+
groupMemberships?: Schema$GroupMembership[];
|
|
1238
1315
|
/**
|
|
1239
1316
|
* Represents IAM bindings associated with the finding.
|
|
1240
1317
|
*/
|
|
@@ -1271,6 +1348,10 @@ export namespace securitycenter_v1 {
|
|
|
1271
1348
|
* 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.
|
|
1272
1349
|
*/
|
|
1273
1350
|
mute?: string | null;
|
|
1351
|
+
/**
|
|
1352
|
+
* Output only. The mute information regarding this finding.
|
|
1353
|
+
*/
|
|
1354
|
+
muteInfo?: Schema$MuteInfo;
|
|
1274
1355
|
/**
|
|
1275
1356
|
* 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.
|
|
1276
1357
|
*/
|
|
@@ -1331,6 +1412,10 @@ export namespace securitycenter_v1 {
|
|
|
1331
1412
|
* The state of the finding.
|
|
1332
1413
|
*/
|
|
1333
1414
|
state?: string | null;
|
|
1415
|
+
/**
|
|
1416
|
+
* 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.
|
|
1417
|
+
*/
|
|
1418
|
+
toxicCombination?: Schema$ToxicCombination;
|
|
1334
1419
|
/**
|
|
1335
1420
|
* Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
|
|
1336
1421
|
*/
|
|
@@ -1604,6 +1689,10 @@ export namespace securitycenter_v1 {
|
|
|
1604
1689
|
* The human readable name to be displayed for the mute config.
|
|
1605
1690
|
*/
|
|
1606
1691
|
displayName?: string | null;
|
|
1692
|
+
/**
|
|
1693
|
+
* 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.
|
|
1694
|
+
*/
|
|
1695
|
+
expiryTime?: string | null;
|
|
1607
1696
|
/**
|
|
1608
1697
|
* 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: `=`, `:`
|
|
1609
1698
|
*/
|
|
@@ -1613,9 +1702,13 @@ export namespace securitycenter_v1 {
|
|
|
1613
1702
|
*/
|
|
1614
1703
|
mostRecentEditor?: string | null;
|
|
1615
1704
|
/**
|
|
1616
|
-
* This field will be ignored if provided on config creation. Format
|
|
1705
|
+
* 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\}`
|
|
1617
1706
|
*/
|
|
1618
1707
|
name?: string | null;
|
|
1708
|
+
/**
|
|
1709
|
+
* 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.
|
|
1710
|
+
*/
|
|
1711
|
+
type?: string | null;
|
|
1619
1712
|
/**
|
|
1620
1713
|
* 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.
|
|
1621
1714
|
*/
|
|
@@ -1801,6 +1894,10 @@ export namespace securitycenter_v1 {
|
|
|
1801
1894
|
* The AWS metadata associated with the finding.
|
|
1802
1895
|
*/
|
|
1803
1896
|
awsMetadata?: Schema$AwsMetadata;
|
|
1897
|
+
/**
|
|
1898
|
+
* The Azure metadata associated with the finding.
|
|
1899
|
+
*/
|
|
1900
|
+
azureMetadata?: Schema$AzureMetadata;
|
|
1804
1901
|
/**
|
|
1805
1902
|
* Indicates which cloud provider the resource resides in.
|
|
1806
1903
|
*/
|
|
@@ -1846,7 +1943,7 @@ export namespace securitycenter_v1 {
|
|
|
1846
1943
|
*/
|
|
1847
1944
|
resourcePath?: Schema$ResourcePath;
|
|
1848
1945
|
/**
|
|
1849
|
-
* 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.
|
|
1946
|
+
* 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.
|
|
1850
1947
|
*/
|
|
1851
1948
|
resourcePathString?: string | null;
|
|
1852
1949
|
/**
|
|
@@ -1868,7 +1965,7 @@ export namespace securitycenter_v1 {
|
|
|
1868
1965
|
resourceTypes?: string[] | null;
|
|
1869
1966
|
}
|
|
1870
1967
|
/**
|
|
1871
|
-
* A resource value
|
|
1968
|
+
* A resource value configuration (RVC) is a mapping configuration of user's resources to resource values. Used in Attack path simulations.
|
|
1872
1969
|
*/
|
|
1873
1970
|
export interface Schema$GoogleCloudSecuritycenterV1ResourceValueConfig {
|
|
1874
1971
|
/**
|
|
@@ -1876,23 +1973,23 @@ export namespace securitycenter_v1 {
|
|
|
1876
1973
|
*/
|
|
1877
1974
|
cloudProvider?: string | null;
|
|
1878
1975
|
/**
|
|
1879
|
-
* Output only. Timestamp this resource value
|
|
1976
|
+
* Output only. Timestamp this resource value configuration was created.
|
|
1880
1977
|
*/
|
|
1881
1978
|
createTime?: string | null;
|
|
1882
1979
|
/**
|
|
1883
|
-
* Description of the resource value
|
|
1980
|
+
* Description of the resource value configuration.
|
|
1884
1981
|
*/
|
|
1885
1982
|
description?: string | null;
|
|
1886
1983
|
/**
|
|
1887
|
-
* Name for the resource value
|
|
1984
|
+
* Name for the resource value configuration
|
|
1888
1985
|
*/
|
|
1889
1986
|
name?: string | null;
|
|
1890
1987
|
/**
|
|
1891
|
-
* List of resource labels to search for, evaluated with AND
|
|
1988
|
+
* 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
|
|
1892
1989
|
*/
|
|
1893
1990
|
resourceLabelsSelector?: {[key: string]: string} | null;
|
|
1894
1991
|
/**
|
|
1895
|
-
* Apply resource_value only to resources that match resource_type. resource_type will be checked with
|
|
1992
|
+
* 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.
|
|
1896
1993
|
*/
|
|
1897
1994
|
resourceType?: string | null;
|
|
1898
1995
|
/**
|
|
@@ -1900,7 +1997,7 @@ export namespace securitycenter_v1 {
|
|
|
1900
1997
|
*/
|
|
1901
1998
|
resourceValue?: string | null;
|
|
1902
1999
|
/**
|
|
1903
|
-
* Project or folder to scope this
|
|
2000
|
+
* 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.
|
|
1904
2001
|
*/
|
|
1905
2002
|
scope?: string | null;
|
|
1906
2003
|
/**
|
|
@@ -1908,11 +2005,11 @@ export namespace securitycenter_v1 {
|
|
|
1908
2005
|
*/
|
|
1909
2006
|
sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping;
|
|
1910
2007
|
/**
|
|
1911
|
-
* Required. Tag values combined with AND to check against. Values in the form "tagValues/123"
|
|
2008
|
+
* 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
|
|
1912
2009
|
*/
|
|
1913
2010
|
tagValues?: string[] | null;
|
|
1914
2011
|
/**
|
|
1915
|
-
* Output only. Timestamp this resource value
|
|
2012
|
+
* Output only. Timestamp this resource value configuration was last updated.
|
|
1916
2013
|
*/
|
|
1917
2014
|
updateTime?: string | null;
|
|
1918
2015
|
}
|
|
@@ -2101,7 +2198,7 @@ export namespace securitycenter_v1 {
|
|
|
2101
2198
|
*/
|
|
2102
2199
|
export interface Schema$GoogleCloudSecuritycenterV2AttackExposure {
|
|
2103
2200
|
/**
|
|
2104
|
-
* 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
|
|
2201
|
+
* 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`
|
|
2105
2202
|
*/
|
|
2106
2203
|
attackExposureResult?: string | null;
|
|
2107
2204
|
/**
|
|
@@ -2181,6 +2278,58 @@ export namespace securitycenter_v1 {
|
|
|
2181
2278
|
*/
|
|
2182
2279
|
name?: string | null;
|
|
2183
2280
|
}
|
|
2281
|
+
/**
|
|
2282
|
+
* Represents an Azure management group.
|
|
2283
|
+
*/
|
|
2284
|
+
export interface Schema$GoogleCloudSecuritycenterV2AzureManagementGroup {
|
|
2285
|
+
/**
|
|
2286
|
+
* The display name of the Azure management group.
|
|
2287
|
+
*/
|
|
2288
|
+
displayName?: string | null;
|
|
2289
|
+
/**
|
|
2290
|
+
* The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`.
|
|
2291
|
+
*/
|
|
2292
|
+
id?: string | null;
|
|
2293
|
+
}
|
|
2294
|
+
/**
|
|
2295
|
+
* Azure metadata associated with the resource, only applicable if the finding's cloud provider is Microsoft Azure.
|
|
2296
|
+
*/
|
|
2297
|
+
export interface Schema$GoogleCloudSecuritycenterV2AzureMetadata {
|
|
2298
|
+
/**
|
|
2299
|
+
* A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level.
|
|
2300
|
+
*/
|
|
2301
|
+
managementGroups?: Schema$GoogleCloudSecuritycenterV2AzureManagementGroup[];
|
|
2302
|
+
/**
|
|
2303
|
+
* The Azure resource group associated with the resource.
|
|
2304
|
+
*/
|
|
2305
|
+
resourceGroup?: Schema$GoogleCloudSecuritycenterV2AzureResourceGroup;
|
|
2306
|
+
/**
|
|
2307
|
+
* The Azure subscription associated with the resource.
|
|
2308
|
+
*/
|
|
2309
|
+
subscription?: Schema$GoogleCloudSecuritycenterV2AzureSubscription;
|
|
2310
|
+
}
|
|
2311
|
+
/**
|
|
2312
|
+
* Represents an Azure resource group.
|
|
2313
|
+
*/
|
|
2314
|
+
export interface Schema$GoogleCloudSecuritycenterV2AzureResourceGroup {
|
|
2315
|
+
/**
|
|
2316
|
+
* The name of the Azure resource group. This is not a UUID.
|
|
2317
|
+
*/
|
|
2318
|
+
name?: string | null;
|
|
2319
|
+
}
|
|
2320
|
+
/**
|
|
2321
|
+
* Represents an Azure subscription.
|
|
2322
|
+
*/
|
|
2323
|
+
export interface Schema$GoogleCloudSecuritycenterV2AzureSubscription {
|
|
2324
|
+
/**
|
|
2325
|
+
* The display name of the Azure subscription.
|
|
2326
|
+
*/
|
|
2327
|
+
displayName?: string | null;
|
|
2328
|
+
/**
|
|
2329
|
+
* The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`.
|
|
2330
|
+
*/
|
|
2331
|
+
id?: string | null;
|
|
2332
|
+
}
|
|
2184
2333
|
/**
|
|
2185
2334
|
* Information related to Google Cloud Backup and DR Service findings.
|
|
2186
2335
|
*/
|
|
@@ -2235,7 +2384,7 @@ export namespace securitycenter_v1 {
|
|
|
2235
2384
|
*/
|
|
2236
2385
|
createTime?: string | null;
|
|
2237
2386
|
/**
|
|
2238
|
-
* The dataset to write findings' updates to. Its format is "projects/[project_id]/datasets/[bigquery_dataset_id]". BigQuery
|
|
2387
|
+
* 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 (_).
|
|
2239
2388
|
*/
|
|
2240
2389
|
dataset?: string | null;
|
|
2241
2390
|
/**
|
|
@@ -2251,7 +2400,7 @@ export namespace securitycenter_v1 {
|
|
|
2251
2400
|
*/
|
|
2252
2401
|
mostRecentEditor?: string | null;
|
|
2253
2402
|
/**
|
|
2254
|
-
* 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.
|
|
2403
|
+
* 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.
|
|
2255
2404
|
*/
|
|
2256
2405
|
name?: string | null;
|
|
2257
2406
|
/**
|
|
@@ -2469,6 +2618,10 @@ export namespace securitycenter_v1 {
|
|
|
2469
2618
|
* The exploitation activity of the vulnerability in the wild.
|
|
2470
2619
|
*/
|
|
2471
2620
|
exploitationActivity?: string | null;
|
|
2621
|
+
/**
|
|
2622
|
+
* Date the first publicly available exploit or PoC was released.
|
|
2623
|
+
*/
|
|
2624
|
+
exploitReleaseDate?: string | null;
|
|
2472
2625
|
/**
|
|
2473
2626
|
* The unique identifier for the vulnerability. e.g. CVE-2021-34527
|
|
2474
2627
|
*/
|
|
@@ -2590,6 +2743,19 @@ export namespace securitycenter_v1 {
|
|
|
2590
2743
|
*/
|
|
2591
2744
|
relativePath?: string | null;
|
|
2592
2745
|
}
|
|
2746
|
+
/**
|
|
2747
|
+
* The record of a dynamic mute rule that matches the finding.
|
|
2748
|
+
*/
|
|
2749
|
+
export interface Schema$GoogleCloudSecuritycenterV2DynamicMuteRecord {
|
|
2750
|
+
/**
|
|
2751
|
+
* When the dynamic mute rule first matched the finding.
|
|
2752
|
+
*/
|
|
2753
|
+
matchTime?: string | null;
|
|
2754
|
+
/**
|
|
2755
|
+
* 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`.
|
|
2756
|
+
*/
|
|
2757
|
+
muteConfig?: string | null;
|
|
2758
|
+
}
|
|
2593
2759
|
/**
|
|
2594
2760
|
* A name-value pair representing an environment variable used in an operating system process.
|
|
2595
2761
|
*/
|
|
@@ -2811,6 +2977,10 @@ export namespace securitycenter_v1 {
|
|
|
2811
2977
|
* The class of the finding.
|
|
2812
2978
|
*/
|
|
2813
2979
|
findingClass?: string | null;
|
|
2980
|
+
/**
|
|
2981
|
+
* 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.
|
|
2982
|
+
*/
|
|
2983
|
+
groupMemberships?: Schema$GoogleCloudSecuritycenterV2GroupMembership[];
|
|
2814
2984
|
/**
|
|
2815
2985
|
* Represents IAM bindings associated with the finding.
|
|
2816
2986
|
*/
|
|
@@ -2847,6 +3017,10 @@ export namespace securitycenter_v1 {
|
|
|
2847
3017
|
* 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.
|
|
2848
3018
|
*/
|
|
2849
3019
|
mute?: string | null;
|
|
3020
|
+
/**
|
|
3021
|
+
* Output only. The mute information regarding this finding.
|
|
3022
|
+
*/
|
|
3023
|
+
muteInfo?: Schema$GoogleCloudSecuritycenterV2MuteInfo;
|
|
2850
3024
|
/**
|
|
2851
3025
|
* 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.
|
|
2852
3026
|
*/
|
|
@@ -2907,6 +3081,10 @@ export namespace securitycenter_v1 {
|
|
|
2907
3081
|
* Output only. The state of the finding.
|
|
2908
3082
|
*/
|
|
2909
3083
|
state?: string | null;
|
|
3084
|
+
/**
|
|
3085
|
+
* 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.
|
|
3086
|
+
*/
|
|
3087
|
+
toxicCombination?: Schema$GoogleCloudSecuritycenterV2ToxicCombination;
|
|
2910
3088
|
/**
|
|
2911
3089
|
* Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
|
|
2912
3090
|
*/
|
|
@@ -2934,6 +3112,19 @@ export namespace securitycenter_v1 {
|
|
|
2934
3112
|
*/
|
|
2935
3113
|
regionCode?: string | null;
|
|
2936
3114
|
}
|
|
3115
|
+
/**
|
|
3116
|
+
* Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way.
|
|
3117
|
+
*/
|
|
3118
|
+
export interface Schema$GoogleCloudSecuritycenterV2GroupMembership {
|
|
3119
|
+
/**
|
|
3120
|
+
* ID of the group.
|
|
3121
|
+
*/
|
|
3122
|
+
groupId?: string | null;
|
|
3123
|
+
/**
|
|
3124
|
+
* Type of group.
|
|
3125
|
+
*/
|
|
3126
|
+
groupType?: string | null;
|
|
3127
|
+
}
|
|
2937
3128
|
/**
|
|
2938
3129
|
* Represents a particular IAM binding, which captures a member's role addition, removal, or state.
|
|
2939
3130
|
*/
|
|
@@ -3127,6 +3318,10 @@ export namespace securitycenter_v1 {
|
|
|
3127
3318
|
* A description of the mute config.
|
|
3128
3319
|
*/
|
|
3129
3320
|
description?: string | null;
|
|
3321
|
+
/**
|
|
3322
|
+
* 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.
|
|
3323
|
+
*/
|
|
3324
|
+
expiryTime?: string | null;
|
|
3130
3325
|
/**
|
|
3131
3326
|
* 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: `=`, `:`
|
|
3132
3327
|
*/
|
|
@@ -3136,7 +3331,7 @@ export namespace securitycenter_v1 {
|
|
|
3136
3331
|
*/
|
|
3137
3332
|
mostRecentEditor?: string | null;
|
|
3138
3333
|
/**
|
|
3139
|
-
* 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\}`
|
|
3334
|
+
* 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\}`
|
|
3140
3335
|
*/
|
|
3141
3336
|
name?: string | null;
|
|
3142
3337
|
/**
|
|
@@ -3148,6 +3343,19 @@ export namespace securitycenter_v1 {
|
|
|
3148
3343
|
*/
|
|
3149
3344
|
updateTime?: string | null;
|
|
3150
3345
|
}
|
|
3346
|
+
/**
|
|
3347
|
+
* Mute information about the finding, including whether the finding has a static mute or any matching dynamic mute rules.
|
|
3348
|
+
*/
|
|
3349
|
+
export interface Schema$GoogleCloudSecuritycenterV2MuteInfo {
|
|
3350
|
+
/**
|
|
3351
|
+
* The list of dynamic mute rules that currently match the finding.
|
|
3352
|
+
*/
|
|
3353
|
+
dynamicMuteRecords?: Schema$GoogleCloudSecuritycenterV2DynamicMuteRecord[];
|
|
3354
|
+
/**
|
|
3355
|
+
* If set, the static mute applied to this finding. Static mutes override dynamic mutes. If unset, there is no static mute.
|
|
3356
|
+
*/
|
|
3357
|
+
staticMute?: Schema$GoogleCloudSecuritycenterV2StaticMute;
|
|
3358
|
+
}
|
|
3151
3359
|
/**
|
|
3152
3360
|
* Kubernetes nodes associated with the finding.
|
|
3153
3361
|
*/
|
|
@@ -3405,6 +3613,10 @@ export namespace securitycenter_v1 {
|
|
|
3405
3613
|
* The AWS metadata associated with the finding.
|
|
3406
3614
|
*/
|
|
3407
3615
|
awsMetadata?: Schema$GoogleCloudSecuritycenterV2AwsMetadata;
|
|
3616
|
+
/**
|
|
3617
|
+
* The Azure metadata associated with the finding.
|
|
3618
|
+
*/
|
|
3619
|
+
azureMetadata?: Schema$GoogleCloudSecuritycenterV2AzureMetadata;
|
|
3408
3620
|
/**
|
|
3409
3621
|
* Indicates which cloud provider the finding is from.
|
|
3410
3622
|
*/
|
|
@@ -3430,7 +3642,7 @@ export namespace securitycenter_v1 {
|
|
|
3430
3642
|
*/
|
|
3431
3643
|
resourcePath?: Schema$GoogleCloudSecuritycenterV2ResourcePath;
|
|
3432
3644
|
/**
|
|
3433
|
-
* 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.
|
|
3645
|
+
* 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.
|
|
3434
3646
|
*/
|
|
3435
3647
|
resourcePathString?: string | null;
|
|
3436
3648
|
/**
|
|
@@ -3469,7 +3681,7 @@ export namespace securitycenter_v1 {
|
|
|
3469
3681
|
nodeType?: string | null;
|
|
3470
3682
|
}
|
|
3471
3683
|
/**
|
|
3472
|
-
* A resource value
|
|
3684
|
+
* A resource value configuration (RVC) is a mapping configuration of user's resources to resource values. Used in Attack path simulations.
|
|
3473
3685
|
*/
|
|
3474
3686
|
export interface Schema$GoogleCloudSecuritycenterV2ResourceValueConfig {
|
|
3475
3687
|
/**
|
|
@@ -3477,31 +3689,31 @@ export namespace securitycenter_v1 {
|
|
|
3477
3689
|
*/
|
|
3478
3690
|
cloudProvider?: string | null;
|
|
3479
3691
|
/**
|
|
3480
|
-
* Output only. Timestamp this resource value
|
|
3692
|
+
* Output only. Timestamp this resource value configuration was created.
|
|
3481
3693
|
*/
|
|
3482
3694
|
createTime?: string | null;
|
|
3483
3695
|
/**
|
|
3484
|
-
* Description of the resource value
|
|
3696
|
+
* Description of the resource value configuration.
|
|
3485
3697
|
*/
|
|
3486
3698
|
description?: string | null;
|
|
3487
3699
|
/**
|
|
3488
|
-
* Name for the resource value
|
|
3700
|
+
* Identifier. Name for the resource value configuration
|
|
3489
3701
|
*/
|
|
3490
3702
|
name?: string | null;
|
|
3491
3703
|
/**
|
|
3492
|
-
* List of resource labels to search for, evaluated with AND
|
|
3704
|
+
* 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
|
|
3493
3705
|
*/
|
|
3494
3706
|
resourceLabelsSelector?: {[key: string]: string} | null;
|
|
3495
3707
|
/**
|
|
3496
|
-
* Apply resource_value only to resources that match resource_type. resource_type will be checked with
|
|
3708
|
+
* 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.
|
|
3497
3709
|
*/
|
|
3498
3710
|
resourceType?: string | null;
|
|
3499
3711
|
/**
|
|
3500
|
-
* Resource value level this expression represents Only required when there is no
|
|
3712
|
+
* Resource value level this expression represents Only required when there is no Sensitive Data Protection mapping in the request
|
|
3501
3713
|
*/
|
|
3502
3714
|
resourceValue?: string | null;
|
|
3503
3715
|
/**
|
|
3504
|
-
* Project or folder to scope this
|
|
3716
|
+
* 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.
|
|
3505
3717
|
*/
|
|
3506
3718
|
scope?: string | null;
|
|
3507
3719
|
/**
|
|
@@ -3509,11 +3721,11 @@ export namespace securitycenter_v1 {
|
|
|
3509
3721
|
*/
|
|
3510
3722
|
sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping;
|
|
3511
3723
|
/**
|
|
3512
|
-
*
|
|
3724
|
+
* 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
|
|
3513
3725
|
*/
|
|
3514
3726
|
tagValues?: string[] | null;
|
|
3515
3727
|
/**
|
|
3516
|
-
* Output only. Timestamp this resource value
|
|
3728
|
+
* Output only. Timestamp this resource value configuration was last updated.
|
|
3517
3729
|
*/
|
|
3518
3730
|
updateTime?: string | null;
|
|
3519
3731
|
}
|
|
@@ -3648,6 +3860,19 @@ export namespace securitycenter_v1 {
|
|
|
3648
3860
|
*/
|
|
3649
3861
|
principalSubject?: string | null;
|
|
3650
3862
|
}
|
|
3863
|
+
/**
|
|
3864
|
+
* 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.
|
|
3865
|
+
*/
|
|
3866
|
+
export interface Schema$GoogleCloudSecuritycenterV2StaticMute {
|
|
3867
|
+
/**
|
|
3868
|
+
* When the static mute was applied.
|
|
3869
|
+
*/
|
|
3870
|
+
applyTime?: string | null;
|
|
3871
|
+
/**
|
|
3872
|
+
* The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding's overall mute state will have the same value.
|
|
3873
|
+
*/
|
|
3874
|
+
state?: string | null;
|
|
3875
|
+
}
|
|
3651
3876
|
/**
|
|
3652
3877
|
* Represents a Kubernetes subject.
|
|
3653
3878
|
*/
|
|
@@ -3694,6 +3919,19 @@ export namespace securitycenter_v1 {
|
|
|
3694
3919
|
*/
|
|
3695
3920
|
uri?: string | null;
|
|
3696
3921
|
}
|
|
3922
|
+
/**
|
|
3923
|
+
* 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.
|
|
3924
|
+
*/
|
|
3925
|
+
export interface Schema$GoogleCloudSecuritycenterV2ToxicCombination {
|
|
3926
|
+
/**
|
|
3927
|
+
* 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.
|
|
3928
|
+
*/
|
|
3929
|
+
attackExposureScore?: number | null;
|
|
3930
|
+
/**
|
|
3931
|
+
* List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`.
|
|
3932
|
+
*/
|
|
3933
|
+
relatedFindings?: string[] | null;
|
|
3934
|
+
}
|
|
3697
3935
|
/**
|
|
3698
3936
|
* Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
|
|
3699
3937
|
*/
|
|
@@ -3824,6 +4062,19 @@ export namespace securitycenter_v1 {
|
|
|
3824
4062
|
*/
|
|
3825
4063
|
totalSize?: number | null;
|
|
3826
4064
|
}
|
|
4065
|
+
/**
|
|
4066
|
+
* Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way.
|
|
4067
|
+
*/
|
|
4068
|
+
export interface Schema$GroupMembership {
|
|
4069
|
+
/**
|
|
4070
|
+
* ID of the group.
|
|
4071
|
+
*/
|
|
4072
|
+
groupId?: string | null;
|
|
4073
|
+
/**
|
|
4074
|
+
* Type of group.
|
|
4075
|
+
*/
|
|
4076
|
+
groupType?: string | null;
|
|
4077
|
+
}
|
|
3827
4078
|
/**
|
|
3828
4079
|
* Result containing the properties and count of a groupBy request.
|
|
3829
4080
|
*/
|
|
@@ -4285,6 +4536,19 @@ export namespace securitycenter_v1 {
|
|
|
4285
4536
|
*/
|
|
4286
4537
|
version?: string | null;
|
|
4287
4538
|
}
|
|
4539
|
+
/**
|
|
4540
|
+
* Mute information about the finding, including whether the finding has a static mute or any matching dynamic mute rules.
|
|
4541
|
+
*/
|
|
4542
|
+
export interface Schema$MuteInfo {
|
|
4543
|
+
/**
|
|
4544
|
+
* The list of dynamic mute rules that currently match the finding.
|
|
4545
|
+
*/
|
|
4546
|
+
dynamicMuteRecords?: Schema$DynamicMuteRecord[];
|
|
4547
|
+
/**
|
|
4548
|
+
* If set, the static mute applied to this finding. Static mutes override dynamic mutes. If unset, there is no static mute.
|
|
4549
|
+
*/
|
|
4550
|
+
staticMute?: Schema$StaticMute;
|
|
4551
|
+
}
|
|
4288
4552
|
/**
|
|
4289
4553
|
* Kubernetes nodes associated with the finding.
|
|
4290
4554
|
*/
|
|
@@ -4455,7 +4719,7 @@ export namespace securitycenter_v1 {
|
|
|
4455
4719
|
*/
|
|
4456
4720
|
export interface Schema$PathNodeAssociatedFinding {
|
|
4457
4721
|
/**
|
|
4458
|
-
* Canonical name of the associated findings. Example: organizations/123/sources/456/findings/789
|
|
4722
|
+
* Canonical name of the associated findings. Example: `organizations/123/sources/456/findings/789`
|
|
4459
4723
|
*/
|
|
4460
4724
|
canonicalFinding?: string | null;
|
|
4461
4725
|
/**
|
|
@@ -4637,6 +4901,10 @@ export namespace securitycenter_v1 {
|
|
|
4637
4901
|
* The AWS metadata associated with the finding.
|
|
4638
4902
|
*/
|
|
4639
4903
|
awsMetadata?: Schema$AwsMetadata;
|
|
4904
|
+
/**
|
|
4905
|
+
* The Azure metadata associated with the finding.
|
|
4906
|
+
*/
|
|
4907
|
+
azureMetadata?: Schema$AzureMetadata;
|
|
4640
4908
|
/**
|
|
4641
4909
|
* Indicates which cloud provider the finding is from.
|
|
4642
4910
|
*/
|
|
@@ -4682,7 +4950,7 @@ export namespace securitycenter_v1 {
|
|
|
4682
4950
|
*/
|
|
4683
4951
|
resourcePath?: Schema$ResourcePath;
|
|
4684
4952
|
/**
|
|
4685
|
-
* A string representation of the resource path. For Google Cloud, it has the format of org/{organization_id\}/folder/{folder_id\}/folder/{folder_id\}/project/{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.
|
|
4953
|
+
* A string representation of the resource path. For Google Cloud, it has the format of `org/{organization_id\}/folder/{folder_id\}/folder/{folder_id\}/project/{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.
|
|
4686
4954
|
*/
|
|
4687
4955
|
resourcePathString?: string | null;
|
|
4688
4956
|
/**
|
|
@@ -4996,7 +5264,7 @@ export namespace securitycenter_v1 {
|
|
|
4996
5264
|
*/
|
|
4997
5265
|
createTime?: string | null;
|
|
4998
5266
|
/**
|
|
4999
|
-
* Full resource name of the Simulation: organizations/123/simulations/456
|
|
5267
|
+
* Full resource name of the Simulation: `organizations/123/simulations/456`
|
|
5000
5268
|
*/
|
|
5001
5269
|
name?: string | null;
|
|
5002
5270
|
/**
|
|
@@ -5025,6 +5293,19 @@ export namespace securitycenter_v1 {
|
|
|
5025
5293
|
*/
|
|
5026
5294
|
name?: string | null;
|
|
5027
5295
|
}
|
|
5296
|
+
/**
|
|
5297
|
+
* 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.
|
|
5298
|
+
*/
|
|
5299
|
+
export interface Schema$StaticMute {
|
|
5300
|
+
/**
|
|
5301
|
+
* When the static mute was applied.
|
|
5302
|
+
*/
|
|
5303
|
+
applyTime?: string | null;
|
|
5304
|
+
/**
|
|
5305
|
+
* The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding's overall mute state will have the same value.
|
|
5306
|
+
*/
|
|
5307
|
+
state?: string | null;
|
|
5308
|
+
}
|
|
5028
5309
|
/**
|
|
5029
5310
|
* 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).
|
|
5030
5311
|
*/
|
|
@@ -5115,6 +5396,19 @@ export namespace securitycenter_v1 {
|
|
|
5115
5396
|
*/
|
|
5116
5397
|
uri?: string | null;
|
|
5117
5398
|
}
|
|
5399
|
+
/**
|
|
5400
|
+
* 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.
|
|
5401
|
+
*/
|
|
5402
|
+
export interface Schema$ToxicCombination {
|
|
5403
|
+
/**
|
|
5404
|
+
* 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.
|
|
5405
|
+
*/
|
|
5406
|
+
attackExposureScore?: number | null;
|
|
5407
|
+
/**
|
|
5408
|
+
* List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`.
|
|
5409
|
+
*/
|
|
5410
|
+
relatedFindings?: string[] | null;
|
|
5411
|
+
}
|
|
5118
5412
|
/**
|
|
5119
5413
|
* Request to validate an Event Threat Detection custom module.
|
|
5120
5414
|
*/
|
|
@@ -5542,7 +5836,7 @@ export namespace securitycenter_v1 {
|
|
|
5542
5836
|
export interface Params$Resource$Folders$Assets$Group
|
|
5543
5837
|
extends StandardParameters {
|
|
5544
5838
|
/**
|
|
5545
|
-
* Required. The name of the parent to group the assets by. Its format is
|
|
5839
|
+
* Required. The name of the parent to group the assets by. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
5546
5840
|
*/
|
|
5547
5841
|
parent?: string;
|
|
5548
5842
|
|
|
@@ -5578,7 +5872,7 @@ export namespace securitycenter_v1 {
|
|
|
5578
5872
|
*/
|
|
5579
5873
|
pageToken?: string;
|
|
5580
5874
|
/**
|
|
5581
|
-
* Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values:
|
|
5875
|
+
* Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
5582
5876
|
*/
|
|
5583
5877
|
parent?: string;
|
|
5584
5878
|
/**
|
|
@@ -6091,7 +6385,7 @@ export namespace securitycenter_v1 {
|
|
|
6091
6385
|
*/
|
|
6092
6386
|
bigQueryExportId?: string;
|
|
6093
6387
|
/**
|
|
6094
|
-
* Required. The name of the parent resource of the new BigQuery export. Its format is
|
|
6388
|
+
* Required. The name of the parent resource of the new BigQuery export. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
6095
6389
|
*/
|
|
6096
6390
|
parent?: string;
|
|
6097
6391
|
|
|
@@ -6103,14 +6397,14 @@ export namespace securitycenter_v1 {
|
|
|
6103
6397
|
export interface Params$Resource$Folders$Bigqueryexports$Delete
|
|
6104
6398
|
extends StandardParameters {
|
|
6105
6399
|
/**
|
|
6106
|
-
* Required. The name of the BigQuery export to delete. Its format is organizations/{organization\}/bigQueryExports/{export_id\}
|
|
6400
|
+
* Required. The name of the BigQuery export to delete. Its format is `organizations/{organization\}/bigQueryExports/{export_id\}`, `folders/{folder\}/bigQueryExports/{export_id\}`, or `projects/{project\}/bigQueryExports/{export_id\}`
|
|
6107
6401
|
*/
|
|
6108
6402
|
name?: string;
|
|
6109
6403
|
}
|
|
6110
6404
|
export interface Params$Resource$Folders$Bigqueryexports$Get
|
|
6111
6405
|
extends StandardParameters {
|
|
6112
6406
|
/**
|
|
6113
|
-
* Required. Name of the BigQuery export to retrieve. Its format is organizations/{organization\}/bigQueryExports/{export_id\}
|
|
6407
|
+
* Required. Name of the BigQuery export to retrieve. Its format is `organizations/{organization\}/bigQueryExports/{export_id\}`, `folders/{folder\}/bigQueryExports/{export_id\}`, or `projects/{project\}/bigQueryExports/{export_id\}`
|
|
6114
6408
|
*/
|
|
6115
6409
|
name?: string;
|
|
6116
6410
|
}
|
|
@@ -6125,7 +6419,7 @@ export namespace securitycenter_v1 {
|
|
|
6125
6419
|
*/
|
|
6126
6420
|
pageToken?: string;
|
|
6127
6421
|
/**
|
|
6128
|
-
* Required. The parent, which owns the collection of BigQuery exports. Its format is
|
|
6422
|
+
* Required. The parent, which owns the collection of BigQuery exports. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.
|
|
6129
6423
|
*/
|
|
6130
6424
|
parent?: string;
|
|
6131
6425
|
}
|
|
@@ -6265,7 +6559,7 @@ export namespace securitycenter_v1 {
|
|
|
6265
6559
|
export interface Params$Resource$Folders$Eventthreatdetectionsettings$Validatecustommodule
|
|
6266
6560
|
extends StandardParameters {
|
|
6267
6561
|
/**
|
|
6268
|
-
* Required. Resource name of the parent to validate the Custom Module under. Its format is: *
|
|
6562
|
+
* Required. Resource name of the parent to validate the Custom Module under. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings`. * `folders/{folder\}/eventThreatDetectionSettings`. * `projects/{project\}/eventThreatDetectionSettings`.
|
|
6269
6563
|
*/
|
|
6270
6564
|
parent?: string;
|
|
6271
6565
|
|
|
@@ -6860,7 +7154,7 @@ export namespace securitycenter_v1 {
|
|
|
6860
7154
|
export interface Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Create
|
|
6861
7155
|
extends StandardParameters {
|
|
6862
7156
|
/**
|
|
6863
|
-
* Required. The new custom module's parent. Its format is: *
|
|
7157
|
+
* Required. The new custom module's parent. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings`. * `folders/{folder\}/eventThreatDetectionSettings`. * `projects/{project\}/eventThreatDetectionSettings`.
|
|
6864
7158
|
*/
|
|
6865
7159
|
parent?: string;
|
|
6866
7160
|
|
|
@@ -6872,14 +7166,14 @@ export namespace securitycenter_v1 {
|
|
|
6872
7166
|
export interface Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Delete
|
|
6873
7167
|
extends StandardParameters {
|
|
6874
7168
|
/**
|
|
6875
|
-
* Required. Name of the custom module to delete. Its format is: *
|
|
7169
|
+
* Required. Name of the custom module to delete. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}`. * `folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}`. * `projects/{project\}/eventThreatDetectionSettings/customModules/{module\}`.
|
|
6876
7170
|
*/
|
|
6877
7171
|
name?: string;
|
|
6878
7172
|
}
|
|
6879
7173
|
export interface Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Get
|
|
6880
7174
|
extends StandardParameters {
|
|
6881
7175
|
/**
|
|
6882
|
-
* Required. Name of the custom module to get. Its format is: *
|
|
7176
|
+
* Required. Name of the custom module to get. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}`. * `folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}`. * `projects/{project\}/eventThreatDetectionSettings/customModules/{module\}`.
|
|
6883
7177
|
*/
|
|
6884
7178
|
name?: string;
|
|
6885
7179
|
}
|
|
@@ -6894,7 +7188,7 @@ export namespace securitycenter_v1 {
|
|
|
6894
7188
|
*/
|
|
6895
7189
|
pageToken?: string;
|
|
6896
7190
|
/**
|
|
6897
|
-
* Required. Name of the parent to list custom modules under. Its format is: *
|
|
7191
|
+
* Required. Name of the parent to list custom modules under. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings`. * `folders/{folder\}/eventThreatDetectionSettings`. * `projects/{project\}/eventThreatDetectionSettings`.
|
|
6898
7192
|
*/
|
|
6899
7193
|
parent?: string;
|
|
6900
7194
|
}
|
|
@@ -6909,14 +7203,14 @@ export namespace securitycenter_v1 {
|
|
|
6909
7203
|
*/
|
|
6910
7204
|
pageToken?: string;
|
|
6911
7205
|
/**
|
|
6912
|
-
* Required. Name of the parent to list custom modules under. Its format is: *
|
|
7206
|
+
* Required. Name of the parent to list custom modules under. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings`. * `folders/{folder\}/eventThreatDetectionSettings`. * `projects/{project\}/eventThreatDetectionSettings`.
|
|
6913
7207
|
*/
|
|
6914
7208
|
parent?: string;
|
|
6915
7209
|
}
|
|
6916
7210
|
export interface Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Patch
|
|
6917
7211
|
extends StandardParameters {
|
|
6918
7212
|
/**
|
|
6919
|
-
* Immutable. The resource name of the Event Threat Detection custom module. Its format is: *
|
|
7213
|
+
* Immutable. The resource name of the Event Threat Detection custom module. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}`. * `folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}`. * `projects/{project\}/eventThreatDetectionSettings/customModules/{module\}`.
|
|
6920
7214
|
*/
|
|
6921
7215
|
name?: string;
|
|
6922
7216
|
/**
|
|
@@ -7135,7 +7429,7 @@ export namespace securitycenter_v1 {
|
|
|
7135
7429
|
export interface Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$Get
|
|
7136
7430
|
extends StandardParameters {
|
|
7137
7431
|
/**
|
|
7138
|
-
* Required. The resource name of the effective Event Threat Detection custom module. Its format is: *
|
|
7432
|
+
* Required. The resource name of the effective Event Threat Detection custom module. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}`. * `folders/{folder\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}`. * `projects/{project\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}`.
|
|
7139
7433
|
*/
|
|
7140
7434
|
name?: string;
|
|
7141
7435
|
}
|
|
@@ -7150,7 +7444,7 @@ export namespace securitycenter_v1 {
|
|
|
7150
7444
|
*/
|
|
7151
7445
|
pageToken?: string;
|
|
7152
7446
|
/**
|
|
7153
|
-
* Required. Name of the parent to list custom modules for. Its format is: *
|
|
7447
|
+
* Required. Name of the parent to list custom modules for. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings`. * `folders/{folder\}/eventThreatDetectionSettings`. * `projects/{project\}/eventThreatDetectionSettings`.
|
|
7154
7448
|
*/
|
|
7155
7449
|
parent?: string;
|
|
7156
7450
|
}
|
|
@@ -7254,7 +7548,7 @@ export namespace securitycenter_v1 {
|
|
|
7254
7548
|
export interface Params$Resource$Folders$Findings$Bulkmute
|
|
7255
7549
|
extends StandardParameters {
|
|
7256
7550
|
/**
|
|
7257
|
-
* Required. The parent, at which bulk action needs to be applied. Its format is
|
|
7551
|
+
* Required. The parent, at which bulk action needs to be applied. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.
|
|
7258
7552
|
*/
|
|
7259
7553
|
parent?: string;
|
|
7260
7554
|
|
|
@@ -7282,57 +7576,64 @@ export namespace securitycenter_v1 {
|
|
|
7282
7576
|
}
|
|
7283
7577
|
|
|
7284
7578
|
/**
|
|
7285
|
-
*
|
|
7579
|
+
* Creates a mute config.
|
|
7286
7580
|
*
|
|
7287
7581
|
* @param params - Parameters for request
|
|
7288
7582
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
7289
7583
|
* @param callback - Optional callback that handles the response.
|
|
7290
7584
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
7291
7585
|
*/
|
|
7292
|
-
|
|
7293
|
-
params: Params$Resource$Folders$Locations$Muteconfigs$
|
|
7586
|
+
create(
|
|
7587
|
+
params: Params$Resource$Folders$Locations$Muteconfigs$Create,
|
|
7294
7588
|
options: StreamMethodOptions
|
|
7295
7589
|
): GaxiosPromise<Readable>;
|
|
7296
|
-
|
|
7297
|
-
params?: Params$Resource$Folders$Locations$Muteconfigs$
|
|
7590
|
+
create(
|
|
7591
|
+
params?: Params$Resource$Folders$Locations$Muteconfigs$Create,
|
|
7298
7592
|
options?: MethodOptions
|
|
7299
|
-
): GaxiosPromise<Schema$
|
|
7300
|
-
|
|
7301
|
-
params: Params$Resource$Folders$Locations$Muteconfigs$
|
|
7593
|
+
): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
|
|
7594
|
+
create(
|
|
7595
|
+
params: Params$Resource$Folders$Locations$Muteconfigs$Create,
|
|
7302
7596
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
7303
7597
|
callback: BodyResponseCallback<Readable>
|
|
7304
7598
|
): void;
|
|
7305
|
-
|
|
7306
|
-
params: Params$Resource$Folders$Locations$Muteconfigs$
|
|
7307
|
-
options:
|
|
7308
|
-
|
|
7599
|
+
create(
|
|
7600
|
+
params: Params$Resource$Folders$Locations$Muteconfigs$Create,
|
|
7601
|
+
options:
|
|
7602
|
+
| MethodOptions
|
|
7603
|
+
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>,
|
|
7604
|
+
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
7309
7605
|
): void;
|
|
7310
|
-
|
|
7311
|
-
params: Params$Resource$Folders$Locations$Muteconfigs$
|
|
7312
|
-
callback: BodyResponseCallback<Schema$
|
|
7606
|
+
create(
|
|
7607
|
+
params: Params$Resource$Folders$Locations$Muteconfigs$Create,
|
|
7608
|
+
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
7313
7609
|
): void;
|
|
7314
|
-
|
|
7315
|
-
|
|
7610
|
+
create(
|
|
7611
|
+
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
7612
|
+
): void;
|
|
7613
|
+
create(
|
|
7316
7614
|
paramsOrCallback?:
|
|
7317
|
-
| Params$Resource$Folders$Locations$Muteconfigs$
|
|
7318
|
-
| BodyResponseCallback<Schema$
|
|
7615
|
+
| Params$Resource$Folders$Locations$Muteconfigs$Create
|
|
7616
|
+
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
7319
7617
|
| BodyResponseCallback<Readable>,
|
|
7320
7618
|
optionsOrCallback?:
|
|
7321
7619
|
| MethodOptions
|
|
7322
7620
|
| StreamMethodOptions
|
|
7323
|
-
| BodyResponseCallback<Schema$
|
|
7621
|
+
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
7324
7622
|
| BodyResponseCallback<Readable>,
|
|
7325
7623
|
callback?:
|
|
7326
|
-
| BodyResponseCallback<Schema$
|
|
7624
|
+
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
7327
7625
|
| BodyResponseCallback<Readable>
|
|
7328
|
-
):
|
|
7626
|
+
):
|
|
7627
|
+
| void
|
|
7628
|
+
| GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
7629
|
+
| GaxiosPromise<Readable> {
|
|
7329
7630
|
let params = (paramsOrCallback ||
|
|
7330
|
-
{}) as Params$Resource$Folders$Locations$Muteconfigs$
|
|
7631
|
+
{}) as Params$Resource$Folders$Locations$Muteconfigs$Create;
|
|
7331
7632
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
7332
7633
|
|
|
7333
7634
|
if (typeof paramsOrCallback === 'function') {
|
|
7334
7635
|
callback = paramsOrCallback;
|
|
7335
|
-
params = {} as Params$Resource$Folders$Locations$Muteconfigs$
|
|
7636
|
+
params = {} as Params$Resource$Folders$Locations$Muteconfigs$Create;
|
|
7336
7637
|
options = {};
|
|
7337
7638
|
}
|
|
7338
7639
|
|
|
@@ -7346,54 +7647,145 @@ export namespace securitycenter_v1 {
|
|
|
7346
7647
|
const parameters = {
|
|
7347
7648
|
options: Object.assign(
|
|
7348
7649
|
{
|
|
7349
|
-
url: (rootUrl + '/v1/{+
|
|
7350
|
-
|
|
7650
|
+
url: (rootUrl + '/v1/{+parent}/muteConfigs').replace(
|
|
7651
|
+
/([^:]\/)\/+/g,
|
|
7652
|
+
'$1'
|
|
7653
|
+
),
|
|
7654
|
+
method: 'POST',
|
|
7351
7655
|
apiVersion: '',
|
|
7352
7656
|
},
|
|
7353
7657
|
options
|
|
7354
7658
|
),
|
|
7355
7659
|
params,
|
|
7356
|
-
requiredParams: ['
|
|
7357
|
-
pathParams: ['
|
|
7660
|
+
requiredParams: ['parent'],
|
|
7661
|
+
pathParams: ['parent'],
|
|
7358
7662
|
context: this.context,
|
|
7359
7663
|
};
|
|
7360
7664
|
if (callback) {
|
|
7361
|
-
createAPIRequest<Schema$
|
|
7665
|
+
createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
|
|
7362
7666
|
parameters,
|
|
7363
7667
|
callback as BodyResponseCallback<unknown>
|
|
7364
7668
|
);
|
|
7365
7669
|
} else {
|
|
7366
|
-
return createAPIRequest<Schema$
|
|
7670
|
+
return createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
|
|
7671
|
+
parameters
|
|
7672
|
+
);
|
|
7367
7673
|
}
|
|
7368
7674
|
}
|
|
7369
7675
|
|
|
7370
7676
|
/**
|
|
7371
|
-
*
|
|
7677
|
+
* Deletes an existing mute config.
|
|
7372
7678
|
*
|
|
7373
7679
|
* @param params - Parameters for request
|
|
7374
7680
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
7375
7681
|
* @param callback - Optional callback that handles the response.
|
|
7376
7682
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
7377
7683
|
*/
|
|
7378
|
-
|
|
7379
|
-
params: Params$Resource$Folders$Locations$Muteconfigs$
|
|
7684
|
+
delete(
|
|
7685
|
+
params: Params$Resource$Folders$Locations$Muteconfigs$Delete,
|
|
7380
7686
|
options: StreamMethodOptions
|
|
7381
7687
|
): GaxiosPromise<Readable>;
|
|
7382
|
-
|
|
7383
|
-
params?: Params$Resource$Folders$Locations$Muteconfigs$
|
|
7688
|
+
delete(
|
|
7689
|
+
params?: Params$Resource$Folders$Locations$Muteconfigs$Delete,
|
|
7384
7690
|
options?: MethodOptions
|
|
7385
|
-
): GaxiosPromise<Schema$
|
|
7386
|
-
|
|
7387
|
-
params: Params$Resource$Folders$Locations$Muteconfigs$
|
|
7691
|
+
): GaxiosPromise<Schema$Empty>;
|
|
7692
|
+
delete(
|
|
7693
|
+
params: Params$Resource$Folders$Locations$Muteconfigs$Delete,
|
|
7388
7694
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
7389
7695
|
callback: BodyResponseCallback<Readable>
|
|
7390
7696
|
): void;
|
|
7391
|
-
|
|
7392
|
-
params: Params$Resource$Folders$Locations$Muteconfigs$
|
|
7393
|
-
options:
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
|
|
7697
|
+
delete(
|
|
7698
|
+
params: Params$Resource$Folders$Locations$Muteconfigs$Delete,
|
|
7699
|
+
options: MethodOptions | BodyResponseCallback<Schema$Empty>,
|
|
7700
|
+
callback: BodyResponseCallback<Schema$Empty>
|
|
7701
|
+
): void;
|
|
7702
|
+
delete(
|
|
7703
|
+
params: Params$Resource$Folders$Locations$Muteconfigs$Delete,
|
|
7704
|
+
callback: BodyResponseCallback<Schema$Empty>
|
|
7705
|
+
): void;
|
|
7706
|
+
delete(callback: BodyResponseCallback<Schema$Empty>): void;
|
|
7707
|
+
delete(
|
|
7708
|
+
paramsOrCallback?:
|
|
7709
|
+
| Params$Resource$Folders$Locations$Muteconfigs$Delete
|
|
7710
|
+
| BodyResponseCallback<Schema$Empty>
|
|
7711
|
+
| BodyResponseCallback<Readable>,
|
|
7712
|
+
optionsOrCallback?:
|
|
7713
|
+
| MethodOptions
|
|
7714
|
+
| StreamMethodOptions
|
|
7715
|
+
| BodyResponseCallback<Schema$Empty>
|
|
7716
|
+
| BodyResponseCallback<Readable>,
|
|
7717
|
+
callback?:
|
|
7718
|
+
| BodyResponseCallback<Schema$Empty>
|
|
7719
|
+
| BodyResponseCallback<Readable>
|
|
7720
|
+
): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
|
|
7721
|
+
let params = (paramsOrCallback ||
|
|
7722
|
+
{}) as Params$Resource$Folders$Locations$Muteconfigs$Delete;
|
|
7723
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
7724
|
+
|
|
7725
|
+
if (typeof paramsOrCallback === 'function') {
|
|
7726
|
+
callback = paramsOrCallback;
|
|
7727
|
+
params = {} as Params$Resource$Folders$Locations$Muteconfigs$Delete;
|
|
7728
|
+
options = {};
|
|
7729
|
+
}
|
|
7730
|
+
|
|
7731
|
+
if (typeof optionsOrCallback === 'function') {
|
|
7732
|
+
callback = optionsOrCallback;
|
|
7733
|
+
options = {};
|
|
7734
|
+
}
|
|
7735
|
+
|
|
7736
|
+
const rootUrl =
|
|
7737
|
+
options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
7738
|
+
const parameters = {
|
|
7739
|
+
options: Object.assign(
|
|
7740
|
+
{
|
|
7741
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
7742
|
+
method: 'DELETE',
|
|
7743
|
+
apiVersion: '',
|
|
7744
|
+
},
|
|
7745
|
+
options
|
|
7746
|
+
),
|
|
7747
|
+
params,
|
|
7748
|
+
requiredParams: ['name'],
|
|
7749
|
+
pathParams: ['name'],
|
|
7750
|
+
context: this.context,
|
|
7751
|
+
};
|
|
7752
|
+
if (callback) {
|
|
7753
|
+
createAPIRequest<Schema$Empty>(
|
|
7754
|
+
parameters,
|
|
7755
|
+
callback as BodyResponseCallback<unknown>
|
|
7756
|
+
);
|
|
7757
|
+
} else {
|
|
7758
|
+
return createAPIRequest<Schema$Empty>(parameters);
|
|
7759
|
+
}
|
|
7760
|
+
}
|
|
7761
|
+
|
|
7762
|
+
/**
|
|
7763
|
+
* Gets a mute config.
|
|
7764
|
+
*
|
|
7765
|
+
* @param params - Parameters for request
|
|
7766
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
7767
|
+
* @param callback - Optional callback that handles the response.
|
|
7768
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
7769
|
+
*/
|
|
7770
|
+
get(
|
|
7771
|
+
params: Params$Resource$Folders$Locations$Muteconfigs$Get,
|
|
7772
|
+
options: StreamMethodOptions
|
|
7773
|
+
): GaxiosPromise<Readable>;
|
|
7774
|
+
get(
|
|
7775
|
+
params?: Params$Resource$Folders$Locations$Muteconfigs$Get,
|
|
7776
|
+
options?: MethodOptions
|
|
7777
|
+
): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
|
|
7778
|
+
get(
|
|
7779
|
+
params: Params$Resource$Folders$Locations$Muteconfigs$Get,
|
|
7780
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
7781
|
+
callback: BodyResponseCallback<Readable>
|
|
7782
|
+
): void;
|
|
7783
|
+
get(
|
|
7784
|
+
params: Params$Resource$Folders$Locations$Muteconfigs$Get,
|
|
7785
|
+
options:
|
|
7786
|
+
| MethodOptions
|
|
7787
|
+
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>,
|
|
7788
|
+
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
7397
7789
|
): void;
|
|
7398
7790
|
get(
|
|
7399
7791
|
params: Params$Resource$Folders$Locations$Muteconfigs$Get,
|
|
@@ -7462,6 +7854,97 @@ export namespace securitycenter_v1 {
|
|
|
7462
7854
|
}
|
|
7463
7855
|
}
|
|
7464
7856
|
|
|
7857
|
+
/**
|
|
7858
|
+
* Lists mute configs.
|
|
7859
|
+
*
|
|
7860
|
+
* @param params - Parameters for request
|
|
7861
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
7862
|
+
* @param callback - Optional callback that handles the response.
|
|
7863
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
7864
|
+
*/
|
|
7865
|
+
list(
|
|
7866
|
+
params: Params$Resource$Folders$Locations$Muteconfigs$List,
|
|
7867
|
+
options: StreamMethodOptions
|
|
7868
|
+
): GaxiosPromise<Readable>;
|
|
7869
|
+
list(
|
|
7870
|
+
params?: Params$Resource$Folders$Locations$Muteconfigs$List,
|
|
7871
|
+
options?: MethodOptions
|
|
7872
|
+
): GaxiosPromise<Schema$ListMuteConfigsResponse>;
|
|
7873
|
+
list(
|
|
7874
|
+
params: Params$Resource$Folders$Locations$Muteconfigs$List,
|
|
7875
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
7876
|
+
callback: BodyResponseCallback<Readable>
|
|
7877
|
+
): void;
|
|
7878
|
+
list(
|
|
7879
|
+
params: Params$Resource$Folders$Locations$Muteconfigs$List,
|
|
7880
|
+
options:
|
|
7881
|
+
| MethodOptions
|
|
7882
|
+
| BodyResponseCallback<Schema$ListMuteConfigsResponse>,
|
|
7883
|
+
callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
7884
|
+
): void;
|
|
7885
|
+
list(
|
|
7886
|
+
params: Params$Resource$Folders$Locations$Muteconfigs$List,
|
|
7887
|
+
callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
7888
|
+
): void;
|
|
7889
|
+
list(callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>): void;
|
|
7890
|
+
list(
|
|
7891
|
+
paramsOrCallback?:
|
|
7892
|
+
| Params$Resource$Folders$Locations$Muteconfigs$List
|
|
7893
|
+
| BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
7894
|
+
| BodyResponseCallback<Readable>,
|
|
7895
|
+
optionsOrCallback?:
|
|
7896
|
+
| MethodOptions
|
|
7897
|
+
| StreamMethodOptions
|
|
7898
|
+
| BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
7899
|
+
| BodyResponseCallback<Readable>,
|
|
7900
|
+
callback?:
|
|
7901
|
+
| BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
7902
|
+
| BodyResponseCallback<Readable>
|
|
7903
|
+
):
|
|
7904
|
+
| void
|
|
7905
|
+
| GaxiosPromise<Schema$ListMuteConfigsResponse>
|
|
7906
|
+
| GaxiosPromise<Readable> {
|
|
7907
|
+
let params = (paramsOrCallback ||
|
|
7908
|
+
{}) as Params$Resource$Folders$Locations$Muteconfigs$List;
|
|
7909
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
7910
|
+
|
|
7911
|
+
if (typeof paramsOrCallback === 'function') {
|
|
7912
|
+
callback = paramsOrCallback;
|
|
7913
|
+
params = {} as Params$Resource$Folders$Locations$Muteconfigs$List;
|
|
7914
|
+
options = {};
|
|
7915
|
+
}
|
|
7916
|
+
|
|
7917
|
+
if (typeof optionsOrCallback === 'function') {
|
|
7918
|
+
callback = optionsOrCallback;
|
|
7919
|
+
options = {};
|
|
7920
|
+
}
|
|
7921
|
+
|
|
7922
|
+
const rootUrl =
|
|
7923
|
+
options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
7924
|
+
const parameters = {
|
|
7925
|
+
options: Object.assign(
|
|
7926
|
+
{
|
|
7927
|
+
url: (rootUrl + '/v1/{+parent}').replace(/([^:]\/)\/+/g, '$1'),
|
|
7928
|
+
method: 'GET',
|
|
7929
|
+
apiVersion: '',
|
|
7930
|
+
},
|
|
7931
|
+
options
|
|
7932
|
+
),
|
|
7933
|
+
params,
|
|
7934
|
+
requiredParams: ['parent'],
|
|
7935
|
+
pathParams: ['parent'],
|
|
7936
|
+
context: this.context,
|
|
7937
|
+
};
|
|
7938
|
+
if (callback) {
|
|
7939
|
+
createAPIRequest<Schema$ListMuteConfigsResponse>(
|
|
7940
|
+
parameters,
|
|
7941
|
+
callback as BodyResponseCallback<unknown>
|
|
7942
|
+
);
|
|
7943
|
+
} else {
|
|
7944
|
+
return createAPIRequest<Schema$ListMuteConfigsResponse>(parameters);
|
|
7945
|
+
}
|
|
7946
|
+
}
|
|
7947
|
+
|
|
7465
7948
|
/**
|
|
7466
7949
|
* Updates a mute config.
|
|
7467
7950
|
*
|
|
@@ -7558,24 +8041,55 @@ export namespace securitycenter_v1 {
|
|
|
7558
8041
|
}
|
|
7559
8042
|
}
|
|
7560
8043
|
|
|
8044
|
+
export interface Params$Resource$Folders$Locations$Muteconfigs$Create
|
|
8045
|
+
extends StandardParameters {
|
|
8046
|
+
/**
|
|
8047
|
+
* Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.
|
|
8048
|
+
*/
|
|
8049
|
+
muteConfigId?: string;
|
|
8050
|
+
/**
|
|
8051
|
+
* Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
8052
|
+
*/
|
|
8053
|
+
parent?: string;
|
|
8054
|
+
|
|
8055
|
+
/**
|
|
8056
|
+
* Request body metadata
|
|
8057
|
+
*/
|
|
8058
|
+
requestBody?: Schema$GoogleCloudSecuritycenterV1MuteConfig;
|
|
8059
|
+
}
|
|
7561
8060
|
export interface Params$Resource$Folders$Locations$Muteconfigs$Delete
|
|
7562
8061
|
extends StandardParameters {
|
|
7563
8062
|
/**
|
|
7564
|
-
* Required. Name of the mute config to delete. Its format is organizations/{organization\}/muteConfigs/{config_id\}
|
|
8063
|
+
* Required. Name of the mute config to delete. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`.
|
|
7565
8064
|
*/
|
|
7566
8065
|
name?: string;
|
|
7567
8066
|
}
|
|
7568
8067
|
export interface Params$Resource$Folders$Locations$Muteconfigs$Get
|
|
7569
8068
|
extends StandardParameters {
|
|
7570
8069
|
/**
|
|
7571
|
-
* Required. Name of the mute config to retrieve. Its format is organizations/{organization\}/muteConfigs/{config_id\}
|
|
8070
|
+
* Required. Name of the mute config to retrieve. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`.
|
|
7572
8071
|
*/
|
|
7573
8072
|
name?: string;
|
|
7574
8073
|
}
|
|
8074
|
+
export interface Params$Resource$Folders$Locations$Muteconfigs$List
|
|
8075
|
+
extends StandardParameters {
|
|
8076
|
+
/**
|
|
8077
|
+
* The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
|
|
8078
|
+
*/
|
|
8079
|
+
pageSize?: number;
|
|
8080
|
+
/**
|
|
8081
|
+
* A page token, received from a previous `ListMuteConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMuteConfigs` must match the call that provided the page token.
|
|
8082
|
+
*/
|
|
8083
|
+
pageToken?: string;
|
|
8084
|
+
/**
|
|
8085
|
+
* Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.
|
|
8086
|
+
*/
|
|
8087
|
+
parent?: string;
|
|
8088
|
+
}
|
|
7575
8089
|
export interface Params$Resource$Folders$Locations$Muteconfigs$Patch
|
|
7576
8090
|
extends StandardParameters {
|
|
7577
8091
|
/**
|
|
7578
|
-
* This field will be ignored if provided on config creation. Format
|
|
8092
|
+
* 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\}`
|
|
7579
8093
|
*/
|
|
7580
8094
|
name?: string;
|
|
7581
8095
|
/**
|
|
@@ -8071,7 +8585,7 @@ export namespace securitycenter_v1 {
|
|
|
8071
8585
|
*/
|
|
8072
8586
|
muteConfigId?: string;
|
|
8073
8587
|
/**
|
|
8074
|
-
* Required. Resource name of the new mute configs's parent. Its format is
|
|
8588
|
+
* Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
8075
8589
|
*/
|
|
8076
8590
|
parent?: string;
|
|
8077
8591
|
|
|
@@ -8083,14 +8597,14 @@ export namespace securitycenter_v1 {
|
|
|
8083
8597
|
export interface Params$Resource$Folders$Muteconfigs$Delete
|
|
8084
8598
|
extends StandardParameters {
|
|
8085
8599
|
/**
|
|
8086
|
-
* Required. Name of the mute config to delete. Its format is organizations/{organization\}/muteConfigs/{config_id\}
|
|
8600
|
+
* Required. Name of the mute config to delete. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`.
|
|
8087
8601
|
*/
|
|
8088
8602
|
name?: string;
|
|
8089
8603
|
}
|
|
8090
8604
|
export interface Params$Resource$Folders$Muteconfigs$Get
|
|
8091
8605
|
extends StandardParameters {
|
|
8092
8606
|
/**
|
|
8093
|
-
* Required. Name of the mute config to retrieve. Its format is organizations/{organization\}/muteConfigs/{config_id\}
|
|
8607
|
+
* Required. Name of the mute config to retrieve. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`.
|
|
8094
8608
|
*/
|
|
8095
8609
|
name?: string;
|
|
8096
8610
|
}
|
|
@@ -8105,14 +8619,14 @@ export namespace securitycenter_v1 {
|
|
|
8105
8619
|
*/
|
|
8106
8620
|
pageToken?: string;
|
|
8107
8621
|
/**
|
|
8108
|
-
* Required. The parent, which owns the collection of mute configs. Its format is
|
|
8622
|
+
* Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.
|
|
8109
8623
|
*/
|
|
8110
8624
|
parent?: string;
|
|
8111
8625
|
}
|
|
8112
8626
|
export interface Params$Resource$Folders$Muteconfigs$Patch
|
|
8113
8627
|
extends StandardParameters {
|
|
8114
8628
|
/**
|
|
8115
|
-
* This field will be ignored if provided on config creation. Format
|
|
8629
|
+
* 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\}`
|
|
8116
8630
|
*/
|
|
8117
8631
|
name?: string;
|
|
8118
8632
|
/**
|
|
@@ -8594,7 +9108,7 @@ export namespace securitycenter_v1 {
|
|
|
8594
9108
|
*/
|
|
8595
9109
|
configId?: string;
|
|
8596
9110
|
/**
|
|
8597
|
-
* Required. Resource name of the new notification config's parent. Its format is
|
|
9111
|
+
* Required. Resource name of the new notification config's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
8598
9112
|
*/
|
|
8599
9113
|
parent?: string;
|
|
8600
9114
|
|
|
@@ -8606,14 +9120,14 @@ export namespace securitycenter_v1 {
|
|
|
8606
9120
|
export interface Params$Resource$Folders$Notificationconfigs$Delete
|
|
8607
9121
|
extends StandardParameters {
|
|
8608
9122
|
/**
|
|
8609
|
-
* Required. Name of the notification config to delete. Its format is
|
|
9123
|
+
* Required. Name of the notification config to delete. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`.
|
|
8610
9124
|
*/
|
|
8611
9125
|
name?: string;
|
|
8612
9126
|
}
|
|
8613
9127
|
export interface Params$Resource$Folders$Notificationconfigs$Get
|
|
8614
9128
|
extends StandardParameters {
|
|
8615
9129
|
/**
|
|
8616
|
-
* Required. Name of the notification config to get. Its format is
|
|
9130
|
+
* Required. Name of the notification config to get. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`.
|
|
8617
9131
|
*/
|
|
8618
9132
|
name?: string;
|
|
8619
9133
|
}
|
|
@@ -9350,7 +9864,7 @@ export namespace securitycenter_v1 {
|
|
|
9350
9864
|
export interface Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Create
|
|
9351
9865
|
extends StandardParameters {
|
|
9352
9866
|
/**
|
|
9353
|
-
* Required. Resource name of the new custom module's parent. Its format is
|
|
9867
|
+
* Required. Resource name of the new custom module's parent. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings`
|
|
9354
9868
|
*/
|
|
9355
9869
|
parent?: string;
|
|
9356
9870
|
|
|
@@ -9362,14 +9876,14 @@ export namespace securitycenter_v1 {
|
|
|
9362
9876
|
export interface Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Delete
|
|
9363
9877
|
extends StandardParameters {
|
|
9364
9878
|
/**
|
|
9365
|
-
* Required. Name of the custom module to delete. Its format is
|
|
9879
|
+
* Required. Name of the custom module to delete. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, `folders/{folder\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, or `projects/{project\}/securityHealthAnalyticsSettings/customModules/{customModule\}`
|
|
9366
9880
|
*/
|
|
9367
9881
|
name?: string;
|
|
9368
9882
|
}
|
|
9369
9883
|
export interface Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Get
|
|
9370
9884
|
extends StandardParameters {
|
|
9371
9885
|
/**
|
|
9372
|
-
* Required. Name of the custom module to get. Its format is
|
|
9886
|
+
* Required. Name of the custom module to get. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, `folders/{folder\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, or `projects/{project\}/securityHealthAnalyticsSettings/customModules/{customModule\}`
|
|
9373
9887
|
*/
|
|
9374
9888
|
name?: string;
|
|
9375
9889
|
}
|
|
@@ -9384,7 +9898,7 @@ export namespace securitycenter_v1 {
|
|
|
9384
9898
|
*/
|
|
9385
9899
|
pageToken?: string;
|
|
9386
9900
|
/**
|
|
9387
|
-
* Required. Name of parent to list custom modules. Its format is
|
|
9901
|
+
* Required. Name of parent to list custom modules. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings`
|
|
9388
9902
|
*/
|
|
9389
9903
|
parent?: string;
|
|
9390
9904
|
}
|
|
@@ -9399,7 +9913,7 @@ export namespace securitycenter_v1 {
|
|
|
9399
9913
|
*/
|
|
9400
9914
|
pageToken?: string;
|
|
9401
9915
|
/**
|
|
9402
|
-
* Required. Name of parent to list descendant custom modules. Its format is
|
|
9916
|
+
* Required. Name of parent to list descendant custom modules. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings`
|
|
9403
9917
|
*/
|
|
9404
9918
|
parent?: string;
|
|
9405
9919
|
}
|
|
@@ -9637,7 +10151,7 @@ export namespace securitycenter_v1 {
|
|
|
9637
10151
|
export interface Params$Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules$Get
|
|
9638
10152
|
extends StandardParameters {
|
|
9639
10153
|
/**
|
|
9640
|
-
* Required. Name of the effective custom module to get. Its format is
|
|
10154
|
+
* Required. Name of the effective custom module to get. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}`, `folders/{folder\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}`, or `projects/{project\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}`
|
|
9641
10155
|
*/
|
|
9642
10156
|
name?: string;
|
|
9643
10157
|
}
|
|
@@ -9652,7 +10166,7 @@ export namespace securitycenter_v1 {
|
|
|
9652
10166
|
*/
|
|
9653
10167
|
pageToken?: string;
|
|
9654
10168
|
/**
|
|
9655
|
-
* Required. Name of parent to list effective custom modules. Its format is
|
|
10169
|
+
* Required. Name of parent to list effective custom modules. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings`
|
|
9656
10170
|
*/
|
|
9657
10171
|
parent?: string;
|
|
9658
10172
|
}
|
|
@@ -9769,7 +10283,7 @@ export namespace securitycenter_v1 {
|
|
|
9769
10283
|
*/
|
|
9770
10284
|
pageToken?: string;
|
|
9771
10285
|
/**
|
|
9772
|
-
* Required. Resource name of the parent of sources to list. Its format should be
|
|
10286
|
+
* Required. Resource name of the parent of sources to list. Its format should be `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
9773
10287
|
*/
|
|
9774
10288
|
parent?: string;
|
|
9775
10289
|
}
|
|
@@ -10328,7 +10842,7 @@ export namespace securitycenter_v1 {
|
|
|
10328
10842
|
export interface Params$Resource$Folders$Sources$Findings$Group
|
|
10329
10843
|
extends StandardParameters {
|
|
10330
10844
|
/**
|
|
10331
|
-
* Required. Name of the source to groupBy. Its format is
|
|
10845
|
+
* Required. Name of the source to groupBy. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To groupBy across all sources provide a source_id of `-`. For example: `organizations/{organization_id\}/sources/-, folders/{folder_id\}/sources/-`, or `projects/{project_id\}/sources/-`
|
|
10332
10846
|
*/
|
|
10333
10847
|
parent?: string;
|
|
10334
10848
|
|
|
@@ -10364,7 +10878,7 @@ export namespace securitycenter_v1 {
|
|
|
10364
10878
|
*/
|
|
10365
10879
|
pageToken?: string;
|
|
10366
10880
|
/**
|
|
10367
|
-
* Required. Name of the source the findings belong to. Its format is
|
|
10881
|
+
* Required. Name of the source the findings belong to. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To list across all sources provide a source_id of `-`. For example: `organizations/{organization_id\}/sources/-`, `folders/{folder_id\}/sources/-` or `projects/{projects_id\}/sources/-`
|
|
10368
10882
|
*/
|
|
10369
10883
|
parent?: string;
|
|
10370
10884
|
/**
|
|
@@ -10391,7 +10905,7 @@ export namespace securitycenter_v1 {
|
|
|
10391
10905
|
export interface Params$Resource$Folders$Sources$Findings$Setmute
|
|
10392
10906
|
extends StandardParameters {
|
|
10393
10907
|
/**
|
|
10394
|
-
* Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example:
|
|
10908
|
+
* Required. 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\}`.
|
|
10395
10909
|
*/
|
|
10396
10910
|
name?: string;
|
|
10397
10911
|
|
|
@@ -10403,7 +10917,7 @@ export namespace securitycenter_v1 {
|
|
|
10403
10917
|
export interface Params$Resource$Folders$Sources$Findings$Setstate
|
|
10404
10918
|
extends StandardParameters {
|
|
10405
10919
|
/**
|
|
10406
|
-
* Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example:
|
|
10920
|
+
* Required. 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\}`.
|
|
10407
10921
|
*/
|
|
10408
10922
|
name?: string;
|
|
10409
10923
|
|
|
@@ -10782,7 +11296,7 @@ export namespace securitycenter_v1 {
|
|
|
10782
11296
|
export interface Params$Resource$Organizations$Getorganizationsettings
|
|
10783
11297
|
extends StandardParameters {
|
|
10784
11298
|
/**
|
|
10785
|
-
* Required. Name of the organization to get organization settings for. Its format is
|
|
11299
|
+
* Required. Name of the organization to get organization settings for. Its format is `organizations/[organization_id]/organizationSettings`.
|
|
10786
11300
|
*/
|
|
10787
11301
|
name?: string;
|
|
10788
11302
|
}
|
|
@@ -11174,7 +11688,7 @@ export namespace securitycenter_v1 {
|
|
|
11174
11688
|
export interface Params$Resource$Organizations$Assets$Group
|
|
11175
11689
|
extends StandardParameters {
|
|
11176
11690
|
/**
|
|
11177
|
-
* Required. The name of the parent to group the assets by. Its format is
|
|
11691
|
+
* Required. The name of the parent to group the assets by. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
11178
11692
|
*/
|
|
11179
11693
|
parent?: string;
|
|
11180
11694
|
|
|
@@ -11210,7 +11724,7 @@ export namespace securitycenter_v1 {
|
|
|
11210
11724
|
*/
|
|
11211
11725
|
pageToken?: string;
|
|
11212
11726
|
/**
|
|
11213
|
-
* Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values:
|
|
11727
|
+
* Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
11214
11728
|
*/
|
|
11215
11729
|
parent?: string;
|
|
11216
11730
|
/**
|
|
@@ -11221,7 +11735,7 @@ export namespace securitycenter_v1 {
|
|
|
11221
11735
|
export interface Params$Resource$Organizations$Assets$Rundiscovery
|
|
11222
11736
|
extends StandardParameters {
|
|
11223
11737
|
/**
|
|
11224
|
-
* Required. Name of the organization to run asset discovery for. Its format is
|
|
11738
|
+
* Required. Name of the organization to run asset discovery for. Its format is `organizations/[organization_id]`.
|
|
11225
11739
|
*/
|
|
11226
11740
|
parent?: string;
|
|
11227
11741
|
|
|
@@ -11735,7 +12249,7 @@ export namespace securitycenter_v1 {
|
|
|
11735
12249
|
*/
|
|
11736
12250
|
bigQueryExportId?: string;
|
|
11737
12251
|
/**
|
|
11738
|
-
* Required. The name of the parent resource of the new BigQuery export. Its format is
|
|
12252
|
+
* Required. The name of the parent resource of the new BigQuery export. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
11739
12253
|
*/
|
|
11740
12254
|
parent?: string;
|
|
11741
12255
|
|
|
@@ -11747,14 +12261,14 @@ export namespace securitycenter_v1 {
|
|
|
11747
12261
|
export interface Params$Resource$Organizations$Bigqueryexports$Delete
|
|
11748
12262
|
extends StandardParameters {
|
|
11749
12263
|
/**
|
|
11750
|
-
* Required. The name of the BigQuery export to delete. Its format is organizations/{organization\}/bigQueryExports/{export_id\}
|
|
12264
|
+
* Required. The name of the BigQuery export to delete. Its format is `organizations/{organization\}/bigQueryExports/{export_id\}`, `folders/{folder\}/bigQueryExports/{export_id\}`, or `projects/{project\}/bigQueryExports/{export_id\}`
|
|
11751
12265
|
*/
|
|
11752
12266
|
name?: string;
|
|
11753
12267
|
}
|
|
11754
12268
|
export interface Params$Resource$Organizations$Bigqueryexports$Get
|
|
11755
12269
|
extends StandardParameters {
|
|
11756
12270
|
/**
|
|
11757
|
-
* Required. Name of the BigQuery export to retrieve. Its format is organizations/{organization\}/bigQueryExports/{export_id\}
|
|
12271
|
+
* Required. Name of the BigQuery export to retrieve. Its format is `organizations/{organization\}/bigQueryExports/{export_id\}`, `folders/{folder\}/bigQueryExports/{export_id\}`, or `projects/{project\}/bigQueryExports/{export_id\}`
|
|
11758
12272
|
*/
|
|
11759
12273
|
name?: string;
|
|
11760
12274
|
}
|
|
@@ -11769,7 +12283,7 @@ export namespace securitycenter_v1 {
|
|
|
11769
12283
|
*/
|
|
11770
12284
|
pageToken?: string;
|
|
11771
12285
|
/**
|
|
11772
|
-
* Required. The parent, which owns the collection of BigQuery exports. Its format is
|
|
12286
|
+
* Required. The parent, which owns the collection of BigQuery exports. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.
|
|
11773
12287
|
*/
|
|
11774
12288
|
parent?: string;
|
|
11775
12289
|
}
|
|
@@ -11909,7 +12423,7 @@ export namespace securitycenter_v1 {
|
|
|
11909
12423
|
export interface Params$Resource$Organizations$Eventthreatdetectionsettings$Validatecustommodule
|
|
11910
12424
|
extends StandardParameters {
|
|
11911
12425
|
/**
|
|
11912
|
-
* Required. Resource name of the parent to validate the Custom Module under. Its format is: *
|
|
12426
|
+
* Required. Resource name of the parent to validate the Custom Module under. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings`. * `folders/{folder\}/eventThreatDetectionSettings`. * `projects/{project\}/eventThreatDetectionSettings`.
|
|
11913
12427
|
*/
|
|
11914
12428
|
parent?: string;
|
|
11915
12429
|
|
|
@@ -12504,7 +13018,7 @@ export namespace securitycenter_v1 {
|
|
|
12504
13018
|
export interface Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Create
|
|
12505
13019
|
extends StandardParameters {
|
|
12506
13020
|
/**
|
|
12507
|
-
* Required. The new custom module's parent. Its format is: *
|
|
13021
|
+
* Required. The new custom module's parent. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings`. * `folders/{folder\}/eventThreatDetectionSettings`. * `projects/{project\}/eventThreatDetectionSettings`.
|
|
12508
13022
|
*/
|
|
12509
13023
|
parent?: string;
|
|
12510
13024
|
|
|
@@ -12516,14 +13030,14 @@ export namespace securitycenter_v1 {
|
|
|
12516
13030
|
export interface Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Delete
|
|
12517
13031
|
extends StandardParameters {
|
|
12518
13032
|
/**
|
|
12519
|
-
* Required. Name of the custom module to delete. Its format is: *
|
|
13033
|
+
* Required. Name of the custom module to delete. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}`. * `folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}`. * `projects/{project\}/eventThreatDetectionSettings/customModules/{module\}`.
|
|
12520
13034
|
*/
|
|
12521
13035
|
name?: string;
|
|
12522
13036
|
}
|
|
12523
13037
|
export interface Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Get
|
|
12524
13038
|
extends StandardParameters {
|
|
12525
13039
|
/**
|
|
12526
|
-
* Required. Name of the custom module to get. Its format is: *
|
|
13040
|
+
* Required. Name of the custom module to get. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}`. * `folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}`. * `projects/{project\}/eventThreatDetectionSettings/customModules/{module\}`.
|
|
12527
13041
|
*/
|
|
12528
13042
|
name?: string;
|
|
12529
13043
|
}
|
|
@@ -12538,7 +13052,7 @@ export namespace securitycenter_v1 {
|
|
|
12538
13052
|
*/
|
|
12539
13053
|
pageToken?: string;
|
|
12540
13054
|
/**
|
|
12541
|
-
* Required. Name of the parent to list custom modules under. Its format is: *
|
|
13055
|
+
* Required. Name of the parent to list custom modules under. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings`. * `folders/{folder\}/eventThreatDetectionSettings`. * `projects/{project\}/eventThreatDetectionSettings`.
|
|
12542
13056
|
*/
|
|
12543
13057
|
parent?: string;
|
|
12544
13058
|
}
|
|
@@ -12553,14 +13067,14 @@ export namespace securitycenter_v1 {
|
|
|
12553
13067
|
*/
|
|
12554
13068
|
pageToken?: string;
|
|
12555
13069
|
/**
|
|
12556
|
-
* Required. Name of the parent to list custom modules under. Its format is: *
|
|
13070
|
+
* Required. Name of the parent to list custom modules under. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings`. * `folders/{folder\}/eventThreatDetectionSettings`. * `projects/{project\}/eventThreatDetectionSettings`.
|
|
12557
13071
|
*/
|
|
12558
13072
|
parent?: string;
|
|
12559
13073
|
}
|
|
12560
13074
|
export interface Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Patch
|
|
12561
13075
|
extends StandardParameters {
|
|
12562
13076
|
/**
|
|
12563
|
-
* Immutable. The resource name of the Event Threat Detection custom module. Its format is: *
|
|
13077
|
+
* Immutable. The resource name of the Event Threat Detection custom module. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}`. * `folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}`. * `projects/{project\}/eventThreatDetectionSettings/customModules/{module\}`.
|
|
12564
13078
|
*/
|
|
12565
13079
|
name?: string;
|
|
12566
13080
|
/**
|
|
@@ -12779,7 +13293,7 @@ export namespace securitycenter_v1 {
|
|
|
12779
13293
|
export interface Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$Get
|
|
12780
13294
|
extends StandardParameters {
|
|
12781
13295
|
/**
|
|
12782
|
-
* Required. The resource name of the effective Event Threat Detection custom module. Its format is: *
|
|
13296
|
+
* Required. The resource name of the effective Event Threat Detection custom module. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}`. * `folders/{folder\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}`. * `projects/{project\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}`.
|
|
12783
13297
|
*/
|
|
12784
13298
|
name?: string;
|
|
12785
13299
|
}
|
|
@@ -12794,7 +13308,7 @@ export namespace securitycenter_v1 {
|
|
|
12794
13308
|
*/
|
|
12795
13309
|
pageToken?: string;
|
|
12796
13310
|
/**
|
|
12797
|
-
* Required. Name of the parent to list custom modules for. Its format is: *
|
|
13311
|
+
* Required. Name of the parent to list custom modules for. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings`. * `folders/{folder\}/eventThreatDetectionSettings`. * `projects/{project\}/eventThreatDetectionSettings`.
|
|
12798
13312
|
*/
|
|
12799
13313
|
parent?: string;
|
|
12800
13314
|
}
|
|
@@ -12898,7 +13412,7 @@ export namespace securitycenter_v1 {
|
|
|
12898
13412
|
export interface Params$Resource$Organizations$Findings$Bulkmute
|
|
12899
13413
|
extends StandardParameters {
|
|
12900
13414
|
/**
|
|
12901
|
-
* Required. The parent, at which bulk action needs to be applied. Its format is
|
|
13415
|
+
* Required. The parent, at which bulk action needs to be applied. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.
|
|
12902
13416
|
*/
|
|
12903
13417
|
parent?: string;
|
|
12904
13418
|
|
|
@@ -12925,6 +13439,105 @@ export namespace securitycenter_v1 {
|
|
|
12925
13439
|
this.context = context;
|
|
12926
13440
|
}
|
|
12927
13441
|
|
|
13442
|
+
/**
|
|
13443
|
+
* Creates a mute config.
|
|
13444
|
+
*
|
|
13445
|
+
* @param params - Parameters for request
|
|
13446
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
13447
|
+
* @param callback - Optional callback that handles the response.
|
|
13448
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
13449
|
+
*/
|
|
13450
|
+
create(
|
|
13451
|
+
params: Params$Resource$Organizations$Locations$Muteconfigs$Create,
|
|
13452
|
+
options: StreamMethodOptions
|
|
13453
|
+
): GaxiosPromise<Readable>;
|
|
13454
|
+
create(
|
|
13455
|
+
params?: Params$Resource$Organizations$Locations$Muteconfigs$Create,
|
|
13456
|
+
options?: MethodOptions
|
|
13457
|
+
): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
|
|
13458
|
+
create(
|
|
13459
|
+
params: Params$Resource$Organizations$Locations$Muteconfigs$Create,
|
|
13460
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
13461
|
+
callback: BodyResponseCallback<Readable>
|
|
13462
|
+
): void;
|
|
13463
|
+
create(
|
|
13464
|
+
params: Params$Resource$Organizations$Locations$Muteconfigs$Create,
|
|
13465
|
+
options:
|
|
13466
|
+
| MethodOptions
|
|
13467
|
+
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>,
|
|
13468
|
+
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
13469
|
+
): void;
|
|
13470
|
+
create(
|
|
13471
|
+
params: Params$Resource$Organizations$Locations$Muteconfigs$Create,
|
|
13472
|
+
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
13473
|
+
): void;
|
|
13474
|
+
create(
|
|
13475
|
+
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
13476
|
+
): void;
|
|
13477
|
+
create(
|
|
13478
|
+
paramsOrCallback?:
|
|
13479
|
+
| Params$Resource$Organizations$Locations$Muteconfigs$Create
|
|
13480
|
+
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
13481
|
+
| BodyResponseCallback<Readable>,
|
|
13482
|
+
optionsOrCallback?:
|
|
13483
|
+
| MethodOptions
|
|
13484
|
+
| StreamMethodOptions
|
|
13485
|
+
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
13486
|
+
| BodyResponseCallback<Readable>,
|
|
13487
|
+
callback?:
|
|
13488
|
+
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
13489
|
+
| BodyResponseCallback<Readable>
|
|
13490
|
+
):
|
|
13491
|
+
| void
|
|
13492
|
+
| GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
13493
|
+
| GaxiosPromise<Readable> {
|
|
13494
|
+
let params = (paramsOrCallback ||
|
|
13495
|
+
{}) as Params$Resource$Organizations$Locations$Muteconfigs$Create;
|
|
13496
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
13497
|
+
|
|
13498
|
+
if (typeof paramsOrCallback === 'function') {
|
|
13499
|
+
callback = paramsOrCallback;
|
|
13500
|
+
params =
|
|
13501
|
+
{} as Params$Resource$Organizations$Locations$Muteconfigs$Create;
|
|
13502
|
+
options = {};
|
|
13503
|
+
}
|
|
13504
|
+
|
|
13505
|
+
if (typeof optionsOrCallback === 'function') {
|
|
13506
|
+
callback = optionsOrCallback;
|
|
13507
|
+
options = {};
|
|
13508
|
+
}
|
|
13509
|
+
|
|
13510
|
+
const rootUrl =
|
|
13511
|
+
options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
13512
|
+
const parameters = {
|
|
13513
|
+
options: Object.assign(
|
|
13514
|
+
{
|
|
13515
|
+
url: (rootUrl + '/v1/{+parent}/muteConfigs').replace(
|
|
13516
|
+
/([^:]\/)\/+/g,
|
|
13517
|
+
'$1'
|
|
13518
|
+
),
|
|
13519
|
+
method: 'POST',
|
|
13520
|
+
apiVersion: '',
|
|
13521
|
+
},
|
|
13522
|
+
options
|
|
13523
|
+
),
|
|
13524
|
+
params,
|
|
13525
|
+
requiredParams: ['parent'],
|
|
13526
|
+
pathParams: ['parent'],
|
|
13527
|
+
context: this.context,
|
|
13528
|
+
};
|
|
13529
|
+
if (callback) {
|
|
13530
|
+
createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
|
|
13531
|
+
parameters,
|
|
13532
|
+
callback as BodyResponseCallback<unknown>
|
|
13533
|
+
);
|
|
13534
|
+
} else {
|
|
13535
|
+
return createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
|
|
13536
|
+
parameters
|
|
13537
|
+
);
|
|
13538
|
+
}
|
|
13539
|
+
}
|
|
13540
|
+
|
|
12928
13541
|
/**
|
|
12929
13542
|
* Deletes an existing mute config.
|
|
12930
13543
|
*
|
|
@@ -13044,33 +13657,126 @@ export namespace securitycenter_v1 {
|
|
|
13044
13657
|
params: Params$Resource$Organizations$Locations$Muteconfigs$Get,
|
|
13045
13658
|
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
13046
13659
|
): void;
|
|
13047
|
-
get(
|
|
13048
|
-
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
13660
|
+
get(
|
|
13661
|
+
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
13662
|
+
): void;
|
|
13663
|
+
get(
|
|
13664
|
+
paramsOrCallback?:
|
|
13665
|
+
| Params$Resource$Organizations$Locations$Muteconfigs$Get
|
|
13666
|
+
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
13667
|
+
| BodyResponseCallback<Readable>,
|
|
13668
|
+
optionsOrCallback?:
|
|
13669
|
+
| MethodOptions
|
|
13670
|
+
| StreamMethodOptions
|
|
13671
|
+
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
13672
|
+
| BodyResponseCallback<Readable>,
|
|
13673
|
+
callback?:
|
|
13674
|
+
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
13675
|
+
| BodyResponseCallback<Readable>
|
|
13676
|
+
):
|
|
13677
|
+
| void
|
|
13678
|
+
| GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
13679
|
+
| GaxiosPromise<Readable> {
|
|
13680
|
+
let params = (paramsOrCallback ||
|
|
13681
|
+
{}) as Params$Resource$Organizations$Locations$Muteconfigs$Get;
|
|
13682
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
13683
|
+
|
|
13684
|
+
if (typeof paramsOrCallback === 'function') {
|
|
13685
|
+
callback = paramsOrCallback;
|
|
13686
|
+
params = {} as Params$Resource$Organizations$Locations$Muteconfigs$Get;
|
|
13687
|
+
options = {};
|
|
13688
|
+
}
|
|
13689
|
+
|
|
13690
|
+
if (typeof optionsOrCallback === 'function') {
|
|
13691
|
+
callback = optionsOrCallback;
|
|
13692
|
+
options = {};
|
|
13693
|
+
}
|
|
13694
|
+
|
|
13695
|
+
const rootUrl =
|
|
13696
|
+
options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
13697
|
+
const parameters = {
|
|
13698
|
+
options: Object.assign(
|
|
13699
|
+
{
|
|
13700
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
13701
|
+
method: 'GET',
|
|
13702
|
+
apiVersion: '',
|
|
13703
|
+
},
|
|
13704
|
+
options
|
|
13705
|
+
),
|
|
13706
|
+
params,
|
|
13707
|
+
requiredParams: ['name'],
|
|
13708
|
+
pathParams: ['name'],
|
|
13709
|
+
context: this.context,
|
|
13710
|
+
};
|
|
13711
|
+
if (callback) {
|
|
13712
|
+
createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
|
|
13713
|
+
parameters,
|
|
13714
|
+
callback as BodyResponseCallback<unknown>
|
|
13715
|
+
);
|
|
13716
|
+
} else {
|
|
13717
|
+
return createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
|
|
13718
|
+
parameters
|
|
13719
|
+
);
|
|
13720
|
+
}
|
|
13721
|
+
}
|
|
13722
|
+
|
|
13723
|
+
/**
|
|
13724
|
+
* Lists mute configs.
|
|
13725
|
+
*
|
|
13726
|
+
* @param params - Parameters for request
|
|
13727
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
13728
|
+
* @param callback - Optional callback that handles the response.
|
|
13729
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
13730
|
+
*/
|
|
13731
|
+
list(
|
|
13732
|
+
params: Params$Resource$Organizations$Locations$Muteconfigs$List,
|
|
13733
|
+
options: StreamMethodOptions
|
|
13734
|
+
): GaxiosPromise<Readable>;
|
|
13735
|
+
list(
|
|
13736
|
+
params?: Params$Resource$Organizations$Locations$Muteconfigs$List,
|
|
13737
|
+
options?: MethodOptions
|
|
13738
|
+
): GaxiosPromise<Schema$ListMuteConfigsResponse>;
|
|
13739
|
+
list(
|
|
13740
|
+
params: Params$Resource$Organizations$Locations$Muteconfigs$List,
|
|
13741
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
13742
|
+
callback: BodyResponseCallback<Readable>
|
|
13743
|
+
): void;
|
|
13744
|
+
list(
|
|
13745
|
+
params: Params$Resource$Organizations$Locations$Muteconfigs$List,
|
|
13746
|
+
options:
|
|
13747
|
+
| MethodOptions
|
|
13748
|
+
| BodyResponseCallback<Schema$ListMuteConfigsResponse>,
|
|
13749
|
+
callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
13750
|
+
): void;
|
|
13751
|
+
list(
|
|
13752
|
+
params: Params$Resource$Organizations$Locations$Muteconfigs$List,
|
|
13753
|
+
callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
13049
13754
|
): void;
|
|
13050
|
-
|
|
13755
|
+
list(callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>): void;
|
|
13756
|
+
list(
|
|
13051
13757
|
paramsOrCallback?:
|
|
13052
|
-
| Params$Resource$Organizations$Locations$Muteconfigs$
|
|
13053
|
-
| BodyResponseCallback<Schema$
|
|
13758
|
+
| Params$Resource$Organizations$Locations$Muteconfigs$List
|
|
13759
|
+
| BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
13054
13760
|
| BodyResponseCallback<Readable>,
|
|
13055
13761
|
optionsOrCallback?:
|
|
13056
13762
|
| MethodOptions
|
|
13057
13763
|
| StreamMethodOptions
|
|
13058
|
-
| BodyResponseCallback<Schema$
|
|
13764
|
+
| BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
13059
13765
|
| BodyResponseCallback<Readable>,
|
|
13060
13766
|
callback?:
|
|
13061
|
-
| BodyResponseCallback<Schema$
|
|
13767
|
+
| BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
13062
13768
|
| BodyResponseCallback<Readable>
|
|
13063
13769
|
):
|
|
13064
13770
|
| void
|
|
13065
|
-
| GaxiosPromise<Schema$
|
|
13771
|
+
| GaxiosPromise<Schema$ListMuteConfigsResponse>
|
|
13066
13772
|
| GaxiosPromise<Readable> {
|
|
13067
13773
|
let params = (paramsOrCallback ||
|
|
13068
|
-
{}) as Params$Resource$Organizations$Locations$Muteconfigs$
|
|
13774
|
+
{}) as Params$Resource$Organizations$Locations$Muteconfigs$List;
|
|
13069
13775
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
13070
13776
|
|
|
13071
13777
|
if (typeof paramsOrCallback === 'function') {
|
|
13072
13778
|
callback = paramsOrCallback;
|
|
13073
|
-
params = {} as Params$Resource$Organizations$Locations$Muteconfigs$
|
|
13779
|
+
params = {} as Params$Resource$Organizations$Locations$Muteconfigs$List;
|
|
13074
13780
|
options = {};
|
|
13075
13781
|
}
|
|
13076
13782
|
|
|
@@ -13084,26 +13790,24 @@ export namespace securitycenter_v1 {
|
|
|
13084
13790
|
const parameters = {
|
|
13085
13791
|
options: Object.assign(
|
|
13086
13792
|
{
|
|
13087
|
-
url: (rootUrl + '/v1/{+
|
|
13793
|
+
url: (rootUrl + '/v1/{+parent}').replace(/([^:]\/)\/+/g, '$1'),
|
|
13088
13794
|
method: 'GET',
|
|
13089
13795
|
apiVersion: '',
|
|
13090
13796
|
},
|
|
13091
13797
|
options
|
|
13092
13798
|
),
|
|
13093
13799
|
params,
|
|
13094
|
-
requiredParams: ['
|
|
13095
|
-
pathParams: ['
|
|
13800
|
+
requiredParams: ['parent'],
|
|
13801
|
+
pathParams: ['parent'],
|
|
13096
13802
|
context: this.context,
|
|
13097
13803
|
};
|
|
13098
13804
|
if (callback) {
|
|
13099
|
-
createAPIRequest<Schema$
|
|
13805
|
+
createAPIRequest<Schema$ListMuteConfigsResponse>(
|
|
13100
13806
|
parameters,
|
|
13101
13807
|
callback as BodyResponseCallback<unknown>
|
|
13102
13808
|
);
|
|
13103
13809
|
} else {
|
|
13104
|
-
return createAPIRequest<Schema$
|
|
13105
|
-
parameters
|
|
13106
|
-
);
|
|
13810
|
+
return createAPIRequest<Schema$ListMuteConfigsResponse>(parameters);
|
|
13107
13811
|
}
|
|
13108
13812
|
}
|
|
13109
13813
|
|
|
@@ -13204,24 +13908,55 @@ export namespace securitycenter_v1 {
|
|
|
13204
13908
|
}
|
|
13205
13909
|
}
|
|
13206
13910
|
|
|
13911
|
+
export interface Params$Resource$Organizations$Locations$Muteconfigs$Create
|
|
13912
|
+
extends StandardParameters {
|
|
13913
|
+
/**
|
|
13914
|
+
* Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.
|
|
13915
|
+
*/
|
|
13916
|
+
muteConfigId?: string;
|
|
13917
|
+
/**
|
|
13918
|
+
* Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
13919
|
+
*/
|
|
13920
|
+
parent?: string;
|
|
13921
|
+
|
|
13922
|
+
/**
|
|
13923
|
+
* Request body metadata
|
|
13924
|
+
*/
|
|
13925
|
+
requestBody?: Schema$GoogleCloudSecuritycenterV1MuteConfig;
|
|
13926
|
+
}
|
|
13207
13927
|
export interface Params$Resource$Organizations$Locations$Muteconfigs$Delete
|
|
13208
13928
|
extends StandardParameters {
|
|
13209
13929
|
/**
|
|
13210
|
-
* Required. Name of the mute config to delete. Its format is organizations/{organization\}/muteConfigs/{config_id\}
|
|
13930
|
+
* Required. Name of the mute config to delete. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`.
|
|
13211
13931
|
*/
|
|
13212
13932
|
name?: string;
|
|
13213
13933
|
}
|
|
13214
13934
|
export interface Params$Resource$Organizations$Locations$Muteconfigs$Get
|
|
13215
13935
|
extends StandardParameters {
|
|
13216
13936
|
/**
|
|
13217
|
-
* Required. Name of the mute config to retrieve. Its format is organizations/{organization\}/muteConfigs/{config_id\}
|
|
13937
|
+
* Required. Name of the mute config to retrieve. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`.
|
|
13218
13938
|
*/
|
|
13219
13939
|
name?: string;
|
|
13220
13940
|
}
|
|
13941
|
+
export interface Params$Resource$Organizations$Locations$Muteconfigs$List
|
|
13942
|
+
extends StandardParameters {
|
|
13943
|
+
/**
|
|
13944
|
+
* The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
|
|
13945
|
+
*/
|
|
13946
|
+
pageSize?: number;
|
|
13947
|
+
/**
|
|
13948
|
+
* A page token, received from a previous `ListMuteConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMuteConfigs` must match the call that provided the page token.
|
|
13949
|
+
*/
|
|
13950
|
+
pageToken?: string;
|
|
13951
|
+
/**
|
|
13952
|
+
* Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.
|
|
13953
|
+
*/
|
|
13954
|
+
parent?: string;
|
|
13955
|
+
}
|
|
13221
13956
|
export interface Params$Resource$Organizations$Locations$Muteconfigs$Patch
|
|
13222
13957
|
extends StandardParameters {
|
|
13223
13958
|
/**
|
|
13224
|
-
* This field will be ignored if provided on config creation. Format
|
|
13959
|
+
* 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\}`
|
|
13225
13960
|
*/
|
|
13226
13961
|
name?: string;
|
|
13227
13962
|
/**
|
|
@@ -13717,7 +14452,7 @@ export namespace securitycenter_v1 {
|
|
|
13717
14452
|
*/
|
|
13718
14453
|
muteConfigId?: string;
|
|
13719
14454
|
/**
|
|
13720
|
-
* Required. Resource name of the new mute configs's parent. Its format is
|
|
14455
|
+
* Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
13721
14456
|
*/
|
|
13722
14457
|
parent?: string;
|
|
13723
14458
|
|
|
@@ -13729,14 +14464,14 @@ export namespace securitycenter_v1 {
|
|
|
13729
14464
|
export interface Params$Resource$Organizations$Muteconfigs$Delete
|
|
13730
14465
|
extends StandardParameters {
|
|
13731
14466
|
/**
|
|
13732
|
-
* Required. Name of the mute config to delete. Its format is organizations/{organization\}/muteConfigs/{config_id\}
|
|
14467
|
+
* Required. Name of the mute config to delete. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`.
|
|
13733
14468
|
*/
|
|
13734
14469
|
name?: string;
|
|
13735
14470
|
}
|
|
13736
14471
|
export interface Params$Resource$Organizations$Muteconfigs$Get
|
|
13737
14472
|
extends StandardParameters {
|
|
13738
14473
|
/**
|
|
13739
|
-
* Required. Name of the mute config to retrieve. Its format is organizations/{organization\}/muteConfigs/{config_id\}
|
|
14474
|
+
* Required. Name of the mute config to retrieve. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`.
|
|
13740
14475
|
*/
|
|
13741
14476
|
name?: string;
|
|
13742
14477
|
}
|
|
@@ -13751,14 +14486,14 @@ export namespace securitycenter_v1 {
|
|
|
13751
14486
|
*/
|
|
13752
14487
|
pageToken?: string;
|
|
13753
14488
|
/**
|
|
13754
|
-
* Required. The parent, which owns the collection of mute configs. Its format is
|
|
14489
|
+
* Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.
|
|
13755
14490
|
*/
|
|
13756
14491
|
parent?: string;
|
|
13757
14492
|
}
|
|
13758
14493
|
export interface Params$Resource$Organizations$Muteconfigs$Patch
|
|
13759
14494
|
extends StandardParameters {
|
|
13760
14495
|
/**
|
|
13761
|
-
* This field will be ignored if provided on config creation. Format
|
|
14496
|
+
* 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\}`
|
|
13762
14497
|
*/
|
|
13763
14498
|
name?: string;
|
|
13764
14499
|
/**
|
|
@@ -14240,7 +14975,7 @@ export namespace securitycenter_v1 {
|
|
|
14240
14975
|
*/
|
|
14241
14976
|
configId?: string;
|
|
14242
14977
|
/**
|
|
14243
|
-
* Required. Resource name of the new notification config's parent. Its format is
|
|
14978
|
+
* Required. Resource name of the new notification config's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
14244
14979
|
*/
|
|
14245
14980
|
parent?: string;
|
|
14246
14981
|
|
|
@@ -14252,14 +14987,14 @@ export namespace securitycenter_v1 {
|
|
|
14252
14987
|
export interface Params$Resource$Organizations$Notificationconfigs$Delete
|
|
14253
14988
|
extends StandardParameters {
|
|
14254
14989
|
/**
|
|
14255
|
-
* Required. Name of the notification config to delete. Its format is
|
|
14990
|
+
* Required. Name of the notification config to delete. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`.
|
|
14256
14991
|
*/
|
|
14257
14992
|
name?: string;
|
|
14258
14993
|
}
|
|
14259
14994
|
export interface Params$Resource$Organizations$Notificationconfigs$Get
|
|
14260
14995
|
extends StandardParameters {
|
|
14261
14996
|
/**
|
|
14262
|
-
* Required. Name of the notification config to get. Its format is
|
|
14997
|
+
* Required. Name of the notification config to get. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`.
|
|
14263
14998
|
*/
|
|
14264
14999
|
name?: string;
|
|
14265
15000
|
}
|
|
@@ -15194,7 +15929,7 @@ export namespace securitycenter_v1 {
|
|
|
15194
15929
|
export interface Params$Resource$Organizations$Resourcevalueconfigs$Get
|
|
15195
15930
|
extends StandardParameters {
|
|
15196
15931
|
/**
|
|
15197
|
-
* Required. Name of the resource value config to retrieve. Its format is organizations/{organization\}/resourceValueConfigs/{config_id\}
|
|
15932
|
+
* Required. Name of the resource value config to retrieve. Its format is `organizations/{organization\}/resourceValueConfigs/{config_id\}`.
|
|
15198
15933
|
*/
|
|
15199
15934
|
name?: string;
|
|
15200
15935
|
}
|
|
@@ -15209,14 +15944,14 @@ export namespace securitycenter_v1 {
|
|
|
15209
15944
|
*/
|
|
15210
15945
|
pageToken?: string;
|
|
15211
15946
|
/**
|
|
15212
|
-
* Required. The parent, which owns the collection of resource value configs. Its format is
|
|
15947
|
+
* Required. The parent, which owns the collection of resource value configs. Its format is `organizations/[organization_id]`
|
|
15213
15948
|
*/
|
|
15214
15949
|
parent?: string;
|
|
15215
15950
|
}
|
|
15216
15951
|
export interface Params$Resource$Organizations$Resourcevalueconfigs$Patch
|
|
15217
15952
|
extends StandardParameters {
|
|
15218
15953
|
/**
|
|
15219
|
-
* Name for the resource value
|
|
15954
|
+
* Name for the resource value configuration
|
|
15220
15955
|
*/
|
|
15221
15956
|
name?: string;
|
|
15222
15957
|
/**
|
|
@@ -15931,7 +16666,7 @@ export namespace securitycenter_v1 {
|
|
|
15931
16666
|
export interface Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Create
|
|
15932
16667
|
extends StandardParameters {
|
|
15933
16668
|
/**
|
|
15934
|
-
* Required. Resource name of the new custom module's parent. Its format is
|
|
16669
|
+
* Required. Resource name of the new custom module's parent. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings`
|
|
15935
16670
|
*/
|
|
15936
16671
|
parent?: string;
|
|
15937
16672
|
|
|
@@ -15943,14 +16678,14 @@ export namespace securitycenter_v1 {
|
|
|
15943
16678
|
export interface Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Delete
|
|
15944
16679
|
extends StandardParameters {
|
|
15945
16680
|
/**
|
|
15946
|
-
* Required. Name of the custom module to delete. Its format is
|
|
16681
|
+
* Required. Name of the custom module to delete. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, `folders/{folder\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, or `projects/{project\}/securityHealthAnalyticsSettings/customModules/{customModule\}`
|
|
15947
16682
|
*/
|
|
15948
16683
|
name?: string;
|
|
15949
16684
|
}
|
|
15950
16685
|
export interface Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Get
|
|
15951
16686
|
extends StandardParameters {
|
|
15952
16687
|
/**
|
|
15953
|
-
* Required. Name of the custom module to get. Its format is
|
|
16688
|
+
* Required. Name of the custom module to get. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, `folders/{folder\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, or `projects/{project\}/securityHealthAnalyticsSettings/customModules/{customModule\}`
|
|
15954
16689
|
*/
|
|
15955
16690
|
name?: string;
|
|
15956
16691
|
}
|
|
@@ -15965,7 +16700,7 @@ export namespace securitycenter_v1 {
|
|
|
15965
16700
|
*/
|
|
15966
16701
|
pageToken?: string;
|
|
15967
16702
|
/**
|
|
15968
|
-
* Required. Name of parent to list custom modules. Its format is
|
|
16703
|
+
* Required. Name of parent to list custom modules. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings`
|
|
15969
16704
|
*/
|
|
15970
16705
|
parent?: string;
|
|
15971
16706
|
}
|
|
@@ -15980,7 +16715,7 @@ export namespace securitycenter_v1 {
|
|
|
15980
16715
|
*/
|
|
15981
16716
|
pageToken?: string;
|
|
15982
16717
|
/**
|
|
15983
|
-
* Required. Name of parent to list descendant custom modules. Its format is
|
|
16718
|
+
* Required. Name of parent to list descendant custom modules. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings`
|
|
15984
16719
|
*/
|
|
15985
16720
|
parent?: string;
|
|
15986
16721
|
}
|
|
@@ -16218,7 +16953,7 @@ export namespace securitycenter_v1 {
|
|
|
16218
16953
|
export interface Params$Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules$Get
|
|
16219
16954
|
extends StandardParameters {
|
|
16220
16955
|
/**
|
|
16221
|
-
* Required. Name of the effective custom module to get. Its format is
|
|
16956
|
+
* Required. Name of the effective custom module to get. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}`, `folders/{folder\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}`, or `projects/{project\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}`
|
|
16222
16957
|
*/
|
|
16223
16958
|
name?: string;
|
|
16224
16959
|
}
|
|
@@ -16233,7 +16968,7 @@ export namespace securitycenter_v1 {
|
|
|
16233
16968
|
*/
|
|
16234
16969
|
pageToken?: string;
|
|
16235
16970
|
/**
|
|
16236
|
-
* Required. Name of parent to list effective custom modules. Its format is
|
|
16971
|
+
* Required. Name of parent to list effective custom modules. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings`
|
|
16237
16972
|
*/
|
|
16238
16973
|
parent?: string;
|
|
16239
16974
|
}
|
|
@@ -16346,7 +17081,7 @@ export namespace securitycenter_v1 {
|
|
|
16346
17081
|
export interface Params$Resource$Organizations$Simulations$Get
|
|
16347
17082
|
extends StandardParameters {
|
|
16348
17083
|
/**
|
|
16349
|
-
* Required. The organization name or simulation name of this simulation Valid format:
|
|
17084
|
+
* Required. The organization name or simulation name of this simulation Valid format: `organizations/{organization\}/simulations/latest` `organizations/{organization\}/simulations/{simulation\}`
|
|
16350
17085
|
*/
|
|
16351
17086
|
name?: string;
|
|
16352
17087
|
}
|
|
@@ -16485,7 +17220,7 @@ export namespace securitycenter_v1 {
|
|
|
16485
17220
|
*/
|
|
16486
17221
|
pageToken?: string;
|
|
16487
17222
|
/**
|
|
16488
|
-
* Required. Name of parent to list attack paths. Valid formats:
|
|
17223
|
+
* Required. Name of parent to list attack paths. Valid formats: `organizations/{organization\}`, `organizations/{organization\}/simulations/{simulation\}` `organizations/{organization\}/simulations/{simulation\}/attackExposureResults/{attack_exposure_result_v2\}` `organizations/{organization\}/simulations/{simulation\}/valuedResources/{valued_resource\}`
|
|
16489
17224
|
*/
|
|
16490
17225
|
parent?: string;
|
|
16491
17226
|
}
|
|
@@ -16601,7 +17336,7 @@ export namespace securitycenter_v1 {
|
|
|
16601
17336
|
*/
|
|
16602
17337
|
filter?: string;
|
|
16603
17338
|
/**
|
|
16604
|
-
* Optional. The fields by which to order the valued resources response. Supported fields: * `exposed_score` * `resource_value` * `resource_type` * `resource` * `display_name` Values should be a comma separated list of fields. For example: `exposed_score,resource_value`. The default sorting order is descending. To specify ascending or descending order for a field, append a
|
|
17339
|
+
* Optional. The fields by which to order the valued resources response. Supported fields: * `exposed_score` * `resource_value` * `resource_type` * `resource` * `display_name` Values should be a comma separated list of fields. For example: `exposed_score,resource_value`. The default sorting order is descending. To specify ascending or descending order for a field, append a ` ASC` or a ` DESC` suffix, respectively; for example: `exposed_score DESC`.
|
|
16605
17340
|
*/
|
|
16606
17341
|
orderBy?: string;
|
|
16607
17342
|
/**
|
|
@@ -16613,7 +17348,7 @@ export namespace securitycenter_v1 {
|
|
|
16613
17348
|
*/
|
|
16614
17349
|
pageToken?: string;
|
|
16615
17350
|
/**
|
|
16616
|
-
* Required. Name of parent to list valued resources. Valid formats:
|
|
17351
|
+
* Required. Name of parent to list valued resources. Valid formats: `organizations/{organization\}`, `organizations/{organization\}/simulations/{simulation\}` `organizations/{organization\}/simulations/{simulation\}/attackExposureResults/{attack_exposure_result_v2\}`
|
|
16617
17352
|
*/
|
|
16618
17353
|
parent?: string;
|
|
16619
17354
|
}
|
|
@@ -16735,7 +17470,7 @@ export namespace securitycenter_v1 {
|
|
|
16735
17470
|
*/
|
|
16736
17471
|
pageToken?: string;
|
|
16737
17472
|
/**
|
|
16738
|
-
* Required. Name of parent to list attack paths. Valid formats:
|
|
17473
|
+
* Required. Name of parent to list attack paths. Valid formats: `organizations/{organization\}`, `organizations/{organization\}/simulations/{simulation\}` `organizations/{organization\}/simulations/{simulation\}/attackExposureResults/{attack_exposure_result_v2\}` `organizations/{organization\}/simulations/{simulation\}/valuedResources/{valued_resource\}`
|
|
16739
17474
|
*/
|
|
16740
17475
|
parent?: string;
|
|
16741
17476
|
}
|
|
@@ -16939,7 +17674,7 @@ export namespace securitycenter_v1 {
|
|
|
16939
17674
|
export interface Params$Resource$Organizations$Simulations$Valuedresources$Get
|
|
16940
17675
|
extends StandardParameters {
|
|
16941
17676
|
/**
|
|
16942
|
-
* Required. The name of this valued resource Valid format:
|
|
17677
|
+
* Required. The name of this valued resource Valid format: `organizations/{organization\}/simulations/{simulation\}/valuedResources/{valued_resource\}`
|
|
16943
17678
|
*/
|
|
16944
17679
|
name?: string;
|
|
16945
17680
|
}
|
|
@@ -16950,7 +17685,7 @@ export namespace securitycenter_v1 {
|
|
|
16950
17685
|
*/
|
|
16951
17686
|
filter?: string;
|
|
16952
17687
|
/**
|
|
16953
|
-
* Optional. The fields by which to order the valued resources response. Supported fields: * `exposed_score` * `resource_value` * `resource_type` * `resource` * `display_name` Values should be a comma separated list of fields. For example: `exposed_score,resource_value`. The default sorting order is descending. To specify ascending or descending order for a field, append a
|
|
17688
|
+
* Optional. The fields by which to order the valued resources response. Supported fields: * `exposed_score` * `resource_value` * `resource_type` * `resource` * `display_name` Values should be a comma separated list of fields. For example: `exposed_score,resource_value`. The default sorting order is descending. To specify ascending or descending order for a field, append a ` ASC` or a ` DESC` suffix, respectively; for example: `exposed_score DESC`.
|
|
16954
17689
|
*/
|
|
16955
17690
|
orderBy?: string;
|
|
16956
17691
|
/**
|
|
@@ -16962,7 +17697,7 @@ export namespace securitycenter_v1 {
|
|
|
16962
17697
|
*/
|
|
16963
17698
|
pageToken?: string;
|
|
16964
17699
|
/**
|
|
16965
|
-
* Required. Name of parent to list valued resources. Valid formats:
|
|
17700
|
+
* Required. Name of parent to list valued resources. Valid formats: `organizations/{organization\}`, `organizations/{organization\}/simulations/{simulation\}` `organizations/{organization\}/simulations/{simulation\}/attackExposureResults/{attack_exposure_result_v2\}`
|
|
16966
17701
|
*/
|
|
16967
17702
|
parent?: string;
|
|
16968
17703
|
}
|
|
@@ -17084,7 +17819,7 @@ export namespace securitycenter_v1 {
|
|
|
17084
17819
|
*/
|
|
17085
17820
|
pageToken?: string;
|
|
17086
17821
|
/**
|
|
17087
|
-
* Required. Name of parent to list attack paths. Valid formats:
|
|
17822
|
+
* Required. Name of parent to list attack paths. Valid formats: `organizations/{organization\}`, `organizations/{organization\}/simulations/{simulation\}` `organizations/{organization\}/simulations/{simulation\}/attackExposureResults/{attack_exposure_result_v2\}` `organizations/{organization\}/simulations/{simulation\}/valuedResources/{valued_resource\}`
|
|
17088
17823
|
*/
|
|
17089
17824
|
parent?: string;
|
|
17090
17825
|
}
|
|
@@ -17728,7 +18463,7 @@ export namespace securitycenter_v1 {
|
|
|
17728
18463
|
export interface Params$Resource$Organizations$Sources$Create
|
|
17729
18464
|
extends StandardParameters {
|
|
17730
18465
|
/**
|
|
17731
|
-
* Required. Resource name of the new source's parent. Its format should be
|
|
18466
|
+
* Required. Resource name of the new source's parent. Its format should be `organizations/[organization_id]`.
|
|
17732
18467
|
*/
|
|
17733
18468
|
parent?: string;
|
|
17734
18469
|
|
|
@@ -17740,7 +18475,7 @@ export namespace securitycenter_v1 {
|
|
|
17740
18475
|
export interface Params$Resource$Organizations$Sources$Get
|
|
17741
18476
|
extends StandardParameters {
|
|
17742
18477
|
/**
|
|
17743
|
-
* Required. Relative resource name of the source. Its format is
|
|
18478
|
+
* Required. Relative resource name of the source. Its format is `organizations/[organization_id]/source/[source_id]`.
|
|
17744
18479
|
*/
|
|
17745
18480
|
name?: string;
|
|
17746
18481
|
}
|
|
@@ -17767,7 +18502,7 @@ export namespace securitycenter_v1 {
|
|
|
17767
18502
|
*/
|
|
17768
18503
|
pageToken?: string;
|
|
17769
18504
|
/**
|
|
17770
|
-
* Required. Resource name of the parent of sources to list. Its format should be
|
|
18505
|
+
* Required. Resource name of the parent of sources to list. Its format should be `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
17771
18506
|
*/
|
|
17772
18507
|
parent?: string;
|
|
17773
18508
|
}
|
|
@@ -18461,7 +19196,7 @@ export namespace securitycenter_v1 {
|
|
|
18461
19196
|
*/
|
|
18462
19197
|
findingId?: string;
|
|
18463
19198
|
/**
|
|
18464
|
-
* Required. Resource name of the new finding's parent. Its format should be
|
|
19199
|
+
* Required. Resource name of the new finding's parent. Its format should be `organizations/[organization_id]/sources/[source_id]`.
|
|
18465
19200
|
*/
|
|
18466
19201
|
parent?: string;
|
|
18467
19202
|
|
|
@@ -18473,7 +19208,7 @@ export namespace securitycenter_v1 {
|
|
|
18473
19208
|
export interface Params$Resource$Organizations$Sources$Findings$Group
|
|
18474
19209
|
extends StandardParameters {
|
|
18475
19210
|
/**
|
|
18476
|
-
* Required. Name of the source to groupBy. Its format is
|
|
19211
|
+
* Required. Name of the source to groupBy. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To groupBy across all sources provide a source_id of `-`. For example: `organizations/{organization_id\}/sources/-, folders/{folder_id\}/sources/-`, or `projects/{project_id\}/sources/-`
|
|
18477
19212
|
*/
|
|
18478
19213
|
parent?: string;
|
|
18479
19214
|
|
|
@@ -18509,7 +19244,7 @@ export namespace securitycenter_v1 {
|
|
|
18509
19244
|
*/
|
|
18510
19245
|
pageToken?: string;
|
|
18511
19246
|
/**
|
|
18512
|
-
* Required. Name of the source the findings belong to. Its format is
|
|
19247
|
+
* Required. Name of the source the findings belong to. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To list across all sources provide a source_id of `-`. For example: `organizations/{organization_id\}/sources/-`, `folders/{folder_id\}/sources/-` or `projects/{projects_id\}/sources/-`
|
|
18513
19248
|
*/
|
|
18514
19249
|
parent?: string;
|
|
18515
19250
|
/**
|
|
@@ -18536,7 +19271,7 @@ export namespace securitycenter_v1 {
|
|
|
18536
19271
|
export interface Params$Resource$Organizations$Sources$Findings$Setmute
|
|
18537
19272
|
extends StandardParameters {
|
|
18538
19273
|
/**
|
|
18539
|
-
* Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example:
|
|
19274
|
+
* Required. 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\}`.
|
|
18540
19275
|
*/
|
|
18541
19276
|
name?: string;
|
|
18542
19277
|
|
|
@@ -18548,7 +19283,7 @@ export namespace securitycenter_v1 {
|
|
|
18548
19283
|
export interface Params$Resource$Organizations$Sources$Findings$Setstate
|
|
18549
19284
|
extends StandardParameters {
|
|
18550
19285
|
/**
|
|
18551
|
-
* Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example:
|
|
19286
|
+
* Required. 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\}`.
|
|
18552
19287
|
*/
|
|
18553
19288
|
name?: string;
|
|
18554
19289
|
|
|
@@ -19011,7 +19746,7 @@ export namespace securitycenter_v1 {
|
|
|
19011
19746
|
export interface Params$Resource$Projects$Assets$Group
|
|
19012
19747
|
extends StandardParameters {
|
|
19013
19748
|
/**
|
|
19014
|
-
* Required. The name of the parent to group the assets by. Its format is
|
|
19749
|
+
* Required. The name of the parent to group the assets by. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
19015
19750
|
*/
|
|
19016
19751
|
parent?: string;
|
|
19017
19752
|
|
|
@@ -19047,7 +19782,7 @@ export namespace securitycenter_v1 {
|
|
|
19047
19782
|
*/
|
|
19048
19783
|
pageToken?: string;
|
|
19049
19784
|
/**
|
|
19050
|
-
* Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values:
|
|
19785
|
+
* Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
19051
19786
|
*/
|
|
19052
19787
|
parent?: string;
|
|
19053
19788
|
/**
|
|
@@ -19560,7 +20295,7 @@ export namespace securitycenter_v1 {
|
|
|
19560
20295
|
*/
|
|
19561
20296
|
bigQueryExportId?: string;
|
|
19562
20297
|
/**
|
|
19563
|
-
* Required. The name of the parent resource of the new BigQuery export. Its format is
|
|
20298
|
+
* Required. The name of the parent resource of the new BigQuery export. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
19564
20299
|
*/
|
|
19565
20300
|
parent?: string;
|
|
19566
20301
|
|
|
@@ -19572,14 +20307,14 @@ export namespace securitycenter_v1 {
|
|
|
19572
20307
|
export interface Params$Resource$Projects$Bigqueryexports$Delete
|
|
19573
20308
|
extends StandardParameters {
|
|
19574
20309
|
/**
|
|
19575
|
-
* Required. The name of the BigQuery export to delete. Its format is organizations/{organization\}/bigQueryExports/{export_id\}
|
|
20310
|
+
* Required. The name of the BigQuery export to delete. Its format is `organizations/{organization\}/bigQueryExports/{export_id\}`, `folders/{folder\}/bigQueryExports/{export_id\}`, or `projects/{project\}/bigQueryExports/{export_id\}`
|
|
19576
20311
|
*/
|
|
19577
20312
|
name?: string;
|
|
19578
20313
|
}
|
|
19579
20314
|
export interface Params$Resource$Projects$Bigqueryexports$Get
|
|
19580
20315
|
extends StandardParameters {
|
|
19581
20316
|
/**
|
|
19582
|
-
* Required. Name of the BigQuery export to retrieve. Its format is organizations/{organization\}/bigQueryExports/{export_id\}
|
|
20317
|
+
* Required. Name of the BigQuery export to retrieve. Its format is `organizations/{organization\}/bigQueryExports/{export_id\}`, `folders/{folder\}/bigQueryExports/{export_id\}`, or `projects/{project\}/bigQueryExports/{export_id\}`
|
|
19583
20318
|
*/
|
|
19584
20319
|
name?: string;
|
|
19585
20320
|
}
|
|
@@ -19594,7 +20329,7 @@ export namespace securitycenter_v1 {
|
|
|
19594
20329
|
*/
|
|
19595
20330
|
pageToken?: string;
|
|
19596
20331
|
/**
|
|
19597
|
-
* Required. The parent, which owns the collection of BigQuery exports. Its format is
|
|
20332
|
+
* Required. The parent, which owns the collection of BigQuery exports. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.
|
|
19598
20333
|
*/
|
|
19599
20334
|
parent?: string;
|
|
19600
20335
|
}
|
|
@@ -19734,7 +20469,7 @@ export namespace securitycenter_v1 {
|
|
|
19734
20469
|
export interface Params$Resource$Projects$Eventthreatdetectionsettings$Validatecustommodule
|
|
19735
20470
|
extends StandardParameters {
|
|
19736
20471
|
/**
|
|
19737
|
-
* Required. Resource name of the parent to validate the Custom Module under. Its format is: *
|
|
20472
|
+
* Required. Resource name of the parent to validate the Custom Module under. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings`. * `folders/{folder\}/eventThreatDetectionSettings`. * `projects/{project\}/eventThreatDetectionSettings`.
|
|
19738
20473
|
*/
|
|
19739
20474
|
parent?: string;
|
|
19740
20475
|
|
|
@@ -20329,7 +21064,7 @@ export namespace securitycenter_v1 {
|
|
|
20329
21064
|
export interface Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Create
|
|
20330
21065
|
extends StandardParameters {
|
|
20331
21066
|
/**
|
|
20332
|
-
* Required. The new custom module's parent. Its format is: *
|
|
21067
|
+
* Required. The new custom module's parent. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings`. * `folders/{folder\}/eventThreatDetectionSettings`. * `projects/{project\}/eventThreatDetectionSettings`.
|
|
20333
21068
|
*/
|
|
20334
21069
|
parent?: string;
|
|
20335
21070
|
|
|
@@ -20341,14 +21076,14 @@ export namespace securitycenter_v1 {
|
|
|
20341
21076
|
export interface Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Delete
|
|
20342
21077
|
extends StandardParameters {
|
|
20343
21078
|
/**
|
|
20344
|
-
* Required. Name of the custom module to delete. Its format is: *
|
|
21079
|
+
* Required. Name of the custom module to delete. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}`. * `folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}`. * `projects/{project\}/eventThreatDetectionSettings/customModules/{module\}`.
|
|
20345
21080
|
*/
|
|
20346
21081
|
name?: string;
|
|
20347
21082
|
}
|
|
20348
21083
|
export interface Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Get
|
|
20349
21084
|
extends StandardParameters {
|
|
20350
21085
|
/**
|
|
20351
|
-
* Required. Name of the custom module to get. Its format is: *
|
|
21086
|
+
* Required. Name of the custom module to get. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}`. * `folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}`. * `projects/{project\}/eventThreatDetectionSettings/customModules/{module\}`.
|
|
20352
21087
|
*/
|
|
20353
21088
|
name?: string;
|
|
20354
21089
|
}
|
|
@@ -20363,7 +21098,7 @@ export namespace securitycenter_v1 {
|
|
|
20363
21098
|
*/
|
|
20364
21099
|
pageToken?: string;
|
|
20365
21100
|
/**
|
|
20366
|
-
* Required. Name of the parent to list custom modules under. Its format is: *
|
|
21101
|
+
* Required. Name of the parent to list custom modules under. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings`. * `folders/{folder\}/eventThreatDetectionSettings`. * `projects/{project\}/eventThreatDetectionSettings`.
|
|
20367
21102
|
*/
|
|
20368
21103
|
parent?: string;
|
|
20369
21104
|
}
|
|
@@ -20378,14 +21113,14 @@ export namespace securitycenter_v1 {
|
|
|
20378
21113
|
*/
|
|
20379
21114
|
pageToken?: string;
|
|
20380
21115
|
/**
|
|
20381
|
-
* Required. Name of the parent to list custom modules under. Its format is: *
|
|
21116
|
+
* Required. Name of the parent to list custom modules under. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings`. * `folders/{folder\}/eventThreatDetectionSettings`. * `projects/{project\}/eventThreatDetectionSettings`.
|
|
20382
21117
|
*/
|
|
20383
21118
|
parent?: string;
|
|
20384
21119
|
}
|
|
20385
21120
|
export interface Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Patch
|
|
20386
21121
|
extends StandardParameters {
|
|
20387
21122
|
/**
|
|
20388
|
-
* Immutable. The resource name of the Event Threat Detection custom module. Its format is: *
|
|
21123
|
+
* Immutable. The resource name of the Event Threat Detection custom module. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}`. * `folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}`. * `projects/{project\}/eventThreatDetectionSettings/customModules/{module\}`.
|
|
20389
21124
|
*/
|
|
20390
21125
|
name?: string;
|
|
20391
21126
|
/**
|
|
@@ -20604,7 +21339,7 @@ export namespace securitycenter_v1 {
|
|
|
20604
21339
|
export interface Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$Get
|
|
20605
21340
|
extends StandardParameters {
|
|
20606
21341
|
/**
|
|
20607
|
-
* Required. The resource name of the effective Event Threat Detection custom module. Its format is: *
|
|
21342
|
+
* Required. The resource name of the effective Event Threat Detection custom module. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}`. * `folders/{folder\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}`. * `projects/{project\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}`.
|
|
20608
21343
|
*/
|
|
20609
21344
|
name?: string;
|
|
20610
21345
|
}
|
|
@@ -20619,7 +21354,7 @@ export namespace securitycenter_v1 {
|
|
|
20619
21354
|
*/
|
|
20620
21355
|
pageToken?: string;
|
|
20621
21356
|
/**
|
|
20622
|
-
* Required. Name of the parent to list custom modules for. Its format is: *
|
|
21357
|
+
* Required. Name of the parent to list custom modules for. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings`. * `folders/{folder\}/eventThreatDetectionSettings`. * `projects/{project\}/eventThreatDetectionSettings`.
|
|
20623
21358
|
*/
|
|
20624
21359
|
parent?: string;
|
|
20625
21360
|
}
|
|
@@ -20723,7 +21458,7 @@ export namespace securitycenter_v1 {
|
|
|
20723
21458
|
export interface Params$Resource$Projects$Findings$Bulkmute
|
|
20724
21459
|
extends StandardParameters {
|
|
20725
21460
|
/**
|
|
20726
|
-
* Required. The parent, at which bulk action needs to be applied. Its format is
|
|
21461
|
+
* Required. The parent, at which bulk action needs to be applied. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.
|
|
20727
21462
|
*/
|
|
20728
21463
|
parent?: string;
|
|
20729
21464
|
|
|
@@ -20750,6 +21485,104 @@ export namespace securitycenter_v1 {
|
|
|
20750
21485
|
this.context = context;
|
|
20751
21486
|
}
|
|
20752
21487
|
|
|
21488
|
+
/**
|
|
21489
|
+
* Creates a mute config.
|
|
21490
|
+
*
|
|
21491
|
+
* @param params - Parameters for request
|
|
21492
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
21493
|
+
* @param callback - Optional callback that handles the response.
|
|
21494
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
21495
|
+
*/
|
|
21496
|
+
create(
|
|
21497
|
+
params: Params$Resource$Projects$Locations$Muteconfigs$Create,
|
|
21498
|
+
options: StreamMethodOptions
|
|
21499
|
+
): GaxiosPromise<Readable>;
|
|
21500
|
+
create(
|
|
21501
|
+
params?: Params$Resource$Projects$Locations$Muteconfigs$Create,
|
|
21502
|
+
options?: MethodOptions
|
|
21503
|
+
): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
|
|
21504
|
+
create(
|
|
21505
|
+
params: Params$Resource$Projects$Locations$Muteconfigs$Create,
|
|
21506
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
21507
|
+
callback: BodyResponseCallback<Readable>
|
|
21508
|
+
): void;
|
|
21509
|
+
create(
|
|
21510
|
+
params: Params$Resource$Projects$Locations$Muteconfigs$Create,
|
|
21511
|
+
options:
|
|
21512
|
+
| MethodOptions
|
|
21513
|
+
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>,
|
|
21514
|
+
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
21515
|
+
): void;
|
|
21516
|
+
create(
|
|
21517
|
+
params: Params$Resource$Projects$Locations$Muteconfigs$Create,
|
|
21518
|
+
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
21519
|
+
): void;
|
|
21520
|
+
create(
|
|
21521
|
+
callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
21522
|
+
): void;
|
|
21523
|
+
create(
|
|
21524
|
+
paramsOrCallback?:
|
|
21525
|
+
| Params$Resource$Projects$Locations$Muteconfigs$Create
|
|
21526
|
+
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
21527
|
+
| BodyResponseCallback<Readable>,
|
|
21528
|
+
optionsOrCallback?:
|
|
21529
|
+
| MethodOptions
|
|
21530
|
+
| StreamMethodOptions
|
|
21531
|
+
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
21532
|
+
| BodyResponseCallback<Readable>,
|
|
21533
|
+
callback?:
|
|
21534
|
+
| BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
21535
|
+
| BodyResponseCallback<Readable>
|
|
21536
|
+
):
|
|
21537
|
+
| void
|
|
21538
|
+
| GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
|
|
21539
|
+
| GaxiosPromise<Readable> {
|
|
21540
|
+
let params = (paramsOrCallback ||
|
|
21541
|
+
{}) as Params$Resource$Projects$Locations$Muteconfigs$Create;
|
|
21542
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
21543
|
+
|
|
21544
|
+
if (typeof paramsOrCallback === 'function') {
|
|
21545
|
+
callback = paramsOrCallback;
|
|
21546
|
+
params = {} as Params$Resource$Projects$Locations$Muteconfigs$Create;
|
|
21547
|
+
options = {};
|
|
21548
|
+
}
|
|
21549
|
+
|
|
21550
|
+
if (typeof optionsOrCallback === 'function') {
|
|
21551
|
+
callback = optionsOrCallback;
|
|
21552
|
+
options = {};
|
|
21553
|
+
}
|
|
21554
|
+
|
|
21555
|
+
const rootUrl =
|
|
21556
|
+
options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
21557
|
+
const parameters = {
|
|
21558
|
+
options: Object.assign(
|
|
21559
|
+
{
|
|
21560
|
+
url: (rootUrl + '/v1/{+parent}/muteConfigs').replace(
|
|
21561
|
+
/([^:]\/)\/+/g,
|
|
21562
|
+
'$1'
|
|
21563
|
+
),
|
|
21564
|
+
method: 'POST',
|
|
21565
|
+
apiVersion: '',
|
|
21566
|
+
},
|
|
21567
|
+
options
|
|
21568
|
+
),
|
|
21569
|
+
params,
|
|
21570
|
+
requiredParams: ['parent'],
|
|
21571
|
+
pathParams: ['parent'],
|
|
21572
|
+
context: this.context,
|
|
21573
|
+
};
|
|
21574
|
+
if (callback) {
|
|
21575
|
+
createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
|
|
21576
|
+
parameters,
|
|
21577
|
+
callback as BodyResponseCallback<unknown>
|
|
21578
|
+
);
|
|
21579
|
+
} else {
|
|
21580
|
+
return createAPIRequest<Schema$GoogleCloudSecuritycenterV1MuteConfig>(
|
|
21581
|
+
parameters
|
|
21582
|
+
);
|
|
21583
|
+
}
|
|
21584
|
+
}
|
|
21585
|
+
|
|
20753
21586
|
/**
|
|
20754
21587
|
* Deletes an existing mute config.
|
|
20755
21588
|
*
|
|
@@ -20931,6 +21764,97 @@ export namespace securitycenter_v1 {
|
|
|
20931
21764
|
}
|
|
20932
21765
|
}
|
|
20933
21766
|
|
|
21767
|
+
/**
|
|
21768
|
+
* Lists mute configs.
|
|
21769
|
+
*
|
|
21770
|
+
* @param params - Parameters for request
|
|
21771
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
21772
|
+
* @param callback - Optional callback that handles the response.
|
|
21773
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
21774
|
+
*/
|
|
21775
|
+
list(
|
|
21776
|
+
params: Params$Resource$Projects$Locations$Muteconfigs$List,
|
|
21777
|
+
options: StreamMethodOptions
|
|
21778
|
+
): GaxiosPromise<Readable>;
|
|
21779
|
+
list(
|
|
21780
|
+
params?: Params$Resource$Projects$Locations$Muteconfigs$List,
|
|
21781
|
+
options?: MethodOptions
|
|
21782
|
+
): GaxiosPromise<Schema$ListMuteConfigsResponse>;
|
|
21783
|
+
list(
|
|
21784
|
+
params: Params$Resource$Projects$Locations$Muteconfigs$List,
|
|
21785
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
21786
|
+
callback: BodyResponseCallback<Readable>
|
|
21787
|
+
): void;
|
|
21788
|
+
list(
|
|
21789
|
+
params: Params$Resource$Projects$Locations$Muteconfigs$List,
|
|
21790
|
+
options:
|
|
21791
|
+
| MethodOptions
|
|
21792
|
+
| BodyResponseCallback<Schema$ListMuteConfigsResponse>,
|
|
21793
|
+
callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
21794
|
+
): void;
|
|
21795
|
+
list(
|
|
21796
|
+
params: Params$Resource$Projects$Locations$Muteconfigs$List,
|
|
21797
|
+
callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
21798
|
+
): void;
|
|
21799
|
+
list(callback: BodyResponseCallback<Schema$ListMuteConfigsResponse>): void;
|
|
21800
|
+
list(
|
|
21801
|
+
paramsOrCallback?:
|
|
21802
|
+
| Params$Resource$Projects$Locations$Muteconfigs$List
|
|
21803
|
+
| BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
21804
|
+
| BodyResponseCallback<Readable>,
|
|
21805
|
+
optionsOrCallback?:
|
|
21806
|
+
| MethodOptions
|
|
21807
|
+
| StreamMethodOptions
|
|
21808
|
+
| BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
21809
|
+
| BodyResponseCallback<Readable>,
|
|
21810
|
+
callback?:
|
|
21811
|
+
| BodyResponseCallback<Schema$ListMuteConfigsResponse>
|
|
21812
|
+
| BodyResponseCallback<Readable>
|
|
21813
|
+
):
|
|
21814
|
+
| void
|
|
21815
|
+
| GaxiosPromise<Schema$ListMuteConfigsResponse>
|
|
21816
|
+
| GaxiosPromise<Readable> {
|
|
21817
|
+
let params = (paramsOrCallback ||
|
|
21818
|
+
{}) as Params$Resource$Projects$Locations$Muteconfigs$List;
|
|
21819
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
21820
|
+
|
|
21821
|
+
if (typeof paramsOrCallback === 'function') {
|
|
21822
|
+
callback = paramsOrCallback;
|
|
21823
|
+
params = {} as Params$Resource$Projects$Locations$Muteconfigs$List;
|
|
21824
|
+
options = {};
|
|
21825
|
+
}
|
|
21826
|
+
|
|
21827
|
+
if (typeof optionsOrCallback === 'function') {
|
|
21828
|
+
callback = optionsOrCallback;
|
|
21829
|
+
options = {};
|
|
21830
|
+
}
|
|
21831
|
+
|
|
21832
|
+
const rootUrl =
|
|
21833
|
+
options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
21834
|
+
const parameters = {
|
|
21835
|
+
options: Object.assign(
|
|
21836
|
+
{
|
|
21837
|
+
url: (rootUrl + '/v1/{+parent}').replace(/([^:]\/)\/+/g, '$1'),
|
|
21838
|
+
method: 'GET',
|
|
21839
|
+
apiVersion: '',
|
|
21840
|
+
},
|
|
21841
|
+
options
|
|
21842
|
+
),
|
|
21843
|
+
params,
|
|
21844
|
+
requiredParams: ['parent'],
|
|
21845
|
+
pathParams: ['parent'],
|
|
21846
|
+
context: this.context,
|
|
21847
|
+
};
|
|
21848
|
+
if (callback) {
|
|
21849
|
+
createAPIRequest<Schema$ListMuteConfigsResponse>(
|
|
21850
|
+
parameters,
|
|
21851
|
+
callback as BodyResponseCallback<unknown>
|
|
21852
|
+
);
|
|
21853
|
+
} else {
|
|
21854
|
+
return createAPIRequest<Schema$ListMuteConfigsResponse>(parameters);
|
|
21855
|
+
}
|
|
21856
|
+
}
|
|
21857
|
+
|
|
20934
21858
|
/**
|
|
20935
21859
|
* Updates a mute config.
|
|
20936
21860
|
*
|
|
@@ -21027,24 +21951,55 @@ export namespace securitycenter_v1 {
|
|
|
21027
21951
|
}
|
|
21028
21952
|
}
|
|
21029
21953
|
|
|
21954
|
+
export interface Params$Resource$Projects$Locations$Muteconfigs$Create
|
|
21955
|
+
extends StandardParameters {
|
|
21956
|
+
/**
|
|
21957
|
+
* Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.
|
|
21958
|
+
*/
|
|
21959
|
+
muteConfigId?: string;
|
|
21960
|
+
/**
|
|
21961
|
+
* Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
21962
|
+
*/
|
|
21963
|
+
parent?: string;
|
|
21964
|
+
|
|
21965
|
+
/**
|
|
21966
|
+
* Request body metadata
|
|
21967
|
+
*/
|
|
21968
|
+
requestBody?: Schema$GoogleCloudSecuritycenterV1MuteConfig;
|
|
21969
|
+
}
|
|
21030
21970
|
export interface Params$Resource$Projects$Locations$Muteconfigs$Delete
|
|
21031
21971
|
extends StandardParameters {
|
|
21032
21972
|
/**
|
|
21033
|
-
* Required. Name of the mute config to delete. Its format is organizations/{organization\}/muteConfigs/{config_id\}
|
|
21973
|
+
* Required. Name of the mute config to delete. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`.
|
|
21034
21974
|
*/
|
|
21035
21975
|
name?: string;
|
|
21036
21976
|
}
|
|
21037
21977
|
export interface Params$Resource$Projects$Locations$Muteconfigs$Get
|
|
21038
21978
|
extends StandardParameters {
|
|
21039
21979
|
/**
|
|
21040
|
-
* Required. Name of the mute config to retrieve. Its format is organizations/{organization\}/muteConfigs/{config_id\}
|
|
21980
|
+
* Required. Name of the mute config to retrieve. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`.
|
|
21041
21981
|
*/
|
|
21042
21982
|
name?: string;
|
|
21043
21983
|
}
|
|
21984
|
+
export interface Params$Resource$Projects$Locations$Muteconfigs$List
|
|
21985
|
+
extends StandardParameters {
|
|
21986
|
+
/**
|
|
21987
|
+
* The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
|
|
21988
|
+
*/
|
|
21989
|
+
pageSize?: number;
|
|
21990
|
+
/**
|
|
21991
|
+
* A page token, received from a previous `ListMuteConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMuteConfigs` must match the call that provided the page token.
|
|
21992
|
+
*/
|
|
21993
|
+
pageToken?: string;
|
|
21994
|
+
/**
|
|
21995
|
+
* Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.
|
|
21996
|
+
*/
|
|
21997
|
+
parent?: string;
|
|
21998
|
+
}
|
|
21044
21999
|
export interface Params$Resource$Projects$Locations$Muteconfigs$Patch
|
|
21045
22000
|
extends StandardParameters {
|
|
21046
22001
|
/**
|
|
21047
|
-
* This field will be ignored if provided on config creation. Format
|
|
22002
|
+
* 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\}`
|
|
21048
22003
|
*/
|
|
21049
22004
|
name?: string;
|
|
21050
22005
|
/**
|
|
@@ -21540,7 +22495,7 @@ export namespace securitycenter_v1 {
|
|
|
21540
22495
|
*/
|
|
21541
22496
|
muteConfigId?: string;
|
|
21542
22497
|
/**
|
|
21543
|
-
* Required. Resource name of the new mute configs's parent. Its format is
|
|
22498
|
+
* Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
21544
22499
|
*/
|
|
21545
22500
|
parent?: string;
|
|
21546
22501
|
|
|
@@ -21552,14 +22507,14 @@ export namespace securitycenter_v1 {
|
|
|
21552
22507
|
export interface Params$Resource$Projects$Muteconfigs$Delete
|
|
21553
22508
|
extends StandardParameters {
|
|
21554
22509
|
/**
|
|
21555
|
-
* Required. Name of the mute config to delete. Its format is organizations/{organization\}/muteConfigs/{config_id\}
|
|
22510
|
+
* Required. Name of the mute config to delete. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`.
|
|
21556
22511
|
*/
|
|
21557
22512
|
name?: string;
|
|
21558
22513
|
}
|
|
21559
22514
|
export interface Params$Resource$Projects$Muteconfigs$Get
|
|
21560
22515
|
extends StandardParameters {
|
|
21561
22516
|
/**
|
|
21562
|
-
* Required. Name of the mute config to retrieve. Its format is organizations/{organization\}/muteConfigs/{config_id\}
|
|
22517
|
+
* Required. Name of the mute config to retrieve. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`.
|
|
21563
22518
|
*/
|
|
21564
22519
|
name?: string;
|
|
21565
22520
|
}
|
|
@@ -21574,14 +22529,14 @@ export namespace securitycenter_v1 {
|
|
|
21574
22529
|
*/
|
|
21575
22530
|
pageToken?: string;
|
|
21576
22531
|
/**
|
|
21577
|
-
* Required. The parent, which owns the collection of mute configs. Its format is
|
|
22532
|
+
* Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.
|
|
21578
22533
|
*/
|
|
21579
22534
|
parent?: string;
|
|
21580
22535
|
}
|
|
21581
22536
|
export interface Params$Resource$Projects$Muteconfigs$Patch
|
|
21582
22537
|
extends StandardParameters {
|
|
21583
22538
|
/**
|
|
21584
|
-
* This field will be ignored if provided on config creation. Format
|
|
22539
|
+
* 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\}`
|
|
21585
22540
|
*/
|
|
21586
22541
|
name?: string;
|
|
21587
22542
|
/**
|
|
@@ -22063,7 +23018,7 @@ export namespace securitycenter_v1 {
|
|
|
22063
23018
|
*/
|
|
22064
23019
|
configId?: string;
|
|
22065
23020
|
/**
|
|
22066
|
-
* Required. Resource name of the new notification config's parent. Its format is
|
|
23021
|
+
* Required. Resource name of the new notification config's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
22067
23022
|
*/
|
|
22068
23023
|
parent?: string;
|
|
22069
23024
|
|
|
@@ -22075,14 +23030,14 @@ export namespace securitycenter_v1 {
|
|
|
22075
23030
|
export interface Params$Resource$Projects$Notificationconfigs$Delete
|
|
22076
23031
|
extends StandardParameters {
|
|
22077
23032
|
/**
|
|
22078
|
-
* Required. Name of the notification config to delete. Its format is
|
|
23033
|
+
* Required. Name of the notification config to delete. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`.
|
|
22079
23034
|
*/
|
|
22080
23035
|
name?: string;
|
|
22081
23036
|
}
|
|
22082
23037
|
export interface Params$Resource$Projects$Notificationconfigs$Get
|
|
22083
23038
|
extends StandardParameters {
|
|
22084
23039
|
/**
|
|
22085
|
-
* Required. Name of the notification config to get. Its format is
|
|
23040
|
+
* Required. Name of the notification config to get. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`.
|
|
22086
23041
|
*/
|
|
22087
23042
|
name?: string;
|
|
22088
23043
|
}
|
|
@@ -22819,7 +23774,7 @@ export namespace securitycenter_v1 {
|
|
|
22819
23774
|
export interface Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Create
|
|
22820
23775
|
extends StandardParameters {
|
|
22821
23776
|
/**
|
|
22822
|
-
* Required. Resource name of the new custom module's parent. Its format is
|
|
23777
|
+
* Required. Resource name of the new custom module's parent. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings`
|
|
22823
23778
|
*/
|
|
22824
23779
|
parent?: string;
|
|
22825
23780
|
|
|
@@ -22831,14 +23786,14 @@ export namespace securitycenter_v1 {
|
|
|
22831
23786
|
export interface Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Delete
|
|
22832
23787
|
extends StandardParameters {
|
|
22833
23788
|
/**
|
|
22834
|
-
* Required. Name of the custom module to delete. Its format is
|
|
23789
|
+
* Required. Name of the custom module to delete. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, `folders/{folder\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, or `projects/{project\}/securityHealthAnalyticsSettings/customModules/{customModule\}`
|
|
22835
23790
|
*/
|
|
22836
23791
|
name?: string;
|
|
22837
23792
|
}
|
|
22838
23793
|
export interface Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Get
|
|
22839
23794
|
extends StandardParameters {
|
|
22840
23795
|
/**
|
|
22841
|
-
* Required. Name of the custom module to get. Its format is
|
|
23796
|
+
* Required. Name of the custom module to get. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, `folders/{folder\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, or `projects/{project\}/securityHealthAnalyticsSettings/customModules/{customModule\}`
|
|
22842
23797
|
*/
|
|
22843
23798
|
name?: string;
|
|
22844
23799
|
}
|
|
@@ -22853,7 +23808,7 @@ export namespace securitycenter_v1 {
|
|
|
22853
23808
|
*/
|
|
22854
23809
|
pageToken?: string;
|
|
22855
23810
|
/**
|
|
22856
|
-
* Required. Name of parent to list custom modules. Its format is
|
|
23811
|
+
* Required. Name of parent to list custom modules. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings`
|
|
22857
23812
|
*/
|
|
22858
23813
|
parent?: string;
|
|
22859
23814
|
}
|
|
@@ -22868,7 +23823,7 @@ export namespace securitycenter_v1 {
|
|
|
22868
23823
|
*/
|
|
22869
23824
|
pageToken?: string;
|
|
22870
23825
|
/**
|
|
22871
|
-
* Required. Name of parent to list descendant custom modules. Its format is
|
|
23826
|
+
* Required. Name of parent to list descendant custom modules. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings`
|
|
22872
23827
|
*/
|
|
22873
23828
|
parent?: string;
|
|
22874
23829
|
}
|
|
@@ -23106,7 +24061,7 @@ export namespace securitycenter_v1 {
|
|
|
23106
24061
|
export interface Params$Resource$Projects$Securityhealthanalyticssettings$Effectivecustommodules$Get
|
|
23107
24062
|
extends StandardParameters {
|
|
23108
24063
|
/**
|
|
23109
|
-
* Required. Name of the effective custom module to get. Its format is
|
|
24064
|
+
* Required. Name of the effective custom module to get. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}`, `folders/{folder\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}`, or `projects/{project\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}`
|
|
23110
24065
|
*/
|
|
23111
24066
|
name?: string;
|
|
23112
24067
|
}
|
|
@@ -23121,7 +24076,7 @@ export namespace securitycenter_v1 {
|
|
|
23121
24076
|
*/
|
|
23122
24077
|
pageToken?: string;
|
|
23123
24078
|
/**
|
|
23124
|
-
* Required. Name of parent to list effective custom modules. Its format is
|
|
24079
|
+
* Required. Name of parent to list effective custom modules. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings`
|
|
23125
24080
|
*/
|
|
23126
24081
|
parent?: string;
|
|
23127
24082
|
}
|
|
@@ -23238,7 +24193,7 @@ export namespace securitycenter_v1 {
|
|
|
23238
24193
|
*/
|
|
23239
24194
|
pageToken?: string;
|
|
23240
24195
|
/**
|
|
23241
|
-
* Required. Resource name of the parent of sources to list. Its format should be
|
|
24196
|
+
* Required. Resource name of the parent of sources to list. Its format should be `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
|
|
23242
24197
|
*/
|
|
23243
24198
|
parent?: string;
|
|
23244
24199
|
}
|
|
@@ -23797,7 +24752,7 @@ export namespace securitycenter_v1 {
|
|
|
23797
24752
|
export interface Params$Resource$Projects$Sources$Findings$Group
|
|
23798
24753
|
extends StandardParameters {
|
|
23799
24754
|
/**
|
|
23800
|
-
* Required. Name of the source to groupBy. Its format is
|
|
24755
|
+
* Required. Name of the source to groupBy. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To groupBy across all sources provide a source_id of `-`. For example: `organizations/{organization_id\}/sources/-, folders/{folder_id\}/sources/-`, or `projects/{project_id\}/sources/-`
|
|
23801
24756
|
*/
|
|
23802
24757
|
parent?: string;
|
|
23803
24758
|
|
|
@@ -23833,7 +24788,7 @@ export namespace securitycenter_v1 {
|
|
|
23833
24788
|
*/
|
|
23834
24789
|
pageToken?: string;
|
|
23835
24790
|
/**
|
|
23836
|
-
* Required. Name of the source the findings belong to. Its format is
|
|
24791
|
+
* Required. Name of the source the findings belong to. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To list across all sources provide a source_id of `-`. For example: `organizations/{organization_id\}/sources/-`, `folders/{folder_id\}/sources/-` or `projects/{projects_id\}/sources/-`
|
|
23837
24792
|
*/
|
|
23838
24793
|
parent?: string;
|
|
23839
24794
|
/**
|
|
@@ -23860,7 +24815,7 @@ export namespace securitycenter_v1 {
|
|
|
23860
24815
|
export interface Params$Resource$Projects$Sources$Findings$Setmute
|
|
23861
24816
|
extends StandardParameters {
|
|
23862
24817
|
/**
|
|
23863
|
-
* Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example:
|
|
24818
|
+
* Required. 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\}`.
|
|
23864
24819
|
*/
|
|
23865
24820
|
name?: string;
|
|
23866
24821
|
|
|
@@ -23872,7 +24827,7 @@ export namespace securitycenter_v1 {
|
|
|
23872
24827
|
export interface Params$Resource$Projects$Sources$Findings$Setstate
|
|
23873
24828
|
extends StandardParameters {
|
|
23874
24829
|
/**
|
|
23875
|
-
* Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example:
|
|
24830
|
+
* Required. 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\}`.
|
|
23876
24831
|
*/
|
|
23877
24832
|
name?: string;
|
|
23878
24833
|
|