Skip to content

Okta

Check Passes when Evidence task
MFA enrollment policy is active At least one MFA_ENROLL policy has status ACTIVE 2FA
Password policy is active At least one PASSWORD policy has status ACTIVE Employee Access

The evidence lists the names of the active policies. A missing MFA policy fails with severity high, a missing password policy with severity medium.

  • Your Okta org domain, for example acme.okta.com.
  • An Okta admin who can create API tokens. An Okta API token acts with the permissions of the admin who created it, so use an admin that can read policies.

Varman sends the token as Authorization: SSWS <token> and calls only:

  • GET https://<domain>/api/v1/policies?type=MFA_ENROLL
  • GET https://<domain>/api/v1/policies?type=PASSWORD
  1. In the Okta Admin Console, go to Security > API > Tokens and create a token. See Okta’s guide: Create an API token.

  2. In Varman, open Integrations, find Okta and click Set up.

  3. Enter Okta domain without https:// and paste the token into API Token. Click Connect account.

Only check results and the active policy names. Checks run on the daily schedule described in the overview, or when you click Run now.

Open Integrations > Okta, click Settings, then Disconnect. Then revoke the token under Security > API > Tokens. See Disconnecting.

  • Log says No Okta domain configured. The domain was empty. Disconnect and connect again.
  • HTTP 401: Unauthorized. The token was revoked or expired. Okta tokens that go unused expire.
  • HTTP 403: Forbidden. The admin who created the token cannot read policies.
  • Finding No active MFA enrollment policy. In Okta go to Security > Authenticators > Enrollment and activate an MFA enrollment policy.