Skip to content

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

securityhub_list_exposures_by_remediation_v2(TargetUid, MaxResults,
  NextToken)

Arguments

  • TargetUid

    [required] The unique identifier (ID) of an existing remediation target to list exposure findings for.

  • MaxResults

    The 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.

  • NextToken

    The token used to paginate the exposures list returned. On your first call to list_exposures_by_remediation_v2, omit this parameter or set it to NULL. For subsequent calls, use the NextToken value 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"
)

Request syntax

svc$list_exposures_by_remediation_v2(
  TargetUid = "string",
  MaxResults = 123,
  NextToken = "string"
)