aws-sdk-inspector2 1.7.0 → 1.8.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 +5 -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/errors.rb +13 -0
- data/lib/aws-sdk-inspector2/types.rb +873 -47
- data/lib/aws-sdk-inspector2.rb +1 -1
- metadata +2 -2
@@ -426,6 +426,9 @@ module Aws::Inspector2
|
|
426
426
|
# resp.accounts[0].resource_state.ecr.error_code #=> String, one of "ALREADY_ENABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "SUSPEND_IN_PROGRESS", "RESOURCE_NOT_FOUND", "ACCESS_DENIED", "INTERNAL_ERROR", "SSM_UNAVAILABLE", "SSM_THROTTLED", "EVENTBRIDGE_UNAVAILABLE", "EVENTBRIDGE_THROTTLED", "RESOURCE_SCAN_NOT_DISABLED", "DISASSOCIATE_ALL_MEMBERS", "ACCOUNT_IS_ISOLATED"
|
427
427
|
# resp.accounts[0].resource_state.ecr.error_message #=> String
|
428
428
|
# resp.accounts[0].resource_state.ecr.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
429
|
+
# resp.accounts[0].resource_state.lambda.error_code #=> String, one of "ALREADY_ENABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "SUSPEND_IN_PROGRESS", "RESOURCE_NOT_FOUND", "ACCESS_DENIED", "INTERNAL_ERROR", "SSM_UNAVAILABLE", "SSM_THROTTLED", "EVENTBRIDGE_UNAVAILABLE", "EVENTBRIDGE_THROTTLED", "RESOURCE_SCAN_NOT_DISABLED", "DISASSOCIATE_ALL_MEMBERS", "ACCOUNT_IS_ISOLATED"
|
430
|
+
# resp.accounts[0].resource_state.lambda.error_message #=> String
|
431
|
+
# resp.accounts[0].resource_state.lambda.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
429
432
|
# resp.accounts[0].state.error_code #=> String, one of "ALREADY_ENABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "SUSPEND_IN_PROGRESS", "RESOURCE_NOT_FOUND", "ACCESS_DENIED", "INTERNAL_ERROR", "SSM_UNAVAILABLE", "SSM_THROTTLED", "EVENTBRIDGE_UNAVAILABLE", "EVENTBRIDGE_THROTTLED", "RESOURCE_SCAN_NOT_DISABLED", "DISASSOCIATE_ALL_MEMBERS", "ACCOUNT_IS_ISOLATED"
|
430
433
|
# resp.accounts[0].state.error_message #=> String
|
431
434
|
# resp.accounts[0].state.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
@@ -435,6 +438,7 @@ module Aws::Inspector2
|
|
435
438
|
# resp.failed_accounts[0].error_message #=> String
|
436
439
|
# resp.failed_accounts[0].resource_status.ec2 #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
437
440
|
# resp.failed_accounts[0].resource_status.ecr #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
441
|
+
# resp.failed_accounts[0].resource_status.lambda #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
438
442
|
# resp.failed_accounts[0].status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
439
443
|
#
|
440
444
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetAccountStatus AWS API Documentation
|
@@ -470,7 +474,7 @@ module Aws::Inspector2
|
|
470
474
|
# resp.accounts[0].free_trial_info[0].end #=> Time
|
471
475
|
# resp.accounts[0].free_trial_info[0].start #=> Time
|
472
476
|
# resp.accounts[0].free_trial_info[0].status #=> String, one of "ACTIVE", "INACTIVE"
|
473
|
-
# resp.accounts[0].free_trial_info[0].type #=> String, one of "EC2", "ECR"
|
477
|
+
# resp.accounts[0].free_trial_info[0].type #=> String, one of "EC2", "ECR", "LAMBDA"
|
474
478
|
# resp.failed_accounts #=> Array
|
475
479
|
# resp.failed_accounts[0].account_id #=> String
|
476
480
|
# resp.failed_accounts[0].code #=> String, one of "ACCESS_DENIED", "INTERNAL_ERROR"
|
@@ -618,6 +622,12 @@ module Aws::Inspector2
|
|
618
622
|
# value: "StringInput", # required
|
619
623
|
# },
|
620
624
|
# ],
|
625
|
+
# exploit_available: [
|
626
|
+
# {
|
627
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
628
|
+
# value: "StringInput", # required
|
629
|
+
# },
|
630
|
+
# ],
|
621
631
|
# finding_arn: [
|
622
632
|
# {
|
623
633
|
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
@@ -654,6 +664,36 @@ module Aws::Inspector2
|
|
654
664
|
# upper_inclusive: 1.0,
|
655
665
|
# },
|
656
666
|
# ],
|
667
|
+
# lambda_function_execution_role_arn: [
|
668
|
+
# {
|
669
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
670
|
+
# value: "StringInput", # required
|
671
|
+
# },
|
672
|
+
# ],
|
673
|
+
# lambda_function_last_modified_at: [
|
674
|
+
# {
|
675
|
+
# end_inclusive: Time.now,
|
676
|
+
# start_inclusive: Time.now,
|
677
|
+
# },
|
678
|
+
# ],
|
679
|
+
# lambda_function_layers: [
|
680
|
+
# {
|
681
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
682
|
+
# value: "StringInput", # required
|
683
|
+
# },
|
684
|
+
# ],
|
685
|
+
# lambda_function_name: [
|
686
|
+
# {
|
687
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
688
|
+
# value: "StringInput", # required
|
689
|
+
# },
|
690
|
+
# ],
|
691
|
+
# lambda_function_runtime: [
|
692
|
+
# {
|
693
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
694
|
+
# value: "StringInput", # required
|
695
|
+
# },
|
696
|
+
# ],
|
657
697
|
# last_observed_at: [
|
658
698
|
# {
|
659
699
|
# end_inclusive: Time.now,
|
@@ -751,6 +791,10 @@ module Aws::Inspector2
|
|
751
791
|
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
752
792
|
# value: "StringInput", # required
|
753
793
|
# },
|
794
|
+
# source_lambda_layer_arn: {
|
795
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
796
|
+
# value: "StringInput", # required
|
797
|
+
# },
|
754
798
|
# source_layer_hash: {
|
755
799
|
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
756
800
|
# value: "StringInput", # required
|
@@ -873,6 +917,12 @@ module Aws::Inspector2
|
|
873
917
|
# value: "StringInput", # required
|
874
918
|
# },
|
875
919
|
# ],
|
920
|
+
# exploit_available: [
|
921
|
+
# {
|
922
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
923
|
+
# value: "StringInput", # required
|
924
|
+
# },
|
925
|
+
# ],
|
876
926
|
# finding_arn: [
|
877
927
|
# {
|
878
928
|
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
@@ -909,6 +959,36 @@ module Aws::Inspector2
|
|
909
959
|
# upper_inclusive: 1.0,
|
910
960
|
# },
|
911
961
|
# ],
|
962
|
+
# lambda_function_execution_role_arn: [
|
963
|
+
# {
|
964
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
965
|
+
# value: "StringInput", # required
|
966
|
+
# },
|
967
|
+
# ],
|
968
|
+
# lambda_function_last_modified_at: [
|
969
|
+
# {
|
970
|
+
# end_inclusive: Time.now,
|
971
|
+
# start_inclusive: Time.now,
|
972
|
+
# },
|
973
|
+
# ],
|
974
|
+
# lambda_function_layers: [
|
975
|
+
# {
|
976
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
977
|
+
# value: "StringInput", # required
|
978
|
+
# },
|
979
|
+
# ],
|
980
|
+
# lambda_function_name: [
|
981
|
+
# {
|
982
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
983
|
+
# value: "StringInput", # required
|
984
|
+
# },
|
985
|
+
# ],
|
986
|
+
# lambda_function_runtime: [
|
987
|
+
# {
|
988
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
989
|
+
# value: "StringInput", # required
|
990
|
+
# },
|
991
|
+
# ],
|
912
992
|
# last_observed_at: [
|
913
993
|
# {
|
914
994
|
# end_inclusive: Time.now,
|
@@ -1006,6 +1086,10 @@ module Aws::Inspector2
|
|
1006
1086
|
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1007
1087
|
# value: "StringInput", # required
|
1008
1088
|
# },
|
1089
|
+
# source_lambda_layer_arn: {
|
1090
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1091
|
+
# value: "StringInput", # required
|
1092
|
+
# },
|
1009
1093
|
# source_layer_hash: {
|
1010
1094
|
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1011
1095
|
# value: "StringInput", # required
|
@@ -1067,7 +1151,7 @@ module Aws::Inspector2
|
|
1067
1151
|
end
|
1068
1152
|
|
1069
1153
|
# Describe Amazon Inspector configuration settings for an Amazon Web
|
1070
|
-
# Services organization
|
1154
|
+
# Services organization.
|
1071
1155
|
#
|
1072
1156
|
# @return [Types::DescribeOrganizationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1073
1157
|
#
|
@@ -1078,6 +1162,7 @@ module Aws::Inspector2
|
|
1078
1162
|
#
|
1079
1163
|
# resp.auto_enable.ec2 #=> Boolean
|
1080
1164
|
# resp.auto_enable.ecr #=> Boolean
|
1165
|
+
# resp.auto_enable.lambda #=> Boolean
|
1081
1166
|
# resp.max_account_limit_reached #=> Boolean
|
1082
1167
|
#
|
1083
1168
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DescribeOrganizationConfiguration AWS API Documentation
|
@@ -1109,7 +1194,7 @@ module Aws::Inspector2
|
|
1109
1194
|
#
|
1110
1195
|
# resp = client.disable({
|
1111
1196
|
# account_ids: ["AccountId"],
|
1112
|
-
# resource_types: ["EC2"], # accepts EC2, ECR
|
1197
|
+
# resource_types: ["EC2"], # accepts EC2, ECR, LAMBDA
|
1113
1198
|
# })
|
1114
1199
|
#
|
1115
1200
|
# @example Response structure
|
@@ -1118,6 +1203,7 @@ module Aws::Inspector2
|
|
1118
1203
|
# resp.accounts[0].account_id #=> String
|
1119
1204
|
# resp.accounts[0].resource_status.ec2 #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1120
1205
|
# resp.accounts[0].resource_status.ecr #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1206
|
+
# resp.accounts[0].resource_status.lambda #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1121
1207
|
# resp.accounts[0].status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1122
1208
|
# resp.failed_accounts #=> Array
|
1123
1209
|
# resp.failed_accounts[0].account_id #=> String
|
@@ -1125,6 +1211,7 @@ module Aws::Inspector2
|
|
1125
1211
|
# resp.failed_accounts[0].error_message #=> String
|
1126
1212
|
# resp.failed_accounts[0].resource_status.ec2 #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1127
1213
|
# resp.failed_accounts[0].resource_status.ecr #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1214
|
+
# resp.failed_accounts[0].resource_status.lambda #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1128
1215
|
# resp.failed_accounts[0].status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1129
1216
|
#
|
1130
1217
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Disable AWS API Documentation
|
@@ -1221,7 +1308,7 @@ module Aws::Inspector2
|
|
1221
1308
|
# resp = client.enable({
|
1222
1309
|
# account_ids: ["AccountId"],
|
1223
1310
|
# client_token: "ClientToken",
|
1224
|
-
# resource_types: ["EC2"], # required, accepts EC2, ECR
|
1311
|
+
# resource_types: ["EC2"], # required, accepts EC2, ECR, LAMBDA
|
1225
1312
|
# })
|
1226
1313
|
#
|
1227
1314
|
# @example Response structure
|
@@ -1230,6 +1317,7 @@ module Aws::Inspector2
|
|
1230
1317
|
# resp.accounts[0].account_id #=> String
|
1231
1318
|
# resp.accounts[0].resource_status.ec2 #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1232
1319
|
# resp.accounts[0].resource_status.ecr #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1320
|
+
# resp.accounts[0].resource_status.lambda #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1233
1321
|
# resp.accounts[0].status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1234
1322
|
# resp.failed_accounts #=> Array
|
1235
1323
|
# resp.failed_accounts[0].account_id #=> String
|
@@ -1237,6 +1325,7 @@ module Aws::Inspector2
|
|
1237
1325
|
# resp.failed_accounts[0].error_message #=> String
|
1238
1326
|
# resp.failed_accounts[0].resource_status.ec2 #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1239
1327
|
# resp.failed_accounts[0].resource_status.ecr #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1328
|
+
# resp.failed_accounts[0].resource_status.lambda #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1240
1329
|
# resp.failed_accounts[0].status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1241
1330
|
#
|
1242
1331
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Enable AWS API Documentation
|
@@ -1390,6 +1479,9 @@ module Aws::Inspector2
|
|
1390
1479
|
# resp.filter_criteria.ecr_image_tags #=> Array
|
1391
1480
|
# resp.filter_criteria.ecr_image_tags[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
1392
1481
|
# resp.filter_criteria.ecr_image_tags[0].value #=> String
|
1482
|
+
# resp.filter_criteria.exploit_available #=> Array
|
1483
|
+
# resp.filter_criteria.exploit_available[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
1484
|
+
# resp.filter_criteria.exploit_available[0].value #=> String
|
1393
1485
|
# resp.filter_criteria.finding_arn #=> Array
|
1394
1486
|
# resp.filter_criteria.finding_arn[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
1395
1487
|
# resp.filter_criteria.finding_arn[0].value #=> String
|
@@ -1408,6 +1500,21 @@ module Aws::Inspector2
|
|
1408
1500
|
# resp.filter_criteria.inspector_score #=> Array
|
1409
1501
|
# resp.filter_criteria.inspector_score[0].lower_inclusive #=> Float
|
1410
1502
|
# resp.filter_criteria.inspector_score[0].upper_inclusive #=> Float
|
1503
|
+
# resp.filter_criteria.lambda_function_execution_role_arn #=> Array
|
1504
|
+
# resp.filter_criteria.lambda_function_execution_role_arn[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
1505
|
+
# resp.filter_criteria.lambda_function_execution_role_arn[0].value #=> String
|
1506
|
+
# resp.filter_criteria.lambda_function_last_modified_at #=> Array
|
1507
|
+
# resp.filter_criteria.lambda_function_last_modified_at[0].end_inclusive #=> Time
|
1508
|
+
# resp.filter_criteria.lambda_function_last_modified_at[0].start_inclusive #=> Time
|
1509
|
+
# resp.filter_criteria.lambda_function_layers #=> Array
|
1510
|
+
# resp.filter_criteria.lambda_function_layers[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
1511
|
+
# resp.filter_criteria.lambda_function_layers[0].value #=> String
|
1512
|
+
# resp.filter_criteria.lambda_function_name #=> Array
|
1513
|
+
# resp.filter_criteria.lambda_function_name[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
1514
|
+
# resp.filter_criteria.lambda_function_name[0].value #=> String
|
1515
|
+
# resp.filter_criteria.lambda_function_runtime #=> Array
|
1516
|
+
# resp.filter_criteria.lambda_function_runtime[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
1517
|
+
# resp.filter_criteria.lambda_function_runtime[0].value #=> String
|
1411
1518
|
# resp.filter_criteria.last_observed_at #=> Array
|
1412
1519
|
# resp.filter_criteria.last_observed_at[0].end_inclusive #=> Time
|
1413
1520
|
# resp.filter_criteria.last_observed_at[0].start_inclusive #=> Time
|
@@ -1457,6 +1564,8 @@ module Aws::Inspector2
|
|
1457
1564
|
# resp.filter_criteria.vulnerable_packages[0].name.value #=> String
|
1458
1565
|
# resp.filter_criteria.vulnerable_packages[0].release.comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
1459
1566
|
# resp.filter_criteria.vulnerable_packages[0].release.value #=> String
|
1567
|
+
# resp.filter_criteria.vulnerable_packages[0].source_lambda_layer_arn.comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
1568
|
+
# resp.filter_criteria.vulnerable_packages[0].source_lambda_layer_arn.value #=> String
|
1460
1569
|
# resp.filter_criteria.vulnerable_packages[0].source_layer_hash.comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
1461
1570
|
# resp.filter_criteria.vulnerable_packages[0].source_layer_hash.value #=> String
|
1462
1571
|
# resp.filter_criteria.vulnerable_packages[0].version.comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
@@ -1532,7 +1641,7 @@ module Aws::Inspector2
|
|
1532
1641
|
# resp = client.list_account_permissions({
|
1533
1642
|
# max_results: 1,
|
1534
1643
|
# next_token: "NextToken",
|
1535
|
-
# service: "EC2", # accepts EC2, ECR
|
1644
|
+
# service: "EC2", # accepts EC2, ECR, LAMBDA
|
1536
1645
|
# })
|
1537
1646
|
#
|
1538
1647
|
# @example Response structure
|
@@ -1540,7 +1649,7 @@ module Aws::Inspector2
|
|
1540
1649
|
# resp.next_token #=> String
|
1541
1650
|
# resp.permissions #=> Array
|
1542
1651
|
# resp.permissions[0].operation #=> String, one of "ENABLE_SCANNING", "DISABLE_SCANNING", "ENABLE_REPOSITORY", "DISABLE_REPOSITORY"
|
1543
|
-
# resp.permissions[0].service #=> String, one of "EC2", "ECR"
|
1652
|
+
# resp.permissions[0].service #=> String, one of "EC2", "ECR", "LAMBDA"
|
1544
1653
|
#
|
1545
1654
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListAccountPermissions AWS API Documentation
|
1546
1655
|
#
|
@@ -1603,6 +1712,25 @@ module Aws::Inspector2
|
|
1603
1712
|
# value: "CoverageStringInput", # required
|
1604
1713
|
# },
|
1605
1714
|
# ],
|
1715
|
+
# lambda_function_name: [
|
1716
|
+
# {
|
1717
|
+
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
1718
|
+
# value: "CoverageStringInput", # required
|
1719
|
+
# },
|
1720
|
+
# ],
|
1721
|
+
# lambda_function_runtime: [
|
1722
|
+
# {
|
1723
|
+
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
1724
|
+
# value: "CoverageStringInput", # required
|
1725
|
+
# },
|
1726
|
+
# ],
|
1727
|
+
# lambda_function_tags: [
|
1728
|
+
# {
|
1729
|
+
# comparison: "EQUALS", # required, accepts EQUALS
|
1730
|
+
# key: "NonEmptyString", # required
|
1731
|
+
# value: "NonEmptyString",
|
1732
|
+
# },
|
1733
|
+
# ],
|
1606
1734
|
# resource_id: [
|
1607
1735
|
# {
|
1608
1736
|
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
@@ -1651,8 +1779,14 @@ module Aws::Inspector2
|
|
1651
1779
|
# resp.covered_resources[0].resource_metadata.ecr_image.tags[0] #=> String
|
1652
1780
|
# resp.covered_resources[0].resource_metadata.ecr_repository.name #=> String
|
1653
1781
|
# resp.covered_resources[0].resource_metadata.ecr_repository.scan_frequency #=> String, one of "MANUAL", "SCAN_ON_PUSH", "CONTINUOUS_SCAN"
|
1654
|
-
# resp.covered_resources[0].
|
1655
|
-
# resp.covered_resources[0].
|
1782
|
+
# resp.covered_resources[0].resource_metadata.lambda_function.function_name #=> String
|
1783
|
+
# resp.covered_resources[0].resource_metadata.lambda_function.function_tags #=> Hash
|
1784
|
+
# resp.covered_resources[0].resource_metadata.lambda_function.function_tags["MapKey"] #=> String
|
1785
|
+
# resp.covered_resources[0].resource_metadata.lambda_function.layers #=> Array
|
1786
|
+
# resp.covered_resources[0].resource_metadata.lambda_function.layers[0] #=> String
|
1787
|
+
# resp.covered_resources[0].resource_metadata.lambda_function.runtime #=> String, one of "NODEJS", "NODEJS_12_X", "NODEJS_14_X", "NODEJS_16_X", "JAVA_8", "JAVA_8_AL2", "JAVA_11", "PYTHON_3_7", "PYTHON_3_8", "PYTHON_3_9", "UNSUPPORTED"
|
1788
|
+
# resp.covered_resources[0].resource_type #=> String, one of "AWS_EC2_INSTANCE", "AWS_ECR_CONTAINER_IMAGE", "AWS_ECR_REPOSITORY", "AWS_LAMBDA_FUNCTION"
|
1789
|
+
# resp.covered_resources[0].scan_status.reason #=> String, one of "PENDING_INITIAL_SCAN", "ACCESS_DENIED", "INTERNAL_ERROR", "UNMANAGED_EC2_INSTANCE", "UNSUPPORTED_OS", "SCAN_ELIGIBILITY_EXPIRED", "RESOURCE_TERMINATED", "SUCCESSFUL", "NO_RESOURCES_FOUND", "IMAGE_SIZE_EXCEEDED", "SCAN_FREQUENCY_MANUAL", "SCAN_FREQUENCY_SCAN_ON_PUSH", "EC2_INSTANCE_STOPPED", "PENDING_DISABLE", "NO_INVENTORY", "STALE_INVENTORY", "EXCLUDED_BY_TAG", "UNSUPPORTED_RUNTIME"
|
1656
1790
|
# resp.covered_resources[0].scan_status.status_code #=> String, one of "ACTIVE", "INACTIVE"
|
1657
1791
|
# resp.covered_resources[0].scan_type #=> String, one of "NETWORK", "PACKAGE"
|
1658
1792
|
# resp.next_token #=> String
|
@@ -1719,6 +1853,25 @@ module Aws::Inspector2
|
|
1719
1853
|
# value: "CoverageStringInput", # required
|
1720
1854
|
# },
|
1721
1855
|
# ],
|
1856
|
+
# lambda_function_name: [
|
1857
|
+
# {
|
1858
|
+
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
1859
|
+
# value: "CoverageStringInput", # required
|
1860
|
+
# },
|
1861
|
+
# ],
|
1862
|
+
# lambda_function_runtime: [
|
1863
|
+
# {
|
1864
|
+
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
1865
|
+
# value: "CoverageStringInput", # required
|
1866
|
+
# },
|
1867
|
+
# ],
|
1868
|
+
# lambda_function_tags: [
|
1869
|
+
# {
|
1870
|
+
# comparison: "EQUALS", # required, accepts EQUALS
|
1871
|
+
# key: "NonEmptyString", # required
|
1872
|
+
# value: "NonEmptyString",
|
1873
|
+
# },
|
1874
|
+
# ],
|
1722
1875
|
# resource_id: [
|
1723
1876
|
# {
|
1724
1877
|
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
@@ -1890,6 +2043,9 @@ module Aws::Inspector2
|
|
1890
2043
|
# resp.filters[0].criteria.ecr_image_tags #=> Array
|
1891
2044
|
# resp.filters[0].criteria.ecr_image_tags[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
1892
2045
|
# resp.filters[0].criteria.ecr_image_tags[0].value #=> String
|
2046
|
+
# resp.filters[0].criteria.exploit_available #=> Array
|
2047
|
+
# resp.filters[0].criteria.exploit_available[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
2048
|
+
# resp.filters[0].criteria.exploit_available[0].value #=> String
|
1893
2049
|
# resp.filters[0].criteria.finding_arn #=> Array
|
1894
2050
|
# resp.filters[0].criteria.finding_arn[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
1895
2051
|
# resp.filters[0].criteria.finding_arn[0].value #=> String
|
@@ -1908,6 +2064,21 @@ module Aws::Inspector2
|
|
1908
2064
|
# resp.filters[0].criteria.inspector_score #=> Array
|
1909
2065
|
# resp.filters[0].criteria.inspector_score[0].lower_inclusive #=> Float
|
1910
2066
|
# resp.filters[0].criteria.inspector_score[0].upper_inclusive #=> Float
|
2067
|
+
# resp.filters[0].criteria.lambda_function_execution_role_arn #=> Array
|
2068
|
+
# resp.filters[0].criteria.lambda_function_execution_role_arn[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
2069
|
+
# resp.filters[0].criteria.lambda_function_execution_role_arn[0].value #=> String
|
2070
|
+
# resp.filters[0].criteria.lambda_function_last_modified_at #=> Array
|
2071
|
+
# resp.filters[0].criteria.lambda_function_last_modified_at[0].end_inclusive #=> Time
|
2072
|
+
# resp.filters[0].criteria.lambda_function_last_modified_at[0].start_inclusive #=> Time
|
2073
|
+
# resp.filters[0].criteria.lambda_function_layers #=> Array
|
2074
|
+
# resp.filters[0].criteria.lambda_function_layers[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
2075
|
+
# resp.filters[0].criteria.lambda_function_layers[0].value #=> String
|
2076
|
+
# resp.filters[0].criteria.lambda_function_name #=> Array
|
2077
|
+
# resp.filters[0].criteria.lambda_function_name[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
2078
|
+
# resp.filters[0].criteria.lambda_function_name[0].value #=> String
|
2079
|
+
# resp.filters[0].criteria.lambda_function_runtime #=> Array
|
2080
|
+
# resp.filters[0].criteria.lambda_function_runtime[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
2081
|
+
# resp.filters[0].criteria.lambda_function_runtime[0].value #=> String
|
1911
2082
|
# resp.filters[0].criteria.last_observed_at #=> Array
|
1912
2083
|
# resp.filters[0].criteria.last_observed_at[0].end_inclusive #=> Time
|
1913
2084
|
# resp.filters[0].criteria.last_observed_at[0].start_inclusive #=> Time
|
@@ -1957,6 +2128,8 @@ module Aws::Inspector2
|
|
1957
2128
|
# resp.filters[0].criteria.vulnerable_packages[0].name.value #=> String
|
1958
2129
|
# resp.filters[0].criteria.vulnerable_packages[0].release.comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
1959
2130
|
# resp.filters[0].criteria.vulnerable_packages[0].release.value #=> String
|
2131
|
+
# resp.filters[0].criteria.vulnerable_packages[0].source_lambda_layer_arn.comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
2132
|
+
# resp.filters[0].criteria.vulnerable_packages[0].source_lambda_layer_arn.value #=> String
|
1960
2133
|
# resp.filters[0].criteria.vulnerable_packages[0].source_layer_hash.comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
1961
2134
|
# resp.filters[0].criteria.vulnerable_packages[0].source_layer_hash.value #=> String
|
1962
2135
|
# resp.filters[0].criteria.vulnerable_packages[0].version.comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
@@ -2023,7 +2196,7 @@ module Aws::Inspector2
|
|
2023
2196
|
# aggregation_request: {
|
2024
2197
|
# account_aggregation: {
|
2025
2198
|
# finding_type: "NETWORK_REACHABILITY", # accepts NETWORK_REACHABILITY, PACKAGE_VULNERABILITY
|
2026
|
-
# resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE
|
2199
|
+
# resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE, AWS_LAMBDA_FUNCTION
|
2027
2200
|
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
2028
2201
|
# sort_order: "ASC", # accepts ASC, DESC
|
2029
2202
|
# },
|
@@ -2102,7 +2275,7 @@ module Aws::Inspector2
|
|
2102
2275
|
# },
|
2103
2276
|
# finding_type_aggregation: {
|
2104
2277
|
# finding_type: "NETWORK_REACHABILITY", # accepts NETWORK_REACHABILITY, PACKAGE_VULNERABILITY
|
2105
|
-
# resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE
|
2278
|
+
# resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE, AWS_LAMBDA_FUNCTION
|
2106
2279
|
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
2107
2280
|
# sort_order: "ASC", # accepts ASC, DESC
|
2108
2281
|
# },
|
@@ -2128,6 +2301,57 @@ module Aws::Inspector2
|
|
2128
2301
|
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
2129
2302
|
# sort_order: "ASC", # accepts ASC, DESC
|
2130
2303
|
# },
|
2304
|
+
# lambda_function_aggregation: {
|
2305
|
+
# function_names: [
|
2306
|
+
# {
|
2307
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2308
|
+
# value: "StringInput", # required
|
2309
|
+
# },
|
2310
|
+
# ],
|
2311
|
+
# function_tags: [
|
2312
|
+
# {
|
2313
|
+
# comparison: "EQUALS", # required, accepts EQUALS
|
2314
|
+
# key: "MapKey", # required
|
2315
|
+
# value: "MapValue",
|
2316
|
+
# },
|
2317
|
+
# ],
|
2318
|
+
# resource_ids: [
|
2319
|
+
# {
|
2320
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2321
|
+
# value: "StringInput", # required
|
2322
|
+
# },
|
2323
|
+
# ],
|
2324
|
+
# runtimes: [
|
2325
|
+
# {
|
2326
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2327
|
+
# value: "StringInput", # required
|
2328
|
+
# },
|
2329
|
+
# ],
|
2330
|
+
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
2331
|
+
# sort_order: "ASC", # accepts ASC, DESC
|
2332
|
+
# },
|
2333
|
+
# lambda_layer_aggregation: {
|
2334
|
+
# function_names: [
|
2335
|
+
# {
|
2336
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2337
|
+
# value: "StringInput", # required
|
2338
|
+
# },
|
2339
|
+
# ],
|
2340
|
+
# layer_arns: [
|
2341
|
+
# {
|
2342
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2343
|
+
# value: "StringInput", # required
|
2344
|
+
# },
|
2345
|
+
# ],
|
2346
|
+
# resource_ids: [
|
2347
|
+
# {
|
2348
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2349
|
+
# value: "StringInput", # required
|
2350
|
+
# },
|
2351
|
+
# ],
|
2352
|
+
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
2353
|
+
# sort_order: "ASC", # accepts ASC, DESC
|
2354
|
+
# },
|
2131
2355
|
# package_aggregation: {
|
2132
2356
|
# package_names: [
|
2133
2357
|
# {
|
@@ -2149,7 +2373,7 @@ module Aws::Inspector2
|
|
2149
2373
|
# sort_order: "ASC", # accepts ASC, DESC
|
2150
2374
|
# },
|
2151
2375
|
# title_aggregation: {
|
2152
|
-
# resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE
|
2376
|
+
# resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE, AWS_LAMBDA_FUNCTION
|
2153
2377
|
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
2154
2378
|
# sort_order: "ASC", # accepts ASC, DESC
|
2155
2379
|
# titles: [
|
@@ -2166,14 +2390,14 @@ module Aws::Inspector2
|
|
2166
2390
|
# ],
|
2167
2391
|
# },
|
2168
2392
|
# },
|
2169
|
-
# aggregation_type: "FINDING_TYPE", # required, accepts FINDING_TYPE, PACKAGE, TITLE, REPOSITORY, AMI, AWS_EC2_INSTANCE, AWS_ECR_CONTAINER, IMAGE_LAYER, ACCOUNT
|
2393
|
+
# aggregation_type: "FINDING_TYPE", # required, accepts FINDING_TYPE, PACKAGE, TITLE, REPOSITORY, AMI, AWS_EC2_INSTANCE, AWS_ECR_CONTAINER, IMAGE_LAYER, ACCOUNT, AWS_LAMBDA_FUNCTION, LAMBDA_LAYER
|
2170
2394
|
# max_results: 1,
|
2171
2395
|
# next_token: "NextToken",
|
2172
2396
|
# })
|
2173
2397
|
#
|
2174
2398
|
# @example Response structure
|
2175
2399
|
#
|
2176
|
-
# resp.aggregation_type #=> String, one of "FINDING_TYPE", "PACKAGE", "TITLE", "REPOSITORY", "AMI", "AWS_EC2_INSTANCE", "AWS_ECR_CONTAINER", "IMAGE_LAYER", "ACCOUNT"
|
2400
|
+
# resp.aggregation_type #=> String, one of "FINDING_TYPE", "PACKAGE", "TITLE", "REPOSITORY", "AMI", "AWS_EC2_INSTANCE", "AWS_ECR_CONTAINER", "IMAGE_LAYER", "ACCOUNT", "AWS_LAMBDA_FUNCTION", "LAMBDA_LAYER"
|
2177
2401
|
# resp.next_token #=> String
|
2178
2402
|
# resp.responses #=> Array
|
2179
2403
|
# resp.responses[0].account_aggregation.account_id #=> String
|
@@ -2223,6 +2447,25 @@ module Aws::Inspector2
|
|
2223
2447
|
# resp.responses[0].image_layer_aggregation.severity_counts.critical #=> Integer
|
2224
2448
|
# resp.responses[0].image_layer_aggregation.severity_counts.high #=> Integer
|
2225
2449
|
# resp.responses[0].image_layer_aggregation.severity_counts.medium #=> Integer
|
2450
|
+
# resp.responses[0].lambda_function_aggregation.account_id #=> String
|
2451
|
+
# resp.responses[0].lambda_function_aggregation.function_name #=> String
|
2452
|
+
# resp.responses[0].lambda_function_aggregation.lambda_tags #=> Hash
|
2453
|
+
# resp.responses[0].lambda_function_aggregation.lambda_tags["MapKey"] #=> String
|
2454
|
+
# resp.responses[0].lambda_function_aggregation.last_modified_at #=> Time
|
2455
|
+
# resp.responses[0].lambda_function_aggregation.resource_id #=> String
|
2456
|
+
# resp.responses[0].lambda_function_aggregation.runtime #=> String
|
2457
|
+
# resp.responses[0].lambda_function_aggregation.severity_counts.all #=> Integer
|
2458
|
+
# resp.responses[0].lambda_function_aggregation.severity_counts.critical #=> Integer
|
2459
|
+
# resp.responses[0].lambda_function_aggregation.severity_counts.high #=> Integer
|
2460
|
+
# resp.responses[0].lambda_function_aggregation.severity_counts.medium #=> Integer
|
2461
|
+
# resp.responses[0].lambda_layer_aggregation.account_id #=> String
|
2462
|
+
# resp.responses[0].lambda_layer_aggregation.function_name #=> String
|
2463
|
+
# resp.responses[0].lambda_layer_aggregation.layer_arn #=> String
|
2464
|
+
# resp.responses[0].lambda_layer_aggregation.resource_id #=> String
|
2465
|
+
# resp.responses[0].lambda_layer_aggregation.severity_counts.all #=> Integer
|
2466
|
+
# resp.responses[0].lambda_layer_aggregation.severity_counts.critical #=> Integer
|
2467
|
+
# resp.responses[0].lambda_layer_aggregation.severity_counts.high #=> Integer
|
2468
|
+
# resp.responses[0].lambda_layer_aggregation.severity_counts.medium #=> Integer
|
2226
2469
|
# resp.responses[0].package_aggregation.account_id #=> String
|
2227
2470
|
# resp.responses[0].package_aggregation.package_name #=> String
|
2228
2471
|
# resp.responses[0].package_aggregation.severity_counts.all #=> Integer
|
@@ -2354,6 +2597,12 @@ module Aws::Inspector2
|
|
2354
2597
|
# value: "StringInput", # required
|
2355
2598
|
# },
|
2356
2599
|
# ],
|
2600
|
+
# exploit_available: [
|
2601
|
+
# {
|
2602
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2603
|
+
# value: "StringInput", # required
|
2604
|
+
# },
|
2605
|
+
# ],
|
2357
2606
|
# finding_arn: [
|
2358
2607
|
# {
|
2359
2608
|
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
@@ -2390,6 +2639,36 @@ module Aws::Inspector2
|
|
2390
2639
|
# upper_inclusive: 1.0,
|
2391
2640
|
# },
|
2392
2641
|
# ],
|
2642
|
+
# lambda_function_execution_role_arn: [
|
2643
|
+
# {
|
2644
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2645
|
+
# value: "StringInput", # required
|
2646
|
+
# },
|
2647
|
+
# ],
|
2648
|
+
# lambda_function_last_modified_at: [
|
2649
|
+
# {
|
2650
|
+
# end_inclusive: Time.now,
|
2651
|
+
# start_inclusive: Time.now,
|
2652
|
+
# },
|
2653
|
+
# ],
|
2654
|
+
# lambda_function_layers: [
|
2655
|
+
# {
|
2656
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2657
|
+
# value: "StringInput", # required
|
2658
|
+
# },
|
2659
|
+
# ],
|
2660
|
+
# lambda_function_name: [
|
2661
|
+
# {
|
2662
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2663
|
+
# value: "StringInput", # required
|
2664
|
+
# },
|
2665
|
+
# ],
|
2666
|
+
# lambda_function_runtime: [
|
2667
|
+
# {
|
2668
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2669
|
+
# value: "StringInput", # required
|
2670
|
+
# },
|
2671
|
+
# ],
|
2393
2672
|
# last_observed_at: [
|
2394
2673
|
# {
|
2395
2674
|
# end_inclusive: Time.now,
|
@@ -2487,6 +2766,10 @@ module Aws::Inspector2
|
|
2487
2766
|
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2488
2767
|
# value: "StringInput", # required
|
2489
2768
|
# },
|
2769
|
+
# source_lambda_layer_arn: {
|
2770
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2771
|
+
# value: "StringInput", # required
|
2772
|
+
# },
|
2490
2773
|
# source_layer_hash: {
|
2491
2774
|
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2492
2775
|
# value: "StringInput", # required
|
@@ -2511,6 +2794,8 @@ module Aws::Inspector2
|
|
2511
2794
|
# resp.findings #=> Array
|
2512
2795
|
# resp.findings[0].aws_account_id #=> String
|
2513
2796
|
# resp.findings[0].description #=> String
|
2797
|
+
# resp.findings[0].exploit_available #=> String, one of "YES", "NO"
|
2798
|
+
# resp.findings[0].exploitability_details.last_known_exploit_at #=> Time
|
2514
2799
|
# resp.findings[0].finding_arn #=> String
|
2515
2800
|
# resp.findings[0].first_observed_at #=> Time
|
2516
2801
|
# resp.findings[0].fix_available #=> String, one of "YES", "NO", "PARTIAL"
|
@@ -2554,6 +2839,7 @@ module Aws::Inspector2
|
|
2554
2839
|
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].package_manager #=> String, one of "BUNDLER", "CARGO", "COMPOSER", "NPM", "NUGET", "PIPENV", "POETRY", "YARN", "GOBINARY", "GOMOD", "JAR", "OS", "PIP", "PYTHONPKG", "NODEPKG", "POM"
|
2555
2840
|
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].release #=> String
|
2556
2841
|
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].remediation #=> String
|
2842
|
+
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].source_lambda_layer_arn #=> String
|
2557
2843
|
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].source_layer_hash #=> String
|
2558
2844
|
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].version #=> String
|
2559
2845
|
# resp.findings[0].remediation.recommendation.url #=> String
|
@@ -2580,12 +2866,28 @@ module Aws::Inspector2
|
|
2580
2866
|
# resp.findings[0].resources[0].details.aws_ecr_container_image.pushed_at #=> Time
|
2581
2867
|
# resp.findings[0].resources[0].details.aws_ecr_container_image.registry #=> String
|
2582
2868
|
# resp.findings[0].resources[0].details.aws_ecr_container_image.repository_name #=> String
|
2869
|
+
# resp.findings[0].resources[0].details.aws_lambda_function.architectures #=> Array
|
2870
|
+
# resp.findings[0].resources[0].details.aws_lambda_function.architectures[0] #=> String, one of "X86_64", "ARM64"
|
2871
|
+
# resp.findings[0].resources[0].details.aws_lambda_function.code_sha_256 #=> String
|
2872
|
+
# resp.findings[0].resources[0].details.aws_lambda_function.execution_role_arn #=> String
|
2873
|
+
# resp.findings[0].resources[0].details.aws_lambda_function.function_name #=> String
|
2874
|
+
# resp.findings[0].resources[0].details.aws_lambda_function.last_modified_at #=> Time
|
2875
|
+
# resp.findings[0].resources[0].details.aws_lambda_function.layers #=> Array
|
2876
|
+
# resp.findings[0].resources[0].details.aws_lambda_function.layers[0] #=> String
|
2877
|
+
# resp.findings[0].resources[0].details.aws_lambda_function.package_type #=> String, one of "IMAGE", "ZIP"
|
2878
|
+
# resp.findings[0].resources[0].details.aws_lambda_function.runtime #=> String, one of "NODEJS", "NODEJS_12_X", "NODEJS_14_X", "NODEJS_16_X", "JAVA_8", "JAVA_8_AL2", "JAVA_11", "PYTHON_3_7", "PYTHON_3_8", "PYTHON_3_9", "UNSUPPORTED"
|
2879
|
+
# resp.findings[0].resources[0].details.aws_lambda_function.version #=> String
|
2880
|
+
# resp.findings[0].resources[0].details.aws_lambda_function.vpc_config.security_group_ids #=> Array
|
2881
|
+
# resp.findings[0].resources[0].details.aws_lambda_function.vpc_config.security_group_ids[0] #=> String
|
2882
|
+
# resp.findings[0].resources[0].details.aws_lambda_function.vpc_config.subnet_ids #=> Array
|
2883
|
+
# resp.findings[0].resources[0].details.aws_lambda_function.vpc_config.subnet_ids[0] #=> String
|
2884
|
+
# resp.findings[0].resources[0].details.aws_lambda_function.vpc_config.vpc_id #=> String
|
2583
2885
|
# resp.findings[0].resources[0].id #=> String
|
2584
2886
|
# resp.findings[0].resources[0].partition #=> String
|
2585
2887
|
# resp.findings[0].resources[0].region #=> String
|
2586
2888
|
# resp.findings[0].resources[0].tags #=> Hash
|
2587
2889
|
# resp.findings[0].resources[0].tags["MapKey"] #=> String
|
2588
|
-
# resp.findings[0].resources[0].type #=> String, one of "AWS_EC2_INSTANCE", "AWS_ECR_CONTAINER_IMAGE", "AWS_ECR_REPOSITORY"
|
2890
|
+
# resp.findings[0].resources[0].type #=> String, one of "AWS_EC2_INSTANCE", "AWS_ECR_CONTAINER_IMAGE", "AWS_ECR_REPOSITORY", "AWS_LAMBDA_FUNCTION"
|
2589
2891
|
# resp.findings[0].severity #=> String, one of "INFORMATIONAL", "LOW", "MEDIUM", "HIGH", "CRITICAL", "UNTRIAGED"
|
2590
2892
|
# resp.findings[0].status #=> String, one of "ACTIVE", "SUPPRESSED", "CLOSED"
|
2591
2893
|
# resp.findings[0].title #=> String
|
@@ -2720,7 +3022,7 @@ module Aws::Inspector2
|
|
2720
3022
|
# resp.totals[0].usage[0].currency #=> String, one of "USD"
|
2721
3023
|
# resp.totals[0].usage[0].estimated_monthly_cost #=> Float
|
2722
3024
|
# resp.totals[0].usage[0].total #=> Float
|
2723
|
-
# resp.totals[0].usage[0].type #=> String, one of "EC2_INSTANCE_HOURS", "ECR_INITIAL_SCAN", "ECR_RESCAN"
|
3025
|
+
# resp.totals[0].usage[0].type #=> String, one of "EC2_INSTANCE_HOURS", "ECR_INITIAL_SCAN", "ECR_RESCAN", "LAMBDA_FUNCTION_HOURS"
|
2724
3026
|
#
|
2725
3027
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListUsageTotals AWS API Documentation
|
2726
3028
|
#
|
@@ -2918,6 +3220,12 @@ module Aws::Inspector2
|
|
2918
3220
|
# value: "StringInput", # required
|
2919
3221
|
# },
|
2920
3222
|
# ],
|
3223
|
+
# exploit_available: [
|
3224
|
+
# {
|
3225
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3226
|
+
# value: "StringInput", # required
|
3227
|
+
# },
|
3228
|
+
# ],
|
2921
3229
|
# finding_arn: [
|
2922
3230
|
# {
|
2923
3231
|
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
@@ -2954,6 +3262,36 @@ module Aws::Inspector2
|
|
2954
3262
|
# upper_inclusive: 1.0,
|
2955
3263
|
# },
|
2956
3264
|
# ],
|
3265
|
+
# lambda_function_execution_role_arn: [
|
3266
|
+
# {
|
3267
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3268
|
+
# value: "StringInput", # required
|
3269
|
+
# },
|
3270
|
+
# ],
|
3271
|
+
# lambda_function_last_modified_at: [
|
3272
|
+
# {
|
3273
|
+
# end_inclusive: Time.now,
|
3274
|
+
# start_inclusive: Time.now,
|
3275
|
+
# },
|
3276
|
+
# ],
|
3277
|
+
# lambda_function_layers: [
|
3278
|
+
# {
|
3279
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3280
|
+
# value: "StringInput", # required
|
3281
|
+
# },
|
3282
|
+
# ],
|
3283
|
+
# lambda_function_name: [
|
3284
|
+
# {
|
3285
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3286
|
+
# value: "StringInput", # required
|
3287
|
+
# },
|
3288
|
+
# ],
|
3289
|
+
# lambda_function_runtime: [
|
3290
|
+
# {
|
3291
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3292
|
+
# value: "StringInput", # required
|
3293
|
+
# },
|
3294
|
+
# ],
|
2957
3295
|
# last_observed_at: [
|
2958
3296
|
# {
|
2959
3297
|
# end_inclusive: Time.now,
|
@@ -3051,6 +3389,10 @@ module Aws::Inspector2
|
|
3051
3389
|
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3052
3390
|
# value: "StringInput", # required
|
3053
3391
|
# },
|
3392
|
+
# source_lambda_layer_arn: {
|
3393
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3394
|
+
# value: "StringInput", # required
|
3395
|
+
# },
|
3054
3396
|
# source_layer_hash: {
|
3055
3397
|
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3056
3398
|
# value: "StringInput", # required
|
@@ -3095,6 +3437,7 @@ module Aws::Inspector2
|
|
3095
3437
|
# auto_enable: { # required
|
3096
3438
|
# ec2: false, # required
|
3097
3439
|
# ecr: false, # required
|
3440
|
+
# lambda: false,
|
3098
3441
|
# },
|
3099
3442
|
# })
|
3100
3443
|
#
|
@@ -3102,6 +3445,7 @@ module Aws::Inspector2
|
|
3102
3445
|
#
|
3103
3446
|
# resp.auto_enable.ec2 #=> Boolean
|
3104
3447
|
# resp.auto_enable.ecr #=> Boolean
|
3448
|
+
# resp.auto_enable.lambda #=> Boolean
|
3105
3449
|
#
|
3106
3450
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateOrganizationConfiguration AWS API Documentation
|
3107
3451
|
#
|
@@ -3125,7 +3469,7 @@ module Aws::Inspector2
|
|
3125
3469
|
params: params,
|
3126
3470
|
config: config)
|
3127
3471
|
context[:gem_name] = 'aws-sdk-inspector2'
|
3128
|
-
context[:gem_version] = '1.
|
3472
|
+
context[:gem_version] = '1.8.0'
|
3129
3473
|
Seahorse::Client::Request.new(handlers, context)
|
3130
3474
|
end
|
3131
3475
|
|