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

# Get Findings

Get a list of findings.

<Note>
  External Documentation

  To learn more, visit the [Seemplicity documentation](https://developers.seemplicity.io/queries/finding).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                                         |
  | --------- | ----------------------------------------------------------------------------------------------------------------------------------- |
  | After     | A cursor for paginating forward through the results.                                                                                |
  | Before    | A cursor for paginating backward through the results.                                                                               |
  | First     | The maximum number of findings to return in a single request.                                                                       |
  | Last      | The maximum number of findings to return.<br /><br />**Note** fetches results from the end of the dataset instead of the beginning. |
  | Sort      | Sorting options that determine the order of the findings.                                                                           |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter                 | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
  | ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Filters                   | A JSON object defining the filtering criteria, such as limiting results by status, ticket status, or source.<br /><br />Example:<br /><pre><code>\{<br />    "operator": "and",<br />    "operands": \[<br />      \{<br />        "field": "actual\_status",<br />        "condition": "",<br />        "value": \{<br />          "field": "category",<br />          "condition": "in",<br />          "value": \[<br />            "OPEN"<br />          ]<br />        }<br />      },<br />      \{<br />        "field": "ticket\_status",<br />        "condition": "in",<br />        "value": \[<br />          "BACKLOG",<br />          "SCHEDULED"<br />        ]<br />      }<br />    ]<br />  }</code></pre> |
  | Filters Scope ID          | A unique identifier for a specific scope to show results from.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
  | Filters Scopes Json       | A JSON containing the filter conditions.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
  | Include Original Severity | Select to include the original severity of each finding before any adjustments were applied.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
  | Include Total Count       | Select to include the total number of findings matching the query.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
</div>

## Example Output

```json theme={"dark"}
{
	"data": {
		"finding": {
			"id": "RmluZGluZzoxODAxNTA=",
			"id_int": 180150,
			"finding_id": "1-1-findings.id IN (902, 905) and (1 is not null)",
			"last_reported_time": "2021-04-07T14:52:29+00:00",
			"cloud_provider": "github",
			"original_status": "",
			"discovered_time": "2022-02-19T06:58:31+00:00",
			"cloud_account": "github:mobile-app",
			"package_name": null,
			"datasource": {
				"friendly_name": "GHB"
			},
			"main_resource": {
				"resource_name": "mobile-app"
			},
			"title": "Code Injection in js-yaml - Multiple Vulnerabilities",
			"finding_score": {
				"score": 10.0,
				"severity": 3,
				"original_score": null
			},
			"age": 709,
			"description": "Versions of `js-yaml` prior to 3.13.1 are vulnerable to Code Injection. The `load()` function may execute arbitrary code injected through a malicious YAML file. Objects that have `toString` as key, JavaScript code as value and are used as explicit mapping keys allow attackers to execute the supplied code through the `load()` function. The `safeLoad()` function is unaffected.\n\nAn example payload is \n`{{ toString: !<tag:yaml.org,2002:js/function> 'function (){{return Date.now()}}' }} : 1` \nwhich returns the object\n{{\n \"1553107949161\": 1\n}}\n\n\n## Recommendation\n\nUpgrade to version 3.13.1."
		}
	}
}
```

## Workflow Library Example

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