aws-sdk-inspector2 1.8.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-inspector2/client.rb +3 -3
- 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/types.rb +0 -2339
- 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, AWS_LAMBDA_FUNCTION
|
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]
|
@@ -317,20 +307,6 @@ module Aws::Inspector2
|
|
317
307
|
# The details that define an aggregation based on Amazon machine images
|
318
308
|
# (AMIs).
|
319
309
|
#
|
320
|
-
# @note When making an API call, you may pass AmiAggregation
|
321
|
-
# data as a hash:
|
322
|
-
#
|
323
|
-
# {
|
324
|
-
# amis: [
|
325
|
-
# {
|
326
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
327
|
-
# value: "StringInput", # required
|
328
|
-
# },
|
329
|
-
# ],
|
330
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL, AFFECTED_INSTANCES
|
331
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
332
|
-
# }
|
333
|
-
#
|
334
310
|
# @!attribute [rw] amis
|
335
311
|
# The IDs of AMIs to aggregate findings for.
|
336
312
|
# @return [Array<Types::StringFilter>]
|
@@ -382,13 +358,6 @@ module Aws::Inspector2
|
|
382
358
|
include Aws::Structure
|
383
359
|
end
|
384
360
|
|
385
|
-
# @note When making an API call, you may pass AssociateMemberRequest
|
386
|
-
# data as a hash:
|
387
|
-
#
|
388
|
-
# {
|
389
|
-
# account_id: "AccountId", # required
|
390
|
-
# }
|
391
|
-
#
|
392
361
|
# @!attribute [rw] account_id
|
393
362
|
# The Amazon Web Services account ID of the member account to be
|
394
363
|
# associated.
|
@@ -418,15 +387,6 @@ module Aws::Inspector2
|
|
418
387
|
# Represents which scan types are automatically enabled for new members
|
419
388
|
# of your Amazon Inspector organization.
|
420
389
|
#
|
421
|
-
# @note When making an API call, you may pass AutoEnable
|
422
|
-
# data as a hash:
|
423
|
-
#
|
424
|
-
# {
|
425
|
-
# ec2: false, # required
|
426
|
-
# ecr: false, # required
|
427
|
-
# lambda: false,
|
428
|
-
# }
|
429
|
-
#
|
430
390
|
# @!attribute [rw] ec2
|
431
391
|
# Represents whether Amazon EC2 scans are automatically enabled for
|
432
392
|
# new members of your Amazon Inspector organization.
|
@@ -513,44 +473,6 @@ module Aws::Inspector2
|
|
513
473
|
|
514
474
|
# An aggregation of information about Amazon ECR containers.
|
515
475
|
#
|
516
|
-
# @note When making an API call, you may pass AwsEcrContainerAggregation
|
517
|
-
# data as a hash:
|
518
|
-
#
|
519
|
-
# {
|
520
|
-
# architectures: [
|
521
|
-
# {
|
522
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
523
|
-
# value: "StringInput", # required
|
524
|
-
# },
|
525
|
-
# ],
|
526
|
-
# image_shas: [
|
527
|
-
# {
|
528
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
529
|
-
# value: "StringInput", # required
|
530
|
-
# },
|
531
|
-
# ],
|
532
|
-
# image_tags: [
|
533
|
-
# {
|
534
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
535
|
-
# value: "StringInput", # required
|
536
|
-
# },
|
537
|
-
# ],
|
538
|
-
# repositories: [
|
539
|
-
# {
|
540
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
541
|
-
# value: "StringInput", # required
|
542
|
-
# },
|
543
|
-
# ],
|
544
|
-
# resource_ids: [
|
545
|
-
# {
|
546
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
547
|
-
# value: "StringInput", # required
|
548
|
-
# },
|
549
|
-
# ],
|
550
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
551
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
552
|
-
# }
|
553
|
-
#
|
554
476
|
# @!attribute [rw] architectures
|
555
477
|
# The architecture of the containers.
|
556
478
|
# @return [Array<Types::StringFilter>]
|
@@ -773,13 +695,6 @@ module Aws::Inspector2
|
|
773
695
|
include Aws::Structure
|
774
696
|
end
|
775
697
|
|
776
|
-
# @note When making an API call, you may pass BatchGetAccountStatusRequest
|
777
|
-
# data as a hash:
|
778
|
-
#
|
779
|
-
# {
|
780
|
-
# account_ids: ["AccountId"],
|
781
|
-
# }
|
782
|
-
#
|
783
698
|
# @!attribute [rw] account_ids
|
784
699
|
# The 12-digit Amazon Web Services account IDs of the accounts to
|
785
700
|
# retrieve Amazon Inspector status for.
|
@@ -812,13 +727,6 @@ module Aws::Inspector2
|
|
812
727
|
include Aws::Structure
|
813
728
|
end
|
814
729
|
|
815
|
-
# @note When making an API call, you may pass BatchGetFreeTrialInfoRequest
|
816
|
-
# data as a hash:
|
817
|
-
#
|
818
|
-
# {
|
819
|
-
# account_ids: ["MeteringAccountId"], # required
|
820
|
-
# }
|
821
|
-
#
|
822
730
|
# @!attribute [rw] account_ids
|
823
731
|
# The account IDs to get free trial status for.
|
824
732
|
# @return [Array<String>]
|
@@ -850,13 +758,6 @@ module Aws::Inspector2
|
|
850
758
|
include Aws::Structure
|
851
759
|
end
|
852
760
|
|
853
|
-
# @note When making an API call, you may pass CancelFindingsReportRequest
|
854
|
-
# data as a hash:
|
855
|
-
#
|
856
|
-
# {
|
857
|
-
# report_id: "ReportId", # required
|
858
|
-
# }
|
859
|
-
#
|
860
761
|
# @!attribute [rw] report_id
|
861
762
|
# The ID of the report to be canceled.
|
862
763
|
# @return [String]
|
@@ -927,86 +828,6 @@ module Aws::Inspector2
|
|
927
828
|
# A structure that identifies filter criteria for
|
928
829
|
# `GetCoverageStatistics`.
|
929
830
|
#
|
930
|
-
# @note When making an API call, you may pass CoverageFilterCriteria
|
931
|
-
# data as a hash:
|
932
|
-
#
|
933
|
-
# {
|
934
|
-
# account_id: [
|
935
|
-
# {
|
936
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
937
|
-
# value: "CoverageStringInput", # required
|
938
|
-
# },
|
939
|
-
# ],
|
940
|
-
# ec2_instance_tags: [
|
941
|
-
# {
|
942
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
943
|
-
# key: "NonEmptyString", # required
|
944
|
-
# value: "NonEmptyString",
|
945
|
-
# },
|
946
|
-
# ],
|
947
|
-
# ecr_image_tags: [
|
948
|
-
# {
|
949
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
950
|
-
# value: "CoverageStringInput", # required
|
951
|
-
# },
|
952
|
-
# ],
|
953
|
-
# ecr_repository_name: [
|
954
|
-
# {
|
955
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
956
|
-
# value: "CoverageStringInput", # required
|
957
|
-
# },
|
958
|
-
# ],
|
959
|
-
# lambda_function_name: [
|
960
|
-
# {
|
961
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
962
|
-
# value: "CoverageStringInput", # required
|
963
|
-
# },
|
964
|
-
# ],
|
965
|
-
# lambda_function_runtime: [
|
966
|
-
# {
|
967
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
968
|
-
# value: "CoverageStringInput", # required
|
969
|
-
# },
|
970
|
-
# ],
|
971
|
-
# lambda_function_tags: [
|
972
|
-
# {
|
973
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
974
|
-
# key: "NonEmptyString", # required
|
975
|
-
# value: "NonEmptyString",
|
976
|
-
# },
|
977
|
-
# ],
|
978
|
-
# resource_id: [
|
979
|
-
# {
|
980
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
981
|
-
# value: "CoverageStringInput", # required
|
982
|
-
# },
|
983
|
-
# ],
|
984
|
-
# resource_type: [
|
985
|
-
# {
|
986
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
987
|
-
# value: "CoverageStringInput", # required
|
988
|
-
# },
|
989
|
-
# ],
|
990
|
-
# scan_status_code: [
|
991
|
-
# {
|
992
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
993
|
-
# value: "CoverageStringInput", # required
|
994
|
-
# },
|
995
|
-
# ],
|
996
|
-
# scan_status_reason: [
|
997
|
-
# {
|
998
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
999
|
-
# value: "CoverageStringInput", # required
|
1000
|
-
# },
|
1001
|
-
# ],
|
1002
|
-
# scan_type: [
|
1003
|
-
# {
|
1004
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
1005
|
-
# value: "CoverageStringInput", # required
|
1006
|
-
# },
|
1007
|
-
# ],
|
1008
|
-
# }
|
1009
|
-
#
|
1010
831
|
# @!attribute [rw] account_id
|
1011
832
|
# An array of Amazon Web Services account IDs to return coverage
|
1012
833
|
# statistics for.
|
@@ -1084,15 +905,6 @@ module Aws::Inspector2
|
|
1084
905
|
|
1085
906
|
# Contains details of a coverage map filter.
|
1086
907
|
#
|
1087
|
-
# @note When making an API call, you may pass CoverageMapFilter
|
1088
|
-
# data as a hash:
|
1089
|
-
#
|
1090
|
-
# {
|
1091
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
1092
|
-
# key: "NonEmptyString", # required
|
1093
|
-
# value: "NonEmptyString",
|
1094
|
-
# }
|
1095
|
-
#
|
1096
908
|
# @!attribute [rw] comparison
|
1097
909
|
# The operator to compare coverage on.
|
1098
910
|
# @return [String]
|
@@ -1117,14 +929,6 @@ module Aws::Inspector2
|
|
1117
929
|
|
1118
930
|
# Contains details of a coverage string filter.
|
1119
931
|
#
|
1120
|
-
# @note When making an API call, you may pass CoverageStringFilter
|
1121
|
-
# data as a hash:
|
1122
|
-
#
|
1123
|
-
# {
|
1124
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
1125
|
-
# value: "CoverageStringInput", # required
|
1126
|
-
# }
|
1127
|
-
#
|
1128
932
|
# @!attribute [rw] comparison
|
1129
933
|
# The operator to compare strings on.
|
1130
934
|
# @return [String]
|
@@ -1182,276 +986,6 @@ module Aws::Inspector2
|
|
1182
986
|
include Aws::Structure
|
1183
987
|
end
|
1184
988
|
|
1185
|
-
# @note When making an API call, you may pass CreateFilterRequest
|
1186
|
-
# data as a hash:
|
1187
|
-
#
|
1188
|
-
# {
|
1189
|
-
# action: "NONE", # required, accepts NONE, SUPPRESS
|
1190
|
-
# description: "FilterDescription",
|
1191
|
-
# filter_criteria: { # required
|
1192
|
-
# aws_account_id: [
|
1193
|
-
# {
|
1194
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1195
|
-
# value: "StringInput", # required
|
1196
|
-
# },
|
1197
|
-
# ],
|
1198
|
-
# component_id: [
|
1199
|
-
# {
|
1200
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1201
|
-
# value: "StringInput", # required
|
1202
|
-
# },
|
1203
|
-
# ],
|
1204
|
-
# component_type: [
|
1205
|
-
# {
|
1206
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1207
|
-
# value: "StringInput", # required
|
1208
|
-
# },
|
1209
|
-
# ],
|
1210
|
-
# ec2_instance_image_id: [
|
1211
|
-
# {
|
1212
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1213
|
-
# value: "StringInput", # required
|
1214
|
-
# },
|
1215
|
-
# ],
|
1216
|
-
# ec2_instance_subnet_id: [
|
1217
|
-
# {
|
1218
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1219
|
-
# value: "StringInput", # required
|
1220
|
-
# },
|
1221
|
-
# ],
|
1222
|
-
# ec2_instance_vpc_id: [
|
1223
|
-
# {
|
1224
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1225
|
-
# value: "StringInput", # required
|
1226
|
-
# },
|
1227
|
-
# ],
|
1228
|
-
# ecr_image_architecture: [
|
1229
|
-
# {
|
1230
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1231
|
-
# value: "StringInput", # required
|
1232
|
-
# },
|
1233
|
-
# ],
|
1234
|
-
# ecr_image_hash: [
|
1235
|
-
# {
|
1236
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1237
|
-
# value: "StringInput", # required
|
1238
|
-
# },
|
1239
|
-
# ],
|
1240
|
-
# ecr_image_pushed_at: [
|
1241
|
-
# {
|
1242
|
-
# end_inclusive: Time.now,
|
1243
|
-
# start_inclusive: Time.now,
|
1244
|
-
# },
|
1245
|
-
# ],
|
1246
|
-
# ecr_image_registry: [
|
1247
|
-
# {
|
1248
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1249
|
-
# value: "StringInput", # required
|
1250
|
-
# },
|
1251
|
-
# ],
|
1252
|
-
# ecr_image_repository_name: [
|
1253
|
-
# {
|
1254
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1255
|
-
# value: "StringInput", # required
|
1256
|
-
# },
|
1257
|
-
# ],
|
1258
|
-
# ecr_image_tags: [
|
1259
|
-
# {
|
1260
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1261
|
-
# value: "StringInput", # required
|
1262
|
-
# },
|
1263
|
-
# ],
|
1264
|
-
# exploit_available: [
|
1265
|
-
# {
|
1266
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1267
|
-
# value: "StringInput", # required
|
1268
|
-
# },
|
1269
|
-
# ],
|
1270
|
-
# finding_arn: [
|
1271
|
-
# {
|
1272
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1273
|
-
# value: "StringInput", # required
|
1274
|
-
# },
|
1275
|
-
# ],
|
1276
|
-
# finding_status: [
|
1277
|
-
# {
|
1278
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1279
|
-
# value: "StringInput", # required
|
1280
|
-
# },
|
1281
|
-
# ],
|
1282
|
-
# finding_type: [
|
1283
|
-
# {
|
1284
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1285
|
-
# value: "StringInput", # required
|
1286
|
-
# },
|
1287
|
-
# ],
|
1288
|
-
# first_observed_at: [
|
1289
|
-
# {
|
1290
|
-
# end_inclusive: Time.now,
|
1291
|
-
# start_inclusive: Time.now,
|
1292
|
-
# },
|
1293
|
-
# ],
|
1294
|
-
# fix_available: [
|
1295
|
-
# {
|
1296
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1297
|
-
# value: "StringInput", # required
|
1298
|
-
# },
|
1299
|
-
# ],
|
1300
|
-
# inspector_score: [
|
1301
|
-
# {
|
1302
|
-
# lower_inclusive: 1.0,
|
1303
|
-
# upper_inclusive: 1.0,
|
1304
|
-
# },
|
1305
|
-
# ],
|
1306
|
-
# lambda_function_execution_role_arn: [
|
1307
|
-
# {
|
1308
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1309
|
-
# value: "StringInput", # required
|
1310
|
-
# },
|
1311
|
-
# ],
|
1312
|
-
# lambda_function_last_modified_at: [
|
1313
|
-
# {
|
1314
|
-
# end_inclusive: Time.now,
|
1315
|
-
# start_inclusive: Time.now,
|
1316
|
-
# },
|
1317
|
-
# ],
|
1318
|
-
# lambda_function_layers: [
|
1319
|
-
# {
|
1320
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1321
|
-
# value: "StringInput", # required
|
1322
|
-
# },
|
1323
|
-
# ],
|
1324
|
-
# lambda_function_name: [
|
1325
|
-
# {
|
1326
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1327
|
-
# value: "StringInput", # required
|
1328
|
-
# },
|
1329
|
-
# ],
|
1330
|
-
# lambda_function_runtime: [
|
1331
|
-
# {
|
1332
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1333
|
-
# value: "StringInput", # required
|
1334
|
-
# },
|
1335
|
-
# ],
|
1336
|
-
# last_observed_at: [
|
1337
|
-
# {
|
1338
|
-
# end_inclusive: Time.now,
|
1339
|
-
# start_inclusive: Time.now,
|
1340
|
-
# },
|
1341
|
-
# ],
|
1342
|
-
# network_protocol: [
|
1343
|
-
# {
|
1344
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1345
|
-
# value: "StringInput", # required
|
1346
|
-
# },
|
1347
|
-
# ],
|
1348
|
-
# port_range: [
|
1349
|
-
# {
|
1350
|
-
# begin_inclusive: 1,
|
1351
|
-
# end_inclusive: 1,
|
1352
|
-
# },
|
1353
|
-
# ],
|
1354
|
-
# related_vulnerabilities: [
|
1355
|
-
# {
|
1356
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1357
|
-
# value: "StringInput", # required
|
1358
|
-
# },
|
1359
|
-
# ],
|
1360
|
-
# resource_id: [
|
1361
|
-
# {
|
1362
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1363
|
-
# value: "StringInput", # required
|
1364
|
-
# },
|
1365
|
-
# ],
|
1366
|
-
# resource_tags: [
|
1367
|
-
# {
|
1368
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
1369
|
-
# key: "MapKey", # required
|
1370
|
-
# value: "MapValue",
|
1371
|
-
# },
|
1372
|
-
# ],
|
1373
|
-
# resource_type: [
|
1374
|
-
# {
|
1375
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1376
|
-
# value: "StringInput", # required
|
1377
|
-
# },
|
1378
|
-
# ],
|
1379
|
-
# severity: [
|
1380
|
-
# {
|
1381
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1382
|
-
# value: "StringInput", # required
|
1383
|
-
# },
|
1384
|
-
# ],
|
1385
|
-
# title: [
|
1386
|
-
# {
|
1387
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1388
|
-
# value: "StringInput", # required
|
1389
|
-
# },
|
1390
|
-
# ],
|
1391
|
-
# updated_at: [
|
1392
|
-
# {
|
1393
|
-
# end_inclusive: Time.now,
|
1394
|
-
# start_inclusive: Time.now,
|
1395
|
-
# },
|
1396
|
-
# ],
|
1397
|
-
# vendor_severity: [
|
1398
|
-
# {
|
1399
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1400
|
-
# value: "StringInput", # required
|
1401
|
-
# },
|
1402
|
-
# ],
|
1403
|
-
# vulnerability_id: [
|
1404
|
-
# {
|
1405
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1406
|
-
# value: "StringInput", # required
|
1407
|
-
# },
|
1408
|
-
# ],
|
1409
|
-
# vulnerability_source: [
|
1410
|
-
# {
|
1411
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1412
|
-
# value: "StringInput", # required
|
1413
|
-
# },
|
1414
|
-
# ],
|
1415
|
-
# vulnerable_packages: [
|
1416
|
-
# {
|
1417
|
-
# architecture: {
|
1418
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1419
|
-
# value: "StringInput", # required
|
1420
|
-
# },
|
1421
|
-
# epoch: {
|
1422
|
-
# lower_inclusive: 1.0,
|
1423
|
-
# upper_inclusive: 1.0,
|
1424
|
-
# },
|
1425
|
-
# name: {
|
1426
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1427
|
-
# value: "StringInput", # required
|
1428
|
-
# },
|
1429
|
-
# release: {
|
1430
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1431
|
-
# value: "StringInput", # required
|
1432
|
-
# },
|
1433
|
-
# source_lambda_layer_arn: {
|
1434
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1435
|
-
# value: "StringInput", # required
|
1436
|
-
# },
|
1437
|
-
# source_layer_hash: {
|
1438
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1439
|
-
# value: "StringInput", # required
|
1440
|
-
# },
|
1441
|
-
# version: {
|
1442
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1443
|
-
# value: "StringInput", # required
|
1444
|
-
# },
|
1445
|
-
# },
|
1446
|
-
# ],
|
1447
|
-
# },
|
1448
|
-
# name: "FilterName", # required
|
1449
|
-
# reason: "FilterReason",
|
1450
|
-
# tags: {
|
1451
|
-
# "MapKey" => "MapValue",
|
1452
|
-
# },
|
1453
|
-
# }
|
1454
|
-
#
|
1455
989
|
# @!attribute [rw] action
|
1456
990
|
# Defines the action that is to be applied to the findings that match
|
1457
991
|
# the filter.
|
@@ -1504,275 +1038,6 @@ module Aws::Inspector2
|
|
1504
1038
|
include Aws::Structure
|
1505
1039
|
end
|
1506
1040
|
|
1507
|
-
# @note When making an API call, you may pass CreateFindingsReportRequest
|
1508
|
-
# data as a hash:
|
1509
|
-
#
|
1510
|
-
# {
|
1511
|
-
# filter_criteria: {
|
1512
|
-
# aws_account_id: [
|
1513
|
-
# {
|
1514
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1515
|
-
# value: "StringInput", # required
|
1516
|
-
# },
|
1517
|
-
# ],
|
1518
|
-
# component_id: [
|
1519
|
-
# {
|
1520
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1521
|
-
# value: "StringInput", # required
|
1522
|
-
# },
|
1523
|
-
# ],
|
1524
|
-
# component_type: [
|
1525
|
-
# {
|
1526
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1527
|
-
# value: "StringInput", # required
|
1528
|
-
# },
|
1529
|
-
# ],
|
1530
|
-
# ec2_instance_image_id: [
|
1531
|
-
# {
|
1532
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1533
|
-
# value: "StringInput", # required
|
1534
|
-
# },
|
1535
|
-
# ],
|
1536
|
-
# ec2_instance_subnet_id: [
|
1537
|
-
# {
|
1538
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1539
|
-
# value: "StringInput", # required
|
1540
|
-
# },
|
1541
|
-
# ],
|
1542
|
-
# ec2_instance_vpc_id: [
|
1543
|
-
# {
|
1544
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1545
|
-
# value: "StringInput", # required
|
1546
|
-
# },
|
1547
|
-
# ],
|
1548
|
-
# ecr_image_architecture: [
|
1549
|
-
# {
|
1550
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1551
|
-
# value: "StringInput", # required
|
1552
|
-
# },
|
1553
|
-
# ],
|
1554
|
-
# ecr_image_hash: [
|
1555
|
-
# {
|
1556
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1557
|
-
# value: "StringInput", # required
|
1558
|
-
# },
|
1559
|
-
# ],
|
1560
|
-
# ecr_image_pushed_at: [
|
1561
|
-
# {
|
1562
|
-
# end_inclusive: Time.now,
|
1563
|
-
# start_inclusive: Time.now,
|
1564
|
-
# },
|
1565
|
-
# ],
|
1566
|
-
# ecr_image_registry: [
|
1567
|
-
# {
|
1568
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1569
|
-
# value: "StringInput", # required
|
1570
|
-
# },
|
1571
|
-
# ],
|
1572
|
-
# ecr_image_repository_name: [
|
1573
|
-
# {
|
1574
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1575
|
-
# value: "StringInput", # required
|
1576
|
-
# },
|
1577
|
-
# ],
|
1578
|
-
# ecr_image_tags: [
|
1579
|
-
# {
|
1580
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1581
|
-
# value: "StringInput", # required
|
1582
|
-
# },
|
1583
|
-
# ],
|
1584
|
-
# exploit_available: [
|
1585
|
-
# {
|
1586
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1587
|
-
# value: "StringInput", # required
|
1588
|
-
# },
|
1589
|
-
# ],
|
1590
|
-
# finding_arn: [
|
1591
|
-
# {
|
1592
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1593
|
-
# value: "StringInput", # required
|
1594
|
-
# },
|
1595
|
-
# ],
|
1596
|
-
# finding_status: [
|
1597
|
-
# {
|
1598
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1599
|
-
# value: "StringInput", # required
|
1600
|
-
# },
|
1601
|
-
# ],
|
1602
|
-
# finding_type: [
|
1603
|
-
# {
|
1604
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1605
|
-
# value: "StringInput", # required
|
1606
|
-
# },
|
1607
|
-
# ],
|
1608
|
-
# first_observed_at: [
|
1609
|
-
# {
|
1610
|
-
# end_inclusive: Time.now,
|
1611
|
-
# start_inclusive: Time.now,
|
1612
|
-
# },
|
1613
|
-
# ],
|
1614
|
-
# fix_available: [
|
1615
|
-
# {
|
1616
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1617
|
-
# value: "StringInput", # required
|
1618
|
-
# },
|
1619
|
-
# ],
|
1620
|
-
# inspector_score: [
|
1621
|
-
# {
|
1622
|
-
# lower_inclusive: 1.0,
|
1623
|
-
# upper_inclusive: 1.0,
|
1624
|
-
# },
|
1625
|
-
# ],
|
1626
|
-
# lambda_function_execution_role_arn: [
|
1627
|
-
# {
|
1628
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1629
|
-
# value: "StringInput", # required
|
1630
|
-
# },
|
1631
|
-
# ],
|
1632
|
-
# lambda_function_last_modified_at: [
|
1633
|
-
# {
|
1634
|
-
# end_inclusive: Time.now,
|
1635
|
-
# start_inclusive: Time.now,
|
1636
|
-
# },
|
1637
|
-
# ],
|
1638
|
-
# lambda_function_layers: [
|
1639
|
-
# {
|
1640
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1641
|
-
# value: "StringInput", # required
|
1642
|
-
# },
|
1643
|
-
# ],
|
1644
|
-
# lambda_function_name: [
|
1645
|
-
# {
|
1646
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1647
|
-
# value: "StringInput", # required
|
1648
|
-
# },
|
1649
|
-
# ],
|
1650
|
-
# lambda_function_runtime: [
|
1651
|
-
# {
|
1652
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1653
|
-
# value: "StringInput", # required
|
1654
|
-
# },
|
1655
|
-
# ],
|
1656
|
-
# last_observed_at: [
|
1657
|
-
# {
|
1658
|
-
# end_inclusive: Time.now,
|
1659
|
-
# start_inclusive: Time.now,
|
1660
|
-
# },
|
1661
|
-
# ],
|
1662
|
-
# network_protocol: [
|
1663
|
-
# {
|
1664
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1665
|
-
# value: "StringInput", # required
|
1666
|
-
# },
|
1667
|
-
# ],
|
1668
|
-
# port_range: [
|
1669
|
-
# {
|
1670
|
-
# begin_inclusive: 1,
|
1671
|
-
# end_inclusive: 1,
|
1672
|
-
# },
|
1673
|
-
# ],
|
1674
|
-
# related_vulnerabilities: [
|
1675
|
-
# {
|
1676
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1677
|
-
# value: "StringInput", # required
|
1678
|
-
# },
|
1679
|
-
# ],
|
1680
|
-
# resource_id: [
|
1681
|
-
# {
|
1682
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1683
|
-
# value: "StringInput", # required
|
1684
|
-
# },
|
1685
|
-
# ],
|
1686
|
-
# resource_tags: [
|
1687
|
-
# {
|
1688
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
1689
|
-
# key: "MapKey", # required
|
1690
|
-
# value: "MapValue",
|
1691
|
-
# },
|
1692
|
-
# ],
|
1693
|
-
# resource_type: [
|
1694
|
-
# {
|
1695
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1696
|
-
# value: "StringInput", # required
|
1697
|
-
# },
|
1698
|
-
# ],
|
1699
|
-
# severity: [
|
1700
|
-
# {
|
1701
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1702
|
-
# value: "StringInput", # required
|
1703
|
-
# },
|
1704
|
-
# ],
|
1705
|
-
# title: [
|
1706
|
-
# {
|
1707
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1708
|
-
# value: "StringInput", # required
|
1709
|
-
# },
|
1710
|
-
# ],
|
1711
|
-
# updated_at: [
|
1712
|
-
# {
|
1713
|
-
# end_inclusive: Time.now,
|
1714
|
-
# start_inclusive: Time.now,
|
1715
|
-
# },
|
1716
|
-
# ],
|
1717
|
-
# vendor_severity: [
|
1718
|
-
# {
|
1719
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1720
|
-
# value: "StringInput", # required
|
1721
|
-
# },
|
1722
|
-
# ],
|
1723
|
-
# vulnerability_id: [
|
1724
|
-
# {
|
1725
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1726
|
-
# value: "StringInput", # required
|
1727
|
-
# },
|
1728
|
-
# ],
|
1729
|
-
# vulnerability_source: [
|
1730
|
-
# {
|
1731
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1732
|
-
# value: "StringInput", # required
|
1733
|
-
# },
|
1734
|
-
# ],
|
1735
|
-
# vulnerable_packages: [
|
1736
|
-
# {
|
1737
|
-
# architecture: {
|
1738
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1739
|
-
# value: "StringInput", # required
|
1740
|
-
# },
|
1741
|
-
# epoch: {
|
1742
|
-
# lower_inclusive: 1.0,
|
1743
|
-
# upper_inclusive: 1.0,
|
1744
|
-
# },
|
1745
|
-
# name: {
|
1746
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1747
|
-
# value: "StringInput", # required
|
1748
|
-
# },
|
1749
|
-
# release: {
|
1750
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1751
|
-
# value: "StringInput", # required
|
1752
|
-
# },
|
1753
|
-
# source_lambda_layer_arn: {
|
1754
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1755
|
-
# value: "StringInput", # required
|
1756
|
-
# },
|
1757
|
-
# source_layer_hash: {
|
1758
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1759
|
-
# value: "StringInput", # required
|
1760
|
-
# },
|
1761
|
-
# version: {
|
1762
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1763
|
-
# value: "StringInput", # required
|
1764
|
-
# },
|
1765
|
-
# },
|
1766
|
-
# ],
|
1767
|
-
# },
|
1768
|
-
# report_format: "CSV", # required, accepts CSV, JSON
|
1769
|
-
# s3_destination: { # required
|
1770
|
-
# bucket_name: "String", # required
|
1771
|
-
# key_prefix: "String",
|
1772
|
-
# kms_key_arn: "String", # required
|
1773
|
-
# },
|
1774
|
-
# }
|
1775
|
-
#
|
1776
1041
|
# @!attribute [rw] filter_criteria
|
1777
1042
|
# The filter criteria to apply to the results of the finding report.
|
1778
1043
|
# @return [Types::FilterCriteria]
|
@@ -1898,14 +1163,6 @@ module Aws::Inspector2
|
|
1898
1163
|
|
1899
1164
|
# Contains details on the time range used to filter findings.
|
1900
1165
|
#
|
1901
|
-
# @note When making an API call, you may pass DateFilter
|
1902
|
-
# data as a hash:
|
1903
|
-
#
|
1904
|
-
# {
|
1905
|
-
# end_inclusive: Time.now,
|
1906
|
-
# start_inclusive: Time.now,
|
1907
|
-
# }
|
1908
|
-
#
|
1909
1166
|
# @!attribute [rw] end_inclusive
|
1910
1167
|
# A timestamp representing the end of the time period filtered on.
|
1911
1168
|
# @return [Time]
|
@@ -1965,13 +1222,6 @@ module Aws::Inspector2
|
|
1965
1222
|
include Aws::Structure
|
1966
1223
|
end
|
1967
1224
|
|
1968
|
-
# @note When making an API call, you may pass DeleteFilterRequest
|
1969
|
-
# data as a hash:
|
1970
|
-
#
|
1971
|
-
# {
|
1972
|
-
# arn: "FilterArn", # required
|
1973
|
-
# }
|
1974
|
-
#
|
1975
1225
|
# @!attribute [rw] arn
|
1976
1226
|
# The Amazon Resource Number (ARN) of the filter to be deleted.
|
1977
1227
|
# @return [String]
|
@@ -2025,15 +1275,6 @@ module Aws::Inspector2
|
|
2025
1275
|
# Contains details of the Amazon S3 bucket and KMS key used to export
|
2026
1276
|
# findings.
|
2027
1277
|
#
|
2028
|
-
# @note When making an API call, you may pass Destination
|
2029
|
-
# data as a hash:
|
2030
|
-
#
|
2031
|
-
# {
|
2032
|
-
# bucket_name: "String", # required
|
2033
|
-
# key_prefix: "String",
|
2034
|
-
# kms_key_arn: "String", # required
|
2035
|
-
# }
|
2036
|
-
#
|
2037
1278
|
# @!attribute [rw] bucket_name
|
2038
1279
|
# The name of the Amazon S3 bucket to export findings to.
|
2039
1280
|
# @return [String]
|
@@ -2056,13 +1297,6 @@ module Aws::Inspector2
|
|
2056
1297
|
include Aws::Structure
|
2057
1298
|
end
|
2058
1299
|
|
2059
|
-
# @note When making an API call, you may pass DisableDelegatedAdminAccountRequest
|
2060
|
-
# data as a hash:
|
2061
|
-
#
|
2062
|
-
# {
|
2063
|
-
# delegated_admin_account_id: "AccountId", # required
|
2064
|
-
# }
|
2065
|
-
#
|
2066
1300
|
# @!attribute [rw] delegated_admin_account_id
|
2067
1301
|
# The Amazon Web Services account ID of the current Amazon Inspector
|
2068
1302
|
# delegated administrator.
|
@@ -2089,14 +1323,6 @@ module Aws::Inspector2
|
|
2089
1323
|
include Aws::Structure
|
2090
1324
|
end
|
2091
1325
|
|
2092
|
-
# @note When making an API call, you may pass DisableRequest
|
2093
|
-
# data as a hash:
|
2094
|
-
#
|
2095
|
-
# {
|
2096
|
-
# account_ids: ["AccountId"],
|
2097
|
-
# resource_types: ["EC2"], # accepts EC2, ECR, LAMBDA
|
2098
|
-
# }
|
2099
|
-
#
|
2100
1326
|
# @!attribute [rw] account_ids
|
2101
1327
|
# An array of account IDs you want to disable Amazon Inspector scans
|
2102
1328
|
# for.
|
@@ -2134,13 +1360,6 @@ module Aws::Inspector2
|
|
2134
1360
|
include Aws::Structure
|
2135
1361
|
end
|
2136
1362
|
|
2137
|
-
# @note When making an API call, you may pass DisassociateMemberRequest
|
2138
|
-
# data as a hash:
|
2139
|
-
#
|
2140
|
-
# {
|
2141
|
-
# account_id: "AccountId", # required
|
2142
|
-
# }
|
2143
|
-
#
|
2144
1363
|
# @!attribute [rw] account_id
|
2145
1364
|
# The Amazon Web Services account ID of the member account to
|
2146
1365
|
# disassociate.
|
@@ -2169,39 +1388,6 @@ module Aws::Inspector2
|
|
2169
1388
|
|
2170
1389
|
# The details that define an aggregation based on Amazon EC2 instances.
|
2171
1390
|
#
|
2172
|
-
# @note When making an API call, you may pass Ec2InstanceAggregation
|
2173
|
-
# data as a hash:
|
2174
|
-
#
|
2175
|
-
# {
|
2176
|
-
# amis: [
|
2177
|
-
# {
|
2178
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2179
|
-
# value: "StringInput", # required
|
2180
|
-
# },
|
2181
|
-
# ],
|
2182
|
-
# instance_ids: [
|
2183
|
-
# {
|
2184
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2185
|
-
# value: "StringInput", # required
|
2186
|
-
# },
|
2187
|
-
# ],
|
2188
|
-
# instance_tags: [
|
2189
|
-
# {
|
2190
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
2191
|
-
# key: "MapKey", # required
|
2192
|
-
# value: "MapValue",
|
2193
|
-
# },
|
2194
|
-
# ],
|
2195
|
-
# operating_systems: [
|
2196
|
-
# {
|
2197
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2198
|
-
# value: "StringInput", # required
|
2199
|
-
# },
|
2200
|
-
# ],
|
2201
|
-
# sort_by: "NETWORK_FINDINGS", # accepts NETWORK_FINDINGS, CRITICAL, HIGH, ALL
|
2202
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
2203
|
-
# }
|
2204
|
-
#
|
2205
1391
|
# @!attribute [rw] amis
|
2206
1392
|
# The AMI IDs associated with the Amazon EC2 instances to aggregate
|
2207
1393
|
# findings for.
|
@@ -2315,13 +1501,6 @@ module Aws::Inspector2
|
|
2315
1501
|
# Details about the ECR automated re-scan duration setting for your
|
2316
1502
|
# environment.
|
2317
1503
|
#
|
2318
|
-
# @note When making an API call, you may pass EcrConfiguration
|
2319
|
-
# data as a hash:
|
2320
|
-
#
|
2321
|
-
# {
|
2322
|
-
# rescan_duration: "LIFETIME", # required, accepts LIFETIME, DAYS_30, DAYS_180
|
2323
|
-
# }
|
2324
|
-
#
|
2325
1504
|
# @!attribute [rw] rescan_duration
|
2326
1505
|
# The ECR automated re-scan duration defines how long an ECR image
|
2327
1506
|
# will be actively scanned by Amazon Inspector. When the number of
|
@@ -2418,14 +1597,6 @@ module Aws::Inspector2
|
|
2418
1597
|
include Aws::Structure
|
2419
1598
|
end
|
2420
1599
|
|
2421
|
-
# @note When making an API call, you may pass EnableDelegatedAdminAccountRequest
|
2422
|
-
# data as a hash:
|
2423
|
-
#
|
2424
|
-
# {
|
2425
|
-
# client_token: "ClientToken",
|
2426
|
-
# delegated_admin_account_id: "AccountId", # required
|
2427
|
-
# }
|
2428
|
-
#
|
2429
1600
|
# @!attribute [rw] client_token
|
2430
1601
|
# The idempotency token for the request.
|
2431
1602
|
#
|
@@ -2460,15 +1631,6 @@ module Aws::Inspector2
|
|
2460
1631
|
include Aws::Structure
|
2461
1632
|
end
|
2462
1633
|
|
2463
|
-
# @note When making an API call, you may pass EnableRequest
|
2464
|
-
# data as a hash:
|
2465
|
-
#
|
2466
|
-
# {
|
2467
|
-
# account_ids: ["AccountId"],
|
2468
|
-
# client_token: "ClientToken",
|
2469
|
-
# resource_types: ["EC2"], # required, accepts EC2, ECR, LAMBDA
|
2470
|
-
# }
|
2471
|
-
#
|
2472
1634
|
# @!attribute [rw] account_ids
|
2473
1635
|
# A list of account IDs you want to enable Amazon Inspector scans for.
|
2474
1636
|
# @return [Array<String>]
|
@@ -2630,267 +1792,6 @@ module Aws::Inspector2
|
|
2630
1792
|
|
2631
1793
|
# Details on the criteria used to define the filter.
|
2632
1794
|
#
|
2633
|
-
# @note When making an API call, you may pass FilterCriteria
|
2634
|
-
# data as a hash:
|
2635
|
-
#
|
2636
|
-
# {
|
2637
|
-
# aws_account_id: [
|
2638
|
-
# {
|
2639
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2640
|
-
# value: "StringInput", # required
|
2641
|
-
# },
|
2642
|
-
# ],
|
2643
|
-
# component_id: [
|
2644
|
-
# {
|
2645
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2646
|
-
# value: "StringInput", # required
|
2647
|
-
# },
|
2648
|
-
# ],
|
2649
|
-
# component_type: [
|
2650
|
-
# {
|
2651
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2652
|
-
# value: "StringInput", # required
|
2653
|
-
# },
|
2654
|
-
# ],
|
2655
|
-
# ec2_instance_image_id: [
|
2656
|
-
# {
|
2657
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2658
|
-
# value: "StringInput", # required
|
2659
|
-
# },
|
2660
|
-
# ],
|
2661
|
-
# ec2_instance_subnet_id: [
|
2662
|
-
# {
|
2663
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2664
|
-
# value: "StringInput", # required
|
2665
|
-
# },
|
2666
|
-
# ],
|
2667
|
-
# ec2_instance_vpc_id: [
|
2668
|
-
# {
|
2669
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2670
|
-
# value: "StringInput", # required
|
2671
|
-
# },
|
2672
|
-
# ],
|
2673
|
-
# ecr_image_architecture: [
|
2674
|
-
# {
|
2675
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2676
|
-
# value: "StringInput", # required
|
2677
|
-
# },
|
2678
|
-
# ],
|
2679
|
-
# ecr_image_hash: [
|
2680
|
-
# {
|
2681
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2682
|
-
# value: "StringInput", # required
|
2683
|
-
# },
|
2684
|
-
# ],
|
2685
|
-
# ecr_image_pushed_at: [
|
2686
|
-
# {
|
2687
|
-
# end_inclusive: Time.now,
|
2688
|
-
# start_inclusive: Time.now,
|
2689
|
-
# },
|
2690
|
-
# ],
|
2691
|
-
# ecr_image_registry: [
|
2692
|
-
# {
|
2693
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2694
|
-
# value: "StringInput", # required
|
2695
|
-
# },
|
2696
|
-
# ],
|
2697
|
-
# ecr_image_repository_name: [
|
2698
|
-
# {
|
2699
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2700
|
-
# value: "StringInput", # required
|
2701
|
-
# },
|
2702
|
-
# ],
|
2703
|
-
# ecr_image_tags: [
|
2704
|
-
# {
|
2705
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2706
|
-
# value: "StringInput", # required
|
2707
|
-
# },
|
2708
|
-
# ],
|
2709
|
-
# exploit_available: [
|
2710
|
-
# {
|
2711
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2712
|
-
# value: "StringInput", # required
|
2713
|
-
# },
|
2714
|
-
# ],
|
2715
|
-
# finding_arn: [
|
2716
|
-
# {
|
2717
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2718
|
-
# value: "StringInput", # required
|
2719
|
-
# },
|
2720
|
-
# ],
|
2721
|
-
# finding_status: [
|
2722
|
-
# {
|
2723
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2724
|
-
# value: "StringInput", # required
|
2725
|
-
# },
|
2726
|
-
# ],
|
2727
|
-
# finding_type: [
|
2728
|
-
# {
|
2729
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2730
|
-
# value: "StringInput", # required
|
2731
|
-
# },
|
2732
|
-
# ],
|
2733
|
-
# first_observed_at: [
|
2734
|
-
# {
|
2735
|
-
# end_inclusive: Time.now,
|
2736
|
-
# start_inclusive: Time.now,
|
2737
|
-
# },
|
2738
|
-
# ],
|
2739
|
-
# fix_available: [
|
2740
|
-
# {
|
2741
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2742
|
-
# value: "StringInput", # required
|
2743
|
-
# },
|
2744
|
-
# ],
|
2745
|
-
# inspector_score: [
|
2746
|
-
# {
|
2747
|
-
# lower_inclusive: 1.0,
|
2748
|
-
# upper_inclusive: 1.0,
|
2749
|
-
# },
|
2750
|
-
# ],
|
2751
|
-
# lambda_function_execution_role_arn: [
|
2752
|
-
# {
|
2753
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2754
|
-
# value: "StringInput", # required
|
2755
|
-
# },
|
2756
|
-
# ],
|
2757
|
-
# lambda_function_last_modified_at: [
|
2758
|
-
# {
|
2759
|
-
# end_inclusive: Time.now,
|
2760
|
-
# start_inclusive: Time.now,
|
2761
|
-
# },
|
2762
|
-
# ],
|
2763
|
-
# lambda_function_layers: [
|
2764
|
-
# {
|
2765
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2766
|
-
# value: "StringInput", # required
|
2767
|
-
# },
|
2768
|
-
# ],
|
2769
|
-
# lambda_function_name: [
|
2770
|
-
# {
|
2771
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2772
|
-
# value: "StringInput", # required
|
2773
|
-
# },
|
2774
|
-
# ],
|
2775
|
-
# lambda_function_runtime: [
|
2776
|
-
# {
|
2777
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2778
|
-
# value: "StringInput", # required
|
2779
|
-
# },
|
2780
|
-
# ],
|
2781
|
-
# last_observed_at: [
|
2782
|
-
# {
|
2783
|
-
# end_inclusive: Time.now,
|
2784
|
-
# start_inclusive: Time.now,
|
2785
|
-
# },
|
2786
|
-
# ],
|
2787
|
-
# network_protocol: [
|
2788
|
-
# {
|
2789
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2790
|
-
# value: "StringInput", # required
|
2791
|
-
# },
|
2792
|
-
# ],
|
2793
|
-
# port_range: [
|
2794
|
-
# {
|
2795
|
-
# begin_inclusive: 1,
|
2796
|
-
# end_inclusive: 1,
|
2797
|
-
# },
|
2798
|
-
# ],
|
2799
|
-
# related_vulnerabilities: [
|
2800
|
-
# {
|
2801
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2802
|
-
# value: "StringInput", # required
|
2803
|
-
# },
|
2804
|
-
# ],
|
2805
|
-
# resource_id: [
|
2806
|
-
# {
|
2807
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2808
|
-
# value: "StringInput", # required
|
2809
|
-
# },
|
2810
|
-
# ],
|
2811
|
-
# resource_tags: [
|
2812
|
-
# {
|
2813
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
2814
|
-
# key: "MapKey", # required
|
2815
|
-
# value: "MapValue",
|
2816
|
-
# },
|
2817
|
-
# ],
|
2818
|
-
# resource_type: [
|
2819
|
-
# {
|
2820
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2821
|
-
# value: "StringInput", # required
|
2822
|
-
# },
|
2823
|
-
# ],
|
2824
|
-
# severity: [
|
2825
|
-
# {
|
2826
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2827
|
-
# value: "StringInput", # required
|
2828
|
-
# },
|
2829
|
-
# ],
|
2830
|
-
# title: [
|
2831
|
-
# {
|
2832
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2833
|
-
# value: "StringInput", # required
|
2834
|
-
# },
|
2835
|
-
# ],
|
2836
|
-
# updated_at: [
|
2837
|
-
# {
|
2838
|
-
# end_inclusive: Time.now,
|
2839
|
-
# start_inclusive: Time.now,
|
2840
|
-
# },
|
2841
|
-
# ],
|
2842
|
-
# vendor_severity: [
|
2843
|
-
# {
|
2844
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2845
|
-
# value: "StringInput", # required
|
2846
|
-
# },
|
2847
|
-
# ],
|
2848
|
-
# vulnerability_id: [
|
2849
|
-
# {
|
2850
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2851
|
-
# value: "StringInput", # required
|
2852
|
-
# },
|
2853
|
-
# ],
|
2854
|
-
# vulnerability_source: [
|
2855
|
-
# {
|
2856
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2857
|
-
# value: "StringInput", # required
|
2858
|
-
# },
|
2859
|
-
# ],
|
2860
|
-
# vulnerable_packages: [
|
2861
|
-
# {
|
2862
|
-
# architecture: {
|
2863
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2864
|
-
# value: "StringInput", # required
|
2865
|
-
# },
|
2866
|
-
# epoch: {
|
2867
|
-
# lower_inclusive: 1.0,
|
2868
|
-
# upper_inclusive: 1.0,
|
2869
|
-
# },
|
2870
|
-
# name: {
|
2871
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2872
|
-
# value: "StringInput", # required
|
2873
|
-
# },
|
2874
|
-
# release: {
|
2875
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2876
|
-
# value: "StringInput", # required
|
2877
|
-
# },
|
2878
|
-
# source_lambda_layer_arn: {
|
2879
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2880
|
-
# value: "StringInput", # required
|
2881
|
-
# },
|
2882
|
-
# source_layer_hash: {
|
2883
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2884
|
-
# value: "StringInput", # required
|
2885
|
-
# },
|
2886
|
-
# version: {
|
2887
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2888
|
-
# value: "StringInput", # required
|
2889
|
-
# },
|
2890
|
-
# },
|
2891
|
-
# ],
|
2892
|
-
# }
|
2893
|
-
#
|
2894
1795
|
# @!attribute [rw] aws_account_id
|
2895
1796
|
# Details of the Amazon Web Services account IDs used to filter
|
2896
1797
|
# findings.
|
@@ -3227,16 +2128,6 @@ module Aws::Inspector2
|
|
3227
2128
|
|
3228
2129
|
# The details that define an aggregation based on finding type.
|
3229
2130
|
#
|
3230
|
-
# @note When making an API call, you may pass FindingTypeAggregation
|
3231
|
-
# data as a hash:
|
3232
|
-
#
|
3233
|
-
# {
|
3234
|
-
# finding_type: "NETWORK_REACHABILITY", # accepts NETWORK_REACHABILITY, PACKAGE_VULNERABILITY
|
3235
|
-
# resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE, AWS_LAMBDA_FUNCTION
|
3236
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
3237
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
3238
|
-
# }
|
3239
|
-
#
|
3240
2131
|
# @!attribute [rw] finding_type
|
3241
2132
|
# The finding type to aggregate.
|
3242
2133
|
# @return [String]
|
@@ -3401,13 +2292,6 @@ module Aws::Inspector2
|
|
3401
2292
|
include Aws::Structure
|
3402
2293
|
end
|
3403
2294
|
|
3404
|
-
# @note When making an API call, you may pass GetFindingsReportStatusRequest
|
3405
|
-
# data as a hash:
|
3406
|
-
#
|
3407
|
-
# {
|
3408
|
-
# report_id: "ReportId",
|
3409
|
-
# }
|
3410
|
-
#
|
3411
2295
|
# @!attribute [rw] report_id
|
3412
2296
|
# The ID of the report to retrieve the status of.
|
3413
2297
|
# @return [String]
|
@@ -3457,13 +2341,6 @@ module Aws::Inspector2
|
|
3457
2341
|
include Aws::Structure
|
3458
2342
|
end
|
3459
2343
|
|
3460
|
-
# @note When making an API call, you may pass GetMemberRequest
|
3461
|
-
# data as a hash:
|
3462
|
-
#
|
3463
|
-
# {
|
3464
|
-
# account_id: "AccountId", # required
|
3465
|
-
# }
|
3466
|
-
#
|
3467
2344
|
# @!attribute [rw] account_id
|
3468
2345
|
# The Amazon Web Services account ID of the member account to retrieve
|
3469
2346
|
# information on.
|
@@ -3492,32 +2369,6 @@ module Aws::Inspector2
|
|
3492
2369
|
# The details that define an aggregation based on container image
|
3493
2370
|
# layers.
|
3494
2371
|
#
|
3495
|
-
# @note When making an API call, you may pass ImageLayerAggregation
|
3496
|
-
# data as a hash:
|
3497
|
-
#
|
3498
|
-
# {
|
3499
|
-
# layer_hashes: [
|
3500
|
-
# {
|
3501
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3502
|
-
# value: "StringInput", # required
|
3503
|
-
# },
|
3504
|
-
# ],
|
3505
|
-
# repositories: [
|
3506
|
-
# {
|
3507
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3508
|
-
# value: "StringInput", # required
|
3509
|
-
# },
|
3510
|
-
# ],
|
3511
|
-
# resource_ids: [
|
3512
|
-
# {
|
3513
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3514
|
-
# value: "StringInput", # required
|
3515
|
-
# },
|
3516
|
-
# ],
|
3517
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
3518
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
3519
|
-
# }
|
3520
|
-
#
|
3521
2372
|
# @!attribute [rw] layer_hashes
|
3522
2373
|
# The hashes associated with the layers.
|
3523
2374
|
# @return [Array<Types::StringFilter>]
|
@@ -3625,39 +2476,6 @@ module Aws::Inspector2
|
|
3625
2476
|
# The details that define a findings aggregation based on AWS Lambda
|
3626
2477
|
# functions.
|
3627
2478
|
#
|
3628
|
-
# @note When making an API call, you may pass LambdaFunctionAggregation
|
3629
|
-
# data as a hash:
|
3630
|
-
#
|
3631
|
-
# {
|
3632
|
-
# function_names: [
|
3633
|
-
# {
|
3634
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3635
|
-
# value: "StringInput", # required
|
3636
|
-
# },
|
3637
|
-
# ],
|
3638
|
-
# function_tags: [
|
3639
|
-
# {
|
3640
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
3641
|
-
# key: "MapKey", # required
|
3642
|
-
# value: "MapValue",
|
3643
|
-
# },
|
3644
|
-
# ],
|
3645
|
-
# resource_ids: [
|
3646
|
-
# {
|
3647
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3648
|
-
# value: "StringInput", # required
|
3649
|
-
# },
|
3650
|
-
# ],
|
3651
|
-
# runtimes: [
|
3652
|
-
# {
|
3653
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3654
|
-
# value: "StringInput", # required
|
3655
|
-
# },
|
3656
|
-
# ],
|
3657
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
3658
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
3659
|
-
# }
|
3660
|
-
#
|
3661
2479
|
# @!attribute [rw] function_names
|
3662
2480
|
# The AWS Lambda function names to include in the aggregation results.
|
3663
2481
|
# @return [Array<Types::StringFilter>]
|
@@ -3776,32 +2594,6 @@ module Aws::Inspector2
|
|
3776
2594
|
# The details that define a findings aggregation based on an AWS Lambda
|
3777
2595
|
# function's layers.
|
3778
2596
|
#
|
3779
|
-
# @note When making an API call, you may pass LambdaLayerAggregation
|
3780
|
-
# data as a hash:
|
3781
|
-
#
|
3782
|
-
# {
|
3783
|
-
# function_names: [
|
3784
|
-
# {
|
3785
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3786
|
-
# value: "StringInput", # required
|
3787
|
-
# },
|
3788
|
-
# ],
|
3789
|
-
# layer_arns: [
|
3790
|
-
# {
|
3791
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3792
|
-
# value: "StringInput", # required
|
3793
|
-
# },
|
3794
|
-
# ],
|
3795
|
-
# resource_ids: [
|
3796
|
-
# {
|
3797
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
3798
|
-
# value: "StringInput", # required
|
3799
|
-
# },
|
3800
|
-
# ],
|
3801
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
3802
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
3803
|
-
# }
|
3804
|
-
#
|
3805
2597
|
# @!attribute [rw] function_names
|
3806
2598
|
# The names of the AWS Lambda functions associated with the layers.
|
3807
2599
|
# @return [Array<Types::StringFilter>]
|
@@ -3904,15 +2696,6 @@ module Aws::Inspector2
|
|
3904
2696
|
include Aws::Structure
|
3905
2697
|
end
|
3906
2698
|
|
3907
|
-
# @note When making an API call, you may pass ListAccountPermissionsRequest
|
3908
|
-
# data as a hash:
|
3909
|
-
#
|
3910
|
-
# {
|
3911
|
-
# max_results: 1,
|
3912
|
-
# next_token: "NextToken",
|
3913
|
-
# service: "EC2", # accepts EC2, ECR, LAMBDA
|
3914
|
-
# }
|
3915
|
-
#
|
3916
2699
|
# @!attribute [rw] max_results
|
3917
2700
|
# The maximum number of results to return in the response.
|
3918
2701
|
# @return [Integer]
|
@@ -3961,90 +2744,6 @@ module Aws::Inspector2
|
|
3961
2744
|
include Aws::Structure
|
3962
2745
|
end
|
3963
2746
|
|
3964
|
-
# @note When making an API call, you may pass ListCoverageRequest
|
3965
|
-
# data as a hash:
|
3966
|
-
#
|
3967
|
-
# {
|
3968
|
-
# filter_criteria: {
|
3969
|
-
# account_id: [
|
3970
|
-
# {
|
3971
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3972
|
-
# value: "CoverageStringInput", # required
|
3973
|
-
# },
|
3974
|
-
# ],
|
3975
|
-
# ec2_instance_tags: [
|
3976
|
-
# {
|
3977
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
3978
|
-
# key: "NonEmptyString", # required
|
3979
|
-
# value: "NonEmptyString",
|
3980
|
-
# },
|
3981
|
-
# ],
|
3982
|
-
# ecr_image_tags: [
|
3983
|
-
# {
|
3984
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3985
|
-
# value: "CoverageStringInput", # required
|
3986
|
-
# },
|
3987
|
-
# ],
|
3988
|
-
# ecr_repository_name: [
|
3989
|
-
# {
|
3990
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3991
|
-
# value: "CoverageStringInput", # required
|
3992
|
-
# },
|
3993
|
-
# ],
|
3994
|
-
# lambda_function_name: [
|
3995
|
-
# {
|
3996
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3997
|
-
# value: "CoverageStringInput", # required
|
3998
|
-
# },
|
3999
|
-
# ],
|
4000
|
-
# lambda_function_runtime: [
|
4001
|
-
# {
|
4002
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
4003
|
-
# value: "CoverageStringInput", # required
|
4004
|
-
# },
|
4005
|
-
# ],
|
4006
|
-
# lambda_function_tags: [
|
4007
|
-
# {
|
4008
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
4009
|
-
# key: "NonEmptyString", # required
|
4010
|
-
# value: "NonEmptyString",
|
4011
|
-
# },
|
4012
|
-
# ],
|
4013
|
-
# resource_id: [
|
4014
|
-
# {
|
4015
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
4016
|
-
# value: "CoverageStringInput", # required
|
4017
|
-
# },
|
4018
|
-
# ],
|
4019
|
-
# resource_type: [
|
4020
|
-
# {
|
4021
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
4022
|
-
# value: "CoverageStringInput", # required
|
4023
|
-
# },
|
4024
|
-
# ],
|
4025
|
-
# scan_status_code: [
|
4026
|
-
# {
|
4027
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
4028
|
-
# value: "CoverageStringInput", # required
|
4029
|
-
# },
|
4030
|
-
# ],
|
4031
|
-
# scan_status_reason: [
|
4032
|
-
# {
|
4033
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
4034
|
-
# value: "CoverageStringInput", # required
|
4035
|
-
# },
|
4036
|
-
# ],
|
4037
|
-
# scan_type: [
|
4038
|
-
# {
|
4039
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
4040
|
-
# value: "CoverageStringInput", # required
|
4041
|
-
# },
|
4042
|
-
# ],
|
4043
|
-
# },
|
4044
|
-
# max_results: 1,
|
4045
|
-
# next_token: "NextToken",
|
4046
|
-
# }
|
4047
|
-
#
|
4048
2747
|
# @!attribute [rw] filter_criteria
|
4049
2748
|
# An object that contains details on the filters to apply to the
|
4050
2749
|
# coverage data for your environment.
|
@@ -4094,90 +2793,6 @@ module Aws::Inspector2
|
|
4094
2793
|
include Aws::Structure
|
4095
2794
|
end
|
4096
2795
|
|
4097
|
-
# @note When making an API call, you may pass ListCoverageStatisticsRequest
|
4098
|
-
# data as a hash:
|
4099
|
-
#
|
4100
|
-
# {
|
4101
|
-
# filter_criteria: {
|
4102
|
-
# account_id: [
|
4103
|
-
# {
|
4104
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
4105
|
-
# value: "CoverageStringInput", # required
|
4106
|
-
# },
|
4107
|
-
# ],
|
4108
|
-
# ec2_instance_tags: [
|
4109
|
-
# {
|
4110
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
4111
|
-
# key: "NonEmptyString", # required
|
4112
|
-
# value: "NonEmptyString",
|
4113
|
-
# },
|
4114
|
-
# ],
|
4115
|
-
# ecr_image_tags: [
|
4116
|
-
# {
|
4117
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
4118
|
-
# value: "CoverageStringInput", # required
|
4119
|
-
# },
|
4120
|
-
# ],
|
4121
|
-
# ecr_repository_name: [
|
4122
|
-
# {
|
4123
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
4124
|
-
# value: "CoverageStringInput", # required
|
4125
|
-
# },
|
4126
|
-
# ],
|
4127
|
-
# lambda_function_name: [
|
4128
|
-
# {
|
4129
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
4130
|
-
# value: "CoverageStringInput", # required
|
4131
|
-
# },
|
4132
|
-
# ],
|
4133
|
-
# lambda_function_runtime: [
|
4134
|
-
# {
|
4135
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
4136
|
-
# value: "CoverageStringInput", # required
|
4137
|
-
# },
|
4138
|
-
# ],
|
4139
|
-
# lambda_function_tags: [
|
4140
|
-
# {
|
4141
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
4142
|
-
# key: "NonEmptyString", # required
|
4143
|
-
# value: "NonEmptyString",
|
4144
|
-
# },
|
4145
|
-
# ],
|
4146
|
-
# resource_id: [
|
4147
|
-
# {
|
4148
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
4149
|
-
# value: "CoverageStringInput", # required
|
4150
|
-
# },
|
4151
|
-
# ],
|
4152
|
-
# resource_type: [
|
4153
|
-
# {
|
4154
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
4155
|
-
# value: "CoverageStringInput", # required
|
4156
|
-
# },
|
4157
|
-
# ],
|
4158
|
-
# scan_status_code: [
|
4159
|
-
# {
|
4160
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
4161
|
-
# value: "CoverageStringInput", # required
|
4162
|
-
# },
|
4163
|
-
# ],
|
4164
|
-
# scan_status_reason: [
|
4165
|
-
# {
|
4166
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
4167
|
-
# value: "CoverageStringInput", # required
|
4168
|
-
# },
|
4169
|
-
# ],
|
4170
|
-
# scan_type: [
|
4171
|
-
# {
|
4172
|
-
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
4173
|
-
# value: "CoverageStringInput", # required
|
4174
|
-
# },
|
4175
|
-
# ],
|
4176
|
-
# },
|
4177
|
-
# group_by: "SCAN_STATUS_CODE", # accepts SCAN_STATUS_CODE, SCAN_STATUS_REASON, ACCOUNT_ID, RESOURCE_TYPE, ECR_REPOSITORY_NAME
|
4178
|
-
# next_token: "NextToken",
|
4179
|
-
# }
|
4180
|
-
#
|
4181
2796
|
# @!attribute [rw] filter_criteria
|
4182
2797
|
# An object that contains details on the filters to apply to the
|
4183
2798
|
# coverage data for your environment.
|
@@ -4231,14 +2846,6 @@ module Aws::Inspector2
|
|
4231
2846
|
include Aws::Structure
|
4232
2847
|
end
|
4233
2848
|
|
4234
|
-
# @note When making an API call, you may pass ListDelegatedAdminAccountsRequest
|
4235
|
-
# data as a hash:
|
4236
|
-
#
|
4237
|
-
# {
|
4238
|
-
# max_results: 1,
|
4239
|
-
# next_token: "NextToken",
|
4240
|
-
# }
|
4241
|
-
#
|
4242
2849
|
# @!attribute [rw] max_results
|
4243
2850
|
# The maximum number of results to return in the response.
|
4244
2851
|
# @return [Integer]
|
@@ -4282,16 +2889,6 @@ module Aws::Inspector2
|
|
4282
2889
|
include Aws::Structure
|
4283
2890
|
end
|
4284
2891
|
|
4285
|
-
# @note When making an API call, you may pass ListFiltersRequest
|
4286
|
-
# data as a hash:
|
4287
|
-
#
|
4288
|
-
# {
|
4289
|
-
# action: "NONE", # accepts NONE, SUPPRESS
|
4290
|
-
# arns: ["FilterArn"],
|
4291
|
-
# max_results: 1,
|
4292
|
-
# next_token: "NextToken",
|
4293
|
-
# }
|
4294
|
-
#
|
4295
2892
|
# @!attribute [rw] action
|
4296
2893
|
# The action the filter applies to matched findings.
|
4297
2894
|
# @return [String]
|
@@ -4344,218 +2941,6 @@ module Aws::Inspector2
|
|
4344
2941
|
include Aws::Structure
|
4345
2942
|
end
|
4346
2943
|
|
4347
|
-
# @note When making an API call, you may pass ListFindingAggregationsRequest
|
4348
|
-
# data as a hash:
|
4349
|
-
#
|
4350
|
-
# {
|
4351
|
-
# account_ids: [
|
4352
|
-
# {
|
4353
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4354
|
-
# value: "StringInput", # required
|
4355
|
-
# },
|
4356
|
-
# ],
|
4357
|
-
# aggregation_request: {
|
4358
|
-
# account_aggregation: {
|
4359
|
-
# finding_type: "NETWORK_REACHABILITY", # accepts NETWORK_REACHABILITY, PACKAGE_VULNERABILITY
|
4360
|
-
# resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE, AWS_LAMBDA_FUNCTION
|
4361
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
4362
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
4363
|
-
# },
|
4364
|
-
# ami_aggregation: {
|
4365
|
-
# amis: [
|
4366
|
-
# {
|
4367
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4368
|
-
# value: "StringInput", # required
|
4369
|
-
# },
|
4370
|
-
# ],
|
4371
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL, AFFECTED_INSTANCES
|
4372
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
4373
|
-
# },
|
4374
|
-
# aws_ecr_container_aggregation: {
|
4375
|
-
# architectures: [
|
4376
|
-
# {
|
4377
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4378
|
-
# value: "StringInput", # required
|
4379
|
-
# },
|
4380
|
-
# ],
|
4381
|
-
# image_shas: [
|
4382
|
-
# {
|
4383
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4384
|
-
# value: "StringInput", # required
|
4385
|
-
# },
|
4386
|
-
# ],
|
4387
|
-
# image_tags: [
|
4388
|
-
# {
|
4389
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4390
|
-
# value: "StringInput", # required
|
4391
|
-
# },
|
4392
|
-
# ],
|
4393
|
-
# repositories: [
|
4394
|
-
# {
|
4395
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4396
|
-
# value: "StringInput", # required
|
4397
|
-
# },
|
4398
|
-
# ],
|
4399
|
-
# resource_ids: [
|
4400
|
-
# {
|
4401
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4402
|
-
# value: "StringInput", # required
|
4403
|
-
# },
|
4404
|
-
# ],
|
4405
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
4406
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
4407
|
-
# },
|
4408
|
-
# ec2_instance_aggregation: {
|
4409
|
-
# amis: [
|
4410
|
-
# {
|
4411
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4412
|
-
# value: "StringInput", # required
|
4413
|
-
# },
|
4414
|
-
# ],
|
4415
|
-
# instance_ids: [
|
4416
|
-
# {
|
4417
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4418
|
-
# value: "StringInput", # required
|
4419
|
-
# },
|
4420
|
-
# ],
|
4421
|
-
# instance_tags: [
|
4422
|
-
# {
|
4423
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
4424
|
-
# key: "MapKey", # required
|
4425
|
-
# value: "MapValue",
|
4426
|
-
# },
|
4427
|
-
# ],
|
4428
|
-
# operating_systems: [
|
4429
|
-
# {
|
4430
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4431
|
-
# value: "StringInput", # required
|
4432
|
-
# },
|
4433
|
-
# ],
|
4434
|
-
# sort_by: "NETWORK_FINDINGS", # accepts NETWORK_FINDINGS, CRITICAL, HIGH, ALL
|
4435
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
4436
|
-
# },
|
4437
|
-
# finding_type_aggregation: {
|
4438
|
-
# finding_type: "NETWORK_REACHABILITY", # accepts NETWORK_REACHABILITY, PACKAGE_VULNERABILITY
|
4439
|
-
# resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE, AWS_LAMBDA_FUNCTION
|
4440
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
4441
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
4442
|
-
# },
|
4443
|
-
# image_layer_aggregation: {
|
4444
|
-
# layer_hashes: [
|
4445
|
-
# {
|
4446
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4447
|
-
# value: "StringInput", # required
|
4448
|
-
# },
|
4449
|
-
# ],
|
4450
|
-
# repositories: [
|
4451
|
-
# {
|
4452
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4453
|
-
# value: "StringInput", # required
|
4454
|
-
# },
|
4455
|
-
# ],
|
4456
|
-
# resource_ids: [
|
4457
|
-
# {
|
4458
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4459
|
-
# value: "StringInput", # required
|
4460
|
-
# },
|
4461
|
-
# ],
|
4462
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
4463
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
4464
|
-
# },
|
4465
|
-
# lambda_function_aggregation: {
|
4466
|
-
# function_names: [
|
4467
|
-
# {
|
4468
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4469
|
-
# value: "StringInput", # required
|
4470
|
-
# },
|
4471
|
-
# ],
|
4472
|
-
# function_tags: [
|
4473
|
-
# {
|
4474
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
4475
|
-
# key: "MapKey", # required
|
4476
|
-
# value: "MapValue",
|
4477
|
-
# },
|
4478
|
-
# ],
|
4479
|
-
# resource_ids: [
|
4480
|
-
# {
|
4481
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4482
|
-
# value: "StringInput", # required
|
4483
|
-
# },
|
4484
|
-
# ],
|
4485
|
-
# runtimes: [
|
4486
|
-
# {
|
4487
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4488
|
-
# value: "StringInput", # required
|
4489
|
-
# },
|
4490
|
-
# ],
|
4491
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
4492
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
4493
|
-
# },
|
4494
|
-
# lambda_layer_aggregation: {
|
4495
|
-
# function_names: [
|
4496
|
-
# {
|
4497
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4498
|
-
# value: "StringInput", # required
|
4499
|
-
# },
|
4500
|
-
# ],
|
4501
|
-
# layer_arns: [
|
4502
|
-
# {
|
4503
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4504
|
-
# value: "StringInput", # required
|
4505
|
-
# },
|
4506
|
-
# ],
|
4507
|
-
# resource_ids: [
|
4508
|
-
# {
|
4509
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4510
|
-
# value: "StringInput", # required
|
4511
|
-
# },
|
4512
|
-
# ],
|
4513
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
4514
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
4515
|
-
# },
|
4516
|
-
# package_aggregation: {
|
4517
|
-
# package_names: [
|
4518
|
-
# {
|
4519
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4520
|
-
# value: "StringInput", # required
|
4521
|
-
# },
|
4522
|
-
# ],
|
4523
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
4524
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
4525
|
-
# },
|
4526
|
-
# repository_aggregation: {
|
4527
|
-
# repositories: [
|
4528
|
-
# {
|
4529
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4530
|
-
# value: "StringInput", # required
|
4531
|
-
# },
|
4532
|
-
# ],
|
4533
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL, AFFECTED_IMAGES
|
4534
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
4535
|
-
# },
|
4536
|
-
# title_aggregation: {
|
4537
|
-
# resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE, AWS_LAMBDA_FUNCTION
|
4538
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
4539
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
4540
|
-
# titles: [
|
4541
|
-
# {
|
4542
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4543
|
-
# value: "StringInput", # required
|
4544
|
-
# },
|
4545
|
-
# ],
|
4546
|
-
# vulnerability_ids: [
|
4547
|
-
# {
|
4548
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4549
|
-
# value: "StringInput", # required
|
4550
|
-
# },
|
4551
|
-
# ],
|
4552
|
-
# },
|
4553
|
-
# },
|
4554
|
-
# 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
|
4555
|
-
# max_results: 1,
|
4556
|
-
# next_token: "NextToken",
|
4557
|
-
# }
|
4558
|
-
#
|
4559
2944
|
# @!attribute [rw] account_ids
|
4560
2945
|
# The Amazon Web Services account IDs to retrieve finding aggregation
|
4561
2946
|
# data for.
|
@@ -4620,275 +3005,6 @@ module Aws::Inspector2
|
|
4620
3005
|
include Aws::Structure
|
4621
3006
|
end
|
4622
3007
|
|
4623
|
-
# @note When making an API call, you may pass ListFindingsRequest
|
4624
|
-
# data as a hash:
|
4625
|
-
#
|
4626
|
-
# {
|
4627
|
-
# filter_criteria: {
|
4628
|
-
# aws_account_id: [
|
4629
|
-
# {
|
4630
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4631
|
-
# value: "StringInput", # required
|
4632
|
-
# },
|
4633
|
-
# ],
|
4634
|
-
# component_id: [
|
4635
|
-
# {
|
4636
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4637
|
-
# value: "StringInput", # required
|
4638
|
-
# },
|
4639
|
-
# ],
|
4640
|
-
# component_type: [
|
4641
|
-
# {
|
4642
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4643
|
-
# value: "StringInput", # required
|
4644
|
-
# },
|
4645
|
-
# ],
|
4646
|
-
# ec2_instance_image_id: [
|
4647
|
-
# {
|
4648
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4649
|
-
# value: "StringInput", # required
|
4650
|
-
# },
|
4651
|
-
# ],
|
4652
|
-
# ec2_instance_subnet_id: [
|
4653
|
-
# {
|
4654
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4655
|
-
# value: "StringInput", # required
|
4656
|
-
# },
|
4657
|
-
# ],
|
4658
|
-
# ec2_instance_vpc_id: [
|
4659
|
-
# {
|
4660
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4661
|
-
# value: "StringInput", # required
|
4662
|
-
# },
|
4663
|
-
# ],
|
4664
|
-
# ecr_image_architecture: [
|
4665
|
-
# {
|
4666
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4667
|
-
# value: "StringInput", # required
|
4668
|
-
# },
|
4669
|
-
# ],
|
4670
|
-
# ecr_image_hash: [
|
4671
|
-
# {
|
4672
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4673
|
-
# value: "StringInput", # required
|
4674
|
-
# },
|
4675
|
-
# ],
|
4676
|
-
# ecr_image_pushed_at: [
|
4677
|
-
# {
|
4678
|
-
# end_inclusive: Time.now,
|
4679
|
-
# start_inclusive: Time.now,
|
4680
|
-
# },
|
4681
|
-
# ],
|
4682
|
-
# ecr_image_registry: [
|
4683
|
-
# {
|
4684
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4685
|
-
# value: "StringInput", # required
|
4686
|
-
# },
|
4687
|
-
# ],
|
4688
|
-
# ecr_image_repository_name: [
|
4689
|
-
# {
|
4690
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4691
|
-
# value: "StringInput", # required
|
4692
|
-
# },
|
4693
|
-
# ],
|
4694
|
-
# ecr_image_tags: [
|
4695
|
-
# {
|
4696
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4697
|
-
# value: "StringInput", # required
|
4698
|
-
# },
|
4699
|
-
# ],
|
4700
|
-
# exploit_available: [
|
4701
|
-
# {
|
4702
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4703
|
-
# value: "StringInput", # required
|
4704
|
-
# },
|
4705
|
-
# ],
|
4706
|
-
# finding_arn: [
|
4707
|
-
# {
|
4708
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4709
|
-
# value: "StringInput", # required
|
4710
|
-
# },
|
4711
|
-
# ],
|
4712
|
-
# finding_status: [
|
4713
|
-
# {
|
4714
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4715
|
-
# value: "StringInput", # required
|
4716
|
-
# },
|
4717
|
-
# ],
|
4718
|
-
# finding_type: [
|
4719
|
-
# {
|
4720
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4721
|
-
# value: "StringInput", # required
|
4722
|
-
# },
|
4723
|
-
# ],
|
4724
|
-
# first_observed_at: [
|
4725
|
-
# {
|
4726
|
-
# end_inclusive: Time.now,
|
4727
|
-
# start_inclusive: Time.now,
|
4728
|
-
# },
|
4729
|
-
# ],
|
4730
|
-
# fix_available: [
|
4731
|
-
# {
|
4732
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4733
|
-
# value: "StringInput", # required
|
4734
|
-
# },
|
4735
|
-
# ],
|
4736
|
-
# inspector_score: [
|
4737
|
-
# {
|
4738
|
-
# lower_inclusive: 1.0,
|
4739
|
-
# upper_inclusive: 1.0,
|
4740
|
-
# },
|
4741
|
-
# ],
|
4742
|
-
# lambda_function_execution_role_arn: [
|
4743
|
-
# {
|
4744
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4745
|
-
# value: "StringInput", # required
|
4746
|
-
# },
|
4747
|
-
# ],
|
4748
|
-
# lambda_function_last_modified_at: [
|
4749
|
-
# {
|
4750
|
-
# end_inclusive: Time.now,
|
4751
|
-
# start_inclusive: Time.now,
|
4752
|
-
# },
|
4753
|
-
# ],
|
4754
|
-
# lambda_function_layers: [
|
4755
|
-
# {
|
4756
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4757
|
-
# value: "StringInput", # required
|
4758
|
-
# },
|
4759
|
-
# ],
|
4760
|
-
# lambda_function_name: [
|
4761
|
-
# {
|
4762
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4763
|
-
# value: "StringInput", # required
|
4764
|
-
# },
|
4765
|
-
# ],
|
4766
|
-
# lambda_function_runtime: [
|
4767
|
-
# {
|
4768
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4769
|
-
# value: "StringInput", # required
|
4770
|
-
# },
|
4771
|
-
# ],
|
4772
|
-
# last_observed_at: [
|
4773
|
-
# {
|
4774
|
-
# end_inclusive: Time.now,
|
4775
|
-
# start_inclusive: Time.now,
|
4776
|
-
# },
|
4777
|
-
# ],
|
4778
|
-
# network_protocol: [
|
4779
|
-
# {
|
4780
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4781
|
-
# value: "StringInput", # required
|
4782
|
-
# },
|
4783
|
-
# ],
|
4784
|
-
# port_range: [
|
4785
|
-
# {
|
4786
|
-
# begin_inclusive: 1,
|
4787
|
-
# end_inclusive: 1,
|
4788
|
-
# },
|
4789
|
-
# ],
|
4790
|
-
# related_vulnerabilities: [
|
4791
|
-
# {
|
4792
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4793
|
-
# value: "StringInput", # required
|
4794
|
-
# },
|
4795
|
-
# ],
|
4796
|
-
# resource_id: [
|
4797
|
-
# {
|
4798
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4799
|
-
# value: "StringInput", # required
|
4800
|
-
# },
|
4801
|
-
# ],
|
4802
|
-
# resource_tags: [
|
4803
|
-
# {
|
4804
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
4805
|
-
# key: "MapKey", # required
|
4806
|
-
# value: "MapValue",
|
4807
|
-
# },
|
4808
|
-
# ],
|
4809
|
-
# resource_type: [
|
4810
|
-
# {
|
4811
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4812
|
-
# value: "StringInput", # required
|
4813
|
-
# },
|
4814
|
-
# ],
|
4815
|
-
# severity: [
|
4816
|
-
# {
|
4817
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4818
|
-
# value: "StringInput", # required
|
4819
|
-
# },
|
4820
|
-
# ],
|
4821
|
-
# title: [
|
4822
|
-
# {
|
4823
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4824
|
-
# value: "StringInput", # required
|
4825
|
-
# },
|
4826
|
-
# ],
|
4827
|
-
# updated_at: [
|
4828
|
-
# {
|
4829
|
-
# end_inclusive: Time.now,
|
4830
|
-
# start_inclusive: Time.now,
|
4831
|
-
# },
|
4832
|
-
# ],
|
4833
|
-
# vendor_severity: [
|
4834
|
-
# {
|
4835
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4836
|
-
# value: "StringInput", # required
|
4837
|
-
# },
|
4838
|
-
# ],
|
4839
|
-
# vulnerability_id: [
|
4840
|
-
# {
|
4841
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4842
|
-
# value: "StringInput", # required
|
4843
|
-
# },
|
4844
|
-
# ],
|
4845
|
-
# vulnerability_source: [
|
4846
|
-
# {
|
4847
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4848
|
-
# value: "StringInput", # required
|
4849
|
-
# },
|
4850
|
-
# ],
|
4851
|
-
# vulnerable_packages: [
|
4852
|
-
# {
|
4853
|
-
# architecture: {
|
4854
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4855
|
-
# value: "StringInput", # required
|
4856
|
-
# },
|
4857
|
-
# epoch: {
|
4858
|
-
# lower_inclusive: 1.0,
|
4859
|
-
# upper_inclusive: 1.0,
|
4860
|
-
# },
|
4861
|
-
# name: {
|
4862
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4863
|
-
# value: "StringInput", # required
|
4864
|
-
# },
|
4865
|
-
# release: {
|
4866
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4867
|
-
# value: "StringInput", # required
|
4868
|
-
# },
|
4869
|
-
# source_lambda_layer_arn: {
|
4870
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4871
|
-
# value: "StringInput", # required
|
4872
|
-
# },
|
4873
|
-
# source_layer_hash: {
|
4874
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4875
|
-
# value: "StringInput", # required
|
4876
|
-
# },
|
4877
|
-
# version: {
|
4878
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4879
|
-
# value: "StringInput", # required
|
4880
|
-
# },
|
4881
|
-
# },
|
4882
|
-
# ],
|
4883
|
-
# },
|
4884
|
-
# max_results: 1,
|
4885
|
-
# next_token: "NextToken",
|
4886
|
-
# sort_criteria: {
|
4887
|
-
# 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
|
4888
|
-
# sort_order: "ASC", # required, accepts ASC, DESC
|
4889
|
-
# },
|
4890
|
-
# }
|
4891
|
-
#
|
4892
3008
|
# @!attribute [rw] filter_criteria
|
4893
3009
|
# Details on the filters to apply to your finding results.
|
4894
3010
|
# @return [Types::FilterCriteria]
|
@@ -4941,15 +3057,6 @@ module Aws::Inspector2
|
|
4941
3057
|
include Aws::Structure
|
4942
3058
|
end
|
4943
3059
|
|
4944
|
-
# @note When making an API call, you may pass ListMembersRequest
|
4945
|
-
# data as a hash:
|
4946
|
-
#
|
4947
|
-
# {
|
4948
|
-
# max_results: 1,
|
4949
|
-
# next_token: "NextToken",
|
4950
|
-
# only_associated: false,
|
4951
|
-
# }
|
4952
|
-
#
|
4953
3060
|
# @!attribute [rw] max_results
|
4954
3061
|
# The maximum number of results to return in the response.
|
4955
3062
|
# @return [Integer]
|
@@ -4995,13 +3102,6 @@ module Aws::Inspector2
|
|
4995
3102
|
include Aws::Structure
|
4996
3103
|
end
|
4997
3104
|
|
4998
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
4999
|
-
# data as a hash:
|
5000
|
-
#
|
5001
|
-
# {
|
5002
|
-
# resource_arn: "Arn", # required
|
5003
|
-
# }
|
5004
|
-
#
|
5005
3105
|
# @!attribute [rw] resource_arn
|
5006
3106
|
# The Amazon resource number (ARN) of the resource to list tags of.
|
5007
3107
|
# @return [String]
|
@@ -5026,15 +3126,6 @@ module Aws::Inspector2
|
|
5026
3126
|
include Aws::Structure
|
5027
3127
|
end
|
5028
3128
|
|
5029
|
-
# @note When making an API call, you may pass ListUsageTotalsRequest
|
5030
|
-
# data as a hash:
|
5031
|
-
#
|
5032
|
-
# {
|
5033
|
-
# account_ids: ["UsageAccountId"],
|
5034
|
-
# max_results: 1,
|
5035
|
-
# next_token: "ListUsageTotalsNextToken",
|
5036
|
-
# }
|
5037
|
-
#
|
5038
3129
|
# @!attribute [rw] account_ids
|
5039
3130
|
# The Amazon Web Services account IDs to retrieve usage totals for.
|
5040
3131
|
# @return [Array<String>]
|
@@ -5081,15 +3172,6 @@ module Aws::Inspector2
|
|
5081
3172
|
|
5082
3173
|
# An object that describes details of a map filter.
|
5083
3174
|
#
|
5084
|
-
# @note When making an API call, you may pass MapFilter
|
5085
|
-
# data as a hash:
|
5086
|
-
#
|
5087
|
-
# {
|
5088
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
5089
|
-
# key: "MapKey", # required
|
5090
|
-
# value: "MapValue",
|
5091
|
-
# }
|
5092
|
-
#
|
5093
3175
|
# @!attribute [rw] comparison
|
5094
3176
|
# The operator to use when comparing values in the filter.
|
5095
3177
|
# @return [String]
|
@@ -5184,14 +3266,6 @@ module Aws::Inspector2
|
|
5184
3266
|
|
5185
3267
|
# An object that describes the details of a number filter.
|
5186
3268
|
#
|
5187
|
-
# @note When making an API call, you may pass NumberFilter
|
5188
|
-
# data as a hash:
|
5189
|
-
#
|
5190
|
-
# {
|
5191
|
-
# lower_inclusive: 1.0,
|
5192
|
-
# upper_inclusive: 1.0,
|
5193
|
-
# }
|
5194
|
-
#
|
5195
3269
|
# @!attribute [rw] lower_inclusive
|
5196
3270
|
# The lowest number to be included in the filter.
|
5197
3271
|
# @return [Float]
|
@@ -5212,20 +3286,6 @@ module Aws::Inspector2
|
|
5212
3286
|
# The details that define an aggregation based on operating system
|
5213
3287
|
# package type.
|
5214
3288
|
#
|
5215
|
-
# @note When making an API call, you may pass PackageAggregation
|
5216
|
-
# data as a hash:
|
5217
|
-
#
|
5218
|
-
# {
|
5219
|
-
# package_names: [
|
5220
|
-
# {
|
5221
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5222
|
-
# value: "StringInput", # required
|
5223
|
-
# },
|
5224
|
-
# ],
|
5225
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
5226
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
5227
|
-
# }
|
5228
|
-
#
|
5229
3289
|
# @!attribute [rw] package_names
|
5230
3290
|
# The names of packages to aggregate findings on.
|
5231
3291
|
# @return [Array<Types::StringFilter>]
|
@@ -5276,40 +3336,6 @@ module Aws::Inspector2
|
|
5276
3336
|
|
5277
3337
|
# Contains information on the details of a package filter.
|
5278
3338
|
#
|
5279
|
-
# @note When making an API call, you may pass PackageFilter
|
5280
|
-
# data as a hash:
|
5281
|
-
#
|
5282
|
-
# {
|
5283
|
-
# architecture: {
|
5284
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5285
|
-
# value: "StringInput", # required
|
5286
|
-
# },
|
5287
|
-
# epoch: {
|
5288
|
-
# lower_inclusive: 1.0,
|
5289
|
-
# upper_inclusive: 1.0,
|
5290
|
-
# },
|
5291
|
-
# name: {
|
5292
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5293
|
-
# value: "StringInput", # required
|
5294
|
-
# },
|
5295
|
-
# release: {
|
5296
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5297
|
-
# value: "StringInput", # required
|
5298
|
-
# },
|
5299
|
-
# source_lambda_layer_arn: {
|
5300
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5301
|
-
# value: "StringInput", # required
|
5302
|
-
# },
|
5303
|
-
# source_layer_hash: {
|
5304
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5305
|
-
# value: "StringInput", # required
|
5306
|
-
# },
|
5307
|
-
# version: {
|
5308
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5309
|
-
# value: "StringInput", # required
|
5310
|
-
# },
|
5311
|
-
# }
|
5312
|
-
#
|
5313
3339
|
# @!attribute [rw] architecture
|
5314
3340
|
# An object that contains details on the package architecture type to
|
5315
3341
|
# filter on.
|
@@ -5459,14 +3485,6 @@ module Aws::Inspector2
|
|
5459
3485
|
|
5460
3486
|
# An object that describes the details of a port range filter.
|
5461
3487
|
#
|
5462
|
-
# @note When making an API call, you may pass PortRangeFilter
|
5463
|
-
# data as a hash:
|
5464
|
-
#
|
5465
|
-
# {
|
5466
|
-
# begin_inclusive: 1,
|
5467
|
-
# end_inclusive: 1,
|
5468
|
-
# }
|
5469
|
-
#
|
5470
3488
|
# @!attribute [rw] begin_inclusive
|
5471
3489
|
# The port number the port range begins at.
|
5472
3490
|
# @return [Integer]
|
@@ -5521,20 +3539,6 @@ module Aws::Inspector2
|
|
5521
3539
|
|
5522
3540
|
# The details that define an aggregation based on repository.
|
5523
3541
|
#
|
5524
|
-
# @note When making an API call, you may pass RepositoryAggregation
|
5525
|
-
# data as a hash:
|
5526
|
-
#
|
5527
|
-
# {
|
5528
|
-
# repositories: [
|
5529
|
-
# {
|
5530
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5531
|
-
# value: "StringInput", # required
|
5532
|
-
# },
|
5533
|
-
# ],
|
5534
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL, AFFECTED_IMAGES
|
5535
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
5536
|
-
# }
|
5537
|
-
#
|
5538
3542
|
# @!attribute [rw] repositories
|
5539
3543
|
# The names of repositories to aggregate findings on.
|
5540
3544
|
# @return [Array<Types::StringFilter>]
|
@@ -5825,14 +3829,6 @@ module Aws::Inspector2
|
|
5825
3829
|
|
5826
3830
|
# Details about the criteria used to sort finding results.
|
5827
3831
|
#
|
5828
|
-
# @note When making an API call, you may pass SortCriteria
|
5829
|
-
# data as a hash:
|
5830
|
-
#
|
5831
|
-
# {
|
5832
|
-
# 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
|
5833
|
-
# sort_order: "ASC", # required, accepts ASC, DESC
|
5834
|
-
# }
|
5835
|
-
#
|
5836
3832
|
# @!attribute [rw] field
|
5837
3833
|
# The finding detail field by which results are sorted.
|
5838
3834
|
# @return [String]
|
@@ -5898,14 +3894,6 @@ module Aws::Inspector2
|
|
5898
3894
|
|
5899
3895
|
# An object that describes the details of a string filter.
|
5900
3896
|
#
|
5901
|
-
# @note When making an API call, you may pass StringFilter
|
5902
|
-
# data as a hash:
|
5903
|
-
#
|
5904
|
-
# {
|
5905
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5906
|
-
# value: "StringInput", # required
|
5907
|
-
# }
|
5908
|
-
#
|
5909
3897
|
# @!attribute [rw] comparison
|
5910
3898
|
# The operator to use when comparing values in the filter.
|
5911
3899
|
# @return [String]
|
@@ -5923,16 +3911,6 @@ module Aws::Inspector2
|
|
5923
3911
|
include Aws::Structure
|
5924
3912
|
end
|
5925
3913
|
|
5926
|
-
# @note When making an API call, you may pass TagResourceRequest
|
5927
|
-
# data as a hash:
|
5928
|
-
#
|
5929
|
-
# {
|
5930
|
-
# resource_arn: "Arn", # required
|
5931
|
-
# tags: { # required
|
5932
|
-
# "MapKey" => "MapValue",
|
5933
|
-
# },
|
5934
|
-
# }
|
5935
|
-
#
|
5936
3914
|
# @!attribute [rw] resource_arn
|
5937
3915
|
# The Amazon Resource Name (ARN) of the resource to apply a tag to.
|
5938
3916
|
# @return [String]
|
@@ -5974,27 +3952,6 @@ module Aws::Inspector2
|
|
5974
3952
|
|
5975
3953
|
# The details that define an aggregation based on finding title.
|
5976
3954
|
#
|
5977
|
-
# @note When making an API call, you may pass TitleAggregation
|
5978
|
-
# data as a hash:
|
5979
|
-
#
|
5980
|
-
# {
|
5981
|
-
# resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE, AWS_LAMBDA_FUNCTION
|
5982
|
-
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
5983
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
5984
|
-
# titles: [
|
5985
|
-
# {
|
5986
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5987
|
-
# value: "StringInput", # required
|
5988
|
-
# },
|
5989
|
-
# ],
|
5990
|
-
# vulnerability_ids: [
|
5991
|
-
# {
|
5992
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5993
|
-
# value: "StringInput", # required
|
5994
|
-
# },
|
5995
|
-
# ],
|
5996
|
-
# }
|
5997
|
-
#
|
5998
3955
|
# @!attribute [rw] resource_type
|
5999
3956
|
# The resource type to aggregate on.
|
6000
3957
|
# @return [String]
|
@@ -6058,14 +4015,6 @@ module Aws::Inspector2
|
|
6058
4015
|
include Aws::Structure
|
6059
4016
|
end
|
6060
4017
|
|
6061
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
6062
|
-
# data as a hash:
|
6063
|
-
#
|
6064
|
-
# {
|
6065
|
-
# resource_arn: "Arn", # required
|
6066
|
-
# tag_keys: ["TagKey"], # required
|
6067
|
-
# }
|
6068
|
-
#
|
6069
4018
|
# @!attribute [rw] resource_arn
|
6070
4019
|
# The Amazon Resource Name (ARN) for the resource to remove tags from.
|
6071
4020
|
# @return [String]
|
@@ -6087,15 +4036,6 @@ module Aws::Inspector2
|
|
6087
4036
|
#
|
6088
4037
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
6089
4038
|
|
6090
|
-
# @note When making an API call, you may pass UpdateConfigurationRequest
|
6091
|
-
# data as a hash:
|
6092
|
-
#
|
6093
|
-
# {
|
6094
|
-
# ecr_configuration: { # required
|
6095
|
-
# rescan_duration: "LIFETIME", # required, accepts LIFETIME, DAYS_30, DAYS_180
|
6096
|
-
# },
|
6097
|
-
# }
|
6098
|
-
#
|
6099
4039
|
# @!attribute [rw] ecr_configuration
|
6100
4040
|
# Specifies how the ECR automated re-scan will be updated for your
|
6101
4041
|
# environment.
|
@@ -6113,274 +4053,6 @@ module Aws::Inspector2
|
|
6113
4053
|
#
|
6114
4054
|
class UpdateConfigurationResponse < Aws::EmptyStructure; end
|
6115
4055
|
|
6116
|
-
# @note When making an API call, you may pass UpdateFilterRequest
|
6117
|
-
# data as a hash:
|
6118
|
-
#
|
6119
|
-
# {
|
6120
|
-
# action: "NONE", # accepts NONE, SUPPRESS
|
6121
|
-
# description: "FilterDescription",
|
6122
|
-
# filter_arn: "FilterArn", # required
|
6123
|
-
# filter_criteria: {
|
6124
|
-
# aws_account_id: [
|
6125
|
-
# {
|
6126
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6127
|
-
# value: "StringInput", # required
|
6128
|
-
# },
|
6129
|
-
# ],
|
6130
|
-
# component_id: [
|
6131
|
-
# {
|
6132
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6133
|
-
# value: "StringInput", # required
|
6134
|
-
# },
|
6135
|
-
# ],
|
6136
|
-
# component_type: [
|
6137
|
-
# {
|
6138
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6139
|
-
# value: "StringInput", # required
|
6140
|
-
# },
|
6141
|
-
# ],
|
6142
|
-
# ec2_instance_image_id: [
|
6143
|
-
# {
|
6144
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6145
|
-
# value: "StringInput", # required
|
6146
|
-
# },
|
6147
|
-
# ],
|
6148
|
-
# ec2_instance_subnet_id: [
|
6149
|
-
# {
|
6150
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6151
|
-
# value: "StringInput", # required
|
6152
|
-
# },
|
6153
|
-
# ],
|
6154
|
-
# ec2_instance_vpc_id: [
|
6155
|
-
# {
|
6156
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6157
|
-
# value: "StringInput", # required
|
6158
|
-
# },
|
6159
|
-
# ],
|
6160
|
-
# ecr_image_architecture: [
|
6161
|
-
# {
|
6162
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6163
|
-
# value: "StringInput", # required
|
6164
|
-
# },
|
6165
|
-
# ],
|
6166
|
-
# ecr_image_hash: [
|
6167
|
-
# {
|
6168
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6169
|
-
# value: "StringInput", # required
|
6170
|
-
# },
|
6171
|
-
# ],
|
6172
|
-
# ecr_image_pushed_at: [
|
6173
|
-
# {
|
6174
|
-
# end_inclusive: Time.now,
|
6175
|
-
# start_inclusive: Time.now,
|
6176
|
-
# },
|
6177
|
-
# ],
|
6178
|
-
# ecr_image_registry: [
|
6179
|
-
# {
|
6180
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6181
|
-
# value: "StringInput", # required
|
6182
|
-
# },
|
6183
|
-
# ],
|
6184
|
-
# ecr_image_repository_name: [
|
6185
|
-
# {
|
6186
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6187
|
-
# value: "StringInput", # required
|
6188
|
-
# },
|
6189
|
-
# ],
|
6190
|
-
# ecr_image_tags: [
|
6191
|
-
# {
|
6192
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6193
|
-
# value: "StringInput", # required
|
6194
|
-
# },
|
6195
|
-
# ],
|
6196
|
-
# exploit_available: [
|
6197
|
-
# {
|
6198
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6199
|
-
# value: "StringInput", # required
|
6200
|
-
# },
|
6201
|
-
# ],
|
6202
|
-
# finding_arn: [
|
6203
|
-
# {
|
6204
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6205
|
-
# value: "StringInput", # required
|
6206
|
-
# },
|
6207
|
-
# ],
|
6208
|
-
# finding_status: [
|
6209
|
-
# {
|
6210
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6211
|
-
# value: "StringInput", # required
|
6212
|
-
# },
|
6213
|
-
# ],
|
6214
|
-
# finding_type: [
|
6215
|
-
# {
|
6216
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6217
|
-
# value: "StringInput", # required
|
6218
|
-
# },
|
6219
|
-
# ],
|
6220
|
-
# first_observed_at: [
|
6221
|
-
# {
|
6222
|
-
# end_inclusive: Time.now,
|
6223
|
-
# start_inclusive: Time.now,
|
6224
|
-
# },
|
6225
|
-
# ],
|
6226
|
-
# fix_available: [
|
6227
|
-
# {
|
6228
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6229
|
-
# value: "StringInput", # required
|
6230
|
-
# },
|
6231
|
-
# ],
|
6232
|
-
# inspector_score: [
|
6233
|
-
# {
|
6234
|
-
# lower_inclusive: 1.0,
|
6235
|
-
# upper_inclusive: 1.0,
|
6236
|
-
# },
|
6237
|
-
# ],
|
6238
|
-
# lambda_function_execution_role_arn: [
|
6239
|
-
# {
|
6240
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6241
|
-
# value: "StringInput", # required
|
6242
|
-
# },
|
6243
|
-
# ],
|
6244
|
-
# lambda_function_last_modified_at: [
|
6245
|
-
# {
|
6246
|
-
# end_inclusive: Time.now,
|
6247
|
-
# start_inclusive: Time.now,
|
6248
|
-
# },
|
6249
|
-
# ],
|
6250
|
-
# lambda_function_layers: [
|
6251
|
-
# {
|
6252
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6253
|
-
# value: "StringInput", # required
|
6254
|
-
# },
|
6255
|
-
# ],
|
6256
|
-
# lambda_function_name: [
|
6257
|
-
# {
|
6258
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6259
|
-
# value: "StringInput", # required
|
6260
|
-
# },
|
6261
|
-
# ],
|
6262
|
-
# lambda_function_runtime: [
|
6263
|
-
# {
|
6264
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6265
|
-
# value: "StringInput", # required
|
6266
|
-
# },
|
6267
|
-
# ],
|
6268
|
-
# last_observed_at: [
|
6269
|
-
# {
|
6270
|
-
# end_inclusive: Time.now,
|
6271
|
-
# start_inclusive: Time.now,
|
6272
|
-
# },
|
6273
|
-
# ],
|
6274
|
-
# network_protocol: [
|
6275
|
-
# {
|
6276
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6277
|
-
# value: "StringInput", # required
|
6278
|
-
# },
|
6279
|
-
# ],
|
6280
|
-
# port_range: [
|
6281
|
-
# {
|
6282
|
-
# begin_inclusive: 1,
|
6283
|
-
# end_inclusive: 1,
|
6284
|
-
# },
|
6285
|
-
# ],
|
6286
|
-
# related_vulnerabilities: [
|
6287
|
-
# {
|
6288
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6289
|
-
# value: "StringInput", # required
|
6290
|
-
# },
|
6291
|
-
# ],
|
6292
|
-
# resource_id: [
|
6293
|
-
# {
|
6294
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6295
|
-
# value: "StringInput", # required
|
6296
|
-
# },
|
6297
|
-
# ],
|
6298
|
-
# resource_tags: [
|
6299
|
-
# {
|
6300
|
-
# comparison: "EQUALS", # required, accepts EQUALS
|
6301
|
-
# key: "MapKey", # required
|
6302
|
-
# value: "MapValue",
|
6303
|
-
# },
|
6304
|
-
# ],
|
6305
|
-
# resource_type: [
|
6306
|
-
# {
|
6307
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6308
|
-
# value: "StringInput", # required
|
6309
|
-
# },
|
6310
|
-
# ],
|
6311
|
-
# severity: [
|
6312
|
-
# {
|
6313
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6314
|
-
# value: "StringInput", # required
|
6315
|
-
# },
|
6316
|
-
# ],
|
6317
|
-
# title: [
|
6318
|
-
# {
|
6319
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6320
|
-
# value: "StringInput", # required
|
6321
|
-
# },
|
6322
|
-
# ],
|
6323
|
-
# updated_at: [
|
6324
|
-
# {
|
6325
|
-
# end_inclusive: Time.now,
|
6326
|
-
# start_inclusive: Time.now,
|
6327
|
-
# },
|
6328
|
-
# ],
|
6329
|
-
# vendor_severity: [
|
6330
|
-
# {
|
6331
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6332
|
-
# value: "StringInput", # required
|
6333
|
-
# },
|
6334
|
-
# ],
|
6335
|
-
# vulnerability_id: [
|
6336
|
-
# {
|
6337
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6338
|
-
# value: "StringInput", # required
|
6339
|
-
# },
|
6340
|
-
# ],
|
6341
|
-
# vulnerability_source: [
|
6342
|
-
# {
|
6343
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6344
|
-
# value: "StringInput", # required
|
6345
|
-
# },
|
6346
|
-
# ],
|
6347
|
-
# vulnerable_packages: [
|
6348
|
-
# {
|
6349
|
-
# architecture: {
|
6350
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6351
|
-
# value: "StringInput", # required
|
6352
|
-
# },
|
6353
|
-
# epoch: {
|
6354
|
-
# lower_inclusive: 1.0,
|
6355
|
-
# upper_inclusive: 1.0,
|
6356
|
-
# },
|
6357
|
-
# name: {
|
6358
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6359
|
-
# value: "StringInput", # required
|
6360
|
-
# },
|
6361
|
-
# release: {
|
6362
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6363
|
-
# value: "StringInput", # required
|
6364
|
-
# },
|
6365
|
-
# source_lambda_layer_arn: {
|
6366
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6367
|
-
# value: "StringInput", # required
|
6368
|
-
# },
|
6369
|
-
# source_layer_hash: {
|
6370
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6371
|
-
# value: "StringInput", # required
|
6372
|
-
# },
|
6373
|
-
# version: {
|
6374
|
-
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
6375
|
-
# value: "StringInput", # required
|
6376
|
-
# },
|
6377
|
-
# },
|
6378
|
-
# ],
|
6379
|
-
# },
|
6380
|
-
# name: "FilterName",
|
6381
|
-
# reason: "FilterReason",
|
6382
|
-
# }
|
6383
|
-
#
|
6384
4056
|
# @!attribute [rw] action
|
6385
4057
|
# Specifies the action that is to be applied to the findings that
|
6386
4058
|
# match the filter.
|
@@ -6431,17 +4103,6 @@ module Aws::Inspector2
|
|
6431
4103
|
include Aws::Structure
|
6432
4104
|
end
|
6433
4105
|
|
6434
|
-
# @note When making an API call, you may pass UpdateOrganizationConfigurationRequest
|
6435
|
-
# data as a hash:
|
6436
|
-
#
|
6437
|
-
# {
|
6438
|
-
# auto_enable: { # required
|
6439
|
-
# ec2: false, # required
|
6440
|
-
# ecr: false, # required
|
6441
|
-
# lambda: false,
|
6442
|
-
# },
|
6443
|
-
# }
|
6444
|
-
#
|
6445
4106
|
# @!attribute [rw] auto_enable
|
6446
4107
|
# Defines which scan types are enabled automatically for new members
|
6447
4108
|
# of your Amazon Inspector organization.
|