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
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
- 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.
- Preview and review the splunk cloud acs admin setup workflow before any live apply phase.
- Diagnose failed prerequisites, generated assets, configuration, or validation evidence.
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/:
plan.json- desired allowlist state plus reviewed ACS admin operations.preflight.sh- ACS context, command-surface, capability, FedRAMP, lock-out,
subnet-limit, and drift checks.
inventory.sh- read-only live inventory across the selected ACS modules.apply-ipv4.shandapply-ipv6.sh- converge IP allowlists.apply-admin-plan.sh- guarded executor for non-secret admin operations.admin-commands.sh- review-only command catalog for every planned operation.private-connectivity-rest.sh- REST helper for ACS private connectivity,
which is API-only in some ACS CLI releases.
wait-for-ready.sh- polls ACS status until the stack reportsReady.audit.sh- snapshots allowlists and verifies live state matches the plan.terraform-snippets.tf- optionalsplunk/scpprovider snippets for IPv4
allowlists when --emit-terraform true.
Safety Defaults
STRICT_DRIFT=truerefuses allowlist apply if live state drifted from the
rendered plan. Pass --force only after reviewing the diff.
- The
acsallowlist feature requires operator IP coverage unless
--allow-acs-lockout true is explicitly set.
- User password operations and custom HEC token values are blocked from
automation because the current ACS CLI takes those values as argv. Use a
file-backed handoff instead.
- Private connectivity uses ACS REST endpoints (
private-connectivity/eligibility
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
- reference.md for the ACS module matrix, admin plan schema,
compatibility notes, and source links.
- template.example for a non-secret intake worksheet.