Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    ast okta

    1

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

    $49

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    ast okta

    ast okta

    Example session with this skill installed

    Search the Okta System Log for any successful logins from IP 192.0.2.15 in the last 24 hours. Show me the user and the timestamp.

    • Read your context and instructions
    • Compiled the ast okta

    I have searched the Okta System Log for successful login events originating from 192.0.2.15 within the requested 24-hour window.

    Okta System Log Results

    Timestamp (UTC)ActorEvent TypeOutcome
    2023-10-27T09:14:22Zj.doe@example.comuser.session.startSUCCESS
    2023-10-27T10:05:10Za.smith@example.comuser.session.startSUCCESS
    2023-10-27T14:45:30Zj.doe@example.comuser.session.startSUCCESS

    Command executed: okta-search logs --filter "client.ipAddress eq \"192.0.2.15\" and outcome.result eq \"SUCCESS\"" --since 24h --json

    Gaps

    • The search was limited to the user.session.start event type for clarity.
    • No errors were reported by the Okta API during this request.
    • The time window searched was 2023-10-26T16:00:00Z to 2023-10-27T16:00:00Z.

    Next steps

    • Review the MFA factors for j.doe@example.com to ensure no unauthorized devices were added.

    Needs your approval: Suspend the account for j.doe@example.com if this IP is confirmed malicious. This can be undone via the Okta Admin Console.

    • Needs your approval: Revoke all active sessions for both users to force re-authentication.

    Connects securely to your tools. The creator never sees your data.

    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.

    How to use

    Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scanned

    Verified clean 3 days ago

    • Passed all security checks, Safe to install

    Requires

    Python 3.12+
    macOS or Linux (Windows only via WSL 2, untested)
    bash 3.2+ (runs install.sh)
    pip and venv (Debian/Ubuntu: python3.12-venv)
    Third Party Python Packages Installed By Install.Sh From PyPI: Requests, Python Dotenv, Platformdirs, Keyring, Fastmcp, MCP
    An agent that reads SKILL.md skills, e.g. Claude Code (optional)
    A Stdio Client For The Tools (Optional) MCP
    A system keychain for sectools secrets (optional; the .env file works without one)
    macOS
    Windows
    Python

    Listed3 days ago

    What's inside

    Frequently Asked Questions