@aws-sdk/client-securityhub 3.298.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 +12 -12
|
@@ -84,6 +84,41 @@ export interface BatchUpdateFindingsCommandOutput extends BatchUpdateFindingsRes
|
|
|
84
84
|
* import { SecurityHubClient, BatchUpdateFindingsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
85
85
|
* // const { SecurityHubClient, BatchUpdateFindingsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
86
86
|
* const client = new SecurityHubClient(config);
|
|
87
|
+
* const input = {
|
|
88
|
+
* FindingIdentifiers: [ // required
|
|
89
|
+
* {
|
|
90
|
+
* Id: "STRING_VALUE", // required
|
|
91
|
+
* ProductArn: "STRING_VALUE", // required
|
|
92
|
+
* },
|
|
93
|
+
* ],
|
|
94
|
+
* Note: {
|
|
95
|
+
* Text: "STRING_VALUE", // required
|
|
96
|
+
* UpdatedBy: "STRING_VALUE", // required
|
|
97
|
+
* },
|
|
98
|
+
* Severity: {
|
|
99
|
+
* Normalized: Number("int"),
|
|
100
|
+
* Product: Number("double"),
|
|
101
|
+
* Label: "INFORMATIONAL" || "LOW" || "MEDIUM" || "HIGH" || "CRITICAL",
|
|
102
|
+
* },
|
|
103
|
+
* VerificationState: "UNKNOWN" || "TRUE_POSITIVE" || "FALSE_POSITIVE" || "BENIGN_POSITIVE",
|
|
104
|
+
* Confidence: Number("int"),
|
|
105
|
+
* Criticality: Number("int"),
|
|
106
|
+
* Types: [
|
|
107
|
+
* "STRING_VALUE",
|
|
108
|
+
* ],
|
|
109
|
+
* UserDefinedFields: {
|
|
110
|
+
* "<keys>": "STRING_VALUE",
|
|
111
|
+
* },
|
|
112
|
+
* Workflow: {
|
|
113
|
+
* Status: "NEW" || "NOTIFIED" || "RESOLVED" || "SUPPRESSED",
|
|
114
|
+
* },
|
|
115
|
+
* RelatedFindings: [
|
|
116
|
+
* {
|
|
117
|
+
* ProductArn: "STRING_VALUE", // required
|
|
118
|
+
* Id: "STRING_VALUE", // required
|
|
119
|
+
* },
|
|
120
|
+
* ],
|
|
121
|
+
* };
|
|
87
122
|
* const command = new BatchUpdateFindingsCommand(input);
|
|
88
123
|
* const response = await client.send(command);
|
|
89
124
|
* ```
|
|
@@ -28,6 +28,16 @@ export interface BatchUpdateStandardsControlAssociationsCommandOutput extends Ba
|
|
|
28
28
|
* import { SecurityHubClient, BatchUpdateStandardsControlAssociationsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
29
29
|
* // const { SecurityHubClient, BatchUpdateStandardsControlAssociationsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
30
30
|
* const client = new SecurityHubClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* StandardsControlAssociationUpdates: [ // required
|
|
33
|
+
* {
|
|
34
|
+
* StandardsArn: "STRING_VALUE", // required
|
|
35
|
+
* SecurityControlId: "STRING_VALUE", // required
|
|
36
|
+
* AssociationStatus: "ENABLED" || "DISABLED", // required
|
|
37
|
+
* UpdatedReason: "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* };
|
|
31
41
|
* const command = new BatchUpdateStandardsControlAssociationsCommand(input);
|
|
32
42
|
* const response = await client.send(command);
|
|
33
43
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface CreateActionTargetCommandOutput extends CreateActionTargetRespo
|
|
|
28
28
|
* import { SecurityHubClient, CreateActionTargetCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
29
29
|
* // const { SecurityHubClient, CreateActionTargetCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
30
30
|
* const client = new SecurityHubClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Name: "STRING_VALUE", // required
|
|
33
|
+
* Description: "STRING_VALUE", // required
|
|
34
|
+
* Id: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
31
36
|
* const command = new CreateActionTargetCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface CreateFindingAggregatorCommandOutput extends CreateFindingAggre
|
|
|
28
28
|
* import { SecurityHubClient, CreateFindingAggregatorCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
29
29
|
* // const { SecurityHubClient, CreateFindingAggregatorCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
30
30
|
* const client = new SecurityHubClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* RegionLinkingMode: "STRING_VALUE", // required
|
|
33
|
+
* Regions: [
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* };
|
|
31
37
|
* const command = new CreateFindingAggregatorCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|