@aws-sdk/client-securityhub 3.1169.0 → 3.1171.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/dist-cjs/index.js +64 -21
- package/dist-es/models/enums.js +11 -0
- package/dist-es/schemas/schemas_0.js +48 -20
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +1 -1
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +1 -1
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +2 -1
- package/dist-types/commands/CreateConnectorCommand.d.ts +12 -0
- package/dist-types/commands/CreateConnectorV2Command.d.ts +12 -0
- package/dist-types/commands/DescribeStandardsCommand.d.ts +42 -2
- package/dist-types/commands/GetConnectorCommand.d.ts +12 -0
- package/dist-types/commands/GetConnectorV2Command.d.ts +12 -0
- package/dist-types/commands/GetEnabledStandardsCommand.d.ts +2 -2
- package/dist-types/commands/GetFindingsCommand.d.ts +2 -1
- package/dist-types/commands/GetMembersCommand.d.ts +2 -1
- package/dist-types/commands/GetRecommendedPolicyV2Command.d.ts +1 -2
- package/dist-types/commands/GetRemediationsV2Command.d.ts +1 -1
- package/dist-types/commands/GetResourcesV2Command.d.ts +1 -1
- package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/ListConnectorsCommand.d.ts +14 -2
- package/dist-types/commands/ListConnectorsV2Command.d.ts +14 -2
- package/dist-types/commands/ListExposuresByRemediationV2Command.d.ts +1 -1
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +66 -6
- package/dist-types/commands/UpdateConnectorCommand.d.ts +11 -0
- package/dist-types/commands/UpdateConnectorV2Command.d.ts +11 -0
- package/dist-types/models/enums.d.ts +19 -0
- package/dist-types/models/models_2.d.ts +161 -153
- package/dist-types/models/models_3.d.ts +159 -4
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetRecommendedPolicyV2Command.d.ts +1 -2
- package/dist-types/ts3.4/models/enums.d.ts +12 -0
- package/dist-types/ts3.4/models/models_2.d.ts +76 -23
- package/dist-types/ts3.4/models/models_3.d.ts +36 -2
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +1 -1
|
@@ -69,6 +69,18 @@ declare const GetConnectorCommand_base: {
|
|
|
69
69
|
* // "STRING_VALUE",
|
|
70
70
|
* // ],
|
|
71
71
|
* // },
|
|
72
|
+
* // GCP: { // GcpDetail
|
|
73
|
+
* // AWSConfigConnectorArn: "STRING_VALUE", // required
|
|
74
|
+
* // ScopeConfiguration: { // GcpScopeConfiguration
|
|
75
|
+
* // ScopeType: "PROJECT" || "ORGANIZATION", // required
|
|
76
|
+
* // ScopeValues: [
|
|
77
|
+
* // "STRING_VALUE",
|
|
78
|
+
* // ],
|
|
79
|
+
* // },
|
|
80
|
+
* // GCPRegions: [ // GcpRegionList // required
|
|
81
|
+
* // "STRING_VALUE",
|
|
82
|
+
* // ],
|
|
83
|
+
* // },
|
|
72
84
|
* // },
|
|
73
85
|
* // CreatedBy: "STRING_VALUE",
|
|
74
86
|
* // EnablementStatus: "ENABLED" || "PENDING_ENABLEMENT" || "PENDING_UPDATE" || "PENDING_DELETION",
|
|
@@ -82,6 +82,18 @@ declare const GetConnectorV2Command_base: {
|
|
|
82
82
|
* // "STRING_VALUE",
|
|
83
83
|
* // ],
|
|
84
84
|
* // },
|
|
85
|
+
* // GCP: { // GcpDetail
|
|
86
|
+
* // AWSConfigConnectorArn: "STRING_VALUE", // required
|
|
87
|
+
* // ScopeConfiguration: { // GcpScopeConfiguration
|
|
88
|
+
* // ScopeType: "PROJECT" || "ORGANIZATION", // required
|
|
89
|
+
* // ScopeValues: [
|
|
90
|
+
* // "STRING_VALUE",
|
|
91
|
+
* // ],
|
|
92
|
+
* // },
|
|
93
|
+
* // GCPRegions: [ // GcpRegionList // required
|
|
94
|
+
* // "STRING_VALUE",
|
|
95
|
+
* // ],
|
|
96
|
+
* // },
|
|
85
97
|
* // },
|
|
86
98
|
* // EnablementStatus: "ENABLED" || "PENDING_ENABLEMENT" || "FAILED_TO_ENABLE" || "PENDING_UPDATE" || "FAILED_TO_UPDATE" || "PENDING_DELETION" || "FAILED_TO_DELETE",
|
|
87
99
|
* // EnablementStatusReason: "STRING_VALUE",
|
|
@@ -40,7 +40,7 @@ declare const GetEnabledStandardsCommand_base: {
|
|
|
40
40
|
* NextToken: "STRING_VALUE",
|
|
41
41
|
* MaxResults: Number("int"),
|
|
42
42
|
* Providers: [ // StandardsProviders
|
|
43
|
-
* "AWS" || "Azure",
|
|
43
|
+
* "AWS" || "Azure" || "GCP",
|
|
44
44
|
* ],
|
|
45
45
|
* };
|
|
46
46
|
* const command = new GetEnabledStandardsCommand(input);
|
|
@@ -58,7 +58,7 @@ declare const GetEnabledStandardsCommand_base: {
|
|
|
58
58
|
* // StandardsStatusReason: { // StandardsStatusReason
|
|
59
59
|
* // StatusReasonCode: "NO_AVAILABLE_CONFIGURATION_RECORDER" || "MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED" || "NO_AVAILABLE_MULTICLOUD_CONNECTOR" || "INTERNAL_ERROR", // required
|
|
60
60
|
* // },
|
|
61
|
-
* // Provider: "AWS" || "Azure",
|
|
61
|
+
* // Provider: "AWS" || "Azure" || "GCP",
|
|
62
62
|
* // },
|
|
63
63
|
* // ],
|
|
64
64
|
* // NextToken: "STRING_VALUE",
|
|
@@ -483,7 +483,7 @@ declare const GetFindingsCommand_base: {
|
|
|
483
483
|
* // Id: "STRING_VALUE", // required
|
|
484
484
|
* // Partition: "aws" || "aws-cn" || "aws-us-gov" || "aws-us-iso" || "aws-us-iso-b" || "AzureCloud",
|
|
485
485
|
* // Region: "STRING_VALUE",
|
|
486
|
-
* // Provider: "Azure" || "AWS",
|
|
486
|
+
* // Provider: "Azure" || "AWS" || "GCP",
|
|
487
487
|
* // Owner: { // ResourceOwner
|
|
488
488
|
* // Account: { // ResourceOwnerAccount
|
|
489
489
|
* // Id: "STRING_VALUE",
|
|
@@ -4270,6 +4270,7 @@ declare const GetFindingsCommand_base: {
|
|
|
4270
4270
|
* // CodeSecurityIntegrationArn: "STRING_VALUE",
|
|
4271
4271
|
* // },
|
|
4272
4272
|
* // AzureResource: "DOCUMENT_VALUE",
|
|
4273
|
+
* // GcpResource: "DOCUMENT_VALUE",
|
|
4273
4274
|
* // },
|
|
4274
4275
|
* // ApplicationName: "STRING_VALUE",
|
|
4275
4276
|
* // ApplicationArn: "STRING_VALUE",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { GetMembersRequest
|
|
2
|
+
import type { GetMembersRequest } from "../models/models_2";
|
|
3
|
+
import type { GetMembersResponse } from "../models/models_3";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { GetRecommendedPolicyV2Request } from "../models/
|
|
3
|
-
import type { GetRecommendedPolicyV2Response } from "../models/models_3";
|
|
2
|
+
import type { GetRecommendedPolicyV2Request, GetRecommendedPolicyV2Response } from "../models/models_3";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -94,7 +94,7 @@ declare const GetRemediationsV2Command_base: {
|
|
|
94
94
|
* // Id: "STRING_VALUE", // required
|
|
95
95
|
* // ResourceGuid: "STRING_VALUE",
|
|
96
96
|
* // ResourceRegion: "STRING_VALUE", // required
|
|
97
|
-
* // CloudProvider: "Azure" || "AWS", // required
|
|
97
|
+
* // CloudProvider: "Azure" || "AWS" || "GCP", // required
|
|
98
98
|
* // },
|
|
99
99
|
* // Status: "New" || "Updated" || "Resolved", // required
|
|
100
100
|
* // Trait: { // RemediationTrait
|
|
@@ -223,7 +223,7 @@ declare const GetResourcesV2Command_base: {
|
|
|
223
223
|
* // ResourceCriticality: "Very High" || "High" || "Medium" || "Low" || "Unknown",
|
|
224
224
|
* // CriticalitySources: [ // CriticalitySourceList
|
|
225
225
|
* // { // CriticalitySource
|
|
226
|
-
* // Source: "AutomationRule" || "ResourceName" || "TagInference", // required
|
|
226
|
+
* // Source: "AutomationRule" || "ResourceName" || "TagInference" || "CloudWatchTelemetryInference" || "InstalledSoftwareAndPackageInference", // required
|
|
227
227
|
* // Reason: "STRING_VALUE", // required
|
|
228
228
|
* // },
|
|
229
229
|
* // ],
|
|
@@ -36,7 +36,7 @@ declare const ListConnectorsCommand_base: {
|
|
|
36
36
|
* const input = { // ListConnectorsRequest
|
|
37
37
|
* NextToken: "STRING_VALUE",
|
|
38
38
|
* MaxResults: Number("int"),
|
|
39
|
-
* ProviderName: "AZURE",
|
|
39
|
+
* ProviderName: "AZURE" || "GCP",
|
|
40
40
|
* ConnectorStatus: "CONNECTED" || "DEGRADED" || "FAILED_TO_CONNECT" || "UNKNOWN",
|
|
41
41
|
* EnablementStatus: "ENABLED" || "PENDING_ENABLEMENT" || "PENDING_UPDATE" || "PENDING_DELETION",
|
|
42
42
|
* };
|
|
@@ -51,7 +51,7 @@ declare const ListConnectorsCommand_base: {
|
|
|
51
51
|
* // Name: "STRING_VALUE",
|
|
52
52
|
* // Description: "STRING_VALUE",
|
|
53
53
|
* // ProviderSummary: { // CspmProviderSummary
|
|
54
|
-
* // ProviderName: "AZURE",
|
|
54
|
+
* // ProviderName: "AZURE" || "GCP",
|
|
55
55
|
* // ConnectorStatus: "CONNECTED" || "DEGRADED" || "FAILED_TO_CONNECT" || "UNKNOWN",
|
|
56
56
|
* // ProviderConfiguration: { // CspmProviderDetail Union: only one key present
|
|
57
57
|
* // Azure: { // AzureDetail
|
|
@@ -66,6 +66,18 @@ declare const ListConnectorsCommand_base: {
|
|
|
66
66
|
* // "STRING_VALUE",
|
|
67
67
|
* // ],
|
|
68
68
|
* // },
|
|
69
|
+
* // GCP: { // GcpDetail
|
|
70
|
+
* // AWSConfigConnectorArn: "STRING_VALUE", // required
|
|
71
|
+
* // ScopeConfiguration: { // GcpScopeConfiguration
|
|
72
|
+
* // ScopeType: "PROJECT" || "ORGANIZATION", // required
|
|
73
|
+
* // ScopeValues: [
|
|
74
|
+
* // "STRING_VALUE",
|
|
75
|
+
* // ],
|
|
76
|
+
* // },
|
|
77
|
+
* // GCPRegions: [ // GcpRegionList // required
|
|
78
|
+
* // "STRING_VALUE",
|
|
79
|
+
* // ],
|
|
80
|
+
* // },
|
|
69
81
|
* // },
|
|
70
82
|
* // },
|
|
71
83
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
@@ -36,7 +36,7 @@ declare const ListConnectorsV2Command_base: {
|
|
|
36
36
|
* const input = { // ListConnectorsV2Request
|
|
37
37
|
* NextToken: "STRING_VALUE",
|
|
38
38
|
* MaxResults: Number("int"),
|
|
39
|
-
* ProviderName: "JIRA_CLOUD" || "SERVICENOW" || "AZURE",
|
|
39
|
+
* ProviderName: "JIRA_CLOUD" || "SERVICENOW" || "AZURE" || "GCP",
|
|
40
40
|
* ConnectorStatus: "CONNECTED" || "DEGRADED" || "FAILED_TO_CONNECT" || "PENDING_AUTHORIZATION" || "PENDING_CONFIGURATION" || "UNKNOWN",
|
|
41
41
|
* EnablementStatus: "ENABLED" || "PENDING_ENABLEMENT" || "FAILED_TO_ENABLE" || "PENDING_UPDATE" || "FAILED_TO_UPDATE" || "PENDING_DELETION" || "FAILED_TO_DELETE",
|
|
42
42
|
* };
|
|
@@ -51,7 +51,7 @@ declare const ListConnectorsV2Command_base: {
|
|
|
51
51
|
* // Name: "STRING_VALUE", // required
|
|
52
52
|
* // Description: "STRING_VALUE",
|
|
53
53
|
* // ProviderSummary: { // ProviderSummary
|
|
54
|
-
* // ProviderName: "JIRA_CLOUD" || "SERVICENOW" || "AZURE",
|
|
54
|
+
* // ProviderName: "JIRA_CLOUD" || "SERVICENOW" || "AZURE" || "GCP",
|
|
55
55
|
* // ConnectorStatus: "CONNECTED" || "DEGRADED" || "FAILED_TO_CONNECT" || "PENDING_AUTHORIZATION" || "PENDING_CONFIGURATION" || "UNKNOWN",
|
|
56
56
|
* // ProviderConfiguration: { // ProviderDetail Union: only one key present
|
|
57
57
|
* // JiraCloud: { // JiraCloudDetail
|
|
@@ -78,6 +78,18 @@ declare const ListConnectorsV2Command_base: {
|
|
|
78
78
|
* // "STRING_VALUE",
|
|
79
79
|
* // ],
|
|
80
80
|
* // },
|
|
81
|
+
* // GCP: { // GcpDetail
|
|
82
|
+
* // AWSConfigConnectorArn: "STRING_VALUE", // required
|
|
83
|
+
* // ScopeConfiguration: { // GcpScopeConfiguration
|
|
84
|
+
* // ScopeType: "PROJECT" || "ORGANIZATION", // required
|
|
85
|
+
* // ScopeValues: [
|
|
86
|
+
* // "STRING_VALUE",
|
|
87
|
+
* // ],
|
|
88
|
+
* // },
|
|
89
|
+
* // GCPRegions: [ // GcpRegionList // required
|
|
90
|
+
* // "STRING_VALUE",
|
|
91
|
+
* // ],
|
|
92
|
+
* // },
|
|
81
93
|
* // },
|
|
82
94
|
* // },
|
|
83
95
|
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
@@ -62,7 +62,7 @@ declare const ListExposuresByRemediationV2Command_base: {
|
|
|
62
62
|
* // Id: "STRING_VALUE", // required
|
|
63
63
|
* // ResourceGuid: "STRING_VALUE",
|
|
64
64
|
* // ResourceRegion: "STRING_VALUE", // required
|
|
65
|
-
* // CloudProvider: "Azure" || "AWS", // required
|
|
65
|
+
* // CloudProvider: "Azure" || "AWS" || "GCP", // required
|
|
66
66
|
* // },
|
|
67
67
|
* // TotalCount: Number("int"), // required
|
|
68
68
|
* // Trait: { // RemediationTrait
|
|
@@ -40,7 +40,7 @@ declare const ListSecurityControlDefinitionsCommand_base: {
|
|
|
40
40
|
* NextToken: "STRING_VALUE",
|
|
41
41
|
* MaxResults: Number("int"),
|
|
42
42
|
* Providers: [ // SecurityControlsProviders
|
|
43
|
-
* "AWS" || "Azure",
|
|
43
|
+
* "AWS" || "Azure" || "GCP",
|
|
44
44
|
* ],
|
|
45
45
|
* };
|
|
46
46
|
* const command = new ListSecurityControlDefinitionsCommand(input);
|
|
@@ -113,7 +113,7 @@ declare const ListSecurityControlDefinitionsCommand_base: {
|
|
|
113
113
|
* // },
|
|
114
114
|
* // },
|
|
115
115
|
* // },
|
|
116
|
-
* // Provider: "AWS" || "Azure",
|
|
116
|
+
* // Provider: "AWS" || "Azure" || "GCP",
|
|
117
117
|
* // },
|
|
118
118
|
* // ],
|
|
119
119
|
* // NextToken: "STRING_VALUE",
|
|
@@ -165,7 +165,7 @@ declare const ListSecurityControlDefinitionsCommand_base: {
|
|
|
165
165
|
* CustomizableProperties: [],
|
|
166
166
|
* Description: "This control checks whether Azure Container Apps have managed identity enabled. The control fails if the Container App has a system-assigned or user-assigned managed identity enabled.",
|
|
167
167
|
* Provider: "Azure",
|
|
168
|
-
* RemediationUrl: "https://
|
|
168
|
+
* RemediationUrl: "https://learn.microsoft.com/en-us/azure/container-apps/managed-identity",
|
|
169
169
|
* SecurityControlId: "Azure.App.1",
|
|
170
170
|
* SeverityRating: "MEDIUM",
|
|
171
171
|
* Title: "Azure Container Apps with managed identity enabled should follow least privilege"
|
|
@@ -175,7 +175,7 @@ declare const ListSecurityControlDefinitionsCommand_base: {
|
|
|
175
175
|
* CustomizableProperties: [],
|
|
176
176
|
* Description: "This control checks whether an Azure Container App passes Azure SDK credentials as plain-text container environment variables. The control fails if any container (including initContainers) defines AZURE_CLIENT_SECRET, AZURE_CLIENT_CERTIFICATE_PASSWORD, or AZURE_PASSWORD as a plain-text environment variable instead of referencing a secret via secretRef.",
|
|
177
177
|
* Provider: "Azure",
|
|
178
|
-
* RemediationUrl: "https://
|
|
178
|
+
* RemediationUrl: "https://learn.microsoft.com/en-us/azure/container-apps/manage-secrets",
|
|
179
179
|
* SecurityControlId: "Azure.App.2",
|
|
180
180
|
* SeverityRating: "CRITICAL",
|
|
181
181
|
* Title: "Azure Container Apps should not pass Azure SDK credentials as environment variables"
|
|
@@ -185,7 +185,7 @@ declare const ListSecurityControlDefinitionsCommand_base: {
|
|
|
185
185
|
* CustomizableProperties: [],
|
|
186
186
|
* Description: "This control checks whether Azure Container Apps have external ingress configured. The control fails if the Container App ingress is set to accept traffic from anywhere (external).",
|
|
187
187
|
* Provider: "Azure",
|
|
188
|
-
* RemediationUrl: "https://
|
|
188
|
+
* RemediationUrl: "https://learn.microsoft.com/en-us/azure/container-apps/ingress-how-to",
|
|
189
189
|
* SecurityControlId: "Azure.App.3",
|
|
190
190
|
* SeverityRating: "HIGH",
|
|
191
191
|
* Title: "Azure Container Apps should not have external ingress enabled"
|
|
@@ -195,6 +195,56 @@ declare const ListSecurityControlDefinitionsCommand_base: {
|
|
|
195
195
|
* *\/
|
|
196
196
|
* ```
|
|
197
197
|
*
|
|
198
|
+
* @example To list GCP security control definitions
|
|
199
|
+
* ```javascript
|
|
200
|
+
* // The following example lists security control definitions for a specified provider.
|
|
201
|
+
* const input = {
|
|
202
|
+
* MaxResults: 3,
|
|
203
|
+
* Providers: [
|
|
204
|
+
* "GCP"
|
|
205
|
+
* ]
|
|
206
|
+
* };
|
|
207
|
+
* const command = new ListSecurityControlDefinitionsCommand(input);
|
|
208
|
+
* const response = await client.send(command);
|
|
209
|
+
* /* response is
|
|
210
|
+
* {
|
|
211
|
+
* NextToken: "U2FsdGVkX1...",
|
|
212
|
+
* SecurityControlDefinitions: [
|
|
213
|
+
* {
|
|
214
|
+
* CurrentRegionAvailability: "AVAILABLE",
|
|
215
|
+
* CustomizableProperties: [],
|
|
216
|
+
* Description: "This control checks whether any GCP API keys exist. The control fails if an API key exists.",
|
|
217
|
+
* Provider: "GCP",
|
|
218
|
+
* RemediationUrl: "https://cloud.google.com/sdk/gcloud/reference/services/api-keys/delete",
|
|
219
|
+
* SecurityControlId: "GCP.ApiKeys.1",
|
|
220
|
+
* SeverityRating: "MEDIUM",
|
|
221
|
+
* Title: "GCP API keys should not exist"
|
|
222
|
+
* },
|
|
223
|
+
* {
|
|
224
|
+
* CurrentRegionAvailability: "AVAILABLE",
|
|
225
|
+
* CustomizableProperties: [],
|
|
226
|
+
* Description: "This control checks whether a GCP API key restricts which hosts or apps may use it. The control fails if the key has no HTTP referrer, IP address, Android app, or iOS app restriction, or if any allowed HTTP referrer or IP address is effectively open. A referrer is effectively open when its host is * or a wildcard over a top-level domain, such as https://* or *.com. An IP address is effectively open when it allows any host, such as 0.0.0.0, 0.0.0.0/0, ::, or ::/0. A single open entry fails the key even when specific entries are also listed, because the key accepts a request that matches any entry.",
|
|
227
|
+
* Provider: "GCP",
|
|
228
|
+
* RemediationUrl: "https://cloud.google.com/docs/authentication/api-keys#adding-application-restrictions",
|
|
229
|
+
* SecurityControlId: "GCP.ApiKeys.2",
|
|
230
|
+
* SeverityRating: "MEDIUM",
|
|
231
|
+
* Title: "GCP API keys should be restricted to specified hosts and apps"
|
|
232
|
+
* },
|
|
233
|
+
* {
|
|
234
|
+
* CurrentRegionAvailability: "AVAILABLE",
|
|
235
|
+
* CustomizableProperties: [],
|
|
236
|
+
* Description: "This control checks whether a GCP API key is restricted to only the specific APIs an application needs. The control fails if the key declares no restrictions.apiTargets entries, or if any entry targets the broad cloudapis.googleapis.com service, which allows the key to call every enabled service.",
|
|
237
|
+
* Provider: "GCP",
|
|
238
|
+
* RemediationUrl: "https://cloud.google.com/docs/authentication/api-keys#adding-api-restrictions",
|
|
239
|
+
* SecurityControlId: "GCP.ApiKeys.3",
|
|
240
|
+
* SeverityRating: "HIGH",
|
|
241
|
+
* Title: "GCP API keys should be restricted to only the APIs an application needs"
|
|
242
|
+
* }
|
|
243
|
+
* ]
|
|
244
|
+
* }
|
|
245
|
+
* *\/
|
|
246
|
+
* ```
|
|
247
|
+
*
|
|
198
248
|
* @example To list security controls that apply to a standard
|
|
199
249
|
* ```javascript
|
|
200
250
|
* // The following example lists security controls that apply to a specified Security Hub standard.
|
|
@@ -247,10 +297,20 @@ declare const ListSecurityControlDefinitionsCommand_base: {
|
|
|
247
297
|
* CustomizableProperties: [],
|
|
248
298
|
* Description: "This control checks whether Azure Container Apps have managed identity enabled. The control fails if the Container App has a system-assigned or user-assigned managed identity enabled.",
|
|
249
299
|
* Provider: "Azure",
|
|
250
|
-
* RemediationUrl: "https://
|
|
300
|
+
* RemediationUrl: "https://learn.microsoft.com/en-us/azure/container-apps/managed-identity",
|
|
251
301
|
* SecurityControlId: "Azure.App.1",
|
|
252
302
|
* SeverityRating: "MEDIUM",
|
|
253
303
|
* Title: "Azure Container Apps with managed identity enabled should follow least privilege"
|
|
304
|
+
* },
|
|
305
|
+
* {
|
|
306
|
+
* CurrentRegionAvailability: "AVAILABLE",
|
|
307
|
+
* CustomizableProperties: [],
|
|
308
|
+
* Description: "This control checks whether any GCP API keys exist. The control fails if an API key exists.",
|
|
309
|
+
* Provider: "GCP",
|
|
310
|
+
* RemediationUrl: "https://cloud.google.com/sdk/gcloud/reference/services/api-keys/delete",
|
|
311
|
+
* SecurityControlId: "GCP.ApiKeys.1",
|
|
312
|
+
* SeverityRating: "MEDIUM",
|
|
313
|
+
* Title: "GCP API keys should not exist"
|
|
254
314
|
* }
|
|
255
315
|
* ]
|
|
256
316
|
* }
|
|
@@ -48,6 +48,17 @@ declare const UpdateConnectorCommand_base: {
|
|
|
48
48
|
* "STRING_VALUE",
|
|
49
49
|
* ],
|
|
50
50
|
* },
|
|
51
|
+
* GCP: { // GcpUpdateConfiguration
|
|
52
|
+
* ScopeConfiguration: { // GcpScopeConfiguration
|
|
53
|
+
* ScopeType: "PROJECT" || "ORGANIZATION", // required
|
|
54
|
+
* ScopeValues: [
|
|
55
|
+
* "STRING_VALUE",
|
|
56
|
+
* ],
|
|
57
|
+
* },
|
|
58
|
+
* GCPRegions: [ // GcpRegionList // required
|
|
59
|
+
* "STRING_VALUE",
|
|
60
|
+
* ],
|
|
61
|
+
* },
|
|
51
62
|
* },
|
|
52
63
|
* };
|
|
53
64
|
* const command = new UpdateConnectorCommand(input);
|
|
@@ -54,6 +54,17 @@ declare const UpdateConnectorV2Command_base: {
|
|
|
54
54
|
* "STRING_VALUE",
|
|
55
55
|
* ],
|
|
56
56
|
* },
|
|
57
|
+
* GCP: { // GcpUpdateConfiguration
|
|
58
|
+
* ScopeConfiguration: { // GcpScopeConfiguration
|
|
59
|
+
* ScopeType: "PROJECT" || "ORGANIZATION", // required
|
|
60
|
+
* ScopeValues: [
|
|
61
|
+
* "STRING_VALUE",
|
|
62
|
+
* ],
|
|
63
|
+
* },
|
|
64
|
+
* GCPRegions: [ // GcpRegionList // required
|
|
65
|
+
* "STRING_VALUE",
|
|
66
|
+
* ],
|
|
67
|
+
* },
|
|
57
68
|
* },
|
|
58
69
|
* };
|
|
59
70
|
* const command = new UpdateConnectorV2Command(input);
|
|
@@ -403,6 +403,7 @@ export type Partition = (typeof Partition)[keyof typeof Partition];
|
|
|
403
403
|
export declare const CloudProviderName: {
|
|
404
404
|
readonly AWS: "AWS";
|
|
405
405
|
readonly AZURE: "Azure";
|
|
406
|
+
readonly GCP: "GCP";
|
|
406
407
|
};
|
|
407
408
|
/**
|
|
408
409
|
* @public
|
|
@@ -504,6 +505,7 @@ export type ScopeType = (typeof ScopeType)[keyof typeof ScopeType];
|
|
|
504
505
|
export declare const StandardsProvider: {
|
|
505
506
|
readonly AWS: "AWS";
|
|
506
507
|
readonly Azure: "Azure";
|
|
508
|
+
readonly GCP: "GCP";
|
|
507
509
|
};
|
|
508
510
|
/**
|
|
509
511
|
* @public
|
|
@@ -582,6 +584,7 @@ export type ParameterValueType = (typeof ParameterValueType)[keyof typeof Parame
|
|
|
582
584
|
export declare const SecurityControlsProvider: {
|
|
583
585
|
readonly AWS: "AWS";
|
|
584
586
|
readonly Azure: "Azure";
|
|
587
|
+
readonly GCP: "GCP";
|
|
585
588
|
};
|
|
586
589
|
/**
|
|
587
590
|
* @public
|
|
@@ -855,6 +858,7 @@ export type ConnectorAuthStatus = (typeof ConnectorAuthStatus)[keyof typeof Conn
|
|
|
855
858
|
*/
|
|
856
859
|
export declare const ConnectorProviderName: {
|
|
857
860
|
readonly AZURE: "AZURE";
|
|
861
|
+
readonly GCP: "GCP";
|
|
858
862
|
readonly JIRA_CLOUD: "JIRA_CLOUD";
|
|
859
863
|
readonly SERVICENOW: "SERVICENOW";
|
|
860
864
|
};
|
|
@@ -895,6 +899,18 @@ export declare const EnablementStatus: {
|
|
|
895
899
|
* @public
|
|
896
900
|
*/
|
|
897
901
|
export type EnablementStatus = (typeof EnablementStatus)[keyof typeof EnablementStatus];
|
|
902
|
+
/**
|
|
903
|
+
* @public
|
|
904
|
+
* @enum
|
|
905
|
+
*/
|
|
906
|
+
export declare const GcpScopeType: {
|
|
907
|
+
readonly ORGANIZATION: "ORGANIZATION";
|
|
908
|
+
readonly PROJECT: "PROJECT";
|
|
909
|
+
};
|
|
910
|
+
/**
|
|
911
|
+
* @public
|
|
912
|
+
*/
|
|
913
|
+
export type GcpScopeType = (typeof GcpScopeType)[keyof typeof GcpScopeType];
|
|
898
914
|
/**
|
|
899
915
|
* @public
|
|
900
916
|
* @enum
|
|
@@ -1033,6 +1049,8 @@ export type TicketCreationMode = (typeof TicketCreationMode)[keyof typeof Ticket
|
|
|
1033
1049
|
*/
|
|
1034
1050
|
export declare const CriticalitySourceType: {
|
|
1035
1051
|
readonly AUTOMATION_RULE: "AutomationRule";
|
|
1052
|
+
readonly CLOUDWATCH_TELEMETRY_INFERENCE: "CloudWatchTelemetryInference";
|
|
1053
|
+
readonly INSTALLED_SOFTWARE_AND_PACKAGE_INFERENCE: "InstalledSoftwareAndPackageInference";
|
|
1036
1054
|
readonly RESOURCE_NAME: "ResourceName";
|
|
1037
1055
|
readonly TAG_INFERENCE: "TagInference";
|
|
1038
1056
|
};
|
|
@@ -1046,6 +1064,7 @@ export type CriticalitySourceType = (typeof CriticalitySourceType)[keyof typeof
|
|
|
1046
1064
|
*/
|
|
1047
1065
|
export declare const CspmConnectorProviderName: {
|
|
1048
1066
|
readonly AZURE: "AZURE";
|
|
1067
|
+
readonly GCP: "GCP";
|
|
1049
1068
|
};
|
|
1050
1069
|
/**
|
|
1051
1070
|
* @public
|