Retrieves the exposure findings tied to a specific remediation target¶
Description¶
Retrieves the exposure findings tied to a specific remediation target. Results are sorted by previous severity, highest first, and are paginated.
Usage¶
Arguments¶
-
TargetUid[required] The unique identifier (ID) of an existing remediation target to list exposure findings for.
-
MaxResultsThe maximum number of results to return. Valid range is 1-100. If you don't specify a value, the operation returns up to 25 results.
-
NextTokenThe token used to paginate the exposures list returned. On your first call to
list_exposures_by_remediation_v2, omit this parameter or set it toNULL. For subsequent calls, use theNextTokenvalue returned in the previous response to retrieve the next page of results.
Value¶
A list with the following syntax:
list(
Items = list(
list(
MetadataUid = "string",
Title = "string",
PreviousSeverity = "Informational"|"Low"|"Medium"|"High"|"Critical",
ProjectedSeverity = "Informational"|"Low"|"Medium"|"High"|"Critical",
Impact = "Reduces"|"Resolves"|"Unchanged"
)
),
TargetUid = "string",
Resource = list(
AccountId = "string",
Region = "string",
ResourceOwnerAccountId = "string",
ResourceOwnerOrgId = "string",
Type = "string",
Name = "string",
Id = "string",
ResourceGuid = "string",
ResourceRegion = "string",
CloudProvider = "Azure"|"AWS"
),
TotalCount = 123,
Trait = list(
Type = "string",
Title = "string"
),
NextToken = "string"
)