CmdID

CmdID / aws / aws securityhub

aws securityhub describe-action-targets

Returns a list of the custom action targets in Security Hub CSPM in your account. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To retrieve details about custom actions

The following describe-action-targets example retrieves information about the custom action identified by the specified ARN.

aws securityhub describe-action-targets --action-target-arns "arn:aws:securityhub:us-west-2:123456789012:action/custom/Remediation"Identify
--action-target-arnsA list of custom action target ARNs for the custom action targets to retrieve.
Its output
{
    "ActionTargets": [
        {
            "ActionTargetArn": "arn:aws:securityhub:us-west-2:123456789012:action/custom/Remediation",
            "Description": "Action to send the finding for remediation tracking",
            "Name": "Send to remediation"
        }
    ]
}

For more information, see Creating a custom action and associating it with a CloudWatch Events rule in the AWS Security Hub User Guide.

Options

3 in the AWS CLI reference
--action-target-arnsA list of custom action target ARNs for the custom action targets to retrieve.
--max-resultsThe maximum number of results to return.
--next-tokenThe token that is required for pagination.