Skip to content

List all device assurance policies

Request

Identity Engine
OAuth 2.0 scope:
  • okta.deviceAssurance.read

Lists all device assurance policies

curl -i -X GET \
  https://subdomain.okta.com/api/v1/device-assurances

Responses

OK

Bodyapplication/json
Array [
createdBystringread-only
createdDatestringread-only
displayRemediationModestring

Represents the remediation mode of this device assurance policy when users are denied access due to device noncompliance

Enum ValueDescription
HIDE

Hide remediation instructions in the Sign-In Widget

SHOW

Display remediation instructions in the Sign-In Widget

Example:"SHOW"
gracePeriodobject(GracePeriod)

Represents the Grace Period configuration for the device assurance policy

idstringread-only
lastUpdatestringread-only
lastUpdatedBystringread-only
namestring

Display name of the device assurance policy

platformstring(Platform)
Enum:"ANDROID""CHROMEOS""IOS""MACOS""WINDOWS"
Discriminator
diskEncryptionTypeobject
osVersionobject(OSVersionFourComponents)

Current version of the operating system (maximum of four components in the versioning scheme)

osVersionConstraintsArray of objects, [ 1 .. 2 ] items(OSVersionConstraint)

Specifies the OS version requirements. Each requirement must correspond to a major version. If a requirement isn't specified for a major version, then devices on that major version will bypass the requirement.

There are two types of OS version requirements:

  • Static: It doesn't change until you update the policy. It is specified with majorVersionConstraint and minimum properties.
  • Dynamic: It is relative to the latest major OS release and security patch. It is specified with majorVersionConstraint and dynamicVersionRequirement properties.

Note: You can't specify both osVersion.minimum and osVersionConstraints properties at the same time.

screenLockTypeobject
secureHardwarePresentboolean
thirdPartySignalProvidersobject

Settings for third-party signal providers (based on the WINDOWS platform)

]
Response
[ { "createdBy": "string", "createdDate": "string", "displayRemediationMode": "SHOW", "gracePeriod": { … }, "id": "string", "lastUpdate": "string", "lastUpdatedBy": "string", "name": "string", "platform": "WINDOWS", "_links": { … }, "diskEncryptionType": { … }, "osVersion": { … }, "osVersionConstraints": [ … ], "screenLockType": { … }, "secureHardwarePresent": true, "thirdPartySignalProviders": { … } } ]