@aws-sdk/client-securityhub 3.325.0 → 3.326.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-types/commands/AcceptAdministratorInvitationCommand.d.ts +4 -0
- package/dist-types/commands/AcceptInvitationCommand.d.ts +4 -0
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +18 -0
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +18 -0
- package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +23 -0
- package/dist-types/commands/BatchGetStandardsControlAssociationsCommand.d.ts +33 -0
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +14 -0
- package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +21 -0
- package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +17 -0
- package/dist-types/commands/CreateActionTargetCommand.d.ts +6 -0
- package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +11 -0
- package/dist-types/commands/CreateInsightCommand.d.ts +6 -0
- package/dist-types/commands/CreateMembersCommand.d.ts +11 -0
- package/dist-types/commands/DeclineInvitationsCommand.d.ts +11 -0
- package/dist-types/commands/DeleteActionTargetCommand.d.ts +6 -0
- package/dist-types/commands/DeleteFindingAggregatorCommand.d.ts +4 -0
- package/dist-types/commands/DeleteInsightCommand.d.ts +6 -0
- package/dist-types/commands/DeleteInvitationsCommand.d.ts +11 -0
- package/dist-types/commands/DeleteMembersCommand.d.ts +11 -0
- package/dist-types/commands/DescribeActionTargetsCommand.d.ts +13 -0
- package/dist-types/commands/DescribeHubCommand.d.ts +9 -0
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +8 -0
- package/dist-types/commands/DescribeProductsCommand.d.ts +23 -0
- package/dist-types/commands/DescribeStandardsCommand.d.ts +18 -0
- package/dist-types/commands/DescribeStandardsControlsCommand.d.ts +22 -0
- package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +4 -0
- package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +4 -0
- package/dist-types/commands/DisableSecurityHubCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateMembersCommand.d.ts +4 -0
- package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +6 -0
- package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +4 -0
- package/dist-types/commands/EnableSecurityHubCommand.d.ts +4 -0
- package/dist-types/commands/GetAdministratorAccountCommand.d.ts +11 -0
- package/dist-types/commands/GetEnabledStandardsCommand.d.ts +19 -0
- package/dist-types/commands/GetFindingAggregatorCommand.d.ts +11 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +3760 -0
- package/dist-types/commands/GetInsightResultsCommand.d.ts +15 -0
- package/dist-types/commands/GetInsightsCommand.d.ts +264 -0
- package/dist-types/commands/GetInvitationsCountCommand.d.ts +6 -0
- package/dist-types/commands/GetMasterAccountCommand.d.ts +11 -0
- package/dist-types/commands/GetMembersCommand.d.ts +22 -0
- package/dist-types/commands/InviteMembersCommand.d.ts +11 -0
- package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +9 -0
- package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +11 -0
- package/dist-types/commands/ListInvitationsCommand.d.ts +14 -0
- package/dist-types/commands/ListMembersCommand.d.ts +17 -0
- package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +12 -0
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +16 -0
- package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +21 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateActionTargetCommand.d.ts +4 -0
- package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +11 -0
- package/dist-types/commands/UpdateFindingsCommand.d.ts +4 -0
- package/dist-types/commands/UpdateInsightCommand.d.ts +4 -0
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/UpdateStandardsControlCommand.d.ts +4 -0
- package/package.json +3 -3
|
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new UntagResourceCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
@@ -52,6 +54,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
52
54
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
53
55
|
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
54
56
|
*
|
|
57
|
+
* @throws {@link SecurityHubServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
55
59
|
*
|
|
56
60
|
* @example To remove tags from a resource
|
|
57
61
|
* ```javascript
|
|
@@ -33,6 +33,8 @@ export interface UpdateActionTargetCommandOutput extends UpdateActionTargetRespo
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new UpdateActionTargetCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // {};
|
|
37
|
+
*
|
|
36
38
|
* ```
|
|
37
39
|
*
|
|
38
40
|
* @param UpdateActionTargetCommandInput - {@link UpdateActionTargetCommandInput}
|
|
@@ -54,6 +56,8 @@ export interface UpdateActionTargetCommandOutput extends UpdateActionTargetRespo
|
|
|
54
56
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
55
57
|
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
56
58
|
*
|
|
59
|
+
* @throws {@link SecurityHubServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
57
61
|
*
|
|
58
62
|
* @example To update the name and description of a custom action target
|
|
59
63
|
* ```javascript
|
|
@@ -37,6 +37,15 @@ export interface UpdateFindingAggregatorCommandOutput extends UpdateFindingAggre
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new UpdateFindingAggregatorCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // { // UpdateFindingAggregatorResponse
|
|
41
|
+
* // FindingAggregatorArn: "STRING_VALUE",
|
|
42
|
+
* // FindingAggregationRegion: "STRING_VALUE",
|
|
43
|
+
* // RegionLinkingMode: "STRING_VALUE",
|
|
44
|
+
* // Regions: [ // StringList
|
|
45
|
+
* // "STRING_VALUE",
|
|
46
|
+
* // ],
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
40
49
|
* ```
|
|
41
50
|
*
|
|
42
51
|
* @param UpdateFindingAggregatorCommandInput - {@link UpdateFindingAggregatorCommandInput}
|
|
@@ -65,6 +74,8 @@ export interface UpdateFindingAggregatorCommandOutput extends UpdateFindingAggre
|
|
|
65
74
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
75
|
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
67
76
|
*
|
|
77
|
+
* @throws {@link SecurityHubServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
68
79
|
*
|
|
69
80
|
* @example To update cross-Region aggregation settings
|
|
70
81
|
* ```javascript
|
|
@@ -291,6 +291,8 @@ export interface UpdateFindingsCommandOutput extends UpdateFindingsResponse, __M
|
|
|
291
291
|
* };
|
|
292
292
|
* const command = new UpdateFindingsCommand(input);
|
|
293
293
|
* const response = await client.send(command);
|
|
294
|
+
* // {};
|
|
295
|
+
*
|
|
294
296
|
* ```
|
|
295
297
|
*
|
|
296
298
|
* @param UpdateFindingsCommandInput - {@link UpdateFindingsCommandInput}
|
|
@@ -316,6 +318,8 @@ export interface UpdateFindingsCommandOutput extends UpdateFindingsResponse, __M
|
|
|
316
318
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
317
319
|
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
318
320
|
*
|
|
321
|
+
* @throws {@link SecurityHubServiceException}
|
|
322
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
319
323
|
*
|
|
320
324
|
*/
|
|
321
325
|
export declare class UpdateFindingsCommand extends $Command<UpdateFindingsCommandInput, UpdateFindingsCommandOutput, SecurityHubClientResolvedConfig> {
|
|
@@ -284,6 +284,8 @@ export interface UpdateInsightCommandOutput extends UpdateInsightResponse, __Met
|
|
|
284
284
|
* };
|
|
285
285
|
* const command = new UpdateInsightCommand(input);
|
|
286
286
|
* const response = await client.send(command);
|
|
287
|
+
* // {};
|
|
288
|
+
*
|
|
287
289
|
* ```
|
|
288
290
|
*
|
|
289
291
|
* @param UpdateInsightCommandInput - {@link UpdateInsightCommandInput}
|
|
@@ -309,6 +311,8 @@ export interface UpdateInsightCommandOutput extends UpdateInsightResponse, __Met
|
|
|
309
311
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
310
312
|
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
311
313
|
*
|
|
314
|
+
* @throws {@link SecurityHubServiceException}
|
|
315
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
312
316
|
*
|
|
313
317
|
* @example To update an insight
|
|
314
318
|
* ```javascript
|
|
@@ -33,6 +33,8 @@ export interface UpdateOrganizationConfigurationCommandOutput extends UpdateOrga
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new UpdateOrganizationConfigurationCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // {};
|
|
37
|
+
*
|
|
36
38
|
* ```
|
|
37
39
|
*
|
|
38
40
|
* @param UpdateOrganizationConfigurationCommandInput - {@link UpdateOrganizationConfigurationCommandInput}
|
|
@@ -55,6 +57,8 @@ export interface UpdateOrganizationConfigurationCommandOutput extends UpdateOrga
|
|
|
55
57
|
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
56
58
|
* account or throttling limits. The error code describes the limit exceeded.</p>
|
|
57
59
|
*
|
|
60
|
+
* @throws {@link SecurityHubServiceException}
|
|
61
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
58
62
|
*
|
|
59
63
|
* @example To update organization configuration
|
|
60
64
|
* ```javascript
|
|
@@ -32,6 +32,8 @@ export interface UpdateSecurityHubConfigurationCommandOutput extends UpdateSecur
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new UpdateSecurityHubConfigurationCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // {};
|
|
36
|
+
*
|
|
35
37
|
* ```
|
|
36
38
|
*
|
|
37
39
|
* @param UpdateSecurityHubConfigurationCommandInput - {@link UpdateSecurityHubConfigurationCommandInput}
|
|
@@ -57,6 +59,8 @@ export interface UpdateSecurityHubConfigurationCommandOutput extends UpdateSecur
|
|
|
57
59
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
60
|
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
59
61
|
*
|
|
62
|
+
* @throws {@link SecurityHubServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
60
64
|
*
|
|
61
65
|
* @example To update Security Hub settings
|
|
62
66
|
* ```javascript
|
|
@@ -34,6 +34,8 @@ export interface UpdateStandardsControlCommandOutput extends UpdateStandardsCont
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new UpdateStandardsControlCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param UpdateStandardsControlCommandInput - {@link UpdateStandardsControlCommandInput}
|
|
@@ -55,6 +57,8 @@ export interface UpdateStandardsControlCommandOutput extends UpdateStandardsCont
|
|
|
55
57
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
56
58
|
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
57
59
|
*
|
|
60
|
+
* @throws {@link SecurityHubServiceException}
|
|
61
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
58
62
|
*
|
|
59
63
|
* @example To update the enablement status of a standard control
|
|
60
64
|
* ```javascript
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-securityhub",
|
|
3
3
|
"description": "AWS SDK for JavaScript Securityhub Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.326.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.326.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.326.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|