Splunk attack analyzer setup

From chambear2809/splunk-cisco-skills · View interactive version

Splunk attack analyzer setup is an AI agent skill from the GitHub repository chambear2809/splunk-cisco-skills. Use when a user asks for Attack Analyzer, SAA, phishing and malware analysis data ingestion, the `saa` index, `saa_indexes` macro, or Enterprise Security adaptive response readiness. Install, configure readiness, and validate Splunk Attack Analyzer platform integration using Splunk Add-on for Splunk

How to use this skill

Skill file

Splunk Attack Analyzer Setup

Workflow Overview

┌───────────┐   ┌───────────────┐   ┌───────────────┐   ┌─────────────────┐
│ Preflight │ → │ Render/review │ → │ Apply/handoff │ → │ Validate evidence │
└───────────┘   └───────────────┘   └───────────────┘   └─────────────────┘

When to Activate

macro, or Enterprise Security adaptive response readiness.

Scope

Follow the documented read-only or render-first path whenever it is available.

This skill does not imply permission to mutate live systems. Require explicit

apply flags, protected credentials, and operator review for state changes.

Examples

Inspect the supported setup modes before selecting one:

bash skills/splunk-attack-analyzer-setup/scripts/setup.sh --help

Expected output: usage, supported modes, and required arguments are displayed

without changing the target environment.

Inspect validation modes before running completion checks:

bash skills/splunk-attack-analyzer-setup/scripts/validate.sh --help

Expected output: offline, live, and completion options are displayed when the

skill supports them; help exits without mutation.

Troubleshooting

| Issue | Cause | Resolution |

|---|---|---|

| Preflight fails | A required tool or access path is missing | Resolve it before rendering or applying |

| Rendered assets are incomplete | Required non-secret inputs are absent | Complete intake and render again |

| Apply is blocked | Review, credentials, or explicit acceptance is missing | Use the documented handoff |

| Validation is incomplete | Live evidence is unavailable | Record the gap and keep completion open |

TA Completion Gate

For every TA/add-on or dashboard companion run, satisfy the shared

TA completion gate: configure and enable the

data ingest path owned by this skill or its required companion, validate events

or metrics in the target indexes/source types, and verify any

pre-built/package-shipped dashboards are visible, macro-aligned, and returning

data. If the package ships no dashboards, record that evidence explicitly and

hand off dashboard use to the consuming app, ES/ITSI/ARI content, or readiness

doctor.

Use this skill for the Splunk platform side of Splunk Attack Analyzer.

Prerequisites

yet configured, run

bash skills/shared/scripts/setup_credentials.sh

or copy credentials.example and edit it (chmod 600 credentials).

CODE0 skill via

skills/splunk-app-install/scripts/install_app.sh. This wrapper handles

Splunkbase auth, ACS upload, and version pinning so the Attack Analyzer

setup never embeds those flows.

that is the current Splunk Cloud target; the self-managed Enterprise default

remains 10.4.1. Do not reinterpret the cross-product listing as validation

of a self-managed Enterprise 10.5 deployment.

Primary Commands

Preview:

bash skills/splunk-attack-analyzer-setup/scripts/setup.sh --dry-run --json

Install app/add-on, prepare saa, configure the dashboard macro, and validate:

bash skills/splunk-attack-analyzer-setup/scripts/setup.sh

Validate only:

bash skills/splunk-attack-analyzer-setup/scripts/validate.sh

Agent Behavior

installed first; if it fails the dashboard app is not attempted, and if

the dashboard install fails after the add-on succeeded the script prints a

rollback hint pointing at

skills/splunk-app-install/scripts/uninstall_app.sh.

--api-key-file only for readiness checks and operator handoff.

unless a supported app REST contract is verified in the target deployment.

Read reference.md for source links, app IDs, and handoff notes.

MCP Tools

This skill includes checked-in, read-only Splunk MCP custom tools generated

from mcp_tools.source.yaml.

Validate or regenerate the tool artifact:

python3 skills/shared/scripts/mcp_tools.py validate skills/splunk-attack-analyzer-setup
python3 skills/shared/scripts/mcp_tools.py generate skills/splunk-attack-analyzer-setup

Load the tools into Splunk MCP Server:

bash skills/splunk-attack-analyzer-setup/scripts/load_mcp_tools.sh

The loader uses the supported /mcp_tools REST batch endpoint by default. Use

--allow-legacy-kv only for older MCP Server app versions that lack that

endpoint.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.