@aws-sdk/client-securityhub 3.299.0 → 3.301.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 +3756 -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 +256 -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 +261 -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 +258 -0
- package/dist-types/commands/UpdateInsightCommand.d.ts +256 -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
|
@@ -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 = { // EnableOrganizationAdminAccountRequest
|
|
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 = { // EnableSecurityHubRequest
|
|
49
|
+
* Tags: { // TagMap
|
|
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 = { // GetEnabledStandardsRequest
|
|
30
|
+
* StandardsSubscriptionArns: [ // 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 = { // GetFindingAggregatorRequest
|
|
30
|
+
* FindingAggregatorArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetFindingAggregatorCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,267 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
|
|
|
27
27
|
* import { SecurityHubClient, GetFindingsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
28
28
|
* // const { SecurityHubClient, GetFindingsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
29
29
|
* const client = new SecurityHubClient(config);
|
|
30
|
+
* const input = { // GetFindingsRequest
|
|
31
|
+
* Filters: { // AwsSecurityFindingFilters
|
|
32
|
+
* ProductArn: [ // StringFilterList
|
|
33
|
+
* { // StringFilter
|
|
34
|
+
* Value: "STRING_VALUE",
|
|
35
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
|
|
36
|
+
* },
|
|
37
|
+
* ],
|
|
38
|
+
* AwsAccountId: [
|
|
39
|
+
* {
|
|
40
|
+
* Value: "STRING_VALUE",
|
|
41
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* Id: [
|
|
45
|
+
* {
|
|
46
|
+
* Value: "STRING_VALUE",
|
|
47
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* GeneratorId: [
|
|
51
|
+
* {
|
|
52
|
+
* Value: "STRING_VALUE",
|
|
53
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* Region: [
|
|
57
|
+
* {
|
|
58
|
+
* Value: "STRING_VALUE",
|
|
59
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* Type: "<StringFilterList>",
|
|
63
|
+
* FirstObservedAt: [ // DateFilterList
|
|
64
|
+
* { // DateFilter
|
|
65
|
+
* Start: "STRING_VALUE",
|
|
66
|
+
* End: "STRING_VALUE",
|
|
67
|
+
* DateRange: { // DateRange
|
|
68
|
+
* Value: Number("int"),
|
|
69
|
+
* Unit: "DAYS",
|
|
70
|
+
* },
|
|
71
|
+
* },
|
|
72
|
+
* ],
|
|
73
|
+
* LastObservedAt: [
|
|
74
|
+
* {
|
|
75
|
+
* Start: "STRING_VALUE",
|
|
76
|
+
* End: "STRING_VALUE",
|
|
77
|
+
* DateRange: {
|
|
78
|
+
* Value: Number("int"),
|
|
79
|
+
* Unit: "DAYS",
|
|
80
|
+
* },
|
|
81
|
+
* },
|
|
82
|
+
* ],
|
|
83
|
+
* CreatedAt: [
|
|
84
|
+
* {
|
|
85
|
+
* Start: "STRING_VALUE",
|
|
86
|
+
* End: "STRING_VALUE",
|
|
87
|
+
* DateRange: {
|
|
88
|
+
* Value: Number("int"),
|
|
89
|
+
* Unit: "DAYS",
|
|
90
|
+
* },
|
|
91
|
+
* },
|
|
92
|
+
* ],
|
|
93
|
+
* UpdatedAt: [
|
|
94
|
+
* {
|
|
95
|
+
* Start: "STRING_VALUE",
|
|
96
|
+
* End: "STRING_VALUE",
|
|
97
|
+
* DateRange: {
|
|
98
|
+
* Value: Number("int"),
|
|
99
|
+
* Unit: "DAYS",
|
|
100
|
+
* },
|
|
101
|
+
* },
|
|
102
|
+
* ],
|
|
103
|
+
* SeverityProduct: [ // NumberFilterList
|
|
104
|
+
* { // NumberFilter
|
|
105
|
+
* Gte: Number("double"),
|
|
106
|
+
* Lte: Number("double"),
|
|
107
|
+
* Eq: Number("double"),
|
|
108
|
+
* },
|
|
109
|
+
* ],
|
|
110
|
+
* SeverityNormalized: [
|
|
111
|
+
* {
|
|
112
|
+
* Gte: Number("double"),
|
|
113
|
+
* Lte: Number("double"),
|
|
114
|
+
* Eq: Number("double"),
|
|
115
|
+
* },
|
|
116
|
+
* ],
|
|
117
|
+
* SeverityLabel: "<StringFilterList>",
|
|
118
|
+
* Confidence: [
|
|
119
|
+
* {
|
|
120
|
+
* Gte: Number("double"),
|
|
121
|
+
* Lte: Number("double"),
|
|
122
|
+
* Eq: Number("double"),
|
|
123
|
+
* },
|
|
124
|
+
* ],
|
|
125
|
+
* Criticality: [
|
|
126
|
+
* {
|
|
127
|
+
* Gte: Number("double"),
|
|
128
|
+
* Lte: Number("double"),
|
|
129
|
+
* Eq: Number("double"),
|
|
130
|
+
* },
|
|
131
|
+
* ],
|
|
132
|
+
* Title: "<StringFilterList>",
|
|
133
|
+
* Description: "<StringFilterList>",
|
|
134
|
+
* RecommendationText: "<StringFilterList>",
|
|
135
|
+
* SourceUrl: "<StringFilterList>",
|
|
136
|
+
* ProductFields: [ // MapFilterList
|
|
137
|
+
* { // MapFilter
|
|
138
|
+
* Key: "STRING_VALUE",
|
|
139
|
+
* Value: "STRING_VALUE",
|
|
140
|
+
* Comparison: "EQUALS" || "NOT_EQUALS",
|
|
141
|
+
* },
|
|
142
|
+
* ],
|
|
143
|
+
* ProductName: "<StringFilterList>",
|
|
144
|
+
* CompanyName: "<StringFilterList>",
|
|
145
|
+
* UserDefinedFields: [
|
|
146
|
+
* {
|
|
147
|
+
* Key: "STRING_VALUE",
|
|
148
|
+
* Value: "STRING_VALUE",
|
|
149
|
+
* Comparison: "EQUALS" || "NOT_EQUALS",
|
|
150
|
+
* },
|
|
151
|
+
* ],
|
|
152
|
+
* MalwareName: "<StringFilterList>",
|
|
153
|
+
* MalwareType: "<StringFilterList>",
|
|
154
|
+
* MalwarePath: "<StringFilterList>",
|
|
155
|
+
* MalwareState: "<StringFilterList>",
|
|
156
|
+
* NetworkDirection: "<StringFilterList>",
|
|
157
|
+
* NetworkProtocol: "<StringFilterList>",
|
|
158
|
+
* NetworkSourceIpV4: [ // IpFilterList
|
|
159
|
+
* { // IpFilter
|
|
160
|
+
* Cidr: "STRING_VALUE",
|
|
161
|
+
* },
|
|
162
|
+
* ],
|
|
163
|
+
* NetworkSourceIpV6: [
|
|
164
|
+
* {
|
|
165
|
+
* Cidr: "STRING_VALUE",
|
|
166
|
+
* },
|
|
167
|
+
* ],
|
|
168
|
+
* NetworkSourcePort: [
|
|
169
|
+
* {
|
|
170
|
+
* Gte: Number("double"),
|
|
171
|
+
* Lte: Number("double"),
|
|
172
|
+
* Eq: Number("double"),
|
|
173
|
+
* },
|
|
174
|
+
* ],
|
|
175
|
+
* NetworkSourceDomain: "<StringFilterList>",
|
|
176
|
+
* NetworkSourceMac: "<StringFilterList>",
|
|
177
|
+
* NetworkDestinationIpV4: [
|
|
178
|
+
* {
|
|
179
|
+
* Cidr: "STRING_VALUE",
|
|
180
|
+
* },
|
|
181
|
+
* ],
|
|
182
|
+
* NetworkDestinationIpV6: [
|
|
183
|
+
* {
|
|
184
|
+
* Cidr: "STRING_VALUE",
|
|
185
|
+
* },
|
|
186
|
+
* ],
|
|
187
|
+
* NetworkDestinationPort: "<NumberFilterList>",
|
|
188
|
+
* NetworkDestinationDomain: "<StringFilterList>",
|
|
189
|
+
* ProcessName: "<StringFilterList>",
|
|
190
|
+
* ProcessPath: "<StringFilterList>",
|
|
191
|
+
* ProcessPid: "<NumberFilterList>",
|
|
192
|
+
* ProcessParentPid: "<NumberFilterList>",
|
|
193
|
+
* ProcessLaunchedAt: [
|
|
194
|
+
* {
|
|
195
|
+
* Start: "STRING_VALUE",
|
|
196
|
+
* End: "STRING_VALUE",
|
|
197
|
+
* DateRange: {
|
|
198
|
+
* Value: Number("int"),
|
|
199
|
+
* Unit: "DAYS",
|
|
200
|
+
* },
|
|
201
|
+
* },
|
|
202
|
+
* ],
|
|
203
|
+
* ProcessTerminatedAt: "<DateFilterList>",
|
|
204
|
+
* ThreatIntelIndicatorType: "<StringFilterList>",
|
|
205
|
+
* ThreatIntelIndicatorValue: "<StringFilterList>",
|
|
206
|
+
* ThreatIntelIndicatorCategory: "<StringFilterList>",
|
|
207
|
+
* ThreatIntelIndicatorLastObservedAt: "<DateFilterList>",
|
|
208
|
+
* ThreatIntelIndicatorSource: "<StringFilterList>",
|
|
209
|
+
* ThreatIntelIndicatorSourceUrl: "<StringFilterList>",
|
|
210
|
+
* ResourceType: "<StringFilterList>",
|
|
211
|
+
* ResourceId: "<StringFilterList>",
|
|
212
|
+
* ResourcePartition: "<StringFilterList>",
|
|
213
|
+
* ResourceRegion: "<StringFilterList>",
|
|
214
|
+
* ResourceTags: [
|
|
215
|
+
* {
|
|
216
|
+
* Key: "STRING_VALUE",
|
|
217
|
+
* Value: "STRING_VALUE",
|
|
218
|
+
* Comparison: "EQUALS" || "NOT_EQUALS",
|
|
219
|
+
* },
|
|
220
|
+
* ],
|
|
221
|
+
* ResourceAwsEc2InstanceType: "<StringFilterList>",
|
|
222
|
+
* ResourceAwsEc2InstanceImageId: "<StringFilterList>",
|
|
223
|
+
* ResourceAwsEc2InstanceIpV4Addresses: [
|
|
224
|
+
* {
|
|
225
|
+
* Cidr: "STRING_VALUE",
|
|
226
|
+
* },
|
|
227
|
+
* ],
|
|
228
|
+
* ResourceAwsEc2InstanceIpV6Addresses: "<IpFilterList>",
|
|
229
|
+
* ResourceAwsEc2InstanceKeyName: "<StringFilterList>",
|
|
230
|
+
* ResourceAwsEc2InstanceIamInstanceProfileArn: "<StringFilterList>",
|
|
231
|
+
* ResourceAwsEc2InstanceVpcId: "<StringFilterList>",
|
|
232
|
+
* ResourceAwsEc2InstanceSubnetId: "<StringFilterList>",
|
|
233
|
+
* ResourceAwsEc2InstanceLaunchedAt: "<DateFilterList>",
|
|
234
|
+
* ResourceAwsS3BucketOwnerId: "<StringFilterList>",
|
|
235
|
+
* ResourceAwsS3BucketOwnerName: "<StringFilterList>",
|
|
236
|
+
* ResourceAwsIamAccessKeyUserName: "<StringFilterList>",
|
|
237
|
+
* ResourceAwsIamAccessKeyPrincipalName: "<StringFilterList>",
|
|
238
|
+
* ResourceAwsIamAccessKeyStatus: "<StringFilterList>",
|
|
239
|
+
* ResourceAwsIamAccessKeyCreatedAt: "<DateFilterList>",
|
|
240
|
+
* ResourceAwsIamUserUserName: "<StringFilterList>",
|
|
241
|
+
* ResourceContainerName: "<StringFilterList>",
|
|
242
|
+
* ResourceContainerImageId: "<StringFilterList>",
|
|
243
|
+
* ResourceContainerImageName: "<StringFilterList>",
|
|
244
|
+
* ResourceContainerLaunchedAt: "<DateFilterList>",
|
|
245
|
+
* ResourceDetailsOther: [
|
|
246
|
+
* {
|
|
247
|
+
* Key: "STRING_VALUE",
|
|
248
|
+
* Value: "STRING_VALUE",
|
|
249
|
+
* Comparison: "EQUALS" || "NOT_EQUALS",
|
|
250
|
+
* },
|
|
251
|
+
* ],
|
|
252
|
+
* ComplianceStatus: "<StringFilterList>",
|
|
253
|
+
* VerificationState: "<StringFilterList>",
|
|
254
|
+
* WorkflowState: "<StringFilterList>",
|
|
255
|
+
* WorkflowStatus: "<StringFilterList>",
|
|
256
|
+
* RecordState: "<StringFilterList>",
|
|
257
|
+
* RelatedFindingsProductArn: "<StringFilterList>",
|
|
258
|
+
* RelatedFindingsId: "<StringFilterList>",
|
|
259
|
+
* NoteText: "<StringFilterList>",
|
|
260
|
+
* NoteUpdatedAt: "<DateFilterList>",
|
|
261
|
+
* NoteUpdatedBy: "<StringFilterList>",
|
|
262
|
+
* Keyword: [ // KeywordFilterList
|
|
263
|
+
* { // KeywordFilter
|
|
264
|
+
* Value: "STRING_VALUE",
|
|
265
|
+
* },
|
|
266
|
+
* ],
|
|
267
|
+
* FindingProviderFieldsConfidence: "<NumberFilterList>",
|
|
268
|
+
* FindingProviderFieldsCriticality: "<NumberFilterList>",
|
|
269
|
+
* FindingProviderFieldsRelatedFindingsId: "<StringFilterList>",
|
|
270
|
+
* FindingProviderFieldsRelatedFindingsProductArn: "<StringFilterList>",
|
|
271
|
+
* FindingProviderFieldsSeverityLabel: "<StringFilterList>",
|
|
272
|
+
* FindingProviderFieldsSeverityOriginal: "<StringFilterList>",
|
|
273
|
+
* FindingProviderFieldsTypes: "<StringFilterList>",
|
|
274
|
+
* Sample: [ // BooleanFilterList
|
|
275
|
+
* { // BooleanFilter
|
|
276
|
+
* Value: true || false,
|
|
277
|
+
* },
|
|
278
|
+
* ],
|
|
279
|
+
* ComplianceSecurityControlId: "<StringFilterList>",
|
|
280
|
+
* ComplianceAssociatedStandardsId: "<StringFilterList>",
|
|
281
|
+
* },
|
|
282
|
+
* SortCriteria: [ // SortCriteria
|
|
283
|
+
* { // SortCriterion
|
|
284
|
+
* Field: "STRING_VALUE",
|
|
285
|
+
* SortOrder: "asc" || "desc",
|
|
286
|
+
* },
|
|
287
|
+
* ],
|
|
288
|
+
* NextToken: "STRING_VALUE",
|
|
289
|
+
* MaxResults: Number("int"),
|
|
290
|
+
* };
|
|
30
291
|
* const command = new GetFindingsCommand(input);
|
|
31
292
|
* const response = await client.send(command);
|
|
32
293
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetInsightResultsCommandOutput extends GetInsightResultsRespons
|
|
|
26
26
|
* import { SecurityHubClient, GetInsightResultsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
27
27
|
* // const { SecurityHubClient, GetInsightResultsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
28
28
|
* const client = new SecurityHubClient(config);
|
|
29
|
+
* const input = { // GetInsightResultsRequest
|
|
30
|
+
* InsightArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetInsightResultsCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface GetInsightsCommandOutput extends GetInsightsResponse, __Metadat
|
|
|
26
26
|
* import { SecurityHubClient, GetInsightsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
27
27
|
* // const { SecurityHubClient, GetInsightsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
28
28
|
* const client = new SecurityHubClient(config);
|
|
29
|
+
* const input = { // GetInsightsRequest
|
|
30
|
+
* InsightArns: [ // ArnList
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* };
|
|
29
36
|
* const command = new GetInsightsCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -27,6 +27,7 @@ export interface GetInvitationsCountCommandOutput extends GetInvitationsCountRes
|
|
|
27
27
|
* import { SecurityHubClient, GetInvitationsCountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
28
28
|
* // const { SecurityHubClient, GetInvitationsCountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
29
29
|
* const client = new SecurityHubClient(config);
|
|
30
|
+
* const input = {};
|
|
30
31
|
* const command = new GetInvitationsCountCommand(input);
|
|
31
32
|
* const response = await client.send(command);
|
|
32
33
|
* ```
|
|
@@ -32,6 +32,7 @@ export interface GetMasterAccountCommandOutput extends GetMasterAccountResponse,
|
|
|
32
32
|
* import { SecurityHubClient, GetMasterAccountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
33
33
|
* // const { SecurityHubClient, GetMasterAccountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
34
34
|
* const client = new SecurityHubClient(config);
|
|
35
|
+
* const input = {};
|
|
35
36
|
* const command = new GetMasterAccountCommand(input);
|
|
36
37
|
* const response = await client.send(command);
|
|
37
38
|
* ```
|
|
@@ -30,6 +30,11 @@ export interface GetMembersCommandOutput extends GetMembersResponse, __MetadataB
|
|
|
30
30
|
* import { SecurityHubClient, GetMembersCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
31
31
|
* // const { SecurityHubClient, GetMembersCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
32
32
|
* const client = new SecurityHubClient(config);
|
|
33
|
+
* const input = { // GetMembersRequest
|
|
34
|
+
* AccountIds: [ // AccountIdList // required
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
33
38
|
* const command = new GetMembersCommand(input);
|
|
34
39
|
* const response = await client.send(command);
|
|
35
40
|
* ```
|
|
@@ -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 = { // InviteMembersRequest
|
|
36
|
+
* AccountIds: [ // AccountIdList // 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 = { // ListEnabledProductsForImportRequest
|
|
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 = { // ListFindingAggregatorsRequest
|
|
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 = { // ListInvitationsRequest
|
|
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 = { // ListMembersRequest
|
|
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 = { // ListOrganizationAdminAccountsRequest
|
|
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 = { // ListSecurityControlDefinitionsRequest
|
|
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 = { // ListStandardsControlAssociationsRequest
|
|
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 = { // ListTagsForResourceRequest
|
|
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 = { // TagResourceRequest
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* Tags: { // TagMap // 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 = { // UntagResourceRequest
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* TagKeys: [ // TagKeyList // 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 = { // UpdateActionTargetRequest
|
|
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 = { // UpdateFindingAggregatorRequest
|
|
32
|
+
* FindingAggregatorArn: "STRING_VALUE", // required
|
|
33
|
+
* RegionLinkingMode: "STRING_VALUE", // required
|
|
34
|
+
* Regions: [ // StringList
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
31
38
|
* const command = new UpdateFindingAggregatorCommand(input);
|
|
32
39
|
* const response = await client.send(command);
|
|
33
40
|
* ```
|