Splunk oncall setup

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

Splunk oncall setup is an AI agent skill from the GitHub repository chambear2809/splunk-cisco-skills. Use when the user asks about Splunk On-Call, VictorOps, on-call schedules, escalation, paging, X-VO-Api- Id/X-VO-Api-Key, the alert.victorops.com REST endpoint, or victorops_app. Render, validate, and apply the full Splunk On-Call (formerly VictorOps) lifecycle — teams, users + contact methods, rota

How to use this skill

Skill file

Splunk On-Call Setup

Prerequisites

| Tool or access | Purpose | Verify |

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

| Bash and Python 3 | Run bundled setup and validation helpers | bash --version && python3 --version |

| Required product/platform access | Inspect or configure the selected target | Complete the documented preflight |

| Credential files for live modes | Keep secrets out of chat | Verify paths only |

Workflow Overview

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

When to Activate

alert.victorops.com REST endpoint, or victorops_app.

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-oncall-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-oncall-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 |

Shared add-on completion gate

Whenever this workflow installs, configures, or hands off a Splunk-side

On-Call companion app, follow the

shared completion gate. Package delivery

alone is not success; validate alert ingestion/action behavior and shipped

views, or record explicit package evidence that no dashboards ship.

Use this skill for all Splunk On-Call operations: SaaS object management

through the public API, the REST Endpoint Integration alert path, the Generic

Email Endpoint Integration, and Splunk-side companion apps.

The workflow is render-first by default. Live API changes only happen when the

user explicitly asks for --apply, --send-alert, --install-splunk-app, or

--uninstall.

Coverage Model

Every rendered object gets an explicit coverage status:

validate.

validates referenced data where an API allows.

Support-driven, or app-side workflows.

app or saved search via Splunkbase + REST (Splunkbase 3546 and 4886).

Splunkbase 5863 is a Splunk SOAR connector and remains an explicit SOAR

handoff rather than a Splunk Platform install. Splunk Platform/Cloud 10.5

compatibility is therefore not applicable to 5863; validate it against

the connector's listed Splunk SOAR versions instead.

Do not mark UI-only workflows as api_apply.

Safety Rules

passwords, or client secrets in conversation.

an environment-variable prefix.

SPLUNK_ONCALL_REST_INTEGRATION_KEY_FILE from the repo credentials file

when present.

--x-vo-api-key, --integration-key, --rest-key, --token, and

--password.

artifact on disk.

Primary Workflow

  1. Collect non-secret values: organization slug, API ID, team / user / policy

names, rotation members, routing keys, alert-rule match patterns,

maintenance routing-key list, REST integration default routing key, etc.

  1. Create or update a JSON/YAML spec using

templates/oncall.example.yaml as the starting point.

  1. Render and validate:

```bash

bash skills/splunk-oncall-setup/scripts/setup.sh \

--render \

--validate \

--spec skills/splunk-oncall-setup/templates/oncall.example.yaml \

--output-dir splunk-oncall-rendered

```

  1. Review coverage-report.json, apply-plan.json, deeplinks.json, and

handoff.md.

  1. Apply only when explicitly requested:

```bash

bash skills/splunk-oncall-setup/scripts/setup.sh \

--apply \

--spec skills/splunk-oncall-setup/templates/oncall.example.yaml \

--api-id "$SPLUNK_ONCALL_API_ID" \

--api-key-file /tmp/splunk_oncall_api_key

```

  1. To send a single REST endpoint alert (after extracting the integration key

from the On-Call UI Integrations > 3rd Party Integrations > REST Generic

page):

```bash

bash skills/splunk-oncall-setup/scripts/setup.sh \

--send-alert \

--rest-alert-spec skills/splunk-oncall-setup/templates/rest-alert.example.yaml \

--integration-key-file /tmp/splunk_oncall_rest_key \

--routing-key database

```

  1. To install or refresh the Splunk-side companion apps:

