# ast okta

> Investigate Okta identity incidents, audit MFA coverage, and respond to threats with session revocation.

ast okta is a paid AI agent skill on Agensi by Michael Timpe, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $49 (one-time purchase)
- Creator: [Michael Timpe](https://www.agensi.io/creators/michael-timpe)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.0
- Last updated: 2026-10-16
- Security: scan passed (2026-10-16); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/ast-okta
- Tags: security, automation, project-management, okta, security-operations, identity-management, incident-response

## About this skill

Identity incidents in Okta demand fast investigation and precise containment. Manual searching through the Okta System Log or checking MFA coverage across thousands of users slows down your response time. This skill provides a command-line and MCP-based toolkit to audit configurations, hunt through logs, and execute targeted containment actions like session revocation.

### What it does
- **Identity Investigation** performs user lookups, group membership checks, and factor enrollment audits.
- **System Log Hunting** executes deep searches against Okta System Logs for specific IPs, actors, or events.
- **Security Auditing** reviews org configurations including policies, zones, app integrations, and IdPs.
- **MFA Census** identifies users with weak or missing multi-factor authentication coverage.
- **Threat Containment** suspends compromised accounts and revokes active web sessions or OAuth tokens.

### How it works
1. **Environment Setup** run the `install.sh` script to build the Python virtual environment and local AST packages.
2. **Credential Management** use `sectools secrets` to securely map Okta API tokens to the system keychain or a local `.env` file.
3. **Diagnostic Check** run `sectools doctor --live` to verify connectivity and permission scopes for the Okta domain.
4. **Active Investigation** call `okta-search` via CLI or MCP to retrieve JSON-formatted telemetry and configuration data.
5. **Authorized Response** propose a `suspend` or `revoke` action, then execute only after receiving explicit user approval.

### Frameworks & tools
Built for Python 3.12+, this skill utilizes the AST `okta-search` CLI and `sectools-mcp` server. It interfaces directly with Okta org domains via HTTPS.

### Why this beats prompting it yourself
Generic LLMs lack direct access to your live Okta environment and often hallucinate API capabilities. This skill provides a structured safety model that requires explicit approval for writes, handles credential storage outside of the chat history, and ensures zero-row results are not misinterpreted as proof of absence.

### Use cases
- Identify all users who signed in from a specific malicious IP address today.
- Audit which administrators have not enrolled in phishing-resistant MFA factors.
- Revoke all active sessions and OAuth tokens for a specific user after a laptop theft.
- Compare Classic vs Identity Engine configurations across multiple Okta zones.

### Known limitations
Does not support Microsoft Entra ID, Azure AD, on-prem Active Directory, or Auth0. Write actions are strictly limited to account suspension and session revocation; it cannot reset passwords.

## Requires

- Python 3.12+
- Bash 3.2+
- pip
- venv
- Optional: Stdio MCP client
- Optional: System keychain

Windows only via WSL 2 (untested). On Debian/Ubuntu, venv is python3.12-venv. install.sh installs the Python packages from PyPI. A .env file works without a keychain.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the ast okta skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does the ast okta skill accelerate my identity incident response?

This skill provides deep visibility into Okta System Logs, automates MFA coverage audits, and enables rapid containment actions like session revocation and account suspension to stop identity-based attacks.

### Which AI agents and environments are compatible with this skill?

The skill requires Python 3.12+ and is designed for any AI agent or platform that supports the Model Context Protocol (MCP), including local CLI environments.

### Do I need to paste my Okta API tokens directly into the LLM chat?

No, the skill includes a 'sectools secrets' utility that maps your API tokens to your system keychain or a local environment file, ensuring credentials are never exposed in your chat history.

### What is included in the package when I purchase this skill?

Purchase includes the Python-based source code, the 'okta-search' CLI, the 'sectools-mcp' server, and an automated 'install.sh' script for rapid deployment.

### Can this skill be used to reset user passwords or change account profiles?

No, for security reasons, the skill is limited to account suspension and session/token revocation; it does not have the permissions to perform password resets or profile modifications.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
