@aws-sdk/client-securityhub 3.341.0 → 3.342.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/models/models_1.js +1 -37
- package/dist-cjs/models/models_2.js +37 -1
- package/dist-cjs/protocols/Aws_restJson1.js +12 -2
- package/dist-es/models/models_1.js +0 -35
- package/dist-es/models/models_2.js +35 -0
- package/dist-es/protocols/Aws_restJson1.js +11 -1
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +3 -3
- package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +39 -1
- package/dist-types/commands/BatchGetStandardsControlAssociationsCommand.d.ts +51 -1
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +172 -1
- package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +1 -1
- package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +41 -1
- package/dist-types/commands/CreateActionTargetCommand.d.ts +1 -1
- package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +1 -1
- package/dist-types/commands/GetFindingsCommand.d.ts +171 -0
- package/dist-types/models/models_0.d.ts +551 -367
- package/dist-types/models/models_1.d.ts +6083 -6124
- package/dist-types/models/models_2.d.ts +841 -3
- package/dist-types/ts3.4/commands/BatchGetSecurityControlsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchGetStandardsControlAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchImportFindingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchUpdateFindingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateActionTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateFindingAggregatorCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +98 -84
- package/dist-types/ts3.4/models/models_1.d.ts +175 -177
- package/dist-types/ts3.4/models/models_2.d.ts +178 -4
- package/package.json +28 -28
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
const SecurityHubServiceException_1 = require("./SecurityHubServiceException");
|
|
3
|
+
exports.StatusReasonCode = exports.StandardsStatus = exports.MapFilterComparison = exports.DateRangeUnit = exports.StringFilterComparison = exports.WorkflowState = exports.WorkflowStatus = exports.VulnerabilityFixAvailable = exports.VerificationState = exports.ThreatIntelIndicatorType = exports.ThreatIntelIndicatorCategory = exports.Partition = exports.RecordState = exports.NetworkDirection = exports.MalwareType = exports.MalwareState = exports.SeverityLabel = exports.ComplianceStatus = exports.AwsS3BucketNotificationConfigurationS3KeyFilterRuleName = exports.AwsIamAccessKeyStatus = void 0;
|
|
5
4
|
exports.AwsIamAccessKeyStatus = {
|
|
6
5
|
ACTIVE: "Active",
|
|
7
6
|
INACTIVE: "Inactive",
|
|
@@ -127,38 +126,3 @@ exports.StatusReasonCode = {
|
|
|
127
126
|
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
128
127
|
NO_AVAILABLE_CONFIGURATION_RECORDER: "NO_AVAILABLE_CONFIGURATION_RECORDER",
|
|
129
128
|
};
|
|
130
|
-
exports.ControlStatus = {
|
|
131
|
-
DISABLED: "DISABLED",
|
|
132
|
-
ENABLED: "ENABLED",
|
|
133
|
-
};
|
|
134
|
-
exports.SeverityRating = {
|
|
135
|
-
CRITICAL: "CRITICAL",
|
|
136
|
-
HIGH: "HIGH",
|
|
137
|
-
LOW: "LOW",
|
|
138
|
-
MEDIUM: "MEDIUM",
|
|
139
|
-
};
|
|
140
|
-
exports.UnprocessedErrorCode = {
|
|
141
|
-
ACCESS_DENIED: "ACCESS_DENIED",
|
|
142
|
-
INVALID_INPUT: "INVALID_INPUT",
|
|
143
|
-
LIMIT_EXCEEDED: "LIMIT_EXCEEDED",
|
|
144
|
-
NOT_FOUND: "NOT_FOUND",
|
|
145
|
-
};
|
|
146
|
-
exports.ControlFindingGenerator = {
|
|
147
|
-
SECURITY_CONTROL: "SECURITY_CONTROL",
|
|
148
|
-
STANDARD_CONTROL: "STANDARD_CONTROL",
|
|
149
|
-
};
|
|
150
|
-
class ResourceConflictException extends SecurityHubServiceException_1.SecurityHubServiceException {
|
|
151
|
-
constructor(opts) {
|
|
152
|
-
super({
|
|
153
|
-
name: "ResourceConflictException",
|
|
154
|
-
$fault: "client",
|
|
155
|
-
...opts,
|
|
156
|
-
});
|
|
157
|
-
this.name = "ResourceConflictException";
|
|
158
|
-
this.$fault = "client";
|
|
159
|
-
Object.setPrototypeOf(this, ResourceConflictException.prototype);
|
|
160
|
-
this.Message = opts.Message;
|
|
161
|
-
this.Code = opts.Code;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
exports.ResourceConflictException = ResourceConflictException;
|
|
@@ -1,6 +1,42 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RegionAvailabilityStatus = exports.SortOrder = exports.FindingHistoryUpdateSourceType = exports.IntegrationType = void 0;
|
|
3
|
+
exports.RegionAvailabilityStatus = exports.SortOrder = exports.FindingHistoryUpdateSourceType = exports.IntegrationType = exports.ResourceConflictException = exports.ControlFindingGenerator = exports.UnprocessedErrorCode = exports.SeverityRating = exports.ControlStatus = void 0;
|
|
4
|
+
const SecurityHubServiceException_1 = require("./SecurityHubServiceException");
|
|
5
|
+
exports.ControlStatus = {
|
|
6
|
+
DISABLED: "DISABLED",
|
|
7
|
+
ENABLED: "ENABLED",
|
|
8
|
+
};
|
|
9
|
+
exports.SeverityRating = {
|
|
10
|
+
CRITICAL: "CRITICAL",
|
|
11
|
+
HIGH: "HIGH",
|
|
12
|
+
LOW: "LOW",
|
|
13
|
+
MEDIUM: "MEDIUM",
|
|
14
|
+
};
|
|
15
|
+
exports.UnprocessedErrorCode = {
|
|
16
|
+
ACCESS_DENIED: "ACCESS_DENIED",
|
|
17
|
+
INVALID_INPUT: "INVALID_INPUT",
|
|
18
|
+
LIMIT_EXCEEDED: "LIMIT_EXCEEDED",
|
|
19
|
+
NOT_FOUND: "NOT_FOUND",
|
|
20
|
+
};
|
|
21
|
+
exports.ControlFindingGenerator = {
|
|
22
|
+
SECURITY_CONTROL: "SECURITY_CONTROL",
|
|
23
|
+
STANDARD_CONTROL: "STANDARD_CONTROL",
|
|
24
|
+
};
|
|
25
|
+
class ResourceConflictException extends SecurityHubServiceException_1.SecurityHubServiceException {
|
|
26
|
+
constructor(opts) {
|
|
27
|
+
super({
|
|
28
|
+
name: "ResourceConflictException",
|
|
29
|
+
$fault: "client",
|
|
30
|
+
...opts,
|
|
31
|
+
});
|
|
32
|
+
this.name = "ResourceConflictException";
|
|
33
|
+
this.$fault = "client";
|
|
34
|
+
Object.setPrototypeOf(this, ResourceConflictException.prototype);
|
|
35
|
+
this.Message = opts.Message;
|
|
36
|
+
this.Code = opts.Code;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.ResourceConflictException = ResourceConflictException;
|
|
4
40
|
exports.IntegrationType = {
|
|
5
41
|
RECEIVE_FINDINGS_FROM_SECURITY_HUB: "RECEIVE_FINDINGS_FROM_SECURITY_HUB",
|
|
6
42
|
SEND_FINDINGS_TO_SECURITY_HUB: "SEND_FINDINGS_TO_SECURITY_HUB",
|
|
@@ -6,7 +6,7 @@ exports.de_UpdateStandardsControlCommand = exports.de_UpdateSecurityHubConfigura
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
9
|
-
const
|
|
9
|
+
const models_2_1 = require("../models/models_2");
|
|
10
10
|
const SecurityHubServiceException_1 = require("../models/SecurityHubServiceException");
|
|
11
11
|
const se_AcceptAdministratorInvitationCommand = async (input, context) => {
|
|
12
12
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -4109,7 +4109,7 @@ const de_ResourceConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
4109
4109
|
Message: smithy_client_1.expectString,
|
|
4110
4110
|
});
|
|
4111
4111
|
Object.assign(contents, doc);
|
|
4112
|
-
const exception = new
|
|
4112
|
+
const exception = new models_2_1.ResourceConflictException({
|
|
4113
4113
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4114
4114
|
...contents,
|
|
4115
4115
|
});
|
|
@@ -4656,10 +4656,12 @@ const se_Resource = (input, context) => {
|
|
|
4656
4656
|
};
|
|
4657
4657
|
const se_ResourceDetails = (input, context) => {
|
|
4658
4658
|
return (0, smithy_client_1.take)(input, {
|
|
4659
|
+
AwsAmazonMqBroker: smithy_client_1._json,
|
|
4659
4660
|
AwsApiGatewayRestApi: smithy_client_1._json,
|
|
4660
4661
|
AwsApiGatewayStage: (_) => se_AwsApiGatewayStageDetails(_, context),
|
|
4661
4662
|
AwsApiGatewayV2Api: smithy_client_1._json,
|
|
4662
4663
|
AwsApiGatewayV2Stage: (_) => se_AwsApiGatewayV2StageDetails(_, context),
|
|
4664
|
+
AwsAppSyncGraphQlApi: smithy_client_1._json,
|
|
4663
4665
|
AwsAutoScalingAutoScalingGroup: smithy_client_1._json,
|
|
4664
4666
|
AwsAutoScalingLaunchConfiguration: smithy_client_1._json,
|
|
4665
4667
|
AwsBackupBackupPlan: smithy_client_1._json,
|
|
@@ -4699,6 +4701,8 @@ const se_ResourceDetails = (input, context) => {
|
|
|
4699
4701
|
AwsElasticsearchDomain: smithy_client_1._json,
|
|
4700
4702
|
AwsElbLoadBalancer: smithy_client_1._json,
|
|
4701
4703
|
AwsElbv2LoadBalancer: smithy_client_1._json,
|
|
4704
|
+
AwsEventSchemasRegistry: smithy_client_1._json,
|
|
4705
|
+
AwsGuardDutyDetector: smithy_client_1._json,
|
|
4702
4706
|
AwsIamAccessKey: smithy_client_1._json,
|
|
4703
4707
|
AwsIamGroup: smithy_client_1._json,
|
|
4704
4708
|
AwsIamPolicy: smithy_client_1._json,
|
|
@@ -4727,6 +4731,7 @@ const se_ResourceDetails = (input, context) => {
|
|
|
4727
4731
|
AwsSnsTopic: smithy_client_1._json,
|
|
4728
4732
|
AwsSqsQueue: smithy_client_1._json,
|
|
4729
4733
|
AwsSsmPatchCompliance: smithy_client_1._json,
|
|
4734
|
+
AwsStepFunctionStateMachine: smithy_client_1._json,
|
|
4730
4735
|
AwsWafRateBasedRule: smithy_client_1._json,
|
|
4731
4736
|
AwsWafRegionalRateBasedRule: smithy_client_1._json,
|
|
4732
4737
|
AwsWafRegionalRule: smithy_client_1._json,
|
|
@@ -5383,10 +5388,12 @@ const de_Resource = (output, context) => {
|
|
|
5383
5388
|
};
|
|
5384
5389
|
const de_ResourceDetails = (output, context) => {
|
|
5385
5390
|
return (0, smithy_client_1.take)(output, {
|
|
5391
|
+
AwsAmazonMqBroker: smithy_client_1._json,
|
|
5386
5392
|
AwsApiGatewayRestApi: smithy_client_1._json,
|
|
5387
5393
|
AwsApiGatewayStage: (_) => de_AwsApiGatewayStageDetails(_, context),
|
|
5388
5394
|
AwsApiGatewayV2Api: smithy_client_1._json,
|
|
5389
5395
|
AwsApiGatewayV2Stage: (_) => de_AwsApiGatewayV2StageDetails(_, context),
|
|
5396
|
+
AwsAppSyncGraphQlApi: smithy_client_1._json,
|
|
5390
5397
|
AwsAutoScalingAutoScalingGroup: smithy_client_1._json,
|
|
5391
5398
|
AwsAutoScalingLaunchConfiguration: smithy_client_1._json,
|
|
5392
5399
|
AwsBackupBackupPlan: smithy_client_1._json,
|
|
@@ -5426,6 +5433,8 @@ const de_ResourceDetails = (output, context) => {
|
|
|
5426
5433
|
AwsElasticsearchDomain: smithy_client_1._json,
|
|
5427
5434
|
AwsElbLoadBalancer: smithy_client_1._json,
|
|
5428
5435
|
AwsElbv2LoadBalancer: smithy_client_1._json,
|
|
5436
|
+
AwsEventSchemasRegistry: smithy_client_1._json,
|
|
5437
|
+
AwsGuardDutyDetector: smithy_client_1._json,
|
|
5429
5438
|
AwsIamAccessKey: smithy_client_1._json,
|
|
5430
5439
|
AwsIamGroup: smithy_client_1._json,
|
|
5431
5440
|
AwsIamPolicy: smithy_client_1._json,
|
|
@@ -5454,6 +5463,7 @@ const de_ResourceDetails = (output, context) => {
|
|
|
5454
5463
|
AwsSnsTopic: smithy_client_1._json,
|
|
5455
5464
|
AwsSqsQueue: smithy_client_1._json,
|
|
5456
5465
|
AwsSsmPatchCompliance: smithy_client_1._json,
|
|
5466
|
+
AwsStepFunctionStateMachine: smithy_client_1._json,
|
|
5457
5467
|
AwsWafRateBasedRule: smithy_client_1._json,
|
|
5458
5468
|
AwsWafRegionalRateBasedRule: smithy_client_1._json,
|
|
5459
5469
|
AwsWafRegionalRule: smithy_client_1._json,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
|
|
2
1
|
export const AwsIamAccessKeyStatus = {
|
|
3
2
|
ACTIVE: "Active",
|
|
4
3
|
INACTIVE: "Inactive",
|
|
@@ -124,37 +123,3 @@ export const StatusReasonCode = {
|
|
|
124
123
|
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
125
124
|
NO_AVAILABLE_CONFIGURATION_RECORDER: "NO_AVAILABLE_CONFIGURATION_RECORDER",
|
|
126
125
|
};
|
|
127
|
-
export const ControlStatus = {
|
|
128
|
-
DISABLED: "DISABLED",
|
|
129
|
-
ENABLED: "ENABLED",
|
|
130
|
-
};
|
|
131
|
-
export const SeverityRating = {
|
|
132
|
-
CRITICAL: "CRITICAL",
|
|
133
|
-
HIGH: "HIGH",
|
|
134
|
-
LOW: "LOW",
|
|
135
|
-
MEDIUM: "MEDIUM",
|
|
136
|
-
};
|
|
137
|
-
export const UnprocessedErrorCode = {
|
|
138
|
-
ACCESS_DENIED: "ACCESS_DENIED",
|
|
139
|
-
INVALID_INPUT: "INVALID_INPUT",
|
|
140
|
-
LIMIT_EXCEEDED: "LIMIT_EXCEEDED",
|
|
141
|
-
NOT_FOUND: "NOT_FOUND",
|
|
142
|
-
};
|
|
143
|
-
export const ControlFindingGenerator = {
|
|
144
|
-
SECURITY_CONTROL: "SECURITY_CONTROL",
|
|
145
|
-
STANDARD_CONTROL: "STANDARD_CONTROL",
|
|
146
|
-
};
|
|
147
|
-
export class ResourceConflictException extends __BaseException {
|
|
148
|
-
constructor(opts) {
|
|
149
|
-
super({
|
|
150
|
-
name: "ResourceConflictException",
|
|
151
|
-
$fault: "client",
|
|
152
|
-
...opts,
|
|
153
|
-
});
|
|
154
|
-
this.name = "ResourceConflictException";
|
|
155
|
-
this.$fault = "client";
|
|
156
|
-
Object.setPrototypeOf(this, ResourceConflictException.prototype);
|
|
157
|
-
this.Message = opts.Message;
|
|
158
|
-
this.Code = opts.Code;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
@@ -1,3 +1,38 @@
|
|
|
1
|
+
import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
|
|
2
|
+
export const ControlStatus = {
|
|
3
|
+
DISABLED: "DISABLED",
|
|
4
|
+
ENABLED: "ENABLED",
|
|
5
|
+
};
|
|
6
|
+
export const SeverityRating = {
|
|
7
|
+
CRITICAL: "CRITICAL",
|
|
8
|
+
HIGH: "HIGH",
|
|
9
|
+
LOW: "LOW",
|
|
10
|
+
MEDIUM: "MEDIUM",
|
|
11
|
+
};
|
|
12
|
+
export const UnprocessedErrorCode = {
|
|
13
|
+
ACCESS_DENIED: "ACCESS_DENIED",
|
|
14
|
+
INVALID_INPUT: "INVALID_INPUT",
|
|
15
|
+
LIMIT_EXCEEDED: "LIMIT_EXCEEDED",
|
|
16
|
+
NOT_FOUND: "NOT_FOUND",
|
|
17
|
+
};
|
|
18
|
+
export const ControlFindingGenerator = {
|
|
19
|
+
SECURITY_CONTROL: "SECURITY_CONTROL",
|
|
20
|
+
STANDARD_CONTROL: "STANDARD_CONTROL",
|
|
21
|
+
};
|
|
22
|
+
export class ResourceConflictException extends __BaseException {
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "ResourceConflictException",
|
|
26
|
+
$fault: "client",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
this.name = "ResourceConflictException";
|
|
30
|
+
this.$fault = "client";
|
|
31
|
+
Object.setPrototypeOf(this, ResourceConflictException.prototype);
|
|
32
|
+
this.Message = opts.Message;
|
|
33
|
+
this.Code = opts.Code;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
1
36
|
export const IntegrationType = {
|
|
2
37
|
RECEIVE_FINDINGS_FROM_SECURITY_HUB: "RECEIVE_FINDINGS_FROM_SECURITY_HUB",
|
|
3
38
|
SEND_FINDINGS_TO_SECURITY_HUB: "SEND_FINDINGS_TO_SECURITY_HUB",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { AccessDeniedException, InternalException, InvalidAccessException, InvalidInputException, LimitExceededException, ResourceNotFoundException, } from "../models/models_0";
|
|
4
|
-
import { ResourceConflictException, } from "../models/
|
|
4
|
+
import { ResourceConflictException, } from "../models/models_2";
|
|
5
5
|
import { SecurityHubServiceException as __BaseException } from "../models/SecurityHubServiceException";
|
|
6
6
|
export const se_AcceptAdministratorInvitationCommand = async (input, context) => {
|
|
7
7
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -4527,10 +4527,12 @@ const se_Resource = (input, context) => {
|
|
|
4527
4527
|
};
|
|
4528
4528
|
const se_ResourceDetails = (input, context) => {
|
|
4529
4529
|
return take(input, {
|
|
4530
|
+
AwsAmazonMqBroker: _json,
|
|
4530
4531
|
AwsApiGatewayRestApi: _json,
|
|
4531
4532
|
AwsApiGatewayStage: (_) => se_AwsApiGatewayStageDetails(_, context),
|
|
4532
4533
|
AwsApiGatewayV2Api: _json,
|
|
4533
4534
|
AwsApiGatewayV2Stage: (_) => se_AwsApiGatewayV2StageDetails(_, context),
|
|
4535
|
+
AwsAppSyncGraphQlApi: _json,
|
|
4534
4536
|
AwsAutoScalingAutoScalingGroup: _json,
|
|
4535
4537
|
AwsAutoScalingLaunchConfiguration: _json,
|
|
4536
4538
|
AwsBackupBackupPlan: _json,
|
|
@@ -4570,6 +4572,8 @@ const se_ResourceDetails = (input, context) => {
|
|
|
4570
4572
|
AwsElasticsearchDomain: _json,
|
|
4571
4573
|
AwsElbLoadBalancer: _json,
|
|
4572
4574
|
AwsElbv2LoadBalancer: _json,
|
|
4575
|
+
AwsEventSchemasRegistry: _json,
|
|
4576
|
+
AwsGuardDutyDetector: _json,
|
|
4573
4577
|
AwsIamAccessKey: _json,
|
|
4574
4578
|
AwsIamGroup: _json,
|
|
4575
4579
|
AwsIamPolicy: _json,
|
|
@@ -4598,6 +4602,7 @@ const se_ResourceDetails = (input, context) => {
|
|
|
4598
4602
|
AwsSnsTopic: _json,
|
|
4599
4603
|
AwsSqsQueue: _json,
|
|
4600
4604
|
AwsSsmPatchCompliance: _json,
|
|
4605
|
+
AwsStepFunctionStateMachine: _json,
|
|
4601
4606
|
AwsWafRateBasedRule: _json,
|
|
4602
4607
|
AwsWafRegionalRateBasedRule: _json,
|
|
4603
4608
|
AwsWafRegionalRule: _json,
|
|
@@ -5254,10 +5259,12 @@ const de_Resource = (output, context) => {
|
|
|
5254
5259
|
};
|
|
5255
5260
|
const de_ResourceDetails = (output, context) => {
|
|
5256
5261
|
return take(output, {
|
|
5262
|
+
AwsAmazonMqBroker: _json,
|
|
5257
5263
|
AwsApiGatewayRestApi: _json,
|
|
5258
5264
|
AwsApiGatewayStage: (_) => de_AwsApiGatewayStageDetails(_, context),
|
|
5259
5265
|
AwsApiGatewayV2Api: _json,
|
|
5260
5266
|
AwsApiGatewayV2Stage: (_) => de_AwsApiGatewayV2StageDetails(_, context),
|
|
5267
|
+
AwsAppSyncGraphQlApi: _json,
|
|
5261
5268
|
AwsAutoScalingAutoScalingGroup: _json,
|
|
5262
5269
|
AwsAutoScalingLaunchConfiguration: _json,
|
|
5263
5270
|
AwsBackupBackupPlan: _json,
|
|
@@ -5297,6 +5304,8 @@ const de_ResourceDetails = (output, context) => {
|
|
|
5297
5304
|
AwsElasticsearchDomain: _json,
|
|
5298
5305
|
AwsElbLoadBalancer: _json,
|
|
5299
5306
|
AwsElbv2LoadBalancer: _json,
|
|
5307
|
+
AwsEventSchemasRegistry: _json,
|
|
5308
|
+
AwsGuardDutyDetector: _json,
|
|
5300
5309
|
AwsIamAccessKey: _json,
|
|
5301
5310
|
AwsIamGroup: _json,
|
|
5302
5311
|
AwsIamPolicy: _json,
|
|
@@ -5325,6 +5334,7 @@ const de_ResourceDetails = (output, context) => {
|
|
|
5325
5334
|
AwsSnsTopic: _json,
|
|
5326
5335
|
AwsSqsQueue: _json,
|
|
5327
5336
|
AwsSsmPatchCompliance: _json,
|
|
5337
|
+
AwsStepFunctionStateMachine: _json,
|
|
5328
5338
|
AwsWafRateBasedRule: _json,
|
|
5329
5339
|
AwsWafRegionalRateBasedRule: _json,
|
|
5330
5340
|
AwsWafRegionalRule: _json,
|
|
@@ -87,9 +87,9 @@ export interface BatchEnableStandardsCommandOutput extends BatchEnableStandardsR
|
|
|
87
87
|
* @throws {@link SecurityHubServiceException}
|
|
88
88
|
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
89
89
|
*
|
|
90
|
-
* @example To
|
|
90
|
+
* @example To enable security standards
|
|
91
91
|
* ```javascript
|
|
92
|
-
* // The following example
|
|
92
|
+
* // The following example enables the security standard specified by the StandardArn. You can use this operation to enable one or more Security Hub standards.
|
|
93
93
|
* const input = {
|
|
94
94
|
* "StandardsSubscriptionRequests": [
|
|
95
95
|
* {
|
|
@@ -111,7 +111,7 @@ export interface BatchEnableStandardsCommandOutput extends BatchEnableStandardsR
|
|
|
111
111
|
* ]
|
|
112
112
|
* }
|
|
113
113
|
* *\/
|
|
114
|
-
* // example id: to-
|
|
114
|
+
* // example id: to-enable-security-standards-1683233792239
|
|
115
115
|
* ```
|
|
116
116
|
*
|
|
117
117
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
-
import { BatchGetSecurityControlsRequest, BatchGetSecurityControlsResponse } from "../models/
|
|
4
|
+
import { BatchGetSecurityControlsRequest, BatchGetSecurityControlsResponse } from "../models/models_2";
|
|
5
5
|
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -85,6 +85,44 @@ export interface BatchGetSecurityControlsCommandOutput extends BatchGetSecurityC
|
|
|
85
85
|
* @throws {@link SecurityHubServiceException}
|
|
86
86
|
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
87
87
|
*
|
|
88
|
+
* @example To get security control details
|
|
89
|
+
* ```javascript
|
|
90
|
+
* // The following example gets details for the specified controls in the current AWS account and AWS Region.
|
|
91
|
+
* const input = {
|
|
92
|
+
* "SecurityControlIds": [
|
|
93
|
+
* "ACM.1",
|
|
94
|
+
* "APIGateway.1"
|
|
95
|
+
* ]
|
|
96
|
+
* };
|
|
97
|
+
* const command = new BatchGetSecurityControlsCommand(input);
|
|
98
|
+
* const response = await client.send(command);
|
|
99
|
+
* /* response ==
|
|
100
|
+
* {
|
|
101
|
+
* "SecurityControls": [
|
|
102
|
+
* {
|
|
103
|
+
* "Description": "This AWS control checks whether ACM Certificates in your account are marked for expiration within a specified time period. Certificates provided by ACM are automatically renewed. ACM does not automatically renew certificates that you import.",
|
|
104
|
+
* "RemediationUrl": "https://docs.aws.amazon.com/console/securityhub/ACM.1/remediation",
|
|
105
|
+
* "SecurityControlArn": "arn:aws:securityhub:us-west-2:123456789012:security-control/ACM.1",
|
|
106
|
+
* "SecurityControlId": "ACM.1",
|
|
107
|
+
* "SecurityControlStatus": "ENABLED",
|
|
108
|
+
* "SeverityRating": "MEDIUM",
|
|
109
|
+
* "Title": "Imported and ACM-issued certificates should be renewed after a specified time period"
|
|
110
|
+
* },
|
|
111
|
+
* {
|
|
112
|
+
* "Description": "This control checks whether all stages of Amazon API Gateway REST and WebSocket APIs have logging enabled. The control fails if logging is not enabled for all methods of a stage or if loggingLevel is neither ERROR nor INFO.",
|
|
113
|
+
* "RemediationUrl": "https://docs.aws.amazon.com/console/securityhub/APIGateway.1/remediation",
|
|
114
|
+
* "SecurityControlArn": "arn:aws:securityhub:us-west-2:123456789012:security-control/APIGateway.1",
|
|
115
|
+
* "SecurityControlId": "APIGateway.1",
|
|
116
|
+
* "SecurityControlStatus": "ENABLED",
|
|
117
|
+
* "SeverityRating": "MEDIUM",
|
|
118
|
+
* "Title": "API Gateway REST and WebSocket API execution logging should be enabled"
|
|
119
|
+
* }
|
|
120
|
+
* ]
|
|
121
|
+
* }
|
|
122
|
+
* *\/
|
|
123
|
+
* // example id: to-get-security-control-details--1683234478355
|
|
124
|
+
* ```
|
|
125
|
+
*
|
|
88
126
|
*/
|
|
89
127
|
export declare class BatchGetSecurityControlsCommand extends $Command<BatchGetSecurityControlsCommandInput, BatchGetSecurityControlsCommandOutput, SecurityHubClientResolvedConfig> {
|
|
90
128
|
readonly input: BatchGetSecurityControlsCommandInput;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
-
import { BatchGetStandardsControlAssociationsRequest, BatchGetStandardsControlAssociationsResponse } from "../models/
|
|
4
|
+
import { BatchGetStandardsControlAssociationsRequest, BatchGetStandardsControlAssociationsResponse } from "../models/models_2";
|
|
5
5
|
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -98,6 +98,56 @@ export interface BatchGetStandardsControlAssociationsCommandOutput extends Batch
|
|
|
98
98
|
* @throws {@link SecurityHubServiceException}
|
|
99
99
|
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
100
100
|
*
|
|
101
|
+
* @example To get enablement status of a batch of controls
|
|
102
|
+
* ```javascript
|
|
103
|
+
* // The following example retrieves the enablement status of the specified controls in the specified standards.
|
|
104
|
+
* const input = {
|
|
105
|
+
* "StandardsControlAssociationIds": [
|
|
106
|
+
* {
|
|
107
|
+
* "SecurityControlId": "CloudTrail.1",
|
|
108
|
+
* "StandardsArn": "arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0"
|
|
109
|
+
* },
|
|
110
|
+
* {
|
|
111
|
+
* "SecurityControlId": "CloudWatch.12",
|
|
112
|
+
* "StandardsArn": "arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0"
|
|
113
|
+
* }
|
|
114
|
+
* ]
|
|
115
|
+
* };
|
|
116
|
+
* const command = new BatchGetStandardsControlAssociationsCommand(input);
|
|
117
|
+
* const response = await client.send(command);
|
|
118
|
+
* /* response ==
|
|
119
|
+
* {
|
|
120
|
+
* "StandardsControlAssociationDetails": [
|
|
121
|
+
* {
|
|
122
|
+
* "AssociationStatus": "ENABLED",
|
|
123
|
+
* "RelatedRequirements": [
|
|
124
|
+
* "CIS AWS Foundations 2.1"
|
|
125
|
+
* ],
|
|
126
|
+
* "SecurityControlArn": "arn:aws:securityhub:us-west-2:110479873537:security-control/CloudTrail.1",
|
|
127
|
+
* "SecurityControlId": "CloudTrail.1",
|
|
128
|
+
* "StandardsArn": "arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0",
|
|
129
|
+
* "StandardsControlDescription": "AWS CloudTrail is a web service that records AWS API calls for your account and delivers log files to you. The recorded information includes the identity of the API caller, the time of the API call, the source IP address of the API caller, the request parameters, and the response elements returned by the AWS service.",
|
|
130
|
+
* "StandardsControlTitle": "Ensure CloudTrail is enabled in all regions",
|
|
131
|
+
* "UpdatedAt": "2022-01-13T18:52:29.539000+00:00"
|
|
132
|
+
* },
|
|
133
|
+
* {
|
|
134
|
+
* "AssociationStatus": "ENABLED",
|
|
135
|
+
* "RelatedRequirements": [
|
|
136
|
+
* "CIS AWS Foundations 3.12"
|
|
137
|
+
* ],
|
|
138
|
+
* "SecurityControlArn": "arn:aws:securityhub:us-west-2:110479873537:security-control/CloudWatch.12",
|
|
139
|
+
* "SecurityControlId": "CloudWatch.12",
|
|
140
|
+
* "StandardsArn": "arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0",
|
|
141
|
+
* "StandardsControlDescription": "Real-time monitoring of API calls can be achieved by directing CloudTrail Logs to CloudWatch Logs and establishing corresponding metric filters and alarms. Network gateways are required to send/receive traffic to a destination outside of a VPC. It is recommended that a metric filter and alarm be established for changes to network gateways.",
|
|
142
|
+
* "StandardsControlTitle": "Ensure a log metric filter and alarm exist for changes to network gateways",
|
|
143
|
+
* "UpdatedAt": "2022-01-13T18:52:29.686000+00:00"
|
|
144
|
+
* }
|
|
145
|
+
* ]
|
|
146
|
+
* }
|
|
147
|
+
* *\/
|
|
148
|
+
* // example id: to-get-enablement-status-of-a-batch-of-controls-1683301618357
|
|
149
|
+
* ```
|
|
150
|
+
*
|
|
101
151
|
*/
|
|
102
152
|
export declare class BatchGetStandardsControlAssociationsCommand extends $Command<BatchGetStandardsControlAssociationsCommandInput, BatchGetStandardsControlAssociationsCommandOutput, SecurityHubClientResolvedConfig> {
|
|
103
153
|
readonly input: BatchGetStandardsControlAssociationsCommandInput;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
-
import { BatchImportFindingsRequest, BatchImportFindingsResponse } from "../models/
|
|
4
|
+
import { BatchImportFindingsRequest, BatchImportFindingsResponse } from "../models/models_2";
|
|
5
5
|
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -3638,6 +3638,177 @@ export interface BatchImportFindingsCommandOutput extends BatchImportFindingsRes
|
|
|
3638
3638
|
* ],
|
|
3639
3639
|
* VpcId: "STRING_VALUE",
|
|
3640
3640
|
* },
|
|
3641
|
+
* AwsAmazonMqBroker: { // AwsAmazonMqBrokerDetails
|
|
3642
|
+
* AuthenticationStrategy: "STRING_VALUE",
|
|
3643
|
+
* AutoMinorVersionUpgrade: true || false,
|
|
3644
|
+
* BrokerArn: "STRING_VALUE",
|
|
3645
|
+
* BrokerName: "STRING_VALUE",
|
|
3646
|
+
* DeploymentMode: "STRING_VALUE",
|
|
3647
|
+
* EncryptionOptions: { // AwsAmazonMqBrokerEncryptionOptionsDetails
|
|
3648
|
+
* KmsKeyId: "STRING_VALUE",
|
|
3649
|
+
* UseAwsOwnedKey: true || false,
|
|
3650
|
+
* },
|
|
3651
|
+
* EngineType: "STRING_VALUE",
|
|
3652
|
+
* EngineVersion: "STRING_VALUE",
|
|
3653
|
+
* HostInstanceType: "STRING_VALUE",
|
|
3654
|
+
* BrokerId: "STRING_VALUE",
|
|
3655
|
+
* LdapServerMetadata: { // AwsAmazonMqBrokerLdapServerMetadataDetails
|
|
3656
|
+
* Hosts: "<StringList>",
|
|
3657
|
+
* RoleBase: "STRING_VALUE",
|
|
3658
|
+
* RoleName: "STRING_VALUE",
|
|
3659
|
+
* RoleSearchMatching: "STRING_VALUE",
|
|
3660
|
+
* RoleSearchSubtree: true || false,
|
|
3661
|
+
* ServiceAccountUsername: "STRING_VALUE",
|
|
3662
|
+
* UserBase: "STRING_VALUE",
|
|
3663
|
+
* UserRoleName: "STRING_VALUE",
|
|
3664
|
+
* UserSearchMatching: "STRING_VALUE",
|
|
3665
|
+
* UserSearchSubtree: true || false,
|
|
3666
|
+
* },
|
|
3667
|
+
* Logs: { // AwsAmazonMqBrokerLogsDetails
|
|
3668
|
+
* Audit: true || false,
|
|
3669
|
+
* General: true || false,
|
|
3670
|
+
* AuditLogGroup: "STRING_VALUE",
|
|
3671
|
+
* GeneralLogGroup: "STRING_VALUE",
|
|
3672
|
+
* Pending: { // AwsAmazonMqBrokerLogsPendingDetails
|
|
3673
|
+
* Audit: true || false,
|
|
3674
|
+
* General: true || false,
|
|
3675
|
+
* },
|
|
3676
|
+
* },
|
|
3677
|
+
* MaintenanceWindowStartTime: { // AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails
|
|
3678
|
+
* DayOfWeek: "STRING_VALUE",
|
|
3679
|
+
* TimeOfDay: "STRING_VALUE",
|
|
3680
|
+
* TimeZone: "STRING_VALUE",
|
|
3681
|
+
* },
|
|
3682
|
+
* PubliclyAccessible: true || false,
|
|
3683
|
+
* SecurityGroups: "<StringList>",
|
|
3684
|
+
* StorageType: "STRING_VALUE",
|
|
3685
|
+
* SubnetIds: "<StringList>",
|
|
3686
|
+
* Users: [ // AwsAmazonMqBrokerUsersList
|
|
3687
|
+
* { // AwsAmazonMqBrokerUsersDetails
|
|
3688
|
+
* PendingChange: "STRING_VALUE",
|
|
3689
|
+
* Username: "STRING_VALUE",
|
|
3690
|
+
* },
|
|
3691
|
+
* ],
|
|
3692
|
+
* },
|
|
3693
|
+
* AwsAppSyncGraphQlApi: { // AwsAppSyncGraphQlApiDetails
|
|
3694
|
+
* ApiId: "STRING_VALUE",
|
|
3695
|
+
* Id: "STRING_VALUE",
|
|
3696
|
+
* OpenIdConnectConfig: { // AwsAppSyncGraphQlApiOpenIdConnectConfigDetails
|
|
3697
|
+
* AuthTtL: Number("long"),
|
|
3698
|
+
* ClientId: "STRING_VALUE",
|
|
3699
|
+
* IatTtL: Number("long"),
|
|
3700
|
+
* Issuer: "STRING_VALUE",
|
|
3701
|
+
* },
|
|
3702
|
+
* Name: "STRING_VALUE",
|
|
3703
|
+
* LambdaAuthorizerConfig: { // AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails
|
|
3704
|
+
* AuthorizerResultTtlInSeconds: Number("int"),
|
|
3705
|
+
* AuthorizerUri: "STRING_VALUE",
|
|
3706
|
+
* IdentityValidationExpression: "STRING_VALUE",
|
|
3707
|
+
* },
|
|
3708
|
+
* XrayEnabled: true || false,
|
|
3709
|
+
* Arn: "STRING_VALUE",
|
|
3710
|
+
* UserPoolConfig: { // AwsAppSyncGraphQlApiUserPoolConfigDetails
|
|
3711
|
+
* AppIdClientRegex: "STRING_VALUE",
|
|
3712
|
+
* AwsRegion: "STRING_VALUE",
|
|
3713
|
+
* DefaultAction: "STRING_VALUE",
|
|
3714
|
+
* UserPoolId: "STRING_VALUE",
|
|
3715
|
+
* },
|
|
3716
|
+
* AuthenticationType: "STRING_VALUE",
|
|
3717
|
+
* LogConfig: { // AwsAppSyncGraphQlApiLogConfigDetails
|
|
3718
|
+
* CloudWatchLogsRoleArn: "STRING_VALUE",
|
|
3719
|
+
* ExcludeVerboseContent: true || false,
|
|
3720
|
+
* FieldLogLevel: "STRING_VALUE",
|
|
3721
|
+
* },
|
|
3722
|
+
* AdditionalAuthenticationProviders: [ // AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersList
|
|
3723
|
+
* { // AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails
|
|
3724
|
+
* AuthenticationType: "STRING_VALUE",
|
|
3725
|
+
* LambdaAuthorizerConfig: {
|
|
3726
|
+
* AuthorizerResultTtlInSeconds: Number("int"),
|
|
3727
|
+
* AuthorizerUri: "STRING_VALUE",
|
|
3728
|
+
* IdentityValidationExpression: "STRING_VALUE",
|
|
3729
|
+
* },
|
|
3730
|
+
* OpenIdConnectConfig: {
|
|
3731
|
+
* AuthTtL: Number("long"),
|
|
3732
|
+
* ClientId: "STRING_VALUE",
|
|
3733
|
+
* IatTtL: Number("long"),
|
|
3734
|
+
* Issuer: "STRING_VALUE",
|
|
3735
|
+
* },
|
|
3736
|
+
* UserPoolConfig: {
|
|
3737
|
+
* AppIdClientRegex: "STRING_VALUE",
|
|
3738
|
+
* AwsRegion: "STRING_VALUE",
|
|
3739
|
+
* DefaultAction: "STRING_VALUE",
|
|
3740
|
+
* UserPoolId: "STRING_VALUE",
|
|
3741
|
+
* },
|
|
3742
|
+
* },
|
|
3743
|
+
* ],
|
|
3744
|
+
* WafWebAclArn: "STRING_VALUE",
|
|
3745
|
+
* },
|
|
3746
|
+
* AwsEventSchemasRegistry: { // AwsEventSchemasRegistryDetails
|
|
3747
|
+
* Description: "STRING_VALUE",
|
|
3748
|
+
* RegistryArn: "STRING_VALUE",
|
|
3749
|
+
* RegistryName: "STRING_VALUE",
|
|
3750
|
+
* },
|
|
3751
|
+
* AwsGuardDutyDetector: { // AwsGuardDutyDetectorDetails
|
|
3752
|
+
* DataSources: { // AwsGuardDutyDetectorDataSourcesDetails
|
|
3753
|
+
* CloudTrail: { // AwsGuardDutyDetectorDataSourcesCloudTrailDetails
|
|
3754
|
+
* Status: "STRING_VALUE",
|
|
3755
|
+
* },
|
|
3756
|
+
* DnsLogs: { // AwsGuardDutyDetectorDataSourcesDnsLogsDetails
|
|
3757
|
+
* Status: "STRING_VALUE",
|
|
3758
|
+
* },
|
|
3759
|
+
* FlowLogs: { // AwsGuardDutyDetectorDataSourcesFlowLogsDetails
|
|
3760
|
+
* Status: "STRING_VALUE",
|
|
3761
|
+
* },
|
|
3762
|
+
* Kubernetes: { // AwsGuardDutyDetectorDataSourcesKubernetesDetails
|
|
3763
|
+
* AuditLogs: { // AwsGuardDutyDetectorDataSourcesKubernetesAuditLogsDetails
|
|
3764
|
+
* Status: "STRING_VALUE",
|
|
3765
|
+
* },
|
|
3766
|
+
* },
|
|
3767
|
+
* MalwareProtection: { // AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails
|
|
3768
|
+
* ScanEc2InstanceWithFindings: { // AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsDetails
|
|
3769
|
+
* EbsVolumes: { // AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesDetails
|
|
3770
|
+
* Reason: "STRING_VALUE",
|
|
3771
|
+
* Status: "STRING_VALUE",
|
|
3772
|
+
* },
|
|
3773
|
+
* },
|
|
3774
|
+
* ServiceRole: "STRING_VALUE",
|
|
3775
|
+
* },
|
|
3776
|
+
* S3Logs: { // AwsGuardDutyDetectorDataSourcesS3LogsDetails
|
|
3777
|
+
* Status: "STRING_VALUE",
|
|
3778
|
+
* },
|
|
3779
|
+
* },
|
|
3780
|
+
* Features: [ // AwsGuardDutyDetectorFeaturesList
|
|
3781
|
+
* { // AwsGuardDutyDetectorFeaturesDetails
|
|
3782
|
+
* Name: "STRING_VALUE",
|
|
3783
|
+
* Status: "STRING_VALUE",
|
|
3784
|
+
* },
|
|
3785
|
+
* ],
|
|
3786
|
+
* FindingPublishingFrequency: "STRING_VALUE",
|
|
3787
|
+
* ServiceRole: "STRING_VALUE",
|
|
3788
|
+
* Status: "STRING_VALUE",
|
|
3789
|
+
* },
|
|
3790
|
+
* AwsStepFunctionStateMachine: { // AwsStepFunctionStateMachineDetails
|
|
3791
|
+
* Label: "STRING_VALUE",
|
|
3792
|
+
* LoggingConfiguration: { // AwsStepFunctionStateMachineLoggingConfigurationDetails
|
|
3793
|
+
* Destinations: [ // AwsStepFunctionStateMachineLoggingConfigurationDestinationsList
|
|
3794
|
+
* { // AwsStepFunctionStateMachineLoggingConfigurationDestinationsDetails
|
|
3795
|
+
* CloudWatchLogsLogGroup: { // AwsStepFunctionStateMachineLoggingConfigurationDestinationsCloudWatchLogsLogGroupDetails
|
|
3796
|
+
* LogGroupArn: "STRING_VALUE",
|
|
3797
|
+
* },
|
|
3798
|
+
* },
|
|
3799
|
+
* ],
|
|
3800
|
+
* IncludeExecutionData: true || false,
|
|
3801
|
+
* Level: "STRING_VALUE",
|
|
3802
|
+
* },
|
|
3803
|
+
* Name: "STRING_VALUE",
|
|
3804
|
+
* RoleArn: "STRING_VALUE",
|
|
3805
|
+
* StateMachineArn: "STRING_VALUE",
|
|
3806
|
+
* Status: "STRING_VALUE",
|
|
3807
|
+
* TracingConfiguration: { // AwsStepFunctionStateMachineTracingConfigurationDetails
|
|
3808
|
+
* Enabled: true || false,
|
|
3809
|
+
* },
|
|
3810
|
+
* Type: "STRING_VALUE",
|
|
3811
|
+
* },
|
|
3641
3812
|
* },
|
|
3642
3813
|
* },
|
|
3643
3814
|
* ],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
-
import { BatchUpdateFindingsRequest, BatchUpdateFindingsResponse } from "../models/
|
|
4
|
+
import { BatchUpdateFindingsRequest, BatchUpdateFindingsResponse } from "../models/models_2";
|
|
5
5
|
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|