• SECURITY
  • COMPLIANCE
  • CONNECTIVITY
  • HUMAN

How to audit infrastructure configurations with your AI

Connect Harness to your AI client once. From there, your agent handles the heavy lifting of pulling logs and checking your setup.

Ask AI about this page

Short answer

How can I audit my infrastructure with AI?

Your AI uses the Harness MCP to pull audit logs, list active secrets, and check your connector configurations. This gives your agent the visibility needed to spot misconfigurations or security gaps. You get a clear view of your environment's current state.

Audit outcomes

Where your findings land.

What you get after your AI scans your environment.

SECURITY

Secret exposure checks

The AI pulls your secret lists to ensure nothing is exposed or mismanaged. You get a direct report on what's currently in your vault.

COMPLIANCE

Audit log analysis

Your agent reviews recent activity logs to track changes. This helps you identify who did what and when.

CONNECTIVITY

Connector health

The AI checks your existing connector details to ensure everything is wired up correctly. You'll see which integrations are active.

HUMAN

Manual remediation

The AI identifies the issues, but you decide how to fix them. You remain in control of all configuration changes.

The workflow

What your AI does when the request arrives.

The AI moves through your environment to gather the data you asked for.

  1. Gather activity history

    The AI pulls the latest logs to see recent changes or access patterns in your environment.

    get_audit_logs
  2. Inspect sensitive data

    Your agent looks through your secret lists to verify that credentials and keys are accounted for.

    list_secrets
  3. Verify integrations

    The AI checks the details of your current connectors to ensure they are configured properly.

    list_connectors
  4. Synthesize findings

    The AI compares the logs, secrets, and connector data to find discrepancies or security risks.

    get_audit_logslist_secretslist_connectors

Try it

Copy these to start.

Use these prompts to kick off an audit.

Starting points

These are basic starting lines. Swap out the specific resource names for your actual environment details.

Harness Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_FKVrjuS3OzI8VzOXfjNk3FkTG4tKnGJtdNAAcY8J/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Harness capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "harness-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_FKVrjuS3OzI8VzOXfjNk3FkTG4tKnGJtdNAAcY8J/mcp"
    }
  }
}
Copy into chat04
  • Show me the recent audit logs for the production environment.

  • List all the secrets currently stored in my vault.

  • Check my active connectors and tell me if any look misconfigured.

  • Review the audit logs and the secret list to find any unauthorized access attempts.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Harness once, then ask.

Just link the Harness MCP to your client. Your credentials stay encrypted, and you can start auditing immediately.

Connect Harness to your AI

FAQ

How this task behaves

  • 01

    Can the AI change my infrastructure settings?

    No. The AI can only read logs, secrets, and connector details. You must make all changes manually.

  • 02

    Does the AI delete any of my secrets?

    No. The tools only allow the AI to list secrets, not delete or modify them.

  • 03

    How does the AI see my logs?

    The AI uses the get_audit_logs tool to pull the specific log data you request.

  • 04

    Can I use this with Claude?

    Yes, you can use this with any MCP-compatible client like Claude or Cursor.

  • 05

    Will the AI suggest fixes for security issues?

    The AI can point out where a configuration looks wrong based on the data it reads, but it won't execute the fix.

  • More questions about Harness? See everything the Harness Connector can do

Connect Harness to Claude, Cursor, ChatGPT & more