> ## 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 Findings

Retrieve a list of findings with optional filtering.

<Note>
  External Documentation

  To learn more, visit the [AWS documentation](https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_GetFindingsV2.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.                                                                                                                                                                                                                                                                                                                                                                                                            |
  | Filters       | A JSON object that represents filters used to filter the returned findings.<br /><br />For more information refer to [Finding Filters](https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_OcsfFindingFilters.html).<br /><br />For example:<br /><pre><code>\{<br />  "CompositeFilters": \[<br />    \{<br />      "Operator": "AND",<br />      "StringFilters": \[<br />        \{<br />          "FieldName": "class\_name",<br />          "Filter": \{<br />            "Comparison": "EQUALS",<br />            "Value": "Vulnerability Finding"<br />          }<br />        }<br />      ]<br />    }<br />  ],<br />  "CompositeOperator": "AND"<br />}</code></pre> |
  | 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 />**Notes:**<br />\* This parameter can only be used when a single region is specified.<br />\* To use the pagination token, send the request with the exact same `Filters` and `Sort Criteria` as the original request, modifying these criteria in subsequent requests will raise an error.                                                                                                                                                                                                                                                |
  | Sort Criteria | A list of sort criteria objects used to sort the returned results.<br /><br />For more information refer to [Sort Criterion](https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_SortCriterion.html).<br /><br />For example:<br /><pre><code>\[<br />  \{<br />    "Field": "severity",<br />    "SortOrder": "desc"<br />  }<br />]</code></pre>                                                                                                                                                                                                                                                                                                                               |
</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"}
{
	"Findings": [
		{
			"metadata": {
				"product": {
					"vendor_name": "string"
				},
				"version": "string"
			},
			"severity_id": 0,
			"status_id": 0,
			"time": 0,
			"type_uid": 0
		}
	],
	"NextToken": "string"
}
```

## Workflow Library Example

[Security Hub Get Findings with Aws and Send Results Via Email](https://library.blinkops.com/workflows/security-hub-get-findings-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-findings-with-aws-and-send-results-via-email/canvas" />
</div>
