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

# Query Indicators

Query threat intelligence indicators as per filtering criteria.

<Note>
  External Documentation

  To learn more, visit the [Microsoft Sentinel documentation](https://learn.microsoft.com/en-us/rest/api/securityinsights/threat-intelligence-indicator/query-indicators?view=rest-securityinsights-2023-02-01\&tabs=HTTP).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter           | Description                                                   |
  | ------------------- | ------------------------------------------------------------- |
  | Resource Group Name | The name of the resource group. The name is case insensitive. |
  | Subscription ID     | The ID of the target subscription.                            |
  | Workspace Name      | The name of the workspace.                                    |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                                                                                                      |
  | ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | IDs              | A comma-separated list of indicators IDs to filter by.                                                                                                                                                           |
  | Include Disabled | Select to include disabled indicators.                                                                                                                                                                           |
  | Keyword          | A keyword to filter by.                                                                                                                                                                                          |
  | Max Confidence   | Maximum confidence to filter by.                                                                                                                                                                                 |
  | Max Valid Until  | The maximum date for indicator validity.                                                                                                                                                                         |
  | Min Confidence   | Minimum confidence to filter by.                                                                                                                                                                                 |
  | Min Valid Until  | The minimum date for indicator validity.                                                                                                                                                                         |
  | Page Size        | The number of results per page.                                                                                                                                                                                  |
  | Pattern Types    | A comma-separated list of pattern types to filter by.                                                                                                                                                            |
  | Skip Token       | Specifies a starting point to show results from, this token is received in case that the previous request returned a partial result.                                                                             |
  | Sort By          | Columns to sort by and sorting order.<br /><br />Example:<br /><pre><code>\[<br />  \{<br />  "itemKey": "Column Name",<br />  "sortOrder": "ascending" / "descending" / "unsorted"<br />  }<br />]</code></pre> |
  | Sources          | A comma-separated list of sources to filter by.                                                                                                                                                                  |
  | Threat Types     | A comma-separated list of threat types to filter by.                                                                                                                                                             |
</div>

## Example Output

```json theme={"dark"}
{
	"value": [
		{
			"id": "/subscriptions/bd794837-4d29-4647-9105-6339bfdb4e6a/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/ThreatIntelligence/27d963e6-e6e4-e0f9-e9d7-c53985b3bbe8",
			"name": "27d963e6-e6e4-e0f9-e9d7-c53985b3bbe8",
			"etag": "\"00002f2c-0000-0800-0000-5e976a8e0000\"",
			"type": "Microsoft.SecurityInsights/ThreatIntelligence",
			"kind": "indicator",
			"properties": {
				"confidence": 90,
				"created": "2020-04-15T20:11:57.9666134Z",
				"createdByRef": "contoso@contoso.com",
				"externalId": "indicator--8516d567-0daa-4614-8745-e3591e1b48cf",
				"externalReferences": [],
				"granularMarkings": [],
				"lastUpdatedTimeUtc": "2020-04-15T20:15:11.0746926Z",
				"revoked": false,
				"source": "Azure Sentinel",
				"threatIntelligenceTags": [
					"new schema"
				],
				"displayName": "new schema 2",
				"description": "debugging indicators 2",
				"threatTypes": [
					"compromised"
				],
				"killChainPhases": [],
				"pattern": "[url:value = 'https://www.contoso.com']",
				"patternType": "url",
				"validFrom": "2020-04-15T17:44:00.114052Z",
				"parsedPattern": [
					{
						"patternTypeKey": "network-traffic",
						"patternTypeValues": [
							{
								"valueType": "0",
								"value": "SSH-2.0-PuTTY_Release_0.64"
							},
							{
								"valueType": "1",
								"value": "194.88.106.146"
							}
						]
					}
				]
			}
		}
	]
}
```

## Workflow Library Example

[Query Indicators with Microsoft Sentinel and Send Results Via Email](https://library.blinkops.com/workflows/query-indicators-with-microsoft-sentinel-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/query-indicators-with-microsoft-sentinel-and-send-results-via-email/canvas" />
</div>
