@aws-sdk/client-securityhub 3.299.0 → 3.300.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_0.js +1 -6
- package/dist-cjs/models/models_1.js +6 -1
- package/dist-cjs/protocols/Aws_restJson1.js +244 -0
- package/dist-es/models/models_0.js +0 -5
- package/dist-es/models/models_1.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +244 -0
- package/dist-types/SecurityHub.d.ts +6 -4
- 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 +5 -0
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +10 -0
- package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +5 -0
- package/dist-types/commands/BatchGetStandardsControlAssociationsCommand.d.ts +8 -0
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +4037 -0
- package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +35 -0
- package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +10 -0
- package/dist-types/commands/CreateActionTargetCommand.d.ts +5 -0
- package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +6 -0
- package/dist-types/commands/CreateInsightCommand.d.ts +639 -1
- package/dist-types/commands/CreateMembersCommand.d.ts +9 -1
- package/dist-types/commands/DeclineInvitationsCommand.d.ts +9 -3
- package/dist-types/commands/DeleteActionTargetCommand.d.ts +4 -1
- package/dist-types/commands/DeleteFindingAggregatorCommand.d.ts +3 -0
- package/dist-types/commands/DeleteInsightCommand.d.ts +3 -0
- package/dist-types/commands/DeleteInvitationsCommand.d.ts +8 -2
- package/dist-types/commands/DeleteMembersCommand.d.ts +5 -0
- package/dist-types/commands/DescribeActionTargetsCommand.d.ts +7 -0
- package/dist-types/commands/DescribeHubCommand.d.ts +3 -0
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/DescribeProductsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeStandardsCommand.d.ts +4 -0
- package/dist-types/commands/DescribeStandardsControlsCommand.d.ts +5 -0
- package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +3 -0
- package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -0
- package/dist-types/commands/DisableSecurityHubCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateMembersCommand.d.ts +5 -0
- package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +3 -0
- package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -0
- package/dist-types/commands/EnableSecurityHubCommand.d.ts +7 -0
- package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -0
- package/dist-types/commands/GetEnabledStandardsCommand.d.ts +7 -0
- package/dist-types/commands/GetFindingAggregatorCommand.d.ts +3 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +644 -0
- package/dist-types/commands/GetInsightResultsCommand.d.ts +3 -0
- package/dist-types/commands/GetInsightsCommand.d.ts +7 -0
- package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -0
- package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -0
- package/dist-types/commands/GetMembersCommand.d.ts +5 -0
- package/dist-types/commands/InviteMembersCommand.d.ts +5 -0
- package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +4 -0
- package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +4 -0
- package/dist-types/commands/ListInvitationsCommand.d.ts +4 -0
- package/dist-types/commands/ListMembersCommand.d.ts +5 -0
- package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +4 -0
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +5 -0
- package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateActionTargetCommand.d.ts +5 -0
- package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +7 -0
- package/dist-types/commands/UpdateFindingsCommand.d.ts +641 -0
- package/dist-types/commands/UpdateInsightCommand.d.ts +639 -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 +5 -0
- package/dist-types/models/models_0.d.ts +254 -129
- package/dist-types/models/models_1.d.ts +205 -105
- package/dist-types/models/models_2.d.ts +106 -5
- package/dist-types/ts3.4/commands/CreateInsightCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeclineInvitationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteActionTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +46 -34
- package/dist-types/ts3.4/models/models_1.d.ts +49 -33
- package/dist-types/ts3.4/models/models_2.d.ts +31 -1
- package/package.json +8 -8
|
@@ -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 { DeleteActionTargetRequest, DeleteActionTargetResponse } from "../models/
|
|
4
|
+
import { DeleteActionTargetRequest, DeleteActionTargetResponse } from "../models/models_2";
|
|
5
5
|
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -28,6 +28,9 @@ export interface DeleteActionTargetCommandOutput extends DeleteActionTargetRespo
|
|
|
28
28
|
* import { SecurityHubClient, DeleteActionTargetCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
29
29
|
* // const { SecurityHubClient, DeleteActionTargetCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
30
30
|
* const client = new SecurityHubClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ActionTargetArn: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DeleteActionTargetCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DeleteFindingAggregatorCommandOutput extends DeleteFindingAggre
|
|
|
28
28
|
* import { SecurityHubClient, DeleteFindingAggregatorCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
29
29
|
* // const { SecurityHubClient, DeleteFindingAggregatorCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
30
30
|
* const client = new SecurityHubClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* FindingAggregatorArn: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DeleteFindingAggregatorCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteInsightCommandOutput extends DeleteInsightResponse, __Met
|
|
|
26
26
|
* import { SecurityHubClient, DeleteInsightCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
27
27
|
* // const { SecurityHubClient, DeleteInsightCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
28
28
|
* const client = new SecurityHubClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* InsightArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteInsightCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -20,14 +20,20 @@ export interface DeleteInvitationsCommandOutput extends DeleteInvitationsRespons
|
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
22
|
* <p>Deletes invitations received by the Amazon Web Services account to become a member account.</p>
|
|
23
|
-
* <p>
|
|
24
|
-
*
|
|
23
|
+
* <p>A Security Hub administrator account can use this operation to delete invitations sent to one or more member accounts.</p>
|
|
24
|
+
* <p>This operation is only used to delete invitations that are sent to member accounts that aren't part of an organization.
|
|
25
|
+
* Organization accounts don't receive invitations.</p>
|
|
25
26
|
* @example
|
|
26
27
|
* Use a bare-bones client and the command you need to make an API call.
|
|
27
28
|
* ```javascript
|
|
28
29
|
* import { SecurityHubClient, DeleteInvitationsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
29
30
|
* // const { SecurityHubClient, DeleteInvitationsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
30
31
|
* const client = new SecurityHubClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* AccountIds: [ // required
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* };
|
|
31
37
|
* const command = new DeleteInvitationsCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface DeleteMembersCommandOutput extends DeleteMembersResponse, __Met
|
|
|
28
28
|
* import { SecurityHubClient, DeleteMembersCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
29
29
|
* // const { SecurityHubClient, DeleteMembersCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
30
30
|
* const client = new SecurityHubClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* AccountIds: [ // required
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* };
|
|
31
36
|
* const command = new DeleteMembersCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface DescribeActionTargetsCommandOutput extends DescribeActionTarget
|
|
|
26
26
|
* import { SecurityHubClient, DescribeActionTargetsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
27
27
|
* // const { SecurityHubClient, DescribeActionTargetsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
28
28
|
* const client = new SecurityHubClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ActionTargetArns: [
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* };
|
|
29
36
|
* const command = new DescribeActionTargetsCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DescribeHubCommandOutput extends DescribeHubResponse, __Metadat
|
|
|
27
27
|
* import { SecurityHubClient, DescribeHubCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
28
28
|
* // const { SecurityHubClient, DescribeHubCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
29
29
|
* const client = new SecurityHubClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* HubArn: "STRING_VALUE",
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DescribeHubCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -27,6 +27,7 @@ export interface DescribeOrganizationConfigurationCommandOutput extends Describe
|
|
|
27
27
|
* import { SecurityHubClient, DescribeOrganizationConfigurationCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
28
28
|
* // const { SecurityHubClient, DescribeOrganizationConfigurationCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
29
29
|
* const client = new SecurityHubClient(config);
|
|
30
|
+
* const input = {};
|
|
30
31
|
* const command = new DescribeOrganizationConfigurationCommand(input);
|
|
31
32
|
* const response = await client.send(command);
|
|
32
33
|
* ```
|
|
@@ -30,6 +30,11 @@ export interface DescribeProductsCommandOutput extends DescribeProductsResponse,
|
|
|
30
30
|
* import { SecurityHubClient, DescribeProductsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
31
31
|
* // const { SecurityHubClient, DescribeProductsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
32
32
|
* const client = new SecurityHubClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* ProductArn: "STRING_VALUE",
|
|
37
|
+
* };
|
|
33
38
|
* const command = new DescribeProductsCommand(input);
|
|
34
39
|
* const response = await client.send(command);
|
|
35
40
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface DescribeStandardsCommandOutput extends DescribeStandardsRespons
|
|
|
27
27
|
* import { SecurityHubClient, DescribeStandardsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
28
28
|
* // const { SecurityHubClient, DescribeStandardsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
29
29
|
* const client = new SecurityHubClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* };
|
|
30
34
|
* const command = new DescribeStandardsCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface DescribeStandardsControlsCommandOutput extends DescribeStandard
|
|
|
28
28
|
* import { SecurityHubClient, DescribeStandardsControlsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
29
29
|
* // const { SecurityHubClient, DescribeStandardsControlsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
30
30
|
* const client = new SecurityHubClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* StandardsSubscriptionArn: "STRING_VALUE", // required
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* };
|
|
31
36
|
* const command = new DescribeStandardsControlsCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DisableImportFindingsForProductCommandOutput extends DisableImp
|
|
|
27
27
|
* import { SecurityHubClient, DisableImportFindingsForProductCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
28
28
|
* // const { SecurityHubClient, DisableImportFindingsForProductCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
29
29
|
* const client = new SecurityHubClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ProductSubscriptionArn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DisableImportFindingsForProductCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DisableOrganizationAdminAccountCommandOutput extends DisableOrg
|
|
|
27
27
|
* import { SecurityHubClient, DisableOrganizationAdminAccountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
28
28
|
* // const { SecurityHubClient, DisableOrganizationAdminAccountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
29
29
|
* const client = new SecurityHubClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* AdminAccountId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DisableOrganizationAdminAccountCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -34,6 +34,7 @@ export interface DisableSecurityHubCommandOutput extends DisableSecurityHubRespo
|
|
|
34
34
|
* import { SecurityHubClient, DisableSecurityHubCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
35
35
|
* // const { SecurityHubClient, DisableSecurityHubCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
36
36
|
* const client = new SecurityHubClient(config);
|
|
37
|
+
* const input = {};
|
|
37
38
|
* const command = new DisableSecurityHubCommand(input);
|
|
38
39
|
* const response = await client.send(command);
|
|
39
40
|
* ```
|
|
@@ -30,6 +30,7 @@ export interface DisassociateFromAdministratorAccountCommandOutput extends Disas
|
|
|
30
30
|
* import { SecurityHubClient, DisassociateFromAdministratorAccountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
31
31
|
* // const { SecurityHubClient, DisassociateFromAdministratorAccountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
32
32
|
* const client = new SecurityHubClient(config);
|
|
33
|
+
* const input = {};
|
|
33
34
|
* const command = new DisassociateFromAdministratorAccountCommand(input);
|
|
34
35
|
* const response = await client.send(command);
|
|
35
36
|
* ```
|
|
@@ -34,6 +34,7 @@ export interface DisassociateFromMasterAccountCommandOutput extends Disassociate
|
|
|
34
34
|
* import { SecurityHubClient, DisassociateFromMasterAccountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
35
35
|
* // const { SecurityHubClient, DisassociateFromMasterAccountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
36
36
|
* const client = new SecurityHubClient(config);
|
|
37
|
+
* const input = {};
|
|
37
38
|
* const command = new DisassociateFromMasterAccountCommand(input);
|
|
38
39
|
* const response = await client.send(command);
|
|
39
40
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface DisassociateMembersCommandOutput extends DisassociateMembersRes
|
|
|
28
28
|
* import { SecurityHubClient, DisassociateMembersCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
29
29
|
* // const { SecurityHubClient, DisassociateMembersCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
30
30
|
* const client = new SecurityHubClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* AccountIds: [ // required
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* };
|
|
31
36
|
* const command = new DisassociateMembersCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface EnableImportFindingsForProductCommandOutput extends EnableImpor
|
|
|
29
29
|
* import { SecurityHubClient, EnableImportFindingsForProductCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
30
30
|
* // const { SecurityHubClient, EnableImportFindingsForProductCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
31
31
|
* const client = new SecurityHubClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* ProductArn: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new EnableImportFindingsForProductCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface EnableOrganizationAdminAccountCommandOutput extends EnableOrgan
|
|
|
27
27
|
* import { SecurityHubClient, EnableOrganizationAdminAccountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
28
28
|
* // const { SecurityHubClient, EnableOrganizationAdminAccountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
29
29
|
* const client = new SecurityHubClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* AdminAccountId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new EnableOrganizationAdminAccountCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -45,6 +45,13 @@ export interface EnableSecurityHubCommandOutput extends EnableSecurityHubRespons
|
|
|
45
45
|
* import { SecurityHubClient, EnableSecurityHubCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
46
46
|
* // const { SecurityHubClient, EnableSecurityHubCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
47
47
|
* const client = new SecurityHubClient(config);
|
|
48
|
+
* const input = {
|
|
49
|
+
* Tags: {
|
|
50
|
+
* "<keys>": "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* EnableDefaultStandards: true || false,
|
|
53
|
+
* ControlFindingGenerator: "STANDARD_CONTROL" || "SECURITY_CONTROL",
|
|
54
|
+
* };
|
|
48
55
|
* const command = new EnableSecurityHubCommand(input);
|
|
49
56
|
* const response = await client.send(command);
|
|
50
57
|
* ```
|
|
@@ -28,6 +28,7 @@ export interface GetAdministratorAccountCommandOutput extends GetAdministratorAc
|
|
|
28
28
|
* import { SecurityHubClient, GetAdministratorAccountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
29
29
|
* // const { SecurityHubClient, GetAdministratorAccountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
30
30
|
* const client = new SecurityHubClient(config);
|
|
31
|
+
* const input = {};
|
|
31
32
|
* const command = new GetAdministratorAccountCommand(input);
|
|
32
33
|
* const response = await client.send(command);
|
|
33
34
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface GetEnabledStandardsCommandOutput extends GetEnabledStandardsRes
|
|
|
26
26
|
* import { SecurityHubClient, GetEnabledStandardsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
27
27
|
* // const { SecurityHubClient, GetEnabledStandardsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
28
28
|
* const client = new SecurityHubClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* StandardsSubscriptionArns: [
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* };
|
|
29
36
|
* const command = new GetEnabledStandardsCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetFindingAggregatorCommandOutput extends GetFindingAggregatorR
|
|
|
26
26
|
* import { SecurityHubClient, GetFindingAggregatorCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
27
27
|
* // const { SecurityHubClient, GetFindingAggregatorCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
28
28
|
* const client = new SecurityHubClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* FindingAggregatorArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetFindingAggregatorCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|