> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Security Hub Get Insights

Retrieve a list of insights for the specified insight ARNs.

**Note:** If no insight ARNs are provided, the action returns all custom insights. Managed insights are not included.

<Note>
  External Documentation

  To learn more, visit the [AWS documentation](https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_GetInsights.html).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter    | Description                                                                                                                                                                                                                                                                    |
  | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | AWS Regions  | A comma-separated list of AWS regions where this action will be executed.<br /><br />For example, to execute in US East and Europe, enter `us-east-1,eu-west-1`.<br /><br />Alternatively, you can use the asterisk symbol `*` to run the action in all available AWS Regions. |
  | Insight ARNs | A comma-separated list of insight ARNs to get details for.                                                                                                                                                                                                                     |
  | Max Results  | The maximum number of results to return per page. Valid values range from `1` to `100`.                                                                                                                                                                                        |
  | Next Token   | A pagination token for retrieving subsequent pages of results. Can be obtained from the `NextToken` field in the previous response.<br /><br />**Note**: This parameter can only be used when a single region is specified.                                                    |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter                        | Description                                                                   |
  | -------------------------------- | ----------------------------------------------------------------------------- |
  | Disable XML To JSON Auto Convert | When checked, XML responses are not automatically converted into JSON format. |
</div>

## Example Output

```json theme={"dark"}
{
	"Insights": [
		{
			"Filters": {
				"SeverityLabel": [
					{
						"Comparison": "EQUALS",
						"Value": "CRITICAL"
					}
				]
			},
			"GroupByAttribute": "ResourceId",
			"InsightArn": "arn:aws:securityhub:us-east-1:123456789012:insight/custom/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
			"Name": "Critical findings by resource"
		}
	],
	"NextToken": "string"
}
```

## Workflow Library Example

[Security Hub Get Insights with Aws and Send Results Via Email](https://library.blinkops.com/workflows/security-hub-get-insights-with-aws-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/security-hub-get-insights-with-aws-and-send-results-via-email/canvas" />
</div>
