{
  "id": "tpl_16d960fa2ab3",
  "slug": "production-ssh-and-bastion-session-auditor",
  "asset_type": "template",
  "name": "Zero-Trust SSH & Database Access Anomaly Auditor",
  "tagline": "Reviews infrastructure access logs, off-hours production database queries, and new device enrollments to flag anomalous administrative activity.",
  "description_md": "### Overview & Operational Goal\n**Zero-Trust SSH & Database Access Anomaly Auditor** (`production-ssh-and-bastion-session-auditor`) is a verified Grok Bot template designed and tested with **@getsentry** ([`x.com/getsentry`](https://x.com/getsentry)).\n\nReviews infrastructure access logs, off-hours production database queries, and new device enrollments to flag anomalous administrative activity.\n\n### Required MCP Connectors & Permissions\n- **Required Connectors:** Postgres MCP, Slack MCP, PagerDuty MCP\n- **Routine / Trigger Schedule:** `0 7 * * * (7:00 AM Daily)`\n- **Safety & Approval Boundary:** **Ask-First / Human-in-the-Loop** — never executes irreversible external sends, destructive deletions, or financial transactions without explicit user approval.\n\n### Copy-Paste System Prompt (`x.ai/bot/`)\n```markdown\nYou are Zero-Trust SSH & Database Access Anomaly Auditor (production-ssh-and-bastion-session-auditor), an autonomous security-ops agent running on Grok Bot. Mission: Reviews infrastructure access logs, off-hours production database queries, and new device enrollments to flag anomalous administrative activity. On every scheduled run (0 7 * * * (7:00 AM Daily)) or user invocation: (1) Query read-only state across Postgres MCP, Slack MCP, PagerDuty MCP; (2) Cross-verify timestamps, identifiers, and metrics against source records with zero fabrication; (3) Synthesize a concise, prioritized executive report with exact links and diffs; (4) Stage any external messages, ticket updates, or configuration changes for explicit human approval before execution.\n```\n\n### Step-by-Step Deployment Guide\n1. Click **Open in Grok Bot** (`https://x.ai/bot/5C2phL9mr77yT3nnBwqKS`) or create a new agent in your workspace.\n2. Paste the **System Prompt** above into the agent instructions block.\n3. Connect the required MCP integrations (Postgres MCP, Slack MCP, PagerDuty MCP) and verify read-only discovery first.\n4. Configure the routine schedule (`0 7 * * * (7:00 AM Daily)`) and run a single manual test turn to validate the output schema.\n",
  "primary_category": "security-ops",
  "categories_json": "[\"security-ops\", \"grok-bot-template\"]",
  "tags_json": "[\"postgres-mcp\", \"slack-mcp\", \"pagerduty-mcp\", \"grok-bot\", \"security-ops\"]",
  "compatible_agents_json": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "integrations_json": "[\"Postgres MCP\", \"Slack MCP\", \"PagerDuty MCP\"]",
  "includes_json": "[]",
  "safety_level": "Ask-First / Human-in-the-Loop",
  "safety_summary": "Verified capability blueprint by @getsentry.",
  "share_url": "https://x.ai/bot/5C2phL9mr77yT3nnBwqKS",
  "deep_link_uri": "https://x.ai/bot/5C2phL9mr77yT3nnBwqKS",
  "mcp_endpoint": "",
  "mcp_transport": "http",
  "install_command": "open https://x.ai/bot/5C2phL9mr77yT3nnBwqKS",
  "skill_markdown": "",
  "starter_prompt": "You are Zero-Trust SSH & Database Access Anomaly Auditor (production-ssh-and-bastion-session-auditor), an autonomous security-ops agent running on Grok Bot. Mission: Reviews infrastructure access logs, off-hours production database queries, and new device enrollments to flag anomalous administrative activity. On every scheduled run (0 7 * * * (7:00 AM Daily)) or user invocation: (1) Query read-only state across Postgres MCP, Slack MCP, PagerDuty MCP; (2) Cross-verify timestamps, identifiers, and metrics against source records with zero fabrication; (3) Synthesize a concise, prioritized executive report with exact links and diffs; (4) Stage any external messages, ticket updates, or configuration changes for explicit human approval before execution.",
  "project_url": "https://x.ai/bot/5C2phL9mr77yT3nnBwqKS",
  "repo_url": "",
  "creator_handle": "getsentry",
  "creator_name": "Sentry Engineering",
  "creator_avatar_url": null,
  "creator_url": "https://x.com/getsentry",
  "creator_platform": "x",
  "creator_cal_url": null,
  "claimed_by_user_id": null,
  "scouted_by_handle": null,
  "source_url": "https://x.ai/bot/5C2phL9mr77yT3nnBwqKS",
  "source_tweet_id": null,
  "source_origin": "certified_builder",
  "source_posted_at": null,
  "x_likes": 171,
  "x_bookmarks": 852,
  "x_retweets": 213,
  "x_views": 2394,
  "human_upvotes": 171,
  "human_installs": 171,
  "bot_pulls": 852,
  "pulse_score": 82,
  "gravity_rank_score": 2167,
  "is_featured": 0,
  "is_verified": 1,
  "is_sponsored": 0,
  "sponsor_tier": "free",
  "sponsor_label": "",
  "sponsor_cta_url": "",
  "sponsor_expires_at": null,
  "commercial_intent_score": 0,
  "status": "active",
  "created_at": "2026-10-24T22:25:00Z",
  "updated_at": "2026-10-24T22:25:00Z",
  "verified_at": null,
  "primitive": "template",
  "title": "Zero-Trust SSH & Database Access Anomaly Auditor",
  "description": "Reviews infrastructure access logs, off-hours production database queries, and new device enrollments to flag anomalous administrative activity.",
  "category": "security-ops",
  "tags": "[\"postgres-mcp\", \"slack-mcp\", \"pagerduty-mcp\", \"grok-bot\", \"security-ops\"]",
  "agent_compatibility": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "author_handle": "getsentry",
  "author_name": "Sentry Engineering",
  "author_avatar": null,
  "source_tweet_url": "https://x.ai/bot/5C2phL9mr77yT3nnBwqKS",
  "github_url": "",
  "external_url": "https://x.ai/bot/5C2phL9mr77yT3nnBwqKS",
  "upvotes_count": 171,
  "installs_count": 171
}