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

Returns a list of policies according to type.

<Note>
  External Documentation

  To learn more, visit the [Okta documentation](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/Policy/#tag/Policy/operation/listPolicies).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter   | Description                          |
  | ----------- | ------------------------------------ |
  | Policy Type | The type of policies to be returned. |
</div>

## Example Output

```json theme={"dark"}
[
	{
		"id": "<string>",
		"status": "<string>",
		"name": "<string>",
		"description": "<string>",
		"priority": 1,
		"system": true,
		"conditions": {
			"people": {
				"groups": {
					"include": [
						"<string>"
					]
				}
			},
			"authProvider": {
				"provider": "<string>"
			}
		},
		"created": "2012-09-28T07:15:16.059Z",
		"lastUpdated": "2018-01-13T17:08:38.063Z",
		"settings": {
			"password": {
				"complexity": {
					"minLength": 23,
					"minLowerCase": 2,
					"minUpperCase": 2,
					"minNumber": 0,
					"minSymbol": 2,
					"excludeUsername": true,
					"dictionary": {
						"common": {
							"exclude": true
						}
					},
					"excludeAttributes": []
				},
				"age": {
					"maxAgeDays": 1,
					"expireWarnDays": 0,
					"minAgeMinutes": 95,
					"historyCount": 29
				},
				"lockout": {
					"maxAttempts": 2,
					"autoUnlockMinutes": 1,
					"userLockoutNotificationChannels": [],
					"showLockoutFailures": false
				}
			},
			"recovery": {
				"factors": {
					"recovery_question": {
						"status": "<string>",
						"properties": {
							"complexity": {
								"minLength": 5
							}
						}
					},
					"okta_email": {
						"status": "<string>",
						"properties": {
							"recoveryToken": {
								"tokenLifetimeMinutes": 20
							}
						}
					},
					"okta_sms": {
						"status": "<string>"
					},
					"okta_call": {
						"status": "<string>"
					}
				}
			},
			"delegation": {
				"options": {
					"skipUnlock": false
				}
			}
		},
		"_links": {
			"self": {
				"href": "<string>",
				"hints": {
					"allow": [
						"<string>",
						"<string>"
					]
				}
			},
			"rules": {
				"href": "<string>",
				"hints": {
					"allow": [
						"<string>",
						"<string>"
					]
				}
			}
		},
		"type": "<string>"
	}
]
```

## Workflow Library Example

[Report on Password Policy Gaps in Okta](https://library.blinkops.com/workflows/report-on-password-policy-gaps-in-okta)

<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/report-on-password-policy-gaps-in-okta/canvas" />
</div>
