aws-sdk-inspector2 1.24.0 → 1.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-inspector2/client.rb +910 -1
- data/lib/aws-sdk-inspector2/client_api.rb +737 -0
- data/lib/aws-sdk-inspector2/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-inspector2/endpoints.rb +182 -0
- data/lib/aws-sdk-inspector2/plugins/endpoints.rb +26 -0
- data/lib/aws-sdk-inspector2/types.rb +1601 -39
- data/lib/aws-sdk-inspector2.rb +1 -1
- metadata +6 -6
@@ -977,6 +977,621 @@ module Aws::Inspector2
|
|
977
977
|
include Aws::Structure
|
978
978
|
end
|
979
979
|
|
980
|
+
# A CIS check.
|
981
|
+
#
|
982
|
+
# @!attribute [rw] account_id
|
983
|
+
# The account ID for the CIS check.
|
984
|
+
# @return [String]
|
985
|
+
#
|
986
|
+
# @!attribute [rw] check_description
|
987
|
+
# The description for the CIS check.
|
988
|
+
# @return [String]
|
989
|
+
#
|
990
|
+
# @!attribute [rw] check_id
|
991
|
+
# The check ID for the CIS check.
|
992
|
+
# @return [String]
|
993
|
+
#
|
994
|
+
# @!attribute [rw] level
|
995
|
+
# The CIS check level.
|
996
|
+
# @return [String]
|
997
|
+
#
|
998
|
+
# @!attribute [rw] platform
|
999
|
+
# The CIS check platform.
|
1000
|
+
# @return [String]
|
1001
|
+
#
|
1002
|
+
# @!attribute [rw] scan_arn
|
1003
|
+
# The scan ARN for the CIS check scan ARN.
|
1004
|
+
# @return [String]
|
1005
|
+
#
|
1006
|
+
# @!attribute [rw] status_counts
|
1007
|
+
# The CIS check status counts.
|
1008
|
+
# @return [Types::StatusCounts]
|
1009
|
+
#
|
1010
|
+
# @!attribute [rw] title
|
1011
|
+
# The CIS check title.
|
1012
|
+
# @return [String]
|
1013
|
+
#
|
1014
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CisCheckAggregation AWS API Documentation
|
1015
|
+
#
|
1016
|
+
class CisCheckAggregation < Struct.new(
|
1017
|
+
:account_id,
|
1018
|
+
:check_description,
|
1019
|
+
:check_id,
|
1020
|
+
:level,
|
1021
|
+
:platform,
|
1022
|
+
:scan_arn,
|
1023
|
+
:status_counts,
|
1024
|
+
:title)
|
1025
|
+
SENSITIVE = []
|
1026
|
+
include Aws::Structure
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
# The CIS date filter.
|
1030
|
+
#
|
1031
|
+
# @!attribute [rw] earliest_scan_start_time
|
1032
|
+
# The CIS date filter's earliest scan start time.
|
1033
|
+
# @return [Time]
|
1034
|
+
#
|
1035
|
+
# @!attribute [rw] latest_scan_start_time
|
1036
|
+
# The CIS date filter's latest scan start time.
|
1037
|
+
# @return [Time]
|
1038
|
+
#
|
1039
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CisDateFilter AWS API Documentation
|
1040
|
+
#
|
1041
|
+
class CisDateFilter < Struct.new(
|
1042
|
+
:earliest_scan_start_time,
|
1043
|
+
:latest_scan_start_time)
|
1044
|
+
SENSITIVE = []
|
1045
|
+
include Aws::Structure
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
# The CIS finding status filter.
|
1049
|
+
#
|
1050
|
+
# @!attribute [rw] comparison
|
1051
|
+
# The comparison value of the CIS finding status filter.
|
1052
|
+
# @return [String]
|
1053
|
+
#
|
1054
|
+
# @!attribute [rw] value
|
1055
|
+
# The value of the CIS finding status filter.
|
1056
|
+
# @return [String]
|
1057
|
+
#
|
1058
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CisFindingStatusFilter AWS API Documentation
|
1059
|
+
#
|
1060
|
+
class CisFindingStatusFilter < Struct.new(
|
1061
|
+
:comparison,
|
1062
|
+
:value)
|
1063
|
+
SENSITIVE = []
|
1064
|
+
include Aws::Structure
|
1065
|
+
end
|
1066
|
+
|
1067
|
+
# The CIS number filter.
|
1068
|
+
#
|
1069
|
+
# @!attribute [rw] lower_inclusive
|
1070
|
+
# The CIS number filter's lower inclusive.
|
1071
|
+
# @return [Integer]
|
1072
|
+
#
|
1073
|
+
# @!attribute [rw] upper_inclusive
|
1074
|
+
# The CIS number filter's upper inclusive.
|
1075
|
+
# @return [Integer]
|
1076
|
+
#
|
1077
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CisNumberFilter AWS API Documentation
|
1078
|
+
#
|
1079
|
+
class CisNumberFilter < Struct.new(
|
1080
|
+
:lower_inclusive,
|
1081
|
+
:upper_inclusive)
|
1082
|
+
SENSITIVE = []
|
1083
|
+
include Aws::Structure
|
1084
|
+
end
|
1085
|
+
|
1086
|
+
# The CIS result status filter.
|
1087
|
+
#
|
1088
|
+
# @!attribute [rw] comparison
|
1089
|
+
# The comparison value of the CIS result status filter.
|
1090
|
+
# @return [String]
|
1091
|
+
#
|
1092
|
+
# @!attribute [rw] value
|
1093
|
+
# The value of the CIS result status filter.
|
1094
|
+
# @return [String]
|
1095
|
+
#
|
1096
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CisResultStatusFilter AWS API Documentation
|
1097
|
+
#
|
1098
|
+
class CisResultStatusFilter < Struct.new(
|
1099
|
+
:comparison,
|
1100
|
+
:value)
|
1101
|
+
SENSITIVE = []
|
1102
|
+
include Aws::Structure
|
1103
|
+
end
|
1104
|
+
|
1105
|
+
# The CIS scan.
|
1106
|
+
#
|
1107
|
+
# @!attribute [rw] failed_checks
|
1108
|
+
# The CIS scan's failed checks.
|
1109
|
+
# @return [Integer]
|
1110
|
+
#
|
1111
|
+
# @!attribute [rw] scan_arn
|
1112
|
+
# The CIS scan's ARN.
|
1113
|
+
# @return [String]
|
1114
|
+
#
|
1115
|
+
# @!attribute [rw] scan_configuration_arn
|
1116
|
+
# The CIS scan's configuration ARN.
|
1117
|
+
# @return [String]
|
1118
|
+
#
|
1119
|
+
# @!attribute [rw] scan_date
|
1120
|
+
# The CIS scan's date.
|
1121
|
+
# @return [Time]
|
1122
|
+
#
|
1123
|
+
# @!attribute [rw] scan_name
|
1124
|
+
# The the name of the scan configuration that's associated with this
|
1125
|
+
# scan.
|
1126
|
+
# @return [String]
|
1127
|
+
#
|
1128
|
+
# @!attribute [rw] scheduled_by
|
1129
|
+
# The account or organization that schedules the CIS scan.
|
1130
|
+
# @return [String]
|
1131
|
+
#
|
1132
|
+
# @!attribute [rw] security_level
|
1133
|
+
# The security level for the CIS scan. Security level refers to the
|
1134
|
+
# Benchmark levels that CIS assigns to a profile.
|
1135
|
+
# @return [String]
|
1136
|
+
#
|
1137
|
+
# @!attribute [rw] status
|
1138
|
+
# The CIS scan's status.
|
1139
|
+
# @return [String]
|
1140
|
+
#
|
1141
|
+
# @!attribute [rw] targets
|
1142
|
+
# The CIS scan's targets.
|
1143
|
+
# @return [Types::CisTargets]
|
1144
|
+
#
|
1145
|
+
# @!attribute [rw] total_checks
|
1146
|
+
# The CIS scan's total checks.
|
1147
|
+
# @return [Integer]
|
1148
|
+
#
|
1149
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CisScan AWS API Documentation
|
1150
|
+
#
|
1151
|
+
class CisScan < Struct.new(
|
1152
|
+
:failed_checks,
|
1153
|
+
:scan_arn,
|
1154
|
+
:scan_configuration_arn,
|
1155
|
+
:scan_date,
|
1156
|
+
:scan_name,
|
1157
|
+
:scheduled_by,
|
1158
|
+
:security_level,
|
1159
|
+
:status,
|
1160
|
+
:targets,
|
1161
|
+
:total_checks)
|
1162
|
+
SENSITIVE = []
|
1163
|
+
include Aws::Structure
|
1164
|
+
end
|
1165
|
+
|
1166
|
+
# The CIS scan configuration.
|
1167
|
+
#
|
1168
|
+
# @!attribute [rw] owner_id
|
1169
|
+
# The CIS scan configuration's owner ID.
|
1170
|
+
# @return [String]
|
1171
|
+
#
|
1172
|
+
# @!attribute [rw] scan_configuration_arn
|
1173
|
+
# The CIS scan configuration's scan configuration ARN.
|
1174
|
+
# @return [String]
|
1175
|
+
#
|
1176
|
+
# @!attribute [rw] scan_name
|
1177
|
+
# The name of the CIS scan configuration.
|
1178
|
+
# @return [String]
|
1179
|
+
#
|
1180
|
+
# @!attribute [rw] schedule
|
1181
|
+
# The CIS scan configuration's schedule.
|
1182
|
+
# @return [Types::Schedule]
|
1183
|
+
#
|
1184
|
+
# @!attribute [rw] security_level
|
1185
|
+
# The CIS scan configuration's security level.
|
1186
|
+
# @return [String]
|
1187
|
+
#
|
1188
|
+
# @!attribute [rw] tags
|
1189
|
+
# The CIS scan configuration's tags.
|
1190
|
+
# @return [Hash<String,String>]
|
1191
|
+
#
|
1192
|
+
# @!attribute [rw] targets
|
1193
|
+
# The CIS scan configuration's targets.
|
1194
|
+
# @return [Types::CisTargets]
|
1195
|
+
#
|
1196
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CisScanConfiguration AWS API Documentation
|
1197
|
+
#
|
1198
|
+
class CisScanConfiguration < Struct.new(
|
1199
|
+
:owner_id,
|
1200
|
+
:scan_configuration_arn,
|
1201
|
+
:scan_name,
|
1202
|
+
:schedule,
|
1203
|
+
:security_level,
|
1204
|
+
:tags,
|
1205
|
+
:targets)
|
1206
|
+
SENSITIVE = []
|
1207
|
+
include Aws::Structure
|
1208
|
+
end
|
1209
|
+
|
1210
|
+
# The CIS scan result details.
|
1211
|
+
#
|
1212
|
+
# @!attribute [rw] account_id
|
1213
|
+
# The CIS scan result details' account ID.
|
1214
|
+
# @return [String]
|
1215
|
+
#
|
1216
|
+
# @!attribute [rw] check_description
|
1217
|
+
# The account ID that's associated with the CIS scan result details.
|
1218
|
+
# @return [String]
|
1219
|
+
#
|
1220
|
+
# @!attribute [rw] check_id
|
1221
|
+
# The CIS scan result details' check ID.
|
1222
|
+
# @return [String]
|
1223
|
+
#
|
1224
|
+
# @!attribute [rw] finding_arn
|
1225
|
+
# The CIS scan result details' finding ARN.
|
1226
|
+
# @return [String]
|
1227
|
+
#
|
1228
|
+
# @!attribute [rw] level
|
1229
|
+
# The CIS scan result details' level.
|
1230
|
+
# @return [String]
|
1231
|
+
#
|
1232
|
+
# @!attribute [rw] platform
|
1233
|
+
# The CIS scan result details' platform.
|
1234
|
+
# @return [String]
|
1235
|
+
#
|
1236
|
+
# @!attribute [rw] remediation
|
1237
|
+
# The CIS scan result details' remediation.
|
1238
|
+
# @return [String]
|
1239
|
+
#
|
1240
|
+
# @!attribute [rw] scan_arn
|
1241
|
+
# The CIS scan result details' scan ARN.
|
1242
|
+
# @return [String]
|
1243
|
+
#
|
1244
|
+
# @!attribute [rw] status
|
1245
|
+
# The CIS scan result details' status.
|
1246
|
+
# @return [String]
|
1247
|
+
#
|
1248
|
+
# @!attribute [rw] status_reason
|
1249
|
+
# The CIS scan result details' status reason.
|
1250
|
+
# @return [String]
|
1251
|
+
#
|
1252
|
+
# @!attribute [rw] target_resource_id
|
1253
|
+
# The CIS scan result details' target resource ID.
|
1254
|
+
# @return [String]
|
1255
|
+
#
|
1256
|
+
# @!attribute [rw] title
|
1257
|
+
# The CIS scan result details' title.
|
1258
|
+
# @return [String]
|
1259
|
+
#
|
1260
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CisScanResultDetails AWS API Documentation
|
1261
|
+
#
|
1262
|
+
class CisScanResultDetails < Struct.new(
|
1263
|
+
:account_id,
|
1264
|
+
:check_description,
|
1265
|
+
:check_id,
|
1266
|
+
:finding_arn,
|
1267
|
+
:level,
|
1268
|
+
:platform,
|
1269
|
+
:remediation,
|
1270
|
+
:scan_arn,
|
1271
|
+
:status,
|
1272
|
+
:status_reason,
|
1273
|
+
:target_resource_id,
|
1274
|
+
:title)
|
1275
|
+
SENSITIVE = []
|
1276
|
+
include Aws::Structure
|
1277
|
+
end
|
1278
|
+
|
1279
|
+
# The CIS scan result details filter criteria.
|
1280
|
+
#
|
1281
|
+
# @!attribute [rw] check_id_filters
|
1282
|
+
# The criteria's check ID filters.
|
1283
|
+
# @return [Array<Types::CisStringFilter>]
|
1284
|
+
#
|
1285
|
+
# @!attribute [rw] finding_arn_filters
|
1286
|
+
# The criteria's finding ARN filters.
|
1287
|
+
# @return [Array<Types::CisStringFilter>]
|
1288
|
+
#
|
1289
|
+
# @!attribute [rw] finding_status_filters
|
1290
|
+
# The criteria's finding status filters.
|
1291
|
+
# @return [Array<Types::CisFindingStatusFilter>]
|
1292
|
+
#
|
1293
|
+
# @!attribute [rw] security_level_filters
|
1294
|
+
# The criteria's security level filters. . Security level refers to
|
1295
|
+
# the Benchmark levels that CIS assigns to a profile.
|
1296
|
+
# @return [Array<Types::CisSecurityLevelFilter>]
|
1297
|
+
#
|
1298
|
+
# @!attribute [rw] title_filters
|
1299
|
+
# The criteria's title filters.
|
1300
|
+
# @return [Array<Types::CisStringFilter>]
|
1301
|
+
#
|
1302
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CisScanResultDetailsFilterCriteria AWS API Documentation
|
1303
|
+
#
|
1304
|
+
class CisScanResultDetailsFilterCriteria < Struct.new(
|
1305
|
+
:check_id_filters,
|
1306
|
+
:finding_arn_filters,
|
1307
|
+
:finding_status_filters,
|
1308
|
+
:security_level_filters,
|
1309
|
+
:title_filters)
|
1310
|
+
SENSITIVE = []
|
1311
|
+
include Aws::Structure
|
1312
|
+
end
|
1313
|
+
|
1314
|
+
# The scan results aggregated by checks filter criteria.
|
1315
|
+
#
|
1316
|
+
# @!attribute [rw] account_id_filters
|
1317
|
+
# The criteria's account ID filters.
|
1318
|
+
# @return [Array<Types::CisStringFilter>]
|
1319
|
+
#
|
1320
|
+
# @!attribute [rw] check_id_filters
|
1321
|
+
# The criteria's check ID filters.
|
1322
|
+
# @return [Array<Types::CisStringFilter>]
|
1323
|
+
#
|
1324
|
+
# @!attribute [rw] failed_resources_filters
|
1325
|
+
# The criteria's failed resources filters.
|
1326
|
+
# @return [Array<Types::CisNumberFilter>]
|
1327
|
+
#
|
1328
|
+
# @!attribute [rw] platform_filters
|
1329
|
+
# The criteria's platform filters.
|
1330
|
+
# @return [Array<Types::CisStringFilter>]
|
1331
|
+
#
|
1332
|
+
# @!attribute [rw] security_level_filters
|
1333
|
+
# The criteria's security level filters.
|
1334
|
+
# @return [Array<Types::CisSecurityLevelFilter>]
|
1335
|
+
#
|
1336
|
+
# @!attribute [rw] title_filters
|
1337
|
+
# The criteria's title filters.
|
1338
|
+
# @return [Array<Types::CisStringFilter>]
|
1339
|
+
#
|
1340
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CisScanResultsAggregatedByChecksFilterCriteria AWS API Documentation
|
1341
|
+
#
|
1342
|
+
class CisScanResultsAggregatedByChecksFilterCriteria < Struct.new(
|
1343
|
+
:account_id_filters,
|
1344
|
+
:check_id_filters,
|
1345
|
+
:failed_resources_filters,
|
1346
|
+
:platform_filters,
|
1347
|
+
:security_level_filters,
|
1348
|
+
:title_filters)
|
1349
|
+
SENSITIVE = []
|
1350
|
+
include Aws::Structure
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
# The scan results aggregated by target resource filter criteria.
|
1354
|
+
#
|
1355
|
+
# @!attribute [rw] account_id_filters
|
1356
|
+
# The criteria's account ID filters.
|
1357
|
+
# @return [Array<Types::CisStringFilter>]
|
1358
|
+
#
|
1359
|
+
# @!attribute [rw] check_id_filters
|
1360
|
+
# The criteria's check ID filters.
|
1361
|
+
# @return [Array<Types::CisStringFilter>]
|
1362
|
+
#
|
1363
|
+
# @!attribute [rw] failed_checks_filters
|
1364
|
+
# The criteria's failed checks filters.
|
1365
|
+
# @return [Array<Types::CisNumberFilter>]
|
1366
|
+
#
|
1367
|
+
# @!attribute [rw] platform_filters
|
1368
|
+
# The criteria's platform filters.
|
1369
|
+
# @return [Array<Types::CisStringFilter>]
|
1370
|
+
#
|
1371
|
+
# @!attribute [rw] status_filters
|
1372
|
+
# The criteria's status filter.
|
1373
|
+
# @return [Array<Types::CisResultStatusFilter>]
|
1374
|
+
#
|
1375
|
+
# @!attribute [rw] target_resource_id_filters
|
1376
|
+
# The criteria's target resource ID filters.
|
1377
|
+
# @return [Array<Types::CisStringFilter>]
|
1378
|
+
#
|
1379
|
+
# @!attribute [rw] target_resource_tag_filters
|
1380
|
+
# The criteria's target resource tag filters.
|
1381
|
+
# @return [Array<Types::TagFilter>]
|
1382
|
+
#
|
1383
|
+
# @!attribute [rw] target_status_filters
|
1384
|
+
# The criteria's target status filters.
|
1385
|
+
# @return [Array<Types::CisTargetStatusFilter>]
|
1386
|
+
#
|
1387
|
+
# @!attribute [rw] target_status_reason_filters
|
1388
|
+
# The criteria's target status reason filters.
|
1389
|
+
# @return [Array<Types::CisTargetStatusReasonFilter>]
|
1390
|
+
#
|
1391
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CisScanResultsAggregatedByTargetResourceFilterCriteria AWS API Documentation
|
1392
|
+
#
|
1393
|
+
class CisScanResultsAggregatedByTargetResourceFilterCriteria < Struct.new(
|
1394
|
+
:account_id_filters,
|
1395
|
+
:check_id_filters,
|
1396
|
+
:failed_checks_filters,
|
1397
|
+
:platform_filters,
|
1398
|
+
:status_filters,
|
1399
|
+
:target_resource_id_filters,
|
1400
|
+
:target_resource_tag_filters,
|
1401
|
+
:target_status_filters,
|
1402
|
+
:target_status_reason_filters)
|
1403
|
+
SENSITIVE = []
|
1404
|
+
include Aws::Structure
|
1405
|
+
end
|
1406
|
+
|
1407
|
+
# The CIS scan status filter.
|
1408
|
+
#
|
1409
|
+
# @!attribute [rw] comparison
|
1410
|
+
# The filter comparison value.
|
1411
|
+
# @return [String]
|
1412
|
+
#
|
1413
|
+
# @!attribute [rw] value
|
1414
|
+
# The filter value.
|
1415
|
+
# @return [String]
|
1416
|
+
#
|
1417
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CisScanStatusFilter AWS API Documentation
|
1418
|
+
#
|
1419
|
+
class CisScanStatusFilter < Struct.new(
|
1420
|
+
:comparison,
|
1421
|
+
:value)
|
1422
|
+
SENSITIVE = []
|
1423
|
+
include Aws::Structure
|
1424
|
+
end
|
1425
|
+
|
1426
|
+
# The CIS security level filter. Security level refers to the Benchmark
|
1427
|
+
# levels that CIS assigns to a profile.
|
1428
|
+
#
|
1429
|
+
# @!attribute [rw] comparison
|
1430
|
+
# The CIS security filter comparison value.
|
1431
|
+
# @return [String]
|
1432
|
+
#
|
1433
|
+
# @!attribute [rw] value
|
1434
|
+
# The CIS security filter value.
|
1435
|
+
# @return [String]
|
1436
|
+
#
|
1437
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CisSecurityLevelFilter AWS API Documentation
|
1438
|
+
#
|
1439
|
+
class CisSecurityLevelFilter < Struct.new(
|
1440
|
+
:comparison,
|
1441
|
+
:value)
|
1442
|
+
SENSITIVE = []
|
1443
|
+
include Aws::Structure
|
1444
|
+
end
|
1445
|
+
|
1446
|
+
# The CIS session message.
|
1447
|
+
#
|
1448
|
+
# @!attribute [rw] cis_rule_details
|
1449
|
+
# The CIS rule details for the CIS session message.
|
1450
|
+
# @return [String]
|
1451
|
+
#
|
1452
|
+
# @!attribute [rw] rule_id
|
1453
|
+
# The rule ID for the CIS session message.
|
1454
|
+
# @return [String]
|
1455
|
+
#
|
1456
|
+
# @!attribute [rw] status
|
1457
|
+
# The status of the CIS session message.
|
1458
|
+
# @return [String]
|
1459
|
+
#
|
1460
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CisSessionMessage AWS API Documentation
|
1461
|
+
#
|
1462
|
+
class CisSessionMessage < Struct.new(
|
1463
|
+
:cis_rule_details,
|
1464
|
+
:rule_id,
|
1465
|
+
:status)
|
1466
|
+
SENSITIVE = []
|
1467
|
+
include Aws::Structure
|
1468
|
+
end
|
1469
|
+
|
1470
|
+
# The CIS string filter.
|
1471
|
+
#
|
1472
|
+
# @!attribute [rw] comparison
|
1473
|
+
# The comparison value of the CIS string filter.
|
1474
|
+
# @return [String]
|
1475
|
+
#
|
1476
|
+
# @!attribute [rw] value
|
1477
|
+
# The value of the CIS string filter.
|
1478
|
+
# @return [String]
|
1479
|
+
#
|
1480
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CisStringFilter AWS API Documentation
|
1481
|
+
#
|
1482
|
+
class CisStringFilter < Struct.new(
|
1483
|
+
:comparison,
|
1484
|
+
:value)
|
1485
|
+
SENSITIVE = []
|
1486
|
+
include Aws::Structure
|
1487
|
+
end
|
1488
|
+
|
1489
|
+
# The CIS target resource aggregation.
|
1490
|
+
#
|
1491
|
+
# @!attribute [rw] account_id
|
1492
|
+
# The account ID for the CIS target resource.
|
1493
|
+
# @return [String]
|
1494
|
+
#
|
1495
|
+
# @!attribute [rw] platform
|
1496
|
+
# The platform for the CIS target resource.
|
1497
|
+
# @return [String]
|
1498
|
+
#
|
1499
|
+
# @!attribute [rw] scan_arn
|
1500
|
+
# The scan ARN for the CIS target resource.
|
1501
|
+
# @return [String]
|
1502
|
+
#
|
1503
|
+
# @!attribute [rw] status_counts
|
1504
|
+
# The target resource status counts.
|
1505
|
+
# @return [Types::StatusCounts]
|
1506
|
+
#
|
1507
|
+
# @!attribute [rw] target_resource_id
|
1508
|
+
# The ID of the target resource.
|
1509
|
+
# @return [String]
|
1510
|
+
#
|
1511
|
+
# @!attribute [rw] target_resource_tags
|
1512
|
+
# The tag for the target resource.
|
1513
|
+
# @return [Hash<String,Array<String>>]
|
1514
|
+
#
|
1515
|
+
# @!attribute [rw] target_status
|
1516
|
+
# The status of the target resource.
|
1517
|
+
# @return [String]
|
1518
|
+
#
|
1519
|
+
# @!attribute [rw] target_status_reason
|
1520
|
+
# The reason for the target resource.
|
1521
|
+
# @return [String]
|
1522
|
+
#
|
1523
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CisTargetResourceAggregation AWS API Documentation
|
1524
|
+
#
|
1525
|
+
class CisTargetResourceAggregation < Struct.new(
|
1526
|
+
:account_id,
|
1527
|
+
:platform,
|
1528
|
+
:scan_arn,
|
1529
|
+
:status_counts,
|
1530
|
+
:target_resource_id,
|
1531
|
+
:target_resource_tags,
|
1532
|
+
:target_status,
|
1533
|
+
:target_status_reason)
|
1534
|
+
SENSITIVE = []
|
1535
|
+
include Aws::Structure
|
1536
|
+
end
|
1537
|
+
|
1538
|
+
# The CIS target status filter.
|
1539
|
+
#
|
1540
|
+
# @!attribute [rw] comparison
|
1541
|
+
# The comparison value of the CIS target status filter.
|
1542
|
+
# @return [String]
|
1543
|
+
#
|
1544
|
+
# @!attribute [rw] value
|
1545
|
+
# The value of the CIS target status filter.
|
1546
|
+
# @return [String]
|
1547
|
+
#
|
1548
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CisTargetStatusFilter AWS API Documentation
|
1549
|
+
#
|
1550
|
+
class CisTargetStatusFilter < Struct.new(
|
1551
|
+
:comparison,
|
1552
|
+
:value)
|
1553
|
+
SENSITIVE = []
|
1554
|
+
include Aws::Structure
|
1555
|
+
end
|
1556
|
+
|
1557
|
+
# The CIS target status reason filter.
|
1558
|
+
#
|
1559
|
+
# @!attribute [rw] comparison
|
1560
|
+
# The comparison value of the CIS target status reason filter.
|
1561
|
+
# @return [String]
|
1562
|
+
#
|
1563
|
+
# @!attribute [rw] value
|
1564
|
+
# The value of the CIS target status reason filter.
|
1565
|
+
# @return [String]
|
1566
|
+
#
|
1567
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CisTargetStatusReasonFilter AWS API Documentation
|
1568
|
+
#
|
1569
|
+
class CisTargetStatusReasonFilter < Struct.new(
|
1570
|
+
:comparison,
|
1571
|
+
:value)
|
1572
|
+
SENSITIVE = []
|
1573
|
+
include Aws::Structure
|
1574
|
+
end
|
1575
|
+
|
1576
|
+
# The CIS targets.
|
1577
|
+
#
|
1578
|
+
# @!attribute [rw] account_ids
|
1579
|
+
# The CIS target account ids.
|
1580
|
+
# @return [Array<String>]
|
1581
|
+
#
|
1582
|
+
# @!attribute [rw] target_resource_tags
|
1583
|
+
# The CIS target resource tags.
|
1584
|
+
# @return [Hash<String,Array<String>>]
|
1585
|
+
#
|
1586
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CisTargets AWS API Documentation
|
1587
|
+
#
|
1588
|
+
class CisTargets < Struct.new(
|
1589
|
+
:account_ids,
|
1590
|
+
:target_resource_tags)
|
1591
|
+
SENSITIVE = []
|
1592
|
+
include Aws::Structure
|
1593
|
+
end
|
1594
|
+
|
980
1595
|
# The Cybersecurity and Infrastructure Security Agency (CISA) details
|
981
1596
|
# for a specific vulnerability.
|
982
1597
|
#
|
@@ -1193,6 +1808,30 @@ module Aws::Inspector2
|
|
1193
1808
|
include Aws::Structure
|
1194
1809
|
end
|
1195
1810
|
|
1811
|
+
# A compute platform.
|
1812
|
+
#
|
1813
|
+
# @!attribute [rw] product
|
1814
|
+
# The compute platform product.
|
1815
|
+
# @return [String]
|
1816
|
+
#
|
1817
|
+
# @!attribute [rw] vendor
|
1818
|
+
# The compute platform vendor.
|
1819
|
+
# @return [String]
|
1820
|
+
#
|
1821
|
+
# @!attribute [rw] version
|
1822
|
+
# The compute platform version.
|
1823
|
+
# @return [String]
|
1824
|
+
#
|
1825
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ComputePlatform AWS API Documentation
|
1826
|
+
#
|
1827
|
+
class ComputePlatform < Struct.new(
|
1828
|
+
:product,
|
1829
|
+
:vendor,
|
1830
|
+
:version)
|
1831
|
+
SENSITIVE = []
|
1832
|
+
include Aws::Structure
|
1833
|
+
end
|
1834
|
+
|
1196
1835
|
# A conflict occurred.
|
1197
1836
|
#
|
1198
1837
|
# @!attribute [rw] message
|
@@ -1306,7 +1945,8 @@ module Aws::Inspector2
|
|
1306
1945
|
# @!attribute [rw] resource_type
|
1307
1946
|
# An array of Amazon Web Services resource types to return coverage
|
1308
1947
|
# statistics for. The values can be `AWS_EC2_INSTANCE`,
|
1309
|
-
# `AWS_LAMBDA_FUNCTION
|
1948
|
+
# `AWS_LAMBDA_FUNCTION`, `AWS_ECR_CONTAINER_IMAGE`,
|
1949
|
+
# `AWS_ECR_REPOSITORY` or `AWS_ACCOUNT`.
|
1310
1950
|
# @return [Array<Types::CoverageStringFilter>]
|
1311
1951
|
#
|
1312
1952
|
# @!attribute [rw] scan_status_code
|
@@ -1433,6 +2073,70 @@ module Aws::Inspector2
|
|
1433
2073
|
include Aws::Structure
|
1434
2074
|
end
|
1435
2075
|
|
2076
|
+
# @!attribute [rw] scan_name
|
2077
|
+
# The scan name for the CIS scan configuration.
|
2078
|
+
# @return [String]
|
2079
|
+
#
|
2080
|
+
# @!attribute [rw] schedule
|
2081
|
+
# The schedule for the CIS scan configuration.
|
2082
|
+
# @return [Types::Schedule]
|
2083
|
+
#
|
2084
|
+
# @!attribute [rw] security_level
|
2085
|
+
# The security level for the CIS scan configuration. Security level
|
2086
|
+
# refers to the Benchmark levels that CIS assigns to a profile.
|
2087
|
+
# @return [String]
|
2088
|
+
#
|
2089
|
+
# @!attribute [rw] tags
|
2090
|
+
# The tags for the CIS scan configuration.
|
2091
|
+
# @return [Hash<String,String>]
|
2092
|
+
#
|
2093
|
+
# @!attribute [rw] targets
|
2094
|
+
# The targets for the CIS scan configuration.
|
2095
|
+
# @return [Types::CreateCisTargets]
|
2096
|
+
#
|
2097
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateCisScanConfigurationRequest AWS API Documentation
|
2098
|
+
#
|
2099
|
+
class CreateCisScanConfigurationRequest < Struct.new(
|
2100
|
+
:scan_name,
|
2101
|
+
:schedule,
|
2102
|
+
:security_level,
|
2103
|
+
:tags,
|
2104
|
+
:targets)
|
2105
|
+
SENSITIVE = []
|
2106
|
+
include Aws::Structure
|
2107
|
+
end
|
2108
|
+
|
2109
|
+
# @!attribute [rw] scan_configuration_arn
|
2110
|
+
# The scan configuration ARN for the CIS scan configuration.
|
2111
|
+
# @return [String]
|
2112
|
+
#
|
2113
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateCisScanConfigurationResponse AWS API Documentation
|
2114
|
+
#
|
2115
|
+
class CreateCisScanConfigurationResponse < Struct.new(
|
2116
|
+
:scan_configuration_arn)
|
2117
|
+
SENSITIVE = []
|
2118
|
+
include Aws::Structure
|
2119
|
+
end
|
2120
|
+
|
2121
|
+
# Creates CIS targets.
|
2122
|
+
#
|
2123
|
+
# @!attribute [rw] account_ids
|
2124
|
+
# The CIS target account ids.
|
2125
|
+
# @return [Array<String>]
|
2126
|
+
#
|
2127
|
+
# @!attribute [rw] target_resource_tags
|
2128
|
+
# The CIS target resource tags.
|
2129
|
+
# @return [Hash<String,Array<String>>]
|
2130
|
+
#
|
2131
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateCisTargets AWS API Documentation
|
2132
|
+
#
|
2133
|
+
class CreateCisTargets < Struct.new(
|
2134
|
+
:account_ids,
|
2135
|
+
:target_resource_tags)
|
2136
|
+
SENSITIVE = []
|
2137
|
+
include Aws::Structure
|
2138
|
+
end
|
2139
|
+
|
1436
2140
|
# @!attribute [rw] action
|
1437
2141
|
# Defines the action that is to be applied to the findings that match
|
1438
2142
|
# the filter.
|
@@ -1684,6 +2388,20 @@ module Aws::Inspector2
|
|
1684
2388
|
include Aws::Structure
|
1685
2389
|
end
|
1686
2390
|
|
2391
|
+
# A daily schedule.
|
2392
|
+
#
|
2393
|
+
# @!attribute [rw] start_time
|
2394
|
+
# The schedule start time.
|
2395
|
+
# @return [Types::Time]
|
2396
|
+
#
|
2397
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DailySchedule AWS API Documentation
|
2398
|
+
#
|
2399
|
+
class DailySchedule < Struct.new(
|
2400
|
+
:start_time)
|
2401
|
+
SENSITIVE = []
|
2402
|
+
include Aws::Structure
|
2403
|
+
end
|
2404
|
+
|
1687
2405
|
# Contains details on the time range used to filter findings.
|
1688
2406
|
#
|
1689
2407
|
# @!attribute [rw] end_inclusive
|
@@ -1738,9 +2456,33 @@ module Aws::Inspector2
|
|
1738
2456
|
#
|
1739
2457
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DelegatedAdminAccount AWS API Documentation
|
1740
2458
|
#
|
1741
|
-
class DelegatedAdminAccount < Struct.new(
|
1742
|
-
:account_id,
|
1743
|
-
:status)
|
2459
|
+
class DelegatedAdminAccount < Struct.new(
|
2460
|
+
:account_id,
|
2461
|
+
:status)
|
2462
|
+
SENSITIVE = []
|
2463
|
+
include Aws::Structure
|
2464
|
+
end
|
2465
|
+
|
2466
|
+
# @!attribute [rw] scan_configuration_arn
|
2467
|
+
# The ARN of the CIS scan configuration.
|
2468
|
+
# @return [String]
|
2469
|
+
#
|
2470
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DeleteCisScanConfigurationRequest AWS API Documentation
|
2471
|
+
#
|
2472
|
+
class DeleteCisScanConfigurationRequest < Struct.new(
|
2473
|
+
:scan_configuration_arn)
|
2474
|
+
SENSITIVE = []
|
2475
|
+
include Aws::Structure
|
2476
|
+
end
|
2477
|
+
|
2478
|
+
# @!attribute [rw] scan_configuration_arn
|
2479
|
+
# The ARN of the CIS scan configuration.
|
2480
|
+
# @return [String]
|
2481
|
+
#
|
2482
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DeleteCisScanConfigurationResponse AWS API Documentation
|
2483
|
+
#
|
2484
|
+
class DeleteCisScanConfigurationResponse < Struct.new(
|
2485
|
+
:scan_configuration_arn)
|
1744
2486
|
SENSITIVE = []
|
1745
2487
|
include Aws::Structure
|
1746
2488
|
end
|
@@ -3027,6 +3769,107 @@ module Aws::Inspector2
|
|
3027
3769
|
include Aws::Structure
|
3028
3770
|
end
|
3029
3771
|
|
3772
|
+
# @!attribute [rw] scan_arn
|
3773
|
+
# The scan ARN.
|
3774
|
+
# @return [String]
|
3775
|
+
#
|
3776
|
+
# @!attribute [rw] target_accounts
|
3777
|
+
# The target accounts.
|
3778
|
+
# @return [Array<String>]
|
3779
|
+
#
|
3780
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetCisScanReportRequest AWS API Documentation
|
3781
|
+
#
|
3782
|
+
class GetCisScanReportRequest < Struct.new(
|
3783
|
+
:scan_arn,
|
3784
|
+
:target_accounts)
|
3785
|
+
SENSITIVE = []
|
3786
|
+
include Aws::Structure
|
3787
|
+
end
|
3788
|
+
|
3789
|
+
# @!attribute [rw] status
|
3790
|
+
# The status.
|
3791
|
+
# @return [String]
|
3792
|
+
#
|
3793
|
+
# @!attribute [rw] url
|
3794
|
+
# The URL where the CIS scan report PDF can be downloaded.
|
3795
|
+
# @return [String]
|
3796
|
+
#
|
3797
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetCisScanReportResponse AWS API Documentation
|
3798
|
+
#
|
3799
|
+
class GetCisScanReportResponse < Struct.new(
|
3800
|
+
:status,
|
3801
|
+
:url)
|
3802
|
+
SENSITIVE = []
|
3803
|
+
include Aws::Structure
|
3804
|
+
end
|
3805
|
+
|
3806
|
+
# @!attribute [rw] account_id
|
3807
|
+
# The account ID.
|
3808
|
+
# @return [String]
|
3809
|
+
#
|
3810
|
+
# @!attribute [rw] filter_criteria
|
3811
|
+
# The filter criteria.
|
3812
|
+
# @return [Types::CisScanResultDetailsFilterCriteria]
|
3813
|
+
#
|
3814
|
+
# @!attribute [rw] max_results
|
3815
|
+
# The maximum number of CIS scan result details to be returned in a
|
3816
|
+
# single page of results.
|
3817
|
+
# @return [Integer]
|
3818
|
+
#
|
3819
|
+
# @!attribute [rw] next_token
|
3820
|
+
# The pagination token from a previous request that's used to
|
3821
|
+
# retrieve the next page of results.
|
3822
|
+
# @return [String]
|
3823
|
+
#
|
3824
|
+
# @!attribute [rw] scan_arn
|
3825
|
+
# The scan ARN.
|
3826
|
+
# @return [String]
|
3827
|
+
#
|
3828
|
+
# @!attribute [rw] sort_by
|
3829
|
+
# The sort by order.
|
3830
|
+
# @return [String]
|
3831
|
+
#
|
3832
|
+
# @!attribute [rw] sort_order
|
3833
|
+
# The sort order.
|
3834
|
+
# @return [String]
|
3835
|
+
#
|
3836
|
+
# @!attribute [rw] target_resource_id
|
3837
|
+
# The target resource ID.
|
3838
|
+
# @return [String]
|
3839
|
+
#
|
3840
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetCisScanResultDetailsRequest AWS API Documentation
|
3841
|
+
#
|
3842
|
+
class GetCisScanResultDetailsRequest < Struct.new(
|
3843
|
+
:account_id,
|
3844
|
+
:filter_criteria,
|
3845
|
+
:max_results,
|
3846
|
+
:next_token,
|
3847
|
+
:scan_arn,
|
3848
|
+
:sort_by,
|
3849
|
+
:sort_order,
|
3850
|
+
:target_resource_id)
|
3851
|
+
SENSITIVE = []
|
3852
|
+
include Aws::Structure
|
3853
|
+
end
|
3854
|
+
|
3855
|
+
# @!attribute [rw] next_token
|
3856
|
+
# The pagination token from a previous request that's used to
|
3857
|
+
# retrieve the next page of results.
|
3858
|
+
# @return [String]
|
3859
|
+
#
|
3860
|
+
# @!attribute [rw] scan_result_details
|
3861
|
+
# The scan result details.
|
3862
|
+
# @return [Array<Types::CisScanResultDetails>]
|
3863
|
+
#
|
3864
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetCisScanResultDetailsResponse AWS API Documentation
|
3865
|
+
#
|
3866
|
+
class GetCisScanResultDetailsResponse < Struct.new(
|
3867
|
+
:next_token,
|
3868
|
+
:scan_result_details)
|
3869
|
+
SENSITIVE = []
|
3870
|
+
include Aws::Structure
|
3871
|
+
end
|
3872
|
+
|
3030
3873
|
# @api private
|
3031
3874
|
#
|
3032
3875
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetConfigurationRequest AWS API Documentation
|
@@ -3576,68 +4419,373 @@ module Aws::Inspector2
|
|
3576
4419
|
# A list of VPC subnet IDs.
|
3577
4420
|
# @return [Array<String>]
|
3578
4421
|
#
|
3579
|
-
# @!attribute [rw] vpc_id
|
3580
|
-
# The ID of the VPC.
|
3581
|
-
# @return [String]
|
4422
|
+
# @!attribute [rw] vpc_id
|
4423
|
+
# The ID of the VPC.
|
4424
|
+
# @return [String]
|
4425
|
+
#
|
4426
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/LambdaVpcConfig AWS API Documentation
|
4427
|
+
#
|
4428
|
+
class LambdaVpcConfig < Struct.new(
|
4429
|
+
:security_group_ids,
|
4430
|
+
:subnet_ids,
|
4431
|
+
:vpc_id)
|
4432
|
+
SENSITIVE = []
|
4433
|
+
include Aws::Structure
|
4434
|
+
end
|
4435
|
+
|
4436
|
+
# @!attribute [rw] max_results
|
4437
|
+
# The maximum number of results the response can return. If your
|
4438
|
+
# request would return more than the maximum the response will return
|
4439
|
+
# a `nextToken` value, use this value when you call the action again
|
4440
|
+
# to get the remaining results.
|
4441
|
+
# @return [Integer]
|
4442
|
+
#
|
4443
|
+
# @!attribute [rw] next_token
|
4444
|
+
# A token to use for paginating results that are returned in the
|
4445
|
+
# response. Set the value of this parameter to null for the first
|
4446
|
+
# request to a list action. If your response returns more than the
|
4447
|
+
# `maxResults` maximum value it will also return a `nextToken` value.
|
4448
|
+
# For subsequent calls, use the NextToken value returned from the
|
4449
|
+
# previous request to continue listing results after the first page.
|
4450
|
+
# @return [String]
|
4451
|
+
#
|
4452
|
+
# @!attribute [rw] service
|
4453
|
+
# The service scan type to check permissions for.
|
4454
|
+
# @return [String]
|
4455
|
+
#
|
4456
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListAccountPermissionsRequest AWS API Documentation
|
4457
|
+
#
|
4458
|
+
class ListAccountPermissionsRequest < Struct.new(
|
4459
|
+
:max_results,
|
4460
|
+
:next_token,
|
4461
|
+
:service)
|
4462
|
+
SENSITIVE = []
|
4463
|
+
include Aws::Structure
|
4464
|
+
end
|
4465
|
+
|
4466
|
+
# @!attribute [rw] next_token
|
4467
|
+
# A token to use for paginating results that are returned in the
|
4468
|
+
# response. Set the value of this parameter to null for the first
|
4469
|
+
# request to a list action. For subsequent calls, use the `NextToken`
|
4470
|
+
# value returned from the previous request to continue listing results
|
4471
|
+
# after the first page.
|
4472
|
+
# @return [String]
|
4473
|
+
#
|
4474
|
+
# @!attribute [rw] permissions
|
4475
|
+
# Contains details on the permissions an account has to configure
|
4476
|
+
# Amazon Inspector.
|
4477
|
+
# @return [Array<Types::Permission>]
|
4478
|
+
#
|
4479
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListAccountPermissionsResponse AWS API Documentation
|
4480
|
+
#
|
4481
|
+
class ListAccountPermissionsResponse < Struct.new(
|
4482
|
+
:next_token,
|
4483
|
+
:permissions)
|
4484
|
+
SENSITIVE = []
|
4485
|
+
include Aws::Structure
|
4486
|
+
end
|
4487
|
+
|
4488
|
+
# A list of CIS scan configurations filter criteria.
|
4489
|
+
#
|
4490
|
+
# @!attribute [rw] scan_configuration_arn_filters
|
4491
|
+
# The list of scan configuration ARN filters.
|
4492
|
+
# @return [Array<Types::CisStringFilter>]
|
4493
|
+
#
|
4494
|
+
# @!attribute [rw] scan_name_filters
|
4495
|
+
# The list of scan name filters.
|
4496
|
+
# @return [Array<Types::CisStringFilter>]
|
4497
|
+
#
|
4498
|
+
# @!attribute [rw] target_resource_tag_filters
|
4499
|
+
# The list of target resource tag filters.
|
4500
|
+
# @return [Array<Types::TagFilter>]
|
4501
|
+
#
|
4502
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCisScanConfigurationsFilterCriteria AWS API Documentation
|
4503
|
+
#
|
4504
|
+
class ListCisScanConfigurationsFilterCriteria < Struct.new(
|
4505
|
+
:scan_configuration_arn_filters,
|
4506
|
+
:scan_name_filters,
|
4507
|
+
:target_resource_tag_filters)
|
4508
|
+
SENSITIVE = []
|
4509
|
+
include Aws::Structure
|
4510
|
+
end
|
4511
|
+
|
4512
|
+
# @!attribute [rw] filter_criteria
|
4513
|
+
# The CIS scan configuration filter criteria.
|
4514
|
+
# @return [Types::ListCisScanConfigurationsFilterCriteria]
|
4515
|
+
#
|
4516
|
+
# @!attribute [rw] max_results
|
4517
|
+
# The maximum number of CIS scan configurations to be returned in a
|
4518
|
+
# single page of results.
|
4519
|
+
# @return [Integer]
|
4520
|
+
#
|
4521
|
+
# @!attribute [rw] next_token
|
4522
|
+
# The pagination token from a previous request that's used to
|
4523
|
+
# retrieve the next page of results.
|
4524
|
+
# @return [String]
|
4525
|
+
#
|
4526
|
+
# @!attribute [rw] sort_by
|
4527
|
+
# The CIS scan configuration sort by order.
|
4528
|
+
# @return [String]
|
4529
|
+
#
|
4530
|
+
# @!attribute [rw] sort_order
|
4531
|
+
# The CIS scan configuration sort order order.
|
4532
|
+
# @return [String]
|
4533
|
+
#
|
4534
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCisScanConfigurationsRequest AWS API Documentation
|
4535
|
+
#
|
4536
|
+
class ListCisScanConfigurationsRequest < Struct.new(
|
4537
|
+
:filter_criteria,
|
4538
|
+
:max_results,
|
4539
|
+
:next_token,
|
4540
|
+
:sort_by,
|
4541
|
+
:sort_order)
|
4542
|
+
SENSITIVE = []
|
4543
|
+
include Aws::Structure
|
4544
|
+
end
|
4545
|
+
|
4546
|
+
# @!attribute [rw] next_token
|
4547
|
+
# The pagination token from a previous request that's used to
|
4548
|
+
# retrieve the next page of results.
|
4549
|
+
# @return [String]
|
4550
|
+
#
|
4551
|
+
# @!attribute [rw] scan_configurations
|
4552
|
+
# The CIS scan configuration scan configurations.
|
4553
|
+
# @return [Array<Types::CisScanConfiguration>]
|
4554
|
+
#
|
4555
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCisScanConfigurationsResponse AWS API Documentation
|
4556
|
+
#
|
4557
|
+
class ListCisScanConfigurationsResponse < Struct.new(
|
4558
|
+
:next_token,
|
4559
|
+
:scan_configurations)
|
4560
|
+
SENSITIVE = []
|
4561
|
+
include Aws::Structure
|
4562
|
+
end
|
4563
|
+
|
4564
|
+
# @!attribute [rw] filter_criteria
|
4565
|
+
# The filter criteria.
|
4566
|
+
# @return [Types::CisScanResultsAggregatedByChecksFilterCriteria]
|
4567
|
+
#
|
4568
|
+
# @!attribute [rw] max_results
|
4569
|
+
# The maximum number of scan results aggregated by checks to be
|
4570
|
+
# returned in a single page of results.
|
4571
|
+
# @return [Integer]
|
4572
|
+
#
|
4573
|
+
# @!attribute [rw] next_token
|
4574
|
+
# The pagination token from a previous request that's used to
|
4575
|
+
# retrieve the next page of results.
|
4576
|
+
# @return [String]
|
4577
|
+
#
|
4578
|
+
# @!attribute [rw] scan_arn
|
4579
|
+
# The scan ARN.
|
4580
|
+
# @return [String]
|
4581
|
+
#
|
4582
|
+
# @!attribute [rw] sort_by
|
4583
|
+
# The sort by order.
|
4584
|
+
# @return [String]
|
4585
|
+
#
|
4586
|
+
# @!attribute [rw] sort_order
|
4587
|
+
# The sort order.
|
4588
|
+
# @return [String]
|
4589
|
+
#
|
4590
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCisScanResultsAggregatedByChecksRequest AWS API Documentation
|
4591
|
+
#
|
4592
|
+
class ListCisScanResultsAggregatedByChecksRequest < Struct.new(
|
4593
|
+
:filter_criteria,
|
4594
|
+
:max_results,
|
4595
|
+
:next_token,
|
4596
|
+
:scan_arn,
|
4597
|
+
:sort_by,
|
4598
|
+
:sort_order)
|
4599
|
+
SENSITIVE = []
|
4600
|
+
include Aws::Structure
|
4601
|
+
end
|
4602
|
+
|
4603
|
+
# @!attribute [rw] check_aggregations
|
4604
|
+
# The check aggregations.
|
4605
|
+
# @return [Array<Types::CisCheckAggregation>]
|
4606
|
+
#
|
4607
|
+
# @!attribute [rw] next_token
|
4608
|
+
# The pagination token from a previous request that's used to
|
4609
|
+
# retrieve the next page of results.
|
4610
|
+
# @return [String]
|
4611
|
+
#
|
4612
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCisScanResultsAggregatedByChecksResponse AWS API Documentation
|
4613
|
+
#
|
4614
|
+
class ListCisScanResultsAggregatedByChecksResponse < Struct.new(
|
4615
|
+
:check_aggregations,
|
4616
|
+
:next_token)
|
4617
|
+
SENSITIVE = []
|
4618
|
+
include Aws::Structure
|
4619
|
+
end
|
4620
|
+
|
4621
|
+
# @!attribute [rw] filter_criteria
|
4622
|
+
# The filter criteria.
|
4623
|
+
# @return [Types::CisScanResultsAggregatedByTargetResourceFilterCriteria]
|
4624
|
+
#
|
4625
|
+
# @!attribute [rw] max_results
|
4626
|
+
# The maximum number of scan results aggregated by a target resource
|
4627
|
+
# to be returned in a single page of results.
|
4628
|
+
# @return [Integer]
|
4629
|
+
#
|
4630
|
+
# @!attribute [rw] next_token
|
4631
|
+
# The pagination token from a previous request that's used to
|
4632
|
+
# retrieve the next page of results.
|
4633
|
+
# @return [String]
|
4634
|
+
#
|
4635
|
+
# @!attribute [rw] scan_arn
|
4636
|
+
# The scan ARN.
|
4637
|
+
# @return [String]
|
4638
|
+
#
|
4639
|
+
# @!attribute [rw] sort_by
|
4640
|
+
# The sort by order.
|
4641
|
+
# @return [String]
|
4642
|
+
#
|
4643
|
+
# @!attribute [rw] sort_order
|
4644
|
+
# The sort order.
|
4645
|
+
# @return [String]
|
4646
|
+
#
|
4647
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCisScanResultsAggregatedByTargetResourceRequest AWS API Documentation
|
4648
|
+
#
|
4649
|
+
class ListCisScanResultsAggregatedByTargetResourceRequest < Struct.new(
|
4650
|
+
:filter_criteria,
|
4651
|
+
:max_results,
|
4652
|
+
:next_token,
|
4653
|
+
:scan_arn,
|
4654
|
+
:sort_by,
|
4655
|
+
:sort_order)
|
4656
|
+
SENSITIVE = []
|
4657
|
+
include Aws::Structure
|
4658
|
+
end
|
4659
|
+
|
4660
|
+
# @!attribute [rw] next_token
|
4661
|
+
# The pagination token from a previous request that's used to
|
4662
|
+
# retrieve the next page of results.
|
4663
|
+
# @return [String]
|
4664
|
+
#
|
4665
|
+
# @!attribute [rw] target_resource_aggregations
|
4666
|
+
# The resource aggregations.
|
4667
|
+
# @return [Array<Types::CisTargetResourceAggregation>]
|
4668
|
+
#
|
4669
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCisScanResultsAggregatedByTargetResourceResponse AWS API Documentation
|
4670
|
+
#
|
4671
|
+
class ListCisScanResultsAggregatedByTargetResourceResponse < Struct.new(
|
4672
|
+
:next_token,
|
4673
|
+
:target_resource_aggregations)
|
4674
|
+
SENSITIVE = []
|
4675
|
+
include Aws::Structure
|
4676
|
+
end
|
4677
|
+
|
4678
|
+
# A list of CIS scans filter criteria.
|
4679
|
+
#
|
4680
|
+
# @!attribute [rw] failed_checks_filters
|
4681
|
+
# The list of failed checks filters.
|
4682
|
+
# @return [Array<Types::CisNumberFilter>]
|
4683
|
+
#
|
4684
|
+
# @!attribute [rw] scan_arn_filters
|
4685
|
+
# The list of scan ARN filters.
|
4686
|
+
# @return [Array<Types::CisStringFilter>]
|
4687
|
+
#
|
4688
|
+
# @!attribute [rw] scan_at_filters
|
4689
|
+
# The list of scan at filters.
|
4690
|
+
# @return [Array<Types::CisDateFilter>]
|
4691
|
+
#
|
4692
|
+
# @!attribute [rw] scan_configuration_arn_filters
|
4693
|
+
# The list of scan configuration ARN filters.
|
4694
|
+
# @return [Array<Types::CisStringFilter>]
|
4695
|
+
#
|
4696
|
+
# @!attribute [rw] scan_name_filters
|
4697
|
+
# The list of scan name filters.
|
4698
|
+
# @return [Array<Types::CisStringFilter>]
|
4699
|
+
#
|
4700
|
+
# @!attribute [rw] scan_status_filters
|
4701
|
+
# The list of scan status filters.
|
4702
|
+
# @return [Array<Types::CisScanStatusFilter>]
|
4703
|
+
#
|
4704
|
+
# @!attribute [rw] scheduled_by_filters
|
4705
|
+
# The list of scheduled by filters.
|
4706
|
+
# @return [Array<Types::CisStringFilter>]
|
4707
|
+
#
|
4708
|
+
# @!attribute [rw] target_account_id_filters
|
4709
|
+
# The list of target account ID filters.
|
4710
|
+
# @return [Array<Types::CisStringFilter>]
|
4711
|
+
#
|
4712
|
+
# @!attribute [rw] target_resource_id_filters
|
4713
|
+
# The list of target resource ID filters.
|
4714
|
+
# @return [Array<Types::CisStringFilter>]
|
3582
4715
|
#
|
3583
|
-
#
|
4716
|
+
# @!attribute [rw] target_resource_tag_filters
|
4717
|
+
# The list of target resource tag filters.
|
4718
|
+
# @return [Array<Types::TagFilter>]
|
3584
4719
|
#
|
3585
|
-
|
3586
|
-
|
3587
|
-
|
3588
|
-
:
|
4720
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCisScansFilterCriteria AWS API Documentation
|
4721
|
+
#
|
4722
|
+
class ListCisScansFilterCriteria < Struct.new(
|
4723
|
+
:failed_checks_filters,
|
4724
|
+
:scan_arn_filters,
|
4725
|
+
:scan_at_filters,
|
4726
|
+
:scan_configuration_arn_filters,
|
4727
|
+
:scan_name_filters,
|
4728
|
+
:scan_status_filters,
|
4729
|
+
:scheduled_by_filters,
|
4730
|
+
:target_account_id_filters,
|
4731
|
+
:target_resource_id_filters,
|
4732
|
+
:target_resource_tag_filters)
|
3589
4733
|
SENSITIVE = []
|
3590
4734
|
include Aws::Structure
|
3591
4735
|
end
|
3592
4736
|
|
4737
|
+
# @!attribute [rw] detail_level
|
4738
|
+
# The detail applied to the CIS scan.
|
4739
|
+
# @return [String]
|
4740
|
+
#
|
4741
|
+
# @!attribute [rw] filter_criteria
|
4742
|
+
# The CIS scan filter criteria.
|
4743
|
+
# @return [Types::ListCisScansFilterCriteria]
|
4744
|
+
#
|
3593
4745
|
# @!attribute [rw] max_results
|
3594
|
-
# The maximum number of results
|
3595
|
-
# request would return more than the maximum the response will return
|
3596
|
-
# a `nextToken` value, use this value when you call the action again
|
3597
|
-
# to get the remaining results.
|
4746
|
+
# The maximum number of results to be returned.
|
3598
4747
|
# @return [Integer]
|
3599
4748
|
#
|
3600
4749
|
# @!attribute [rw] next_token
|
3601
|
-
#
|
3602
|
-
#
|
3603
|
-
# request to a list action. If your response returns more than the
|
3604
|
-
# `maxResults` maximum value it will also return a `nextToken` value.
|
3605
|
-
# For subsequent calls, use the NextToken value returned from the
|
3606
|
-
# previous request to continue listing results after the first page.
|
4750
|
+
# The pagination token from a previous request that's used to
|
4751
|
+
# retrieve the next page of results.
|
3607
4752
|
# @return [String]
|
3608
4753
|
#
|
3609
|
-
# @!attribute [rw]
|
3610
|
-
# The
|
4754
|
+
# @!attribute [rw] sort_by
|
4755
|
+
# The CIS scans sort by order.
|
3611
4756
|
# @return [String]
|
3612
4757
|
#
|
3613
|
-
#
|
4758
|
+
# @!attribute [rw] sort_order
|
4759
|
+
# The CIS scans sort order.
|
4760
|
+
# @return [String]
|
3614
4761
|
#
|
3615
|
-
|
4762
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCisScansRequest AWS API Documentation
|
4763
|
+
#
|
4764
|
+
class ListCisScansRequest < Struct.new(
|
4765
|
+
:detail_level,
|
4766
|
+
:filter_criteria,
|
3616
4767
|
:max_results,
|
3617
4768
|
:next_token,
|
3618
|
-
:
|
4769
|
+
:sort_by,
|
4770
|
+
:sort_order)
|
3619
4771
|
SENSITIVE = []
|
3620
4772
|
include Aws::Structure
|
3621
4773
|
end
|
3622
4774
|
|
3623
4775
|
# @!attribute [rw] next_token
|
3624
|
-
#
|
3625
|
-
#
|
3626
|
-
# request to a list action. For subsequent calls, use the `NextToken`
|
3627
|
-
# value returned from the previous request to continue listing results
|
3628
|
-
# after the first page.
|
4776
|
+
# The pagination token from a previous request that's used to
|
4777
|
+
# retrieve the next page of results.
|
3629
4778
|
# @return [String]
|
3630
4779
|
#
|
3631
|
-
# @!attribute [rw]
|
3632
|
-
#
|
3633
|
-
#
|
3634
|
-
# @return [Array<Types::Permission>]
|
4780
|
+
# @!attribute [rw] scans
|
4781
|
+
# The CIS scans.
|
4782
|
+
# @return [Array<Types::CisScan>]
|
3635
4783
|
#
|
3636
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/
|
4784
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCisScansResponse AWS API Documentation
|
3637
4785
|
#
|
3638
|
-
class
|
4786
|
+
class ListCisScansResponse < Struct.new(
|
3639
4787
|
:next_token,
|
3640
|
-
:
|
4788
|
+
:scans)
|
3641
4789
|
SENSITIVE = []
|
3642
4790
|
include Aws::Structure
|
3643
4791
|
end
|
@@ -4200,6 +5348,25 @@ module Aws::Inspector2
|
|
4200
5348
|
include Aws::Structure
|
4201
5349
|
end
|
4202
5350
|
|
5351
|
+
# A monthly schedule.
|
5352
|
+
#
|
5353
|
+
# @!attribute [rw] day
|
5354
|
+
# The monthly schedule's day.
|
5355
|
+
# @return [String]
|
5356
|
+
#
|
5357
|
+
# @!attribute [rw] start_time
|
5358
|
+
# The monthly schedule's start time.
|
5359
|
+
# @return [Types::Time]
|
5360
|
+
#
|
5361
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/MonthlySchedule AWS API Documentation
|
5362
|
+
#
|
5363
|
+
class MonthlySchedule < Struct.new(
|
5364
|
+
:day,
|
5365
|
+
:start_time)
|
5366
|
+
SENSITIVE = []
|
5367
|
+
include Aws::Structure
|
5368
|
+
end
|
5369
|
+
|
4203
5370
|
# Information on the network path associated with a finding.
|
4204
5371
|
#
|
4205
5372
|
# @!attribute [rw] steps
|
@@ -4259,6 +5426,14 @@ module Aws::Inspector2
|
|
4259
5426
|
include Aws::Structure
|
4260
5427
|
end
|
4261
5428
|
|
5429
|
+
# A one time schedule.
|
5430
|
+
#
|
5431
|
+
# @api private
|
5432
|
+
#
|
5433
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/OneTimeSchedule AWS API Documentation
|
5434
|
+
#
|
5435
|
+
class OneTimeSchedule < Aws::EmptyStructure; end
|
5436
|
+
|
4262
5437
|
# The details that define an aggregation based on operating system
|
4263
5438
|
# package type.
|
4264
5439
|
#
|
@@ -4987,6 +6162,47 @@ module Aws::Inspector2
|
|
4987
6162
|
include Aws::Structure
|
4988
6163
|
end
|
4989
6164
|
|
6165
|
+
# A schedule.
|
6166
|
+
#
|
6167
|
+
# @note Schedule is a union - when making an API calls you must set exactly one of the members.
|
6168
|
+
#
|
6169
|
+
# @note Schedule is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Schedule corresponding to the set member.
|
6170
|
+
#
|
6171
|
+
# @!attribute [rw] daily
|
6172
|
+
# The schedule's daily.
|
6173
|
+
# @return [Types::DailySchedule]
|
6174
|
+
#
|
6175
|
+
# @!attribute [rw] monthly
|
6176
|
+
# The schedule's monthly.
|
6177
|
+
# @return [Types::MonthlySchedule]
|
6178
|
+
#
|
6179
|
+
# @!attribute [rw] one_time
|
6180
|
+
# The schedule's one time.
|
6181
|
+
# @return [Types::OneTimeSchedule]
|
6182
|
+
#
|
6183
|
+
# @!attribute [rw] weekly
|
6184
|
+
# The schedule's weekly.
|
6185
|
+
# @return [Types::WeeklySchedule]
|
6186
|
+
#
|
6187
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Schedule AWS API Documentation
|
6188
|
+
#
|
6189
|
+
class Schedule < Struct.new(
|
6190
|
+
:daily,
|
6191
|
+
:monthly,
|
6192
|
+
:one_time,
|
6193
|
+
:weekly,
|
6194
|
+
:unknown)
|
6195
|
+
SENSITIVE = []
|
6196
|
+
include Aws::Structure
|
6197
|
+
include Aws::Structure::Union
|
6198
|
+
|
6199
|
+
class Daily < Schedule; end
|
6200
|
+
class Monthly < Schedule; end
|
6201
|
+
class OneTime < Schedule; end
|
6202
|
+
class Weekly < Schedule; end
|
6203
|
+
class Unknown < Schedule; end
|
6204
|
+
end
|
6205
|
+
|
4990
6206
|
# Details on the criteria used to define the filter for a vulnerability
|
4991
6207
|
# search.
|
4992
6208
|
#
|
@@ -5041,6 +6257,53 @@ module Aws::Inspector2
|
|
5041
6257
|
include Aws::Structure
|
5042
6258
|
end
|
5043
6259
|
|
6260
|
+
# @!attribute [rw] scan_job_id
|
6261
|
+
# A unique identifier for the scan job.
|
6262
|
+
# @return [String]
|
6263
|
+
#
|
6264
|
+
# @!attribute [rw] session_token
|
6265
|
+
# The unique token that identifies the CIS session.
|
6266
|
+
# @return [String]
|
6267
|
+
#
|
6268
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/SendCisSessionHealthRequest AWS API Documentation
|
6269
|
+
#
|
6270
|
+
class SendCisSessionHealthRequest < Struct.new(
|
6271
|
+
:scan_job_id,
|
6272
|
+
:session_token)
|
6273
|
+
SENSITIVE = []
|
6274
|
+
include Aws::Structure
|
6275
|
+
end
|
6276
|
+
|
6277
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/SendCisSessionHealthResponse AWS API Documentation
|
6278
|
+
#
|
6279
|
+
class SendCisSessionHealthResponse < Aws::EmptyStructure; end
|
6280
|
+
|
6281
|
+
# @!attribute [rw] messages
|
6282
|
+
# The CIS session telemetry messages.
|
6283
|
+
# @return [Array<Types::CisSessionMessage>]
|
6284
|
+
#
|
6285
|
+
# @!attribute [rw] scan_job_id
|
6286
|
+
# A unique identifier for the scan job.
|
6287
|
+
# @return [String]
|
6288
|
+
#
|
6289
|
+
# @!attribute [rw] session_token
|
6290
|
+
# The unique token that identifies the CIS session.
|
6291
|
+
# @return [String]
|
6292
|
+
#
|
6293
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/SendCisSessionTelemetryRequest AWS API Documentation
|
6294
|
+
#
|
6295
|
+
class SendCisSessionTelemetryRequest < Struct.new(
|
6296
|
+
:messages,
|
6297
|
+
:scan_job_id,
|
6298
|
+
:session_token)
|
6299
|
+
SENSITIVE = []
|
6300
|
+
include Aws::Structure
|
6301
|
+
end
|
6302
|
+
|
6303
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/SendCisSessionTelemetryResponse AWS API Documentation
|
6304
|
+
#
|
6305
|
+
class SendCisSessionTelemetryResponse < Aws::EmptyStructure; end
|
6306
|
+
|
5044
6307
|
# You have exceeded your service quota. To perform the requested action,
|
5045
6308
|
# remove some of the relevant resources, or use Service Quotas to
|
5046
6309
|
# request a service quota increase.
|
@@ -5109,6 +6372,41 @@ module Aws::Inspector2
|
|
5109
6372
|
include Aws::Structure
|
5110
6373
|
end
|
5111
6374
|
|
6375
|
+
# The start CIS session message.
|
6376
|
+
#
|
6377
|
+
# @!attribute [rw] session_token
|
6378
|
+
# The unique token that identifies the CIS session.
|
6379
|
+
# @return [String]
|
6380
|
+
#
|
6381
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/StartCisSessionMessage AWS API Documentation
|
6382
|
+
#
|
6383
|
+
class StartCisSessionMessage < Struct.new(
|
6384
|
+
:session_token)
|
6385
|
+
SENSITIVE = []
|
6386
|
+
include Aws::Structure
|
6387
|
+
end
|
6388
|
+
|
6389
|
+
# @!attribute [rw] message
|
6390
|
+
# The start CIS session message.
|
6391
|
+
# @return [Types::StartCisSessionMessage]
|
6392
|
+
#
|
6393
|
+
# @!attribute [rw] scan_job_id
|
6394
|
+
# A unique identifier for the scan job.
|
6395
|
+
# @return [String]
|
6396
|
+
#
|
6397
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/StartCisSessionRequest AWS API Documentation
|
6398
|
+
#
|
6399
|
+
class StartCisSessionRequest < Struct.new(
|
6400
|
+
:message,
|
6401
|
+
:scan_job_id)
|
6402
|
+
SENSITIVE = []
|
6403
|
+
include Aws::Structure
|
6404
|
+
end
|
6405
|
+
|
6406
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/StartCisSessionResponse AWS API Documentation
|
6407
|
+
#
|
6408
|
+
class StartCisSessionResponse < Aws::EmptyStructure; end
|
6409
|
+
|
5112
6410
|
# An object that described the state of Amazon Inspector scans for an
|
5113
6411
|
# account.
|
5114
6412
|
#
|
@@ -5136,6 +6434,30 @@ module Aws::Inspector2
|
|
5136
6434
|
include Aws::Structure
|
5137
6435
|
end
|
5138
6436
|
|
6437
|
+
# The status counts.
|
6438
|
+
#
|
6439
|
+
# @!attribute [rw] failed
|
6440
|
+
# The number of checks that failed.
|
6441
|
+
# @return [Integer]
|
6442
|
+
#
|
6443
|
+
# @!attribute [rw] passed
|
6444
|
+
# The number of checks that passed.
|
6445
|
+
# @return [Integer]
|
6446
|
+
#
|
6447
|
+
# @!attribute [rw] skipped
|
6448
|
+
# The number of checks that were skipped.
|
6449
|
+
# @return [Integer]
|
6450
|
+
#
|
6451
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/StatusCounts AWS API Documentation
|
6452
|
+
#
|
6453
|
+
class StatusCounts < Struct.new(
|
6454
|
+
:failed,
|
6455
|
+
:passed,
|
6456
|
+
:skipped)
|
6457
|
+
SENSITIVE = []
|
6458
|
+
include Aws::Structure
|
6459
|
+
end
|
6460
|
+
|
5139
6461
|
# Details about the step associated with a finding.
|
5140
6462
|
#
|
5141
6463
|
# @!attribute [rw] component_id
|
@@ -5155,6 +6477,120 @@ module Aws::Inspector2
|
|
5155
6477
|
include Aws::Structure
|
5156
6478
|
end
|
5157
6479
|
|
6480
|
+
# The stop CIS message progress.
|
6481
|
+
#
|
6482
|
+
# @!attribute [rw] error_checks
|
6483
|
+
# The progress' error checks.
|
6484
|
+
# @return [Integer]
|
6485
|
+
#
|
6486
|
+
# @!attribute [rw] failed_checks
|
6487
|
+
# The progress' failed checks.
|
6488
|
+
# @return [Integer]
|
6489
|
+
#
|
6490
|
+
# @!attribute [rw] informational_checks
|
6491
|
+
# The progress' informational checks.
|
6492
|
+
# @return [Integer]
|
6493
|
+
#
|
6494
|
+
# @!attribute [rw] not_applicable_checks
|
6495
|
+
# The progress' not applicable checks.
|
6496
|
+
# @return [Integer]
|
6497
|
+
#
|
6498
|
+
# @!attribute [rw] not_evaluated_checks
|
6499
|
+
# The progress' not evaluated checks.
|
6500
|
+
# @return [Integer]
|
6501
|
+
#
|
6502
|
+
# @!attribute [rw] successful_checks
|
6503
|
+
# The progress' successful checks.
|
6504
|
+
# @return [Integer]
|
6505
|
+
#
|
6506
|
+
# @!attribute [rw] total_checks
|
6507
|
+
# The progress' total checks.
|
6508
|
+
# @return [Integer]
|
6509
|
+
#
|
6510
|
+
# @!attribute [rw] unknown_checks
|
6511
|
+
# The progress' unknown checks.
|
6512
|
+
# @return [Integer]
|
6513
|
+
#
|
6514
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/StopCisMessageProgress AWS API Documentation
|
6515
|
+
#
|
6516
|
+
class StopCisMessageProgress < Struct.new(
|
6517
|
+
:error_checks,
|
6518
|
+
:failed_checks,
|
6519
|
+
:informational_checks,
|
6520
|
+
:not_applicable_checks,
|
6521
|
+
:not_evaluated_checks,
|
6522
|
+
:successful_checks,
|
6523
|
+
:total_checks,
|
6524
|
+
:unknown_checks)
|
6525
|
+
SENSITIVE = []
|
6526
|
+
include Aws::Structure
|
6527
|
+
end
|
6528
|
+
|
6529
|
+
# The stop CIS session message.
|
6530
|
+
#
|
6531
|
+
# @!attribute [rw] benchmark_profile
|
6532
|
+
# The message benchmark profile.
|
6533
|
+
# @return [String]
|
6534
|
+
#
|
6535
|
+
# @!attribute [rw] benchmark_version
|
6536
|
+
# The message benchmark version.
|
6537
|
+
# @return [String]
|
6538
|
+
#
|
6539
|
+
# @!attribute [rw] compute_platform
|
6540
|
+
# The message compute platform.
|
6541
|
+
# @return [Types::ComputePlatform]
|
6542
|
+
#
|
6543
|
+
# @!attribute [rw] progress
|
6544
|
+
# The progress of the message.
|
6545
|
+
# @return [Types::StopCisMessageProgress]
|
6546
|
+
#
|
6547
|
+
# @!attribute [rw] reason
|
6548
|
+
# The reason for the message.
|
6549
|
+
# @return [String]
|
6550
|
+
#
|
6551
|
+
# @!attribute [rw] status
|
6552
|
+
# The status of the message.
|
6553
|
+
# @return [String]
|
6554
|
+
#
|
6555
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/StopCisSessionMessage AWS API Documentation
|
6556
|
+
#
|
6557
|
+
class StopCisSessionMessage < Struct.new(
|
6558
|
+
:benchmark_profile,
|
6559
|
+
:benchmark_version,
|
6560
|
+
:compute_platform,
|
6561
|
+
:progress,
|
6562
|
+
:reason,
|
6563
|
+
:status)
|
6564
|
+
SENSITIVE = []
|
6565
|
+
include Aws::Structure
|
6566
|
+
end
|
6567
|
+
|
6568
|
+
# @!attribute [rw] message
|
6569
|
+
# The stop CIS session message.
|
6570
|
+
# @return [Types::StopCisSessionMessage]
|
6571
|
+
#
|
6572
|
+
# @!attribute [rw] scan_job_id
|
6573
|
+
# A unique identifier for the scan job.
|
6574
|
+
# @return [String]
|
6575
|
+
#
|
6576
|
+
# @!attribute [rw] session_token
|
6577
|
+
# The unique token that identifies the CIS session.
|
6578
|
+
# @return [String]
|
6579
|
+
#
|
6580
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/StopCisSessionRequest AWS API Documentation
|
6581
|
+
#
|
6582
|
+
class StopCisSessionRequest < Struct.new(
|
6583
|
+
:message,
|
6584
|
+
:scan_job_id,
|
6585
|
+
:session_token)
|
6586
|
+
SENSITIVE = []
|
6587
|
+
include Aws::Structure
|
6588
|
+
end
|
6589
|
+
|
6590
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/StopCisSessionResponse AWS API Documentation
|
6591
|
+
#
|
6592
|
+
class StopCisSessionResponse < Aws::EmptyStructure; end
|
6593
|
+
|
5158
6594
|
# An object that describes the details of a string filter.
|
5159
6595
|
#
|
5160
6596
|
# @!attribute [rw] comparison
|
@@ -5193,6 +6629,30 @@ module Aws::Inspector2
|
|
5193
6629
|
include Aws::Structure
|
5194
6630
|
end
|
5195
6631
|
|
6632
|
+
# The tag filter.
|
6633
|
+
#
|
6634
|
+
# @!attribute [rw] comparison
|
6635
|
+
# The tag filter comparison value.
|
6636
|
+
# @return [String]
|
6637
|
+
#
|
6638
|
+
# @!attribute [rw] key
|
6639
|
+
# The tag filter key.
|
6640
|
+
# @return [String]
|
6641
|
+
#
|
6642
|
+
# @!attribute [rw] value
|
6643
|
+
# The tag filter value.
|
6644
|
+
# @return [String]
|
6645
|
+
#
|
6646
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/TagFilter AWS API Documentation
|
6647
|
+
#
|
6648
|
+
class TagFilter < Struct.new(
|
6649
|
+
:comparison,
|
6650
|
+
:key,
|
6651
|
+
:value)
|
6652
|
+
SENSITIVE = []
|
6653
|
+
include Aws::Structure
|
6654
|
+
end
|
6655
|
+
|
5196
6656
|
# @!attribute [rw] resource_arn
|
5197
6657
|
# The Amazon Resource Name (ARN) of the resource to apply a tag to.
|
5198
6658
|
# @return [String]
|
@@ -5232,6 +6692,25 @@ module Aws::Inspector2
|
|
5232
6692
|
include Aws::Structure
|
5233
6693
|
end
|
5234
6694
|
|
6695
|
+
# The time.
|
6696
|
+
#
|
6697
|
+
# @!attribute [rw] time_of_day
|
6698
|
+
# The time of day in 24-hour format (00:00).
|
6699
|
+
# @return [String]
|
6700
|
+
#
|
6701
|
+
# @!attribute [rw] timezone
|
6702
|
+
# The timezone.
|
6703
|
+
# @return [String]
|
6704
|
+
#
|
6705
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Time AWS API Documentation
|
6706
|
+
#
|
6707
|
+
class Time < Struct.new(
|
6708
|
+
:time_of_day,
|
6709
|
+
:timezone)
|
6710
|
+
SENSITIVE = []
|
6711
|
+
include Aws::Structure
|
6712
|
+
end
|
6713
|
+
|
5235
6714
|
# The details that define an aggregation based on finding title.
|
5236
6715
|
#
|
5237
6716
|
# @!attribute [rw] finding_type
|
@@ -5323,6 +6802,70 @@ module Aws::Inspector2
|
|
5323
6802
|
#
|
5324
6803
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
5325
6804
|
|
6805
|
+
# @!attribute [rw] scan_configuration_arn
|
6806
|
+
# The CIS scan configuration ARN.
|
6807
|
+
# @return [String]
|
6808
|
+
#
|
6809
|
+
# @!attribute [rw] scan_name
|
6810
|
+
# The scan name for the CIS scan configuration.
|
6811
|
+
# @return [String]
|
6812
|
+
#
|
6813
|
+
# @!attribute [rw] schedule
|
6814
|
+
# The schedule for the CIS scan configuration.
|
6815
|
+
# @return [Types::Schedule]
|
6816
|
+
#
|
6817
|
+
# @!attribute [rw] security_level
|
6818
|
+
# The security level for the CIS scan configuration. Security level
|
6819
|
+
# refers to the Benchmark levels that CIS assigns to a profile.
|
6820
|
+
# @return [String]
|
6821
|
+
#
|
6822
|
+
# @!attribute [rw] targets
|
6823
|
+
# The targets for the CIS scan configuration.
|
6824
|
+
# @return [Types::UpdateCisTargets]
|
6825
|
+
#
|
6826
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateCisScanConfigurationRequest AWS API Documentation
|
6827
|
+
#
|
6828
|
+
class UpdateCisScanConfigurationRequest < Struct.new(
|
6829
|
+
:scan_configuration_arn,
|
6830
|
+
:scan_name,
|
6831
|
+
:schedule,
|
6832
|
+
:security_level,
|
6833
|
+
:targets)
|
6834
|
+
SENSITIVE = []
|
6835
|
+
include Aws::Structure
|
6836
|
+
end
|
6837
|
+
|
6838
|
+
# @!attribute [rw] scan_configuration_arn
|
6839
|
+
# The CIS scan configuration ARN.
|
6840
|
+
# @return [String]
|
6841
|
+
#
|
6842
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateCisScanConfigurationResponse AWS API Documentation
|
6843
|
+
#
|
6844
|
+
class UpdateCisScanConfigurationResponse < Struct.new(
|
6845
|
+
:scan_configuration_arn)
|
6846
|
+
SENSITIVE = []
|
6847
|
+
include Aws::Structure
|
6848
|
+
end
|
6849
|
+
|
6850
|
+
# Updates CIS targets.
|
6851
|
+
#
|
6852
|
+
# @!attribute [rw] account_ids
|
6853
|
+
# The target account ids.
|
6854
|
+
# @return [Array<String>]
|
6855
|
+
#
|
6856
|
+
# @!attribute [rw] target_resource_tags
|
6857
|
+
# The target resource tags.
|
6858
|
+
# @return [Hash<String,Array<String>>]
|
6859
|
+
#
|
6860
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateCisTargets AWS API Documentation
|
6861
|
+
#
|
6862
|
+
class UpdateCisTargets < Struct.new(
|
6863
|
+
:account_ids,
|
6864
|
+
:target_resource_tags)
|
6865
|
+
SENSITIVE = []
|
6866
|
+
include Aws::Structure
|
6867
|
+
end
|
6868
|
+
|
5326
6869
|
# @!attribute [rw] ecr_configuration
|
5327
6870
|
# Specifies how the ECR automated re-scan will be updated for your
|
5328
6871
|
# environment.
|
@@ -5776,5 +7319,24 @@ module Aws::Inspector2
|
|
5776
7319
|
include Aws::Structure
|
5777
7320
|
end
|
5778
7321
|
|
7322
|
+
# A weekly schedule.
|
7323
|
+
#
|
7324
|
+
# @!attribute [rw] days
|
7325
|
+
# The weekly schedule's days.
|
7326
|
+
# @return [Array<String>]
|
7327
|
+
#
|
7328
|
+
# @!attribute [rw] start_time
|
7329
|
+
# The weekly schedule's start time.
|
7330
|
+
# @return [Types::Time]
|
7331
|
+
#
|
7332
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/WeeklySchedule AWS API Documentation
|
7333
|
+
#
|
7334
|
+
class WeeklySchedule < Struct.new(
|
7335
|
+
:days,
|
7336
|
+
:start_time)
|
7337
|
+
SENSITIVE = []
|
7338
|
+
include Aws::Structure
|
7339
|
+
end
|
7340
|
+
|
5779
7341
|
end
|
5780
7342
|
end
|