Connect Okta (read-only)
TrustEvidence reads your Okta org's sign-on and password policies, users and administrator roles with an API token. An Okta API token acts with the permissions of the user who created it, so create it as a dedicated service user that holds only the Read-Only Administrator role.
1. A dedicated service user
- In the Admin Console: Directory, People, Add person, for example
svc-trustevidence@yourcompany.com. Give it a strong password and MFA, like any other account. - Security, Administrators, Add administrator: choose the service user and give it the Read-Only Administrator role only.
2. The API token
- Sign in to the Admin Console as the service user.
- Security, API, Tokens, Create token, and name it
trustevidence. - Optional but recommended: in the token's settings, restrict it to the network zone TrustEvidence connects from.
3. Connect in TrustEvidence
On the Integrations page, under Connect Okta, enter your yourcompany.okta.com address (use it even if you have a custom sign-in domain: TrustEvidence only connects to Okta-operated hosts) and the token.
Permission used
Okta: Read-Only Administrator (API token)
What is read and what is never touched
What TrustEvidence reads
- Global session and authentication policies and their rules (MFA, session timeouts)
- Password policies (length and lockout)
- Active users: name, email, status, creation date and last sign-in
- Who holds the Super Administrator role
What it never touches
- Passwords, MFA secrets and recovery answers
- Applications, their assignments and user sessions
- Group memberships
- Any write: the role is read-only, and nothing is created, changed or deactivated
Checks
| Check | What it reads | Passes when |
|---|---|---|
| No dormant active Okta users | Lists ACTIVE users who have not signed in for 90+ days (or never); users created in the last 90 days are excluded. | Every active user signed in within 90 days. |
| Okta password policies meet the baseline | Every active password policy requires at least 14 characters and locks the account after at most 10 failed attempts. | minLength ≥ 14; lockout ≤ 10. |
| Okta requires MFA at sign-in | Passes when every active ALLOW rule of the global session policies requires a secondary factor, or (Identity Engine) when every active ALLOW rule of the authentication policies requires two factors. Rules with other verification methods are listed for review. | No active rule allows sign-in with a password alone. |
| Okta sessions time out when idle | Reads maxSessionIdleMinutes on every active ALLOW rule of the global session policies (expected 1–120). | Idle sessions end within 120 minutes. |
| Okta Super Administrator count is limited | Lists users with the SUPER_ADMIN role; more than four active fails, fewer than two needs review. | Two to four Super Administrators. |
5 checks. A check that cannot read what it needs reports insufficient evidence, never a pass.
Users in states other than ACTIVE (for example locked out or with an expired password) are not part of the dormant-user check. Administrator roles held only through a group may not be listed.
Rotate or remove access
- Okta API tokens expire after 30 days without use. To rotate, create a new token as the service user, reconnect the integration, then revoke the old token under Security, API, Tokens.
- Remove access: disconnect the integration in TrustEvidence (stored credentials are deleted at once), revoke the token and deactivate the service user.
Verification status
The client and checks follow Okta's documented Management API and are tested against simulated responses. They have not yet been run against a live Okta org, so connect a preview org first and compare the results with the Admin Console.