aws-sdk-inspector 1.0.0.rc5 → 1.0.0.rc6
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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-inspector.rb +1 -1
- data/lib/aws-sdk-inspector/client.rb +53 -4
- data/lib/aws-sdk-inspector/client_api.rb +36 -0
- data/lib/aws-sdk-inspector/types.rb +67 -3
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b9ea6d87d715e3f40fc45282447cdb4711de396
|
4
|
+
data.tar.gz: 947cdc6c2378116be2ed22e620490d8b92b94b0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 501db8f0bfb0b02630edc2757077308ef2bb2b0b63bb667380bbe8dfc09188b1618b136b806ee8502ba726b4dfa4a7ff657238717f668aad523c8fd83ced2b07
|
7
|
+
data.tar.gz: 92422f817f417b1f57c7469dacacac1ad62ebd2089581df9f2a8424a851fb89711aa2cd5cd1efc5832130719f802af266d21326eca151367ee67e1e21f97c6eb
|
data/lib/aws-sdk-inspector.rb
CHANGED
@@ -429,7 +429,7 @@ module Aws::Inspector
|
|
429
429
|
# resp.assessment_runs[0].arn #=> String
|
430
430
|
# resp.assessment_runs[0].name #=> String
|
431
431
|
# resp.assessment_runs[0].assessment_template_arn #=> String
|
432
|
-
# resp.assessment_runs[0].state #=> String, one of "CREATED", "START_DATA_COLLECTION_PENDING", "START_DATA_COLLECTION_IN_PROGRESS", "COLLECTING_DATA", "STOP_DATA_COLLECTION_PENDING", "DATA_COLLECTED", "EVALUATING_RULES", "FAILED", "COMPLETED", "COMPLETED_WITH_ERRORS"
|
432
|
+
# resp.assessment_runs[0].state #=> String, one of "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"
|
433
433
|
# resp.assessment_runs[0].duration_in_seconds #=> Integer
|
434
434
|
# resp.assessment_runs[0].rules_package_arns #=> Array
|
435
435
|
# resp.assessment_runs[0].rules_package_arns[0] #=> String
|
@@ -443,7 +443,7 @@ module Aws::Inspector
|
|
443
443
|
# resp.assessment_runs[0].data_collected #=> Boolean
|
444
444
|
# resp.assessment_runs[0].state_changes #=> Array
|
445
445
|
# resp.assessment_runs[0].state_changes[0].state_changed_at #=> Time
|
446
|
-
# resp.assessment_runs[0].state_changes[0].state #=> String, one of "CREATED", "START_DATA_COLLECTION_PENDING", "START_DATA_COLLECTION_IN_PROGRESS", "COLLECTING_DATA", "STOP_DATA_COLLECTION_PENDING", "DATA_COLLECTED", "EVALUATING_RULES", "FAILED", "COMPLETED", "COMPLETED_WITH_ERRORS"
|
446
|
+
# resp.assessment_runs[0].state_changes[0].state #=> String, one of "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"
|
447
447
|
# resp.assessment_runs[0].notifications #=> Array
|
448
448
|
# resp.assessment_runs[0].notifications[0].date #=> Time
|
449
449
|
# resp.assessment_runs[0].notifications[0].event #=> String, one of "ASSESSMENT_RUN_STARTED", "ASSESSMENT_RUN_COMPLETED", "ASSESSMENT_RUN_STATE_CHANGED", "FINDING_REPORTED", "OTHER"
|
@@ -451,6 +451,8 @@ module Aws::Inspector
|
|
451
451
|
# resp.assessment_runs[0].notifications[0].error #=> Boolean
|
452
452
|
# resp.assessment_runs[0].notifications[0].sns_topic_arn #=> String
|
453
453
|
# resp.assessment_runs[0].notifications[0].sns_publish_status_code #=> String, one of "SUCCESS", "TOPIC_DOES_NOT_EXIST", "ACCESS_DENIED", "INTERNAL_ERROR"
|
454
|
+
# resp.assessment_runs[0].finding_counts #=> Hash
|
455
|
+
# resp.assessment_runs[0].finding_counts["Severity"] #=> Integer
|
454
456
|
# resp.failed_items #=> Hash
|
455
457
|
# resp.failed_items["Arn"].failure_code #=> String, one of "INVALID_ARN", "DUPLICATE_ARN", "ITEM_DOES_NOT_EXIST", "ACCESS_DENIED", "LIMIT_EXCEEDED", "INTERNAL_ERROR"
|
456
458
|
# resp.failed_items["Arn"].retryable #=> Boolean
|
@@ -717,6 +719,53 @@ module Aws::Inspector
|
|
717
719
|
req.send_request(options)
|
718
720
|
end
|
719
721
|
|
722
|
+
# Produces an assessment report that includes detailed and comprehensive
|
723
|
+
# results of a specified assessment run.
|
724
|
+
#
|
725
|
+
# @option params [required, String] :assessment_run_arn
|
726
|
+
# The ARN that specifies the assessment run for which you want to
|
727
|
+
# generate a report.
|
728
|
+
#
|
729
|
+
# @option params [required, String] :report_file_format
|
730
|
+
# Specifies the file format (html or pdf) of the assessment report that
|
731
|
+
# you want to generate.
|
732
|
+
#
|
733
|
+
# @option params [required, String] :report_type
|
734
|
+
# Specifies the type of the assessment report that you want to generate.
|
735
|
+
# There are two types of assessment reports: a finding report and a full
|
736
|
+
# report. For more information, see [Assessment Reports][1].
|
737
|
+
#
|
738
|
+
#
|
739
|
+
#
|
740
|
+
# [1]: http://docs.aws.amazon.com/inspector/latest/userguide/inspector_reports.html
|
741
|
+
#
|
742
|
+
# @return [Types::GetAssessmentReportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
743
|
+
#
|
744
|
+
# * {Types::GetAssessmentReportResponse#status #status} => String
|
745
|
+
# * {Types::GetAssessmentReportResponse#url #url} => String
|
746
|
+
#
|
747
|
+
# @example Request syntax with placeholder values
|
748
|
+
#
|
749
|
+
# resp = client.get_assessment_report({
|
750
|
+
# assessment_run_arn: "Arn", # required
|
751
|
+
# report_file_format: "HTML", # required, accepts HTML, PDF
|
752
|
+
# report_type: "FINDING", # required, accepts FINDING, FULL
|
753
|
+
# })
|
754
|
+
#
|
755
|
+
# @example Response structure
|
756
|
+
#
|
757
|
+
# resp.status #=> String, one of "WORK_IN_PROGRESS", "FAILED", "COMPLETED"
|
758
|
+
# resp.url #=> String
|
759
|
+
#
|
760
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetAssessmentReport AWS API Documentation
|
761
|
+
#
|
762
|
+
# @overload get_assessment_report(params = {})
|
763
|
+
# @param [Hash] params ({})
|
764
|
+
def get_assessment_report(params = {}, options = {})
|
765
|
+
req = build_request(:get_assessment_report, params)
|
766
|
+
req.send_request(options)
|
767
|
+
end
|
768
|
+
|
720
769
|
# Information about the data that is collected for the specified
|
721
770
|
# assessment run.
|
722
771
|
#
|
@@ -856,7 +905,7 @@ module Aws::Inspector
|
|
856
905
|
# assessment_template_arns: ["Arn"],
|
857
906
|
# filter: {
|
858
907
|
# name_pattern: "NamePattern",
|
859
|
-
# states: ["CREATED"], # accepts CREATED, START_DATA_COLLECTION_PENDING, START_DATA_COLLECTION_IN_PROGRESS, COLLECTING_DATA, STOP_DATA_COLLECTION_PENDING, DATA_COLLECTED, EVALUATING_RULES, FAILED, COMPLETED, COMPLETED_WITH_ERRORS
|
908
|
+
# states: ["CREATED"], # accepts 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
|
860
909
|
# duration_range: {
|
861
910
|
# min_seconds: 1,
|
862
911
|
# max_seconds: 1,
|
@@ -1530,7 +1579,7 @@ module Aws::Inspector
|
|
1530
1579
|
params: params,
|
1531
1580
|
config: config)
|
1532
1581
|
context[:gem_name] = 'aws-sdk-inspector'
|
1533
|
-
context[:gem_version] = '1.0.0.
|
1582
|
+
context[:gem_version] = '1.0.0.rc6'
|
1534
1583
|
Seahorse::Client::Request.new(handlers, context)
|
1535
1584
|
end
|
1536
1585
|
|
@@ -36,6 +36,7 @@ module Aws::Inspector
|
|
36
36
|
AssessmentRunAgentList = Shapes::ListShape.new(name: 'AssessmentRunAgentList')
|
37
37
|
AssessmentRunDuration = Shapes::IntegerShape.new(name: 'AssessmentRunDuration')
|
38
38
|
AssessmentRunFilter = Shapes::StructureShape.new(name: 'AssessmentRunFilter')
|
39
|
+
AssessmentRunFindingCounts = Shapes::MapShape.new(name: 'AssessmentRunFindingCounts')
|
39
40
|
AssessmentRunInProgressArnList = Shapes::ListShape.new(name: 'AssessmentRunInProgressArnList')
|
40
41
|
AssessmentRunInProgressException = Shapes::StructureShape.new(name: 'AssessmentRunInProgressException')
|
41
42
|
AssessmentRunList = Shapes::ListShape.new(name: 'AssessmentRunList')
|
@@ -97,9 +98,12 @@ module Aws::Inspector
|
|
97
98
|
FailedItems = Shapes::MapShape.new(name: 'FailedItems')
|
98
99
|
FilterRulesPackageArnList = Shapes::ListShape.new(name: 'FilterRulesPackageArnList')
|
99
100
|
Finding = Shapes::StructureShape.new(name: 'Finding')
|
101
|
+
FindingCount = Shapes::IntegerShape.new(name: 'FindingCount')
|
100
102
|
FindingFilter = Shapes::StructureShape.new(name: 'FindingFilter')
|
101
103
|
FindingId = Shapes::StringShape.new(name: 'FindingId')
|
102
104
|
FindingList = Shapes::ListShape.new(name: 'FindingList')
|
105
|
+
GetAssessmentReportRequest = Shapes::StructureShape.new(name: 'GetAssessmentReportRequest')
|
106
|
+
GetAssessmentReportResponse = Shapes::StructureShape.new(name: 'GetAssessmentReportResponse')
|
103
107
|
GetTelemetryMetadataRequest = Shapes::StructureShape.new(name: 'GetTelemetryMetadataRequest')
|
104
108
|
GetTelemetryMetadataResponse = Shapes::StructureShape.new(name: 'GetTelemetryMetadataResponse')
|
105
109
|
Hostname = Shapes::StringShape.new(name: 'Hostname')
|
@@ -152,6 +156,9 @@ module Aws::Inspector
|
|
152
156
|
RegisterCrossAccountAccessRoleRequest = Shapes::StructureShape.new(name: 'RegisterCrossAccountAccessRoleRequest')
|
153
157
|
RemoveAttributesFromFindingsRequest = Shapes::StructureShape.new(name: 'RemoveAttributesFromFindingsRequest')
|
154
158
|
RemoveAttributesFromFindingsResponse = Shapes::StructureShape.new(name: 'RemoveAttributesFromFindingsResponse')
|
159
|
+
ReportFileFormat = Shapes::StringShape.new(name: 'ReportFileFormat')
|
160
|
+
ReportStatus = Shapes::StringShape.new(name: 'ReportStatus')
|
161
|
+
ReportType = Shapes::StringShape.new(name: 'ReportType')
|
155
162
|
ResourceGroup = Shapes::StructureShape.new(name: 'ResourceGroup')
|
156
163
|
ResourceGroupList = Shapes::ListShape.new(name: 'ResourceGroupList')
|
157
164
|
ResourceGroupTag = Shapes::StructureShape.new(name: 'ResourceGroupTag')
|
@@ -181,7 +188,9 @@ module Aws::Inspector
|
|
181
188
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
182
189
|
TimestampRange = Shapes::StructureShape.new(name: 'TimestampRange')
|
183
190
|
UnsubscribeFromEventRequest = Shapes::StructureShape.new(name: 'UnsubscribeFromEventRequest')
|
191
|
+
UnsupportedFeatureException = Shapes::StructureShape.new(name: 'UnsupportedFeatureException')
|
184
192
|
UpdateAssessmentTargetRequest = Shapes::StructureShape.new(name: 'UpdateAssessmentTargetRequest')
|
193
|
+
Url = Shapes::StringShape.new(name: 'Url')
|
185
194
|
UserAttributeKeyList = Shapes::ListShape.new(name: 'UserAttributeKeyList')
|
186
195
|
UserAttributeList = Shapes::ListShape.new(name: 'UserAttributeList')
|
187
196
|
Version = Shapes::StringShape.new(name: 'Version')
|
@@ -233,6 +242,7 @@ module Aws::Inspector
|
|
233
242
|
AssessmentRun.add_member(:data_collected, Shapes::ShapeRef.new(shape: Bool, required: true, location_name: "dataCollected"))
|
234
243
|
AssessmentRun.add_member(:state_changes, Shapes::ShapeRef.new(shape: AssessmentRunStateChangeList, required: true, location_name: "stateChanges"))
|
235
244
|
AssessmentRun.add_member(:notifications, Shapes::ShapeRef.new(shape: AssessmentRunNotificationList, required: true, location_name: "notifications"))
|
245
|
+
AssessmentRun.add_member(:finding_counts, Shapes::ShapeRef.new(shape: AssessmentRunFindingCounts, required: true, location_name: "findingCounts"))
|
236
246
|
AssessmentRun.struct_class = Types::AssessmentRun
|
237
247
|
|
238
248
|
AssessmentRunAgent.add_member(:agent_id, Shapes::ShapeRef.new(shape: AgentId, required: true, location_name: "agentId"))
|
@@ -255,6 +265,9 @@ module Aws::Inspector
|
|
255
265
|
AssessmentRunFilter.add_member(:state_change_time_range, Shapes::ShapeRef.new(shape: TimestampRange, location_name: "stateChangeTimeRange"))
|
256
266
|
AssessmentRunFilter.struct_class = Types::AssessmentRunFilter
|
257
267
|
|
268
|
+
AssessmentRunFindingCounts.key = Shapes::ShapeRef.new(shape: Severity)
|
269
|
+
AssessmentRunFindingCounts.value = Shapes::ShapeRef.new(shape: FindingCount)
|
270
|
+
|
258
271
|
AssessmentRunInProgressArnList.member = Shapes::ShapeRef.new(shape: Arn)
|
259
272
|
|
260
273
|
AssessmentRunList.member = Shapes::ShapeRef.new(shape: AssessmentRun)
|
@@ -457,6 +470,15 @@ module Aws::Inspector
|
|
457
470
|
|
458
471
|
FindingList.member = Shapes::ShapeRef.new(shape: Finding)
|
459
472
|
|
473
|
+
GetAssessmentReportRequest.add_member(:assessment_run_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentRunArn"))
|
474
|
+
GetAssessmentReportRequest.add_member(:report_file_format, Shapes::ShapeRef.new(shape: ReportFileFormat, required: true, location_name: "reportFileFormat"))
|
475
|
+
GetAssessmentReportRequest.add_member(:report_type, Shapes::ShapeRef.new(shape: ReportType, required: true, location_name: "reportType"))
|
476
|
+
GetAssessmentReportRequest.struct_class = Types::GetAssessmentReportRequest
|
477
|
+
|
478
|
+
GetAssessmentReportResponse.add_member(:status, Shapes::ShapeRef.new(shape: ReportStatus, required: true, location_name: "status"))
|
479
|
+
GetAssessmentReportResponse.add_member(:url, Shapes::ShapeRef.new(shape: Url, location_name: "url"))
|
480
|
+
GetAssessmentReportResponse.struct_class = Types::GetAssessmentReportResponse
|
481
|
+
|
460
482
|
GetTelemetryMetadataRequest.add_member(:assessment_run_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentRunArn"))
|
461
483
|
GetTelemetryMetadataRequest.struct_class = Types::GetTelemetryMetadataRequest
|
462
484
|
|
@@ -821,6 +843,20 @@ module Aws::Inspector
|
|
821
843
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
822
844
|
end)
|
823
845
|
|
846
|
+
api.add_operation(:get_assessment_report, Seahorse::Model::Operation.new.tap do |o|
|
847
|
+
o.name = "GetAssessmentReport"
|
848
|
+
o.http_method = "POST"
|
849
|
+
o.http_request_uri = "/"
|
850
|
+
o.input = Shapes::ShapeRef.new(shape: GetAssessmentReportRequest)
|
851
|
+
o.output = Shapes::ShapeRef.new(shape: GetAssessmentReportResponse)
|
852
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
853
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
854
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
855
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
|
856
|
+
o.errors << Shapes::ShapeRef.new(shape: AssessmentRunInProgressException)
|
857
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedFeatureException)
|
858
|
+
end)
|
859
|
+
|
824
860
|
api.add_operation(:get_telemetry_metadata, Seahorse::Model::Operation.new.tap do |o|
|
825
861
|
o.name = "GetTelemetryMetadata"
|
826
862
|
o.http_method = "POST"
|
@@ -188,6 +188,10 @@ module Aws::Inspector
|
|
188
188
|
# once.
|
189
189
|
# @return [Array<Types::AssessmentRunNotification>]
|
190
190
|
#
|
191
|
+
# @!attribute [rw] finding_counts
|
192
|
+
# Provides a total count of generated findings per severity.
|
193
|
+
# @return [Hash<String,Integer>]
|
194
|
+
#
|
191
195
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentRun AWS API Documentation
|
192
196
|
#
|
193
197
|
class AssessmentRun < Struct.new(
|
@@ -204,7 +208,8 @@ module Aws::Inspector
|
|
204
208
|
:state_changed_at,
|
205
209
|
:data_collected,
|
206
210
|
:state_changes,
|
207
|
-
:notifications
|
211
|
+
:notifications,
|
212
|
+
:finding_counts)
|
208
213
|
include Aws::Structure
|
209
214
|
end
|
210
215
|
|
@@ -261,7 +266,7 @@ module Aws::Inspector
|
|
261
266
|
#
|
262
267
|
# {
|
263
268
|
# name_pattern: "NamePattern",
|
264
|
-
# states: ["CREATED"], # accepts CREATED, START_DATA_COLLECTION_PENDING, START_DATA_COLLECTION_IN_PROGRESS, COLLECTING_DATA, STOP_DATA_COLLECTION_PENDING, DATA_COLLECTED, EVALUATING_RULES, FAILED, COMPLETED, COMPLETED_WITH_ERRORS
|
269
|
+
# states: ["CREATED"], # accepts 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
|
265
270
|
# duration_range: {
|
266
271
|
# min_seconds: 1,
|
267
272
|
# max_seconds: 1,
|
@@ -351,6 +356,7 @@ module Aws::Inspector
|
|
351
356
|
# @return [String]
|
352
357
|
#
|
353
358
|
# @!attribute [rw] message
|
359
|
+
# The message included in the notification.
|
354
360
|
# @return [String]
|
355
361
|
#
|
356
362
|
# @!attribute [rw] error
|
@@ -1320,6 +1326,64 @@ module Aws::Inspector
|
|
1320
1326
|
include Aws::Structure
|
1321
1327
|
end
|
1322
1328
|
|
1329
|
+
# @note When making an API call, you may pass GetAssessmentReportRequest
|
1330
|
+
# data as a hash:
|
1331
|
+
#
|
1332
|
+
# {
|
1333
|
+
# assessment_run_arn: "Arn", # required
|
1334
|
+
# report_file_format: "HTML", # required, accepts HTML, PDF
|
1335
|
+
# report_type: "FINDING", # required, accepts FINDING, FULL
|
1336
|
+
# }
|
1337
|
+
#
|
1338
|
+
# @!attribute [rw] assessment_run_arn
|
1339
|
+
# The ARN that specifies the assessment run for which you want to
|
1340
|
+
# generate a report.
|
1341
|
+
# @return [String]
|
1342
|
+
#
|
1343
|
+
# @!attribute [rw] report_file_format
|
1344
|
+
# Specifies the file format (html or pdf) of the assessment report
|
1345
|
+
# that you want to generate.
|
1346
|
+
# @return [String]
|
1347
|
+
#
|
1348
|
+
# @!attribute [rw] report_type
|
1349
|
+
# Specifies the type of the assessment report that you want to
|
1350
|
+
# generate. There are two types of assessment reports: a finding
|
1351
|
+
# report and a full report. For more information, see [Assessment
|
1352
|
+
# Reports][1].
|
1353
|
+
#
|
1354
|
+
#
|
1355
|
+
#
|
1356
|
+
# [1]: http://docs.aws.amazon.com/inspector/latest/userguide/inspector_reports.html
|
1357
|
+
# @return [String]
|
1358
|
+
#
|
1359
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetAssessmentReportRequest AWS API Documentation
|
1360
|
+
#
|
1361
|
+
class GetAssessmentReportRequest < Struct.new(
|
1362
|
+
:assessment_run_arn,
|
1363
|
+
:report_file_format,
|
1364
|
+
:report_type)
|
1365
|
+
include Aws::Structure
|
1366
|
+
end
|
1367
|
+
|
1368
|
+
# @!attribute [rw] status
|
1369
|
+
# Specifies the status of the request to generate an assessment
|
1370
|
+
# report.
|
1371
|
+
# @return [String]
|
1372
|
+
#
|
1373
|
+
# @!attribute [rw] url
|
1374
|
+
# Specifies the URL where you can find the generated assessment
|
1375
|
+
# report. This parameter is only returned if the report is
|
1376
|
+
# successfully generated.
|
1377
|
+
# @return [String]
|
1378
|
+
#
|
1379
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetAssessmentReportResponse AWS API Documentation
|
1380
|
+
#
|
1381
|
+
class GetAssessmentReportResponse < Struct.new(
|
1382
|
+
:status,
|
1383
|
+
:url)
|
1384
|
+
include Aws::Structure
|
1385
|
+
end
|
1386
|
+
|
1323
1387
|
# @note When making an API call, you may pass GetTelemetryMetadataRequest
|
1324
1388
|
# data as a hash:
|
1325
1389
|
#
|
@@ -1451,7 +1515,7 @@ module Aws::Inspector
|
|
1451
1515
|
# assessment_template_arns: ["Arn"],
|
1452
1516
|
# filter: {
|
1453
1517
|
# name_pattern: "NamePattern",
|
1454
|
-
# states: ["CREATED"], # accepts CREATED, START_DATA_COLLECTION_PENDING, START_DATA_COLLECTION_IN_PROGRESS, COLLECTING_DATA, STOP_DATA_COLLECTION_PENDING, DATA_COLLECTED, EVALUATING_RULES, FAILED, COMPLETED, COMPLETED_WITH_ERRORS
|
1518
|
+
# states: ["CREATED"], # accepts 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
|
1455
1519
|
# duration_range: {
|
1456
1520
|
# min_seconds: 1,
|
1457
1521
|
# max_seconds: 1,
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-inspector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.0.0.
|
19
|
+
version: 3.0.0.rc12
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.0.0.
|
26
|
+
version: 3.0.0.rc12
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: aws-sigv4
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|