@aws-sdk/client-inspector2 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-types/commands/AssociateMemberCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +5 -0
- package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +5 -0
- package/dist-types/commands/CancelFindingsReportCommand.d.ts +3 -0
- package/dist-types/commands/CreateFilterCommand.d.ts +266 -0
- package/dist-types/commands/CreateFindingsReportCommand.d.ts +265 -0
- package/dist-types/commands/DeleteFilterCommand.d.ts +3 -0
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/DisableCommand.d.ts +8 -0
- package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +3 -0
- package/dist-types/commands/DisassociateMemberCommand.d.ts +3 -0
- package/dist-types/commands/EnableCommand.d.ts +9 -0
- package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +4 -0
- package/dist-types/commands/GetConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +1 -0
- package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +3 -0
- package/dist-types/commands/GetMemberCommand.d.ts +3 -0
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +5 -0
- package/dist-types/commands/ListCoverageCommand.d.ts +80 -0
- package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +80 -0
- package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +4 -0
- package/dist-types/commands/ListFiltersCommand.d.ts +8 -0
- package/dist-types/commands/ListFindingAggregationsCommand.d.ts +208 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +265 -0
- package/dist-types/commands/ListMembersCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListUsageTotalsCommand.d.ts +7 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateConfigurationCommand.d.ts +5 -0
- package/dist-types/commands/UpdateFilterCommand.d.ts +264 -0
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +7 -0
- package/package.json +12 -12
|
@@ -26,6 +26,271 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
|
|
|
26
26
|
* import { Inspector2Client, ListFindingsCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, ListFindingsCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* maxResults: Number("int"),
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* filterCriteria: {
|
|
33
|
+
* findingArn: [
|
|
34
|
+
* {
|
|
35
|
+
* comparison: "STRING_VALUE", // required
|
|
36
|
+
* value: "STRING_VALUE", // required
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* awsAccountId: [
|
|
40
|
+
* {
|
|
41
|
+
* comparison: "STRING_VALUE", // required
|
|
42
|
+
* value: "STRING_VALUE", // required
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* findingType: [
|
|
46
|
+
* {
|
|
47
|
+
* comparison: "STRING_VALUE", // required
|
|
48
|
+
* value: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* severity: [
|
|
52
|
+
* {
|
|
53
|
+
* comparison: "STRING_VALUE", // required
|
|
54
|
+
* value: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* firstObservedAt: [
|
|
58
|
+
* {
|
|
59
|
+
* startInclusive: new Date("TIMESTAMP"),
|
|
60
|
+
* endInclusive: new Date("TIMESTAMP"),
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* lastObservedAt: [
|
|
64
|
+
* {
|
|
65
|
+
* startInclusive: new Date("TIMESTAMP"),
|
|
66
|
+
* endInclusive: new Date("TIMESTAMP"),
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
69
|
+
* updatedAt: [
|
|
70
|
+
* {
|
|
71
|
+
* startInclusive: new Date("TIMESTAMP"),
|
|
72
|
+
* endInclusive: new Date("TIMESTAMP"),
|
|
73
|
+
* },
|
|
74
|
+
* ],
|
|
75
|
+
* findingStatus: [
|
|
76
|
+
* {
|
|
77
|
+
* comparison: "STRING_VALUE", // required
|
|
78
|
+
* value: "STRING_VALUE", // required
|
|
79
|
+
* },
|
|
80
|
+
* ],
|
|
81
|
+
* title: [
|
|
82
|
+
* {
|
|
83
|
+
* comparison: "STRING_VALUE", // required
|
|
84
|
+
* value: "STRING_VALUE", // required
|
|
85
|
+
* },
|
|
86
|
+
* ],
|
|
87
|
+
* inspectorScore: [
|
|
88
|
+
* {
|
|
89
|
+
* upperInclusive: Number("double"),
|
|
90
|
+
* lowerInclusive: Number("double"),
|
|
91
|
+
* },
|
|
92
|
+
* ],
|
|
93
|
+
* resourceType: [
|
|
94
|
+
* {
|
|
95
|
+
* comparison: "STRING_VALUE", // required
|
|
96
|
+
* value: "STRING_VALUE", // required
|
|
97
|
+
* },
|
|
98
|
+
* ],
|
|
99
|
+
* resourceId: [
|
|
100
|
+
* {
|
|
101
|
+
* comparison: "STRING_VALUE", // required
|
|
102
|
+
* value: "STRING_VALUE", // required
|
|
103
|
+
* },
|
|
104
|
+
* ],
|
|
105
|
+
* resourceTags: [
|
|
106
|
+
* {
|
|
107
|
+
* comparison: "STRING_VALUE", // required
|
|
108
|
+
* key: "STRING_VALUE", // required
|
|
109
|
+
* value: "STRING_VALUE",
|
|
110
|
+
* },
|
|
111
|
+
* ],
|
|
112
|
+
* ec2InstanceImageId: [
|
|
113
|
+
* {
|
|
114
|
+
* comparison: "STRING_VALUE", // required
|
|
115
|
+
* value: "STRING_VALUE", // required
|
|
116
|
+
* },
|
|
117
|
+
* ],
|
|
118
|
+
* ec2InstanceVpcId: [
|
|
119
|
+
* {
|
|
120
|
+
* comparison: "STRING_VALUE", // required
|
|
121
|
+
* value: "STRING_VALUE", // required
|
|
122
|
+
* },
|
|
123
|
+
* ],
|
|
124
|
+
* ec2InstanceSubnetId: [
|
|
125
|
+
* {
|
|
126
|
+
* comparison: "STRING_VALUE", // required
|
|
127
|
+
* value: "STRING_VALUE", // required
|
|
128
|
+
* },
|
|
129
|
+
* ],
|
|
130
|
+
* ecrImagePushedAt: [
|
|
131
|
+
* {
|
|
132
|
+
* startInclusive: new Date("TIMESTAMP"),
|
|
133
|
+
* endInclusive: new Date("TIMESTAMP"),
|
|
134
|
+
* },
|
|
135
|
+
* ],
|
|
136
|
+
* ecrImageArchitecture: [
|
|
137
|
+
* {
|
|
138
|
+
* comparison: "STRING_VALUE", // required
|
|
139
|
+
* value: "STRING_VALUE", // required
|
|
140
|
+
* },
|
|
141
|
+
* ],
|
|
142
|
+
* ecrImageRegistry: [
|
|
143
|
+
* {
|
|
144
|
+
* comparison: "STRING_VALUE", // required
|
|
145
|
+
* value: "STRING_VALUE", // required
|
|
146
|
+
* },
|
|
147
|
+
* ],
|
|
148
|
+
* ecrImageRepositoryName: [
|
|
149
|
+
* {
|
|
150
|
+
* comparison: "STRING_VALUE", // required
|
|
151
|
+
* value: "STRING_VALUE", // required
|
|
152
|
+
* },
|
|
153
|
+
* ],
|
|
154
|
+
* ecrImageTags: [
|
|
155
|
+
* {
|
|
156
|
+
* comparison: "STRING_VALUE", // required
|
|
157
|
+
* value: "STRING_VALUE", // required
|
|
158
|
+
* },
|
|
159
|
+
* ],
|
|
160
|
+
* ecrImageHash: [
|
|
161
|
+
* {
|
|
162
|
+
* comparison: "STRING_VALUE", // required
|
|
163
|
+
* value: "STRING_VALUE", // required
|
|
164
|
+
* },
|
|
165
|
+
* ],
|
|
166
|
+
* portRange: [
|
|
167
|
+
* {
|
|
168
|
+
* beginInclusive: Number("int"),
|
|
169
|
+
* endInclusive: Number("int"),
|
|
170
|
+
* },
|
|
171
|
+
* ],
|
|
172
|
+
* networkProtocol: [
|
|
173
|
+
* {
|
|
174
|
+
* comparison: "STRING_VALUE", // required
|
|
175
|
+
* value: "STRING_VALUE", // required
|
|
176
|
+
* },
|
|
177
|
+
* ],
|
|
178
|
+
* componentId: [
|
|
179
|
+
* {
|
|
180
|
+
* comparison: "STRING_VALUE", // required
|
|
181
|
+
* value: "STRING_VALUE", // required
|
|
182
|
+
* },
|
|
183
|
+
* ],
|
|
184
|
+
* componentType: [
|
|
185
|
+
* {
|
|
186
|
+
* comparison: "STRING_VALUE", // required
|
|
187
|
+
* value: "STRING_VALUE", // required
|
|
188
|
+
* },
|
|
189
|
+
* ],
|
|
190
|
+
* vulnerabilityId: [
|
|
191
|
+
* {
|
|
192
|
+
* comparison: "STRING_VALUE", // required
|
|
193
|
+
* value: "STRING_VALUE", // required
|
|
194
|
+
* },
|
|
195
|
+
* ],
|
|
196
|
+
* vulnerabilitySource: [
|
|
197
|
+
* {
|
|
198
|
+
* comparison: "STRING_VALUE", // required
|
|
199
|
+
* value: "STRING_VALUE", // required
|
|
200
|
+
* },
|
|
201
|
+
* ],
|
|
202
|
+
* vendorSeverity: [
|
|
203
|
+
* {
|
|
204
|
+
* comparison: "STRING_VALUE", // required
|
|
205
|
+
* value: "STRING_VALUE", // required
|
|
206
|
+
* },
|
|
207
|
+
* ],
|
|
208
|
+
* vulnerablePackages: [
|
|
209
|
+
* {
|
|
210
|
+
* name: {
|
|
211
|
+
* comparison: "STRING_VALUE", // required
|
|
212
|
+
* value: "STRING_VALUE", // required
|
|
213
|
+
* },
|
|
214
|
+
* version: {
|
|
215
|
+
* comparison: "STRING_VALUE", // required
|
|
216
|
+
* value: "STRING_VALUE", // required
|
|
217
|
+
* },
|
|
218
|
+
* epoch: {
|
|
219
|
+
* upperInclusive: Number("double"),
|
|
220
|
+
* lowerInclusive: Number("double"),
|
|
221
|
+
* },
|
|
222
|
+
* release: {
|
|
223
|
+
* comparison: "STRING_VALUE", // required
|
|
224
|
+
* value: "STRING_VALUE", // required
|
|
225
|
+
* },
|
|
226
|
+
* architecture: {
|
|
227
|
+
* comparison: "STRING_VALUE", // required
|
|
228
|
+
* value: "STRING_VALUE", // required
|
|
229
|
+
* },
|
|
230
|
+
* sourceLayerHash: {
|
|
231
|
+
* comparison: "STRING_VALUE", // required
|
|
232
|
+
* value: "STRING_VALUE", // required
|
|
233
|
+
* },
|
|
234
|
+
* sourceLambdaLayerArn: {
|
|
235
|
+
* comparison: "STRING_VALUE", // required
|
|
236
|
+
* value: "STRING_VALUE", // required
|
|
237
|
+
* },
|
|
238
|
+
* },
|
|
239
|
+
* ],
|
|
240
|
+
* relatedVulnerabilities: [
|
|
241
|
+
* {
|
|
242
|
+
* comparison: "STRING_VALUE", // required
|
|
243
|
+
* value: "STRING_VALUE", // required
|
|
244
|
+
* },
|
|
245
|
+
* ],
|
|
246
|
+
* fixAvailable: [
|
|
247
|
+
* {
|
|
248
|
+
* comparison: "STRING_VALUE", // required
|
|
249
|
+
* value: "STRING_VALUE", // required
|
|
250
|
+
* },
|
|
251
|
+
* ],
|
|
252
|
+
* lambdaFunctionName: [
|
|
253
|
+
* {
|
|
254
|
+
* comparison: "STRING_VALUE", // required
|
|
255
|
+
* value: "STRING_VALUE", // required
|
|
256
|
+
* },
|
|
257
|
+
* ],
|
|
258
|
+
* lambdaFunctionLayers: [
|
|
259
|
+
* {
|
|
260
|
+
* comparison: "STRING_VALUE", // required
|
|
261
|
+
* value: "STRING_VALUE", // required
|
|
262
|
+
* },
|
|
263
|
+
* ],
|
|
264
|
+
* lambdaFunctionRuntime: [
|
|
265
|
+
* {
|
|
266
|
+
* comparison: "STRING_VALUE", // required
|
|
267
|
+
* value: "STRING_VALUE", // required
|
|
268
|
+
* },
|
|
269
|
+
* ],
|
|
270
|
+
* lambdaFunctionLastModifiedAt: [
|
|
271
|
+
* {
|
|
272
|
+
* startInclusive: new Date("TIMESTAMP"),
|
|
273
|
+
* endInclusive: new Date("TIMESTAMP"),
|
|
274
|
+
* },
|
|
275
|
+
* ],
|
|
276
|
+
* lambdaFunctionExecutionRoleArn: [
|
|
277
|
+
* {
|
|
278
|
+
* comparison: "STRING_VALUE", // required
|
|
279
|
+
* value: "STRING_VALUE", // required
|
|
280
|
+
* },
|
|
281
|
+
* ],
|
|
282
|
+
* exploitAvailable: [
|
|
283
|
+
* {
|
|
284
|
+
* comparison: "STRING_VALUE", // required
|
|
285
|
+
* value: "STRING_VALUE", // required
|
|
286
|
+
* },
|
|
287
|
+
* ],
|
|
288
|
+
* },
|
|
289
|
+
* sortCriteria: {
|
|
290
|
+
* field: "STRING_VALUE", // required
|
|
291
|
+
* sortOrder: "STRING_VALUE", // required
|
|
292
|
+
* },
|
|
293
|
+
* };
|
|
29
294
|
* const command = new ListFindingsCommand(input);
|
|
30
295
|
* const response = await client.send(command);
|
|
31
296
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListMembersCommandOutput extends ListMembersResponse, __Metadat
|
|
|
27
27
|
* import { Inspector2Client, ListMembersCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
28
28
|
* // const { Inspector2Client, ListMembersCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
29
29
|
* const client = new Inspector2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* onlyAssociated: true || false,
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* nextToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListMembersCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { Inspector2Client, ListTagsForResourceCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, ListTagsForResourceCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(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,13 @@ export interface ListUsageTotalsCommandOutput extends ListUsageTotalsResponse, _
|
|
|
26
26
|
* import { Inspector2Client, ListUsageTotalsCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, ListUsageTotalsCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* maxResults: Number("int"),
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* accountIds: [
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* };
|
|
29
36
|
* const command = new ListUsageTotalsCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
26
26
|
* import { Inspector2Client, TagResourceCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, TagResourceCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(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 { Inspector2Client, UntagResourceCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, UntagResourceCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(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 UpdateConfigurationCommandOutput extends UpdateConfigurationRes
|
|
|
26
26
|
* import { Inspector2Client, UpdateConfigurationCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, UpdateConfigurationCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ecrConfiguration: {
|
|
31
|
+
* rescanDuration: "STRING_VALUE", // required
|
|
32
|
+
* },
|
|
33
|
+
* };
|
|
29
34
|
* const command = new UpdateConfigurationCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,270 @@ export interface UpdateFilterCommandOutput extends UpdateFilterResponse, __Metad
|
|
|
26
26
|
* import { Inspector2Client, UpdateFilterCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, UpdateFilterCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* action: "STRING_VALUE",
|
|
31
|
+
* description: "STRING_VALUE",
|
|
32
|
+
* filterCriteria: {
|
|
33
|
+
* findingArn: [
|
|
34
|
+
* {
|
|
35
|
+
* comparison: "STRING_VALUE", // required
|
|
36
|
+
* value: "STRING_VALUE", // required
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* awsAccountId: [
|
|
40
|
+
* {
|
|
41
|
+
* comparison: "STRING_VALUE", // required
|
|
42
|
+
* value: "STRING_VALUE", // required
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* findingType: [
|
|
46
|
+
* {
|
|
47
|
+
* comparison: "STRING_VALUE", // required
|
|
48
|
+
* value: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* severity: [
|
|
52
|
+
* {
|
|
53
|
+
* comparison: "STRING_VALUE", // required
|
|
54
|
+
* value: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* firstObservedAt: [
|
|
58
|
+
* {
|
|
59
|
+
* startInclusive: new Date("TIMESTAMP"),
|
|
60
|
+
* endInclusive: new Date("TIMESTAMP"),
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* lastObservedAt: [
|
|
64
|
+
* {
|
|
65
|
+
* startInclusive: new Date("TIMESTAMP"),
|
|
66
|
+
* endInclusive: new Date("TIMESTAMP"),
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
69
|
+
* updatedAt: [
|
|
70
|
+
* {
|
|
71
|
+
* startInclusive: new Date("TIMESTAMP"),
|
|
72
|
+
* endInclusive: new Date("TIMESTAMP"),
|
|
73
|
+
* },
|
|
74
|
+
* ],
|
|
75
|
+
* findingStatus: [
|
|
76
|
+
* {
|
|
77
|
+
* comparison: "STRING_VALUE", // required
|
|
78
|
+
* value: "STRING_VALUE", // required
|
|
79
|
+
* },
|
|
80
|
+
* ],
|
|
81
|
+
* title: [
|
|
82
|
+
* {
|
|
83
|
+
* comparison: "STRING_VALUE", // required
|
|
84
|
+
* value: "STRING_VALUE", // required
|
|
85
|
+
* },
|
|
86
|
+
* ],
|
|
87
|
+
* inspectorScore: [
|
|
88
|
+
* {
|
|
89
|
+
* upperInclusive: Number("double"),
|
|
90
|
+
* lowerInclusive: Number("double"),
|
|
91
|
+
* },
|
|
92
|
+
* ],
|
|
93
|
+
* resourceType: [
|
|
94
|
+
* {
|
|
95
|
+
* comparison: "STRING_VALUE", // required
|
|
96
|
+
* value: "STRING_VALUE", // required
|
|
97
|
+
* },
|
|
98
|
+
* ],
|
|
99
|
+
* resourceId: [
|
|
100
|
+
* {
|
|
101
|
+
* comparison: "STRING_VALUE", // required
|
|
102
|
+
* value: "STRING_VALUE", // required
|
|
103
|
+
* },
|
|
104
|
+
* ],
|
|
105
|
+
* resourceTags: [
|
|
106
|
+
* {
|
|
107
|
+
* comparison: "STRING_VALUE", // required
|
|
108
|
+
* key: "STRING_VALUE", // required
|
|
109
|
+
* value: "STRING_VALUE",
|
|
110
|
+
* },
|
|
111
|
+
* ],
|
|
112
|
+
* ec2InstanceImageId: [
|
|
113
|
+
* {
|
|
114
|
+
* comparison: "STRING_VALUE", // required
|
|
115
|
+
* value: "STRING_VALUE", // required
|
|
116
|
+
* },
|
|
117
|
+
* ],
|
|
118
|
+
* ec2InstanceVpcId: [
|
|
119
|
+
* {
|
|
120
|
+
* comparison: "STRING_VALUE", // required
|
|
121
|
+
* value: "STRING_VALUE", // required
|
|
122
|
+
* },
|
|
123
|
+
* ],
|
|
124
|
+
* ec2InstanceSubnetId: [
|
|
125
|
+
* {
|
|
126
|
+
* comparison: "STRING_VALUE", // required
|
|
127
|
+
* value: "STRING_VALUE", // required
|
|
128
|
+
* },
|
|
129
|
+
* ],
|
|
130
|
+
* ecrImagePushedAt: [
|
|
131
|
+
* {
|
|
132
|
+
* startInclusive: new Date("TIMESTAMP"),
|
|
133
|
+
* endInclusive: new Date("TIMESTAMP"),
|
|
134
|
+
* },
|
|
135
|
+
* ],
|
|
136
|
+
* ecrImageArchitecture: [
|
|
137
|
+
* {
|
|
138
|
+
* comparison: "STRING_VALUE", // required
|
|
139
|
+
* value: "STRING_VALUE", // required
|
|
140
|
+
* },
|
|
141
|
+
* ],
|
|
142
|
+
* ecrImageRegistry: [
|
|
143
|
+
* {
|
|
144
|
+
* comparison: "STRING_VALUE", // required
|
|
145
|
+
* value: "STRING_VALUE", // required
|
|
146
|
+
* },
|
|
147
|
+
* ],
|
|
148
|
+
* ecrImageRepositoryName: [
|
|
149
|
+
* {
|
|
150
|
+
* comparison: "STRING_VALUE", // required
|
|
151
|
+
* value: "STRING_VALUE", // required
|
|
152
|
+
* },
|
|
153
|
+
* ],
|
|
154
|
+
* ecrImageTags: [
|
|
155
|
+
* {
|
|
156
|
+
* comparison: "STRING_VALUE", // required
|
|
157
|
+
* value: "STRING_VALUE", // required
|
|
158
|
+
* },
|
|
159
|
+
* ],
|
|
160
|
+
* ecrImageHash: [
|
|
161
|
+
* {
|
|
162
|
+
* comparison: "STRING_VALUE", // required
|
|
163
|
+
* value: "STRING_VALUE", // required
|
|
164
|
+
* },
|
|
165
|
+
* ],
|
|
166
|
+
* portRange: [
|
|
167
|
+
* {
|
|
168
|
+
* beginInclusive: Number("int"),
|
|
169
|
+
* endInclusive: Number("int"),
|
|
170
|
+
* },
|
|
171
|
+
* ],
|
|
172
|
+
* networkProtocol: [
|
|
173
|
+
* {
|
|
174
|
+
* comparison: "STRING_VALUE", // required
|
|
175
|
+
* value: "STRING_VALUE", // required
|
|
176
|
+
* },
|
|
177
|
+
* ],
|
|
178
|
+
* componentId: [
|
|
179
|
+
* {
|
|
180
|
+
* comparison: "STRING_VALUE", // required
|
|
181
|
+
* value: "STRING_VALUE", // required
|
|
182
|
+
* },
|
|
183
|
+
* ],
|
|
184
|
+
* componentType: [
|
|
185
|
+
* {
|
|
186
|
+
* comparison: "STRING_VALUE", // required
|
|
187
|
+
* value: "STRING_VALUE", // required
|
|
188
|
+
* },
|
|
189
|
+
* ],
|
|
190
|
+
* vulnerabilityId: [
|
|
191
|
+
* {
|
|
192
|
+
* comparison: "STRING_VALUE", // required
|
|
193
|
+
* value: "STRING_VALUE", // required
|
|
194
|
+
* },
|
|
195
|
+
* ],
|
|
196
|
+
* vulnerabilitySource: [
|
|
197
|
+
* {
|
|
198
|
+
* comparison: "STRING_VALUE", // required
|
|
199
|
+
* value: "STRING_VALUE", // required
|
|
200
|
+
* },
|
|
201
|
+
* ],
|
|
202
|
+
* vendorSeverity: [
|
|
203
|
+
* {
|
|
204
|
+
* comparison: "STRING_VALUE", // required
|
|
205
|
+
* value: "STRING_VALUE", // required
|
|
206
|
+
* },
|
|
207
|
+
* ],
|
|
208
|
+
* vulnerablePackages: [
|
|
209
|
+
* {
|
|
210
|
+
* name: {
|
|
211
|
+
* comparison: "STRING_VALUE", // required
|
|
212
|
+
* value: "STRING_VALUE", // required
|
|
213
|
+
* },
|
|
214
|
+
* version: {
|
|
215
|
+
* comparison: "STRING_VALUE", // required
|
|
216
|
+
* value: "STRING_VALUE", // required
|
|
217
|
+
* },
|
|
218
|
+
* epoch: {
|
|
219
|
+
* upperInclusive: Number("double"),
|
|
220
|
+
* lowerInclusive: Number("double"),
|
|
221
|
+
* },
|
|
222
|
+
* release: {
|
|
223
|
+
* comparison: "STRING_VALUE", // required
|
|
224
|
+
* value: "STRING_VALUE", // required
|
|
225
|
+
* },
|
|
226
|
+
* architecture: {
|
|
227
|
+
* comparison: "STRING_VALUE", // required
|
|
228
|
+
* value: "STRING_VALUE", // required
|
|
229
|
+
* },
|
|
230
|
+
* sourceLayerHash: {
|
|
231
|
+
* comparison: "STRING_VALUE", // required
|
|
232
|
+
* value: "STRING_VALUE", // required
|
|
233
|
+
* },
|
|
234
|
+
* sourceLambdaLayerArn: {
|
|
235
|
+
* comparison: "STRING_VALUE", // required
|
|
236
|
+
* value: "STRING_VALUE", // required
|
|
237
|
+
* },
|
|
238
|
+
* },
|
|
239
|
+
* ],
|
|
240
|
+
* relatedVulnerabilities: [
|
|
241
|
+
* {
|
|
242
|
+
* comparison: "STRING_VALUE", // required
|
|
243
|
+
* value: "STRING_VALUE", // required
|
|
244
|
+
* },
|
|
245
|
+
* ],
|
|
246
|
+
* fixAvailable: [
|
|
247
|
+
* {
|
|
248
|
+
* comparison: "STRING_VALUE", // required
|
|
249
|
+
* value: "STRING_VALUE", // required
|
|
250
|
+
* },
|
|
251
|
+
* ],
|
|
252
|
+
* lambdaFunctionName: [
|
|
253
|
+
* {
|
|
254
|
+
* comparison: "STRING_VALUE", // required
|
|
255
|
+
* value: "STRING_VALUE", // required
|
|
256
|
+
* },
|
|
257
|
+
* ],
|
|
258
|
+
* lambdaFunctionLayers: [
|
|
259
|
+
* {
|
|
260
|
+
* comparison: "STRING_VALUE", // required
|
|
261
|
+
* value: "STRING_VALUE", // required
|
|
262
|
+
* },
|
|
263
|
+
* ],
|
|
264
|
+
* lambdaFunctionRuntime: [
|
|
265
|
+
* {
|
|
266
|
+
* comparison: "STRING_VALUE", // required
|
|
267
|
+
* value: "STRING_VALUE", // required
|
|
268
|
+
* },
|
|
269
|
+
* ],
|
|
270
|
+
* lambdaFunctionLastModifiedAt: [
|
|
271
|
+
* {
|
|
272
|
+
* startInclusive: new Date("TIMESTAMP"),
|
|
273
|
+
* endInclusive: new Date("TIMESTAMP"),
|
|
274
|
+
* },
|
|
275
|
+
* ],
|
|
276
|
+
* lambdaFunctionExecutionRoleArn: [
|
|
277
|
+
* {
|
|
278
|
+
* comparison: "STRING_VALUE", // required
|
|
279
|
+
* value: "STRING_VALUE", // required
|
|
280
|
+
* },
|
|
281
|
+
* ],
|
|
282
|
+
* exploitAvailable: [
|
|
283
|
+
* {
|
|
284
|
+
* comparison: "STRING_VALUE", // required
|
|
285
|
+
* value: "STRING_VALUE", // required
|
|
286
|
+
* },
|
|
287
|
+
* ],
|
|
288
|
+
* },
|
|
289
|
+
* name: "STRING_VALUE",
|
|
290
|
+
* filterArn: "STRING_VALUE", // required
|
|
291
|
+
* reason: "STRING_VALUE",
|
|
292
|
+
* };
|
|
29
293
|
* const command = new UpdateFilterCommand(input);
|
|
30
294
|
* const response = await client.send(command);
|
|
31
295
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface UpdateOrganizationConfigurationCommandOutput extends UpdateOrga
|
|
|
26
26
|
* import { Inspector2Client, UpdateOrganizationConfigurationCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, UpdateOrganizationConfigurationCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* autoEnable: {
|
|
31
|
+
* ec2: true || false, // required
|
|
32
|
+
* ecr: true || false, // required
|
|
33
|
+
* lambda: true || false,
|
|
34
|
+
* },
|
|
35
|
+
* };
|
|
29
36
|
* const command = new UpdateOrganizationConfigurationCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-inspector2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Inspector2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,23 +21,23 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
30
30
|
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.299.0",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|