@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
|
@@ -31,6 +31,264 @@ export interface UpdateFindingsCommandOutput extends UpdateFindingsResponse, __M
|
|
|
31
31
|
* import { SecurityHubClient, UpdateFindingsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
32
32
|
* // const { SecurityHubClient, UpdateFindingsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
33
33
|
* const client = new SecurityHubClient(config);
|
|
34
|
+
* const input = { // UpdateFindingsRequest
|
|
35
|
+
* Filters: { // AwsSecurityFindingFilters
|
|
36
|
+
* ProductArn: [ // StringFilterList
|
|
37
|
+
* { // StringFilter
|
|
38
|
+
* Value: "STRING_VALUE",
|
|
39
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* AwsAccountId: [
|
|
43
|
+
* {
|
|
44
|
+
* Value: "STRING_VALUE",
|
|
45
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* Id: [
|
|
49
|
+
* {
|
|
50
|
+
* Value: "STRING_VALUE",
|
|
51
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* GeneratorId: [
|
|
55
|
+
* {
|
|
56
|
+
* Value: "STRING_VALUE",
|
|
57
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* Region: [
|
|
61
|
+
* {
|
|
62
|
+
* Value: "STRING_VALUE",
|
|
63
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
|
|
64
|
+
* },
|
|
65
|
+
* ],
|
|
66
|
+
* Type: "<StringFilterList>",
|
|
67
|
+
* FirstObservedAt: [ // DateFilterList
|
|
68
|
+
* { // DateFilter
|
|
69
|
+
* Start: "STRING_VALUE",
|
|
70
|
+
* End: "STRING_VALUE",
|
|
71
|
+
* DateRange: { // DateRange
|
|
72
|
+
* Value: Number("int"),
|
|
73
|
+
* Unit: "DAYS",
|
|
74
|
+
* },
|
|
75
|
+
* },
|
|
76
|
+
* ],
|
|
77
|
+
* LastObservedAt: [
|
|
78
|
+
* {
|
|
79
|
+
* Start: "STRING_VALUE",
|
|
80
|
+
* End: "STRING_VALUE",
|
|
81
|
+
* DateRange: {
|
|
82
|
+
* Value: Number("int"),
|
|
83
|
+
* Unit: "DAYS",
|
|
84
|
+
* },
|
|
85
|
+
* },
|
|
86
|
+
* ],
|
|
87
|
+
* CreatedAt: [
|
|
88
|
+
* {
|
|
89
|
+
* Start: "STRING_VALUE",
|
|
90
|
+
* End: "STRING_VALUE",
|
|
91
|
+
* DateRange: {
|
|
92
|
+
* Value: Number("int"),
|
|
93
|
+
* Unit: "DAYS",
|
|
94
|
+
* },
|
|
95
|
+
* },
|
|
96
|
+
* ],
|
|
97
|
+
* UpdatedAt: [
|
|
98
|
+
* {
|
|
99
|
+
* Start: "STRING_VALUE",
|
|
100
|
+
* End: "STRING_VALUE",
|
|
101
|
+
* DateRange: {
|
|
102
|
+
* Value: Number("int"),
|
|
103
|
+
* Unit: "DAYS",
|
|
104
|
+
* },
|
|
105
|
+
* },
|
|
106
|
+
* ],
|
|
107
|
+
* SeverityProduct: [ // NumberFilterList
|
|
108
|
+
* { // NumberFilter
|
|
109
|
+
* Gte: Number("double"),
|
|
110
|
+
* Lte: Number("double"),
|
|
111
|
+
* Eq: Number("double"),
|
|
112
|
+
* },
|
|
113
|
+
* ],
|
|
114
|
+
* SeverityNormalized: [
|
|
115
|
+
* {
|
|
116
|
+
* Gte: Number("double"),
|
|
117
|
+
* Lte: Number("double"),
|
|
118
|
+
* Eq: Number("double"),
|
|
119
|
+
* },
|
|
120
|
+
* ],
|
|
121
|
+
* SeverityLabel: "<StringFilterList>",
|
|
122
|
+
* Confidence: [
|
|
123
|
+
* {
|
|
124
|
+
* Gte: Number("double"),
|
|
125
|
+
* Lte: Number("double"),
|
|
126
|
+
* Eq: Number("double"),
|
|
127
|
+
* },
|
|
128
|
+
* ],
|
|
129
|
+
* Criticality: [
|
|
130
|
+
* {
|
|
131
|
+
* Gte: Number("double"),
|
|
132
|
+
* Lte: Number("double"),
|
|
133
|
+
* Eq: Number("double"),
|
|
134
|
+
* },
|
|
135
|
+
* ],
|
|
136
|
+
* Title: "<StringFilterList>",
|
|
137
|
+
* Description: "<StringFilterList>",
|
|
138
|
+
* RecommendationText: "<StringFilterList>",
|
|
139
|
+
* SourceUrl: "<StringFilterList>",
|
|
140
|
+
* ProductFields: [ // MapFilterList
|
|
141
|
+
* { // MapFilter
|
|
142
|
+
* Key: "STRING_VALUE",
|
|
143
|
+
* Value: "STRING_VALUE",
|
|
144
|
+
* Comparison: "EQUALS" || "NOT_EQUALS",
|
|
145
|
+
* },
|
|
146
|
+
* ],
|
|
147
|
+
* ProductName: "<StringFilterList>",
|
|
148
|
+
* CompanyName: "<StringFilterList>",
|
|
149
|
+
* UserDefinedFields: [
|
|
150
|
+
* {
|
|
151
|
+
* Key: "STRING_VALUE",
|
|
152
|
+
* Value: "STRING_VALUE",
|
|
153
|
+
* Comparison: "EQUALS" || "NOT_EQUALS",
|
|
154
|
+
* },
|
|
155
|
+
* ],
|
|
156
|
+
* MalwareName: "<StringFilterList>",
|
|
157
|
+
* MalwareType: "<StringFilterList>",
|
|
158
|
+
* MalwarePath: "<StringFilterList>",
|
|
159
|
+
* MalwareState: "<StringFilterList>",
|
|
160
|
+
* NetworkDirection: "<StringFilterList>",
|
|
161
|
+
* NetworkProtocol: "<StringFilterList>",
|
|
162
|
+
* NetworkSourceIpV4: [ // IpFilterList
|
|
163
|
+
* { // IpFilter
|
|
164
|
+
* Cidr: "STRING_VALUE",
|
|
165
|
+
* },
|
|
166
|
+
* ],
|
|
167
|
+
* NetworkSourceIpV6: [
|
|
168
|
+
* {
|
|
169
|
+
* Cidr: "STRING_VALUE",
|
|
170
|
+
* },
|
|
171
|
+
* ],
|
|
172
|
+
* NetworkSourcePort: [
|
|
173
|
+
* {
|
|
174
|
+
* Gte: Number("double"),
|
|
175
|
+
* Lte: Number("double"),
|
|
176
|
+
* Eq: Number("double"),
|
|
177
|
+
* },
|
|
178
|
+
* ],
|
|
179
|
+
* NetworkSourceDomain: "<StringFilterList>",
|
|
180
|
+
* NetworkSourceMac: "<StringFilterList>",
|
|
181
|
+
* NetworkDestinationIpV4: [
|
|
182
|
+
* {
|
|
183
|
+
* Cidr: "STRING_VALUE",
|
|
184
|
+
* },
|
|
185
|
+
* ],
|
|
186
|
+
* NetworkDestinationIpV6: [
|
|
187
|
+
* {
|
|
188
|
+
* Cidr: "STRING_VALUE",
|
|
189
|
+
* },
|
|
190
|
+
* ],
|
|
191
|
+
* NetworkDestinationPort: "<NumberFilterList>",
|
|
192
|
+
* NetworkDestinationDomain: "<StringFilterList>",
|
|
193
|
+
* ProcessName: "<StringFilterList>",
|
|
194
|
+
* ProcessPath: "<StringFilterList>",
|
|
195
|
+
* ProcessPid: "<NumberFilterList>",
|
|
196
|
+
* ProcessParentPid: "<NumberFilterList>",
|
|
197
|
+
* ProcessLaunchedAt: [
|
|
198
|
+
* {
|
|
199
|
+
* Start: "STRING_VALUE",
|
|
200
|
+
* End: "STRING_VALUE",
|
|
201
|
+
* DateRange: {
|
|
202
|
+
* Value: Number("int"),
|
|
203
|
+
* Unit: "DAYS",
|
|
204
|
+
* },
|
|
205
|
+
* },
|
|
206
|
+
* ],
|
|
207
|
+
* ProcessTerminatedAt: "<DateFilterList>",
|
|
208
|
+
* ThreatIntelIndicatorType: "<StringFilterList>",
|
|
209
|
+
* ThreatIntelIndicatorValue: "<StringFilterList>",
|
|
210
|
+
* ThreatIntelIndicatorCategory: "<StringFilterList>",
|
|
211
|
+
* ThreatIntelIndicatorLastObservedAt: "<DateFilterList>",
|
|
212
|
+
* ThreatIntelIndicatorSource: "<StringFilterList>",
|
|
213
|
+
* ThreatIntelIndicatorSourceUrl: "<StringFilterList>",
|
|
214
|
+
* ResourceType: "<StringFilterList>",
|
|
215
|
+
* ResourceId: "<StringFilterList>",
|
|
216
|
+
* ResourcePartition: "<StringFilterList>",
|
|
217
|
+
* ResourceRegion: "<StringFilterList>",
|
|
218
|
+
* ResourceTags: [
|
|
219
|
+
* {
|
|
220
|
+
* Key: "STRING_VALUE",
|
|
221
|
+
* Value: "STRING_VALUE",
|
|
222
|
+
* Comparison: "EQUALS" || "NOT_EQUALS",
|
|
223
|
+
* },
|
|
224
|
+
* ],
|
|
225
|
+
* ResourceAwsEc2InstanceType: "<StringFilterList>",
|
|
226
|
+
* ResourceAwsEc2InstanceImageId: "<StringFilterList>",
|
|
227
|
+
* ResourceAwsEc2InstanceIpV4Addresses: [
|
|
228
|
+
* {
|
|
229
|
+
* Cidr: "STRING_VALUE",
|
|
230
|
+
* },
|
|
231
|
+
* ],
|
|
232
|
+
* ResourceAwsEc2InstanceIpV6Addresses: "<IpFilterList>",
|
|
233
|
+
* ResourceAwsEc2InstanceKeyName: "<StringFilterList>",
|
|
234
|
+
* ResourceAwsEc2InstanceIamInstanceProfileArn: "<StringFilterList>",
|
|
235
|
+
* ResourceAwsEc2InstanceVpcId: "<StringFilterList>",
|
|
236
|
+
* ResourceAwsEc2InstanceSubnetId: "<StringFilterList>",
|
|
237
|
+
* ResourceAwsEc2InstanceLaunchedAt: "<DateFilterList>",
|
|
238
|
+
* ResourceAwsS3BucketOwnerId: "<StringFilterList>",
|
|
239
|
+
* ResourceAwsS3BucketOwnerName: "<StringFilterList>",
|
|
240
|
+
* ResourceAwsIamAccessKeyUserName: "<StringFilterList>",
|
|
241
|
+
* ResourceAwsIamAccessKeyPrincipalName: "<StringFilterList>",
|
|
242
|
+
* ResourceAwsIamAccessKeyStatus: "<StringFilterList>",
|
|
243
|
+
* ResourceAwsIamAccessKeyCreatedAt: "<DateFilterList>",
|
|
244
|
+
* ResourceAwsIamUserUserName: "<StringFilterList>",
|
|
245
|
+
* ResourceContainerName: "<StringFilterList>",
|
|
246
|
+
* ResourceContainerImageId: "<StringFilterList>",
|
|
247
|
+
* ResourceContainerImageName: "<StringFilterList>",
|
|
248
|
+
* ResourceContainerLaunchedAt: "<DateFilterList>",
|
|
249
|
+
* ResourceDetailsOther: [
|
|
250
|
+
* {
|
|
251
|
+
* Key: "STRING_VALUE",
|
|
252
|
+
* Value: "STRING_VALUE",
|
|
253
|
+
* Comparison: "EQUALS" || "NOT_EQUALS",
|
|
254
|
+
* },
|
|
255
|
+
* ],
|
|
256
|
+
* ComplianceStatus: "<StringFilterList>",
|
|
257
|
+
* VerificationState: "<StringFilterList>",
|
|
258
|
+
* WorkflowState: "<StringFilterList>",
|
|
259
|
+
* WorkflowStatus: "<StringFilterList>",
|
|
260
|
+
* RecordState: "<StringFilterList>",
|
|
261
|
+
* RelatedFindingsProductArn: "<StringFilterList>",
|
|
262
|
+
* RelatedFindingsId: "<StringFilterList>",
|
|
263
|
+
* NoteText: "<StringFilterList>",
|
|
264
|
+
* NoteUpdatedAt: "<DateFilterList>",
|
|
265
|
+
* NoteUpdatedBy: "<StringFilterList>",
|
|
266
|
+
* Keyword: [ // KeywordFilterList
|
|
267
|
+
* { // KeywordFilter
|
|
268
|
+
* Value: "STRING_VALUE",
|
|
269
|
+
* },
|
|
270
|
+
* ],
|
|
271
|
+
* FindingProviderFieldsConfidence: "<NumberFilterList>",
|
|
272
|
+
* FindingProviderFieldsCriticality: "<NumberFilterList>",
|
|
273
|
+
* FindingProviderFieldsRelatedFindingsId: "<StringFilterList>",
|
|
274
|
+
* FindingProviderFieldsRelatedFindingsProductArn: "<StringFilterList>",
|
|
275
|
+
* FindingProviderFieldsSeverityLabel: "<StringFilterList>",
|
|
276
|
+
* FindingProviderFieldsSeverityOriginal: "<StringFilterList>",
|
|
277
|
+
* FindingProviderFieldsTypes: "<StringFilterList>",
|
|
278
|
+
* Sample: [ // BooleanFilterList
|
|
279
|
+
* { // BooleanFilter
|
|
280
|
+
* Value: true || false,
|
|
281
|
+
* },
|
|
282
|
+
* ],
|
|
283
|
+
* ComplianceSecurityControlId: "<StringFilterList>",
|
|
284
|
+
* ComplianceAssociatedStandardsId: "<StringFilterList>",
|
|
285
|
+
* },
|
|
286
|
+
* Note: { // NoteUpdate
|
|
287
|
+
* Text: "STRING_VALUE", // required
|
|
288
|
+
* UpdatedBy: "STRING_VALUE", // required
|
|
289
|
+
* },
|
|
290
|
+
* RecordState: "ACTIVE" || "ARCHIVED",
|
|
291
|
+
* };
|
|
34
292
|
* const command = new UpdateFindingsCommand(input);
|
|
35
293
|
* const response = await client.send(command);
|
|
36
294
|
* ```
|
|
@@ -26,6 +26,262 @@ export interface UpdateInsightCommandOutput extends UpdateInsightResponse, __Met
|
|
|
26
26
|
* import { SecurityHubClient, UpdateInsightCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
27
27
|
* // const { SecurityHubClient, UpdateInsightCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
28
28
|
* const client = new SecurityHubClient(config);
|
|
29
|
+
* const input = { // UpdateInsightRequest
|
|
30
|
+
* InsightArn: "STRING_VALUE", // required
|
|
31
|
+
* Name: "STRING_VALUE",
|
|
32
|
+
* Filters: { // AwsSecurityFindingFilters
|
|
33
|
+
* ProductArn: [ // StringFilterList
|
|
34
|
+
* { // StringFilter
|
|
35
|
+
* Value: "STRING_VALUE",
|
|
36
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* AwsAccountId: [
|
|
40
|
+
* {
|
|
41
|
+
* Value: "STRING_VALUE",
|
|
42
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* Id: [
|
|
46
|
+
* {
|
|
47
|
+
* Value: "STRING_VALUE",
|
|
48
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* GeneratorId: [
|
|
52
|
+
* {
|
|
53
|
+
* Value: "STRING_VALUE",
|
|
54
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* Region: [
|
|
58
|
+
* {
|
|
59
|
+
* Value: "STRING_VALUE",
|
|
60
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* Type: "<StringFilterList>",
|
|
64
|
+
* FirstObservedAt: [ // DateFilterList
|
|
65
|
+
* { // DateFilter
|
|
66
|
+
* Start: "STRING_VALUE",
|
|
67
|
+
* End: "STRING_VALUE",
|
|
68
|
+
* DateRange: { // DateRange
|
|
69
|
+
* Value: Number("int"),
|
|
70
|
+
* Unit: "DAYS",
|
|
71
|
+
* },
|
|
72
|
+
* },
|
|
73
|
+
* ],
|
|
74
|
+
* LastObservedAt: [
|
|
75
|
+
* {
|
|
76
|
+
* Start: "STRING_VALUE",
|
|
77
|
+
* End: "STRING_VALUE",
|
|
78
|
+
* DateRange: {
|
|
79
|
+
* Value: Number("int"),
|
|
80
|
+
* Unit: "DAYS",
|
|
81
|
+
* },
|
|
82
|
+
* },
|
|
83
|
+
* ],
|
|
84
|
+
* CreatedAt: [
|
|
85
|
+
* {
|
|
86
|
+
* Start: "STRING_VALUE",
|
|
87
|
+
* End: "STRING_VALUE",
|
|
88
|
+
* DateRange: {
|
|
89
|
+
* Value: Number("int"),
|
|
90
|
+
* Unit: "DAYS",
|
|
91
|
+
* },
|
|
92
|
+
* },
|
|
93
|
+
* ],
|
|
94
|
+
* UpdatedAt: [
|
|
95
|
+
* {
|
|
96
|
+
* Start: "STRING_VALUE",
|
|
97
|
+
* End: "STRING_VALUE",
|
|
98
|
+
* DateRange: {
|
|
99
|
+
* Value: Number("int"),
|
|
100
|
+
* Unit: "DAYS",
|
|
101
|
+
* },
|
|
102
|
+
* },
|
|
103
|
+
* ],
|
|
104
|
+
* SeverityProduct: [ // NumberFilterList
|
|
105
|
+
* { // NumberFilter
|
|
106
|
+
* Gte: Number("double"),
|
|
107
|
+
* Lte: Number("double"),
|
|
108
|
+
* Eq: Number("double"),
|
|
109
|
+
* },
|
|
110
|
+
* ],
|
|
111
|
+
* SeverityNormalized: [
|
|
112
|
+
* {
|
|
113
|
+
* Gte: Number("double"),
|
|
114
|
+
* Lte: Number("double"),
|
|
115
|
+
* Eq: Number("double"),
|
|
116
|
+
* },
|
|
117
|
+
* ],
|
|
118
|
+
* SeverityLabel: "<StringFilterList>",
|
|
119
|
+
* Confidence: [
|
|
120
|
+
* {
|
|
121
|
+
* Gte: Number("double"),
|
|
122
|
+
* Lte: Number("double"),
|
|
123
|
+
* Eq: Number("double"),
|
|
124
|
+
* },
|
|
125
|
+
* ],
|
|
126
|
+
* Criticality: [
|
|
127
|
+
* {
|
|
128
|
+
* Gte: Number("double"),
|
|
129
|
+
* Lte: Number("double"),
|
|
130
|
+
* Eq: Number("double"),
|
|
131
|
+
* },
|
|
132
|
+
* ],
|
|
133
|
+
* Title: "<StringFilterList>",
|
|
134
|
+
* Description: "<StringFilterList>",
|
|
135
|
+
* RecommendationText: "<StringFilterList>",
|
|
136
|
+
* SourceUrl: "<StringFilterList>",
|
|
137
|
+
* ProductFields: [ // MapFilterList
|
|
138
|
+
* { // MapFilter
|
|
139
|
+
* Key: "STRING_VALUE",
|
|
140
|
+
* Value: "STRING_VALUE",
|
|
141
|
+
* Comparison: "EQUALS" || "NOT_EQUALS",
|
|
142
|
+
* },
|
|
143
|
+
* ],
|
|
144
|
+
* ProductName: "<StringFilterList>",
|
|
145
|
+
* CompanyName: "<StringFilterList>",
|
|
146
|
+
* UserDefinedFields: [
|
|
147
|
+
* {
|
|
148
|
+
* Key: "STRING_VALUE",
|
|
149
|
+
* Value: "STRING_VALUE",
|
|
150
|
+
* Comparison: "EQUALS" || "NOT_EQUALS",
|
|
151
|
+
* },
|
|
152
|
+
* ],
|
|
153
|
+
* MalwareName: "<StringFilterList>",
|
|
154
|
+
* MalwareType: "<StringFilterList>",
|
|
155
|
+
* MalwarePath: "<StringFilterList>",
|
|
156
|
+
* MalwareState: "<StringFilterList>",
|
|
157
|
+
* NetworkDirection: "<StringFilterList>",
|
|
158
|
+
* NetworkProtocol: "<StringFilterList>",
|
|
159
|
+
* NetworkSourceIpV4: [ // IpFilterList
|
|
160
|
+
* { // IpFilter
|
|
161
|
+
* Cidr: "STRING_VALUE",
|
|
162
|
+
* },
|
|
163
|
+
* ],
|
|
164
|
+
* NetworkSourceIpV6: [
|
|
165
|
+
* {
|
|
166
|
+
* Cidr: "STRING_VALUE",
|
|
167
|
+
* },
|
|
168
|
+
* ],
|
|
169
|
+
* NetworkSourcePort: [
|
|
170
|
+
* {
|
|
171
|
+
* Gte: Number("double"),
|
|
172
|
+
* Lte: Number("double"),
|
|
173
|
+
* Eq: Number("double"),
|
|
174
|
+
* },
|
|
175
|
+
* ],
|
|
176
|
+
* NetworkSourceDomain: "<StringFilterList>",
|
|
177
|
+
* NetworkSourceMac: "<StringFilterList>",
|
|
178
|
+
* NetworkDestinationIpV4: [
|
|
179
|
+
* {
|
|
180
|
+
* Cidr: "STRING_VALUE",
|
|
181
|
+
* },
|
|
182
|
+
* ],
|
|
183
|
+
* NetworkDestinationIpV6: [
|
|
184
|
+
* {
|
|
185
|
+
* Cidr: "STRING_VALUE",
|
|
186
|
+
* },
|
|
187
|
+
* ],
|
|
188
|
+
* NetworkDestinationPort: "<NumberFilterList>",
|
|
189
|
+
* NetworkDestinationDomain: "<StringFilterList>",
|
|
190
|
+
* ProcessName: "<StringFilterList>",
|
|
191
|
+
* ProcessPath: "<StringFilterList>",
|
|
192
|
+
* ProcessPid: "<NumberFilterList>",
|
|
193
|
+
* ProcessParentPid: "<NumberFilterList>",
|
|
194
|
+
* ProcessLaunchedAt: [
|
|
195
|
+
* {
|
|
196
|
+
* Start: "STRING_VALUE",
|
|
197
|
+
* End: "STRING_VALUE",
|
|
198
|
+
* DateRange: {
|
|
199
|
+
* Value: Number("int"),
|
|
200
|
+
* Unit: "DAYS",
|
|
201
|
+
* },
|
|
202
|
+
* },
|
|
203
|
+
* ],
|
|
204
|
+
* ProcessTerminatedAt: "<DateFilterList>",
|
|
205
|
+
* ThreatIntelIndicatorType: "<StringFilterList>",
|
|
206
|
+
* ThreatIntelIndicatorValue: "<StringFilterList>",
|
|
207
|
+
* ThreatIntelIndicatorCategory: "<StringFilterList>",
|
|
208
|
+
* ThreatIntelIndicatorLastObservedAt: "<DateFilterList>",
|
|
209
|
+
* ThreatIntelIndicatorSource: "<StringFilterList>",
|
|
210
|
+
* ThreatIntelIndicatorSourceUrl: "<StringFilterList>",
|
|
211
|
+
* ResourceType: "<StringFilterList>",
|
|
212
|
+
* ResourceId: "<StringFilterList>",
|
|
213
|
+
* ResourcePartition: "<StringFilterList>",
|
|
214
|
+
* ResourceRegion: "<StringFilterList>",
|
|
215
|
+
* ResourceTags: [
|
|
216
|
+
* {
|
|
217
|
+
* Key: "STRING_VALUE",
|
|
218
|
+
* Value: "STRING_VALUE",
|
|
219
|
+
* Comparison: "EQUALS" || "NOT_EQUALS",
|
|
220
|
+
* },
|
|
221
|
+
* ],
|
|
222
|
+
* ResourceAwsEc2InstanceType: "<StringFilterList>",
|
|
223
|
+
* ResourceAwsEc2InstanceImageId: "<StringFilterList>",
|
|
224
|
+
* ResourceAwsEc2InstanceIpV4Addresses: [
|
|
225
|
+
* {
|
|
226
|
+
* Cidr: "STRING_VALUE",
|
|
227
|
+
* },
|
|
228
|
+
* ],
|
|
229
|
+
* ResourceAwsEc2InstanceIpV6Addresses: "<IpFilterList>",
|
|
230
|
+
* ResourceAwsEc2InstanceKeyName: "<StringFilterList>",
|
|
231
|
+
* ResourceAwsEc2InstanceIamInstanceProfileArn: "<StringFilterList>",
|
|
232
|
+
* ResourceAwsEc2InstanceVpcId: "<StringFilterList>",
|
|
233
|
+
* ResourceAwsEc2InstanceSubnetId: "<StringFilterList>",
|
|
234
|
+
* ResourceAwsEc2InstanceLaunchedAt: "<DateFilterList>",
|
|
235
|
+
* ResourceAwsS3BucketOwnerId: "<StringFilterList>",
|
|
236
|
+
* ResourceAwsS3BucketOwnerName: "<StringFilterList>",
|
|
237
|
+
* ResourceAwsIamAccessKeyUserName: "<StringFilterList>",
|
|
238
|
+
* ResourceAwsIamAccessKeyPrincipalName: "<StringFilterList>",
|
|
239
|
+
* ResourceAwsIamAccessKeyStatus: "<StringFilterList>",
|
|
240
|
+
* ResourceAwsIamAccessKeyCreatedAt: "<DateFilterList>",
|
|
241
|
+
* ResourceAwsIamUserUserName: "<StringFilterList>",
|
|
242
|
+
* ResourceContainerName: "<StringFilterList>",
|
|
243
|
+
* ResourceContainerImageId: "<StringFilterList>",
|
|
244
|
+
* ResourceContainerImageName: "<StringFilterList>",
|
|
245
|
+
* ResourceContainerLaunchedAt: "<DateFilterList>",
|
|
246
|
+
* ResourceDetailsOther: [
|
|
247
|
+
* {
|
|
248
|
+
* Key: "STRING_VALUE",
|
|
249
|
+
* Value: "STRING_VALUE",
|
|
250
|
+
* Comparison: "EQUALS" || "NOT_EQUALS",
|
|
251
|
+
* },
|
|
252
|
+
* ],
|
|
253
|
+
* ComplianceStatus: "<StringFilterList>",
|
|
254
|
+
* VerificationState: "<StringFilterList>",
|
|
255
|
+
* WorkflowState: "<StringFilterList>",
|
|
256
|
+
* WorkflowStatus: "<StringFilterList>",
|
|
257
|
+
* RecordState: "<StringFilterList>",
|
|
258
|
+
* RelatedFindingsProductArn: "<StringFilterList>",
|
|
259
|
+
* RelatedFindingsId: "<StringFilterList>",
|
|
260
|
+
* NoteText: "<StringFilterList>",
|
|
261
|
+
* NoteUpdatedAt: "<DateFilterList>",
|
|
262
|
+
* NoteUpdatedBy: "<StringFilterList>",
|
|
263
|
+
* Keyword: [ // KeywordFilterList
|
|
264
|
+
* { // KeywordFilter
|
|
265
|
+
* Value: "STRING_VALUE",
|
|
266
|
+
* },
|
|
267
|
+
* ],
|
|
268
|
+
* FindingProviderFieldsConfidence: "<NumberFilterList>",
|
|
269
|
+
* FindingProviderFieldsCriticality: "<NumberFilterList>",
|
|
270
|
+
* FindingProviderFieldsRelatedFindingsId: "<StringFilterList>",
|
|
271
|
+
* FindingProviderFieldsRelatedFindingsProductArn: "<StringFilterList>",
|
|
272
|
+
* FindingProviderFieldsSeverityLabel: "<StringFilterList>",
|
|
273
|
+
* FindingProviderFieldsSeverityOriginal: "<StringFilterList>",
|
|
274
|
+
* FindingProviderFieldsTypes: "<StringFilterList>",
|
|
275
|
+
* Sample: [ // BooleanFilterList
|
|
276
|
+
* { // BooleanFilter
|
|
277
|
+
* Value: true || false,
|
|
278
|
+
* },
|
|
279
|
+
* ],
|
|
280
|
+
* ComplianceSecurityControlId: "<StringFilterList>",
|
|
281
|
+
* ComplianceAssociatedStandardsId: "<StringFilterList>",
|
|
282
|
+
* },
|
|
283
|
+
* GroupByAttribute: "STRING_VALUE",
|
|
284
|
+
* };
|
|
29
285
|
* const command = new UpdateInsightCommand(input);
|
|
30
286
|
* const response = await client.send(command);
|
|
31
287
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface UpdateOrganizationConfigurationCommandOutput extends UpdateOrga
|
|
|
27
27
|
* import { SecurityHubClient, UpdateOrganizationConfigurationCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
28
28
|
* // const { SecurityHubClient, UpdateOrganizationConfigurationCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
29
29
|
* const client = new SecurityHubClient(config);
|
|
30
|
+
* const input = { // UpdateOrganizationConfigurationRequest
|
|
31
|
+
* AutoEnable: true || false, // required
|
|
32
|
+
* AutoEnableStandards: "NONE" || "DEFAULT",
|
|
33
|
+
* };
|
|
30
34
|
* const command = new UpdateOrganizationConfigurationCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface UpdateSecurityHubConfigurationCommandOutput extends UpdateSecur
|
|
|
26
26
|
* import { SecurityHubClient, UpdateSecurityHubConfigurationCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
27
27
|
* // const { SecurityHubClient, UpdateSecurityHubConfigurationCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
28
28
|
* const client = new SecurityHubClient(config);
|
|
29
|
+
* const input = { // UpdateSecurityHubConfigurationRequest
|
|
30
|
+
* AutoEnableControls: true || false,
|
|
31
|
+
* ControlFindingGenerator: "STANDARD_CONTROL" || "SECURITY_CONTROL",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new UpdateSecurityHubConfigurationCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface UpdateStandardsControlCommandOutput extends UpdateStandardsCont
|
|
|
27
27
|
* import { SecurityHubClient, UpdateStandardsControlCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
28
28
|
* // const { SecurityHubClient, UpdateStandardsControlCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
29
29
|
* const client = new SecurityHubClient(config);
|
|
30
|
+
* const input = { // UpdateStandardsControlRequest
|
|
31
|
+
* StandardsControlArn: "STRING_VALUE", // required
|
|
32
|
+
* ControlStatus: "ENABLED" || "DISABLED",
|
|
33
|
+
* DisabledReason: "STRING_VALUE",
|
|
34
|
+
* };
|
|
30
35
|
* const command = new UpdateStandardsControlCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|