aws-sdk-inspector2 1.10.0 → 1.12.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 +278 -5
- data/lib/aws-sdk-inspector2/client_api.rb +267 -0
- data/lib/aws-sdk-inspector2/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-inspector2/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-inspector2/endpoints.rb +84 -0
- data/lib/aws-sdk-inspector2/plugins/endpoints.rb +12 -0
- data/lib/aws-sdk-inspector2/types.rb +550 -5
- data/lib/aws-sdk-inspector2.rb +1 -1
- metadata +2 -2
@@ -384,6 +384,41 @@ module Aws::Inspector2
|
|
384
384
|
include Aws::Structure
|
385
385
|
end
|
386
386
|
|
387
|
+
# The Amazon Web Services Threat Intel Group (ATIG) details for a
|
388
|
+
# specific vulnerability.
|
389
|
+
#
|
390
|
+
# @!attribute [rw] first_seen
|
391
|
+
# The date and time this vulnerability was first observed.
|
392
|
+
# @return [Time]
|
393
|
+
#
|
394
|
+
# @!attribute [rw] last_seen
|
395
|
+
# The date and time this vulnerability was last observed.
|
396
|
+
# @return [Time]
|
397
|
+
#
|
398
|
+
# @!attribute [rw] targets
|
399
|
+
# The commercial sectors this vulnerability targets.
|
400
|
+
# @return [Array<String>]
|
401
|
+
#
|
402
|
+
# @!attribute [rw] ttps
|
403
|
+
# The [MITRE ATT&CK][1] tactics, techniques, and procedures (TTPs)
|
404
|
+
# associated with vulnerability.
|
405
|
+
#
|
406
|
+
#
|
407
|
+
#
|
408
|
+
# [1]: https://attack.mitre.org/
|
409
|
+
# @return [Array<String>]
|
410
|
+
#
|
411
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/AtigData AWS API Documentation
|
412
|
+
#
|
413
|
+
class AtigData < Struct.new(
|
414
|
+
:first_seen,
|
415
|
+
:last_seen,
|
416
|
+
:targets,
|
417
|
+
:ttps)
|
418
|
+
SENSITIVE = []
|
419
|
+
include Aws::Structure
|
420
|
+
end
|
421
|
+
|
387
422
|
# Represents which scan types are automatically enabled for new members
|
388
423
|
# of your Amazon Inspector organization.
|
389
424
|
#
|
@@ -398,8 +433,8 @@ module Aws::Inspector2
|
|
398
433
|
# @return [Boolean]
|
399
434
|
#
|
400
435
|
# @!attribute [rw] lambda
|
401
|
-
# Represents whether AWS Lambda scans are automatically
|
402
|
-
# new members of your Amazon Inspector organization.
|
436
|
+
# Represents whether AWS Lambda standard scans are automatically
|
437
|
+
# enabled for new members of your Amazon Inspector organization.
|
403
438
|
# @return [Boolean]
|
404
439
|
#
|
405
440
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/AutoEnable AWS API Documentation
|
@@ -758,6 +793,74 @@ module Aws::Inspector2
|
|
758
793
|
include Aws::Structure
|
759
794
|
end
|
760
795
|
|
796
|
+
# @!attribute [rw] account_ids
|
797
|
+
# The unique identifiers for the Amazon Web Services accounts to
|
798
|
+
# retrieve Amazon Inspector deep inspection activation status for.
|
799
|
+
# </p>
|
800
|
+
# @return [Array<String>]
|
801
|
+
#
|
802
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetMemberEc2DeepInspectionStatusRequest AWS API Documentation
|
803
|
+
#
|
804
|
+
class BatchGetMemberEc2DeepInspectionStatusRequest < Struct.new(
|
805
|
+
:account_ids)
|
806
|
+
SENSITIVE = []
|
807
|
+
include Aws::Structure
|
808
|
+
end
|
809
|
+
|
810
|
+
# @!attribute [rw] account_ids
|
811
|
+
# An array of objects that provide details on the activation status of
|
812
|
+
# Amazon Inspector deep inspection for each of the requested accounts.
|
813
|
+
# </p>
|
814
|
+
# @return [Array<Types::MemberAccountEc2DeepInspectionStatusState>]
|
815
|
+
#
|
816
|
+
# @!attribute [rw] failed_account_ids
|
817
|
+
# An array of objects that provide details on any accounts that failed
|
818
|
+
# to activate Amazon Inspector deep inspection and why. </p>
|
819
|
+
# @return [Array<Types::FailedMemberAccountEc2DeepInspectionStatusState>]
|
820
|
+
#
|
821
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetMemberEc2DeepInspectionStatusResponse AWS API Documentation
|
822
|
+
#
|
823
|
+
class BatchGetMemberEc2DeepInspectionStatusResponse < Struct.new(
|
824
|
+
:account_ids,
|
825
|
+
:failed_account_ids)
|
826
|
+
SENSITIVE = []
|
827
|
+
include Aws::Structure
|
828
|
+
end
|
829
|
+
|
830
|
+
# @!attribute [rw] account_ids
|
831
|
+
# The unique identifiers for the Amazon Web Services accounts to
|
832
|
+
# change Amazon Inspector deep inspection status for.
|
833
|
+
# @return [Array<Types::MemberAccountEc2DeepInspectionStatus>]
|
834
|
+
#
|
835
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchUpdateMemberEc2DeepInspectionStatusRequest AWS API Documentation
|
836
|
+
#
|
837
|
+
class BatchUpdateMemberEc2DeepInspectionStatusRequest < Struct.new(
|
838
|
+
:account_ids)
|
839
|
+
SENSITIVE = []
|
840
|
+
include Aws::Structure
|
841
|
+
end
|
842
|
+
|
843
|
+
# @!attribute [rw] account_ids
|
844
|
+
# An array of objects that provide details for each of the accounts
|
845
|
+
# that Amazon Inspector deep inspection status was successfully
|
846
|
+
# changed for.
|
847
|
+
# @return [Array<Types::MemberAccountEc2DeepInspectionStatusState>]
|
848
|
+
#
|
849
|
+
# @!attribute [rw] failed_account_ids
|
850
|
+
# An array of objects that provide details for each of the accounts
|
851
|
+
# that Amazon Inspector deep inspection status could not be
|
852
|
+
# successfully changed for.
|
853
|
+
# @return [Array<Types::FailedMemberAccountEc2DeepInspectionStatusState>]
|
854
|
+
#
|
855
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchUpdateMemberEc2DeepInspectionStatusResponse AWS API Documentation
|
856
|
+
#
|
857
|
+
class BatchUpdateMemberEc2DeepInspectionStatusResponse < Struct.new(
|
858
|
+
:account_ids,
|
859
|
+
:failed_account_ids)
|
860
|
+
SENSITIVE = []
|
861
|
+
include Aws::Structure
|
862
|
+
end
|
863
|
+
|
761
864
|
# @!attribute [rw] report_id
|
762
865
|
# The ID of the report to be canceled.
|
763
866
|
# @return [String]
|
@@ -782,6 +885,32 @@ module Aws::Inspector2
|
|
782
885
|
include Aws::Structure
|
783
886
|
end
|
784
887
|
|
888
|
+
# The Cybersecurity and Infrastructure Security Agency (CISA) details
|
889
|
+
# for a specific vulnerability.
|
890
|
+
#
|
891
|
+
# @!attribute [rw] action
|
892
|
+
# The remediation action recommended by CISA for this vulnerability.
|
893
|
+
# @return [String]
|
894
|
+
#
|
895
|
+
# @!attribute [rw] date_added
|
896
|
+
# The date and time CISA added this vulnerability to their catalogue.
|
897
|
+
# @return [Time]
|
898
|
+
#
|
899
|
+
# @!attribute [rw] date_due
|
900
|
+
# The date and time CISA expects a fix to have been provided
|
901
|
+
# vulnerability.
|
902
|
+
# @return [Time]
|
903
|
+
#
|
904
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CisaData AWS API Documentation
|
905
|
+
#
|
906
|
+
class CisaData < Struct.new(
|
907
|
+
:action,
|
908
|
+
:date_added,
|
909
|
+
:date_due)
|
910
|
+
SENSITIVE = []
|
911
|
+
include Aws::Structure
|
912
|
+
end
|
913
|
+
|
785
914
|
# A conflict occurred.
|
786
915
|
#
|
787
916
|
# @!attribute [rw] message
|
@@ -1072,6 +1201,46 @@ module Aws::Inspector2
|
|
1072
1201
|
include Aws::Structure
|
1073
1202
|
end
|
1074
1203
|
|
1204
|
+
# The Common Vulnerability Scoring System (CVSS) version 2 details for
|
1205
|
+
# the vulnerability.
|
1206
|
+
#
|
1207
|
+
# @!attribute [rw] base_score
|
1208
|
+
# The CVSS v2 base score for the vulnerability.
|
1209
|
+
# @return [Float]
|
1210
|
+
#
|
1211
|
+
# @!attribute [rw] scoring_vector
|
1212
|
+
# The scoring vector associated with the CVSS v2 score.
|
1213
|
+
# @return [String]
|
1214
|
+
#
|
1215
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Cvss2 AWS API Documentation
|
1216
|
+
#
|
1217
|
+
class Cvss2 < Struct.new(
|
1218
|
+
:base_score,
|
1219
|
+
:scoring_vector)
|
1220
|
+
SENSITIVE = []
|
1221
|
+
include Aws::Structure
|
1222
|
+
end
|
1223
|
+
|
1224
|
+
# The Common Vulnerability Scoring System (CVSS) version 3 details for
|
1225
|
+
# the vulnerability.
|
1226
|
+
#
|
1227
|
+
# @!attribute [rw] base_score
|
1228
|
+
# The CVSS v3 base score for the vulnerability.
|
1229
|
+
# @return [Float]
|
1230
|
+
#
|
1231
|
+
# @!attribute [rw] scoring_vector
|
1232
|
+
# The scoring vector associated with the CVSS v3 score.
|
1233
|
+
# @return [String]
|
1234
|
+
#
|
1235
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Cvss3 AWS API Documentation
|
1236
|
+
#
|
1237
|
+
class Cvss3 < Struct.new(
|
1238
|
+
:base_score,
|
1239
|
+
:scoring_vector)
|
1240
|
+
SENSITIVE = []
|
1241
|
+
include Aws::Structure
|
1242
|
+
end
|
1243
|
+
|
1075
1244
|
# The CVSS score for a finding.
|
1076
1245
|
#
|
1077
1246
|
# @!attribute [rw] base_score
|
@@ -1280,7 +1449,7 @@ module Aws::Inspector2
|
|
1280
1449
|
# @return [String]
|
1281
1450
|
#
|
1282
1451
|
# @!attribute [rw] key_prefix
|
1283
|
-
# The prefix of the
|
1452
|
+
# The prefix of the Amazon S3 bucket used to export findings.
|
1284
1453
|
# @return [String]
|
1285
1454
|
#
|
1286
1455
|
# @!attribute [rw] kms_key_arn
|
@@ -1675,6 +1844,39 @@ module Aws::Inspector2
|
|
1675
1844
|
include Aws::Structure
|
1676
1845
|
end
|
1677
1846
|
|
1847
|
+
# Details about the Exploit Prediction Scoring System (EPSS) score.
|
1848
|
+
#
|
1849
|
+
# @!attribute [rw] score
|
1850
|
+
# The Exploit Prediction Scoring System (EPSS) score.
|
1851
|
+
# @return [Float]
|
1852
|
+
#
|
1853
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Epss AWS API Documentation
|
1854
|
+
#
|
1855
|
+
class Epss < Struct.new(
|
1856
|
+
:score)
|
1857
|
+
SENSITIVE = []
|
1858
|
+
include Aws::Structure
|
1859
|
+
end
|
1860
|
+
|
1861
|
+
# Contains information on when this exploit was observed.
|
1862
|
+
#
|
1863
|
+
# @!attribute [rw] first_seen
|
1864
|
+
# The date an time when the exploit was first seen.
|
1865
|
+
# @return [Time]
|
1866
|
+
#
|
1867
|
+
# @!attribute [rw] last_seen
|
1868
|
+
# The date an time when the exploit was last seen.
|
1869
|
+
# @return [Time]
|
1870
|
+
#
|
1871
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ExploitObserved AWS API Documentation
|
1872
|
+
#
|
1873
|
+
class ExploitObserved < Struct.new(
|
1874
|
+
:first_seen,
|
1875
|
+
:last_seen)
|
1876
|
+
SENSITIVE = []
|
1877
|
+
include Aws::Structure
|
1878
|
+
end
|
1879
|
+
|
1678
1880
|
# The details of an exploit available for a finding discovered in your
|
1679
1881
|
# environment.
|
1680
1882
|
#
|
@@ -1729,6 +1931,35 @@ module Aws::Inspector2
|
|
1729
1931
|
include Aws::Structure
|
1730
1932
|
end
|
1731
1933
|
|
1934
|
+
# An object that contains details about a member account in your
|
1935
|
+
# organization that failed to activate Amazon Inspector deep inspection.
|
1936
|
+
#
|
1937
|
+
# @!attribute [rw] account_id
|
1938
|
+
# The unique identifier for the Amazon Web Services account of the
|
1939
|
+
# organization member that failed to activate Amazon Inspector deep
|
1940
|
+
# inspection.
|
1941
|
+
# @return [String]
|
1942
|
+
#
|
1943
|
+
# @!attribute [rw] ec2_scan_status
|
1944
|
+
# The status of EC2 scanning in the account that failed to activate
|
1945
|
+
# Amazon Inspector deep inspection.
|
1946
|
+
# @return [String]
|
1947
|
+
#
|
1948
|
+
# @!attribute [rw] error_message
|
1949
|
+
# The error message explaining why the account failed to activate
|
1950
|
+
# Amazon Inspector deep inspection.
|
1951
|
+
# @return [String]
|
1952
|
+
#
|
1953
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/FailedMemberAccountEc2DeepInspectionStatusState AWS API Documentation
|
1954
|
+
#
|
1955
|
+
class FailedMemberAccountEc2DeepInspectionStatusState < Struct.new(
|
1956
|
+
:account_id,
|
1957
|
+
:ec2_scan_status,
|
1958
|
+
:error_message)
|
1959
|
+
SENSITIVE = []
|
1960
|
+
include Aws::Structure
|
1961
|
+
end
|
1962
|
+
|
1732
1963
|
# Details about a filter.
|
1733
1964
|
#
|
1734
1965
|
# @!attribute [rw] action
|
@@ -2292,6 +2523,42 @@ module Aws::Inspector2
|
|
2292
2523
|
include Aws::Structure
|
2293
2524
|
end
|
2294
2525
|
|
2526
|
+
# @api private
|
2527
|
+
#
|
2528
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEc2DeepInspectionConfigurationRequest AWS API Documentation
|
2529
|
+
#
|
2530
|
+
class GetEc2DeepInspectionConfigurationRequest < Aws::EmptyStructure; end
|
2531
|
+
|
2532
|
+
# @!attribute [rw] error_message
|
2533
|
+
# An error message explaining why Amazon Inspector deep inspection
|
2534
|
+
# configurations could not be retrieved for your account.
|
2535
|
+
# @return [String]
|
2536
|
+
#
|
2537
|
+
# @!attribute [rw] org_package_paths
|
2538
|
+
# The Amazon Inspector deep inspection custom paths for your
|
2539
|
+
# organization.
|
2540
|
+
# @return [Array<String>]
|
2541
|
+
#
|
2542
|
+
# @!attribute [rw] package_paths
|
2543
|
+
# The Amazon Inspector deep inspection custom paths for your account.
|
2544
|
+
# @return [Array<String>]
|
2545
|
+
#
|
2546
|
+
# @!attribute [rw] status
|
2547
|
+
# The activation status of Amazon Inspector deep inspection in your
|
2548
|
+
# account.
|
2549
|
+
# @return [String]
|
2550
|
+
#
|
2551
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEc2DeepInspectionConfigurationResponse AWS API Documentation
|
2552
|
+
#
|
2553
|
+
class GetEc2DeepInspectionConfigurationResponse < Struct.new(
|
2554
|
+
:error_message,
|
2555
|
+
:org_package_paths,
|
2556
|
+
:package_paths,
|
2557
|
+
:status)
|
2558
|
+
SENSITIVE = []
|
2559
|
+
include Aws::Structure
|
2560
|
+
end
|
2561
|
+
|
2295
2562
|
# @!attribute [rw] report_id
|
2296
2563
|
# The ID of the report to retrieve the status of.
|
2297
2564
|
# @return [String]
|
@@ -3224,6 +3491,56 @@ module Aws::Inspector2
|
|
3224
3491
|
include Aws::Structure
|
3225
3492
|
end
|
3226
3493
|
|
3494
|
+
# An object that contains details about the status of Amazon Inspector
|
3495
|
+
# deep inspection for a member account in your organization.
|
3496
|
+
#
|
3497
|
+
# @!attribute [rw] account_id
|
3498
|
+
# The unique identifier for the Amazon Web Services account of the
|
3499
|
+
# organization member.
|
3500
|
+
# @return [String]
|
3501
|
+
#
|
3502
|
+
# @!attribute [rw] activate_deep_inspection
|
3503
|
+
# Whether Amazon Inspector deep inspection is active in the account.
|
3504
|
+
# If `TRUE` Amazon Inspector deep inspection is active, if `FALSE` it
|
3505
|
+
# is not active.
|
3506
|
+
# @return [Boolean]
|
3507
|
+
#
|
3508
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/MemberAccountEc2DeepInspectionStatus AWS API Documentation
|
3509
|
+
#
|
3510
|
+
class MemberAccountEc2DeepInspectionStatus < Struct.new(
|
3511
|
+
:account_id,
|
3512
|
+
:activate_deep_inspection)
|
3513
|
+
SENSITIVE = []
|
3514
|
+
include Aws::Structure
|
3515
|
+
end
|
3516
|
+
|
3517
|
+
# An object that contains details about the state of Amazon Inspector
|
3518
|
+
# deep inspection for a member account.
|
3519
|
+
#
|
3520
|
+
# @!attribute [rw] account_id
|
3521
|
+
# The unique identifier for the Amazon Web Services account of the
|
3522
|
+
# organization member
|
3523
|
+
# @return [String]
|
3524
|
+
#
|
3525
|
+
# @!attribute [rw] error_message
|
3526
|
+
# The error message explaining why the account failed to activate
|
3527
|
+
# Amazon Inspector deep inspection.
|
3528
|
+
# @return [String]
|
3529
|
+
#
|
3530
|
+
# @!attribute [rw] status
|
3531
|
+
# The state of Amazon Inspector deep inspection in the member account.
|
3532
|
+
# @return [String]
|
3533
|
+
#
|
3534
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/MemberAccountEc2DeepInspectionStatusState AWS API Documentation
|
3535
|
+
#
|
3536
|
+
class MemberAccountEc2DeepInspectionStatusState < Struct.new(
|
3537
|
+
:account_id,
|
3538
|
+
:error_message,
|
3539
|
+
:status)
|
3540
|
+
SENSITIVE = []
|
3541
|
+
include Aws::Structure
|
3542
|
+
end
|
3543
|
+
|
3227
3544
|
# Information on the network path associated with a finding.
|
3228
3545
|
#
|
3229
3546
|
# @!attribute [rw] steps
|
@@ -3745,8 +4062,7 @@ module Aws::Inspector2
|
|
3745
4062
|
# @return [String]
|
3746
4063
|
#
|
3747
4064
|
# @!attribute [rw] lambda
|
3748
|
-
# The status of Amazon Inspector scanning for AWS Lambda function
|
3749
|
-
# resources.
|
4065
|
+
# The status of Amazon Inspector scanning for AWS Lambda function.
|
3750
4066
|
# @return [String]
|
3751
4067
|
#
|
3752
4068
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ResourceStatus AWS API Documentation
|
@@ -3778,6 +4094,60 @@ module Aws::Inspector2
|
|
3778
4094
|
include Aws::Structure
|
3779
4095
|
end
|
3780
4096
|
|
4097
|
+
# Details on the criteria used to define the filter for a vulnerability
|
4098
|
+
# search.
|
4099
|
+
#
|
4100
|
+
# @!attribute [rw] vulnerability_ids
|
4101
|
+
# The IDs for specific vulnerabilities.
|
4102
|
+
# @return [Array<String>]
|
4103
|
+
#
|
4104
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/SearchVulnerabilitiesFilterCriteria AWS API Documentation
|
4105
|
+
#
|
4106
|
+
class SearchVulnerabilitiesFilterCriteria < Struct.new(
|
4107
|
+
:vulnerability_ids)
|
4108
|
+
SENSITIVE = []
|
4109
|
+
include Aws::Structure
|
4110
|
+
end
|
4111
|
+
|
4112
|
+
# @!attribute [rw] filter_criteria
|
4113
|
+
# The criteria used to filter the results of a vulnerability search.
|
4114
|
+
# @return [Types::SearchVulnerabilitiesFilterCriteria]
|
4115
|
+
#
|
4116
|
+
# @!attribute [rw] next_token
|
4117
|
+
# A token to use for paginating results that are returned in the
|
4118
|
+
# response. Set the value of this parameter to null for the first
|
4119
|
+
# request to a list action. For subsequent calls, use the `NextToken`
|
4120
|
+
# value returned from the previous request to continue listing results
|
4121
|
+
# after the first page.
|
4122
|
+
# @return [String]
|
4123
|
+
#
|
4124
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/SearchVulnerabilitiesRequest AWS API Documentation
|
4125
|
+
#
|
4126
|
+
class SearchVulnerabilitiesRequest < Struct.new(
|
4127
|
+
:filter_criteria,
|
4128
|
+
:next_token)
|
4129
|
+
SENSITIVE = []
|
4130
|
+
include Aws::Structure
|
4131
|
+
end
|
4132
|
+
|
4133
|
+
# @!attribute [rw] next_token
|
4134
|
+
# The pagination parameter to be used on the next list operation to
|
4135
|
+
# retrieve more items.
|
4136
|
+
# @return [String]
|
4137
|
+
#
|
4138
|
+
# @!attribute [rw] vulnerabilities
|
4139
|
+
# Details about the listed vulnerability.
|
4140
|
+
# @return [Array<Types::Vulnerability>]
|
4141
|
+
#
|
4142
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/SearchVulnerabilitiesResponse AWS API Documentation
|
4143
|
+
#
|
4144
|
+
class SearchVulnerabilitiesResponse < Struct.new(
|
4145
|
+
:next_token,
|
4146
|
+
:vulnerabilities)
|
4147
|
+
SENSITIVE = []
|
4148
|
+
include Aws::Structure
|
4149
|
+
end
|
4150
|
+
|
3781
4151
|
# You have exceeded your service quota. To perform the requested action,
|
3782
4152
|
# remove some of the relevant resources, or use Service Quotas to
|
3783
4153
|
# request a service quota increase.
|
@@ -4053,6 +4423,62 @@ module Aws::Inspector2
|
|
4053
4423
|
#
|
4054
4424
|
class UpdateConfigurationResponse < Aws::EmptyStructure; end
|
4055
4425
|
|
4426
|
+
# @!attribute [rw] activate_deep_inspection
|
4427
|
+
# Specify `TRUE` to activate Amazon Inspector deep inspection in your
|
4428
|
+
# account, or `FALSE` to deactivate. Member accounts in an
|
4429
|
+
# organization cannot deactivate deep inspection, instead the
|
4430
|
+
# delegated administrator for the organization can deactivate a member
|
4431
|
+
# account using [BatchUpdateMemberEc2DeepInspectionStatus][1].
|
4432
|
+
#
|
4433
|
+
#
|
4434
|
+
#
|
4435
|
+
# [1]: https://docs.aws.amazon.com/inspector/v2/APIReference/API_BatchUpdateMemberEc2DeepInspectionStatus.html
|
4436
|
+
# @return [Boolean]
|
4437
|
+
#
|
4438
|
+
# @!attribute [rw] package_paths
|
4439
|
+
# The Amazon Inspector deep inspection custom paths you are adding for
|
4440
|
+
# your account.
|
4441
|
+
# @return [Array<String>]
|
4442
|
+
#
|
4443
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateEc2DeepInspectionConfigurationRequest AWS API Documentation
|
4444
|
+
#
|
4445
|
+
class UpdateEc2DeepInspectionConfigurationRequest < Struct.new(
|
4446
|
+
:activate_deep_inspection,
|
4447
|
+
:package_paths)
|
4448
|
+
SENSITIVE = []
|
4449
|
+
include Aws::Structure
|
4450
|
+
end
|
4451
|
+
|
4452
|
+
# @!attribute [rw] error_message
|
4453
|
+
# An error message explaining why new Amazon Inspector deep inspection
|
4454
|
+
# custom paths could not be added.
|
4455
|
+
# @return [String]
|
4456
|
+
#
|
4457
|
+
# @!attribute [rw] org_package_paths
|
4458
|
+
# The current Amazon Inspector deep inspection custom paths for the
|
4459
|
+
# organization.
|
4460
|
+
# @return [Array<String>]
|
4461
|
+
#
|
4462
|
+
# @!attribute [rw] package_paths
|
4463
|
+
# The current Amazon Inspector deep inspection custom paths for your
|
4464
|
+
# account.
|
4465
|
+
# @return [Array<String>]
|
4466
|
+
#
|
4467
|
+
# @!attribute [rw] status
|
4468
|
+
# The status of Amazon Inspector deep inspection in your account.
|
4469
|
+
# @return [String]
|
4470
|
+
#
|
4471
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateEc2DeepInspectionConfigurationResponse AWS API Documentation
|
4472
|
+
#
|
4473
|
+
class UpdateEc2DeepInspectionConfigurationResponse < Struct.new(
|
4474
|
+
:error_message,
|
4475
|
+
:org_package_paths,
|
4476
|
+
:package_paths,
|
4477
|
+
:status)
|
4478
|
+
SENSITIVE = []
|
4479
|
+
include Aws::Structure
|
4480
|
+
end
|
4481
|
+
|
4056
4482
|
# @!attribute [rw] action
|
4057
4483
|
# Specifies the action that is to be applied to the findings that
|
4058
4484
|
# match the filter.
|
@@ -4103,6 +4529,23 @@ module Aws::Inspector2
|
|
4103
4529
|
include Aws::Structure
|
4104
4530
|
end
|
4105
4531
|
|
4532
|
+
# @!attribute [rw] org_package_paths
|
4533
|
+
# The Amazon Inspector deep inspection custom paths you are adding for
|
4534
|
+
# your organization.
|
4535
|
+
# @return [Array<String>]
|
4536
|
+
#
|
4537
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateOrgEc2DeepInspectionConfigurationRequest AWS API Documentation
|
4538
|
+
#
|
4539
|
+
class UpdateOrgEc2DeepInspectionConfigurationRequest < Struct.new(
|
4540
|
+
:org_package_paths)
|
4541
|
+
SENSITIVE = []
|
4542
|
+
include Aws::Structure
|
4543
|
+
end
|
4544
|
+
|
4545
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateOrgEc2DeepInspectionConfigurationResponse AWS API Documentation
|
4546
|
+
#
|
4547
|
+
class UpdateOrgEc2DeepInspectionConfigurationResponse < Aws::EmptyStructure; end
|
4548
|
+
|
4106
4549
|
# @!attribute [rw] auto_enable
|
4107
4550
|
# Defines which scan types are enabled automatically for new members
|
4108
4551
|
# of your Amazon Inspector organization.
|
@@ -4221,6 +4664,108 @@ module Aws::Inspector2
|
|
4221
4664
|
include Aws::Structure
|
4222
4665
|
end
|
4223
4666
|
|
4667
|
+
# Contains details about a specific vulnerability Amazon Inspector can
|
4668
|
+
# detect.
|
4669
|
+
#
|
4670
|
+
# @!attribute [rw] atig_data
|
4671
|
+
# An object that contains information about the Amazon Web Services
|
4672
|
+
# Threat Intel Group (ATIG) details for the vulnerability.
|
4673
|
+
# @return [Types::AtigData]
|
4674
|
+
#
|
4675
|
+
# @!attribute [rw] cisa_data
|
4676
|
+
# An object that contains the Cybersecurity and Infrastructure
|
4677
|
+
# Security Agency (CISA) details for the vulnerability.
|
4678
|
+
# @return [Types::CisaData]
|
4679
|
+
#
|
4680
|
+
# @!attribute [rw] cvss2
|
4681
|
+
# An object that contains the Common Vulnerability Scoring System
|
4682
|
+
# (CVSS) Version 2 details for the vulnerability.
|
4683
|
+
# @return [Types::Cvss2]
|
4684
|
+
#
|
4685
|
+
# @!attribute [rw] cvss3
|
4686
|
+
# An object that contains the Common Vulnerability Scoring System
|
4687
|
+
# (CVSS) Version 3 details for the vulnerability.
|
4688
|
+
# @return [Types::Cvss3]
|
4689
|
+
#
|
4690
|
+
# @!attribute [rw] cwes
|
4691
|
+
# The Common Weakness Enumeration (CWE) associated with the
|
4692
|
+
# vulnerability.
|
4693
|
+
# @return [Array<String>]
|
4694
|
+
#
|
4695
|
+
# @!attribute [rw] description
|
4696
|
+
# A description of the vulnerability.
|
4697
|
+
# @return [String]
|
4698
|
+
#
|
4699
|
+
# @!attribute [rw] detection_platforms
|
4700
|
+
# Platforms that the vulnerability can be detected on.
|
4701
|
+
# @return [Array<String>]
|
4702
|
+
#
|
4703
|
+
# @!attribute [rw] epss
|
4704
|
+
# An object that contains the Exploit Prediction Scoring System (EPSS)
|
4705
|
+
# score.
|
4706
|
+
# @return [Types::Epss]
|
4707
|
+
#
|
4708
|
+
# @!attribute [rw] exploit_observed
|
4709
|
+
# An object that contains details on when the exploit was observed.
|
4710
|
+
# @return [Types::ExploitObserved]
|
4711
|
+
#
|
4712
|
+
# @!attribute [rw] id
|
4713
|
+
# The ID for the specific vulnerability.
|
4714
|
+
# @return [String]
|
4715
|
+
#
|
4716
|
+
# @!attribute [rw] reference_urls
|
4717
|
+
# Links to various resources with more information on this
|
4718
|
+
# vulnerability.
|
4719
|
+
# @return [Array<String>]
|
4720
|
+
#
|
4721
|
+
# @!attribute [rw] related_vulnerabilities
|
4722
|
+
# A list of related vulnerabilities.
|
4723
|
+
# @return [Array<String>]
|
4724
|
+
#
|
4725
|
+
# @!attribute [rw] source
|
4726
|
+
# The source of the vulnerability information.
|
4727
|
+
# @return [String]
|
4728
|
+
#
|
4729
|
+
# @!attribute [rw] source_url
|
4730
|
+
# A link to the official source material for this vulnerability.
|
4731
|
+
# @return [String]
|
4732
|
+
#
|
4733
|
+
# @!attribute [rw] vendor_created_at
|
4734
|
+
# The date and time when the vendor created this vulnerability.
|
4735
|
+
# @return [Time]
|
4736
|
+
#
|
4737
|
+
# @!attribute [rw] vendor_severity
|
4738
|
+
# The severity assigned by the vendor.
|
4739
|
+
# @return [String]
|
4740
|
+
#
|
4741
|
+
# @!attribute [rw] vendor_updated_at
|
4742
|
+
# The date and time when the vendor last updated this vulnerability.
|
4743
|
+
# @return [Time]
|
4744
|
+
#
|
4745
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Vulnerability AWS API Documentation
|
4746
|
+
#
|
4747
|
+
class Vulnerability < Struct.new(
|
4748
|
+
:atig_data,
|
4749
|
+
:cisa_data,
|
4750
|
+
:cvss2,
|
4751
|
+
:cvss3,
|
4752
|
+
:cwes,
|
4753
|
+
:description,
|
4754
|
+
:detection_platforms,
|
4755
|
+
:epss,
|
4756
|
+
:exploit_observed,
|
4757
|
+
:id,
|
4758
|
+
:reference_urls,
|
4759
|
+
:related_vulnerabilities,
|
4760
|
+
:source,
|
4761
|
+
:source_url,
|
4762
|
+
:vendor_created_at,
|
4763
|
+
:vendor_severity,
|
4764
|
+
:vendor_updated_at)
|
4765
|
+
SENSITIVE = []
|
4766
|
+
include Aws::Structure
|
4767
|
+
end
|
4768
|
+
|
4224
4769
|
# Information on the vulnerable package identified by a finding.
|
4225
4770
|
#
|
4226
4771
|
# @!attribute [rw] arch
|
data/lib/aws-sdk-inspector2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-inspector2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|