aws-sdk-inspector2 1.7.0 → 1.9.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-inspector2/client.rb +360 -16
- data/lib/aws-sdk-inspector2/client_api.rb +154 -34
- data/lib/aws-sdk-inspector2/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-inspector2/endpoint_provider.rb +75 -77
- data/lib/aws-sdk-inspector2/errors.rb +13 -0
- data/lib/aws-sdk-inspector2/types.rb +463 -1976
- data/lib/aws-sdk-inspector2.rb +1 -1
- metadata +2 -2
@@ -51,16 +51,6 @@ module Aws::Inspector2
|
|
51
51
|
# An object that contains details about an aggregation response based on
|
52
52
|
# Amazon Web Services accounts.
|
53
53
|
#
|
54
|
-
# @note When making an API call, you may pass AccountAggregation
|
55
|
-
# data as a hash:
|
56
|
-
#
|
57
|
-
# {
|
58
|
-
# finding_type: "NETWORK_REACHABILITY", # accepts NETWORK_REACHABILITY, PACKAGE_VULNERABILITY
|
59
|
-
# resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE
|
60
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
61
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
62
|
-
# }
|
63
|
-
#
|
64
54
|
# @!attribute [rw] finding_type
|
65
55
|
# The type of finding.
|
66
56
|
# @return [String]
|
@@ -108,7 +98,7 @@ module Aws::Inspector2
|
|
108
98
|
end
|
109
99
|
|
110
100
|
# An object with details the status of an Amazon Web Services account
|
111
|
-
# within your Amazon Inspector environment
|
101
|
+
# within your Amazon Inspector environment.
|
112
102
|
#
|
113
103
|
# @!attribute [rw] account_id
|
114
104
|
# The Amazon Web Services account ID.
|
@@ -167,6 +157,14 @@ module Aws::Inspector2
|
|
167
157
|
# on container image layers.
|
168
158
|
# @return [Types::ImageLayerAggregation]
|
169
159
|
#
|
160
|
+
# @!attribute [rw] lambda_function_aggregation
|
161
|
+
# Returns an object with findings aggregated by AWS Lambda function.
|
162
|
+
# @return [Types::LambdaFunctionAggregation]
|
163
|
+
#
|
164
|
+
# @!attribute [rw] lambda_layer_aggregation
|
165
|
+
# Returns an object with findings aggregated by AWS Lambda layer.
|
166
|
+
# @return [Types::LambdaLayerAggregation]
|
167
|
+
#
|
170
168
|
# @!attribute [rw] package_aggregation
|
171
169
|
# An object that contains details about an aggregation request based
|
172
170
|
# on operating system package type.
|
@@ -191,6 +189,8 @@ module Aws::Inspector2
|
|
191
189
|
:ec2_instance_aggregation,
|
192
190
|
:finding_type_aggregation,
|
193
191
|
:image_layer_aggregation,
|
192
|
+
:lambda_function_aggregation,
|
193
|
+
:lambda_layer_aggregation,
|
194
194
|
:package_aggregation,
|
195
195
|
:repository_aggregation,
|
196
196
|
:title_aggregation,
|
@@ -205,6 +205,8 @@ module Aws::Inspector2
|
|
205
205
|
class Ec2InstanceAggregation < AggregationRequest; end
|
206
206
|
class FindingTypeAggregation < AggregationRequest; end
|
207
207
|
class ImageLayerAggregation < AggregationRequest; end
|
208
|
+
class LambdaFunctionAggregation < AggregationRequest; end
|
209
|
+
class LambdaLayerAggregation < AggregationRequest; end
|
208
210
|
class PackageAggregation < AggregationRequest; end
|
209
211
|
class RepositoryAggregation < AggregationRequest; end
|
210
212
|
class TitleAggregation < AggregationRequest; end
|
@@ -246,6 +248,14 @@ module Aws::Inspector2
|
|
246
248
|
# on container image layers.
|
247
249
|
# @return [Types::ImageLayerAggregationResponse]
|
248
250
|
#
|
251
|
+
# @!attribute [rw] lambda_function_aggregation
|
252
|
+
# An aggregation of findings by AWS Lambda function.
|
253
|
+
# @return [Types::LambdaFunctionAggregationResponse]
|
254
|
+
#
|
255
|
+
# @!attribute [rw] lambda_layer_aggregation
|
256
|
+
# An aggregation of findings by AWS Lambda layer.
|
257
|
+
# @return [Types::LambdaLayerAggregationResponse]
|
258
|
+
#
|
249
259
|
# @!attribute [rw] package_aggregation
|
250
260
|
# An object that contains details about an aggregation response based
|
251
261
|
# on operating system package type.
|
@@ -270,6 +280,8 @@ module Aws::Inspector2
|
|
270
280
|
:ec2_instance_aggregation,
|
271
281
|
:finding_type_aggregation,
|
272
282
|
:image_layer_aggregation,
|
283
|
+
:lambda_function_aggregation,
|
284
|
+
:lambda_layer_aggregation,
|
273
285
|
:package_aggregation,
|
274
286
|
:repository_aggregation,
|
275
287
|
:title_aggregation,
|
@@ -284,6 +296,8 @@ module Aws::Inspector2
|
|
284
296
|
class Ec2InstanceAggregation < AggregationResponse; end
|
285
297
|
class FindingTypeAggregation < AggregationResponse; end
|
286
298
|
class ImageLayerAggregation < AggregationResponse; end
|
299
|
+
class LambdaFunctionAggregation < AggregationResponse; end
|
300
|
+
class LambdaLayerAggregation < AggregationResponse; end
|
287
301
|
class PackageAggregation < AggregationResponse; end
|
288
302
|
class RepositoryAggregation < AggregationResponse; end
|
289
303
|
class TitleAggregation < AggregationResponse; end
|
@@ -293,20 +307,6 @@ module Aws::Inspector2
|
|
293
307
|
# The details that define an aggregation based on Amazon machine images
|
294
308
|
# (AMIs).
|
295
309
|
#
|
296
|
-
# @note When making an API call, you may pass AmiAggregation
|
297
|
-
# data as a hash:
|
298
|
-
#
|
299
|
-
# {
|
300
|
-
# amis: [
|
301
|
-
# {
|
302
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
303
|
-
# value: "StringInput", # required
|
304
|
-
# },
|
305
|
-
# ],
|
306
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL, AFFECTED_INSTANCES
|
307
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
308
|
-
# }
|
309
|
-
#
|
310
310
|
# @!attribute [rw] amis
|
311
311
|
# The IDs of AMIs to aggregate findings for.
|
312
312
|
# @return [Array<Types::StringFilter>]
|
@@ -332,7 +332,7 @@ module Aws::Inspector2
|
|
332
332
|
# A response that contains the results of a finding aggregation by AMI.
|
333
333
|
#
|
334
334
|
# @!attribute [rw] account_id
|
335
|
-
# The Amazon Web Services account ID
|
335
|
+
# The Amazon Web Services account ID for the AMI.
|
336
336
|
# @return [String]
|
337
337
|
#
|
338
338
|
# @!attribute [rw] affected_instances
|
@@ -358,13 +358,6 @@ module Aws::Inspector2
|
|
358
358
|
include Aws::Structure
|
359
359
|
end
|
360
360
|
|
361
|
-
# @note When making an API call, you may pass AssociateMemberRequest
|
362
|
-
# data as a hash:
|
363
|
-
#
|
364
|
-
# {
|
365
|
-
# account_id: "AccountId", # required
|
366
|
-
# }
|
367
|
-
#
|
368
361
|
# @!attribute [rw] account_id
|
369
362
|
# The Amazon Web Services account ID of the member account to be
|
370
363
|
# associated.
|
@@ -394,14 +387,6 @@ module Aws::Inspector2
|
|
394
387
|
# Represents which scan types are automatically enabled for new members
|
395
388
|
# of your Amazon Inspector organization.
|
396
389
|
#
|
397
|
-
# @note When making an API call, you may pass AutoEnable
|
398
|
-
# data as a hash:
|
399
|
-
#
|
400
|
-
# {
|
401
|
-
# ec2: false, # required
|
402
|
-
# ecr: false, # required
|
403
|
-
# }
|
404
|
-
#
|
405
390
|
# @!attribute [rw] ec2
|
406
391
|
# Represents whether Amazon EC2 scans are automatically enabled for
|
407
392
|
# new members of your Amazon Inspector organization.
|
@@ -412,11 +397,17 @@ module Aws::Inspector2
|
|
412
397
|
# new members of your Amazon Inspector organization.
|
413
398
|
# @return [Boolean]
|
414
399
|
#
|
400
|
+
# @!attribute [rw] lambda
|
401
|
+
# Represents whether AWS Lambda scans are automatically enabled for
|
402
|
+
# new members of your Amazon Inspector organization.
|
403
|
+
# @return [Boolean]
|
404
|
+
#
|
415
405
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/AutoEnable AWS API Documentation
|
416
406
|
#
|
417
407
|
class AutoEnable < Struct.new(
|
418
408
|
:ec2,
|
419
|
-
:ecr
|
409
|
+
:ecr,
|
410
|
+
:lambda)
|
420
411
|
SENSITIVE = []
|
421
412
|
include Aws::Structure
|
422
413
|
end
|
@@ -482,44 +473,6 @@ module Aws::Inspector2
|
|
482
473
|
|
483
474
|
# An aggregation of information about Amazon ECR containers.
|
484
475
|
#
|
485
|
-
# @note When making an API call, you may pass AwsEcrContainerAggregation
|
486
|
-
# data as a hash:
|
487
|
-
#
|
488
|
-
# {
|
489
|
-
# architectures: [
|
490
|
-
# {
|
491
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
492
|
-
# value: "StringInput", # required
|
493
|
-
# },
|
494
|
-
# ],
|
495
|
-
# image_shas: [
|
496
|
-
# {
|
497
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
498
|
-
# value: "StringInput", # required
|
499
|
-
# },
|
500
|
-
# ],
|
501
|
-
# image_tags: [
|
502
|
-
# {
|
503
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
504
|
-
# value: "StringInput", # required
|
505
|
-
# },
|
506
|
-
# ],
|
507
|
-
# repositories: [
|
508
|
-
# {
|
509
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
510
|
-
# value: "StringInput", # required
|
511
|
-
# },
|
512
|
-
# ],
|
513
|
-
# resource_ids: [
|
514
|
-
# {
|
515
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
516
|
-
# value: "StringInput", # required
|
517
|
-
# },
|
518
|
-
# ],
|
519
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
520
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
521
|
-
# }
|
522
|
-
#
|
523
476
|
# @!attribute [rw] architectures
|
524
477
|
# The architecture of the containers.
|
525
478
|
# @return [Array<Types::StringFilter>]
|
@@ -634,7 +587,7 @@ module Aws::Inspector2
|
|
634
587
|
# @return [Time]
|
635
588
|
#
|
636
589
|
# @!attribute [rw] registry
|
637
|
-
# The registry the Amazon ECR container image
|
590
|
+
# The registry for the Amazon ECR container image.
|
638
591
|
# @return [String]
|
639
592
|
#
|
640
593
|
# @!attribute [rw] repository_name
|
@@ -657,6 +610,78 @@ module Aws::Inspector2
|
|
657
610
|
include Aws::Structure
|
658
611
|
end
|
659
612
|
|
613
|
+
# A summary of information about the AWS Lambda function.
|
614
|
+
#
|
615
|
+
# @!attribute [rw] architectures
|
616
|
+
# The instruction set architecture that the AWS Lambda function
|
617
|
+
# supports. Architecture is a string array with one of the valid
|
618
|
+
# values. The default architecture value is `x86_64`.
|
619
|
+
# @return [Array<String>]
|
620
|
+
#
|
621
|
+
# @!attribute [rw] code_sha_256
|
622
|
+
# The SHA256 hash of the AWS Lambda function's deployment package.
|
623
|
+
# @return [String]
|
624
|
+
#
|
625
|
+
# @!attribute [rw] execution_role_arn
|
626
|
+
# The AWS Lambda function's execution role.
|
627
|
+
# @return [String]
|
628
|
+
#
|
629
|
+
# @!attribute [rw] function_name
|
630
|
+
# The name of the AWS Lambda function.
|
631
|
+
# @return [String]
|
632
|
+
#
|
633
|
+
# @!attribute [rw] last_modified_at
|
634
|
+
# The date and time that a user last updated the configuration, in
|
635
|
+
# [ISO 8601 format][1]
|
636
|
+
#
|
637
|
+
#
|
638
|
+
#
|
639
|
+
# [1]: https://www.iso.org/iso-8601-date-and-time-format.html
|
640
|
+
# @return [Time]
|
641
|
+
#
|
642
|
+
# @!attribute [rw] layers
|
643
|
+
# The AWS Lambda function's [ layers][1]. A Lambda function can have
|
644
|
+
# up to five layers.
|
645
|
+
#
|
646
|
+
#
|
647
|
+
#
|
648
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
649
|
+
# @return [Array<String>]
|
650
|
+
#
|
651
|
+
# @!attribute [rw] package_type
|
652
|
+
# The type of deployment package. Set to `Image` for container image
|
653
|
+
# and set `Zip` for .zip file archive.
|
654
|
+
# @return [String]
|
655
|
+
#
|
656
|
+
# @!attribute [rw] runtime
|
657
|
+
# The runtime environment for the AWS Lambda function.
|
658
|
+
# @return [String]
|
659
|
+
#
|
660
|
+
# @!attribute [rw] version
|
661
|
+
# The version of the AWS Lambda function.
|
662
|
+
# @return [String]
|
663
|
+
#
|
664
|
+
# @!attribute [rw] vpc_config
|
665
|
+
# The AWS Lambda function's networking configuration.
|
666
|
+
# @return [Types::LambdaVpcConfig]
|
667
|
+
#
|
668
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/AwsLambdaFunctionDetails AWS API Documentation
|
669
|
+
#
|
670
|
+
class AwsLambdaFunctionDetails < Struct.new(
|
671
|
+
:architectures,
|
672
|
+
:code_sha_256,
|
673
|
+
:execution_role_arn,
|
674
|
+
:function_name,
|
675
|
+
:last_modified_at,
|
676
|
+
:layers,
|
677
|
+
:package_type,
|
678
|
+
:runtime,
|
679
|
+
:version,
|
680
|
+
:vpc_config)
|
681
|
+
SENSITIVE = []
|
682
|
+
include Aws::Structure
|
683
|
+
end
|
684
|
+
|
660
685
|
# One or more tags submitted as part of the request is not valid.
|
661
686
|
#
|
662
687
|
# @!attribute [rw] message
|
@@ -670,13 +695,6 @@ module Aws::Inspector2
|
|
670
695
|
include Aws::Structure
|
671
696
|
end
|
672
697
|
|
673
|
-
# @note When making an API call, you may pass BatchGetAccountStatusRequest
|
674
|
-
# data as a hash:
|
675
|
-
#
|
676
|
-
# {
|
677
|
-
# account_ids: ["AccountId"],
|
678
|
-
# }
|
679
|
-
#
|
680
698
|
# @!attribute [rw] account_ids
|
681
699
|
# The 12-digit Amazon Web Services account IDs of the accounts to
|
682
700
|
# retrieve Amazon Inspector status for.
|
@@ -709,13 +727,6 @@ module Aws::Inspector2
|
|
709
727
|
include Aws::Structure
|
710
728
|
end
|
711
729
|
|
712
|
-
# @note When making an API call, you may pass BatchGetFreeTrialInfoRequest
|
713
|
-
# data as a hash:
|
714
|
-
#
|
715
|
-
# {
|
716
|
-
# account_ids: ["MeteringAccountId"], # required
|
717
|
-
# }
|
718
|
-
#
|
719
730
|
# @!attribute [rw] account_ids
|
720
731
|
# The account IDs to get free trial status for.
|
721
732
|
# @return [Array<String>]
|
@@ -747,13 +758,6 @@ module Aws::Inspector2
|
|
747
758
|
include Aws::Structure
|
748
759
|
end
|
749
760
|
|
750
|
-
# @note When making an API call, you may pass CancelFindingsReportRequest
|
751
|
-
# data as a hash:
|
752
|
-
#
|
753
|
-
# {
|
754
|
-
# report_id: "ReportId", # required
|
755
|
-
# }
|
756
|
-
#
|
757
761
|
# @!attribute [rw] report_id
|
758
762
|
# The ID of the report to be canceled.
|
759
763
|
# @return [String]
|
@@ -824,67 +828,6 @@ module Aws::Inspector2
|
|
824
828
|
# A structure that identifies filter criteria for
|
825
829
|
# `GetCoverageStatistics`.
|
826
830
|
#
|
827
|
-
# @note When making an API call, you may pass CoverageFilterCriteria
|
828
|
-
# data as a hash:
|
829
|
-
#
|
830
|
-
# {
|
831
|
-
# account_id: [
|
832
|
-
# {
|
833
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
834
|
-
# value: "CoverageStringInput", # required
|
835
|
-
# },
|
836
|
-
# ],
|
837
|
-
# ec2_instance_tags: [
|
838
|
-
# {
|
839
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
840
|
-
# key: "NonEmptyString", # required
|
841
|
-
# value: "NonEmptyString",
|
842
|
-
# },
|
843
|
-
# ],
|
844
|
-
# ecr_image_tags: [
|
845
|
-
# {
|
846
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
847
|
-
# value: "CoverageStringInput", # required
|
848
|
-
# },
|
849
|
-
# ],
|
850
|
-
# ecr_repository_name: [
|
851
|
-
# {
|
852
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
853
|
-
# value: "CoverageStringInput", # required
|
854
|
-
# },
|
855
|
-
# ],
|
856
|
-
# resource_id: [
|
857
|
-
# {
|
858
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
859
|
-
# value: "CoverageStringInput", # required
|
860
|
-
# },
|
861
|
-
# ],
|
862
|
-
# resource_type: [
|
863
|
-
# {
|
864
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
865
|
-
# value: "CoverageStringInput", # required
|
866
|
-
# },
|
867
|
-
# ],
|
868
|
-
# scan_status_code: [
|
869
|
-
# {
|
870
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
871
|
-
# value: "CoverageStringInput", # required
|
872
|
-
# },
|
873
|
-
# ],
|
874
|
-
# scan_status_reason: [
|
875
|
-
# {
|
876
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
877
|
-
# value: "CoverageStringInput", # required
|
878
|
-
# },
|
879
|
-
# ],
|
880
|
-
# scan_type: [
|
881
|
-
# {
|
882
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
883
|
-
# value: "CoverageStringInput", # required
|
884
|
-
# },
|
885
|
-
# ],
|
886
|
-
# }
|
887
|
-
#
|
888
831
|
# @!attribute [rw] account_id
|
889
832
|
# An array of Amazon Web Services account IDs to return coverage
|
890
833
|
# statistics for.
|
@@ -902,6 +845,21 @@ module Aws::Inspector2
|
|
902
845
|
# The Amazon ECR repository name to filter on.
|
903
846
|
# @return [Array<Types::CoverageStringFilter>]
|
904
847
|
#
|
848
|
+
# @!attribute [rw] lambda_function_name
|
849
|
+
# Returns coverage statistics for AWS Lambda functions filtered by
|
850
|
+
# function names.
|
851
|
+
# @return [Array<Types::CoverageStringFilter>]
|
852
|
+
#
|
853
|
+
# @!attribute [rw] lambda_function_runtime
|
854
|
+
# Returns coverage statistics for AWS Lambda functions filtered by
|
855
|
+
# runtime.
|
856
|
+
# @return [Array<Types::CoverageStringFilter>]
|
857
|
+
#
|
858
|
+
# @!attribute [rw] lambda_function_tags
|
859
|
+
# Returns coverage statistics for AWS Lambda functions filtered by
|
860
|
+
# tag.
|
861
|
+
# @return [Array<Types::CoverageMapFilter>]
|
862
|
+
#
|
905
863
|
# @!attribute [rw] resource_id
|
906
864
|
# An array of Amazon Web Services resource IDs to return coverage
|
907
865
|
# statistics for.
|
@@ -933,6 +891,9 @@ module Aws::Inspector2
|
|
933
891
|
:ec2_instance_tags,
|
934
892
|
:ecr_image_tags,
|
935
893
|
:ecr_repository_name,
|
894
|
+
:lambda_function_name,
|
895
|
+
:lambda_function_runtime,
|
896
|
+
:lambda_function_tags,
|
936
897
|
:resource_id,
|
937
898
|
:resource_type,
|
938
899
|
:scan_status_code,
|
@@ -944,15 +905,6 @@ module Aws::Inspector2
|
|
944
905
|
|
945
906
|
# Contains details of a coverage map filter.
|
946
907
|
#
|
947
|
-
# @note When making an API call, you may pass CoverageMapFilter
|
948
|
-
# data as a hash:
|
949
|
-
#
|
950
|
-
# {
|
951
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
952
|
-
# key: "NonEmptyString", # required
|
953
|
-
# value: "NonEmptyString",
|
954
|
-
# }
|
955
|
-
#
|
956
908
|
# @!attribute [rw] comparison
|
957
909
|
# The operator to compare coverage on.
|
958
910
|
# @return [String]
|
@@ -977,14 +929,6 @@ module Aws::Inspector2
|
|
977
929
|
|
978
930
|
# Contains details of a coverage string filter.
|
979
931
|
#
|
980
|
-
# @note When making an API call, you may pass CoverageStringFilter
|
981
|
-
# data as a hash:
|
982
|
-
#
|
983
|
-
# {
|
984
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
985
|
-
# value: "CoverageStringInput", # required
|
986
|
-
# }
|
987
|
-
#
|
988
932
|
# @!attribute [rw] comparison
|
989
933
|
# The operator to compare strings on.
|
990
934
|
# @return [String]
|
@@ -1042,236 +986,6 @@ module Aws::Inspector2
|
|
1042
986
|
include Aws::Structure
|
1043
987
|
end
|
1044
988
|
|
1045
|
-
# @note When making an API call, you may pass CreateFilterRequest
|
1046
|
-
# data as a hash:
|
1047
|
-
#
|
1048
|
-
# {
|
1049
|
-
# action: "NONE", # required, accepts NONE, SUPPRESS
|
1050
|
-
# description: "FilterDescription",
|
1051
|
-
# filter_criteria: { # required
|
1052
|
-
# aws_account_id: [
|
1053
|
-
# {
|
1054
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1055
|
-
# value: "StringInput", # required
|
1056
|
-
# },
|
1057
|
-
# ],
|
1058
|
-
# component_id: [
|
1059
|
-
# {
|
1060
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1061
|
-
# value: "StringInput", # required
|
1062
|
-
# },
|
1063
|
-
# ],
|
1064
|
-
# component_type: [
|
1065
|
-
# {
|
1066
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1067
|
-
# value: "StringInput", # required
|
1068
|
-
# },
|
1069
|
-
# ],
|
1070
|
-
# ec2_instance_image_id: [
|
1071
|
-
# {
|
1072
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1073
|
-
# value: "StringInput", # required
|
1074
|
-
# },
|
1075
|
-
# ],
|
1076
|
-
# ec2_instance_subnet_id: [
|
1077
|
-
# {
|
1078
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1079
|
-
# value: "StringInput", # required
|
1080
|
-
# },
|
1081
|
-
# ],
|
1082
|
-
# ec2_instance_vpc_id: [
|
1083
|
-
# {
|
1084
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1085
|
-
# value: "StringInput", # required
|
1086
|
-
# },
|
1087
|
-
# ],
|
1088
|
-
# ecr_image_architecture: [
|
1089
|
-
# {
|
1090
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1091
|
-
# value: "StringInput", # required
|
1092
|
-
# },
|
1093
|
-
# ],
|
1094
|
-
# ecr_image_hash: [
|
1095
|
-
# {
|
1096
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1097
|
-
# value: "StringInput", # required
|
1098
|
-
# },
|
1099
|
-
# ],
|
1100
|
-
# ecr_image_pushed_at: [
|
1101
|
-
# {
|
1102
|
-
# end_inclusive: Time.now,
|
1103
|
-
# start_inclusive: Time.now,
|
1104
|
-
# },
|
1105
|
-
# ],
|
1106
|
-
# ecr_image_registry: [
|
1107
|
-
# {
|
1108
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1109
|
-
# value: "StringInput", # required
|
1110
|
-
# },
|
1111
|
-
# ],
|
1112
|
-
# ecr_image_repository_name: [
|
1113
|
-
# {
|
1114
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1115
|
-
# value: "StringInput", # required
|
1116
|
-
# },
|
1117
|
-
# ],
|
1118
|
-
# ecr_image_tags: [
|
1119
|
-
# {
|
1120
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1121
|
-
# value: "StringInput", # required
|
1122
|
-
# },
|
1123
|
-
# ],
|
1124
|
-
# finding_arn: [
|
1125
|
-
# {
|
1126
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1127
|
-
# value: "StringInput", # required
|
1128
|
-
# },
|
1129
|
-
# ],
|
1130
|
-
# finding_status: [
|
1131
|
-
# {
|
1132
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1133
|
-
# value: "StringInput", # required
|
1134
|
-
# },
|
1135
|
-
# ],
|
1136
|
-
# finding_type: [
|
1137
|
-
# {
|
1138
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1139
|
-
# value: "StringInput", # required
|
1140
|
-
# },
|
1141
|
-
# ],
|
1142
|
-
# first_observed_at: [
|
1143
|
-
# {
|
1144
|
-
# end_inclusive: Time.now,
|
1145
|
-
# start_inclusive: Time.now,
|
1146
|
-
# },
|
1147
|
-
# ],
|
1148
|
-
# fix_available: [
|
1149
|
-
# {
|
1150
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1151
|
-
# value: "StringInput", # required
|
1152
|
-
# },
|
1153
|
-
# ],
|
1154
|
-
# inspector_score: [
|
1155
|
-
# {
|
1156
|
-
# lower_inclusive: 1.0,
|
1157
|
-
# upper_inclusive: 1.0,
|
1158
|
-
# },
|
1159
|
-
# ],
|
1160
|
-
# last_observed_at: [
|
1161
|
-
# {
|
1162
|
-
# end_inclusive: Time.now,
|
1163
|
-
# start_inclusive: Time.now,
|
1164
|
-
# },
|
1165
|
-
# ],
|
1166
|
-
# network_protocol: [
|
1167
|
-
# {
|
1168
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1169
|
-
# value: "StringInput", # required
|
1170
|
-
# },
|
1171
|
-
# ],
|
1172
|
-
# port_range: [
|
1173
|
-
# {
|
1174
|
-
# begin_inclusive: 1,
|
1175
|
-
# end_inclusive: 1,
|
1176
|
-
# },
|
1177
|
-
# ],
|
1178
|
-
# related_vulnerabilities: [
|
1179
|
-
# {
|
1180
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1181
|
-
# value: "StringInput", # required
|
1182
|
-
# },
|
1183
|
-
# ],
|
1184
|
-
# resource_id: [
|
1185
|
-
# {
|
1186
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1187
|
-
# value: "StringInput", # required
|
1188
|
-
# },
|
1189
|
-
# ],
|
1190
|
-
# resource_tags: [
|
1191
|
-
# {
|
1192
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
1193
|
-
# key: "MapKey", # required
|
1194
|
-
# value: "MapValue",
|
1195
|
-
# },
|
1196
|
-
# ],
|
1197
|
-
# resource_type: [
|
1198
|
-
# {
|
1199
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1200
|
-
# value: "StringInput", # required
|
1201
|
-
# },
|
1202
|
-
# ],
|
1203
|
-
# severity: [
|
1204
|
-
# {
|
1205
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1206
|
-
# value: "StringInput", # required
|
1207
|
-
# },
|
1208
|
-
# ],
|
1209
|
-
# title: [
|
1210
|
-
# {
|
1211
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1212
|
-
# value: "StringInput", # required
|
1213
|
-
# },
|
1214
|
-
# ],
|
1215
|
-
# updated_at: [
|
1216
|
-
# {
|
1217
|
-
# end_inclusive: Time.now,
|
1218
|
-
# start_inclusive: Time.now,
|
1219
|
-
# },
|
1220
|
-
# ],
|
1221
|
-
# vendor_severity: [
|
1222
|
-
# {
|
1223
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1224
|
-
# value: "StringInput", # required
|
1225
|
-
# },
|
1226
|
-
# ],
|
1227
|
-
# vulnerability_id: [
|
1228
|
-
# {
|
1229
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1230
|
-
# value: "StringInput", # required
|
1231
|
-
# },
|
1232
|
-
# ],
|
1233
|
-
# vulnerability_source: [
|
1234
|
-
# {
|
1235
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1236
|
-
# value: "StringInput", # required
|
1237
|
-
# },
|
1238
|
-
# ],
|
1239
|
-
# vulnerable_packages: [
|
1240
|
-
# {
|
1241
|
-
# architecture: {
|
1242
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1243
|
-
# value: "StringInput", # required
|
1244
|
-
# },
|
1245
|
-
# epoch: {
|
1246
|
-
# lower_inclusive: 1.0,
|
1247
|
-
# upper_inclusive: 1.0,
|
1248
|
-
# },
|
1249
|
-
# name: {
|
1250
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1251
|
-
# value: "StringInput", # required
|
1252
|
-
# },
|
1253
|
-
# release: {
|
1254
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1255
|
-
# value: "StringInput", # required
|
1256
|
-
# },
|
1257
|
-
# source_layer_hash: {
|
1258
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1259
|
-
# value: "StringInput", # required
|
1260
|
-
# },
|
1261
|
-
# version: {
|
1262
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1263
|
-
# value: "StringInput", # required
|
1264
|
-
# },
|
1265
|
-
# },
|
1266
|
-
# ],
|
1267
|
-
# },
|
1268
|
-
# name: "FilterName", # required
|
1269
|
-
# reason: "FilterReason",
|
1270
|
-
# tags: {
|
1271
|
-
# "MapKey" => "MapValue",
|
1272
|
-
# },
|
1273
|
-
# }
|
1274
|
-
#
|
1275
989
|
# @!attribute [rw] action
|
1276
990
|
# Defines the action that is to be applied to the findings that match
|
1277
991
|
# the filter.
|
@@ -1324,235 +1038,6 @@ module Aws::Inspector2
|
|
1324
1038
|
include Aws::Structure
|
1325
1039
|
end
|
1326
1040
|
|
1327
|
-
# @note When making an API call, you may pass CreateFindingsReportRequest
|
1328
|
-
# data as a hash:
|
1329
|
-
#
|
1330
|
-
# {
|
1331
|
-
# filter_criteria: {
|
1332
|
-
# aws_account_id: [
|
1333
|
-
# {
|
1334
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1335
|
-
# value: "StringInput", # required
|
1336
|
-
# },
|
1337
|
-
# ],
|
1338
|
-
# component_id: [
|
1339
|
-
# {
|
1340
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1341
|
-
# value: "StringInput", # required
|
1342
|
-
# },
|
1343
|
-
# ],
|
1344
|
-
# component_type: [
|
1345
|
-
# {
|
1346
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1347
|
-
# value: "StringInput", # required
|
1348
|
-
# },
|
1349
|
-
# ],
|
1350
|
-
# ec2_instance_image_id: [
|
1351
|
-
# {
|
1352
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1353
|
-
# value: "StringInput", # required
|
1354
|
-
# },
|
1355
|
-
# ],
|
1356
|
-
# ec2_instance_subnet_id: [
|
1357
|
-
# {
|
1358
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1359
|
-
# value: "StringInput", # required
|
1360
|
-
# },
|
1361
|
-
# ],
|
1362
|
-
# ec2_instance_vpc_id: [
|
1363
|
-
# {
|
1364
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1365
|
-
# value: "StringInput", # required
|
1366
|
-
# },
|
1367
|
-
# ],
|
1368
|
-
# ecr_image_architecture: [
|
1369
|
-
# {
|
1370
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1371
|
-
# value: "StringInput", # required
|
1372
|
-
# },
|
1373
|
-
# ],
|
1374
|
-
# ecr_image_hash: [
|
1375
|
-
# {
|
1376
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1377
|
-
# value: "StringInput", # required
|
1378
|
-
# },
|
1379
|
-
# ],
|
1380
|
-
# ecr_image_pushed_at: [
|
1381
|
-
# {
|
1382
|
-
# end_inclusive: Time.now,
|
1383
|
-
# start_inclusive: Time.now,
|
1384
|
-
# },
|
1385
|
-
# ],
|
1386
|
-
# ecr_image_registry: [
|
1387
|
-
# {
|
1388
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1389
|
-
# value: "StringInput", # required
|
1390
|
-
# },
|
1391
|
-
# ],
|
1392
|
-
# ecr_image_repository_name: [
|
1393
|
-
# {
|
1394
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1395
|
-
# value: "StringInput", # required
|
1396
|
-
# },
|
1397
|
-
# ],
|
1398
|
-
# ecr_image_tags: [
|
1399
|
-
# {
|
1400
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1401
|
-
# value: "StringInput", # required
|
1402
|
-
# },
|
1403
|
-
# ],
|
1404
|
-
# finding_arn: [
|
1405
|
-
# {
|
1406
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1407
|
-
# value: "StringInput", # required
|
1408
|
-
# },
|
1409
|
-
# ],
|
1410
|
-
# finding_status: [
|
1411
|
-
# {
|
1412
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1413
|
-
# value: "StringInput", # required
|
1414
|
-
# },
|
1415
|
-
# ],
|
1416
|
-
# finding_type: [
|
1417
|
-
# {
|
1418
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1419
|
-
# value: "StringInput", # required
|
1420
|
-
# },
|
1421
|
-
# ],
|
1422
|
-
# first_observed_at: [
|
1423
|
-
# {
|
1424
|
-
# end_inclusive: Time.now,
|
1425
|
-
# start_inclusive: Time.now,
|
1426
|
-
# },
|
1427
|
-
# ],
|
1428
|
-
# fix_available: [
|
1429
|
-
# {
|
1430
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1431
|
-
# value: "StringInput", # required
|
1432
|
-
# },
|
1433
|
-
# ],
|
1434
|
-
# inspector_score: [
|
1435
|
-
# {
|
1436
|
-
# lower_inclusive: 1.0,
|
1437
|
-
# upper_inclusive: 1.0,
|
1438
|
-
# },
|
1439
|
-
# ],
|
1440
|
-
# last_observed_at: [
|
1441
|
-
# {
|
1442
|
-
# end_inclusive: Time.now,
|
1443
|
-
# start_inclusive: Time.now,
|
1444
|
-
# },
|
1445
|
-
# ],
|
1446
|
-
# network_protocol: [
|
1447
|
-
# {
|
1448
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1449
|
-
# value: "StringInput", # required
|
1450
|
-
# },
|
1451
|
-
# ],
|
1452
|
-
# port_range: [
|
1453
|
-
# {
|
1454
|
-
# begin_inclusive: 1,
|
1455
|
-
# end_inclusive: 1,
|
1456
|
-
# },
|
1457
|
-
# ],
|
1458
|
-
# related_vulnerabilities: [
|
1459
|
-
# {
|
1460
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1461
|
-
# value: "StringInput", # required
|
1462
|
-
# },
|
1463
|
-
# ],
|
1464
|
-
# resource_id: [
|
1465
|
-
# {
|
1466
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1467
|
-
# value: "StringInput", # required
|
1468
|
-
# },
|
1469
|
-
# ],
|
1470
|
-
# resource_tags: [
|
1471
|
-
# {
|
1472
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
1473
|
-
# key: "MapKey", # required
|
1474
|
-
# value: "MapValue",
|
1475
|
-
# },
|
1476
|
-
# ],
|
1477
|
-
# resource_type: [
|
1478
|
-
# {
|
1479
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1480
|
-
# value: "StringInput", # required
|
1481
|
-
# },
|
1482
|
-
# ],
|
1483
|
-
# severity: [
|
1484
|
-
# {
|
1485
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1486
|
-
# value: "StringInput", # required
|
1487
|
-
# },
|
1488
|
-
# ],
|
1489
|
-
# title: [
|
1490
|
-
# {
|
1491
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1492
|
-
# value: "StringInput", # required
|
1493
|
-
# },
|
1494
|
-
# ],
|
1495
|
-
# updated_at: [
|
1496
|
-
# {
|
1497
|
-
# end_inclusive: Time.now,
|
1498
|
-
# start_inclusive: Time.now,
|
1499
|
-
# },
|
1500
|
-
# ],
|
1501
|
-
# vendor_severity: [
|
1502
|
-
# {
|
1503
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1504
|
-
# value: "StringInput", # required
|
1505
|
-
# },
|
1506
|
-
# ],
|
1507
|
-
# vulnerability_id: [
|
1508
|
-
# {
|
1509
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1510
|
-
# value: "StringInput", # required
|
1511
|
-
# },
|
1512
|
-
# ],
|
1513
|
-
# vulnerability_source: [
|
1514
|
-
# {
|
1515
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1516
|
-
# value: "StringInput", # required
|
1517
|
-
# },
|
1518
|
-
# ],
|
1519
|
-
# vulnerable_packages: [
|
1520
|
-
# {
|
1521
|
-
# architecture: {
|
1522
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1523
|
-
# value: "StringInput", # required
|
1524
|
-
# },
|
1525
|
-
# epoch: {
|
1526
|
-
# lower_inclusive: 1.0,
|
1527
|
-
# upper_inclusive: 1.0,
|
1528
|
-
# },
|
1529
|
-
# name: {
|
1530
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1531
|
-
# value: "StringInput", # required
|
1532
|
-
# },
|
1533
|
-
# release: {
|
1534
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1535
|
-
# value: "StringInput", # required
|
1536
|
-
# },
|
1537
|
-
# source_layer_hash: {
|
1538
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1539
|
-
# value: "StringInput", # required
|
1540
|
-
# },
|
1541
|
-
# version: {
|
1542
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1543
|
-
# value: "StringInput", # required
|
1544
|
-
# },
|
1545
|
-
# },
|
1546
|
-
# ],
|
1547
|
-
# },
|
1548
|
-
# report_format: "CSV", # required, accepts CSV, JSON
|
1549
|
-
# s3_destination: { # required
|
1550
|
-
# bucket_name: "String", # required
|
1551
|
-
# key_prefix: "String",
|
1552
|
-
# kms_key_arn: "String", # required
|
1553
|
-
# },
|
1554
|
-
# }
|
1555
|
-
#
|
1556
1041
|
# @!attribute [rw] filter_criteria
|
1557
1042
|
# The filter criteria to apply to the results of the finding report.
|
1558
1043
|
# @return [Types::FilterCriteria]
|
@@ -1678,14 +1163,6 @@ module Aws::Inspector2
|
|
1678
1163
|
|
1679
1164
|
# Contains details on the time range used to filter findings.
|
1680
1165
|
#
|
1681
|
-
# @note When making an API call, you may pass DateFilter
|
1682
|
-
# data as a hash:
|
1683
|
-
#
|
1684
|
-
# {
|
1685
|
-
# end_inclusive: Time.now,
|
1686
|
-
# start_inclusive: Time.now,
|
1687
|
-
# }
|
1688
|
-
#
|
1689
1166
|
# @!attribute [rw] end_inclusive
|
1690
1167
|
# A timestamp representing the end of the time period filtered on.
|
1691
1168
|
# @return [Time]
|
@@ -1745,13 +1222,6 @@ module Aws::Inspector2
|
|
1745
1222
|
include Aws::Structure
|
1746
1223
|
end
|
1747
1224
|
|
1748
|
-
# @note When making an API call, you may pass DeleteFilterRequest
|
1749
|
-
# data as a hash:
|
1750
|
-
#
|
1751
|
-
# {
|
1752
|
-
# arn: "FilterArn", # required
|
1753
|
-
# }
|
1754
|
-
#
|
1755
1225
|
# @!attribute [rw] arn
|
1756
1226
|
# The Amazon Resource Number (ARN) of the filter to be deleted.
|
1757
1227
|
# @return [String]
|
@@ -1805,15 +1275,6 @@ module Aws::Inspector2
|
|
1805
1275
|
# Contains details of the Amazon S3 bucket and KMS key used to export
|
1806
1276
|
# findings.
|
1807
1277
|
#
|
1808
|
-
# @note When making an API call, you may pass Destination
|
1809
|
-
# data as a hash:
|
1810
|
-
#
|
1811
|
-
# {
|
1812
|
-
# bucket_name: "String", # required
|
1813
|
-
# key_prefix: "String",
|
1814
|
-
# kms_key_arn: "String", # required
|
1815
|
-
# }
|
1816
|
-
#
|
1817
1278
|
# @!attribute [rw] bucket_name
|
1818
1279
|
# The name of the Amazon S3 bucket to export findings to.
|
1819
1280
|
# @return [String]
|
@@ -1836,13 +1297,6 @@ module Aws::Inspector2
|
|
1836
1297
|
include Aws::Structure
|
1837
1298
|
end
|
1838
1299
|
|
1839
|
-
# @note When making an API call, you may pass DisableDelegatedAdminAccountRequest
|
1840
|
-
# data as a hash:
|
1841
|
-
#
|
1842
|
-
# {
|
1843
|
-
# delegated_admin_account_id: "AccountId", # required
|
1844
|
-
# }
|
1845
|
-
#
|
1846
1300
|
# @!attribute [rw] delegated_admin_account_id
|
1847
1301
|
# The Amazon Web Services account ID of the current Amazon Inspector
|
1848
1302
|
# delegated administrator.
|
@@ -1869,14 +1323,6 @@ module Aws::Inspector2
|
|
1869
1323
|
include Aws::Structure
|
1870
1324
|
end
|
1871
1325
|
|
1872
|
-
# @note When making an API call, you may pass DisableRequest
|
1873
|
-
# data as a hash:
|
1874
|
-
#
|
1875
|
-
# {
|
1876
|
-
# account_ids: ["AccountId"],
|
1877
|
-
# resource_types: ["EC2"], # accepts EC2, ECR
|
1878
|
-
# }
|
1879
|
-
#
|
1880
1326
|
# @!attribute [rw] account_ids
|
1881
1327
|
# An array of account IDs you want to disable Amazon Inspector scans
|
1882
1328
|
# for.
|
@@ -1914,13 +1360,6 @@ module Aws::Inspector2
|
|
1914
1360
|
include Aws::Structure
|
1915
1361
|
end
|
1916
1362
|
|
1917
|
-
# @note When making an API call, you may pass DisassociateMemberRequest
|
1918
|
-
# data as a hash:
|
1919
|
-
#
|
1920
|
-
# {
|
1921
|
-
# account_id: "AccountId", # required
|
1922
|
-
# }
|
1923
|
-
#
|
1924
1363
|
# @!attribute [rw] account_id
|
1925
1364
|
# The Amazon Web Services account ID of the member account to
|
1926
1365
|
# disassociate.
|
@@ -1949,39 +1388,6 @@ module Aws::Inspector2
|
|
1949
1388
|
|
1950
1389
|
# The details that define an aggregation based on Amazon EC2 instances.
|
1951
1390
|
#
|
1952
|
-
# @note When making an API call, you may pass Ec2InstanceAggregation
|
1953
|
-
# data as a hash:
|
1954
|
-
#
|
1955
|
-
# {
|
1956
|
-
# amis: [
|
1957
|
-
# {
|
1958
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1959
|
-
# value: "StringInput", # required
|
1960
|
-
# },
|
1961
|
-
# ],
|
1962
|
-
# instance_ids: [
|
1963
|
-
# {
|
1964
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1965
|
-
# value: "StringInput", # required
|
1966
|
-
# },
|
1967
|
-
# ],
|
1968
|
-
# instance_tags: [
|
1969
|
-
# {
|
1970
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
1971
|
-
# key: "MapKey", # required
|
1972
|
-
# value: "MapValue",
|
1973
|
-
# },
|
1974
|
-
# ],
|
1975
|
-
# operating_systems: [
|
1976
|
-
# {
|
1977
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1978
|
-
# value: "StringInput", # required
|
1979
|
-
# },
|
1980
|
-
# ],
|
1981
|
-
# sort_by: "NETWORK_FINDINGS", # accepts NETWORK_FINDINGS, CRITICAL, HIGH, ALL
|
1982
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
1983
|
-
# }
|
1984
|
-
#
|
1985
1391
|
# @!attribute [rw] amis
|
1986
1392
|
# The AMI IDs associated with the Amazon EC2 instances to aggregate
|
1987
1393
|
# findings for.
|
@@ -2026,7 +1432,7 @@ module Aws::Inspector2
|
|
2026
1432
|
# Amazon EC2 instance.
|
2027
1433
|
#
|
2028
1434
|
# @!attribute [rw] account_id
|
2029
|
-
# The Amazon Web Services account the Amazon EC2 instance
|
1435
|
+
# The Amazon Web Services account for the Amazon EC2 instance.
|
2030
1436
|
# @return [String]
|
2031
1437
|
#
|
2032
1438
|
# @!attribute [rw] ami
|
@@ -2093,14 +1499,7 @@ module Aws::Inspector2
|
|
2093
1499
|
end
|
2094
1500
|
|
2095
1501
|
# Details about the ECR automated re-scan duration setting for your
|
2096
|
-
# environment
|
2097
|
-
#
|
2098
|
-
# @note When making an API call, you may pass EcrConfiguration
|
2099
|
-
# data as a hash:
|
2100
|
-
#
|
2101
|
-
# {
|
2102
|
-
# rescan_duration: "LIFETIME", # required, accepts LIFETIME, DAYS_30, DAYS_180
|
2103
|
-
# }
|
1502
|
+
# environment.
|
2104
1503
|
#
|
2105
1504
|
# @!attribute [rw] rescan_duration
|
2106
1505
|
# The ECR automated re-scan duration defines how long an ECR image
|
@@ -2198,14 +1597,6 @@ module Aws::Inspector2
|
|
2198
1597
|
include Aws::Structure
|
2199
1598
|
end
|
2200
1599
|
|
2201
|
-
# @note When making an API call, you may pass EnableDelegatedAdminAccountRequest
|
2202
|
-
# data as a hash:
|
2203
|
-
#
|
2204
|
-
# {
|
2205
|
-
# client_token: "ClientToken",
|
2206
|
-
# delegated_admin_account_id: "AccountId", # required
|
2207
|
-
# }
|
2208
|
-
#
|
2209
1600
|
# @!attribute [rw] client_token
|
2210
1601
|
# The idempotency token for the request.
|
2211
1602
|
#
|
@@ -2240,15 +1631,6 @@ module Aws::Inspector2
|
|
2240
1631
|
include Aws::Structure
|
2241
1632
|
end
|
2242
1633
|
|
2243
|
-
# @note When making an API call, you may pass EnableRequest
|
2244
|
-
# data as a hash:
|
2245
|
-
#
|
2246
|
-
# {
|
2247
|
-
# account_ids: ["AccountId"],
|
2248
|
-
# client_token: "ClientToken",
|
2249
|
-
# resource_types: ["EC2"], # required, accepts EC2, ECR
|
2250
|
-
# }
|
2251
|
-
#
|
2252
1634
|
# @!attribute [rw] account_ids
|
2253
1635
|
# A list of account IDs you want to enable Amazon Inspector scans for.
|
2254
1636
|
# @return [Array<String>]
|
@@ -2293,6 +1675,22 @@ module Aws::Inspector2
|
|
2293
1675
|
include Aws::Structure
|
2294
1676
|
end
|
2295
1677
|
|
1678
|
+
# The details of an exploit available for a finding discovered in your
|
1679
|
+
# environment.
|
1680
|
+
#
|
1681
|
+
# @!attribute [rw] last_known_exploit_at
|
1682
|
+
# The date and time of the last exploit associated with a finding
|
1683
|
+
# discovered in your environment.
|
1684
|
+
# @return [Time]
|
1685
|
+
#
|
1686
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ExploitabilityDetails AWS API Documentation
|
1687
|
+
#
|
1688
|
+
class ExploitabilityDetails < Struct.new(
|
1689
|
+
:last_known_exploit_at)
|
1690
|
+
SENSITIVE = []
|
1691
|
+
include Aws::Structure
|
1692
|
+
end
|
1693
|
+
|
2296
1694
|
# An object with details on why an account failed to enable Amazon
|
2297
1695
|
# Inspector.
|
2298
1696
|
#
|
@@ -2394,227 +1792,6 @@ module Aws::Inspector2
|
|
2394
1792
|
|
2395
1793
|
# Details on the criteria used to define the filter.
|
2396
1794
|
#
|
2397
|
-
# @note When making an API call, you may pass FilterCriteria
|
2398
|
-
# data as a hash:
|
2399
|
-
#
|
2400
|
-
# {
|
2401
|
-
# aws_account_id: [
|
2402
|
-
# {
|
2403
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2404
|
-
# value: "StringInput", # required
|
2405
|
-
# },
|
2406
|
-
# ],
|
2407
|
-
# component_id: [
|
2408
|
-
# {
|
2409
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2410
|
-
# value: "StringInput", # required
|
2411
|
-
# },
|
2412
|
-
# ],
|
2413
|
-
# component_type: [
|
2414
|
-
# {
|
2415
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2416
|
-
# value: "StringInput", # required
|
2417
|
-
# },
|
2418
|
-
# ],
|
2419
|
-
# ec2_instance_image_id: [
|
2420
|
-
# {
|
2421
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2422
|
-
# value: "StringInput", # required
|
2423
|
-
# },
|
2424
|
-
# ],
|
2425
|
-
# ec2_instance_subnet_id: [
|
2426
|
-
# {
|
2427
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2428
|
-
# value: "StringInput", # required
|
2429
|
-
# },
|
2430
|
-
# ],
|
2431
|
-
# ec2_instance_vpc_id: [
|
2432
|
-
# {
|
2433
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2434
|
-
# value: "StringInput", # required
|
2435
|
-
# },
|
2436
|
-
# ],
|
2437
|
-
# ecr_image_architecture: [
|
2438
|
-
# {
|
2439
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2440
|
-
# value: "StringInput", # required
|
2441
|
-
# },
|
2442
|
-
# ],
|
2443
|
-
# ecr_image_hash: [
|
2444
|
-
# {
|
2445
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2446
|
-
# value: "StringInput", # required
|
2447
|
-
# },
|
2448
|
-
# ],
|
2449
|
-
# ecr_image_pushed_at: [
|
2450
|
-
# {
|
2451
|
-
# end_inclusive: Time.now,
|
2452
|
-
# start_inclusive: Time.now,
|
2453
|
-
# },
|
2454
|
-
# ],
|
2455
|
-
# ecr_image_registry: [
|
2456
|
-
# {
|
2457
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2458
|
-
# value: "StringInput", # required
|
2459
|
-
# },
|
2460
|
-
# ],
|
2461
|
-
# ecr_image_repository_name: [
|
2462
|
-
# {
|
2463
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2464
|
-
# value: "StringInput", # required
|
2465
|
-
# },
|
2466
|
-
# ],
|
2467
|
-
# ecr_image_tags: [
|
2468
|
-
# {
|
2469
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2470
|
-
# value: "StringInput", # required
|
2471
|
-
# },
|
2472
|
-
# ],
|
2473
|
-
# finding_arn: [
|
2474
|
-
# {
|
2475
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2476
|
-
# value: "StringInput", # required
|
2477
|
-
# },
|
2478
|
-
# ],
|
2479
|
-
# finding_status: [
|
2480
|
-
# {
|
2481
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2482
|
-
# value: "StringInput", # required
|
2483
|
-
# },
|
2484
|
-
# ],
|
2485
|
-
# finding_type: [
|
2486
|
-
# {
|
2487
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2488
|
-
# value: "StringInput", # required
|
2489
|
-
# },
|
2490
|
-
# ],
|
2491
|
-
# first_observed_at: [
|
2492
|
-
# {
|
2493
|
-
# end_inclusive: Time.now,
|
2494
|
-
# start_inclusive: Time.now,
|
2495
|
-
# },
|
2496
|
-
# ],
|
2497
|
-
# fix_available: [
|
2498
|
-
# {
|
2499
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2500
|
-
# value: "StringInput", # required
|
2501
|
-
# },
|
2502
|
-
# ],
|
2503
|
-
# inspector_score: [
|
2504
|
-
# {
|
2505
|
-
# lower_inclusive: 1.0,
|
2506
|
-
# upper_inclusive: 1.0,
|
2507
|
-
# },
|
2508
|
-
# ],
|
2509
|
-
# last_observed_at: [
|
2510
|
-
# {
|
2511
|
-
# end_inclusive: Time.now,
|
2512
|
-
# start_inclusive: Time.now,
|
2513
|
-
# },
|
2514
|
-
# ],
|
2515
|
-
# network_protocol: [
|
2516
|
-
# {
|
2517
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2518
|
-
# value: "StringInput", # required
|
2519
|
-
# },
|
2520
|
-
# ],
|
2521
|
-
# port_range: [
|
2522
|
-
# {
|
2523
|
-
# begin_inclusive: 1,
|
2524
|
-
# end_inclusive: 1,
|
2525
|
-
# },
|
2526
|
-
# ],
|
2527
|
-
# related_vulnerabilities: [
|
2528
|
-
# {
|
2529
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2530
|
-
# value: "StringInput", # required
|
2531
|
-
# },
|
2532
|
-
# ],
|
2533
|
-
# resource_id: [
|
2534
|
-
# {
|
2535
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2536
|
-
# value: "StringInput", # required
|
2537
|
-
# },
|
2538
|
-
# ],
|
2539
|
-
# resource_tags: [
|
2540
|
-
# {
|
2541
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
2542
|
-
# key: "MapKey", # required
|
2543
|
-
# value: "MapValue",
|
2544
|
-
# },
|
2545
|
-
# ],
|
2546
|
-
# resource_type: [
|
2547
|
-
# {
|
2548
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2549
|
-
# value: "StringInput", # required
|
2550
|
-
# },
|
2551
|
-
# ],
|
2552
|
-
# severity: [
|
2553
|
-
# {
|
2554
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2555
|
-
# value: "StringInput", # required
|
2556
|
-
# },
|
2557
|
-
# ],
|
2558
|
-
# title: [
|
2559
|
-
# {
|
2560
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2561
|
-
# value: "StringInput", # required
|
2562
|
-
# },
|
2563
|
-
# ],
|
2564
|
-
# updated_at: [
|
2565
|
-
# {
|
2566
|
-
# end_inclusive: Time.now,
|
2567
|
-
# start_inclusive: Time.now,
|
2568
|
-
# },
|
2569
|
-
# ],
|
2570
|
-
# vendor_severity: [
|
2571
|
-
# {
|
2572
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2573
|
-
# value: "StringInput", # required
|
2574
|
-
# },
|
2575
|
-
# ],
|
2576
|
-
# vulnerability_id: [
|
2577
|
-
# {
|
2578
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2579
|
-
# value: "StringInput", # required
|
2580
|
-
# },
|
2581
|
-
# ],
|
2582
|
-
# vulnerability_source: [
|
2583
|
-
# {
|
2584
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2585
|
-
# value: "StringInput", # required
|
2586
|
-
# },
|
2587
|
-
# ],
|
2588
|
-
# vulnerable_packages: [
|
2589
|
-
# {
|
2590
|
-
# architecture: {
|
2591
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2592
|
-
# value: "StringInput", # required
|
2593
|
-
# },
|
2594
|
-
# epoch: {
|
2595
|
-
# lower_inclusive: 1.0,
|
2596
|
-
# upper_inclusive: 1.0,
|
2597
|
-
# },
|
2598
|
-
# name: {
|
2599
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2600
|
-
# value: "StringInput", # required
|
2601
|
-
# },
|
2602
|
-
# release: {
|
2603
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2604
|
-
# value: "StringInput", # required
|
2605
|
-
# },
|
2606
|
-
# source_layer_hash: {
|
2607
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2608
|
-
# value: "StringInput", # required
|
2609
|
-
# },
|
2610
|
-
# version: {
|
2611
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2612
|
-
# value: "StringInput", # required
|
2613
|
-
# },
|
2614
|
-
# },
|
2615
|
-
# ],
|
2616
|
-
# }
|
2617
|
-
#
|
2618
1795
|
# @!attribute [rw] aws_account_id
|
2619
1796
|
# Details of the Amazon Web Services account IDs used to filter
|
2620
1797
|
# findings.
|
@@ -2669,6 +1846,11 @@ module Aws::Inspector2
|
|
2669
1846
|
# The tags attached to the Amazon ECR container image.
|
2670
1847
|
# @return [Array<Types::StringFilter>]
|
2671
1848
|
#
|
1849
|
+
# @!attribute [rw] exploit_available
|
1850
|
+
# Filters the list of AWS Lambda findings by the availability of
|
1851
|
+
# exploits.
|
1852
|
+
# @return [Array<Types::StringFilter>]
|
1853
|
+
#
|
2672
1854
|
# @!attribute [rw] finding_arn
|
2673
1855
|
# Details on the finding ARNs used to filter findings.
|
2674
1856
|
# @return [Array<Types::StringFilter>]
|
@@ -2697,6 +1879,38 @@ module Aws::Inspector2
|
|
2697
1879
|
# The Amazon Inspector score to filter on.
|
2698
1880
|
# @return [Array<Types::NumberFilter>]
|
2699
1881
|
#
|
1882
|
+
# @!attribute [rw] lambda_function_execution_role_arn
|
1883
|
+
# Filters the list of AWS Lambda functions by execution role.
|
1884
|
+
# @return [Array<Types::StringFilter>]
|
1885
|
+
#
|
1886
|
+
# @!attribute [rw] lambda_function_last_modified_at
|
1887
|
+
# Filters the list of AWS Lambda functions by the date and time that a
|
1888
|
+
# user last updated the configuration, in [ISO 8601 format][1]
|
1889
|
+
#
|
1890
|
+
#
|
1891
|
+
#
|
1892
|
+
# [1]: https://www.iso.org/iso-8601-date-and-time-format.html
|
1893
|
+
# @return [Array<Types::DateFilter>]
|
1894
|
+
#
|
1895
|
+
# @!attribute [rw] lambda_function_layers
|
1896
|
+
# Filters the list of AWS Lambda functions by the function's [
|
1897
|
+
# layers][1]. A Lambda function can have up to five layers.
|
1898
|
+
#
|
1899
|
+
#
|
1900
|
+
#
|
1901
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
1902
|
+
# @return [Array<Types::StringFilter>]
|
1903
|
+
#
|
1904
|
+
# @!attribute [rw] lambda_function_name
|
1905
|
+
# Filters the list of AWS Lambda functions by the name of the
|
1906
|
+
# function.
|
1907
|
+
# @return [Array<Types::StringFilter>]
|
1908
|
+
#
|
1909
|
+
# @!attribute [rw] lambda_function_runtime
|
1910
|
+
# Filters the list of AWS Lambda functions by the runtime environment
|
1911
|
+
# for the Lambda function.
|
1912
|
+
# @return [Array<Types::StringFilter>]
|
1913
|
+
#
|
2700
1914
|
# @!attribute [rw] last_observed_at
|
2701
1915
|
# Details on the date and time a finding was last seen used to filter
|
2702
1916
|
# findings.
|
@@ -2770,12 +1984,18 @@ module Aws::Inspector2
|
|
2770
1984
|
:ecr_image_registry,
|
2771
1985
|
:ecr_image_repository_name,
|
2772
1986
|
:ecr_image_tags,
|
1987
|
+
:exploit_available,
|
2773
1988
|
:finding_arn,
|
2774
1989
|
:finding_status,
|
2775
1990
|
:finding_type,
|
2776
1991
|
:first_observed_at,
|
2777
1992
|
:fix_available,
|
2778
1993
|
:inspector_score,
|
1994
|
+
:lambda_function_execution_role_arn,
|
1995
|
+
:lambda_function_last_modified_at,
|
1996
|
+
:lambda_function_layers,
|
1997
|
+
:lambda_function_name,
|
1998
|
+
:lambda_function_runtime,
|
2779
1999
|
:last_observed_at,
|
2780
2000
|
:network_protocol,
|
2781
2001
|
:port_range,
|
@@ -2804,6 +2024,16 @@ module Aws::Inspector2
|
|
2804
2024
|
# The description of the finding.
|
2805
2025
|
# @return [String]
|
2806
2026
|
#
|
2027
|
+
# @!attribute [rw] exploit_available
|
2028
|
+
# If a finding discovered in your environment has an exploit
|
2029
|
+
# available.
|
2030
|
+
# @return [String]
|
2031
|
+
#
|
2032
|
+
# @!attribute [rw] exploitability_details
|
2033
|
+
# The details of an exploit available for a finding discovered in your
|
2034
|
+
# environment.
|
2035
|
+
# @return [Types::ExploitabilityDetails]
|
2036
|
+
#
|
2807
2037
|
# @!attribute [rw] finding_arn
|
2808
2038
|
# The Amazon Resource Number (ARN) of the finding.
|
2809
2039
|
# @return [String]
|
@@ -2875,6 +2105,8 @@ module Aws::Inspector2
|
|
2875
2105
|
class Finding < Struct.new(
|
2876
2106
|
:aws_account_id,
|
2877
2107
|
:description,
|
2108
|
+
:exploit_available,
|
2109
|
+
:exploitability_details,
|
2878
2110
|
:finding_arn,
|
2879
2111
|
:first_observed_at,
|
2880
2112
|
:fix_available,
|
@@ -2896,16 +2128,6 @@ module Aws::Inspector2
|
|
2896
2128
|
|
2897
2129
|
# The details that define an aggregation based on finding type.
|
2898
2130
|
#
|
2899
|
-
# @note When making an API call, you may pass FindingTypeAggregation
|
2900
|
-
# data as a hash:
|
2901
|
-
#
|
2902
|
-
# {
|
2903
|
-
# finding_type: "NETWORK_REACHABILITY", # accepts NETWORK_REACHABILITY, PACKAGE_VULNERABILITY
|
2904
|
-
# resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE
|
2905
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
2906
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
2907
|
-
# }
|
2908
|
-
#
|
2909
2131
|
# @!attribute [rw] finding_type
|
2910
2132
|
# The finding type to aggregate.
|
2911
2133
|
# @return [String]
|
@@ -3070,13 +2292,6 @@ module Aws::Inspector2
|
|
3070
2292
|
include Aws::Structure
|
3071
2293
|
end
|
3072
2294
|
|
3073
|
-
# @note When making an API call, you may pass GetFindingsReportStatusRequest
|
3074
|
-
# data as a hash:
|
3075
|
-
#
|
3076
|
-
# {
|
3077
|
-
# report_id: "ReportId",
|
3078
|
-
# }
|
3079
|
-
#
|
3080
2295
|
# @!attribute [rw] report_id
|
3081
2296
|
# The ID of the report to retrieve the status of.
|
3082
2297
|
# @return [String]
|
@@ -3126,13 +2341,6 @@ module Aws::Inspector2
|
|
3126
2341
|
include Aws::Structure
|
3127
2342
|
end
|
3128
2343
|
|
3129
|
-
# @note When making an API call, you may pass GetMemberRequest
|
3130
|
-
# data as a hash:
|
3131
|
-
#
|
3132
|
-
# {
|
3133
|
-
# account_id: "AccountId", # required
|
3134
|
-
# }
|
3135
|
-
#
|
3136
2344
|
# @!attribute [rw] account_id
|
3137
2345
|
# The Amazon Web Services account ID of the member account to retrieve
|
3138
2346
|
# information on.
|
@@ -3161,32 +2369,6 @@ module Aws::Inspector2
|
|
3161
2369
|
# The details that define an aggregation based on container image
|
3162
2370
|
# layers.
|
3163
2371
|
#
|
3164
|
-
# @note When making an API call, you may pass ImageLayerAggregation
|
3165
|
-
# data as a hash:
|
3166
|
-
#
|
3167
|
-
# {
|
3168
|
-
# layer_hashes: [
|
3169
|
-
# {
|
3170
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3171
|
-
# value: "StringInput", # required
|
3172
|
-
# },
|
3173
|
-
# ],
|
3174
|
-
# repositories: [
|
3175
|
-
# {
|
3176
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3177
|
-
# value: "StringInput", # required
|
3178
|
-
# },
|
3179
|
-
# ],
|
3180
|
-
# resource_ids: [
|
3181
|
-
# {
|
3182
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3183
|
-
# value: "StringInput", # required
|
3184
|
-
# },
|
3185
|
-
# ],
|
3186
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
3187
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
3188
|
-
# }
|
3189
|
-
#
|
3190
2372
|
# @!attribute [rw] layer_hashes
|
3191
2373
|
# The hashes associated with the layers.
|
3192
2374
|
# @return [Array<Types::StringFilter>]
|
@@ -3291,15 +2473,229 @@ module Aws::Inspector2
|
|
3291
2473
|
include Aws::Structure
|
3292
2474
|
end
|
3293
2475
|
|
3294
|
-
#
|
3295
|
-
#
|
2476
|
+
# The details that define a findings aggregation based on AWS Lambda
|
2477
|
+
# functions.
|
2478
|
+
#
|
2479
|
+
# @!attribute [rw] function_names
|
2480
|
+
# The AWS Lambda function names to include in the aggregation results.
|
2481
|
+
# @return [Array<Types::StringFilter>]
|
2482
|
+
#
|
2483
|
+
# @!attribute [rw] function_tags
|
2484
|
+
# The tags to include in the aggregation results.
|
2485
|
+
# @return [Array<Types::MapFilter>]
|
2486
|
+
#
|
2487
|
+
# @!attribute [rw] resource_ids
|
2488
|
+
# The resource IDs to include in the aggregation results.
|
2489
|
+
# @return [Array<Types::StringFilter>]
|
2490
|
+
#
|
2491
|
+
# @!attribute [rw] runtimes
|
2492
|
+
# Returns findings aggregated by AWS Lambda function runtime
|
2493
|
+
# environments.
|
2494
|
+
# @return [Array<Types::StringFilter>]
|
3296
2495
|
#
|
3297
|
-
#
|
3298
|
-
#
|
3299
|
-
#
|
3300
|
-
#
|
3301
|
-
#
|
2496
|
+
# @!attribute [rw] sort_by
|
2497
|
+
# The finding severity to use for sorting the results.
|
2498
|
+
# @return [String]
|
2499
|
+
#
|
2500
|
+
# @!attribute [rw] sort_order
|
2501
|
+
# The order to use for sorting the results.
|
2502
|
+
# @return [String]
|
2503
|
+
#
|
2504
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/LambdaFunctionAggregation AWS API Documentation
|
2505
|
+
#
|
2506
|
+
class LambdaFunctionAggregation < Struct.new(
|
2507
|
+
:function_names,
|
2508
|
+
:function_tags,
|
2509
|
+
:resource_ids,
|
2510
|
+
:runtimes,
|
2511
|
+
:sort_by,
|
2512
|
+
:sort_order)
|
2513
|
+
SENSITIVE = []
|
2514
|
+
include Aws::Structure
|
2515
|
+
end
|
2516
|
+
|
2517
|
+
# A response that contains the results of an AWS Lambda function finding
|
2518
|
+
# aggregation.
|
2519
|
+
#
|
2520
|
+
# @!attribute [rw] account_id
|
2521
|
+
# The ID of the AWS account that owns the AWS Lambda function.
|
2522
|
+
# @return [String]
|
2523
|
+
#
|
2524
|
+
# @!attribute [rw] function_name
|
2525
|
+
# The AWS Lambda function names included in the aggregation results.
|
2526
|
+
# @return [String]
|
2527
|
+
#
|
2528
|
+
# @!attribute [rw] lambda_tags
|
2529
|
+
# The tags included in the aggregation results.
|
2530
|
+
# @return [Hash<String,String>]
|
3302
2531
|
#
|
2532
|
+
# @!attribute [rw] last_modified_at
|
2533
|
+
# The date that the AWS Lambda function included in the aggregation
|
2534
|
+
# results was last changed.
|
2535
|
+
# @return [Time]
|
2536
|
+
#
|
2537
|
+
# @!attribute [rw] resource_id
|
2538
|
+
# The resource IDs included in the aggregation results.
|
2539
|
+
# @return [String]
|
2540
|
+
#
|
2541
|
+
# @!attribute [rw] runtime
|
2542
|
+
# The runtimes included in the aggregation results.
|
2543
|
+
# @return [String]
|
2544
|
+
#
|
2545
|
+
# @!attribute [rw] severity_counts
|
2546
|
+
# An object that contains the counts of aggregated finding per
|
2547
|
+
# severity.
|
2548
|
+
# @return [Types::SeverityCounts]
|
2549
|
+
#
|
2550
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/LambdaFunctionAggregationResponse AWS API Documentation
|
2551
|
+
#
|
2552
|
+
class LambdaFunctionAggregationResponse < Struct.new(
|
2553
|
+
:account_id,
|
2554
|
+
:function_name,
|
2555
|
+
:lambda_tags,
|
2556
|
+
:last_modified_at,
|
2557
|
+
:resource_id,
|
2558
|
+
:runtime,
|
2559
|
+
:severity_counts)
|
2560
|
+
SENSITIVE = []
|
2561
|
+
include Aws::Structure
|
2562
|
+
end
|
2563
|
+
|
2564
|
+
# The AWS Lambda function metadata.
|
2565
|
+
#
|
2566
|
+
# @!attribute [rw] function_name
|
2567
|
+
# The name of a function.
|
2568
|
+
# @return [String]
|
2569
|
+
#
|
2570
|
+
# @!attribute [rw] function_tags
|
2571
|
+
# The resource tags on an AWS Lambda function.
|
2572
|
+
# @return [Hash<String,String>]
|
2573
|
+
#
|
2574
|
+
# @!attribute [rw] layers
|
2575
|
+
# The layers for an AWS Lambda function. A Lambda function can have up
|
2576
|
+
# to five layers.
|
2577
|
+
# @return [Array<String>]
|
2578
|
+
#
|
2579
|
+
# @!attribute [rw] runtime
|
2580
|
+
# An AWS Lambda function's runtime.
|
2581
|
+
# @return [String]
|
2582
|
+
#
|
2583
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/LambdaFunctionMetadata AWS API Documentation
|
2584
|
+
#
|
2585
|
+
class LambdaFunctionMetadata < Struct.new(
|
2586
|
+
:function_name,
|
2587
|
+
:function_tags,
|
2588
|
+
:layers,
|
2589
|
+
:runtime)
|
2590
|
+
SENSITIVE = []
|
2591
|
+
include Aws::Structure
|
2592
|
+
end
|
2593
|
+
|
2594
|
+
# The details that define a findings aggregation based on an AWS Lambda
|
2595
|
+
# function's layers.
|
2596
|
+
#
|
2597
|
+
# @!attribute [rw] function_names
|
2598
|
+
# The names of the AWS Lambda functions associated with the layers.
|
2599
|
+
# @return [Array<Types::StringFilter>]
|
2600
|
+
#
|
2601
|
+
# @!attribute [rw] layer_arns
|
2602
|
+
# The Amazon Resource Name (ARN) of the AWS Lambda function layer.
|
2603
|
+
# @return [Array<Types::StringFilter>]
|
2604
|
+
#
|
2605
|
+
# @!attribute [rw] resource_ids
|
2606
|
+
# The resource IDs for the AWS Lambda function layers.
|
2607
|
+
# @return [Array<Types::StringFilter>]
|
2608
|
+
#
|
2609
|
+
# @!attribute [rw] sort_by
|
2610
|
+
# The finding severity to use for sorting the results.
|
2611
|
+
# @return [String]
|
2612
|
+
#
|
2613
|
+
# @!attribute [rw] sort_order
|
2614
|
+
# The order to use for sorting the results.
|
2615
|
+
# @return [String]
|
2616
|
+
#
|
2617
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/LambdaLayerAggregation AWS API Documentation
|
2618
|
+
#
|
2619
|
+
class LambdaLayerAggregation < Struct.new(
|
2620
|
+
:function_names,
|
2621
|
+
:layer_arns,
|
2622
|
+
:resource_ids,
|
2623
|
+
:sort_by,
|
2624
|
+
:sort_order)
|
2625
|
+
SENSITIVE = []
|
2626
|
+
include Aws::Structure
|
2627
|
+
end
|
2628
|
+
|
2629
|
+
# A response that contains the results of an AWS Lambda function layer
|
2630
|
+
# finding aggregation.
|
2631
|
+
#
|
2632
|
+
# @!attribute [rw] account_id
|
2633
|
+
# The account ID of the AWS Lambda function layer.
|
2634
|
+
# @return [String]
|
2635
|
+
#
|
2636
|
+
# @!attribute [rw] function_name
|
2637
|
+
# The names of the AWS Lambda functions associated with the layers.
|
2638
|
+
# @return [String]
|
2639
|
+
#
|
2640
|
+
# @!attribute [rw] layer_arn
|
2641
|
+
# The Amazon Resource Name (ARN) of the AWS Lambda function layer.
|
2642
|
+
# @return [String]
|
2643
|
+
#
|
2644
|
+
# @!attribute [rw] resource_id
|
2645
|
+
# The Resource ID of the AWS Lambda function layer.
|
2646
|
+
# @return [String]
|
2647
|
+
#
|
2648
|
+
# @!attribute [rw] severity_counts
|
2649
|
+
# An object that contains the counts of aggregated finding per
|
2650
|
+
# severity.
|
2651
|
+
# @return [Types::SeverityCounts]
|
2652
|
+
#
|
2653
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/LambdaLayerAggregationResponse AWS API Documentation
|
2654
|
+
#
|
2655
|
+
class LambdaLayerAggregationResponse < Struct.new(
|
2656
|
+
:account_id,
|
2657
|
+
:function_name,
|
2658
|
+
:layer_arn,
|
2659
|
+
:resource_id,
|
2660
|
+
:severity_counts)
|
2661
|
+
SENSITIVE = []
|
2662
|
+
include Aws::Structure
|
2663
|
+
end
|
2664
|
+
|
2665
|
+
# The VPC security groups and subnets that are attached to an AWS Lambda
|
2666
|
+
# function. For more information, see [VPC Settings][1].
|
2667
|
+
#
|
2668
|
+
#
|
2669
|
+
#
|
2670
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html
|
2671
|
+
#
|
2672
|
+
# @!attribute [rw] security_group_ids
|
2673
|
+
# The VPC security groups and subnets that are attached to an AWS
|
2674
|
+
# Lambda function. For more information, see [VPC Settings][1].
|
2675
|
+
#
|
2676
|
+
#
|
2677
|
+
#
|
2678
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html
|
2679
|
+
# @return [Array<String>]
|
2680
|
+
#
|
2681
|
+
# @!attribute [rw] subnet_ids
|
2682
|
+
# A list of VPC subnet IDs.
|
2683
|
+
# @return [Array<String>]
|
2684
|
+
#
|
2685
|
+
# @!attribute [rw] vpc_id
|
2686
|
+
# The ID of the VPC.
|
2687
|
+
# @return [String]
|
2688
|
+
#
|
2689
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/LambdaVpcConfig AWS API Documentation
|
2690
|
+
#
|
2691
|
+
class LambdaVpcConfig < Struct.new(
|
2692
|
+
:security_group_ids,
|
2693
|
+
:subnet_ids,
|
2694
|
+
:vpc_id)
|
2695
|
+
SENSITIVE = []
|
2696
|
+
include Aws::Structure
|
2697
|
+
end
|
2698
|
+
|
3303
2699
|
# @!attribute [rw] max_results
|
3304
2700
|
# The maximum number of results to return in the response.
|
3305
2701
|
# @return [Integer]
|
@@ -3348,71 +2744,6 @@ module Aws::Inspector2
|
|
3348
2744
|
include Aws::Structure
|
3349
2745
|
end
|
3350
2746
|
|
3351
|
-
# @note When making an API call, you may pass ListCoverageRequest
|
3352
|
-
# data as a hash:
|
3353
|
-
#
|
3354
|
-
# {
|
3355
|
-
# filter_criteria: {
|
3356
|
-
# account_id: [
|
3357
|
-
# {
|
3358
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3359
|
-
# value: "CoverageStringInput", # required
|
3360
|
-
# },
|
3361
|
-
# ],
|
3362
|
-
# ec2_instance_tags: [
|
3363
|
-
# {
|
3364
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
3365
|
-
# key: "NonEmptyString", # required
|
3366
|
-
# value: "NonEmptyString",
|
3367
|
-
# },
|
3368
|
-
# ],
|
3369
|
-
# ecr_image_tags: [
|
3370
|
-
# {
|
3371
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3372
|
-
# value: "CoverageStringInput", # required
|
3373
|
-
# },
|
3374
|
-
# ],
|
3375
|
-
# ecr_repository_name: [
|
3376
|
-
# {
|
3377
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3378
|
-
# value: "CoverageStringInput", # required
|
3379
|
-
# },
|
3380
|
-
# ],
|
3381
|
-
# resource_id: [
|
3382
|
-
# {
|
3383
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3384
|
-
# value: "CoverageStringInput", # required
|
3385
|
-
# },
|
3386
|
-
# ],
|
3387
|
-
# resource_type: [
|
3388
|
-
# {
|
3389
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3390
|
-
# value: "CoverageStringInput", # required
|
3391
|
-
# },
|
3392
|
-
# ],
|
3393
|
-
# scan_status_code: [
|
3394
|
-
# {
|
3395
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3396
|
-
# value: "CoverageStringInput", # required
|
3397
|
-
# },
|
3398
|
-
# ],
|
3399
|
-
# scan_status_reason: [
|
3400
|
-
# {
|
3401
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3402
|
-
# value: "CoverageStringInput", # required
|
3403
|
-
# },
|
3404
|
-
# ],
|
3405
|
-
# scan_type: [
|
3406
|
-
# {
|
3407
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3408
|
-
# value: "CoverageStringInput", # required
|
3409
|
-
# },
|
3410
|
-
# ],
|
3411
|
-
# },
|
3412
|
-
# max_results: 1,
|
3413
|
-
# next_token: "NextToken",
|
3414
|
-
# }
|
3415
|
-
#
|
3416
2747
|
# @!attribute [rw] filter_criteria
|
3417
2748
|
# An object that contains details on the filters to apply to the
|
3418
2749
|
# coverage data for your environment.
|
@@ -3462,71 +2793,6 @@ module Aws::Inspector2
|
|
3462
2793
|
include Aws::Structure
|
3463
2794
|
end
|
3464
2795
|
|
3465
|
-
# @note When making an API call, you may pass ListCoverageStatisticsRequest
|
3466
|
-
# data as a hash:
|
3467
|
-
#
|
3468
|
-
# {
|
3469
|
-
# filter_criteria: {
|
3470
|
-
# account_id: [
|
3471
|
-
# {
|
3472
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3473
|
-
# value: "CoverageStringInput", # required
|
3474
|
-
# },
|
3475
|
-
# ],
|
3476
|
-
# ec2_instance_tags: [
|
3477
|
-
# {
|
3478
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
3479
|
-
# key: "NonEmptyString", # required
|
3480
|
-
# value: "NonEmptyString",
|
3481
|
-
# },
|
3482
|
-
# ],
|
3483
|
-
# ecr_image_tags: [
|
3484
|
-
# {
|
3485
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3486
|
-
# value: "CoverageStringInput", # required
|
3487
|
-
# },
|
3488
|
-
# ],
|
3489
|
-
# ecr_repository_name: [
|
3490
|
-
# {
|
3491
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3492
|
-
# value: "CoverageStringInput", # required
|
3493
|
-
# },
|
3494
|
-
# ],
|
3495
|
-
# resource_id: [
|
3496
|
-
# {
|
3497
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3498
|
-
# value: "CoverageStringInput", # required
|
3499
|
-
# },
|
3500
|
-
# ],
|
3501
|
-
# resource_type: [
|
3502
|
-
# {
|
3503
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3504
|
-
# value: "CoverageStringInput", # required
|
3505
|
-
# },
|
3506
|
-
# ],
|
3507
|
-
# scan_status_code: [
|
3508
|
-
# {
|
3509
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3510
|
-
# value: "CoverageStringInput", # required
|
3511
|
-
# },
|
3512
|
-
# ],
|
3513
|
-
# scan_status_reason: [
|
3514
|
-
# {
|
3515
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3516
|
-
# value: "CoverageStringInput", # required
|
3517
|
-
# },
|
3518
|
-
# ],
|
3519
|
-
# scan_type: [
|
3520
|
-
# {
|
3521
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3522
|
-
# value: "CoverageStringInput", # required
|
3523
|
-
# },
|
3524
|
-
# ],
|
3525
|
-
# },
|
3526
|
-
# group_by: "SCAN_STATUS_CODE", # accepts SCAN_STATUS_CODE, SCAN_STATUS_REASON, ACCOUNT_ID, RESOURCE_TYPE, ECR_REPOSITORY_NAME
|
3527
|
-
# next_token: "NextToken",
|
3528
|
-
# }
|
3529
|
-
#
|
3530
2796
|
# @!attribute [rw] filter_criteria
|
3531
2797
|
# An object that contains details on the filters to apply to the
|
3532
2798
|
# coverage data for your environment.
|
@@ -3580,14 +2846,6 @@ module Aws::Inspector2
|
|
3580
2846
|
include Aws::Structure
|
3581
2847
|
end
|
3582
2848
|
|
3583
|
-
# @note When making an API call, you may pass ListDelegatedAdminAccountsRequest
|
3584
|
-
# data as a hash:
|
3585
|
-
#
|
3586
|
-
# {
|
3587
|
-
# max_results: 1,
|
3588
|
-
# next_token: "NextToken",
|
3589
|
-
# }
|
3590
|
-
#
|
3591
2849
|
# @!attribute [rw] max_results
|
3592
2850
|
# The maximum number of results to return in the response.
|
3593
2851
|
# @return [Integer]
|
@@ -3631,16 +2889,6 @@ module Aws::Inspector2
|
|
3631
2889
|
include Aws::Structure
|
3632
2890
|
end
|
3633
2891
|
|
3634
|
-
# @note When making an API call, you may pass ListFiltersRequest
|
3635
|
-
# data as a hash:
|
3636
|
-
#
|
3637
|
-
# {
|
3638
|
-
# action: "NONE", # accepts NONE, SUPPRESS
|
3639
|
-
# arns: ["FilterArn"],
|
3640
|
-
# max_results: 1,
|
3641
|
-
# next_token: "NextToken",
|
3642
|
-
# }
|
3643
|
-
#
|
3644
2892
|
# @!attribute [rw] action
|
3645
2893
|
# The action the filter applies to matched findings.
|
3646
2894
|
# @return [String]
|
@@ -3693,167 +2941,6 @@ module Aws::Inspector2
|
|
3693
2941
|
include Aws::Structure
|
3694
2942
|
end
|
3695
2943
|
|
3696
|
-
# @note When making an API call, you may pass ListFindingAggregationsRequest
|
3697
|
-
# data as a hash:
|
3698
|
-
#
|
3699
|
-
# {
|
3700
|
-
# account_ids: [
|
3701
|
-
# {
|
3702
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3703
|
-
# value: "StringInput", # required
|
3704
|
-
# },
|
3705
|
-
# ],
|
3706
|
-
# aggregation_request: {
|
3707
|
-
# account_aggregation: {
|
3708
|
-
# finding_type: "NETWORK_REACHABILITY", # accepts NETWORK_REACHABILITY, PACKAGE_VULNERABILITY
|
3709
|
-
# resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE
|
3710
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
3711
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
3712
|
-
# },
|
3713
|
-
# ami_aggregation: {
|
3714
|
-
# amis: [
|
3715
|
-
# {
|
3716
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3717
|
-
# value: "StringInput", # required
|
3718
|
-
# },
|
3719
|
-
# ],
|
3720
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL, AFFECTED_INSTANCES
|
3721
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
3722
|
-
# },
|
3723
|
-
# aws_ecr_container_aggregation: {
|
3724
|
-
# architectures: [
|
3725
|
-
# {
|
3726
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3727
|
-
# value: "StringInput", # required
|
3728
|
-
# },
|
3729
|
-
# ],
|
3730
|
-
# image_shas: [
|
3731
|
-
# {
|
3732
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3733
|
-
# value: "StringInput", # required
|
3734
|
-
# },
|
3735
|
-
# ],
|
3736
|
-
# image_tags: [
|
3737
|
-
# {
|
3738
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3739
|
-
# value: "StringInput", # required
|
3740
|
-
# },
|
3741
|
-
# ],
|
3742
|
-
# repositories: [
|
3743
|
-
# {
|
3744
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3745
|
-
# value: "StringInput", # required
|
3746
|
-
# },
|
3747
|
-
# ],
|
3748
|
-
# resource_ids: [
|
3749
|
-
# {
|
3750
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3751
|
-
# value: "StringInput", # required
|
3752
|
-
# },
|
3753
|
-
# ],
|
3754
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
3755
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
3756
|
-
# },
|
3757
|
-
# ec2_instance_aggregation: {
|
3758
|
-
# amis: [
|
3759
|
-
# {
|
3760
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3761
|
-
# value: "StringInput", # required
|
3762
|
-
# },
|
3763
|
-
# ],
|
3764
|
-
# instance_ids: [
|
3765
|
-
# {
|
3766
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3767
|
-
# value: "StringInput", # required
|
3768
|
-
# },
|
3769
|
-
# ],
|
3770
|
-
# instance_tags: [
|
3771
|
-
# {
|
3772
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
3773
|
-
# key: "MapKey", # required
|
3774
|
-
# value: "MapValue",
|
3775
|
-
# },
|
3776
|
-
# ],
|
3777
|
-
# operating_systems: [
|
3778
|
-
# {
|
3779
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3780
|
-
# value: "StringInput", # required
|
3781
|
-
# },
|
3782
|
-
# ],
|
3783
|
-
# sort_by: "NETWORK_FINDINGS", # accepts NETWORK_FINDINGS, CRITICAL, HIGH, ALL
|
3784
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
3785
|
-
# },
|
3786
|
-
# finding_type_aggregation: {
|
3787
|
-
# finding_type: "NETWORK_REACHABILITY", # accepts NETWORK_REACHABILITY, PACKAGE_VULNERABILITY
|
3788
|
-
# resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE
|
3789
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
3790
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
3791
|
-
# },
|
3792
|
-
# image_layer_aggregation: {
|
3793
|
-
# layer_hashes: [
|
3794
|
-
# {
|
3795
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3796
|
-
# value: "StringInput", # required
|
3797
|
-
# },
|
3798
|
-
# ],
|
3799
|
-
# repositories: [
|
3800
|
-
# {
|
3801
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3802
|
-
# value: "StringInput", # required
|
3803
|
-
# },
|
3804
|
-
# ],
|
3805
|
-
# resource_ids: [
|
3806
|
-
# {
|
3807
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3808
|
-
# value: "StringInput", # required
|
3809
|
-
# },
|
3810
|
-
# ],
|
3811
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
3812
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
3813
|
-
# },
|
3814
|
-
# package_aggregation: {
|
3815
|
-
# package_names: [
|
3816
|
-
# {
|
3817
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3818
|
-
# value: "StringInput", # required
|
3819
|
-
# },
|
3820
|
-
# ],
|
3821
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
3822
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
3823
|
-
# },
|
3824
|
-
# repository_aggregation: {
|
3825
|
-
# repositories: [
|
3826
|
-
# {
|
3827
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3828
|
-
# value: "StringInput", # required
|
3829
|
-
# },
|
3830
|
-
# ],
|
3831
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL, AFFECTED_IMAGES
|
3832
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
3833
|
-
# },
|
3834
|
-
# title_aggregation: {
|
3835
|
-
# resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE
|
3836
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
3837
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
3838
|
-
# titles: [
|
3839
|
-
# {
|
3840
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3841
|
-
# value: "StringInput", # required
|
3842
|
-
# },
|
3843
|
-
# ],
|
3844
|
-
# vulnerability_ids: [
|
3845
|
-
# {
|
3846
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3847
|
-
# value: "StringInput", # required
|
3848
|
-
# },
|
3849
|
-
# ],
|
3850
|
-
# },
|
3851
|
-
# },
|
3852
|
-
# aggregation_type: "FINDING_TYPE", # required, accepts FINDING_TYPE, PACKAGE, TITLE, REPOSITORY, AMI, AWS_EC2_INSTANCE, AWS_ECR_CONTAINER, IMAGE_LAYER, ACCOUNT
|
3853
|
-
# max_results: 1,
|
3854
|
-
# next_token: "NextToken",
|
3855
|
-
# }
|
3856
|
-
#
|
3857
2944
|
# @!attribute [rw] account_ids
|
3858
2945
|
# The Amazon Web Services account IDs to retrieve finding aggregation
|
3859
2946
|
# data for.
|
@@ -3918,235 +3005,6 @@ module Aws::Inspector2
|
|
3918
3005
|
include Aws::Structure
|
3919
3006
|
end
|
3920
3007
|
|
3921
|
-
# @note When making an API call, you may pass ListFindingsRequest
|
3922
|
-
# data as a hash:
|
3923
|
-
#
|
3924
|
-
# {
|
3925
|
-
# filter_criteria: {
|
3926
|
-
# aws_account_id: [
|
3927
|
-
# {
|
3928
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3929
|
-
# value: "StringInput", # required
|
3930
|
-
# },
|
3931
|
-
# ],
|
3932
|
-
# component_id: [
|
3933
|
-
# {
|
3934
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3935
|
-
# value: "StringInput", # required
|
3936
|
-
# },
|
3937
|
-
# ],
|
3938
|
-
# component_type: [
|
3939
|
-
# {
|
3940
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3941
|
-
# value: "StringInput", # required
|
3942
|
-
# },
|
3943
|
-
# ],
|
3944
|
-
# ec2_instance_image_id: [
|
3945
|
-
# {
|
3946
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3947
|
-
# value: "StringInput", # required
|
3948
|
-
# },
|
3949
|
-
# ],
|
3950
|
-
# ec2_instance_subnet_id: [
|
3951
|
-
# {
|
3952
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3953
|
-
# value: "StringInput", # required
|
3954
|
-
# },
|
3955
|
-
# ],
|
3956
|
-
# ec2_instance_vpc_id: [
|
3957
|
-
# {
|
3958
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3959
|
-
# value: "StringInput", # required
|
3960
|
-
# },
|
3961
|
-
# ],
|
3962
|
-
# ecr_image_architecture: [
|
3963
|
-
# {
|
3964
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3965
|
-
# value: "StringInput", # required
|
3966
|
-
# },
|
3967
|
-
# ],
|
3968
|
-
# ecr_image_hash: [
|
3969
|
-
# {
|
3970
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3971
|
-
# value: "StringInput", # required
|
3972
|
-
# },
|
3973
|
-
# ],
|
3974
|
-
# ecr_image_pushed_at: [
|
3975
|
-
# {
|
3976
|
-
# end_inclusive: Time.now,
|
3977
|
-
# start_inclusive: Time.now,
|
3978
|
-
# },
|
3979
|
-
# ],
|
3980
|
-
# ecr_image_registry: [
|
3981
|
-
# {
|
3982
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3983
|
-
# value: "StringInput", # required
|
3984
|
-
# },
|
3985
|
-
# ],
|
3986
|
-
# ecr_image_repository_name: [
|
3987
|
-
# {
|
3988
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3989
|
-
# value: "StringInput", # required
|
3990
|
-
# },
|
3991
|
-
# ],
|
3992
|
-
# ecr_image_tags: [
|
3993
|
-
# {
|
3994
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3995
|
-
# value: "StringInput", # required
|
3996
|
-
# },
|
3997
|
-
# ],
|
3998
|
-
# finding_arn: [
|
3999
|
-
# {
|
4000
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4001
|
-
# value: "StringInput", # required
|
4002
|
-
# },
|
4003
|
-
# ],
|
4004
|
-
# finding_status: [
|
4005
|
-
# {
|
4006
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4007
|
-
# value: "StringInput", # required
|
4008
|
-
# },
|
4009
|
-
# ],
|
4010
|
-
# finding_type: [
|
4011
|
-
# {
|
4012
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4013
|
-
# value: "StringInput", # required
|
4014
|
-
# },
|
4015
|
-
# ],
|
4016
|
-
# first_observed_at: [
|
4017
|
-
# {
|
4018
|
-
# end_inclusive: Time.now,
|
4019
|
-
# start_inclusive: Time.now,
|
4020
|
-
# },
|
4021
|
-
# ],
|
4022
|
-
# fix_available: [
|
4023
|
-
# {
|
4024
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4025
|
-
# value: "StringInput", # required
|
4026
|
-
# },
|
4027
|
-
# ],
|
4028
|
-
# inspector_score: [
|
4029
|
-
# {
|
4030
|
-
# lower_inclusive: 1.0,
|
4031
|
-
# upper_inclusive: 1.0,
|
4032
|
-
# },
|
4033
|
-
# ],
|
4034
|
-
# last_observed_at: [
|
4035
|
-
# {
|
4036
|
-
# end_inclusive: Time.now,
|
4037
|
-
# start_inclusive: Time.now,
|
4038
|
-
# },
|
4039
|
-
# ],
|
4040
|
-
# network_protocol: [
|
4041
|
-
# {
|
4042
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4043
|
-
# value: "StringInput", # required
|
4044
|
-
# },
|
4045
|
-
# ],
|
4046
|
-
# port_range: [
|
4047
|
-
# {
|
4048
|
-
# begin_inclusive: 1,
|
4049
|
-
# end_inclusive: 1,
|
4050
|
-
# },
|
4051
|
-
# ],
|
4052
|
-
# related_vulnerabilities: [
|
4053
|
-
# {
|
4054
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4055
|
-
# value: "StringInput", # required
|
4056
|
-
# },
|
4057
|
-
# ],
|
4058
|
-
# resource_id: [
|
4059
|
-
# {
|
4060
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4061
|
-
# value: "StringInput", # required
|
4062
|
-
# },
|
4063
|
-
# ],
|
4064
|
-
# resource_tags: [
|
4065
|
-
# {
|
4066
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
4067
|
-
# key: "MapKey", # required
|
4068
|
-
# value: "MapValue",
|
4069
|
-
# },
|
4070
|
-
# ],
|
4071
|
-
# resource_type: [
|
4072
|
-
# {
|
4073
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4074
|
-
# value: "StringInput", # required
|
4075
|
-
# },
|
4076
|
-
# ],
|
4077
|
-
# severity: [
|
4078
|
-
# {
|
4079
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4080
|
-
# value: "StringInput", # required
|
4081
|
-
# },
|
4082
|
-
# ],
|
4083
|
-
# title: [
|
4084
|
-
# {
|
4085
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4086
|
-
# value: "StringInput", # required
|
4087
|
-
# },
|
4088
|
-
# ],
|
4089
|
-
# updated_at: [
|
4090
|
-
# {
|
4091
|
-
# end_inclusive: Time.now,
|
4092
|
-
# start_inclusive: Time.now,
|
4093
|
-
# },
|
4094
|
-
# ],
|
4095
|
-
# vendor_severity: [
|
4096
|
-
# {
|
4097
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4098
|
-
# value: "StringInput", # required
|
4099
|
-
# },
|
4100
|
-
# ],
|
4101
|
-
# vulnerability_id: [
|
4102
|
-
# {
|
4103
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4104
|
-
# value: "StringInput", # required
|
4105
|
-
# },
|
4106
|
-
# ],
|
4107
|
-
# vulnerability_source: [
|
4108
|
-
# {
|
4109
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4110
|
-
# value: "StringInput", # required
|
4111
|
-
# },
|
4112
|
-
# ],
|
4113
|
-
# vulnerable_packages: [
|
4114
|
-
# {
|
4115
|
-
# architecture: {
|
4116
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4117
|
-
# value: "StringInput", # required
|
4118
|
-
# },
|
4119
|
-
# epoch: {
|
4120
|
-
# lower_inclusive: 1.0,
|
4121
|
-
# upper_inclusive: 1.0,
|
4122
|
-
# },
|
4123
|
-
# name: {
|
4124
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4125
|
-
# value: "StringInput", # required
|
4126
|
-
# },
|
4127
|
-
# release: {
|
4128
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4129
|
-
# value: "StringInput", # required
|
4130
|
-
# },
|
4131
|
-
# source_layer_hash: {
|
4132
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4133
|
-
# value: "StringInput", # required
|
4134
|
-
# },
|
4135
|
-
# version: {
|
4136
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4137
|
-
# value: "StringInput", # required
|
4138
|
-
# },
|
4139
|
-
# },
|
4140
|
-
# ],
|
4141
|
-
# },
|
4142
|
-
# max_results: 1,
|
4143
|
-
# next_token: "NextToken",
|
4144
|
-
# sort_criteria: {
|
4145
|
-
# field: "AWS_ACCOUNT_ID", # required, accepts AWS_ACCOUNT_ID, FINDING_TYPE, SEVERITY, FIRST_OBSERVED_AT, LAST_OBSERVED_AT, FINDING_STATUS, RESOURCE_TYPE, ECR_IMAGE_PUSHED_AT, ECR_IMAGE_REPOSITORY_NAME, ECR_IMAGE_REGISTRY, NETWORK_PROTOCOL, COMPONENT_TYPE, VULNERABILITY_ID, VULNERABILITY_SOURCE, INSPECTOR_SCORE, VENDOR_SEVERITY
|
4146
|
-
# sort_order: "ASC", # required, accepts ASC, DESC
|
4147
|
-
# },
|
4148
|
-
# }
|
4149
|
-
#
|
4150
3008
|
# @!attribute [rw] filter_criteria
|
4151
3009
|
# Details on the filters to apply to your finding results.
|
4152
3010
|
# @return [Types::FilterCriteria]
|
@@ -4199,15 +3057,6 @@ module Aws::Inspector2
|
|
4199
3057
|
include Aws::Structure
|
4200
3058
|
end
|
4201
3059
|
|
4202
|
-
# @note When making an API call, you may pass ListMembersRequest
|
4203
|
-
# data as a hash:
|
4204
|
-
#
|
4205
|
-
# {
|
4206
|
-
# max_results: 1,
|
4207
|
-
# next_token: "NextToken",
|
4208
|
-
# only_associated: false,
|
4209
|
-
# }
|
4210
|
-
#
|
4211
3060
|
# @!attribute [rw] max_results
|
4212
3061
|
# The maximum number of results to return in the response.
|
4213
3062
|
# @return [Integer]
|
@@ -4253,13 +3102,6 @@ module Aws::Inspector2
|
|
4253
3102
|
include Aws::Structure
|
4254
3103
|
end
|
4255
3104
|
|
4256
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
4257
|
-
# data as a hash:
|
4258
|
-
#
|
4259
|
-
# {
|
4260
|
-
# resource_arn: "Arn", # required
|
4261
|
-
# }
|
4262
|
-
#
|
4263
3105
|
# @!attribute [rw] resource_arn
|
4264
3106
|
# The Amazon resource number (ARN) of the resource to list tags of.
|
4265
3107
|
# @return [String]
|
@@ -4284,15 +3126,6 @@ module Aws::Inspector2
|
|
4284
3126
|
include Aws::Structure
|
4285
3127
|
end
|
4286
3128
|
|
4287
|
-
# @note When making an API call, you may pass ListUsageTotalsRequest
|
4288
|
-
# data as a hash:
|
4289
|
-
#
|
4290
|
-
# {
|
4291
|
-
# account_ids: ["UsageAccountId"],
|
4292
|
-
# max_results: 1,
|
4293
|
-
# next_token: "ListUsageTotalsNextToken",
|
4294
|
-
# }
|
4295
|
-
#
|
4296
3129
|
# @!attribute [rw] account_ids
|
4297
3130
|
# The Amazon Web Services account IDs to retrieve usage totals for.
|
4298
3131
|
# @return [Array<String>]
|
@@ -4339,15 +3172,6 @@ module Aws::Inspector2
|
|
4339
3172
|
|
4340
3173
|
# An object that describes details of a map filter.
|
4341
3174
|
#
|
4342
|
-
# @note When making an API call, you may pass MapFilter
|
4343
|
-
# data as a hash:
|
4344
|
-
#
|
4345
|
-
# {
|
4346
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
4347
|
-
# key: "MapKey", # required
|
4348
|
-
# value: "MapValue",
|
4349
|
-
# }
|
4350
|
-
#
|
4351
3175
|
# @!attribute [rw] comparison
|
4352
3176
|
# The operator to use when comparing values in the filter.
|
4353
3177
|
# @return [String]
|
@@ -4442,14 +3266,6 @@ module Aws::Inspector2
|
|
4442
3266
|
|
4443
3267
|
# An object that describes the details of a number filter.
|
4444
3268
|
#
|
4445
|
-
# @note When making an API call, you may pass NumberFilter
|
4446
|
-
# data as a hash:
|
4447
|
-
#
|
4448
|
-
# {
|
4449
|
-
# lower_inclusive: 1.0,
|
4450
|
-
# upper_inclusive: 1.0,
|
4451
|
-
# }
|
4452
|
-
#
|
4453
3269
|
# @!attribute [rw] lower_inclusive
|
4454
3270
|
# The lowest number to be included in the filter.
|
4455
3271
|
# @return [Float]
|
@@ -4470,20 +3286,6 @@ module Aws::Inspector2
|
|
4470
3286
|
# The details that define an aggregation based on operating system
|
4471
3287
|
# package type.
|
4472
3288
|
#
|
4473
|
-
# @note When making an API call, you may pass PackageAggregation
|
4474
|
-
# data as a hash:
|
4475
|
-
#
|
4476
|
-
# {
|
4477
|
-
# package_names: [
|
4478
|
-
# {
|
4479
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4480
|
-
# value: "StringInput", # required
|
4481
|
-
# },
|
4482
|
-
# ],
|
4483
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
4484
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
4485
|
-
# }
|
4486
|
-
#
|
4487
3289
|
# @!attribute [rw] package_names
|
4488
3290
|
# The names of packages to aggregate findings on.
|
4489
3291
|
# @return [Array<Types::StringFilter>]
|
@@ -4534,36 +3336,6 @@ module Aws::Inspector2
|
|
4534
3336
|
|
4535
3337
|
# Contains information on the details of a package filter.
|
4536
3338
|
#
|
4537
|
-
# @note When making an API call, you may pass PackageFilter
|
4538
|
-
# data as a hash:
|
4539
|
-
#
|
4540
|
-
# {
|
4541
|
-
# architecture: {
|
4542
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4543
|
-
# value: "StringInput", # required
|
4544
|
-
# },
|
4545
|
-
# epoch: {
|
4546
|
-
# lower_inclusive: 1.0,
|
4547
|
-
# upper_inclusive: 1.0,
|
4548
|
-
# },
|
4549
|
-
# name: {
|
4550
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4551
|
-
# value: "StringInput", # required
|
4552
|
-
# },
|
4553
|
-
# release: {
|
4554
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4555
|
-
# value: "StringInput", # required
|
4556
|
-
# },
|
4557
|
-
# source_layer_hash: {
|
4558
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4559
|
-
# value: "StringInput", # required
|
4560
|
-
# },
|
4561
|
-
# version: {
|
4562
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4563
|
-
# value: "StringInput", # required
|
4564
|
-
# },
|
4565
|
-
# }
|
4566
|
-
#
|
4567
3339
|
# @!attribute [rw] architecture
|
4568
3340
|
# An object that contains details on the package architecture type to
|
4569
3341
|
# filter on.
|
@@ -4582,6 +3354,10 @@ module Aws::Inspector2
|
|
4582
3354
|
# An object that contains details on the package release to filter on.
|
4583
3355
|
# @return [Types::StringFilter]
|
4584
3356
|
#
|
3357
|
+
# @!attribute [rw] source_lambda_layer_arn
|
3358
|
+
# An object that describes the details of a string filter.
|
3359
|
+
# @return [Types::StringFilter]
|
3360
|
+
#
|
4585
3361
|
# @!attribute [rw] source_layer_hash
|
4586
3362
|
# An object that contains details on the source layer hash to filter
|
4587
3363
|
# on.
|
@@ -4598,6 +3374,7 @@ module Aws::Inspector2
|
|
4598
3374
|
:epoch,
|
4599
3375
|
:name,
|
4600
3376
|
:release,
|
3377
|
+
:source_lambda_layer_arn,
|
4601
3378
|
:source_layer_hash,
|
4602
3379
|
:version)
|
4603
3380
|
SENSITIVE = []
|
@@ -4708,14 +3485,6 @@ module Aws::Inspector2
|
|
4708
3485
|
|
4709
3486
|
# An object that describes the details of a port range filter.
|
4710
3487
|
#
|
4711
|
-
# @note When making an API call, you may pass PortRangeFilter
|
4712
|
-
# data as a hash:
|
4713
|
-
#
|
4714
|
-
# {
|
4715
|
-
# begin_inclusive: 1,
|
4716
|
-
# end_inclusive: 1,
|
4717
|
-
# }
|
4718
|
-
#
|
4719
3488
|
# @!attribute [rw] begin_inclusive
|
4720
3489
|
# The port number the port range begins at.
|
4721
3490
|
# @return [Integer]
|
@@ -4770,20 +3539,6 @@ module Aws::Inspector2
|
|
4770
3539
|
|
4771
3540
|
# The details that define an aggregation based on repository.
|
4772
3541
|
#
|
4773
|
-
# @note When making an API call, you may pass RepositoryAggregation
|
4774
|
-
# data as a hash:
|
4775
|
-
#
|
4776
|
-
# {
|
4777
|
-
# repositories: [
|
4778
|
-
# {
|
4779
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4780
|
-
# value: "StringInput", # required
|
4781
|
-
# },
|
4782
|
-
# ],
|
4783
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL, AFFECTED_IMAGES
|
4784
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
4785
|
-
# }
|
4786
|
-
#
|
4787
3542
|
# @!attribute [rw] repositories
|
4788
3543
|
# The names of repositories to aggregate findings on.
|
4789
3544
|
# @return [Array<Types::StringFilter>]
|
@@ -4889,11 +3644,17 @@ module Aws::Inspector2
|
|
4889
3644
|
# involved in the finding.
|
4890
3645
|
# @return [Types::AwsEcrContainerImageDetails]
|
4891
3646
|
#
|
3647
|
+
# @!attribute [rw] aws_lambda_function
|
3648
|
+
# A summary of the information about an AWS Lambda function affected
|
3649
|
+
# by a finding.
|
3650
|
+
# @return [Types::AwsLambdaFunctionDetails]
|
3651
|
+
#
|
4892
3652
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ResourceDetails AWS API Documentation
|
4893
3653
|
#
|
4894
3654
|
class ResourceDetails < Struct.new(
|
4895
3655
|
:aws_ec2_instance,
|
4896
|
-
:aws_ecr_container_image
|
3656
|
+
:aws_ecr_container_image,
|
3657
|
+
:aws_lambda_function)
|
4897
3658
|
SENSITIVE = []
|
4898
3659
|
include Aws::Structure
|
4899
3660
|
end
|
@@ -4929,12 +3690,17 @@ module Aws::Inspector2
|
|
4929
3690
|
# image resides in.
|
4930
3691
|
# @return [Types::EcrRepositoryMetadata]
|
4931
3692
|
#
|
3693
|
+
# @!attribute [rw] lambda_function
|
3694
|
+
# An object that contains metadata details for an AWS Lambda function.
|
3695
|
+
# @return [Types::LambdaFunctionMetadata]
|
3696
|
+
#
|
4932
3697
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ResourceScanMetadata AWS API Documentation
|
4933
3698
|
#
|
4934
3699
|
class ResourceScanMetadata < Struct.new(
|
4935
3700
|
:ec2,
|
4936
3701
|
:ecr_image,
|
4937
|
-
:ecr_repository
|
3702
|
+
:ecr_repository,
|
3703
|
+
:lambda_function)
|
4938
3704
|
SENSITIVE = []
|
4939
3705
|
include Aws::Structure
|
4940
3706
|
end
|
@@ -4952,11 +3718,17 @@ module Aws::Inspector2
|
|
4952
3718
|
# Amazon ECR resources.
|
4953
3719
|
# @return [Types::State]
|
4954
3720
|
#
|
3721
|
+
# @!attribute [rw] lambda
|
3722
|
+
# An object that described the state of Amazon Inspector scans for an
|
3723
|
+
# account.
|
3724
|
+
# @return [Types::State]
|
3725
|
+
#
|
4955
3726
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ResourceState AWS API Documentation
|
4956
3727
|
#
|
4957
3728
|
class ResourceState < Struct.new(
|
4958
3729
|
:ec2,
|
4959
|
-
:ecr
|
3730
|
+
:ecr,
|
3731
|
+
:lambda)
|
4960
3732
|
SENSITIVE = []
|
4961
3733
|
include Aws::Structure
|
4962
3734
|
end
|
@@ -4972,11 +3744,17 @@ module Aws::Inspector2
|
|
4972
3744
|
# The status of Amazon Inspector scanning for Amazon ECR resources.
|
4973
3745
|
# @return [String]
|
4974
3746
|
#
|
3747
|
+
# @!attribute [rw] lambda
|
3748
|
+
# The status of Amazon Inspector scanning for AWS Lambda function
|
3749
|
+
# resources.
|
3750
|
+
# @return [String]
|
3751
|
+
#
|
4975
3752
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ResourceStatus AWS API Documentation
|
4976
3753
|
#
|
4977
3754
|
class ResourceStatus < Struct.new(
|
4978
3755
|
:ec2,
|
4979
|
-
:ecr
|
3756
|
+
:ecr,
|
3757
|
+
:lambda)
|
4980
3758
|
SENSITIVE = []
|
4981
3759
|
include Aws::Structure
|
4982
3760
|
end
|
@@ -5051,14 +3829,6 @@ module Aws::Inspector2
|
|
5051
3829
|
|
5052
3830
|
# Details about the criteria used to sort finding results.
|
5053
3831
|
#
|
5054
|
-
# @note When making an API call, you may pass SortCriteria
|
5055
|
-
# data as a hash:
|
5056
|
-
#
|
5057
|
-
# {
|
5058
|
-
# field: "AWS_ACCOUNT_ID", # required, accepts AWS_ACCOUNT_ID, FINDING_TYPE, SEVERITY, FIRST_OBSERVED_AT, LAST_OBSERVED_AT, FINDING_STATUS, RESOURCE_TYPE, ECR_IMAGE_PUSHED_AT, ECR_IMAGE_REPOSITORY_NAME, ECR_IMAGE_REGISTRY, NETWORK_PROTOCOL, COMPONENT_TYPE, VULNERABILITY_ID, VULNERABILITY_SOURCE, INSPECTOR_SCORE, VENDOR_SEVERITY
|
5059
|
-
# sort_order: "ASC", # required, accepts ASC, DESC
|
5060
|
-
# }
|
5061
|
-
#
|
5062
3832
|
# @!attribute [rw] field
|
5063
3833
|
# The finding detail field by which results are sorted.
|
5064
3834
|
# @return [String]
|
@@ -5124,16 +3894,8 @@ module Aws::Inspector2
|
|
5124
3894
|
|
5125
3895
|
# An object that describes the details of a string filter.
|
5126
3896
|
#
|
5127
|
-
# @note When making an API call, you may pass StringFilter
|
5128
|
-
# data as a hash:
|
5129
|
-
#
|
5130
|
-
# {
|
5131
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5132
|
-
# value: "StringInput", # required
|
5133
|
-
# }
|
5134
|
-
#
|
5135
3897
|
# @!attribute [rw] comparison
|
5136
|
-
# The operator to use when comparing values in the filter
|
3898
|
+
# The operator to use when comparing values in the filter.
|
5137
3899
|
# @return [String]
|
5138
3900
|
#
|
5139
3901
|
# @!attribute [rw] value
|
@@ -5149,16 +3911,6 @@ module Aws::Inspector2
|
|
5149
3911
|
include Aws::Structure
|
5150
3912
|
end
|
5151
3913
|
|
5152
|
-
# @note When making an API call, you may pass TagResourceRequest
|
5153
|
-
# data as a hash:
|
5154
|
-
#
|
5155
|
-
# {
|
5156
|
-
# resource_arn: "Arn", # required
|
5157
|
-
# tags: { # required
|
5158
|
-
# "MapKey" => "MapValue",
|
5159
|
-
# },
|
5160
|
-
# }
|
5161
|
-
#
|
5162
3914
|
# @!attribute [rw] resource_arn
|
5163
3915
|
# The Amazon Resource Name (ARN) of the resource to apply a tag to.
|
5164
3916
|
# @return [String]
|
@@ -5185,37 +3937,21 @@ module Aws::Inspector2
|
|
5185
3937
|
# @!attribute [rw] message
|
5186
3938
|
# @return [String]
|
5187
3939
|
#
|
3940
|
+
# @!attribute [rw] retry_after_seconds
|
3941
|
+
# The number of seconds to wait before retrying the request.
|
3942
|
+
# @return [Integer]
|
3943
|
+
#
|
5188
3944
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ThrottlingException AWS API Documentation
|
5189
3945
|
#
|
5190
3946
|
class ThrottlingException < Struct.new(
|
5191
|
-
:message
|
3947
|
+
:message,
|
3948
|
+
:retry_after_seconds)
|
5192
3949
|
SENSITIVE = []
|
5193
3950
|
include Aws::Structure
|
5194
3951
|
end
|
5195
3952
|
|
5196
3953
|
# The details that define an aggregation based on finding title.
|
5197
3954
|
#
|
5198
|
-
# @note When making an API call, you may pass TitleAggregation
|
5199
|
-
# data as a hash:
|
5200
|
-
#
|
5201
|
-
# {
|
5202
|
-
# resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE
|
5203
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
5204
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
5205
|
-
# titles: [
|
5206
|
-
# {
|
5207
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5208
|
-
# value: "StringInput", # required
|
5209
|
-
# },
|
5210
|
-
# ],
|
5211
|
-
# vulnerability_ids: [
|
5212
|
-
# {
|
5213
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5214
|
-
# value: "StringInput", # required
|
5215
|
-
# },
|
5216
|
-
# ],
|
5217
|
-
# }
|
5218
|
-
#
|
5219
3955
|
# @!attribute [rw] resource_type
|
5220
3956
|
# The resource type to aggregate on.
|
5221
3957
|
# @return [String]
|
@@ -5279,14 +4015,6 @@ module Aws::Inspector2
|
|
5279
4015
|
include Aws::Structure
|
5280
4016
|
end
|
5281
4017
|
|
5282
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
5283
|
-
# data as a hash:
|
5284
|
-
#
|
5285
|
-
# {
|
5286
|
-
# resource_arn: "Arn", # required
|
5287
|
-
# tag_keys: ["TagKey"], # required
|
5288
|
-
# }
|
5289
|
-
#
|
5290
4018
|
# @!attribute [rw] resource_arn
|
5291
4019
|
# The Amazon Resource Name (ARN) for the resource to remove tags from.
|
5292
4020
|
# @return [String]
|
@@ -5308,15 +4036,6 @@ module Aws::Inspector2
|
|
5308
4036
|
#
|
5309
4037
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
5310
4038
|
|
5311
|
-
# @note When making an API call, you may pass UpdateConfigurationRequest
|
5312
|
-
# data as a hash:
|
5313
|
-
#
|
5314
|
-
# {
|
5315
|
-
# ecr_configuration: { # required
|
5316
|
-
# rescan_duration: "LIFETIME", # required, accepts LIFETIME, DAYS_30, DAYS_180
|
5317
|
-
# },
|
5318
|
-
# }
|
5319
|
-
#
|
5320
4039
|
# @!attribute [rw] ecr_configuration
|
5321
4040
|
# Specifies how the ECR automated re-scan will be updated for your
|
5322
4041
|
# environment.
|
@@ -5334,234 +4053,6 @@ module Aws::Inspector2
|
|
5334
4053
|
#
|
5335
4054
|
class UpdateConfigurationResponse < Aws::EmptyStructure; end
|
5336
4055
|
|
5337
|
-
# @note When making an API call, you may pass UpdateFilterRequest
|
5338
|
-
# data as a hash:
|
5339
|
-
#
|
5340
|
-
# {
|
5341
|
-
# action: "NONE", # accepts NONE, SUPPRESS
|
5342
|
-
# description: "FilterDescription",
|
5343
|
-
# filter_arn: "FilterArn", # required
|
5344
|
-
# filter_criteria: {
|
5345
|
-
# aws_account_id: [
|
5346
|
-
# {
|
5347
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5348
|
-
# value: "StringInput", # required
|
5349
|
-
# },
|
5350
|
-
# ],
|
5351
|
-
# component_id: [
|
5352
|
-
# {
|
5353
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5354
|
-
# value: "StringInput", # required
|
5355
|
-
# },
|
5356
|
-
# ],
|
5357
|
-
# component_type: [
|
5358
|
-
# {
|
5359
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5360
|
-
# value: "StringInput", # required
|
5361
|
-
# },
|
5362
|
-
# ],
|
5363
|
-
# ec2_instance_image_id: [
|
5364
|
-
# {
|
5365
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5366
|
-
# value: "StringInput", # required
|
5367
|
-
# },
|
5368
|
-
# ],
|
5369
|
-
# ec2_instance_subnet_id: [
|
5370
|
-
# {
|
5371
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5372
|
-
# value: "StringInput", # required
|
5373
|
-
# },
|
5374
|
-
# ],
|
5375
|
-
# ec2_instance_vpc_id: [
|
5376
|
-
# {
|
5377
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5378
|
-
# value: "StringInput", # required
|
5379
|
-
# },
|
5380
|
-
# ],
|
5381
|
-
# ecr_image_architecture: [
|
5382
|
-
# {
|
5383
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5384
|
-
# value: "StringInput", # required
|
5385
|
-
# },
|
5386
|
-
# ],
|
5387
|
-
# ecr_image_hash: [
|
5388
|
-
# {
|
5389
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5390
|
-
# value: "StringInput", # required
|
5391
|
-
# },
|
5392
|
-
# ],
|
5393
|
-
# ecr_image_pushed_at: [
|
5394
|
-
# {
|
5395
|
-
# end_inclusive: Time.now,
|
5396
|
-
# start_inclusive: Time.now,
|
5397
|
-
# },
|
5398
|
-
# ],
|
5399
|
-
# ecr_image_registry: [
|
5400
|
-
# {
|
5401
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5402
|
-
# value: "StringInput", # required
|
5403
|
-
# },
|
5404
|
-
# ],
|
5405
|
-
# ecr_image_repository_name: [
|
5406
|
-
# {
|
5407
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5408
|
-
# value: "StringInput", # required
|
5409
|
-
# },
|
5410
|
-
# ],
|
5411
|
-
# ecr_image_tags: [
|
5412
|
-
# {
|
5413
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5414
|
-
# value: "StringInput", # required
|
5415
|
-
# },
|
5416
|
-
# ],
|
5417
|
-
# finding_arn: [
|
5418
|
-
# {
|
5419
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5420
|
-
# value: "StringInput", # required
|
5421
|
-
# },
|
5422
|
-
# ],
|
5423
|
-
# finding_status: [
|
5424
|
-
# {
|
5425
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5426
|
-
# value: "StringInput", # required
|
5427
|
-
# },
|
5428
|
-
# ],
|
5429
|
-
# finding_type: [
|
5430
|
-
# {
|
5431
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5432
|
-
# value: "StringInput", # required
|
5433
|
-
# },
|
5434
|
-
# ],
|
5435
|
-
# first_observed_at: [
|
5436
|
-
# {
|
5437
|
-
# end_inclusive: Time.now,
|
5438
|
-
# start_inclusive: Time.now,
|
5439
|
-
# },
|
5440
|
-
# ],
|
5441
|
-
# fix_available: [
|
5442
|
-
# {
|
5443
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5444
|
-
# value: "StringInput", # required
|
5445
|
-
# },
|
5446
|
-
# ],
|
5447
|
-
# inspector_score: [
|
5448
|
-
# {
|
5449
|
-
# lower_inclusive: 1.0,
|
5450
|
-
# upper_inclusive: 1.0,
|
5451
|
-
# },
|
5452
|
-
# ],
|
5453
|
-
# last_observed_at: [
|
5454
|
-
# {
|
5455
|
-
# end_inclusive: Time.now,
|
5456
|
-
# start_inclusive: Time.now,
|
5457
|
-
# },
|
5458
|
-
# ],
|
5459
|
-
# network_protocol: [
|
5460
|
-
# {
|
5461
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5462
|
-
# value: "StringInput", # required
|
5463
|
-
# },
|
5464
|
-
# ],
|
5465
|
-
# port_range: [
|
5466
|
-
# {
|
5467
|
-
# begin_inclusive: 1,
|
5468
|
-
# end_inclusive: 1,
|
5469
|
-
# },
|
5470
|
-
# ],
|
5471
|
-
# related_vulnerabilities: [
|
5472
|
-
# {
|
5473
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5474
|
-
# value: "StringInput", # required
|
5475
|
-
# },
|
5476
|
-
# ],
|
5477
|
-
# resource_id: [
|
5478
|
-
# {
|
5479
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5480
|
-
# value: "StringInput", # required
|
5481
|
-
# },
|
5482
|
-
# ],
|
5483
|
-
# resource_tags: [
|
5484
|
-
# {
|
5485
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
5486
|
-
# key: "MapKey", # required
|
5487
|
-
# value: "MapValue",
|
5488
|
-
# },
|
5489
|
-
# ],
|
5490
|
-
# resource_type: [
|
5491
|
-
# {
|
5492
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5493
|
-
# value: "StringInput", # required
|
5494
|
-
# },
|
5495
|
-
# ],
|
5496
|
-
# severity: [
|
5497
|
-
# {
|
5498
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5499
|
-
# value: "StringInput", # required
|
5500
|
-
# },
|
5501
|
-
# ],
|
5502
|
-
# title: [
|
5503
|
-
# {
|
5504
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5505
|
-
# value: "StringInput", # required
|
5506
|
-
# },
|
5507
|
-
# ],
|
5508
|
-
# updated_at: [
|
5509
|
-
# {
|
5510
|
-
# end_inclusive: Time.now,
|
5511
|
-
# start_inclusive: Time.now,
|
5512
|
-
# },
|
5513
|
-
# ],
|
5514
|
-
# vendor_severity: [
|
5515
|
-
# {
|
5516
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5517
|
-
# value: "StringInput", # required
|
5518
|
-
# },
|
5519
|
-
# ],
|
5520
|
-
# vulnerability_id: [
|
5521
|
-
# {
|
5522
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5523
|
-
# value: "StringInput", # required
|
5524
|
-
# },
|
5525
|
-
# ],
|
5526
|
-
# vulnerability_source: [
|
5527
|
-
# {
|
5528
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5529
|
-
# value: "StringInput", # required
|
5530
|
-
# },
|
5531
|
-
# ],
|
5532
|
-
# vulnerable_packages: [
|
5533
|
-
# {
|
5534
|
-
# architecture: {
|
5535
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5536
|
-
# value: "StringInput", # required
|
5537
|
-
# },
|
5538
|
-
# epoch: {
|
5539
|
-
# lower_inclusive: 1.0,
|
5540
|
-
# upper_inclusive: 1.0,
|
5541
|
-
# },
|
5542
|
-
# name: {
|
5543
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5544
|
-
# value: "StringInput", # required
|
5545
|
-
# },
|
5546
|
-
# release: {
|
5547
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5548
|
-
# value: "StringInput", # required
|
5549
|
-
# },
|
5550
|
-
# source_layer_hash: {
|
5551
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5552
|
-
# value: "StringInput", # required
|
5553
|
-
# },
|
5554
|
-
# version: {
|
5555
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5556
|
-
# value: "StringInput", # required
|
5557
|
-
# },
|
5558
|
-
# },
|
5559
|
-
# ],
|
5560
|
-
# },
|
5561
|
-
# name: "FilterName",
|
5562
|
-
# reason: "FilterReason",
|
5563
|
-
# }
|
5564
|
-
#
|
5565
4056
|
# @!attribute [rw] action
|
5566
4057
|
# Specifies the action that is to be applied to the findings that
|
5567
4058
|
# match the filter.
|
@@ -5612,16 +4103,6 @@ module Aws::Inspector2
|
|
5612
4103
|
include Aws::Structure
|
5613
4104
|
end
|
5614
4105
|
|
5615
|
-
# @note When making an API call, you may pass UpdateOrganizationConfigurationRequest
|
5616
|
-
# data as a hash:
|
5617
|
-
#
|
5618
|
-
# {
|
5619
|
-
# auto_enable: { # required
|
5620
|
-
# ec2: false, # required
|
5621
|
-
# ecr: false, # required
|
5622
|
-
# },
|
5623
|
-
# }
|
5624
|
-
#
|
5625
4106
|
# @!attribute [rw] auto_enable
|
5626
4107
|
# Defines which scan types are enabled automatically for new members
|
5627
4108
|
# of your Amazon Inspector organization.
|
@@ -5775,6 +4256,11 @@ module Aws::Inspector2
|
|
5775
4256
|
# available.
|
5776
4257
|
# @return [String]
|
5777
4258
|
#
|
4259
|
+
# @!attribute [rw] source_lambda_layer_arn
|
4260
|
+
# The Amazon Resource Number (ARN) of the AWS Lambda function affected
|
4261
|
+
# by a finding.
|
4262
|
+
# @return [String]
|
4263
|
+
#
|
5778
4264
|
# @!attribute [rw] source_layer_hash
|
5779
4265
|
# The source layer hash of the vulnerable package.
|
5780
4266
|
# @return [String]
|
@@ -5794,6 +4280,7 @@ module Aws::Inspector2
|
|
5794
4280
|
:package_manager,
|
5795
4281
|
:release,
|
5796
4282
|
:remediation,
|
4283
|
+
:source_lambda_layer_arn,
|
5797
4284
|
:source_layer_hash,
|
5798
4285
|
:version)
|
5799
4286
|
SENSITIVE = []
|