Retrieves setting configurations for Amazon Inspector scans¶
Description¶
Retrieves setting configurations for Amazon Inspector scans. If you specify an accountId, this operation returns the scan configuration for that member account. You must be the delegated administrator for the specified member account. If you do not specify an accountId, this operation returns your own scan configuration.
Usage¶
Arguments¶
-
accountIdThe 12-digit Amazon Web Services account ID of the member account whose scan configuration you want to retrieve. When specified, you must be the delegated administrator for this member account. If not specified, the operation returns your own configuration.
Value¶
A list with the following syntax:
list(
ecrConfiguration = list(
rescanDurationState = list(
rescanDuration = "LIFETIME"|"DAYS_30"|"DAYS_180"|"DAYS_14"|"DAYS_60"|"DAYS_90"|"DAYS_3"|"DAYS_7",
status = "SUCCESS"|"PENDING"|"FAILED",
updatedAt = as.POSIXct(
"2015-01-01"
),
pullDateRescanDuration = "DAYS_14"|"DAYS_30"|"DAYS_60"|"DAYS_90"|"DAYS_180"|"DAYS_3"|"DAYS_7",
pullDateRescanMode = "LAST_PULL_DATE"|"LAST_IN_USE_AT"
)
),
ec2Configuration = list(
scanModeState = list(
scanMode = "EC2_SSM_AGENT_BASED"|"EC2_HYBRID",
scanModeStatus = "SUCCESS"|"PENDING"
),
vmScannerState = list(
activated = TRUE|FALSE,
activatedAt = as.POSIXct(
"2015-01-01"
),
status = "SUCCESS"|"PENDING"|"FAILED"
)
)
)