Skip to content

Commit 2c78764

Browse files
author
awstools
committed
feat(client-auditmanager): This release introduces 2 Audit Manager features: CSV exports and new manual evidence options. You can now export your evidence finder results in CSV format. In addition, you can now add manual evidence to a control by entering free-form text or uploading a file from your browser.
1 parent 3d11530 commit 2c78764

30 files changed

+903
-180
lines changed

clients/client-auditmanager/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,14 @@ GetEvidenceByEvidenceFolder
453453

454454
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-auditmanager/classes/getevidencebyevidencefoldercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-auditmanager/interfaces/getevidencebyevidencefoldercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-auditmanager/interfaces/getevidencebyevidencefoldercommandoutput.html)
455455

456+
</details>
457+
<details>
458+
<summary>
459+
GetEvidenceFileUploadUrl
460+
</summary>
461+
462+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-auditmanager/classes/getevidencefileuploadurlcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-auditmanager/interfaces/getevidencefileuploadurlcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-auditmanager/interfaces/getevidencefileuploadurlcommandoutput.html)
463+
456464
</details>
457465
<details>
458466
<summary>

clients/client-auditmanager/src/AuditManager.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,11 @@ import {
130130
GetEvidenceByEvidenceFolderCommandOutput,
131131
} from "./commands/GetEvidenceByEvidenceFolderCommand";
132132
import { GetEvidenceCommand, GetEvidenceCommandInput, GetEvidenceCommandOutput } from "./commands/GetEvidenceCommand";
133+
import {
134+
GetEvidenceFileUploadUrlCommand,
135+
GetEvidenceFileUploadUrlCommandInput,
136+
GetEvidenceFileUploadUrlCommandOutput,
137+
} from "./commands/GetEvidenceFileUploadUrlCommand";
133138
import {
134139
GetEvidenceFolderCommand,
135140
GetEvidenceFolderCommandInput,
@@ -317,6 +322,7 @@ const commands = {
317322
GetDelegationsCommand,
318323
GetEvidenceCommand,
319324
GetEvidenceByEvidenceFolderCommand,
325+
GetEvidenceFileUploadUrlCommand,
320326
GetEvidenceFolderCommand,
321327
GetEvidenceFoldersByAssessmentCommand,
322328
GetEvidenceFoldersByAssessmentControlCommand,
@@ -774,6 +780,23 @@ export interface AuditManager {
774780
cb: (err: any, data?: GetEvidenceByEvidenceFolderCommandOutput) => void
775781
): void;
776782

783+
/**
784+
* @see {@link GetEvidenceFileUploadUrlCommand}
785+
*/
786+
getEvidenceFileUploadUrl(
787+
args: GetEvidenceFileUploadUrlCommandInput,
788+
options?: __HttpHandlerOptions
789+
): Promise<GetEvidenceFileUploadUrlCommandOutput>;
790+
getEvidenceFileUploadUrl(
791+
args: GetEvidenceFileUploadUrlCommandInput,
792+
cb: (err: any, data?: GetEvidenceFileUploadUrlCommandOutput) => void
793+
): void;
794+
getEvidenceFileUploadUrl(
795+
args: GetEvidenceFileUploadUrlCommandInput,
796+
options: __HttpHandlerOptions,
797+
cb: (err: any, data?: GetEvidenceFileUploadUrlCommandOutput) => void
798+
): void;
799+
777800
/**
778801
* @see {@link GetEvidenceFolderCommand}
779802
*/

clients/client-auditmanager/src/AuditManagerClient.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ import {
126126
GetEvidenceByEvidenceFolderCommandOutput,
127127
} from "./commands/GetEvidenceByEvidenceFolderCommand";
128128
import { GetEvidenceCommandInput, GetEvidenceCommandOutput } from "./commands/GetEvidenceCommand";
129+
import {
130+
GetEvidenceFileUploadUrlCommandInput,
131+
GetEvidenceFileUploadUrlCommandOutput,
132+
} from "./commands/GetEvidenceFileUploadUrlCommand";
129133
import { GetEvidenceFolderCommandInput, GetEvidenceFolderCommandOutput } from "./commands/GetEvidenceFolderCommand";
130134
import {
131135
GetEvidenceFoldersByAssessmentCommandInput,
@@ -264,6 +268,7 @@ export type ServiceInputTypes =
264268
| GetDelegationsCommandInput
265269
| GetEvidenceByEvidenceFolderCommandInput
266270
| GetEvidenceCommandInput
271+
| GetEvidenceFileUploadUrlCommandInput
267272
| GetEvidenceFolderCommandInput
268273
| GetEvidenceFoldersByAssessmentCommandInput
269274
| GetEvidenceFoldersByAssessmentControlCommandInput
@@ -330,6 +335,7 @@ export type ServiceOutputTypes =
330335
| GetDelegationsCommandOutput
331336
| GetEvidenceByEvidenceFolderCommandOutput
332337
| GetEvidenceCommandOutput
338+
| GetEvidenceFileUploadUrlCommandOutput
333339
| GetEvidenceFolderCommandOutput
334340
| GetEvidenceFoldersByAssessmentCommandOutput
335341
| GetEvidenceFoldersByAssessmentControlCommandOutput

clients/client-auditmanager/src/commands/BatchImportEvidenceToAssessmentControlCommand.ts

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,20 @@ export interface BatchImportEvidenceToAssessmentControlCommandOutput
4545

4646
/**
4747
* @public
48-
* <p>Uploads one or more pieces of evidence to a control in an Audit Manager assessment.
49-
* You can upload manual evidence from any Amazon Simple Storage Service (Amazon S3) bucket by
50-
* specifying the S3 URI of the evidence. </p>
51-
* <p>You must upload manual evidence to your S3 bucket before you can upload it to your
52-
* assessment. For instructions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html">CreateBucket</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html">PutObject</a> in
53-
* the <i>Amazon Simple Storage Service API Reference.</i>
54-
* </p>
48+
* <p>Adds one or more pieces of evidence to a control in an Audit Manager assessment. </p>
49+
* <p>You can import manual evidence from any S3 bucket by specifying the S3 URI of the
50+
* object. You can also upload a file from your browser, or enter plain text in response to a
51+
* risk assessment question. </p>
5552
* <p>The following restrictions apply to this action:</p>
5653
* <ul>
5754
* <li>
55+
* <p>
56+
* <code>manualEvidence</code> can be only one of the following:
57+
* <code>evidenceFileName</code>, <code>s3ResourcePath</code>, or
58+
* <code>textResponse</code>
59+
* </p>
60+
* </li>
61+
* <li>
5862
* <p>Maximum size of an individual evidence file: 100 MB</p>
5963
* </li>
6064
* <li>
@@ -80,6 +84,8 @@ export interface BatchImportEvidenceToAssessmentControlCommandOutput
8084
* manualEvidence: [ // ManualEvidenceList // required
8185
* { // ManualEvidence
8286
* s3ResourcePath: "STRING_VALUE",
87+
* textResponse: "STRING_VALUE",
88+
* evidenceFileName: "STRING_VALUE",
8389
* },
8490
* ],
8591
* };
@@ -90,6 +96,8 @@ export interface BatchImportEvidenceToAssessmentControlCommandOutput
9096
* // { // BatchImportEvidenceToAssessmentControlError
9197
* // manualEvidence: { // ManualEvidence
9298
* // s3ResourcePath: "STRING_VALUE",
99+
* // textResponse: "STRING_VALUE",
100+
* // evidenceFileName: "STRING_VALUE",
93101
* // },
94102
* // errorCode: "STRING_VALUE",
95103
* // errorMessage: "STRING_VALUE",
@@ -116,6 +124,9 @@ export interface BatchImportEvidenceToAssessmentControlCommandOutput
116124
* @throws {@link ResourceNotFoundException} (client fault)
117125
* <p> The resource that's specified in the request can't be found. </p>
118126
*
127+
* @throws {@link ThrottlingException} (client fault)
128+
* <p>The request was denied due to request throttling.</p>
129+
*
119130
* @throws {@link ValidationException} (client fault)
120131
* <p> The request has invalid or missing parameters. </p>
121132
*

clients/client-auditmanager/src/commands/CreateAssessmentFrameworkCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export interface CreateAssessmentFrameworkCommandOutput extends CreateAssessment
9696
* // sourceSetUpOption: "System_Controls_Mapping" || "Procedural_Controls_Mapping",
9797
* // sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL",
9898
* // sourceKeyword: { // SourceKeyword
99-
* // keywordInputType: "SELECT_FROM_LIST",
99+
* // keywordInputType: "SELECT_FROM_LIST" || "UPLOAD_FILE" || "INPUT_TEXT",
100100
* // keywordValue: "STRING_VALUE",
101101
* // },
102102
* // sourceFrequency: "DAILY" || "WEEKLY" || "MONTHLY",

clients/client-auditmanager/src/commands/CreateControlCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export interface CreateControlCommandOutput extends CreateControlResponse, __Met
5656
* sourceSetUpOption: "System_Controls_Mapping" || "Procedural_Controls_Mapping",
5757
* sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL",
5858
* sourceKeyword: { // SourceKeyword
59-
* keywordInputType: "SELECT_FROM_LIST",
59+
* keywordInputType: "SELECT_FROM_LIST" || "UPLOAD_FILE" || "INPUT_TEXT",
6060
* keywordValue: "STRING_VALUE",
6161
* },
6262
* sourceFrequency: "DAILY" || "WEEKLY" || "MONTHLY",
@@ -88,7 +88,7 @@ export interface CreateControlCommandOutput extends CreateControlResponse, __Met
8888
* // sourceSetUpOption: "System_Controls_Mapping" || "Procedural_Controls_Mapping",
8989
* // sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL",
9090
* // sourceKeyword: { // SourceKeyword
91-
* // keywordInputType: "SELECT_FROM_LIST",
91+
* // keywordInputType: "SELECT_FROM_LIST" || "UPLOAD_FILE" || "INPUT_TEXT",
9292
* // keywordValue: "STRING_VALUE",
9393
* // },
9494
* // sourceFrequency: "DAILY" || "WEEKLY" || "MONTHLY",

clients/client-auditmanager/src/commands/DeleteControlCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ export interface DeleteControlCommandOutput extends DeleteControlResponse, __Met
3737
/**
3838
* @public
3939
* <p> Deletes a custom control in Audit Manager. </p>
40+
* <important>
41+
* <p>When you invoke this operation, the custom control is deleted from any frameworks or
42+
* assessments that it’s currently part of. As a result, Audit Manager will stop
43+
* collecting evidence for that custom control in all of your assessments. This includes
44+
* assessments that you previously created before you deleted the custom control.</p>
45+
* </important>
4046
* @example
4147
* Use a bare-bones client and the command you need to make an API call.
4248
* ```javascript

clients/client-auditmanager/src/commands/GetAccountStatusCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface GetAccountStatusCommandOutput extends GetAccountStatusResponse,
3636

3737
/**
3838
* @public
39-
* <p> Returns the registration status of an account in Audit Manager. </p>
39+
* <p> Gets the registration status of an account in Audit Manager. </p>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
4242
* ```javascript

clients/client-auditmanager/src/commands/GetAssessmentCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface GetAssessmentCommandOutput extends GetAssessmentResponse, __Met
3636

3737
/**
3838
* @public
39-
* <p>Returns an assessment from Audit Manager. </p>
39+
* <p>Gets information about a specified assessment. </p>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
4242
* ```javascript

clients/client-auditmanager/src/commands/GetAssessmentFrameworkCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface GetAssessmentFrameworkCommandOutput extends GetAssessmentFramew
3636

3737
/**
3838
* @public
39-
* <p>Returns a framework from Audit Manager. </p>
39+
* <p>Gets information about a specified framework.</p>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
4242
* ```javascript
@@ -81,7 +81,7 @@ export interface GetAssessmentFrameworkCommandOutput extends GetAssessmentFramew
8181
* // sourceSetUpOption: "System_Controls_Mapping" || "Procedural_Controls_Mapping",
8282
* // sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL",
8383
* // sourceKeyword: { // SourceKeyword
84-
* // keywordInputType: "SELECT_FROM_LIST",
84+
* // keywordInputType: "SELECT_FROM_LIST" || "UPLOAD_FILE" || "INPUT_TEXT",
8585
* // keywordValue: "STRING_VALUE",
8686
* // },
8787
* // sourceFrequency: "DAILY" || "WEEKLY" || "MONTHLY",

clients/client-auditmanager/src/commands/GetAssessmentReportUrlCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface GetAssessmentReportUrlCommandOutput extends GetAssessmentReport
3636

3737
/**
3838
* @public
39-
* <p> Returns the URL of an assessment report in Audit Manager. </p>
39+
* <p> Gets the URL of an assessment report in Audit Manager. </p>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
4242
* ```javascript

clients/client-auditmanager/src/commands/GetChangeLogsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface GetChangeLogsCommandOutput extends GetChangeLogsResponse, __Met
3636

3737
/**
3838
* @public
39-
* <p> Returns a list of changelogs from Audit Manager. </p>
39+
* <p> Gets a list of changelogs from Audit Manager. </p>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
4242
* ```javascript

clients/client-auditmanager/src/commands/GetControlCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface GetControlCommandOutput extends GetControlResponse, __MetadataB
3636

3737
/**
3838
* @public
39-
* <p> Returns a control from Audit Manager. </p>
39+
* <p> Gets information about a specified control.</p>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
4242
* ```javascript
@@ -67,7 +67,7 @@ export interface GetControlCommandOutput extends GetControlResponse, __MetadataB
6767
* // sourceSetUpOption: "System_Controls_Mapping" || "Procedural_Controls_Mapping",
6868
* // sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL",
6969
* // sourceKeyword: { // SourceKeyword
70-
* // keywordInputType: "SELECT_FROM_LIST",
70+
* // keywordInputType: "SELECT_FROM_LIST" || "UPLOAD_FILE" || "INPUT_TEXT",
7171
* // keywordValue: "STRING_VALUE",
7272
* // },
7373
* // sourceFrequency: "DAILY" || "WEEKLY" || "MONTHLY",

clients/client-auditmanager/src/commands/GetDelegationsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface GetDelegationsCommandOutput extends GetDelegationsResponse, __M
3636

3737
/**
3838
* @public
39-
* <p> Returns a list of delegations from an audit owner to a delegate. </p>
39+
* <p> Gets a list of delegations from an audit owner to a delegate. </p>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
4242
* ```javascript

clients/client-auditmanager/src/commands/GetEvidenceByEvidenceFolderCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export interface GetEvidenceByEvidenceFolderCommandOutput
4141

4242
/**
4343
* @public
44-
* <p> Returns all evidence from a specified evidence folder in Audit Manager. </p>
44+
* <p> Gets all evidence from a specified evidence folder in Audit Manager. </p>
4545
* @example
4646
* Use a bare-bones client and the command you need to make an API call.
4747
* ```javascript

clients/client-auditmanager/src/commands/GetEvidenceCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface GetEvidenceCommandOutput extends GetEvidenceResponse, __Metadat
3636

3737
/**
3838
* @public
39-
* <p> Returns evidence from Audit Manager. </p>
39+
* <p> Gets information about a specified evidence item.</p>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
4242
* ```javascript

0 commit comments

Comments
 (0)