@maxim_mazurok/gapi.client.securitycenter-v1beta2 0.0.20240622 → 0.0.20240628
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/index.d.ts +20 -20
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://securitycenter.googleapis.com/$discovery/rest?version=v1beta2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240628
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -87,7 +87,7 @@ declare namespace gapi.client {
|
|
|
87
87
|
volumePps?: number;
|
|
88
88
|
}
|
|
89
89
|
interface AttackExposure {
|
|
90
|
-
/** 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 */
|
|
90
|
+
/** 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` */
|
|
91
91
|
attackExposureResult?: string;
|
|
92
92
|
/** The number of high value resources that are exposed as a result of this finding. */
|
|
93
93
|
exposedHighValueResourcesCount?: number;
|
|
@@ -129,7 +129,7 @@ declare namespace gapi.client {
|
|
|
129
129
|
interface AzureManagementGroup {
|
|
130
130
|
/** The display name of the Azure management group. */
|
|
131
131
|
displayName?: string;
|
|
132
|
-
/** The UUID of the Azure management group, for example,
|
|
132
|
+
/** The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`. */
|
|
133
133
|
id?: string;
|
|
134
134
|
}
|
|
135
135
|
interface AzureMetadata {
|
|
@@ -147,7 +147,7 @@ declare namespace gapi.client {
|
|
|
147
147
|
interface AzureSubscription {
|
|
148
148
|
/** The display name of the Azure subscription. */
|
|
149
149
|
displayName?: string;
|
|
150
|
-
/** The UUID of the Azure subscription, for example,
|
|
150
|
+
/** The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`. */
|
|
151
151
|
id?: string;
|
|
152
152
|
}
|
|
153
153
|
interface BackupDisasterRecovery {
|
|
@@ -640,7 +640,7 @@ declare namespace gapi.client {
|
|
|
640
640
|
filter?: string;
|
|
641
641
|
/** Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update. */
|
|
642
642
|
mostRecentEditor?: string;
|
|
643
|
-
/** This field will be ignored if provided on config creation. Format
|
|
643
|
+
/** 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}` */
|
|
644
644
|
name?: string;
|
|
645
645
|
/** 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. */
|
|
646
646
|
updateTime?: string;
|
|
@@ -754,7 +754,7 @@ declare namespace gapi.client {
|
|
|
754
754
|
projectDisplayName?: string;
|
|
755
755
|
/** Provides the path to the resource within the resource hierarchy. */
|
|
756
756
|
resourcePath?: ResourcePath;
|
|
757
|
-
/** 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. */
|
|
757
|
+
/** 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. */
|
|
758
758
|
resourcePathString?: string;
|
|
759
759
|
/** The parent service or product from which the resource is provided, for example, GKE or SNS. */
|
|
760
760
|
service?: string;
|
|
@@ -774,17 +774,17 @@ declare namespace gapi.client {
|
|
|
774
774
|
description?: string;
|
|
775
775
|
/** Name for the resource value configuration */
|
|
776
776
|
name?: string;
|
|
777
|
-
/** List of resource labels to search for, evaluated with AND
|
|
777
|
+
/** 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 */
|
|
778
778
|
resourceLabelsSelector?: {[P in string]: string};
|
|
779
|
-
/** 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. */
|
|
779
|
+
/** 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. */
|
|
780
780
|
resourceType?: string;
|
|
781
781
|
/** Required. Resource value level this expression represents */
|
|
782
782
|
resourceValue?: string;
|
|
783
|
-
/** 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. */
|
|
783
|
+
/** 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. */
|
|
784
784
|
scope?: string;
|
|
785
785
|
/** A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. "bigquery.googleapis.com/Dataset". */
|
|
786
786
|
sensitiveDataProtectionMapping?: GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping;
|
|
787
|
-
/** 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 */
|
|
787
|
+
/** 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 */
|
|
788
788
|
tagValues?: string[];
|
|
789
789
|
/** Output only. Timestamp this resource value configuration was last updated. */
|
|
790
790
|
updateTime?: string;
|
|
@@ -876,7 +876,7 @@ declare namespace gapi.client {
|
|
|
876
876
|
volumePps?: number;
|
|
877
877
|
}
|
|
878
878
|
interface GoogleCloudSecuritycenterV2AttackExposure {
|
|
879
|
-
/** 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 */
|
|
879
|
+
/** 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` */
|
|
880
880
|
attackExposureResult?: string;
|
|
881
881
|
/** The number of high value resources that are exposed as a result of this finding. */
|
|
882
882
|
exposedHighValueResourcesCount?: number;
|
|
@@ -918,7 +918,7 @@ declare namespace gapi.client {
|
|
|
918
918
|
interface GoogleCloudSecuritycenterV2AzureManagementGroup {
|
|
919
919
|
/** The display name of the Azure management group. */
|
|
920
920
|
displayName?: string;
|
|
921
|
-
/** The UUID of the Azure management group, for example,
|
|
921
|
+
/** The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`. */
|
|
922
922
|
id?: string;
|
|
923
923
|
}
|
|
924
924
|
interface GoogleCloudSecuritycenterV2AzureMetadata {
|
|
@@ -936,7 +936,7 @@ declare namespace gapi.client {
|
|
|
936
936
|
interface GoogleCloudSecuritycenterV2AzureSubscription {
|
|
937
937
|
/** The display name of the Azure subscription. */
|
|
938
938
|
displayName?: string;
|
|
939
|
-
/** The UUID of the Azure subscription, for example,
|
|
939
|
+
/** The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`. */
|
|
940
940
|
id?: string;
|
|
941
941
|
}
|
|
942
942
|
interface GoogleCloudSecuritycenterV2BackupDisasterRecovery {
|
|
@@ -1549,7 +1549,7 @@ declare namespace gapi.client {
|
|
|
1549
1549
|
name?: string;
|
|
1550
1550
|
/** Provides the path to the resource within the resource hierarchy. */
|
|
1551
1551
|
resourcePath?: GoogleCloudSecuritycenterV2ResourcePath;
|
|
1552
|
-
/** 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. */
|
|
1552
|
+
/** 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. */
|
|
1553
1553
|
resourcePathString?: string;
|
|
1554
1554
|
/** The service or resource provider associated with the resource. */
|
|
1555
1555
|
service?: string;
|
|
@@ -1577,17 +1577,17 @@ declare namespace gapi.client {
|
|
|
1577
1577
|
description?: string;
|
|
1578
1578
|
/** Name for the resource value configuration */
|
|
1579
1579
|
name?: string;
|
|
1580
|
-
/** List of resource labels to search for, evaluated with AND
|
|
1580
|
+
/** 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 */
|
|
1581
1581
|
resourceLabelsSelector?: {[P in string]: string};
|
|
1582
|
-
/** 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. */
|
|
1582
|
+
/** 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. */
|
|
1583
1583
|
resourceType?: string;
|
|
1584
1584
|
/** Resource value level this expression represents Only required when there is no SDP mapping in the request */
|
|
1585
1585
|
resourceValue?: string;
|
|
1586
|
-
/** 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. */
|
|
1586
|
+
/** 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. */
|
|
1587
1587
|
scope?: string;
|
|
1588
1588
|
/** A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. "bigquery.googleapis.com/Dataset". */
|
|
1589
1589
|
sensitiveDataProtectionMapping?: GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping;
|
|
1590
|
-
/** 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 */
|
|
1590
|
+
/** 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 */
|
|
1591
1591
|
tagValues?: string[];
|
|
1592
1592
|
/** Output only. Timestamp this resource value configuration was last updated. */
|
|
1593
1593
|
updateTime?: string;
|
|
@@ -1679,7 +1679,7 @@ declare namespace gapi.client {
|
|
|
1679
1679
|
interface GoogleCloudSecuritycenterV2ToxicCombination {
|
|
1680
1680
|
/** 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. */
|
|
1681
1681
|
attackExposureScore?: number;
|
|
1682
|
-
/** List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789
|
|
1682
|
+
/** List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`. */
|
|
1683
1683
|
relatedFindings?: string[];
|
|
1684
1684
|
}
|
|
1685
1685
|
interface GoogleCloudSecuritycenterV2Vulnerability {
|
|
@@ -2032,7 +2032,7 @@ declare namespace gapi.client {
|
|
|
2032
2032
|
interface ToxicCombination {
|
|
2033
2033
|
/** 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. */
|
|
2034
2034
|
attackExposureScore?: number;
|
|
2035
|
-
/** List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789
|
|
2035
|
+
/** List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`. */
|
|
2036
2036
|
relatedFindings?: string[];
|
|
2037
2037
|
}
|
|
2038
2038
|
interface VirtualMachineThreatDetectionSettings {
|