Returns a list of policies according to type.

External Documentation

To learn more, visit the Okta documentation.

Parameters

ParameterDescription
Policy TypeThe type of policies to be returned.

Example Output

[
	{
		"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

Preview this Workflow on desktop