@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
|
@@ -32,6 +32,11 @@ export interface InviteMembersCommandOutput extends InviteMembersResponse, __Met
|
|
|
32
32
|
* import { SecurityHubClient, InviteMembersCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
33
33
|
* // const { SecurityHubClient, InviteMembersCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
34
34
|
* const client = new SecurityHubClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* AccountIds: [ // required
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
35
40
|
* const command = new InviteMembersCommand(input);
|
|
36
41
|
* const response = await client.send(command);
|
|
37
42
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface ListEnabledProductsForImportCommandOutput extends ListEnabledPr
|
|
|
27
27
|
* import { SecurityHubClient, ListEnabledProductsForImportCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
28
28
|
* // const { SecurityHubClient, ListEnabledProductsForImportCommand } = 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 ListEnabledProductsForImportCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListFindingAggregatorsCommandOutput extends ListFindingAggregat
|
|
|
26
26
|
* import { SecurityHubClient, ListFindingAggregatorsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
27
27
|
* // const { SecurityHubClient, ListFindingAggregatorsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
28
28
|
* const client = new SecurityHubClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* NextToken: "STRING_VALUE",
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListFindingAggregatorsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface ListInvitationsCommandOutput extends ListInvitationsResponse, _
|
|
|
28
28
|
* import { SecurityHubClient, ListInvitationsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
29
29
|
* // const { SecurityHubClient, ListInvitationsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
30
30
|
* const client = new SecurityHubClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
31
35
|
* const command = new ListInvitationsCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface ListMembersCommandOutput extends ListMembersResponse, __Metadat
|
|
|
29
29
|
* import { SecurityHubClient, ListMembersCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
30
30
|
* // const { SecurityHubClient, ListMembersCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
31
31
|
* const client = new SecurityHubClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* OnlyAssociated: true || false,
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
32
37
|
* const command = new ListMembersCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface ListOrganizationAdminAccountsCommandOutput extends ListOrganiza
|
|
|
27
27
|
* import { SecurityHubClient, ListOrganizationAdminAccountsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
28
28
|
* // const { SecurityHubClient, ListOrganizationAdminAccountsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
29
29
|
* const client = new SecurityHubClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
30
34
|
* const command = new ListOrganizationAdminAccountsCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListSecurityControlDefinitionsCommandOutput extends ListSecurit
|
|
|
28
28
|
* import { SecurityHubClient, ListSecurityControlDefinitionsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
29
29
|
* // const { SecurityHubClient, ListSecurityControlDefinitionsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
30
30
|
* const client = new SecurityHubClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* StandardsArn: "STRING_VALUE",
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListSecurityControlDefinitionsCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListStandardsControlAssociationsCommandOutput extends ListStand
|
|
|
28
28
|
* import { SecurityHubClient, ListStandardsControlAssociationsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
29
29
|
* // const { SecurityHubClient, ListStandardsControlAssociationsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
30
30
|
* const client = new SecurityHubClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* SecurityControlId: "STRING_VALUE", // required
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListStandardsControlAssociationsCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { SecurityHubClient, ListTagsForResourceCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
27
27
|
* // const { SecurityHubClient, ListTagsForResourceCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
28
28
|
* const client = new SecurityHubClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
26
26
|
* import { SecurityHubClient, TagResourceCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
27
27
|
* // const { SecurityHubClient, TagResourceCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
28
28
|
* const client = new SecurityHubClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* Tags: { // required
|
|
32
|
+
* "<keys>": "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* };
|
|
29
35
|
* const command = new TagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { SecurityHubClient, UntagResourceCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
27
27
|
* // const { SecurityHubClient, UntagResourceCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
28
28
|
* const client = new SecurityHubClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* TagKeys: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface UpdateActionTargetCommandOutput extends UpdateActionTargetRespo
|
|
|
26
26
|
* import { SecurityHubClient, UpdateActionTargetCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
27
27
|
* // const { SecurityHubClient, UpdateActionTargetCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
28
28
|
* const client = new SecurityHubClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ActionTargetArn: "STRING_VALUE", // required
|
|
31
|
+
* Name: "STRING_VALUE",
|
|
32
|
+
* Description: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new UpdateActionTargetCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -28,6 +28,13 @@ export interface UpdateFindingAggregatorCommandOutput extends UpdateFindingAggre
|
|
|
28
28
|
* import { SecurityHubClient, UpdateFindingAggregatorCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
29
29
|
* // const { SecurityHubClient, UpdateFindingAggregatorCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
30
30
|
* const client = new SecurityHubClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* FindingAggregatorArn: "STRING_VALUE", // required
|
|
33
|
+
* RegionLinkingMode: "STRING_VALUE", // required
|
|
34
|
+
* Regions: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
31
38
|
* const command = new UpdateFindingAggregatorCommand(input);
|
|
32
39
|
* const response = await client.send(command);
|
|
33
40
|
* ```
|