Describe Assessment Runs
inspector_describe_assessment_runs | R Documentation |
Describes the assessment runs that are specified by the ARNs of the assessment runs¶
Description¶
Describes the assessment runs that are specified by the ARNs of the assessment runs.
Usage¶
Arguments¶
assessmentRunArns
[required] The ARN that specifies the assessment run that you want to describe.
Value¶
A list with the following syntax:
list(
assessmentRuns = list(
list(
arn = "string",
name = "string",
assessmentTemplateArn = "string",
state = "CREATED"|"START_DATA_COLLECTION_PENDING"|"START_DATA_COLLECTION_IN_PROGRESS"|"COLLECTING_DATA"|"STOP_DATA_COLLECTION_PENDING"|"DATA_COLLECTED"|"START_EVALUATING_RULES_PENDING"|"EVALUATING_RULES"|"FAILED"|"ERROR"|"COMPLETED"|"COMPLETED_WITH_ERRORS"|"CANCELED",
durationInSeconds = 123,
rulesPackageArns = list(
"string"
),
userAttributesForFindings = list(
list(
key = "string",
value = "string"
)
),
createdAt = as.POSIXct(
"2015-01-01"
),
startedAt = as.POSIXct(
"2015-01-01"
),
completedAt = as.POSIXct(
"2015-01-01"
),
stateChangedAt = as.POSIXct(
"2015-01-01"
),
dataCollected = TRUE|FALSE,
stateChanges = list(
list(
stateChangedAt = as.POSIXct(
"2015-01-01"
),
state = "CREATED"|"START_DATA_COLLECTION_PENDING"|"START_DATA_COLLECTION_IN_PROGRESS"|"COLLECTING_DATA"|"STOP_DATA_COLLECTION_PENDING"|"DATA_COLLECTED"|"START_EVALUATING_RULES_PENDING"|"EVALUATING_RULES"|"FAILED"|"ERROR"|"COMPLETED"|"COMPLETED_WITH_ERRORS"|"CANCELED"
)
),
notifications = list(
list(
date = as.POSIXct(
"2015-01-01"
),
event = "ASSESSMENT_RUN_STARTED"|"ASSESSMENT_RUN_COMPLETED"|"ASSESSMENT_RUN_STATE_CHANGED"|"FINDING_REPORTED"|"OTHER",
message = "string",
error = TRUE|FALSE,
snsTopicArn = "string",
snsPublishStatusCode = "SUCCESS"|"TOPIC_DOES_NOT_EXIST"|"ACCESS_DENIED"|"INTERNAL_ERROR"
)
),
findingCounts = list(
123
)
)
),
failedItems = list(
list(
failureCode = "INVALID_ARN"|"DUPLICATE_ARN"|"ITEM_DOES_NOT_EXIST"|"ACCESS_DENIED"|"LIMIT_EXCEEDED"|"INTERNAL_ERROR",
retryable = TRUE|FALSE
)
)
)