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

# List Policies

List existing firewall policies in your Fortinet instance.

## Parameters

<div className="integrations-table">
  | Parameter | Description               |
  | --------- | ------------------------- |
  | VDOM      | VDOM to list policies of. |
</div>

## Example Output

```json theme={"dark"}
{
	"results": [
		{
			"policyid": 1,
			"q_origin_key": "1",
			"name": "test1",
			"uuid": "5e793628-1625-51e7-74cf-0eed2b242a2f",
			"srcintf": [
				{
					"name": "port1",
					"q_origin_key": "port1"
				}
			],
			"dstintf": [
				{
					"name": "port1",
					"q_origin_key": "port1"
				}
			],
			"srcaddr": [
				{
					"name": "source-1",
					"q_origin_key": "source-1"
				}
			],
			"dstaddr": [
				{
					"name": "destination-1",
					"q_origin_key": "destination-1"
				}
			],
			"action": "accept",
			"service": [
				{
					"name": "service-1",
					"q_origin_key": "service-1"
				}
			],
			"status": "enable",
			"utm-status": "disable",
			"logtraffic": "all",
			"comments": "aaa"
		},
		{
			"policyid": 2,
			"q_origin_key": "2",
			"name": "test-2",
			"uuid": "0db50a78-16ca-51e7-18ee-067b008e5e32",
			"srcintf": [
				{
					"name": "port1",
					"q_origin_key": "port1"
				}
			],
			"dstintf": [
				{
					"name": "port1",
					"q_origin_key": "port1"
				}
			],
			"srcaddr": [
				{
					"name": "source-2",
					"q_origin_key": "source-2"
				}
			],
			"dstaddr": [
				{
					"name": "destination-2",
					"q_origin_key": "destination-2"
				}
			],
			"action": "accept",
			"service": [
				{
					"name": "service-2",
					"q_origin_key": "service-2"
				}
			],
			"status": "enable",
			"utm-status": "enable",
			"logtraffic": "all",
			"comments": ""
		}
	],
	"vdom": "root",
	"path": "firewall",
	"name": "policy",
	"status": "success",
	"http_status": 200,
	"serial": "FGT123456789",
	"version": "vX.X.X",
	"build": 1234
}
```

## Workflow Library Example

[List Policies with Fortigate and Send Results Via Email](https://library.blinkops.com/workflows/list-policies-with-fortigate-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/list-policies-with-fortigate-and-send-results-via-email/canvas" />
</div>
