@aws-sdk/client-auditmanager 3.592.0 → 3.596.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 +27 -1
- package/dist-es/models/models_0.js +19 -0
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/commands/CreateAssessmentCommand.d.ts +3 -0
- package/dist-types/commands/CreateAssessmentFrameworkCommand.d.ts +3 -2
- package/dist-types/commands/CreateControlCommand.d.ts +4 -3
- package/dist-types/commands/GetAssessmentFrameworkCommand.d.ts +3 -2
- package/dist-types/commands/GetControlCommand.d.ts +3 -2
- package/dist-types/commands/GetServicesInScopeCommand.d.ts +12 -3
- package/dist-types/commands/ListControlDomainInsightsByAssessmentCommand.d.ts +6 -0
- package/dist-types/commands/ListControlDomainInsightsCommand.d.ts +6 -0
- package/dist-types/commands/ListControlsCommand.d.ts +2 -1
- package/dist-types/commands/ListKeywordsForDataSourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAssessmentCommand.d.ts +3 -0
- package/dist-types/commands/UpdateAssessmentFrameworkCommand.d.ts +3 -2
- package/dist-types/commands/UpdateControlCommand.d.ts +4 -3
- package/dist-types/models/models_0.d.ts +151 -17
- package/dist-types/ts3.4/models/models_0.d.ts +20 -1
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -61,6 +61,7 @@ __export(src_exports, {
|
|
|
61
61
|
ControlResponse: () => ControlResponse,
|
|
62
62
|
ControlSetFilterSensitiveLog: () => ControlSetFilterSensitiveLog,
|
|
63
63
|
ControlSetStatus: () => ControlSetStatus,
|
|
64
|
+
ControlState: () => ControlState,
|
|
64
65
|
ControlStatus: () => ControlStatus,
|
|
65
66
|
ControlType: () => ControlType,
|
|
66
67
|
CreateAssessmentCommand: () => CreateAssessmentCommand,
|
|
@@ -77,6 +78,7 @@ __export(src_exports, {
|
|
|
77
78
|
CreateControlRequestFilterSensitiveLog: () => CreateControlRequestFilterSensitiveLog,
|
|
78
79
|
CreateControlResponseFilterSensitiveLog: () => CreateControlResponseFilterSensitiveLog,
|
|
79
80
|
CreateDelegationRequestFilterSensitiveLog: () => CreateDelegationRequestFilterSensitiveLog,
|
|
81
|
+
DataSourceType: () => DataSourceType,
|
|
80
82
|
DelegationFilterSensitiveLog: () => DelegationFilterSensitiveLog,
|
|
81
83
|
DelegationMetadataFilterSensitiveLog: () => DelegationMetadataFilterSensitiveLog,
|
|
82
84
|
DelegationStatus: () => DelegationStatus,
|
|
@@ -575,9 +577,16 @@ var SourceType = {
|
|
|
575
577
|
AWS_CLOUDTRAIL: "AWS_Cloudtrail",
|
|
576
578
|
AWS_CONFIG: "AWS_Config",
|
|
577
579
|
AWS_SECURITY_HUB: "AWS_Security_Hub",
|
|
580
|
+
COMMON_CONTROL: "Common_Control",
|
|
581
|
+
CORE_CONTROL: "Core_Control",
|
|
578
582
|
MANUAL: "MANUAL"
|
|
579
583
|
};
|
|
584
|
+
var ControlState = {
|
|
585
|
+
ACTIVE: "ACTIVE",
|
|
586
|
+
END_OF_SUPPORT: "END_OF_SUPPORT"
|
|
587
|
+
};
|
|
580
588
|
var ControlType = {
|
|
589
|
+
CORE: "Core",
|
|
581
590
|
CUSTOM: "Custom",
|
|
582
591
|
STANDARD: "Standard"
|
|
583
592
|
};
|
|
@@ -620,6 +629,13 @@ var EvidenceFinderEnablementStatus = {
|
|
|
620
629
|
ENABLED: "ENABLED",
|
|
621
630
|
ENABLE_IN_PROGRESS: "ENABLE_IN_PROGRESS"
|
|
622
631
|
};
|
|
632
|
+
var DataSourceType = {
|
|
633
|
+
AWS_API_CALL: "AWS_API_Call",
|
|
634
|
+
AWS_CLOUDTRAIL: "AWS_Cloudtrail",
|
|
635
|
+
AWS_CONFIG: "AWS_Config",
|
|
636
|
+
AWS_SECURITY_HUB: "AWS_Security_Hub",
|
|
637
|
+
MANUAL: "MANUAL"
|
|
638
|
+
};
|
|
623
639
|
var ShareRequestAction = {
|
|
624
640
|
ACCEPT: "ACCEPT",
|
|
625
641
|
DECLINE: "DECLINE",
|
|
@@ -636,6 +652,7 @@ var ControlCommentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
636
652
|
}), "ControlCommentFilterSensitiveLog");
|
|
637
653
|
var AssessmentControlFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
638
654
|
...obj,
|
|
655
|
+
...obj.description && { description: import_smithy_client.SENSITIVE_STRING },
|
|
639
656
|
...obj.comments && { comments: obj.comments.map((item) => ControlCommentFilterSensitiveLog(item)) }
|
|
640
657
|
}), "AssessmentControlFilterSensitiveLog");
|
|
641
658
|
var DelegationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
@@ -647,6 +664,7 @@ var DelegationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
647
664
|
var AssessmentControlSetFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
648
665
|
...obj,
|
|
649
666
|
...obj.roles && { roles: import_smithy_client.SENSITIVE_STRING },
|
|
667
|
+
...obj.controls && { controls: obj.controls.map((item) => AssessmentControlFilterSensitiveLog(item)) },
|
|
650
668
|
...obj.delegations && { delegations: import_smithy_client.SENSITIVE_STRING }
|
|
651
669
|
}), "AssessmentControlSetFilterSensitiveLog");
|
|
652
670
|
var FrameworkMetadataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
@@ -775,6 +793,7 @@ var ControlMappingSourceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
775
793
|
}), "ControlMappingSourceFilterSensitiveLog");
|
|
776
794
|
var ControlFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
777
795
|
...obj,
|
|
796
|
+
...obj.description && { description: import_smithy_client.SENSITIVE_STRING },
|
|
778
797
|
...obj.testingInformation && { testingInformation: import_smithy_client.SENSITIVE_STRING },
|
|
779
798
|
...obj.actionPlanTitle && { actionPlanTitle: import_smithy_client.SENSITIVE_STRING },
|
|
780
799
|
...obj.actionPlanInstructions && { actionPlanInstructions: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -813,6 +832,7 @@ var CreateControlMappingSourceFilterSensitiveLog = /* @__PURE__ */ __name((obj)
|
|
|
813
832
|
}), "CreateControlMappingSourceFilterSensitiveLog");
|
|
814
833
|
var CreateControlRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
815
834
|
...obj,
|
|
835
|
+
...obj.description && { description: import_smithy_client.SENSITIVE_STRING },
|
|
816
836
|
...obj.testingInformation && { testingInformation: import_smithy_client.SENSITIVE_STRING },
|
|
817
837
|
...obj.actionPlanTitle && { actionPlanTitle: import_smithy_client.SENSITIVE_STRING },
|
|
818
838
|
...obj.actionPlanInstructions && { actionPlanInstructions: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -953,6 +973,7 @@ var UpdateAssessmentStatusResponseFilterSensitiveLog = /* @__PURE__ */ __name((o
|
|
|
953
973
|
}), "UpdateAssessmentStatusResponseFilterSensitiveLog");
|
|
954
974
|
var UpdateControlRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
955
975
|
...obj,
|
|
976
|
+
...obj.description && { description: import_smithy_client.SENSITIVE_STRING },
|
|
956
977
|
...obj.testingInformation && { testingInformation: import_smithy_client.SENSITIVE_STRING },
|
|
957
978
|
...obj.actionPlanTitle && { actionPlanTitle: import_smithy_client.SENSITIVE_STRING },
|
|
958
979
|
...obj.actionPlanInstructions && { actionPlanInstructions: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -1560,7 +1581,8 @@ var se_ListControlsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1560
1581
|
const query = (0, import_smithy_client.map)({
|
|
1561
1582
|
[_cT]: [, (0, import_smithy_client.expectNonNull)(input[_cT], `controlType`)],
|
|
1562
1583
|
[_nT]: [, input[_nT]],
|
|
1563
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
1584
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1585
|
+
[_cCI]: [, input[_cCI]]
|
|
1564
1586
|
});
|
|
1565
1587
|
let body;
|
|
1566
1588
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -3027,6 +3049,7 @@ var de_Control = /* @__PURE__ */ __name((output, context) => {
|
|
|
3027
3049
|
lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3028
3050
|
lastUpdatedBy: import_smithy_client.expectString,
|
|
3029
3051
|
name: import_smithy_client.expectString,
|
|
3052
|
+
state: import_smithy_client.expectString,
|
|
3030
3053
|
tags: import_smithy_client._json,
|
|
3031
3054
|
testingInformation: import_smithy_client.expectString,
|
|
3032
3055
|
type: import_smithy_client.expectString
|
|
@@ -3264,6 +3287,7 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
3264
3287
|
cfId: output.headers["x-amz-cf-id"]
|
|
3265
3288
|
}), "deserializeMetadata");
|
|
3266
3289
|
var _aI = "assessmentId";
|
|
3290
|
+
var _cCI = "controlCatalogId";
|
|
3267
3291
|
var _cDI = "controlDomainId";
|
|
3268
3292
|
var _cI = "controlId";
|
|
3269
3293
|
var _cSI = "controlSetId";
|
|
@@ -4518,6 +4542,7 @@ var paginateListNotifications = (0, import_core.createPaginator)(AuditManagerCli
|
|
|
4518
4542
|
KeywordInputType,
|
|
4519
4543
|
SourceSetUpOption,
|
|
4520
4544
|
SourceType,
|
|
4545
|
+
ControlState,
|
|
4521
4546
|
ControlType,
|
|
4522
4547
|
ShareRequestType,
|
|
4523
4548
|
ObjectTypeEnum,
|
|
@@ -4526,6 +4551,7 @@ var paginateListNotifications = (0, import_core.createPaginator)(AuditManagerCli
|
|
|
4526
4551
|
DeleteResources,
|
|
4527
4552
|
EvidenceFinderBackfillStatus,
|
|
4528
4553
|
EvidenceFinderEnablementStatus,
|
|
4554
|
+
DataSourceType,
|
|
4529
4555
|
ShareRequestAction,
|
|
4530
4556
|
AWSAccountFilterSensitiveLog,
|
|
4531
4557
|
ControlCommentFilterSensitiveLog,
|
|
@@ -167,9 +167,16 @@ export const SourceType = {
|
|
|
167
167
|
AWS_CLOUDTRAIL: "AWS_Cloudtrail",
|
|
168
168
|
AWS_CONFIG: "AWS_Config",
|
|
169
169
|
AWS_SECURITY_HUB: "AWS_Security_Hub",
|
|
170
|
+
COMMON_CONTROL: "Common_Control",
|
|
171
|
+
CORE_CONTROL: "Core_Control",
|
|
170
172
|
MANUAL: "MANUAL",
|
|
171
173
|
};
|
|
174
|
+
export const ControlState = {
|
|
175
|
+
ACTIVE: "ACTIVE",
|
|
176
|
+
END_OF_SUPPORT: "END_OF_SUPPORT",
|
|
177
|
+
};
|
|
172
178
|
export const ControlType = {
|
|
179
|
+
CORE: "Core",
|
|
173
180
|
CUSTOM: "Custom",
|
|
174
181
|
STANDARD: "Standard",
|
|
175
182
|
};
|
|
@@ -212,6 +219,13 @@ export const EvidenceFinderEnablementStatus = {
|
|
|
212
219
|
ENABLED: "ENABLED",
|
|
213
220
|
ENABLE_IN_PROGRESS: "ENABLE_IN_PROGRESS",
|
|
214
221
|
};
|
|
222
|
+
export const DataSourceType = {
|
|
223
|
+
AWS_API_CALL: "AWS_API_Call",
|
|
224
|
+
AWS_CLOUDTRAIL: "AWS_Cloudtrail",
|
|
225
|
+
AWS_CONFIG: "AWS_Config",
|
|
226
|
+
AWS_SECURITY_HUB: "AWS_Security_Hub",
|
|
227
|
+
MANUAL: "MANUAL",
|
|
228
|
+
};
|
|
215
229
|
export const ShareRequestAction = {
|
|
216
230
|
ACCEPT: "ACCEPT",
|
|
217
231
|
DECLINE: "DECLINE",
|
|
@@ -228,6 +242,7 @@ export const ControlCommentFilterSensitiveLog = (obj) => ({
|
|
|
228
242
|
});
|
|
229
243
|
export const AssessmentControlFilterSensitiveLog = (obj) => ({
|
|
230
244
|
...obj,
|
|
245
|
+
...(obj.description && { description: SENSITIVE_STRING }),
|
|
231
246
|
...(obj.comments && { comments: obj.comments.map((item) => ControlCommentFilterSensitiveLog(item)) }),
|
|
232
247
|
});
|
|
233
248
|
export const DelegationFilterSensitiveLog = (obj) => ({
|
|
@@ -239,6 +254,7 @@ export const DelegationFilterSensitiveLog = (obj) => ({
|
|
|
239
254
|
export const AssessmentControlSetFilterSensitiveLog = (obj) => ({
|
|
240
255
|
...obj,
|
|
241
256
|
...(obj.roles && { roles: SENSITIVE_STRING }),
|
|
257
|
+
...(obj.controls && { controls: obj.controls.map((item) => AssessmentControlFilterSensitiveLog(item)) }),
|
|
242
258
|
...(obj.delegations && { delegations: SENSITIVE_STRING }),
|
|
243
259
|
});
|
|
244
260
|
export const FrameworkMetadataFilterSensitiveLog = (obj) => ({
|
|
@@ -367,6 +383,7 @@ export const ControlMappingSourceFilterSensitiveLog = (obj) => ({
|
|
|
367
383
|
});
|
|
368
384
|
export const ControlFilterSensitiveLog = (obj) => ({
|
|
369
385
|
...obj,
|
|
386
|
+
...(obj.description && { description: SENSITIVE_STRING }),
|
|
370
387
|
...(obj.testingInformation && { testingInformation: SENSITIVE_STRING }),
|
|
371
388
|
...(obj.actionPlanTitle && { actionPlanTitle: SENSITIVE_STRING }),
|
|
372
389
|
...(obj.actionPlanInstructions && { actionPlanInstructions: SENSITIVE_STRING }),
|
|
@@ -405,6 +422,7 @@ export const CreateControlMappingSourceFilterSensitiveLog = (obj) => ({
|
|
|
405
422
|
});
|
|
406
423
|
export const CreateControlRequestFilterSensitiveLog = (obj) => ({
|
|
407
424
|
...obj,
|
|
425
|
+
...(obj.description && { description: SENSITIVE_STRING }),
|
|
408
426
|
...(obj.testingInformation && { testingInformation: SENSITIVE_STRING }),
|
|
409
427
|
...(obj.actionPlanTitle && { actionPlanTitle: SENSITIVE_STRING }),
|
|
410
428
|
...(obj.actionPlanInstructions && { actionPlanInstructions: SENSITIVE_STRING }),
|
|
@@ -539,6 +557,7 @@ export const UpdateAssessmentStatusResponseFilterSensitiveLog = (obj) => ({
|
|
|
539
557
|
});
|
|
540
558
|
export const UpdateControlRequestFilterSensitiveLog = (obj) => ({
|
|
541
559
|
...obj,
|
|
560
|
+
...(obj.description && { description: SENSITIVE_STRING }),
|
|
542
561
|
...(obj.testingInformation && { testingInformation: SENSITIVE_STRING }),
|
|
543
562
|
...(obj.actionPlanTitle && { actionPlanTitle: SENSITIVE_STRING }),
|
|
544
563
|
...(obj.actionPlanInstructions && { actionPlanInstructions: SENSITIVE_STRING }),
|
|
@@ -563,6 +563,7 @@ export const se_ListControlsCommand = async (input, context) => {
|
|
|
563
563
|
[_cT]: [, __expectNonNull(input[_cT], `controlType`)],
|
|
564
564
|
[_nT]: [, input[_nT]],
|
|
565
565
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
566
|
+
[_cCI]: [, input[_cCI]],
|
|
566
567
|
});
|
|
567
568
|
let body;
|
|
568
569
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -2015,6 +2016,7 @@ const de_Control = (output, context) => {
|
|
|
2015
2016
|
lastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2016
2017
|
lastUpdatedBy: __expectString,
|
|
2017
2018
|
name: __expectString,
|
|
2019
|
+
state: __expectString,
|
|
2018
2020
|
tags: _json,
|
|
2019
2021
|
testingInformation: __expectString,
|
|
2020
2022
|
type: __expectString,
|
|
@@ -2284,6 +2286,7 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
2284
2286
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
2285
2287
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
2286
2288
|
const _aI = "assessmentId";
|
|
2289
|
+
const _cCI = "controlCatalogId";
|
|
2287
2290
|
const _cDI = "controlDomainId";
|
|
2288
2291
|
const _cI = "controlId";
|
|
2289
2292
|
const _cSI = "controlSetId";
|
|
@@ -216,6 +216,9 @@ declare const CreateAssessmentCommand_base: {
|
|
|
216
216
|
* the Service Quotas console. For a list of Audit Manager service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas and
|
|
217
217
|
* restrictions for Audit Manager</a>.</p>
|
|
218
218
|
*
|
|
219
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
220
|
+
* <p>The request was denied due to request throttling.</p>
|
|
221
|
+
*
|
|
219
222
|
* @throws {@link ValidationException} (client fault)
|
|
220
223
|
* <p> The request has invalid or missing parameters. </p>
|
|
221
224
|
*
|
|
@@ -72,7 +72,7 @@ declare const CreateAssessmentFrameworkCommand_base: {
|
|
|
72
72
|
* // { // Control
|
|
73
73
|
* // arn: "STRING_VALUE",
|
|
74
74
|
* // id: "STRING_VALUE",
|
|
75
|
-
* // type: "Standard" || "Custom",
|
|
75
|
+
* // type: "Standard" || "Custom" || "Core",
|
|
76
76
|
* // name: "STRING_VALUE",
|
|
77
77
|
* // description: "STRING_VALUE",
|
|
78
78
|
* // testingInformation: "STRING_VALUE",
|
|
@@ -85,7 +85,7 @@ declare const CreateAssessmentFrameworkCommand_base: {
|
|
|
85
85
|
* // sourceName: "STRING_VALUE",
|
|
86
86
|
* // sourceDescription: "STRING_VALUE",
|
|
87
87
|
* // sourceSetUpOption: "System_Controls_Mapping" || "Procedural_Controls_Mapping",
|
|
88
|
-
* // sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL",
|
|
88
|
+
* // sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL" || "Common_Control" || "Core_Control",
|
|
89
89
|
* // sourceKeyword: { // SourceKeyword
|
|
90
90
|
* // keywordInputType: "SELECT_FROM_LIST" || "UPLOAD_FILE" || "INPUT_TEXT",
|
|
91
91
|
* // keywordValue: "STRING_VALUE",
|
|
@@ -101,6 +101,7 @@ declare const CreateAssessmentFrameworkCommand_base: {
|
|
|
101
101
|
* // tags: { // TagMap
|
|
102
102
|
* // "<keys>": "STRING_VALUE",
|
|
103
103
|
* // },
|
|
104
|
+
* // state: "ACTIVE" || "END_OF_SUPPORT",
|
|
104
105
|
* // },
|
|
105
106
|
* // ],
|
|
106
107
|
* // },
|
|
@@ -45,7 +45,7 @@ declare const CreateControlCommand_base: {
|
|
|
45
45
|
* sourceName: "STRING_VALUE",
|
|
46
46
|
* sourceDescription: "STRING_VALUE",
|
|
47
47
|
* sourceSetUpOption: "System_Controls_Mapping" || "Procedural_Controls_Mapping",
|
|
48
|
-
* sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL",
|
|
48
|
+
* sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL" || "Common_Control" || "Core_Control",
|
|
49
49
|
* sourceKeyword: { // SourceKeyword
|
|
50
50
|
* keywordInputType: "SELECT_FROM_LIST" || "UPLOAD_FILE" || "INPUT_TEXT",
|
|
51
51
|
* keywordValue: "STRING_VALUE",
|
|
@@ -64,7 +64,7 @@ declare const CreateControlCommand_base: {
|
|
|
64
64
|
* // control: { // Control
|
|
65
65
|
* // arn: "STRING_VALUE",
|
|
66
66
|
* // id: "STRING_VALUE",
|
|
67
|
-
* // type: "Standard" || "Custom",
|
|
67
|
+
* // type: "Standard" || "Custom" || "Core",
|
|
68
68
|
* // name: "STRING_VALUE",
|
|
69
69
|
* // description: "STRING_VALUE",
|
|
70
70
|
* // testingInformation: "STRING_VALUE",
|
|
@@ -77,7 +77,7 @@ declare const CreateControlCommand_base: {
|
|
|
77
77
|
* // sourceName: "STRING_VALUE",
|
|
78
78
|
* // sourceDescription: "STRING_VALUE",
|
|
79
79
|
* // sourceSetUpOption: "System_Controls_Mapping" || "Procedural_Controls_Mapping",
|
|
80
|
-
* // sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL",
|
|
80
|
+
* // sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL" || "Common_Control" || "Core_Control",
|
|
81
81
|
* // sourceKeyword: { // SourceKeyword
|
|
82
82
|
* // keywordInputType: "SELECT_FROM_LIST" || "UPLOAD_FILE" || "INPUT_TEXT",
|
|
83
83
|
* // keywordValue: "STRING_VALUE",
|
|
@@ -93,6 +93,7 @@ declare const CreateControlCommand_base: {
|
|
|
93
93
|
* // tags: { // TagMap
|
|
94
94
|
* // "<keys>": "STRING_VALUE",
|
|
95
95
|
* // },
|
|
96
|
+
* // state: "ACTIVE" || "END_OF_SUPPORT",
|
|
96
97
|
* // },
|
|
97
98
|
* // };
|
|
98
99
|
*
|
|
@@ -57,7 +57,7 @@ declare const GetAssessmentFrameworkCommand_base: {
|
|
|
57
57
|
* // { // Control
|
|
58
58
|
* // arn: "STRING_VALUE",
|
|
59
59
|
* // id: "STRING_VALUE",
|
|
60
|
-
* // type: "Standard" || "Custom",
|
|
60
|
+
* // type: "Standard" || "Custom" || "Core",
|
|
61
61
|
* // name: "STRING_VALUE",
|
|
62
62
|
* // description: "STRING_VALUE",
|
|
63
63
|
* // testingInformation: "STRING_VALUE",
|
|
@@ -70,7 +70,7 @@ declare const GetAssessmentFrameworkCommand_base: {
|
|
|
70
70
|
* // sourceName: "STRING_VALUE",
|
|
71
71
|
* // sourceDescription: "STRING_VALUE",
|
|
72
72
|
* // sourceSetUpOption: "System_Controls_Mapping" || "Procedural_Controls_Mapping",
|
|
73
|
-
* // sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL",
|
|
73
|
+
* // sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL" || "Common_Control" || "Core_Control",
|
|
74
74
|
* // sourceKeyword: { // SourceKeyword
|
|
75
75
|
* // keywordInputType: "SELECT_FROM_LIST" || "UPLOAD_FILE" || "INPUT_TEXT",
|
|
76
76
|
* // keywordValue: "STRING_VALUE",
|
|
@@ -86,6 +86,7 @@ declare const GetAssessmentFrameworkCommand_base: {
|
|
|
86
86
|
* // tags: { // TagMap
|
|
87
87
|
* // "<keys>": "STRING_VALUE",
|
|
88
88
|
* // },
|
|
89
|
+
* // state: "ACTIVE" || "END_OF_SUPPORT",
|
|
89
90
|
* // },
|
|
90
91
|
* // ],
|
|
91
92
|
* // },
|
|
@@ -43,7 +43,7 @@ declare const GetControlCommand_base: {
|
|
|
43
43
|
* // control: { // Control
|
|
44
44
|
* // arn: "STRING_VALUE",
|
|
45
45
|
* // id: "STRING_VALUE",
|
|
46
|
-
* // type: "Standard" || "Custom",
|
|
46
|
+
* // type: "Standard" || "Custom" || "Core",
|
|
47
47
|
* // name: "STRING_VALUE",
|
|
48
48
|
* // description: "STRING_VALUE",
|
|
49
49
|
* // testingInformation: "STRING_VALUE",
|
|
@@ -56,7 +56,7 @@ declare const GetControlCommand_base: {
|
|
|
56
56
|
* // sourceName: "STRING_VALUE",
|
|
57
57
|
* // sourceDescription: "STRING_VALUE",
|
|
58
58
|
* // sourceSetUpOption: "System_Controls_Mapping" || "Procedural_Controls_Mapping",
|
|
59
|
-
* // sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL",
|
|
59
|
+
* // sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL" || "Common_Control" || "Core_Control",
|
|
60
60
|
* // sourceKeyword: { // SourceKeyword
|
|
61
61
|
* // keywordInputType: "SELECT_FROM_LIST" || "UPLOAD_FILE" || "INPUT_TEXT",
|
|
62
62
|
* // keywordValue: "STRING_VALUE",
|
|
@@ -72,6 +72,7 @@ declare const GetControlCommand_base: {
|
|
|
72
72
|
* // tags: { // TagMap
|
|
73
73
|
* // "<keys>": "STRING_VALUE",
|
|
74
74
|
* // },
|
|
75
|
+
* // state: "ACTIVE" || "END_OF_SUPPORT",
|
|
75
76
|
* // },
|
|
76
77
|
* // };
|
|
77
78
|
*
|
|
@@ -27,9 +27,18 @@ declare const GetServicesInScopeCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Gets a list of
|
|
31
|
-
*
|
|
32
|
-
*
|
|
30
|
+
* <p>Gets a list of the Amazon Web Services from which Audit Manager can collect
|
|
31
|
+
* evidence. </p>
|
|
32
|
+
* <p>Audit Manager defines which Amazon Web Services are in scope for an
|
|
33
|
+
* assessment. Audit Manager infers this scope by examining the assessment’s controls and
|
|
34
|
+
* their data sources, and then mapping this information to one or more of the corresponding
|
|
35
|
+
* Amazon Web Services that are in this list.</p>
|
|
36
|
+
* <note>
|
|
37
|
+
* <p>For information about why it's no longer possible to specify services in scope manually, see
|
|
38
|
+
* <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/evidence-collection-issues.html#unable-to-edit-services">I can't edit the services in scope for my assessment</a> in
|
|
39
|
+
* the <i>Troubleshooting</i> section of the Audit Manager user
|
|
40
|
+
* guide.</p>
|
|
41
|
+
* </note>
|
|
33
42
|
* @example
|
|
34
43
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
44
|
* ```javascript
|
|
@@ -28,6 +28,12 @@ declare const ListControlDomainInsightsByAssessmentCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Lists analytics data for control domains within a specified active assessment.</p>
|
|
31
|
+
* <p>Audit Manager supports the control domains that are provided by Amazon Web Services
|
|
32
|
+
* Control Catalog. For information about how to find a list of available control domains, see
|
|
33
|
+
* <a href="https://docs.aws.amazon.com/controlcatalog/latest/APIReference/API_ListDomains.html">
|
|
34
|
+
* <code>ListDomains</code>
|
|
35
|
+
* </a> in the Amazon Web Services Control
|
|
36
|
+
* Catalog API Reference.</p>
|
|
31
37
|
* <note>
|
|
32
38
|
* <p>A control domain is listed only if at least one of the controls within that domain
|
|
33
39
|
* collected evidence on the <code>lastUpdated</code> date of
|
|
@@ -29,6 +29,12 @@ declare const ListControlDomainInsightsCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Lists the latest analytics data for control domains across all of your active
|
|
31
31
|
* assessments. </p>
|
|
32
|
+
* <p>Audit Manager supports the control domains that are provided by Amazon Web Services
|
|
33
|
+
* Control Catalog. For information about how to find a list of available control domains, see
|
|
34
|
+
* <a href="https://docs.aws.amazon.com/controlcatalog/latest/APIReference/API_ListDomains.html">
|
|
35
|
+
* <code>ListDomains</code>
|
|
36
|
+
* </a> in the Amazon Web Services Control
|
|
37
|
+
* Catalog API Reference.</p>
|
|
32
38
|
* <note>
|
|
33
39
|
* <p>A control domain is listed only if at least one of the controls within that domain
|
|
34
40
|
* collected evidence on the <code>lastUpdated</code> date of
|
|
@@ -35,9 +35,10 @@ declare const ListControlsCommand_base: {
|
|
|
35
35
|
* // const { AuditManagerClient, ListControlsCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
36
36
|
* const client = new AuditManagerClient(config);
|
|
37
37
|
* const input = { // ListControlsRequest
|
|
38
|
-
* controlType: "Standard" || "Custom", // required
|
|
38
|
+
* controlType: "Standard" || "Custom" || "Core", // required
|
|
39
39
|
* nextToken: "STRING_VALUE",
|
|
40
40
|
* maxResults: Number("int"),
|
|
41
|
+
* controlCatalogId: "STRING_VALUE",
|
|
41
42
|
* };
|
|
42
43
|
* const command = new ListControlsCommand(input);
|
|
43
44
|
* const response = await client.send(command);
|
|
@@ -27,8 +27,8 @@ declare const ListKeywordsForDataSourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
*
|
|
30
|
+
* <p>Returns a list of keywords that are pre-mapped to the specified control data
|
|
31
|
+
* source.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -207,6 +207,9 @@ declare const UpdateAssessmentCommand_base: {
|
|
|
207
207
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
208
208
|
* <p> The resource that's specified in the request can't be found. </p>
|
|
209
209
|
*
|
|
210
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
211
|
+
* <p>The request was denied due to request throttling.</p>
|
|
212
|
+
*
|
|
210
213
|
* @throws {@link ValidationException} (client fault)
|
|
211
214
|
* <p> The request has invalid or missing parameters. </p>
|
|
212
215
|
*
|
|
@@ -71,7 +71,7 @@ declare const UpdateAssessmentFrameworkCommand_base: {
|
|
|
71
71
|
* // { // Control
|
|
72
72
|
* // arn: "STRING_VALUE",
|
|
73
73
|
* // id: "STRING_VALUE",
|
|
74
|
-
* // type: "Standard" || "Custom",
|
|
74
|
+
* // type: "Standard" || "Custom" || "Core",
|
|
75
75
|
* // name: "STRING_VALUE",
|
|
76
76
|
* // description: "STRING_VALUE",
|
|
77
77
|
* // testingInformation: "STRING_VALUE",
|
|
@@ -84,7 +84,7 @@ declare const UpdateAssessmentFrameworkCommand_base: {
|
|
|
84
84
|
* // sourceName: "STRING_VALUE",
|
|
85
85
|
* // sourceDescription: "STRING_VALUE",
|
|
86
86
|
* // sourceSetUpOption: "System_Controls_Mapping" || "Procedural_Controls_Mapping",
|
|
87
|
-
* // sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL",
|
|
87
|
+
* // sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL" || "Common_Control" || "Core_Control",
|
|
88
88
|
* // sourceKeyword: { // SourceKeyword
|
|
89
89
|
* // keywordInputType: "SELECT_FROM_LIST" || "UPLOAD_FILE" || "INPUT_TEXT",
|
|
90
90
|
* // keywordValue: "STRING_VALUE",
|
|
@@ -100,6 +100,7 @@ declare const UpdateAssessmentFrameworkCommand_base: {
|
|
|
100
100
|
* // tags: { // TagMap
|
|
101
101
|
* // "<keys>": "STRING_VALUE",
|
|
102
102
|
* // },
|
|
103
|
+
* // state: "ACTIVE" || "END_OF_SUPPORT",
|
|
103
104
|
* // },
|
|
104
105
|
* // ],
|
|
105
106
|
* // },
|
|
@@ -47,7 +47,7 @@ declare const UpdateControlCommand_base: {
|
|
|
47
47
|
* sourceName: "STRING_VALUE",
|
|
48
48
|
* sourceDescription: "STRING_VALUE",
|
|
49
49
|
* sourceSetUpOption: "System_Controls_Mapping" || "Procedural_Controls_Mapping",
|
|
50
|
-
* sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL",
|
|
50
|
+
* sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL" || "Common_Control" || "Core_Control",
|
|
51
51
|
* sourceKeyword: { // SourceKeyword
|
|
52
52
|
* keywordInputType: "SELECT_FROM_LIST" || "UPLOAD_FILE" || "INPUT_TEXT",
|
|
53
53
|
* keywordValue: "STRING_VALUE",
|
|
@@ -63,7 +63,7 @@ declare const UpdateControlCommand_base: {
|
|
|
63
63
|
* // control: { // Control
|
|
64
64
|
* // arn: "STRING_VALUE",
|
|
65
65
|
* // id: "STRING_VALUE",
|
|
66
|
-
* // type: "Standard" || "Custom",
|
|
66
|
+
* // type: "Standard" || "Custom" || "Core",
|
|
67
67
|
* // name: "STRING_VALUE",
|
|
68
68
|
* // description: "STRING_VALUE",
|
|
69
69
|
* // testingInformation: "STRING_VALUE",
|
|
@@ -76,7 +76,7 @@ declare const UpdateControlCommand_base: {
|
|
|
76
76
|
* // sourceName: "STRING_VALUE",
|
|
77
77
|
* // sourceDescription: "STRING_VALUE",
|
|
78
78
|
* // sourceSetUpOption: "System_Controls_Mapping" || "Procedural_Controls_Mapping",
|
|
79
|
-
* // sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL",
|
|
79
|
+
* // sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL" || "Common_Control" || "Core_Control",
|
|
80
80
|
* // sourceKeyword: { // SourceKeyword
|
|
81
81
|
* // keywordInputType: "SELECT_FROM_LIST" || "UPLOAD_FILE" || "INPUT_TEXT",
|
|
82
82
|
* // keywordValue: "STRING_VALUE",
|
|
@@ -92,6 +92,7 @@ declare const UpdateControlCommand_base: {
|
|
|
92
92
|
* // tags: { // TagMap
|
|
93
93
|
* // "<keys>": "STRING_VALUE",
|
|
94
94
|
* // },
|
|
95
|
+
* // state: "ACTIVE" || "END_OF_SUPPORT",
|
|
95
96
|
* // },
|
|
96
97
|
* // };
|
|
97
98
|
*
|
|
@@ -456,8 +456,18 @@ export interface AWSService {
|
|
|
456
456
|
serviceName?: string;
|
|
457
457
|
}
|
|
458
458
|
/**
|
|
459
|
-
* <p> The wrapper that contains the Amazon Web Services accounts
|
|
459
|
+
* <p> The wrapper that contains the Amazon Web Services accounts that are in
|
|
460
460
|
* scope for the assessment. </p>
|
|
461
|
+
* <note>
|
|
462
|
+
* <p>You no longer need to specify which Amazon Web Services are in scope when you
|
|
463
|
+
* create or update an assessment. Audit Manager infers the services in scope by
|
|
464
|
+
* examining your assessment controls and their data sources, and then mapping this
|
|
465
|
+
* information to the relevant Amazon Web Services. </p>
|
|
466
|
+
* <p>If an underlying data source changes for your assessment, we automatically update the
|
|
467
|
+
* services scope as needed to reflect the correct Amazon Web Services. This
|
|
468
|
+
* ensures that your assessment collects accurate and comprehensive evidence about all of
|
|
469
|
+
* the relevant services in your AWS environment.</p>
|
|
470
|
+
* </note>
|
|
461
471
|
* @public
|
|
462
472
|
*/
|
|
463
473
|
export interface Scope {
|
|
@@ -468,8 +478,15 @@ export interface Scope {
|
|
|
468
478
|
*/
|
|
469
479
|
awsAccounts?: AWSAccount[];
|
|
470
480
|
/**
|
|
481
|
+
* @deprecated
|
|
482
|
+
*
|
|
471
483
|
* <p> The Amazon Web Services services that are included in the scope of the assessment.
|
|
472
484
|
* </p>
|
|
485
|
+
* <important>
|
|
486
|
+
* <p>This API parameter is no longer supported. If you use this parameter to specify one
|
|
487
|
+
* or more Amazon Web Services, Audit Manager ignores this input. Instead, the
|
|
488
|
+
* value for <code>awsServices</code> will show as empty.</p>
|
|
489
|
+
* </important>
|
|
473
490
|
* @public
|
|
474
491
|
*/
|
|
475
492
|
awsServices?: AWSService[];
|
|
@@ -1479,8 +1496,18 @@ export interface CreateAssessmentRequest {
|
|
|
1479
1496
|
*/
|
|
1480
1497
|
assessmentReportsDestination: AssessmentReportsDestination | undefined;
|
|
1481
1498
|
/**
|
|
1482
|
-
* <p> The wrapper that contains the Amazon Web Services accounts
|
|
1499
|
+
* <p> The wrapper that contains the Amazon Web Services accounts that are in
|
|
1483
1500
|
* scope for the assessment. </p>
|
|
1501
|
+
* <note>
|
|
1502
|
+
* <p>You no longer need to specify which Amazon Web Services are in scope when you
|
|
1503
|
+
* create or update an assessment. Audit Manager infers the services in scope by
|
|
1504
|
+
* examining your assessment controls and their data sources, and then mapping this
|
|
1505
|
+
* information to the relevant Amazon Web Services. </p>
|
|
1506
|
+
* <p>If an underlying data source changes for your assessment, we automatically update the
|
|
1507
|
+
* services scope as needed to reflect the correct Amazon Web Services. This
|
|
1508
|
+
* ensures that your assessment collects accurate and comprehensive evidence about all of
|
|
1509
|
+
* the relevant services in your AWS environment.</p>
|
|
1510
|
+
* </note>
|
|
1484
1511
|
* @public
|
|
1485
1512
|
*/
|
|
1486
1513
|
scope: Scope | undefined;
|
|
@@ -1813,6 +1840,8 @@ export declare const SourceType: {
|
|
|
1813
1840
|
readonly AWS_CLOUDTRAIL: "AWS_Cloudtrail";
|
|
1814
1841
|
readonly AWS_CONFIG: "AWS_Config";
|
|
1815
1842
|
readonly AWS_SECURITY_HUB: "AWS_Security_Hub";
|
|
1843
|
+
readonly COMMON_CONTROL: "Common_Control";
|
|
1844
|
+
readonly CORE_CONTROL: "Core_Control";
|
|
1816
1845
|
readonly MANUAL: "MANUAL";
|
|
1817
1846
|
};
|
|
1818
1847
|
/**
|
|
@@ -1841,13 +1870,27 @@ export interface ControlMappingSource {
|
|
|
1841
1870
|
*/
|
|
1842
1871
|
sourceDescription?: string;
|
|
1843
1872
|
/**
|
|
1844
|
-
* <p>
|
|
1845
|
-
* is automated or manual.
|
|
1873
|
+
* <p>The setup option for the data source. This option reflects if the evidence collection
|
|
1874
|
+
* method is automated or manual. If you don’t provide a value for
|
|
1875
|
+
* <code>sourceSetUpOption</code>, Audit Manager automatically infers and populates
|
|
1876
|
+
* the correct value based on the <code>sourceType</code> that you specify.</p>
|
|
1846
1877
|
* @public
|
|
1847
1878
|
*/
|
|
1848
1879
|
sourceSetUpOption?: SourceSetUpOption;
|
|
1849
1880
|
/**
|
|
1850
|
-
* <p> Specifies
|
|
1881
|
+
* <p> Specifies which type of data source is used to collect evidence. </p>
|
|
1882
|
+
* <ul>
|
|
1883
|
+
* <li>
|
|
1884
|
+
* <p>The source can be an individual data source type, such as
|
|
1885
|
+
* <code>AWS_Cloudtrail</code>, <code>AWS_Config</code>,
|
|
1886
|
+
* <code>AWS_Security_Hub</code>, <code>AWS_API_Call</code>, or <code>MANUAL</code>.
|
|
1887
|
+
* </p>
|
|
1888
|
+
* </li>
|
|
1889
|
+
* <li>
|
|
1890
|
+
* <p>The source can also be a managed grouping of data sources, such as a
|
|
1891
|
+
* <code>Core_Control</code> or a <code>Common_Control</code>.</p>
|
|
1892
|
+
* </li>
|
|
1893
|
+
* </ul>
|
|
1851
1894
|
* @public
|
|
1852
1895
|
*/
|
|
1853
1896
|
sourceType?: SourceType;
|
|
@@ -1897,11 +1940,24 @@ export interface ControlMappingSource {
|
|
|
1897
1940
|
*/
|
|
1898
1941
|
troubleshootingText?: string;
|
|
1899
1942
|
}
|
|
1943
|
+
/**
|
|
1944
|
+
* @public
|
|
1945
|
+
* @enum
|
|
1946
|
+
*/
|
|
1947
|
+
export declare const ControlState: {
|
|
1948
|
+
readonly ACTIVE: "ACTIVE";
|
|
1949
|
+
readonly END_OF_SUPPORT: "END_OF_SUPPORT";
|
|
1950
|
+
};
|
|
1951
|
+
/**
|
|
1952
|
+
* @public
|
|
1953
|
+
*/
|
|
1954
|
+
export type ControlState = (typeof ControlState)[keyof typeof ControlState];
|
|
1900
1955
|
/**
|
|
1901
1956
|
* @public
|
|
1902
1957
|
* @enum
|
|
1903
1958
|
*/
|
|
1904
1959
|
export declare const ControlType: {
|
|
1960
|
+
readonly CORE: "Core";
|
|
1905
1961
|
readonly CUSTOM: "Custom";
|
|
1906
1962
|
readonly STANDARD: "Standard";
|
|
1907
1963
|
};
|
|
@@ -1991,6 +2047,14 @@ export interface Control {
|
|
|
1991
2047
|
* @public
|
|
1992
2048
|
*/
|
|
1993
2049
|
tags?: Record<string, string>;
|
|
2050
|
+
/**
|
|
2051
|
+
* <p>The state of the control. The <code>END_OF_SUPPORT</code> state is applicable to
|
|
2052
|
+
* standard controls only. This state indicates that the standard control can still be used to
|
|
2053
|
+
* collect evidence, but Audit Manager is no longer updating or maintaining that
|
|
2054
|
+
* control.</p>
|
|
2055
|
+
* @public
|
|
2056
|
+
*/
|
|
2057
|
+
state?: ControlState;
|
|
1994
2058
|
}
|
|
1995
2059
|
/**
|
|
1996
2060
|
* <p> A set of controls in Audit Manager. </p>
|
|
@@ -2148,7 +2212,7 @@ export interface CreateAssessmentReportResponse {
|
|
|
2148
2212
|
assessmentReport?: AssessmentReport;
|
|
2149
2213
|
}
|
|
2150
2214
|
/**
|
|
2151
|
-
* <p>
|
|
2215
|
+
* <p>The mapping attributes that determine the evidence source for a given control, along
|
|
2152
2216
|
* with related parameters and metadata. This doesn't contain <code>mappingID</code>. </p>
|
|
2153
2217
|
* @public
|
|
2154
2218
|
*/
|
|
@@ -2165,13 +2229,27 @@ export interface CreateControlMappingSource {
|
|
|
2165
2229
|
*/
|
|
2166
2230
|
sourceDescription?: string;
|
|
2167
2231
|
/**
|
|
2168
|
-
* <p>
|
|
2169
|
-
* automated or manual.
|
|
2232
|
+
* <p>The setup option for the data source. This option reflects if the evidence collection
|
|
2233
|
+
* method is automated or manual. If you don’t provide a value for
|
|
2234
|
+
* <code>sourceSetUpOption</code>, Audit Manager automatically infers and populates
|
|
2235
|
+
* the correct value based on the <code>sourceType</code> that you specify.</p>
|
|
2170
2236
|
* @public
|
|
2171
2237
|
*/
|
|
2172
2238
|
sourceSetUpOption?: SourceSetUpOption;
|
|
2173
2239
|
/**
|
|
2174
|
-
* <p> Specifies
|
|
2240
|
+
* <p> Specifies which type of data source is used to collect evidence. </p>
|
|
2241
|
+
* <ul>
|
|
2242
|
+
* <li>
|
|
2243
|
+
* <p>The source can be an individual data source type, such as
|
|
2244
|
+
* <code>AWS_Cloudtrail</code>, <code>AWS_Config</code>,
|
|
2245
|
+
* <code>AWS_Security_Hub</code>, <code>AWS_API_Call</code>, or <code>MANUAL</code>.
|
|
2246
|
+
* </p>
|
|
2247
|
+
* </li>
|
|
2248
|
+
* <li>
|
|
2249
|
+
* <p>The source can also be a managed grouping of data sources, such as a
|
|
2250
|
+
* <code>Core_Control</code> or a <code>Common_Control</code>.</p>
|
|
2251
|
+
* </li>
|
|
2252
|
+
* </ul>
|
|
2175
2253
|
* @public
|
|
2176
2254
|
*/
|
|
2177
2255
|
sourceType?: SourceType;
|
|
@@ -3607,6 +3685,12 @@ export interface GetSettingsResponse {
|
|
|
3607
3685
|
export interface ListAssessmentControlInsightsByControlDomainRequest {
|
|
3608
3686
|
/**
|
|
3609
3687
|
* <p>The unique identifier for the control domain. </p>
|
|
3688
|
+
* <p>Audit Manager supports the control domains that are provided by Amazon Web Services
|
|
3689
|
+
* Control Catalog. For information about how to find a list of available control domains, see
|
|
3690
|
+
* <a href="https://docs.aws.amazon.com/controlcatalog/latest/APIReference/API_ListDomains.html">
|
|
3691
|
+
* <code>ListDomains</code>
|
|
3692
|
+
* </a> in the Amazon Web Services Control
|
|
3693
|
+
* Catalog API Reference.</p>
|
|
3610
3694
|
* @public
|
|
3611
3695
|
*/
|
|
3612
3696
|
controlDomainId: string | undefined;
|
|
@@ -3879,7 +3963,12 @@ export interface ControlDomainInsights {
|
|
|
3879
3963
|
*/
|
|
3880
3964
|
name?: string;
|
|
3881
3965
|
/**
|
|
3882
|
-
* <p>The unique identifier for the control domain.
|
|
3966
|
+
* <p>The unique identifier for the control domain. Audit Manager supports the control
|
|
3967
|
+
* domains that are provided by Amazon Web Services Control Catalog. For information about how
|
|
3968
|
+
* to find a list of available control domains, see <a href="https://docs.aws.amazon.com/controlcatalog/latest/APIReference/API_ListDomains.html">
|
|
3969
|
+
* <code>ListDomains</code>
|
|
3970
|
+
* </a> in the Amazon Web Services Control Catalog API
|
|
3971
|
+
* Reference.</p>
|
|
3883
3972
|
* @public
|
|
3884
3973
|
*/
|
|
3885
3974
|
id?: string;
|
|
@@ -3964,6 +4053,12 @@ export interface ListControlDomainInsightsByAssessmentResponse {
|
|
|
3964
4053
|
export interface ListControlInsightsByControlDomainRequest {
|
|
3965
4054
|
/**
|
|
3966
4055
|
* <p>The unique identifier for the control domain. </p>
|
|
4056
|
+
* <p>Audit Manager supports the control domains that are provided by Amazon Web Services
|
|
4057
|
+
* Control Catalog. For information about how to find a list of available control domains, see
|
|
4058
|
+
* <a href="https://docs.aws.amazon.com/controlcatalog/latest/APIReference/API_ListDomains.html">
|
|
4059
|
+
* <code>ListDomains</code>
|
|
4060
|
+
* </a> in the Amazon Web Services Control
|
|
4061
|
+
* Catalog API Reference.</p>
|
|
3967
4062
|
* @public
|
|
3968
4063
|
*/
|
|
3969
4064
|
controlDomainId: string | undefined;
|
|
@@ -4029,20 +4124,44 @@ export interface ListControlInsightsByControlDomainResponse {
|
|
|
4029
4124
|
*/
|
|
4030
4125
|
export interface ListControlsRequest {
|
|
4031
4126
|
/**
|
|
4032
|
-
* <p>
|
|
4127
|
+
* <p>A filter that narrows the list of controls to a specific type. </p>
|
|
4033
4128
|
* @public
|
|
4034
4129
|
*/
|
|
4035
4130
|
controlType: ControlType | undefined;
|
|
4036
4131
|
/**
|
|
4037
|
-
* <p>
|
|
4132
|
+
* <p>The pagination token that's used to fetch the next set of results. </p>
|
|
4038
4133
|
* @public
|
|
4039
4134
|
*/
|
|
4040
4135
|
nextToken?: string;
|
|
4041
4136
|
/**
|
|
4042
|
-
* <p>
|
|
4137
|
+
* <p>The maximum number of results on a page or for an API request call. </p>
|
|
4043
4138
|
* @public
|
|
4044
4139
|
*/
|
|
4045
4140
|
maxResults?: number;
|
|
4141
|
+
/**
|
|
4142
|
+
* <p>A filter that narrows the list of controls to a specific resource from the Amazon Web Services
|
|
4143
|
+
* Control Catalog. </p>
|
|
4144
|
+
* <p>To use this parameter, specify the ARN of the Control Catalog resource. You can specify either
|
|
4145
|
+
* a control domain, a control objective, or a common control. For information about how to find the ARNs
|
|
4146
|
+
* for these resources, see <a href="https://docs.aws.amazon.com/controlcatalog/latest/APIReference/API_ListDomains.html">
|
|
4147
|
+
* <code>ListDomains</code>
|
|
4148
|
+
* </a>, <a href="https://docs.aws.amazon.com/controlcatalog/latest/APIReference/API_ListObjectives.html">
|
|
4149
|
+
* <code>ListObjectives</code>
|
|
4150
|
+
* </a>, and <a href="https://docs.aws.amazon.com/controlcatalog/latest/APIReference/API_ListCommonControls.html">
|
|
4151
|
+
* <code>ListCommonControls</code>
|
|
4152
|
+
* </a>.</p>
|
|
4153
|
+
* <note>
|
|
4154
|
+
* <p>You can only filter by one Control Catalog resource at a time.
|
|
4155
|
+
* Specifying multiple resource ARNs isn’t currently supported. If you want to filter by more
|
|
4156
|
+
* than one ARN, we recommend that you run the <code>ListControls</code> operation separately
|
|
4157
|
+
* for each ARN. </p>
|
|
4158
|
+
* </note>
|
|
4159
|
+
* <p>Alternatively, specify <code>UNCATEGORIZED</code> to list controls that aren't
|
|
4160
|
+
* mapped to a Control Catalog resource. For example, this operation might return a list of
|
|
4161
|
+
* custom controls that don't belong to any control domain or control objective.</p>
|
|
4162
|
+
* @public
|
|
4163
|
+
*/
|
|
4164
|
+
controlCatalogId?: string;
|
|
4046
4165
|
}
|
|
4047
4166
|
/**
|
|
4048
4167
|
* <p> The metadata that's associated with the standard control or custom control. </p>
|
|
@@ -4092,20 +4211,35 @@ export interface ListControlsResponse {
|
|
|
4092
4211
|
*/
|
|
4093
4212
|
controlMetadataList?: ControlMetadata[];
|
|
4094
4213
|
/**
|
|
4095
|
-
* <p>
|
|
4214
|
+
* <p>The pagination token that's used to fetch the next set of results. </p>
|
|
4096
4215
|
* @public
|
|
4097
4216
|
*/
|
|
4098
4217
|
nextToken?: string;
|
|
4099
4218
|
}
|
|
4219
|
+
/**
|
|
4220
|
+
* @public
|
|
4221
|
+
* @enum
|
|
4222
|
+
*/
|
|
4223
|
+
export declare const DataSourceType: {
|
|
4224
|
+
readonly AWS_API_CALL: "AWS_API_Call";
|
|
4225
|
+
readonly AWS_CLOUDTRAIL: "AWS_Cloudtrail";
|
|
4226
|
+
readonly AWS_CONFIG: "AWS_Config";
|
|
4227
|
+
readonly AWS_SECURITY_HUB: "AWS_Security_Hub";
|
|
4228
|
+
readonly MANUAL: "MANUAL";
|
|
4229
|
+
};
|
|
4230
|
+
/**
|
|
4231
|
+
* @public
|
|
4232
|
+
*/
|
|
4233
|
+
export type DataSourceType = (typeof DataSourceType)[keyof typeof DataSourceType];
|
|
4100
4234
|
/**
|
|
4101
4235
|
* @public
|
|
4102
4236
|
*/
|
|
4103
4237
|
export interface ListKeywordsForDataSourceRequest {
|
|
4104
4238
|
/**
|
|
4105
|
-
* <p>
|
|
4239
|
+
* <p>The control mapping data source that the keywords apply to. </p>
|
|
4106
4240
|
* @public
|
|
4107
4241
|
*/
|
|
4108
|
-
source:
|
|
4242
|
+
source: DataSourceType | undefined;
|
|
4109
4243
|
/**
|
|
4110
4244
|
* <p> The pagination token that's used to fetch the next set of results. </p>
|
|
4111
4245
|
* @public
|
|
@@ -4122,7 +4256,7 @@ export interface ListKeywordsForDataSourceRequest {
|
|
|
4122
4256
|
*/
|
|
4123
4257
|
export interface ListKeywordsForDataSourceResponse {
|
|
4124
4258
|
/**
|
|
4125
|
-
* <p>
|
|
4259
|
+
* <p>The list of keywords for the control mapping source.</p>
|
|
4126
4260
|
* @public
|
|
4127
4261
|
*/
|
|
4128
4262
|
keywords?: string[];
|
|
@@ -448,6 +448,8 @@ export declare const SourceType: {
|
|
|
448
448
|
readonly AWS_CLOUDTRAIL: "AWS_Cloudtrail";
|
|
449
449
|
readonly AWS_CONFIG: "AWS_Config";
|
|
450
450
|
readonly AWS_SECURITY_HUB: "AWS_Security_Hub";
|
|
451
|
+
readonly COMMON_CONTROL: "Common_Control";
|
|
452
|
+
readonly CORE_CONTROL: "Core_Control";
|
|
451
453
|
readonly MANUAL: "MANUAL";
|
|
452
454
|
};
|
|
453
455
|
export type SourceType = (typeof SourceType)[keyof typeof SourceType];
|
|
@@ -461,7 +463,13 @@ export interface ControlMappingSource {
|
|
|
461
463
|
sourceFrequency?: SourceFrequency;
|
|
462
464
|
troubleshootingText?: string;
|
|
463
465
|
}
|
|
466
|
+
export declare const ControlState: {
|
|
467
|
+
readonly ACTIVE: "ACTIVE";
|
|
468
|
+
readonly END_OF_SUPPORT: "END_OF_SUPPORT";
|
|
469
|
+
};
|
|
470
|
+
export type ControlState = (typeof ControlState)[keyof typeof ControlState];
|
|
464
471
|
export declare const ControlType: {
|
|
472
|
+
readonly CORE: "Core";
|
|
465
473
|
readonly CUSTOM: "Custom";
|
|
466
474
|
readonly STANDARD: "Standard";
|
|
467
475
|
};
|
|
@@ -482,6 +490,7 @@ export interface Control {
|
|
|
482
490
|
createdBy?: string;
|
|
483
491
|
lastUpdatedBy?: string;
|
|
484
492
|
tags?: Record<string, string>;
|
|
493
|
+
state?: ControlState;
|
|
485
494
|
}
|
|
486
495
|
export interface ControlSet {
|
|
487
496
|
id?: string;
|
|
@@ -943,6 +952,7 @@ export interface ListControlsRequest {
|
|
|
943
952
|
controlType: ControlType | undefined;
|
|
944
953
|
nextToken?: string;
|
|
945
954
|
maxResults?: number;
|
|
955
|
+
controlCatalogId?: string;
|
|
946
956
|
}
|
|
947
957
|
export interface ControlMetadata {
|
|
948
958
|
arn?: string;
|
|
@@ -956,8 +966,17 @@ export interface ListControlsResponse {
|
|
|
956
966
|
controlMetadataList?: ControlMetadata[];
|
|
957
967
|
nextToken?: string;
|
|
958
968
|
}
|
|
969
|
+
export declare const DataSourceType: {
|
|
970
|
+
readonly AWS_API_CALL: "AWS_API_Call";
|
|
971
|
+
readonly AWS_CLOUDTRAIL: "AWS_Cloudtrail";
|
|
972
|
+
readonly AWS_CONFIG: "AWS_Config";
|
|
973
|
+
readonly AWS_SECURITY_HUB: "AWS_Security_Hub";
|
|
974
|
+
readonly MANUAL: "MANUAL";
|
|
975
|
+
};
|
|
976
|
+
export type DataSourceType =
|
|
977
|
+
(typeof DataSourceType)[keyof typeof DataSourceType];
|
|
959
978
|
export interface ListKeywordsForDataSourceRequest {
|
|
960
|
-
source:
|
|
979
|
+
source: DataSourceType | undefined;
|
|
961
980
|
nextToken?: string;
|
|
962
981
|
maxResults?: number;
|
|
963
982
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-auditmanager",
|
|
3
3
|
"description": "AWS SDK for JavaScript Auditmanager Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.596.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-auditmanager",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.596.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.596.0",
|
|
25
25
|
"@aws-sdk/core": "3.592.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.596.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.577.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.577.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.577.0",
|