Splunk cloud acs admin setup

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

Splunk cloud acs admin setup is an AI agent skill from the GitHub repository chambear2809/splunk-cisco-skills. Use when the user asks to manage Splunk Cloud ACS, acs admin, ACS indexes, ACS HEC tokens, ACS users and roles, app permissions, private connectivity, outbound ports, DDSS, ACS limits, maintenance windows, restart current-stack, ACS license state, Observability pairing, or to audit Splunk Cloud cont

How to use this skill

Skill file

Splunk Cloud ACS Admin Setup

Enterprise applicability

ACS administers the Splunk Cloud control plane. The default workflow does not configure a self-managed Enterprise

10.6 feature. Keep its Splunk Cloud validation separate. See the

documented service scope.

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

connectivity, outbound ports, DDSS, ACS limits, maintenance windows, restart current-stack, ACS license state,

Observability.

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-cloud-acs-admin-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-cloud-acs-admin-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 |

This skill is the broad Splunk Cloud Admin Config Service workflow. It replaces

the older allowlist-only workflow while preserving the proven IPv4/IPv6

allowlist convergence logic and lock-out protection.

The license inventory module records an explicit unassessed result with a

Splunk Support handoff. The supported ACS CLI license surface returns static

terms/help rather than tenant entitlement evidence, so inventory output must

not describe that command as a live license-state check.

Cloud Platform planning defaults to 10.5.2605, with 10.4.2604 as the

previous train. Use the train-specific canonical sources in reference.md

when reviewing an ACS operation.

Agent Behavior

Never paste subnet lists, JWT tokens, stack identifiers, passwords, or HEC token

values into chat. The skill reads stack context from the project credentials

file (STACK_TOKEN, STACK_TOKEN_USER, SPLUNK_CLOUD_STACK, ACS_SERVER) and

reads non-secret desired state from CLI flags or a local JSON admin plan. Every

render requires an explicit --target-stack; it must match the selected

credential context before a rendered live helper will run.

Prefer --phase render or --phase preflight first. Only run --phase apply

after the operator has reviewed rendered assets. Broad ACS admin mutations are

guarded inside apply-admin-plan.sh and require

ACCEPT_ACS_ADMIN_MUTATION=true.

Quick Start

Render a full ACS admin packet and allowlist plan:

bash skills/splunk-cloud-acs-admin-setup/scripts/setup.sh \
  --phase render \
  --target-stack STACK_NAME \
  --admin-plan-file acs-admin-plan.json \
  --features search-api,s2s,hec \
  --search-api-subnets 198.51.100.0/24 \
  --s2s-subnets 198.51.100.0/24,203.0.113.0/24 \
  --hec-subnets 203.0.113.0/24

Render an inventory-only packet for the broader ACS surface:

bash skills/splunk-cloud-acs-admin-setup/scripts/setup.sh \
  --phase render \
  --target-stack STACK_NAME \
  --modules indexes,hec-tokens,users,roles,capabilities,app-permissions,outbound-ports,ddss,limits,maintenance-windows,restarts,license,observability

Audit live allowlist state against the rendered plan:

bash skills/splunk-cloud-acs-admin-setup/scripts/setup.sh \
  --phase audit --target-stack STACK_NAME

Apply reviewed allowlist and admin operations:

ACCEPT_ACS_ADMIN_MUTATION=true \
bash skills/splunk-cloud-acs-admin-setup/scripts/setup.sh \
  --phase apply \
  --target-stack STACK_NAME \
  --admin-plan-file acs-admin-plan.json

Validate rendered assets without live mutation:

bash skills/splunk-cloud-acs-admin-setup/scripts/validate.sh

What It Renders

Under splunk-cloud-acs-admin-rendered/acs-admin/:

subnet-limit, and drift checks.

which is API-only in some ACS CLI releases.

allowlists when --emit-terraform true.

Safety Defaults

rendered plan. Pass --force only after reviewing the diff.

--allow-acs-lockout true is explicitly set.

automation because the current ACS CLI takes those values as argv. Use a

file-backed handoff instead.

and private-connectivity/endpoints) because the local ACS CLI might not

expose a matching command group. These Bearer-authenticated calls use the

shared HTTPS-only, no-redirect, no-globbing ACS REST helper and ignore user

curl configuration.

References

compatibility notes, and source links.

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.