@aws-sdk/client-auditmanager 3.79.0 → 3.80.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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.80.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.79.0...v3.80.0) (2022-04-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-auditmanager
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.79.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.78.0...v3.79.0) (2022-04-27)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @aws-sdk/client-auditmanager
|
|
@@ -185,7 +185,27 @@ export declare class AuditManager extends AuditManagerClient {
|
|
|
185
185
|
deleteAssessmentFrameworkShare(args: DeleteAssessmentFrameworkShareCommandInput, cb: (err: any, data?: DeleteAssessmentFrameworkShareCommandOutput) => void): void;
|
|
186
186
|
deleteAssessmentFrameworkShare(args: DeleteAssessmentFrameworkShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssessmentFrameworkShareCommandOutput) => void): void;
|
|
187
187
|
/**
|
|
188
|
-
* <p>
|
|
188
|
+
* <p>Deletes an assessment report in Audit Manager. </p>
|
|
189
|
+
* <p>When you run the <code>DeleteAssessmentReport</code> operation, Audit Manager attempts to delete the following data:</p>
|
|
190
|
+
* <ol>
|
|
191
|
+
* <li>
|
|
192
|
+
* <p>The specified assessment report that’s stored in your S3 bucket</p>
|
|
193
|
+
* </li>
|
|
194
|
+
* <li>
|
|
195
|
+
* <p>The associated metadata that’s stored in Audit Manager</p>
|
|
196
|
+
* </li>
|
|
197
|
+
* </ol>
|
|
198
|
+
* <p>If Audit Manager can’t access the assessment report in your S3 bucket, the report
|
|
199
|
+
* isn’t deleted. In this event, the <code>DeleteAssessmentReport</code> operation doesn’t
|
|
200
|
+
* fail. Instead, it proceeds to delete the associated metadata only. You must then delete the
|
|
201
|
+
* assessment report from the S3 bucket yourself. </p>
|
|
202
|
+
* <p>This scenario happens when Audit Manager receives a <code>403 (Forbidden)</code> or
|
|
203
|
+
* <code>404 (Not Found)</code> error from Amazon S3. To avoid this, make sure that
|
|
204
|
+
* your S3 bucket is available, and that you configured the correct permissions for Audit Manager to delete resources in your S3 bucket. For an example permissions policy that
|
|
205
|
+
* you can use, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/security_iam_id-based-policy-examples.html#full-administrator-access-assessment-report-destination">Assessment report destination permissions</a> in the <i>Audit Manager User Guide</i>. For information about the issues that could cause a <code>403
|
|
206
|
+
* (Forbidden)</code> or <code>404 (Not Found</code>) error from Amazon S3, see
|
|
207
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList">List of Error Codes</a> in the <i>Amazon Simple Storage Service API
|
|
208
|
+
* Reference</i>. </p>
|
|
189
209
|
*/
|
|
190
210
|
deleteAssessmentReport(args: DeleteAssessmentReportCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAssessmentReportCommandOutput>;
|
|
191
211
|
deleteAssessmentReport(args: DeleteAssessmentReportCommandInput, cb: (err: any, data?: DeleteAssessmentReportCommandOutput) => void): void;
|
|
@@ -7,7 +7,27 @@ export interface DeleteAssessmentReportCommandInput extends DeleteAssessmentRepo
|
|
|
7
7
|
export interface DeleteAssessmentReportCommandOutput extends DeleteAssessmentReportResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
10
|
+
* <p>Deletes an assessment report in Audit Manager. </p>
|
|
11
|
+
* <p>When you run the <code>DeleteAssessmentReport</code> operation, Audit Manager attempts to delete the following data:</p>
|
|
12
|
+
* <ol>
|
|
13
|
+
* <li>
|
|
14
|
+
* <p>The specified assessment report that’s stored in your S3 bucket</p>
|
|
15
|
+
* </li>
|
|
16
|
+
* <li>
|
|
17
|
+
* <p>The associated metadata that’s stored in Audit Manager</p>
|
|
18
|
+
* </li>
|
|
19
|
+
* </ol>
|
|
20
|
+
* <p>If Audit Manager can’t access the assessment report in your S3 bucket, the report
|
|
21
|
+
* isn’t deleted. In this event, the <code>DeleteAssessmentReport</code> operation doesn’t
|
|
22
|
+
* fail. Instead, it proceeds to delete the associated metadata only. You must then delete the
|
|
23
|
+
* assessment report from the S3 bucket yourself. </p>
|
|
24
|
+
* <p>This scenario happens when Audit Manager receives a <code>403 (Forbidden)</code> or
|
|
25
|
+
* <code>404 (Not Found)</code> error from Amazon S3. To avoid this, make sure that
|
|
26
|
+
* your S3 bucket is available, and that you configured the correct permissions for Audit Manager to delete resources in your S3 bucket. For an example permissions policy that
|
|
27
|
+
* you can use, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/security_iam_id-based-policy-examples.html#full-administrator-access-assessment-report-destination">Assessment report destination permissions</a> in the <i>Audit Manager User Guide</i>. For information about the issues that could cause a <code>403
|
|
28
|
+
* (Forbidden)</code> or <code>404 (Not Found</code>) error from Amazon S3, see
|
|
29
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList">List of Error Codes</a> in the <i>Amazon Simple Storage Service API
|
|
30
|
+
* Reference</i>. </p>
|
|
11
31
|
* @example
|
|
12
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
33
|
* ```javascript
|
|
@@ -1430,12 +1430,74 @@ export declare enum KeywordInputType {
|
|
|
1430
1430
|
*/
|
|
1431
1431
|
export interface SourceKeyword {
|
|
1432
1432
|
/**
|
|
1433
|
-
* <p> The method
|
|
1433
|
+
* <p> The input method for the keyword. </p>
|
|
1434
1434
|
*/
|
|
1435
1435
|
keywordInputType?: KeywordInputType | string;
|
|
1436
1436
|
/**
|
|
1437
|
-
* <p> The value of the keyword that's used
|
|
1438
|
-
*
|
|
1437
|
+
* <p> The value of the keyword that's used when mapping a control data source. For example,
|
|
1438
|
+
* this can be a CloudTrail event name, a rule name for Config, a
|
|
1439
|
+
* Security Hub control, or the name of an Amazon Web Services API call. </p>
|
|
1440
|
+
* <p>If you’re mapping a data source to a rule in Config, the
|
|
1441
|
+
* <code>keywordValue</code> that you specify depends on the type of rule:</p>
|
|
1442
|
+
* <ul>
|
|
1443
|
+
* <li>
|
|
1444
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html">managed rules</a>, you can use the rule identifier as the
|
|
1445
|
+
* <code>keywordValue</code>. You can find the rule identifier from the <a href="https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html">list of Config managed rules</a>.</p>
|
|
1446
|
+
* <ul>
|
|
1447
|
+
* <li>
|
|
1448
|
+
* <p>Managed rule name: <a href="https://docs.aws.amazon.com/config/latest/developerguide/s3-bucket-acl-prohibited.html">s3-bucket-acl-prohibited</a>
|
|
1449
|
+
* </p>
|
|
1450
|
+
* <p>
|
|
1451
|
+
* <code>keywordValue</code>: <code>S3_BUCKET_ACL_PROHIBITED</code>
|
|
1452
|
+
* </p>
|
|
1453
|
+
* </li>
|
|
1454
|
+
* </ul>
|
|
1455
|
+
* </li>
|
|
1456
|
+
* <li>
|
|
1457
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_develop-rules.html">custom rules</a>, you form the <code>keywordValue</code>
|
|
1458
|
+
* by adding the <code>Custom_</code> prefix to the rule name. This prefix distinguishes
|
|
1459
|
+
* the rule from a managed rule.</p>
|
|
1460
|
+
* <ul>
|
|
1461
|
+
* <li>
|
|
1462
|
+
* <p>Custom rule name: my-custom-config-rule</p>
|
|
1463
|
+
* <p>
|
|
1464
|
+
* <code>keywordValue</code>: <code>Custom_my-custom-config-rule</code>
|
|
1465
|
+
* </p>
|
|
1466
|
+
* </li>
|
|
1467
|
+
* </ul>
|
|
1468
|
+
* </li>
|
|
1469
|
+
* <li>
|
|
1470
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/developerguide/service-linked-awsconfig-rules.html">service-linked rules</a>, you form the
|
|
1471
|
+
* <code>keywordValue</code> by adding the <code>Custom_</code> prefix to the rule
|
|
1472
|
+
* name. In addition, you remove the suffix ID that appears at the end of the rule
|
|
1473
|
+
* name.</p>
|
|
1474
|
+
* <ul>
|
|
1475
|
+
* <li>
|
|
1476
|
+
* <p>Service-linked rule name:
|
|
1477
|
+
* CustomRuleForAccount-conformance-pack-szsm1uv0w</p>
|
|
1478
|
+
* <p>
|
|
1479
|
+
* <code>keywordValue</code>:
|
|
1480
|
+
* <code>Custom_CustomRuleForAccount-conformance-pack</code>
|
|
1481
|
+
* </p>
|
|
1482
|
+
* </li>
|
|
1483
|
+
* <li>
|
|
1484
|
+
* <p>Service-linked rule name: securityhub-api-gw-cache-encrypted-101104e1</p>
|
|
1485
|
+
* <p>
|
|
1486
|
+
* <code>keywordValue</code>:
|
|
1487
|
+
* <code>Custom_securityhub-api-gw-cache-encrypted</code>
|
|
1488
|
+
* </p>
|
|
1489
|
+
* </li>
|
|
1490
|
+
* <li>
|
|
1491
|
+
* <p>Service-linked rule name:
|
|
1492
|
+
* OrgConfigRule-s3-bucket-versioning-enabled-dbgzf8ba</p>
|
|
1493
|
+
* <p>
|
|
1494
|
+
* <code>keywordValue</code>:
|
|
1495
|
+
* <code>Custom_OrgConfigRule-s3-bucket-versioning-enabled</code>
|
|
1496
|
+
* </p>
|
|
1497
|
+
* </li>
|
|
1498
|
+
* </ul>
|
|
1499
|
+
* </li>
|
|
1500
|
+
* </ul>
|
|
1439
1501
|
*/
|
|
1440
1502
|
keywordValue?: string;
|
|
1441
1503
|
}
|
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.80.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,21 +18,21 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.80.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.80.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.78.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.78.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.78.0",
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.80.0",
|
|
31
31
|
"@aws-sdk/middleware-serde": "3.78.0",
|
|
32
32
|
"@aws-sdk/middleware-signing": "3.78.0",
|
|
33
33
|
"@aws-sdk/middleware-stack": "3.78.0",
|
|
34
34
|
"@aws-sdk/middleware-user-agent": "3.78.0",
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.80.0",
|
|
36
36
|
"@aws-sdk/node-http-handler": "3.78.0",
|
|
37
37
|
"@aws-sdk/protocol-http": "3.78.0",
|
|
38
38
|
"@aws-sdk/smithy-client": "3.78.0",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-defaults-mode-browser": "3.78.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.80.0",
|
|
47
47
|
"@aws-sdk/util-user-agent-browser": "3.78.0",
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.80.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
51
|
"tslib": "^2.3.1"
|