@aws-sdk/client-inspector2 3.299.0 → 3.300.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-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 +8 -8
|
@@ -26,6 +26,9 @@ export interface AssociateMemberCommandOutput extends AssociateMemberResponse, _
|
|
|
26
26
|
* import { Inspector2Client, AssociateMemberCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, AssociateMemberCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* accountId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new AssociateMemberCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface BatchGetAccountStatusCommandOutput extends BatchGetAccountStatu
|
|
|
26
26
|
* import { Inspector2Client, BatchGetAccountStatusCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, BatchGetAccountStatusCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* accountIds: [
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* };
|
|
29
34
|
* const command = new BatchGetAccountStatusCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface BatchGetFreeTrialInfoCommandOutput extends BatchGetFreeTrialInf
|
|
|
26
26
|
* import { Inspector2Client, BatchGetFreeTrialInfoCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, BatchGetFreeTrialInfoCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* accountIds: [ // required
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* };
|
|
29
34
|
* const command = new BatchGetFreeTrialInfoCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface CancelFindingsReportCommandOutput extends CancelFindingsReportR
|
|
|
26
26
|
* import { Inspector2Client, CancelFindingsReportCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, CancelFindingsReportCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* reportId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new CancelFindingsReportCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,272 @@ export interface CreateFilterCommandOutput extends CreateFilterResponse, __Metad
|
|
|
26
26
|
* import { Inspector2Client, CreateFilterCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, CreateFilterCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* action: "STRING_VALUE", // required
|
|
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", // required
|
|
290
|
+
* tags: {
|
|
291
|
+
* "<keys>": "STRING_VALUE",
|
|
292
|
+
* },
|
|
293
|
+
* reason: "STRING_VALUE",
|
|
294
|
+
* };
|
|
29
295
|
* const command = new CreateFilterCommand(input);
|
|
30
296
|
* const response = await client.send(command);
|
|
31
297
|
* ```
|
|
@@ -26,6 +26,271 @@ export interface CreateFindingsReportCommandOutput extends CreateFindingsReportR
|
|
|
26
26
|
* import { Inspector2Client, CreateFindingsReportCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, CreateFindingsReportCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* filterCriteria: {
|
|
31
|
+
* findingArn: [
|
|
32
|
+
* {
|
|
33
|
+
* comparison: "STRING_VALUE", // required
|
|
34
|
+
* value: "STRING_VALUE", // required
|
|
35
|
+
* },
|
|
36
|
+
* ],
|
|
37
|
+
* awsAccountId: [
|
|
38
|
+
* {
|
|
39
|
+
* comparison: "STRING_VALUE", // required
|
|
40
|
+
* value: "STRING_VALUE", // required
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* findingType: [
|
|
44
|
+
* {
|
|
45
|
+
* comparison: "STRING_VALUE", // required
|
|
46
|
+
* value: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* severity: [
|
|
50
|
+
* {
|
|
51
|
+
* comparison: "STRING_VALUE", // required
|
|
52
|
+
* value: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* firstObservedAt: [
|
|
56
|
+
* {
|
|
57
|
+
* startInclusive: new Date("TIMESTAMP"),
|
|
58
|
+
* endInclusive: new Date("TIMESTAMP"),
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* lastObservedAt: [
|
|
62
|
+
* {
|
|
63
|
+
* startInclusive: new Date("TIMESTAMP"),
|
|
64
|
+
* endInclusive: new Date("TIMESTAMP"),
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* updatedAt: [
|
|
68
|
+
* {
|
|
69
|
+
* startInclusive: new Date("TIMESTAMP"),
|
|
70
|
+
* endInclusive: new Date("TIMESTAMP"),
|
|
71
|
+
* },
|
|
72
|
+
* ],
|
|
73
|
+
* findingStatus: [
|
|
74
|
+
* {
|
|
75
|
+
* comparison: "STRING_VALUE", // required
|
|
76
|
+
* value: "STRING_VALUE", // required
|
|
77
|
+
* },
|
|
78
|
+
* ],
|
|
79
|
+
* title: [
|
|
80
|
+
* {
|
|
81
|
+
* comparison: "STRING_VALUE", // required
|
|
82
|
+
* value: "STRING_VALUE", // required
|
|
83
|
+
* },
|
|
84
|
+
* ],
|
|
85
|
+
* inspectorScore: [
|
|
86
|
+
* {
|
|
87
|
+
* upperInclusive: Number("double"),
|
|
88
|
+
* lowerInclusive: Number("double"),
|
|
89
|
+
* },
|
|
90
|
+
* ],
|
|
91
|
+
* resourceType: [
|
|
92
|
+
* {
|
|
93
|
+
* comparison: "STRING_VALUE", // required
|
|
94
|
+
* value: "STRING_VALUE", // required
|
|
95
|
+
* },
|
|
96
|
+
* ],
|
|
97
|
+
* resourceId: [
|
|
98
|
+
* {
|
|
99
|
+
* comparison: "STRING_VALUE", // required
|
|
100
|
+
* value: "STRING_VALUE", // required
|
|
101
|
+
* },
|
|
102
|
+
* ],
|
|
103
|
+
* resourceTags: [
|
|
104
|
+
* {
|
|
105
|
+
* comparison: "STRING_VALUE", // required
|
|
106
|
+
* key: "STRING_VALUE", // required
|
|
107
|
+
* value: "STRING_VALUE",
|
|
108
|
+
* },
|
|
109
|
+
* ],
|
|
110
|
+
* ec2InstanceImageId: [
|
|
111
|
+
* {
|
|
112
|
+
* comparison: "STRING_VALUE", // required
|
|
113
|
+
* value: "STRING_VALUE", // required
|
|
114
|
+
* },
|
|
115
|
+
* ],
|
|
116
|
+
* ec2InstanceVpcId: [
|
|
117
|
+
* {
|
|
118
|
+
* comparison: "STRING_VALUE", // required
|
|
119
|
+
* value: "STRING_VALUE", // required
|
|
120
|
+
* },
|
|
121
|
+
* ],
|
|
122
|
+
* ec2InstanceSubnetId: [
|
|
123
|
+
* {
|
|
124
|
+
* comparison: "STRING_VALUE", // required
|
|
125
|
+
* value: "STRING_VALUE", // required
|
|
126
|
+
* },
|
|
127
|
+
* ],
|
|
128
|
+
* ecrImagePushedAt: [
|
|
129
|
+
* {
|
|
130
|
+
* startInclusive: new Date("TIMESTAMP"),
|
|
131
|
+
* endInclusive: new Date("TIMESTAMP"),
|
|
132
|
+
* },
|
|
133
|
+
* ],
|
|
134
|
+
* ecrImageArchitecture: [
|
|
135
|
+
* {
|
|
136
|
+
* comparison: "STRING_VALUE", // required
|
|
137
|
+
* value: "STRING_VALUE", // required
|
|
138
|
+
* },
|
|
139
|
+
* ],
|
|
140
|
+
* ecrImageRegistry: [
|
|
141
|
+
* {
|
|
142
|
+
* comparison: "STRING_VALUE", // required
|
|
143
|
+
* value: "STRING_VALUE", // required
|
|
144
|
+
* },
|
|
145
|
+
* ],
|
|
146
|
+
* ecrImageRepositoryName: [
|
|
147
|
+
* {
|
|
148
|
+
* comparison: "STRING_VALUE", // required
|
|
149
|
+
* value: "STRING_VALUE", // required
|
|
150
|
+
* },
|
|
151
|
+
* ],
|
|
152
|
+
* ecrImageTags: [
|
|
153
|
+
* {
|
|
154
|
+
* comparison: "STRING_VALUE", // required
|
|
155
|
+
* value: "STRING_VALUE", // required
|
|
156
|
+
* },
|
|
157
|
+
* ],
|
|
158
|
+
* ecrImageHash: [
|
|
159
|
+
* {
|
|
160
|
+
* comparison: "STRING_VALUE", // required
|
|
161
|
+
* value: "STRING_VALUE", // required
|
|
162
|
+
* },
|
|
163
|
+
* ],
|
|
164
|
+
* portRange: [
|
|
165
|
+
* {
|
|
166
|
+
* beginInclusive: Number("int"),
|
|
167
|
+
* endInclusive: Number("int"),
|
|
168
|
+
* },
|
|
169
|
+
* ],
|
|
170
|
+
* networkProtocol: [
|
|
171
|
+
* {
|
|
172
|
+
* comparison: "STRING_VALUE", // required
|
|
173
|
+
* value: "STRING_VALUE", // required
|
|
174
|
+
* },
|
|
175
|
+
* ],
|
|
176
|
+
* componentId: [
|
|
177
|
+
* {
|
|
178
|
+
* comparison: "STRING_VALUE", // required
|
|
179
|
+
* value: "STRING_VALUE", // required
|
|
180
|
+
* },
|
|
181
|
+
* ],
|
|
182
|
+
* componentType: [
|
|
183
|
+
* {
|
|
184
|
+
* comparison: "STRING_VALUE", // required
|
|
185
|
+
* value: "STRING_VALUE", // required
|
|
186
|
+
* },
|
|
187
|
+
* ],
|
|
188
|
+
* vulnerabilityId: [
|
|
189
|
+
* {
|
|
190
|
+
* comparison: "STRING_VALUE", // required
|
|
191
|
+
* value: "STRING_VALUE", // required
|
|
192
|
+
* },
|
|
193
|
+
* ],
|
|
194
|
+
* vulnerabilitySource: [
|
|
195
|
+
* {
|
|
196
|
+
* comparison: "STRING_VALUE", // required
|
|
197
|
+
* value: "STRING_VALUE", // required
|
|
198
|
+
* },
|
|
199
|
+
* ],
|
|
200
|
+
* vendorSeverity: [
|
|
201
|
+
* {
|
|
202
|
+
* comparison: "STRING_VALUE", // required
|
|
203
|
+
* value: "STRING_VALUE", // required
|
|
204
|
+
* },
|
|
205
|
+
* ],
|
|
206
|
+
* vulnerablePackages: [
|
|
207
|
+
* {
|
|
208
|
+
* name: {
|
|
209
|
+
* comparison: "STRING_VALUE", // required
|
|
210
|
+
* value: "STRING_VALUE", // required
|
|
211
|
+
* },
|
|
212
|
+
* version: {
|
|
213
|
+
* comparison: "STRING_VALUE", // required
|
|
214
|
+
* value: "STRING_VALUE", // required
|
|
215
|
+
* },
|
|
216
|
+
* epoch: {
|
|
217
|
+
* upperInclusive: Number("double"),
|
|
218
|
+
* lowerInclusive: Number("double"),
|
|
219
|
+
* },
|
|
220
|
+
* release: {
|
|
221
|
+
* comparison: "STRING_VALUE", // required
|
|
222
|
+
* value: "STRING_VALUE", // required
|
|
223
|
+
* },
|
|
224
|
+
* architecture: {
|
|
225
|
+
* comparison: "STRING_VALUE", // required
|
|
226
|
+
* value: "STRING_VALUE", // required
|
|
227
|
+
* },
|
|
228
|
+
* sourceLayerHash: {
|
|
229
|
+
* comparison: "STRING_VALUE", // required
|
|
230
|
+
* value: "STRING_VALUE", // required
|
|
231
|
+
* },
|
|
232
|
+
* sourceLambdaLayerArn: {
|
|
233
|
+
* comparison: "STRING_VALUE", // required
|
|
234
|
+
* value: "STRING_VALUE", // required
|
|
235
|
+
* },
|
|
236
|
+
* },
|
|
237
|
+
* ],
|
|
238
|
+
* relatedVulnerabilities: [
|
|
239
|
+
* {
|
|
240
|
+
* comparison: "STRING_VALUE", // required
|
|
241
|
+
* value: "STRING_VALUE", // required
|
|
242
|
+
* },
|
|
243
|
+
* ],
|
|
244
|
+
* fixAvailable: [
|
|
245
|
+
* {
|
|
246
|
+
* comparison: "STRING_VALUE", // required
|
|
247
|
+
* value: "STRING_VALUE", // required
|
|
248
|
+
* },
|
|
249
|
+
* ],
|
|
250
|
+
* lambdaFunctionName: [
|
|
251
|
+
* {
|
|
252
|
+
* comparison: "STRING_VALUE", // required
|
|
253
|
+
* value: "STRING_VALUE", // required
|
|
254
|
+
* },
|
|
255
|
+
* ],
|
|
256
|
+
* lambdaFunctionLayers: [
|
|
257
|
+
* {
|
|
258
|
+
* comparison: "STRING_VALUE", // required
|
|
259
|
+
* value: "STRING_VALUE", // required
|
|
260
|
+
* },
|
|
261
|
+
* ],
|
|
262
|
+
* lambdaFunctionRuntime: [
|
|
263
|
+
* {
|
|
264
|
+
* comparison: "STRING_VALUE", // required
|
|
265
|
+
* value: "STRING_VALUE", // required
|
|
266
|
+
* },
|
|
267
|
+
* ],
|
|
268
|
+
* lambdaFunctionLastModifiedAt: [
|
|
269
|
+
* {
|
|
270
|
+
* startInclusive: new Date("TIMESTAMP"),
|
|
271
|
+
* endInclusive: new Date("TIMESTAMP"),
|
|
272
|
+
* },
|
|
273
|
+
* ],
|
|
274
|
+
* lambdaFunctionExecutionRoleArn: [
|
|
275
|
+
* {
|
|
276
|
+
* comparison: "STRING_VALUE", // required
|
|
277
|
+
* value: "STRING_VALUE", // required
|
|
278
|
+
* },
|
|
279
|
+
* ],
|
|
280
|
+
* exploitAvailable: [
|
|
281
|
+
* {
|
|
282
|
+
* comparison: "STRING_VALUE", // required
|
|
283
|
+
* value: "STRING_VALUE", // required
|
|
284
|
+
* },
|
|
285
|
+
* ],
|
|
286
|
+
* },
|
|
287
|
+
* reportFormat: "STRING_VALUE", // required
|
|
288
|
+
* s3Destination: {
|
|
289
|
+
* bucketName: "STRING_VALUE", // required
|
|
290
|
+
* keyPrefix: "STRING_VALUE",
|
|
291
|
+
* kmsKeyArn: "STRING_VALUE", // required
|
|
292
|
+
* },
|
|
293
|
+
* };
|
|
29
294
|
* const command = new CreateFindingsReportCommand(input);
|
|
30
295
|
* const response = await client.send(command);
|
|
31
296
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteFilterCommandOutput extends DeleteFilterResponse, __Metad
|
|
|
26
26
|
* import { Inspector2Client, DeleteFilterCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, DeleteFilterCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* arn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteFilterCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface DescribeOrganizationConfigurationCommandOutput extends Describe
|
|
|
26
26
|
* import { Inspector2Client, DescribeOrganizationConfigurationCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, DescribeOrganizationConfigurationCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new DescribeOrganizationConfigurationCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -27,6 +27,14 @@ export interface DisableCommandOutput extends DisableResponse, __MetadataBearer
|
|
|
27
27
|
* import { Inspector2Client, DisableCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
28
28
|
* // const { Inspector2Client, DisableCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
29
29
|
* const client = new Inspector2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* accountIds: [
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* resourceTypes: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
30
38
|
* const command = new DisableCommand(input);
|
|
31
39
|
* const response = await client.send(command);
|
|
32
40
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DisableDelegatedAdminAccountCommandOutput extends DisableDelega
|
|
|
26
26
|
* import { Inspector2Client, DisableDelegatedAdminAccountCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, DisableDelegatedAdminAccountCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* delegatedAdminAccountId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DisableDelegatedAdminAccountCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DisassociateMemberCommandOutput extends DisassociateMemberRespo
|
|
|
26
26
|
* import { Inspector2Client, DisassociateMemberCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, DisassociateMemberCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* accountId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DisassociateMemberCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface EnableCommandOutput extends EnableResponse, __MetadataBearer {
|
|
|
26
26
|
* import { Inspector2Client, EnableCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, EnableCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* accountIds: [
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* resourceTypes: [ // required
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* clientToken: "STRING_VALUE",
|
|
37
|
+
* };
|
|
29
38
|
* const command = new EnableCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface EnableDelegatedAdminAccountCommandOutput extends EnableDelegate
|
|
|
26
26
|
* import { Inspector2Client, EnableDelegatedAdminAccountCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, EnableDelegatedAdminAccountCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* delegatedAdminAccountId: "STRING_VALUE", // required
|
|
31
|
+
* clientToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new EnableDelegatedAdminAccountCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface GetConfigurationCommandOutput extends GetConfigurationResponse,
|
|
|
26
26
|
* import { Inspector2Client, GetConfigurationCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, GetConfigurationCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new GetConfigurationCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|