aws-sdk-inspector 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: effd41d894acad88f4fc57f1fc9b937c7a5a805e
4
- data.tar.gz: cee01a530cec63f97d196b742e33c1b0eb1b8538
3
+ metadata.gz: 83b4887deb9749506f4241290ae30f360528fb76
4
+ data.tar.gz: d6f766538e47727581316f5772d3c5f4d1d4a5e2
5
5
  SHA512:
6
- metadata.gz: cb065d2ca3e9cf991f8b7c2c4e06bd03395ba2024035f716e5093bfba10ce7b01f55996d60d1e3caa95841aa2d00adb264c369fd879d5677508eb50e35853e36
7
- data.tar.gz: cf33328e41ff7798d0f450a371b574101387f017fd22d5851052185562de87efaff9f568cf2f1a7a2c65e2c0baf78d116b2b43e4abdd78968f15163cb946bfe7
6
+ metadata.gz: c0b0a15af02b7e8dd4e21eb370d94eec0a7ffcf6b524081988a3b92f015e69e8d81b2e03246cbe8f3f0e852cfa09ca22cb12b7034c308de235ce4dacceb5808b
7
+ data.tar.gz: b9c04011b8fab588075dc7e9a6c0d29e3c9aeeea77d718eaa000eccd98d3eac5076ac6b5532ff655d198df509c0a9945fac5b9fbb5e4d053a1bcd835218761bf
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-inspector/customizations'
42
42
  # @service
43
43
  module Aws::Inspector
44
44
 
45
- GEM_VERSION = '1.2.0'
45
+ GEM_VERSION = '1.3.0'
46
46
 
47
47
  end
@@ -762,6 +762,7 @@ module Aws::Inspector
762
762
  # {
763
763
  # name: "ExampleAssessmentTemplate",
764
764
  # arn: "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw",
765
+ # assessment_run_count: 0,
765
766
  # assessment_target_arn: "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq",
766
767
  # created_at: Time.parse("1458074191.844"),
767
768
  # duration_in_seconds: 3600,
@@ -794,6 +795,8 @@ module Aws::Inspector
794
795
  # resp.assessment_templates[0].user_attributes_for_findings #=> Array
795
796
  # resp.assessment_templates[0].user_attributes_for_findings[0].key #=> String
796
797
  # resp.assessment_templates[0].user_attributes_for_findings[0].value #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
798
+ # resp.assessment_templates[0].last_assessment_run_arn #=> String
799
+ # resp.assessment_templates[0].assessment_run_count #=> Integer
797
800
  # resp.assessment_templates[0].created_at #=> Time
798
801
  # resp.failed_items #=> Hash
799
802
  # resp.failed_items["Arn"].failure_code #=> String, one of "INVALID_ARN", "DUPLICATE_ARN", "ITEM_DOES_NOT_EXIST", "ACCESS_DENIED", "LIMIT_EXCEEDED", "INTERNAL_ERROR"
@@ -2574,7 +2577,7 @@ module Aws::Inspector
2574
2577
  params: params,
2575
2578
  config: config)
2576
2579
  context[:gem_name] = 'aws-sdk-inspector'
2577
- context[:gem_version] = '1.2.0'
2580
+ context[:gem_version] = '1.3.0'
2578
2581
  Seahorse::Client::Request.new(handlers, context)
2579
2582
  end
2580
2583
 
@@ -31,6 +31,7 @@ module Aws::Inspector
31
31
  AgentsAlreadyRunningAssessmentException = Shapes::StructureShape.new(name: 'AgentsAlreadyRunningAssessmentException')
32
32
  AmiId = Shapes::StringShape.new(name: 'AmiId')
33
33
  Arn = Shapes::StringShape.new(name: 'Arn')
34
+ ArnCount = Shapes::IntegerShape.new(name: 'ArnCount')
34
35
  AssessmentRulesPackageArnList = Shapes::ListShape.new(name: 'AssessmentRulesPackageArnList')
35
36
  AssessmentRun = Shapes::StructureShape.new(name: 'AssessmentRun')
36
37
  AssessmentRunAgent = Shapes::StructureShape.new(name: 'AssessmentRunAgent')
@@ -318,6 +319,8 @@ module Aws::Inspector
318
319
  AssessmentTemplate.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: AssessmentRunDuration, required: true, location_name: "durationInSeconds"))
319
320
  AssessmentTemplate.add_member(:rules_package_arns, Shapes::ShapeRef.new(shape: AssessmentTemplateRulesPackageArnList, required: true, location_name: "rulesPackageArns"))
320
321
  AssessmentTemplate.add_member(:user_attributes_for_findings, Shapes::ShapeRef.new(shape: UserAttributeList, required: true, location_name: "userAttributesForFindings"))
322
+ AssessmentTemplate.add_member(:last_assessment_run_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "lastAssessmentRunArn"))
323
+ AssessmentTemplate.add_member(:assessment_run_count, Shapes::ShapeRef.new(shape: ArnCount, required: true, location_name: "assessmentRunCount"))
321
324
  AssessmentTemplate.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
322
325
  AssessmentTemplate.struct_class = Types::AssessmentTemplate
323
326
 
@@ -527,6 +527,17 @@ module Aws::Inspector
527
527
  # finding from the assessment run that uses this assessment template.
528
528
  # @return [Array<Types::Attribute>]
529
529
  #
530
+ # @!attribute [rw] last_assessment_run_arn
531
+ # The Amazon Resource Name (ARN) of the most recent assessment run
532
+ # associated with this assessment template. This value exists only
533
+ # when the value of assessmentRunCount is greater than zero.
534
+ # @return [String]
535
+ #
536
+ # @!attribute [rw] assessment_run_count
537
+ # The number of existing assessment runs associated with this
538
+ # assessment template. This value can be zero or a positive integer.
539
+ # @return [Integer]
540
+ #
530
541
  # @!attribute [rw] created_at
531
542
  # The time at which the assessment template is created.
532
543
  # @return [Time]
@@ -540,6 +551,8 @@ module Aws::Inspector
540
551
  :duration_in_seconds,
541
552
  :rules_package_arns,
542
553
  :user_attributes_for_findings,
554
+ :last_assessment_run_arn,
555
+ :assessment_run_count,
543
556
  :created_at)
544
557
  include Aws::Structure
545
558
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-inspector
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
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-12-22 00:00:00.000000000 Z
11
+ date: 2018-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core