aws-sdk-inspector 1.54.0 → 1.56.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-inspector/client.rb +70 -46
- data/lib/aws-sdk-inspector/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-inspector.rb +1 -1
- data/sig/client.rbs +551 -0
- data/sig/errors.rbs +68 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +763 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
data/sig/types.rbs
ADDED
@@ -0,0 +1,763 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::Inspector
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AccessDeniedException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
attr_accessor error_code: ("ACCESS_DENIED_TO_ASSESSMENT_TARGET" | "ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE" | "ACCESS_DENIED_TO_ASSESSMENT_RUN" | "ACCESS_DENIED_TO_FINDING" | "ACCESS_DENIED_TO_RESOURCE_GROUP" | "ACCESS_DENIED_TO_RULES_PACKAGE" | "ACCESS_DENIED_TO_SNS_TOPIC" | "ACCESS_DENIED_TO_IAM_ROLE")
|
14
|
+
attr_accessor can_retry: bool
|
15
|
+
SENSITIVE: []
|
16
|
+
end
|
17
|
+
|
18
|
+
class AddAttributesToFindingsRequest
|
19
|
+
attr_accessor finding_arns: ::Array[::String]
|
20
|
+
attr_accessor attributes: ::Array[Types::Attribute]
|
21
|
+
SENSITIVE: []
|
22
|
+
end
|
23
|
+
|
24
|
+
class AddAttributesToFindingsResponse
|
25
|
+
attr_accessor failed_items: ::Hash[::String, Types::FailedItemDetails]
|
26
|
+
SENSITIVE: []
|
27
|
+
end
|
28
|
+
|
29
|
+
class AgentAlreadyRunningAssessment
|
30
|
+
attr_accessor agent_id: ::String
|
31
|
+
attr_accessor assessment_run_arn: ::String
|
32
|
+
SENSITIVE: []
|
33
|
+
end
|
34
|
+
|
35
|
+
class AgentFilter
|
36
|
+
attr_accessor agent_healths: ::Array[("HEALTHY" | "UNHEALTHY" | "UNKNOWN")]
|
37
|
+
attr_accessor agent_health_codes: ::Array[("IDLE" | "RUNNING" | "SHUTDOWN" | "UNHEALTHY" | "THROTTLED" | "UNKNOWN")]
|
38
|
+
SENSITIVE: []
|
39
|
+
end
|
40
|
+
|
41
|
+
class AgentPreview
|
42
|
+
attr_accessor hostname: ::String
|
43
|
+
attr_accessor agent_id: ::String
|
44
|
+
attr_accessor auto_scaling_group: ::String
|
45
|
+
attr_accessor agent_health: ("HEALTHY" | "UNHEALTHY" | "UNKNOWN")
|
46
|
+
attr_accessor agent_version: ::String
|
47
|
+
attr_accessor operating_system: ::String
|
48
|
+
attr_accessor kernel_version: ::String
|
49
|
+
attr_accessor ipv4_address: ::String
|
50
|
+
SENSITIVE: []
|
51
|
+
end
|
52
|
+
|
53
|
+
class AgentsAlreadyRunningAssessmentException
|
54
|
+
attr_accessor message: ::String
|
55
|
+
attr_accessor agents: ::Array[Types::AgentAlreadyRunningAssessment]
|
56
|
+
attr_accessor agents_truncated: bool
|
57
|
+
attr_accessor can_retry: bool
|
58
|
+
SENSITIVE: []
|
59
|
+
end
|
60
|
+
|
61
|
+
class AssessmentRun
|
62
|
+
attr_accessor arn: ::String
|
63
|
+
attr_accessor name: ::String
|
64
|
+
attr_accessor assessment_template_arn: ::String
|
65
|
+
attr_accessor state: ("CREATED" | "START_DATA_COLLECTION_PENDING" | "START_DATA_COLLECTION_IN_PROGRESS" | "COLLECTING_DATA" | "STOP_DATA_COLLECTION_PENDING" | "DATA_COLLECTED" | "START_EVALUATING_RULES_PENDING" | "EVALUATING_RULES" | "FAILED" | "ERROR" | "COMPLETED" | "COMPLETED_WITH_ERRORS" | "CANCELED")
|
66
|
+
attr_accessor duration_in_seconds: ::Integer
|
67
|
+
attr_accessor rules_package_arns: ::Array[::String]
|
68
|
+
attr_accessor user_attributes_for_findings: ::Array[Types::Attribute]
|
69
|
+
attr_accessor created_at: ::Time
|
70
|
+
attr_accessor started_at: ::Time
|
71
|
+
attr_accessor completed_at: ::Time
|
72
|
+
attr_accessor state_changed_at: ::Time
|
73
|
+
attr_accessor data_collected: bool
|
74
|
+
attr_accessor state_changes: ::Array[Types::AssessmentRunStateChange]
|
75
|
+
attr_accessor notifications: ::Array[Types::AssessmentRunNotification]
|
76
|
+
attr_accessor finding_counts: ::Hash[("Low" | "Medium" | "High" | "Informational" | "Undefined"), ::Integer]
|
77
|
+
SENSITIVE: []
|
78
|
+
end
|
79
|
+
|
80
|
+
class AssessmentRunAgent
|
81
|
+
attr_accessor agent_id: ::String
|
82
|
+
attr_accessor assessment_run_arn: ::String
|
83
|
+
attr_accessor agent_health: ("HEALTHY" | "UNHEALTHY" | "UNKNOWN")
|
84
|
+
attr_accessor agent_health_code: ("IDLE" | "RUNNING" | "SHUTDOWN" | "UNHEALTHY" | "THROTTLED" | "UNKNOWN")
|
85
|
+
attr_accessor agent_health_details: ::String
|
86
|
+
attr_accessor auto_scaling_group: ::String
|
87
|
+
attr_accessor telemetry_metadata: ::Array[Types::TelemetryMetadata]
|
88
|
+
SENSITIVE: []
|
89
|
+
end
|
90
|
+
|
91
|
+
class AssessmentRunFilter
|
92
|
+
attr_accessor name_pattern: ::String
|
93
|
+
attr_accessor states: ::Array[("CREATED" | "START_DATA_COLLECTION_PENDING" | "START_DATA_COLLECTION_IN_PROGRESS" | "COLLECTING_DATA" | "STOP_DATA_COLLECTION_PENDING" | "DATA_COLLECTED" | "START_EVALUATING_RULES_PENDING" | "EVALUATING_RULES" | "FAILED" | "ERROR" | "COMPLETED" | "COMPLETED_WITH_ERRORS" | "CANCELED")]
|
94
|
+
attr_accessor duration_range: Types::DurationRange
|
95
|
+
attr_accessor rules_package_arns: ::Array[::String]
|
96
|
+
attr_accessor start_time_range: Types::TimestampRange
|
97
|
+
attr_accessor completion_time_range: Types::TimestampRange
|
98
|
+
attr_accessor state_change_time_range: Types::TimestampRange
|
99
|
+
SENSITIVE: []
|
100
|
+
end
|
101
|
+
|
102
|
+
class AssessmentRunInProgressException
|
103
|
+
attr_accessor message: ::String
|
104
|
+
attr_accessor assessment_run_arns: ::Array[::String]
|
105
|
+
attr_accessor assessment_run_arns_truncated: bool
|
106
|
+
attr_accessor can_retry: bool
|
107
|
+
SENSITIVE: []
|
108
|
+
end
|
109
|
+
|
110
|
+
class AssessmentRunNotification
|
111
|
+
attr_accessor date: ::Time
|
112
|
+
attr_accessor event: ("ASSESSMENT_RUN_STARTED" | "ASSESSMENT_RUN_COMPLETED" | "ASSESSMENT_RUN_STATE_CHANGED" | "FINDING_REPORTED" | "OTHER")
|
113
|
+
attr_accessor message: ::String
|
114
|
+
attr_accessor error: bool
|
115
|
+
attr_accessor sns_topic_arn: ::String
|
116
|
+
attr_accessor sns_publish_status_code: ("SUCCESS" | "TOPIC_DOES_NOT_EXIST" | "ACCESS_DENIED" | "INTERNAL_ERROR")
|
117
|
+
SENSITIVE: []
|
118
|
+
end
|
119
|
+
|
120
|
+
class AssessmentRunStateChange
|
121
|
+
attr_accessor state_changed_at: ::Time
|
122
|
+
attr_accessor state: ("CREATED" | "START_DATA_COLLECTION_PENDING" | "START_DATA_COLLECTION_IN_PROGRESS" | "COLLECTING_DATA" | "STOP_DATA_COLLECTION_PENDING" | "DATA_COLLECTED" | "START_EVALUATING_RULES_PENDING" | "EVALUATING_RULES" | "FAILED" | "ERROR" | "COMPLETED" | "COMPLETED_WITH_ERRORS" | "CANCELED")
|
123
|
+
SENSITIVE: []
|
124
|
+
end
|
125
|
+
|
126
|
+
class AssessmentTarget
|
127
|
+
attr_accessor arn: ::String
|
128
|
+
attr_accessor name: ::String
|
129
|
+
attr_accessor resource_group_arn: ::String
|
130
|
+
attr_accessor created_at: ::Time
|
131
|
+
attr_accessor updated_at: ::Time
|
132
|
+
SENSITIVE: []
|
133
|
+
end
|
134
|
+
|
135
|
+
class AssessmentTargetFilter
|
136
|
+
attr_accessor assessment_target_name_pattern: ::String
|
137
|
+
SENSITIVE: []
|
138
|
+
end
|
139
|
+
|
140
|
+
class AssessmentTemplate
|
141
|
+
attr_accessor arn: ::String
|
142
|
+
attr_accessor name: ::String
|
143
|
+
attr_accessor assessment_target_arn: ::String
|
144
|
+
attr_accessor duration_in_seconds: ::Integer
|
145
|
+
attr_accessor rules_package_arns: ::Array[::String]
|
146
|
+
attr_accessor user_attributes_for_findings: ::Array[Types::Attribute]
|
147
|
+
attr_accessor last_assessment_run_arn: ::String
|
148
|
+
attr_accessor assessment_run_count: ::Integer
|
149
|
+
attr_accessor created_at: ::Time
|
150
|
+
SENSITIVE: []
|
151
|
+
end
|
152
|
+
|
153
|
+
class AssessmentTemplateFilter
|
154
|
+
attr_accessor name_pattern: ::String
|
155
|
+
attr_accessor duration_range: Types::DurationRange
|
156
|
+
attr_accessor rules_package_arns: ::Array[::String]
|
157
|
+
SENSITIVE: []
|
158
|
+
end
|
159
|
+
|
160
|
+
class AssetAttributes
|
161
|
+
attr_accessor schema_version: ::Integer
|
162
|
+
attr_accessor agent_id: ::String
|
163
|
+
attr_accessor auto_scaling_group: ::String
|
164
|
+
attr_accessor ami_id: ::String
|
165
|
+
attr_accessor hostname: ::String
|
166
|
+
attr_accessor ipv4_addresses: ::Array[::String]
|
167
|
+
attr_accessor tags: ::Array[Types::Tag]
|
168
|
+
attr_accessor network_interfaces: ::Array[Types::NetworkInterface]
|
169
|
+
SENSITIVE: []
|
170
|
+
end
|
171
|
+
|
172
|
+
class Attribute
|
173
|
+
attr_accessor key: ::String
|
174
|
+
attr_accessor value: ::String
|
175
|
+
SENSITIVE: []
|
176
|
+
end
|
177
|
+
|
178
|
+
class CreateAssessmentTargetRequest
|
179
|
+
attr_accessor assessment_target_name: ::String
|
180
|
+
attr_accessor resource_group_arn: ::String
|
181
|
+
SENSITIVE: []
|
182
|
+
end
|
183
|
+
|
184
|
+
class CreateAssessmentTargetResponse
|
185
|
+
attr_accessor assessment_target_arn: ::String
|
186
|
+
SENSITIVE: []
|
187
|
+
end
|
188
|
+
|
189
|
+
class CreateAssessmentTemplateRequest
|
190
|
+
attr_accessor assessment_target_arn: ::String
|
191
|
+
attr_accessor assessment_template_name: ::String
|
192
|
+
attr_accessor duration_in_seconds: ::Integer
|
193
|
+
attr_accessor rules_package_arns: ::Array[::String]
|
194
|
+
attr_accessor user_attributes_for_findings: ::Array[Types::Attribute]
|
195
|
+
SENSITIVE: []
|
196
|
+
end
|
197
|
+
|
198
|
+
class CreateAssessmentTemplateResponse
|
199
|
+
attr_accessor assessment_template_arn: ::String
|
200
|
+
SENSITIVE: []
|
201
|
+
end
|
202
|
+
|
203
|
+
class CreateExclusionsPreviewRequest
|
204
|
+
attr_accessor assessment_template_arn: ::String
|
205
|
+
SENSITIVE: []
|
206
|
+
end
|
207
|
+
|
208
|
+
class CreateExclusionsPreviewResponse
|
209
|
+
attr_accessor preview_token: ::String
|
210
|
+
SENSITIVE: []
|
211
|
+
end
|
212
|
+
|
213
|
+
class CreateResourceGroupRequest
|
214
|
+
attr_accessor resource_group_tags: ::Array[Types::ResourceGroupTag]
|
215
|
+
SENSITIVE: []
|
216
|
+
end
|
217
|
+
|
218
|
+
class CreateResourceGroupResponse
|
219
|
+
attr_accessor resource_group_arn: ::String
|
220
|
+
SENSITIVE: []
|
221
|
+
end
|
222
|
+
|
223
|
+
class DeleteAssessmentRunRequest
|
224
|
+
attr_accessor assessment_run_arn: ::String
|
225
|
+
SENSITIVE: []
|
226
|
+
end
|
227
|
+
|
228
|
+
class DeleteAssessmentTargetRequest
|
229
|
+
attr_accessor assessment_target_arn: ::String
|
230
|
+
SENSITIVE: []
|
231
|
+
end
|
232
|
+
|
233
|
+
class DeleteAssessmentTemplateRequest
|
234
|
+
attr_accessor assessment_template_arn: ::String
|
235
|
+
SENSITIVE: []
|
236
|
+
end
|
237
|
+
|
238
|
+
class DescribeAssessmentRunsRequest
|
239
|
+
attr_accessor assessment_run_arns: ::Array[::String]
|
240
|
+
SENSITIVE: []
|
241
|
+
end
|
242
|
+
|
243
|
+
class DescribeAssessmentRunsResponse
|
244
|
+
attr_accessor assessment_runs: ::Array[Types::AssessmentRun]
|
245
|
+
attr_accessor failed_items: ::Hash[::String, Types::FailedItemDetails]
|
246
|
+
SENSITIVE: []
|
247
|
+
end
|
248
|
+
|
249
|
+
class DescribeAssessmentTargetsRequest
|
250
|
+
attr_accessor assessment_target_arns: ::Array[::String]
|
251
|
+
SENSITIVE: []
|
252
|
+
end
|
253
|
+
|
254
|
+
class DescribeAssessmentTargetsResponse
|
255
|
+
attr_accessor assessment_targets: ::Array[Types::AssessmentTarget]
|
256
|
+
attr_accessor failed_items: ::Hash[::String, Types::FailedItemDetails]
|
257
|
+
SENSITIVE: []
|
258
|
+
end
|
259
|
+
|
260
|
+
class DescribeAssessmentTemplatesRequest
|
261
|
+
attr_accessor assessment_template_arns: ::Array[::String]
|
262
|
+
SENSITIVE: []
|
263
|
+
end
|
264
|
+
|
265
|
+
class DescribeAssessmentTemplatesResponse
|
266
|
+
attr_accessor assessment_templates: ::Array[Types::AssessmentTemplate]
|
267
|
+
attr_accessor failed_items: ::Hash[::String, Types::FailedItemDetails]
|
268
|
+
SENSITIVE: []
|
269
|
+
end
|
270
|
+
|
271
|
+
class DescribeCrossAccountAccessRoleResponse
|
272
|
+
attr_accessor role_arn: ::String
|
273
|
+
attr_accessor valid: bool
|
274
|
+
attr_accessor registered_at: ::Time
|
275
|
+
SENSITIVE: []
|
276
|
+
end
|
277
|
+
|
278
|
+
class DescribeExclusionsRequest
|
279
|
+
attr_accessor exclusion_arns: ::Array[::String]
|
280
|
+
attr_accessor locale: ("EN_US")
|
281
|
+
SENSITIVE: []
|
282
|
+
end
|
283
|
+
|
284
|
+
class DescribeExclusionsResponse
|
285
|
+
attr_accessor exclusions: ::Hash[::String, Types::Exclusion]
|
286
|
+
attr_accessor failed_items: ::Hash[::String, Types::FailedItemDetails]
|
287
|
+
SENSITIVE: []
|
288
|
+
end
|
289
|
+
|
290
|
+
class DescribeFindingsRequest
|
291
|
+
attr_accessor finding_arns: ::Array[::String]
|
292
|
+
attr_accessor locale: ("EN_US")
|
293
|
+
SENSITIVE: []
|
294
|
+
end
|
295
|
+
|
296
|
+
class DescribeFindingsResponse
|
297
|
+
attr_accessor findings: ::Array[Types::Finding]
|
298
|
+
attr_accessor failed_items: ::Hash[::String, Types::FailedItemDetails]
|
299
|
+
SENSITIVE: []
|
300
|
+
end
|
301
|
+
|
302
|
+
class DescribeResourceGroupsRequest
|
303
|
+
attr_accessor resource_group_arns: ::Array[::String]
|
304
|
+
SENSITIVE: []
|
305
|
+
end
|
306
|
+
|
307
|
+
class DescribeResourceGroupsResponse
|
308
|
+
attr_accessor resource_groups: ::Array[Types::ResourceGroup]
|
309
|
+
attr_accessor failed_items: ::Hash[::String, Types::FailedItemDetails]
|
310
|
+
SENSITIVE: []
|
311
|
+
end
|
312
|
+
|
313
|
+
class DescribeRulesPackagesRequest
|
314
|
+
attr_accessor rules_package_arns: ::Array[::String]
|
315
|
+
attr_accessor locale: ("EN_US")
|
316
|
+
SENSITIVE: []
|
317
|
+
end
|
318
|
+
|
319
|
+
class DescribeRulesPackagesResponse
|
320
|
+
attr_accessor rules_packages: ::Array[Types::RulesPackage]
|
321
|
+
attr_accessor failed_items: ::Hash[::String, Types::FailedItemDetails]
|
322
|
+
SENSITIVE: []
|
323
|
+
end
|
324
|
+
|
325
|
+
class DurationRange
|
326
|
+
attr_accessor min_seconds: ::Integer
|
327
|
+
attr_accessor max_seconds: ::Integer
|
328
|
+
SENSITIVE: []
|
329
|
+
end
|
330
|
+
|
331
|
+
class EventSubscription
|
332
|
+
attr_accessor event: ("ASSESSMENT_RUN_STARTED" | "ASSESSMENT_RUN_COMPLETED" | "ASSESSMENT_RUN_STATE_CHANGED" | "FINDING_REPORTED" | "OTHER")
|
333
|
+
attr_accessor subscribed_at: ::Time
|
334
|
+
SENSITIVE: []
|
335
|
+
end
|
336
|
+
|
337
|
+
class Exclusion
|
338
|
+
attr_accessor arn: ::String
|
339
|
+
attr_accessor title: ::String
|
340
|
+
attr_accessor description: ::String
|
341
|
+
attr_accessor recommendation: ::String
|
342
|
+
attr_accessor scopes: ::Array[Types::Scope]
|
343
|
+
attr_accessor attributes: ::Array[Types::Attribute]
|
344
|
+
SENSITIVE: []
|
345
|
+
end
|
346
|
+
|
347
|
+
class ExclusionPreview
|
348
|
+
attr_accessor title: ::String
|
349
|
+
attr_accessor description: ::String
|
350
|
+
attr_accessor recommendation: ::String
|
351
|
+
attr_accessor scopes: ::Array[Types::Scope]
|
352
|
+
attr_accessor attributes: ::Array[Types::Attribute]
|
353
|
+
SENSITIVE: []
|
354
|
+
end
|
355
|
+
|
356
|
+
class FailedItemDetails
|
357
|
+
attr_accessor failure_code: ("INVALID_ARN" | "DUPLICATE_ARN" | "ITEM_DOES_NOT_EXIST" | "ACCESS_DENIED" | "LIMIT_EXCEEDED" | "INTERNAL_ERROR")
|
358
|
+
attr_accessor retryable: bool
|
359
|
+
SENSITIVE: []
|
360
|
+
end
|
361
|
+
|
362
|
+
class Finding
|
363
|
+
attr_accessor arn: ::String
|
364
|
+
attr_accessor schema_version: ::Integer
|
365
|
+
attr_accessor service: ::String
|
366
|
+
attr_accessor service_attributes: Types::InspectorServiceAttributes
|
367
|
+
attr_accessor asset_type: ("ec2-instance")
|
368
|
+
attr_accessor asset_attributes: Types::AssetAttributes
|
369
|
+
attr_accessor id: ::String
|
370
|
+
attr_accessor title: ::String
|
371
|
+
attr_accessor description: ::String
|
372
|
+
attr_accessor recommendation: ::String
|
373
|
+
attr_accessor severity: ("Low" | "Medium" | "High" | "Informational" | "Undefined")
|
374
|
+
attr_accessor numeric_severity: ::Float
|
375
|
+
attr_accessor confidence: ::Integer
|
376
|
+
attr_accessor indicator_of_compromise: bool
|
377
|
+
attr_accessor attributes: ::Array[Types::Attribute]
|
378
|
+
attr_accessor user_attributes: ::Array[Types::Attribute]
|
379
|
+
attr_accessor created_at: ::Time
|
380
|
+
attr_accessor updated_at: ::Time
|
381
|
+
SENSITIVE: []
|
382
|
+
end
|
383
|
+
|
384
|
+
class FindingFilter
|
385
|
+
attr_accessor agent_ids: ::Array[::String]
|
386
|
+
attr_accessor auto_scaling_groups: ::Array[::String]
|
387
|
+
attr_accessor rule_names: ::Array[::String]
|
388
|
+
attr_accessor severities: ::Array[("Low" | "Medium" | "High" | "Informational" | "Undefined")]
|
389
|
+
attr_accessor rules_package_arns: ::Array[::String]
|
390
|
+
attr_accessor attributes: ::Array[Types::Attribute]
|
391
|
+
attr_accessor user_attributes: ::Array[Types::Attribute]
|
392
|
+
attr_accessor creation_time_range: Types::TimestampRange
|
393
|
+
SENSITIVE: []
|
394
|
+
end
|
395
|
+
|
396
|
+
class GetAssessmentReportRequest
|
397
|
+
attr_accessor assessment_run_arn: ::String
|
398
|
+
attr_accessor report_file_format: ("HTML" | "PDF")
|
399
|
+
attr_accessor report_type: ("FINDING" | "FULL")
|
400
|
+
SENSITIVE: []
|
401
|
+
end
|
402
|
+
|
403
|
+
class GetAssessmentReportResponse
|
404
|
+
attr_accessor status: ("WORK_IN_PROGRESS" | "FAILED" | "COMPLETED")
|
405
|
+
attr_accessor url: ::String
|
406
|
+
SENSITIVE: []
|
407
|
+
end
|
408
|
+
|
409
|
+
class GetExclusionsPreviewRequest
|
410
|
+
attr_accessor assessment_template_arn: ::String
|
411
|
+
attr_accessor preview_token: ::String
|
412
|
+
attr_accessor next_token: ::String
|
413
|
+
attr_accessor max_results: ::Integer
|
414
|
+
attr_accessor locale: ("EN_US")
|
415
|
+
SENSITIVE: []
|
416
|
+
end
|
417
|
+
|
418
|
+
class GetExclusionsPreviewResponse
|
419
|
+
attr_accessor preview_status: ("WORK_IN_PROGRESS" | "COMPLETED")
|
420
|
+
attr_accessor exclusion_previews: ::Array[Types::ExclusionPreview]
|
421
|
+
attr_accessor next_token: ::String
|
422
|
+
SENSITIVE: []
|
423
|
+
end
|
424
|
+
|
425
|
+
class GetTelemetryMetadataRequest
|
426
|
+
attr_accessor assessment_run_arn: ::String
|
427
|
+
SENSITIVE: []
|
428
|
+
end
|
429
|
+
|
430
|
+
class GetTelemetryMetadataResponse
|
431
|
+
attr_accessor telemetry_metadata: ::Array[Types::TelemetryMetadata]
|
432
|
+
SENSITIVE: []
|
433
|
+
end
|
434
|
+
|
435
|
+
class InspectorServiceAttributes
|
436
|
+
attr_accessor schema_version: ::Integer
|
437
|
+
attr_accessor assessment_run_arn: ::String
|
438
|
+
attr_accessor rules_package_arn: ::String
|
439
|
+
SENSITIVE: []
|
440
|
+
end
|
441
|
+
|
442
|
+
class InternalException
|
443
|
+
attr_accessor message: ::String
|
444
|
+
attr_accessor can_retry: bool
|
445
|
+
SENSITIVE: []
|
446
|
+
end
|
447
|
+
|
448
|
+
class InvalidCrossAccountRoleException
|
449
|
+
attr_accessor message: ::String
|
450
|
+
attr_accessor error_code: ("ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP" | "ROLE_DOES_NOT_HAVE_CORRECT_POLICY")
|
451
|
+
attr_accessor can_retry: bool
|
452
|
+
SENSITIVE: []
|
453
|
+
end
|
454
|
+
|
455
|
+
class InvalidInputException
|
456
|
+
attr_accessor message: ::String
|
457
|
+
attr_accessor error_code: ("INVALID_ASSESSMENT_TARGET_ARN" | "INVALID_ASSESSMENT_TEMPLATE_ARN" | "INVALID_ASSESSMENT_RUN_ARN" | "INVALID_FINDING_ARN" | "INVALID_RESOURCE_GROUP_ARN" | "INVALID_RULES_PACKAGE_ARN" | "INVALID_RESOURCE_ARN" | "INVALID_SNS_TOPIC_ARN" | "INVALID_IAM_ROLE_ARN" | "INVALID_ASSESSMENT_TARGET_NAME" | "INVALID_ASSESSMENT_TARGET_NAME_PATTERN" | "INVALID_ASSESSMENT_TEMPLATE_NAME" | "INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN" | "INVALID_ASSESSMENT_TEMPLATE_DURATION" | "INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE" | "INVALID_ASSESSMENT_RUN_DURATION_RANGE" | "INVALID_ASSESSMENT_RUN_START_TIME_RANGE" | "INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE" | "INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE" | "INVALID_ASSESSMENT_RUN_STATE" | "INVALID_TAG" | "INVALID_TAG_KEY" | "INVALID_TAG_VALUE" | "INVALID_RESOURCE_GROUP_TAG_KEY" | "INVALID_RESOURCE_GROUP_TAG_VALUE" | "INVALID_ATTRIBUTE" | "INVALID_USER_ATTRIBUTE" | "INVALID_USER_ATTRIBUTE_KEY" | "INVALID_USER_ATTRIBUTE_VALUE" | "INVALID_PAGINATION_TOKEN" | "INVALID_MAX_RESULTS" | "INVALID_AGENT_ID" | "INVALID_AUTO_SCALING_GROUP" | "INVALID_RULE_NAME" | "INVALID_SEVERITY" | "INVALID_LOCALE" | "INVALID_EVENT" | "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN" | "ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN" | "INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS" | "INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS" | "INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS" | "INVALID_NUMBER_OF_FINDING_ARNS" | "INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS" | "INVALID_NUMBER_OF_RULES_PACKAGE_ARNS" | "INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES" | "INVALID_NUMBER_OF_TAGS" | "INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS" | "INVALID_NUMBER_OF_ATTRIBUTES" | "INVALID_NUMBER_OF_USER_ATTRIBUTES" | "INVALID_NUMBER_OF_AGENT_IDS" | "INVALID_NUMBER_OF_AUTO_SCALING_GROUPS" | "INVALID_NUMBER_OF_RULE_NAMES" | "INVALID_NUMBER_OF_SEVERITIES")
|
458
|
+
attr_accessor can_retry: bool
|
459
|
+
SENSITIVE: []
|
460
|
+
end
|
461
|
+
|
462
|
+
class LimitExceededException
|
463
|
+
attr_accessor message: ::String
|
464
|
+
attr_accessor error_code: ("ASSESSMENT_TARGET_LIMIT_EXCEEDED" | "ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED" | "ASSESSMENT_RUN_LIMIT_EXCEEDED" | "RESOURCE_GROUP_LIMIT_EXCEEDED" | "EVENT_SUBSCRIPTION_LIMIT_EXCEEDED")
|
465
|
+
attr_accessor can_retry: bool
|
466
|
+
SENSITIVE: []
|
467
|
+
end
|
468
|
+
|
469
|
+
class ListAssessmentRunAgentsRequest
|
470
|
+
attr_accessor assessment_run_arn: ::String
|
471
|
+
attr_accessor filter: Types::AgentFilter
|
472
|
+
attr_accessor next_token: ::String
|
473
|
+
attr_accessor max_results: ::Integer
|
474
|
+
SENSITIVE: []
|
475
|
+
end
|
476
|
+
|
477
|
+
class ListAssessmentRunAgentsResponse
|
478
|
+
attr_accessor assessment_run_agents: ::Array[Types::AssessmentRunAgent]
|
479
|
+
attr_accessor next_token: ::String
|
480
|
+
SENSITIVE: []
|
481
|
+
end
|
482
|
+
|
483
|
+
class ListAssessmentRunsRequest
|
484
|
+
attr_accessor assessment_template_arns: ::Array[::String]
|
485
|
+
attr_accessor filter: Types::AssessmentRunFilter
|
486
|
+
attr_accessor next_token: ::String
|
487
|
+
attr_accessor max_results: ::Integer
|
488
|
+
SENSITIVE: []
|
489
|
+
end
|
490
|
+
|
491
|
+
class ListAssessmentRunsResponse
|
492
|
+
attr_accessor assessment_run_arns: ::Array[::String]
|
493
|
+
attr_accessor next_token: ::String
|
494
|
+
SENSITIVE: []
|
495
|
+
end
|
496
|
+
|
497
|
+
class ListAssessmentTargetsRequest
|
498
|
+
attr_accessor filter: Types::AssessmentTargetFilter
|
499
|
+
attr_accessor next_token: ::String
|
500
|
+
attr_accessor max_results: ::Integer
|
501
|
+
SENSITIVE: []
|
502
|
+
end
|
503
|
+
|
504
|
+
class ListAssessmentTargetsResponse
|
505
|
+
attr_accessor assessment_target_arns: ::Array[::String]
|
506
|
+
attr_accessor next_token: ::String
|
507
|
+
SENSITIVE: []
|
508
|
+
end
|
509
|
+
|
510
|
+
class ListAssessmentTemplatesRequest
|
511
|
+
attr_accessor assessment_target_arns: ::Array[::String]
|
512
|
+
attr_accessor filter: Types::AssessmentTemplateFilter
|
513
|
+
attr_accessor next_token: ::String
|
514
|
+
attr_accessor max_results: ::Integer
|
515
|
+
SENSITIVE: []
|
516
|
+
end
|
517
|
+
|
518
|
+
class ListAssessmentTemplatesResponse
|
519
|
+
attr_accessor assessment_template_arns: ::Array[::String]
|
520
|
+
attr_accessor next_token: ::String
|
521
|
+
SENSITIVE: []
|
522
|
+
end
|
523
|
+
|
524
|
+
class ListEventSubscriptionsRequest
|
525
|
+
attr_accessor resource_arn: ::String
|
526
|
+
attr_accessor next_token: ::String
|
527
|
+
attr_accessor max_results: ::Integer
|
528
|
+
SENSITIVE: []
|
529
|
+
end
|
530
|
+
|
531
|
+
class ListEventSubscriptionsResponse
|
532
|
+
attr_accessor subscriptions: ::Array[Types::Subscription]
|
533
|
+
attr_accessor next_token: ::String
|
534
|
+
SENSITIVE: []
|
535
|
+
end
|
536
|
+
|
537
|
+
class ListExclusionsRequest
|
538
|
+
attr_accessor assessment_run_arn: ::String
|
539
|
+
attr_accessor next_token: ::String
|
540
|
+
attr_accessor max_results: ::Integer
|
541
|
+
SENSITIVE: []
|
542
|
+
end
|
543
|
+
|
544
|
+
class ListExclusionsResponse
|
545
|
+
attr_accessor exclusion_arns: ::Array[::String]
|
546
|
+
attr_accessor next_token: ::String
|
547
|
+
SENSITIVE: []
|
548
|
+
end
|
549
|
+
|
550
|
+
class ListFindingsRequest
|
551
|
+
attr_accessor assessment_run_arns: ::Array[::String]
|
552
|
+
attr_accessor filter: Types::FindingFilter
|
553
|
+
attr_accessor next_token: ::String
|
554
|
+
attr_accessor max_results: ::Integer
|
555
|
+
SENSITIVE: []
|
556
|
+
end
|
557
|
+
|
558
|
+
class ListFindingsResponse
|
559
|
+
attr_accessor finding_arns: ::Array[::String]
|
560
|
+
attr_accessor next_token: ::String
|
561
|
+
SENSITIVE: []
|
562
|
+
end
|
563
|
+
|
564
|
+
class ListRulesPackagesRequest
|
565
|
+
attr_accessor next_token: ::String
|
566
|
+
attr_accessor max_results: ::Integer
|
567
|
+
SENSITIVE: []
|
568
|
+
end
|
569
|
+
|
570
|
+
class ListRulesPackagesResponse
|
571
|
+
attr_accessor rules_package_arns: ::Array[::String]
|
572
|
+
attr_accessor next_token: ::String
|
573
|
+
SENSITIVE: []
|
574
|
+
end
|
575
|
+
|
576
|
+
class ListTagsForResourceRequest
|
577
|
+
attr_accessor resource_arn: ::String
|
578
|
+
SENSITIVE: []
|
579
|
+
end
|
580
|
+
|
581
|
+
class ListTagsForResourceResponse
|
582
|
+
attr_accessor tags: ::Array[Types::Tag]
|
583
|
+
SENSITIVE: []
|
584
|
+
end
|
585
|
+
|
586
|
+
class NetworkInterface
|
587
|
+
attr_accessor network_interface_id: ::String
|
588
|
+
attr_accessor subnet_id: ::String
|
589
|
+
attr_accessor vpc_id: ::String
|
590
|
+
attr_accessor private_dns_name: ::String
|
591
|
+
attr_accessor private_ip_address: ::String
|
592
|
+
attr_accessor private_ip_addresses: ::Array[Types::PrivateIp]
|
593
|
+
attr_accessor public_dns_name: ::String
|
594
|
+
attr_accessor public_ip: ::String
|
595
|
+
attr_accessor ipv6_addresses: ::Array[::String]
|
596
|
+
attr_accessor security_groups: ::Array[Types::SecurityGroup]
|
597
|
+
SENSITIVE: []
|
598
|
+
end
|
599
|
+
|
600
|
+
class NoSuchEntityException
|
601
|
+
attr_accessor message: ::String
|
602
|
+
attr_accessor error_code: ("ASSESSMENT_TARGET_DOES_NOT_EXIST" | "ASSESSMENT_TEMPLATE_DOES_NOT_EXIST" | "ASSESSMENT_RUN_DOES_NOT_EXIST" | "FINDING_DOES_NOT_EXIST" | "RESOURCE_GROUP_DOES_NOT_EXIST" | "RULES_PACKAGE_DOES_NOT_EXIST" | "SNS_TOPIC_DOES_NOT_EXIST" | "IAM_ROLE_DOES_NOT_EXIST")
|
603
|
+
attr_accessor can_retry: bool
|
604
|
+
SENSITIVE: []
|
605
|
+
end
|
606
|
+
|
607
|
+
class PreviewAgentsRequest
|
608
|
+
attr_accessor preview_agents_arn: ::String
|
609
|
+
attr_accessor next_token: ::String
|
610
|
+
attr_accessor max_results: ::Integer
|
611
|
+
SENSITIVE: []
|
612
|
+
end
|
613
|
+
|
614
|
+
class PreviewAgentsResponse
|
615
|
+
attr_accessor agent_previews: ::Array[Types::AgentPreview]
|
616
|
+
attr_accessor next_token: ::String
|
617
|
+
SENSITIVE: []
|
618
|
+
end
|
619
|
+
|
620
|
+
class PreviewGenerationInProgressException
|
621
|
+
attr_accessor message: ::String
|
622
|
+
SENSITIVE: []
|
623
|
+
end
|
624
|
+
|
625
|
+
class PrivateIp
|
626
|
+
attr_accessor private_dns_name: ::String
|
627
|
+
attr_accessor private_ip_address: ::String
|
628
|
+
SENSITIVE: []
|
629
|
+
end
|
630
|
+
|
631
|
+
class RegisterCrossAccountAccessRoleRequest
|
632
|
+
attr_accessor role_arn: ::String
|
633
|
+
SENSITIVE: []
|
634
|
+
end
|
635
|
+
|
636
|
+
class RemoveAttributesFromFindingsRequest
|
637
|
+
attr_accessor finding_arns: ::Array[::String]
|
638
|
+
attr_accessor attribute_keys: ::Array[::String]
|
639
|
+
SENSITIVE: []
|
640
|
+
end
|
641
|
+
|
642
|
+
class RemoveAttributesFromFindingsResponse
|
643
|
+
attr_accessor failed_items: ::Hash[::String, Types::FailedItemDetails]
|
644
|
+
SENSITIVE: []
|
645
|
+
end
|
646
|
+
|
647
|
+
class ResourceGroup
|
648
|
+
attr_accessor arn: ::String
|
649
|
+
attr_accessor tags: ::Array[Types::ResourceGroupTag]
|
650
|
+
attr_accessor created_at: ::Time
|
651
|
+
SENSITIVE: []
|
652
|
+
end
|
653
|
+
|
654
|
+
class ResourceGroupTag
|
655
|
+
attr_accessor key: ::String
|
656
|
+
attr_accessor value: ::String
|
657
|
+
SENSITIVE: []
|
658
|
+
end
|
659
|
+
|
660
|
+
class RulesPackage
|
661
|
+
attr_accessor arn: ::String
|
662
|
+
attr_accessor name: ::String
|
663
|
+
attr_accessor version: ::String
|
664
|
+
attr_accessor provider: ::String
|
665
|
+
attr_accessor description: ::String
|
666
|
+
SENSITIVE: []
|
667
|
+
end
|
668
|
+
|
669
|
+
class Scope
|
670
|
+
attr_accessor key: ("INSTANCE_ID" | "RULES_PACKAGE_ARN")
|
671
|
+
attr_accessor value: ::String
|
672
|
+
SENSITIVE: []
|
673
|
+
end
|
674
|
+
|
675
|
+
class SecurityGroup
|
676
|
+
attr_accessor group_name: ::String
|
677
|
+
attr_accessor group_id: ::String
|
678
|
+
SENSITIVE: []
|
679
|
+
end
|
680
|
+
|
681
|
+
class ServiceTemporarilyUnavailableException
|
682
|
+
attr_accessor message: ::String
|
683
|
+
attr_accessor can_retry: bool
|
684
|
+
SENSITIVE: []
|
685
|
+
end
|
686
|
+
|
687
|
+
class SetTagsForResourceRequest
|
688
|
+
attr_accessor resource_arn: ::String
|
689
|
+
attr_accessor tags: ::Array[Types::Tag]
|
690
|
+
SENSITIVE: []
|
691
|
+
end
|
692
|
+
|
693
|
+
class StartAssessmentRunRequest
|
694
|
+
attr_accessor assessment_template_arn: ::String
|
695
|
+
attr_accessor assessment_run_name: ::String
|
696
|
+
SENSITIVE: []
|
697
|
+
end
|
698
|
+
|
699
|
+
class StartAssessmentRunResponse
|
700
|
+
attr_accessor assessment_run_arn: ::String
|
701
|
+
SENSITIVE: []
|
702
|
+
end
|
703
|
+
|
704
|
+
class StopAssessmentRunRequest
|
705
|
+
attr_accessor assessment_run_arn: ::String
|
706
|
+
attr_accessor stop_action: ("START_EVALUATION" | "SKIP_EVALUATION")
|
707
|
+
SENSITIVE: []
|
708
|
+
end
|
709
|
+
|
710
|
+
class SubscribeToEventRequest
|
711
|
+
attr_accessor resource_arn: ::String
|
712
|
+
attr_accessor event: ("ASSESSMENT_RUN_STARTED" | "ASSESSMENT_RUN_COMPLETED" | "ASSESSMENT_RUN_STATE_CHANGED" | "FINDING_REPORTED" | "OTHER")
|
713
|
+
attr_accessor topic_arn: ::String
|
714
|
+
SENSITIVE: []
|
715
|
+
end
|
716
|
+
|
717
|
+
class Subscription
|
718
|
+
attr_accessor resource_arn: ::String
|
719
|
+
attr_accessor topic_arn: ::String
|
720
|
+
attr_accessor event_subscriptions: ::Array[Types::EventSubscription]
|
721
|
+
SENSITIVE: []
|
722
|
+
end
|
723
|
+
|
724
|
+
class Tag
|
725
|
+
attr_accessor key: ::String
|
726
|
+
attr_accessor value: ::String
|
727
|
+
SENSITIVE: []
|
728
|
+
end
|
729
|
+
|
730
|
+
class TelemetryMetadata
|
731
|
+
attr_accessor message_type: ::String
|
732
|
+
attr_accessor count: ::Integer
|
733
|
+
attr_accessor data_size: ::Integer
|
734
|
+
SENSITIVE: []
|
735
|
+
end
|
736
|
+
|
737
|
+
class TimestampRange
|
738
|
+
attr_accessor begin_date: ::Time
|
739
|
+
attr_accessor end_date: ::Time
|
740
|
+
SENSITIVE: []
|
741
|
+
end
|
742
|
+
|
743
|
+
class UnsubscribeFromEventRequest
|
744
|
+
attr_accessor resource_arn: ::String
|
745
|
+
attr_accessor event: ("ASSESSMENT_RUN_STARTED" | "ASSESSMENT_RUN_COMPLETED" | "ASSESSMENT_RUN_STATE_CHANGED" | "FINDING_REPORTED" | "OTHER")
|
746
|
+
attr_accessor topic_arn: ::String
|
747
|
+
SENSITIVE: []
|
748
|
+
end
|
749
|
+
|
750
|
+
class UnsupportedFeatureException
|
751
|
+
attr_accessor message: ::String
|
752
|
+
attr_accessor can_retry: bool
|
753
|
+
SENSITIVE: []
|
754
|
+
end
|
755
|
+
|
756
|
+
class UpdateAssessmentTargetRequest
|
757
|
+
attr_accessor assessment_target_arn: ::String
|
758
|
+
attr_accessor assessment_target_name: ::String
|
759
|
+
attr_accessor resource_group_arn: ::String
|
760
|
+
SENSITIVE: []
|
761
|
+
end
|
762
|
+
end
|
763
|
+
end
|