```bash

bash skills/splunk-oncall-setup/scripts/setup.sh \

--install-splunk-app \

--spec skills/splunk-oncall-setup/templates/splunk-side.example.yaml \

--api-id "$SPLUNK_ONCALL_API_ID" \

--api-key-file /tmp/splunk_oncall_api_key

```

Supported Sections

Specs use api_version: splunk-oncall-setup/v1 and can include:

global_admin | alert_admin | team_admin | user | stakeholder.

Team, EscalationPolicy, or RotationGroup targets.

rank, stopFlag, routeKey, multi-rule annotations (URL / note / image),

and rules-engine variable expansion (e.g. ${{fieldName}}).

variants. Supports isMultiResponder and state_start_time. UI-only

snooze and add responder actions are rendered as Team Dashboard

deeplinks.

objects for the documented event types (Any-Incident,

Incident-Triggered, Incident-Acknowledged, Incident-Resolved,

Incident-Chats, All-Chats, Any-On-Call, On-Call, Off-Call,

Any-Paging, Paging-Start, Paging-Stop). Outbound webhook creation

remains a handoff because the public API only exposes GET /v1/webhooks,

and the feature requires an Enterprise plan.

api-reporting/v2/incidents (incident history; rate-limited at 1

call/minute).

and GET /api-public/v2/user/{user}/oncall/schedule.

canonical incident fields glossary, URL/note/image annotations).

monitoring tools.

ServiceNow (bidirectional), Statuspage, Twilio Live Call Routing, and

Conference Bridges (Enterprise tier).

https://portal.victorops.com/auth/sso/<org-slug> and the Splunk Support

ticket template.

MTTA/MTTR, Team Dashboard, and Similar Incidents (NLP grouping).

Android 13+ requirement).

scheduled saved search and the alert action's enable_recovery,

poll_interval, and inactive_polls parameters so a Splunk-driven

CRITICAL incident is auto-resolved on the On-Call side once the underlying

search no longer fires.

SHC deployer, Splunkbase 4886 Add-on placement on a heavy forwarder with

the four required indexes (victorops_users, victorops_teams,

victorops_oncall, victorops_incidents) pre-created, ITSI NEAP wiring,

ES Adaptive Response wiring, Splunkbase 5863 SOAR connector readiness, and

Splunk Observability detector recipient deeplink.

For API endpoint details, rate limits, and current support boundaries, read

references/coverage.md, references/rate-limits.md,

references/splunk-side-apps.md, and references/recovery-polling.md when

the request touches a new or ambiguous surface.

Out of Scope

per-user setup checklist).

side (rendered as deeplink handoffs only). The chat sender via /v1/chat

and the stakeholder sender via /v1/stakeholders/sendMessage are in scope.

steps (rendered as deeplink handoffs).

handoff but does not gate on tier.

renders the SP-initiated URL pattern, IdP metadata XML drop-off steps, and

a Splunk Support ticket template, but cannot turn SSO on via API.

Similar Incidents) are rendered as deeplinks; no API write surface exists.

public API only exposes GET /v1/webhooks.

Compliance and Security Baseline

Splunk On-Call enforces TLS 1.2+ in transit and AES-256 at rest, and partner

clouds are FedRAMP / PCI-DSS / ISO 27001:2013 certified; HIPAA usage is

supported via a Business Associate Agreement (BAA).

FedRAMP / IL5 caveat: Splunk Cloud Platform itself is FedRAMP Moderate

authorized and DoD IL5 provisionally authorized, but Splunk On-Call is not

separately listed in the public FedRAMP/IL5 docs as of this skill's authoring.

The skill renders an explicit warning when a US public-sector spec is

detected and links to Splunk Cloud Platform IL5 documentation for

parallel-stack guidance.

The skill never asks for nor logs secret material, refuses any direct secret

CLI flag, and redacts all X-VO-Api-Key, integration-key, and rendered

payload secrets from artifacts on disk.

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-oncall-setup
python3 skills/shared/scripts/mcp_tools.py generate skills/splunk-oncall-setup

Load the tools into Splunk MCP Server:

bash skills/splunk-oncall-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.