/splunk-platform:splunk-enterprise-public-exposure-hardeningfrom Splunk Platform
Hardens on-prem Splunk Enterprise for public internet exposure across Splunk Web, HEC, Splunk-to-Splunk, and splunkd REST surfaces. Configures TLS, HSTS, CSP, mTLS, rate limiting, DMZ forwarders, and reverse proxy/WAF templates.
Ships in Splunk Platform. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| 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 |
┌───────────┐ ┌───────────────┐ ┌───────────────┐ ┌─────────────────┐
│ Preflight │ → │ Render/review │ → │ Apply/handoff │ → │ Validate evidence │
└───────────┘ └───────────────┘ └───────────────┘ └─────────────────┘
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.
Inspect the supported setup modes before selecting one:
bash source-repository automation (not bundled) --help
Expected output: usage, supported modes, and required arguments are displayed without changing the target environment.
Inspect validation modes before running completion checks:
bash source-repository automation (not bundled) --help
Expected output: offline, live, and completion options are displayed when the skill supports them; help exits without mutation.
| 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 prepares an on-prem Splunk Enterprise deployment for
public-internet exposure with defense in depth across the Splunk node, the
reverse-proxy / WAF tier, and the network, plus an explicit operator
handoff for parts that cannot be safely automated. It is render-first: the
default phase produces a reviewable directory of *.conf overlays,
nginx / HAProxy / firewall templates, and operator handoff Markdown — and
refuses to apply changes until the operator passes --accept-public-exposure.
Splunk Enterprise is "designed to run on a trusted network." Several common assumptions about Splunk Web are wrong, and the skill explicitly guards against them:
customHttpHeaders setting in web.conf. Browser security
headers (Strict-Transport-Security, Content-Security-Policy,
X-Content-Type-Options, Referrer-Policy, Permissions-Policy,
Cache-Control) come from the reverse proxy only.lockoutAttempts is per-user, not per-IP. The admin role ships
with never_lockout = enabled. The skill flips this to disabled and
the WAF / proxy provides the per-IP rate limit.trustedProxiesList. When tools.proxy.on = true Splunk
trusts X-Forwarded-* from any immediate client. Combine with
acceptFrom on web.conf [settings] AND server.conf [httpServer]
to lock down the trust boundary.appServerPorts on 8065, and
the indexer-cluster replication port on 9887 must NEVER be reachable
from the public internet. Preflight and validate fail closed if
they are.Public Internet
│
▼
CDN / DDoS (Cloudflare / AWS / Akamai) ── operator handoff
│
▼
WAF rules (OWASP CRS, rate limit, geo) ── operator handoff
│
▼
Reverse proxy (nginx / HAProxy in DMZ) ── rendered templates
│ TLS termination + browser headers + return_to / header sanitisation
▼
Splunk Search Head + HEC + DMZ Heavy Forwarder
│ Splunkd / KV / replication NEVER public.
▼
Indexer cluster (private)
Never paste secrets into chat or pass them on argv. The skill consumes file paths for every secret it needs and never embeds secret values in rendered output:
bash portable local helper /tmp/splunk_admin_password
bash portable local helper /tmp/splunk_pass4symmkey
bash portable local helper /tmp/splunk_ssl_key_password
bash portable local helper /tmp/splunk_idp_signing_cert
Pass them in via --admin-password-file, --pass4symmkey-file,
--ssl-key-password-file, etc.
For non-secret values (FQDN, IPs, indexes, role names) use
template.example.
Render the full hardening bundle for a single search head with proxy in front, public Splunk Web only:
bash source-repository automation (not bundled) \
--phase render \
--topology single-search-head \
--public-fqdn splunk.example.com \
--proxy-cidr 10.0.10.0/24 \
--enable-web true \
--enable-hec false \
--enable-s2s false
Render with HEC and DMZ heavy forwarder for ingest:
bash source-repository automation (not bundled) \
--phase render \
--topology shc-with-hec-and-hf \
--public-fqdn splunk.example.com \
--hec-fqdn hec.example.com \
--proxy-cidr 10.0.10.0/24 \
--enable-web true \
--enable-hec true \
--enable-s2s true \
--hec-mtls true \
--indexer-cluster-cidr 10.0.20.0/24
Run preflight against a live host (read-only checks; refuses to apply):
bash source-repository automation (not bundled) \
--phase preflight \
--public-fqdn splunk.example.com \
--public-ca-file /etc/pki/ca-trust/source/anchors/public-proxy-ca.pem \
--external-probe-cmd "ssh [email protected] nc -zv"
Omit --public-ca-file for a publicly trusted certificate. Public probes use
system trust by default and always verify the certificate chain and FQDN;
there is no insecure curl -k production-pass path. The external probe value
is parsed once as POSIX-style argv, never evaluated as shell source, and the
target FQDN and port are appended as separate arguments. Shell metacharacters
and control characters are rejected.
Apply the hardening app on a search head (mutates Splunk; requires the explicit accept flag):
bash source-repository automation (not bundled) \
--phase apply \
--apply-target search-head \
--public-fqdn splunk.example.com \
--accept-public-exposure \
--pass4symmkey-file /tmp/splunk_pass4symmkey
Validate live state post-apply:
bash source-repository automation (not bundled) \
--public-fqdn splunk.example.com
Under the project root in splunk-public-exposure-rendered/:
splunk/apps/000_public_exposure_hardening/ — Splunk app with
app.conf, web.conf, server.conf, inputs.conf, outputs.conf,
authentication.conf, authorize.conf, limits.conf, commands.conf,
and metadata/{default,local}.meta. Drop into
$SPLUNK_HOME/etc/apps/ (or the SHC deployer's shcluster/apps/).splunk/apply-search-head.sh, apply-hec-tier.sh,
apply-s2s-receiver.sh, apply-heavy-forwarder.sh,
apply-deployer.sh, apply-cluster-manager.sh,
apply-license-manager.sh — role-aware local-host source-repository automation (not bundled) selected with
--apply-target. Search-head, HEC-tier, and heavy-forwarder targets mutate
directly. S2S-receiver and cluster-manager targets exit nonzero and delegate
to the indexer-cluster workflow so a single peer is never restarted and an
undocumented secret-file CLI flag is never invented. Deployer stages the
bundle then exits nonzero pending a secret-safe SHC bundle handoff;
license-manager also delegates and exits nonzero.
SHC topologies reject direct search-head/hec-tier mutation and require
the deployer path.splunk/transaction-helpers.sh — shared direct-apply transaction engine.
It securely reads secret files through no-follow descriptors, stages in a
private directory on the target filesystem, snapshots the prior app and
splunk-launch.conf, validates btool before restart, and restores plus
restart-verifies the exact prior state on any error or signal.splunk/rotate-pass4symmkey.sh, rotate-splunk-secret.sh — secret
rotation helpers that read keys from local files only.splunk/certificates/verify-certs.sh,
generate-csr-template.sh — operator-side cert helpers.proxy/nginx/{splunk-web.conf,splunk-hec.conf} — production nginx
vhosts with TLS, HSTS, CSP, header sanitisation, return_to allowlist,
per-IP rate limit, streaming-safe timeouts, WebSocket plumbing.proxy/haproxy/{splunk-web.cfg,splunk-hec.cfg} — HAProxy equivalents
using option http-server-close (NOT option httpclose).proxy/firewall/{iptables.rules,nftables.conf,firewalld.xml,aws-sg.json}
— internet-edge firewall snippets that explicitly drop 8089,
8191, 8065, 9887, plus direct 9997 and 8088 from the
public CIDR.handoff/ — Markdown checklists for WAF (Cloudflare / AWS / F5+Imperva),
SAML IdP, Duo MFA, certificate procurement, SOC alerting,
backup-and-restore, splunk.secret incident response, compliance.preflight.sh and validate.sh — fail-closed source-repository automation (not bundled) the operator
runs from this directory.README.md and metadata.json — full documentation and rendered
configuration manifest.render (default) — produce the reviewable rendered directory.preflight — render then run the 20-step preflight against the live
host (default-cert detection, SVD floor, splunk.secret posture,
pass4SymmKey rotation, capability hygiene, firewall reachability,
TLS scan, header-injection probe, return_to redirect probe, cookie
scrubbing, etc.). Refuses to mark the deployment ready when any check
fails.apply — render, run the fail-closed live preflight, then run the apply
script for the role you specified. Requires --accept-public-exposure (a
single-flag acknowledgement that you are about to bind Splunk to a
public-facing FQDN). Search-head, HEC-tier, and heavy-forwarder applies are
transactional and roll back both disk state and the Splunk restart if any
btool, restart, encryption, or post-restart readback check fails.
Preflight and validation treat failed, empty, missing, or unexpected btool
output as a failure; role_admin.never_lockout must be disabled, and
authType must be a recognized non-Scripted value matching the render.validate — render then run the live validation probes.all — render + preflight + apply + validate for direct local targets,
gated by --accept-public-exposure. Delegated cluster/license targets stop
nonzero at their handoff, so validation must run after the child workflow.| Series | Required version | Source |
|---|---|---|
| 10.4.x | 10.4.0 | Not affected by SVD-2026-0304/0303 at GA; use latest 10.4.x maintenance |
| 10.2.x | 10.2.2 | SVD-2026-0304, SVD-2026-0303 |
| 10.0.x | 10.0.5 | SVD-2026-0303, SVD-2025-1006 |
| 9.4.x | 9.4.10 | SVD-2025-1006, SVD-2025-1203 |
| 9.3.x | 9.3.11 | SVD-2025-1006, SVD-2025-1203 |
Floor lives in
references/cve-svd-floor.json and
ships embedded in the renderer; --svd-floor-file can override.
The skill consumes — does not duplicate — these. When you also use one of the adjacent skills below, run THIS skill's preflight + validate against the fronting search head, then layer the adjacent skill's hardening on top.
| Adjacent skill | What it owns | What this skill provides |
|---|---|---|
| splunk-platform-pki-setup | Full TLS / PKI lifecycle (Private CA or Public CSR + handoff to Vault PKI / ACME / AD CS / EJBCA), per-component cert distribution across every Splunk surface, FIPS 140-2/140-3 wiring, three TLS algorithm presets, KV-Store dual-EKU enforcement, replication-port TLS migration, SAML SP signing cert, LDAPS trust, cacert.pem alignment, delegated rotation runbook | Consumes the cert paths the PKI skill provisions; this skill's preflight refuses to declare a public-exposed SH ready until PKI verify-leaf has returned OK; the PKI skill consumes this skill's --enable-fips / --fips-version semantics rather than redefining |
| splunk-hec-service-setup | HEC token lifecycle, allowed indexes, ACS HEC tokens | HEC TLS / mTLS rendering, body-size alignment, proxy vhost, sensitive-path denies |
| splunk-enterprise-host-setup | Splunk host install / cluster bootstrap | Preflight refuses unbootstrapped hosts; SVD floor enforcement |
| splunk-indexer-cluster-setup | Indexer cluster bundle | pass4SymmKey rotation helper + acceptFrom enforcement for cluster CIDR |
| splunk-agent-management-setup | SHC deployer, server classes | Hardening app drops into shcluster/apps/; SHC deployer pass4SymmKey rotation |
| splunk-license-manager-setup | License manager / peer wiring | License master 8089 acceptFrom + pass4SymmKey rotation |
| splunk-cloud-acs-admin-setup | Splunk Cloud ACS allowlists | Out of scope — this skill is on-prem only |
| splunk-federated-search-setup | Federation provider/consumer wiring | Provider-side acceptFrom + service-account rotation helper (federation auth is NOT pass4SymmKey) |
| splunk-monitoring-console-setup | Monitoring Console distributed config | MC integration: forward _audit and platform alerts on hardening drift |
| splunk-connect-for-syslog-setup | SC4S Docker/Helm runtime, syslog TLS listener | If SC4S delivers via HEC, run THIS skill against the HEC-receiving SH first |
| splunk-connect-for-snmp-setup | SC4SNMP Docker/Helm runtime | Same as SC4S |
| splunk-mcp-server-setup | MCP server install + token issuance | If MCP is exposed publicly, run THIS skill against the SH fronting it; MCP token policy is owned by the MCP skill |
| splunk-stream-setup | Wire data capture stack | Stream is internal-only; this skill does not apply |
| splunk-index-lifecycle-smartstore-setup | SmartStore S3/GCS/Azure backend | Outbound-to-storage; this skill does not apply |
| splunk-enterprise-security-config (and ES/SOAR/ITSI/UBA/ARI/AA) | Premium apps + additional capabilities | Run THIS skill first; then re-audit role_public_reader against the premium-apps-capability-overlay |
Read reference.md before any apply. Topical deep dives:
verify-certs.sh.)handoff/.)This Cisco DevNet package preserves the source skill's operational guidance, references, templates, and assets. Source-repository agents/openai.yaml files and repository-coupled scripts/shared helpers are intentionally not bundled. Any omitted automation must be recreated with the target product's supported tools after read-only discovery, exact-target review, explicit approval, rollback preparation, and post-change validation. Keep secrets in local mode-0600 files and never paste them into chat, commands, or logs.
reference.md (opens in a new tab)references/auth-ldap-hardening.md (opens in a new tab)references/auth-mfa-saml.md (opens in a new tab)references/compliance-gap-statement.md (opens in a new tab)references/cve-svd-floor.json (opens in a new tab)references/cve-svd-tracking.md (opens in a new tab)references/default-cert-fingerprints.json (opens in a new tab)references/disa-stig-cross-reference.md (opens in a new tab)references/dmz-heavy-forwarder-pattern.md (opens in a new tab)references/federated-search-provider-hardening.md (opens in a new tab)references/fips-mode.md (opens in a new tab)references/network-segmentation.md (opens in a new tab)references/operator-handoff-checklist.md (opens in a new tab)references/premium-apps-capability-overlay.json (opens in a new tab)references/premium-apps-capability-overlay.md (opens in a new tab)references/reverse-proxy-templates.md (opens in a new tab)references/risky-command-safeguards.md (opens in a new tab)references/role-capability-hardening.md (opens in a new tab)references/secure-gateway-handoff.md (opens in a new tab)references/setting-name-corrections.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
splunk-hardening, public-exposure, reverse-proxy, waf, tls-configuration
Other plugins' skills for the same job
npx claudepluginhub ciscodevnet/skills --plugin splunk-platform87 skills in this plugin
/cisco-appdynamics-setupUse when the user asks about AppDynamics setup, Splunk_TA_AppDynamics, controller connections, analytics connections, or AppDynamics dashboards in Splunk. Automate Cisco Splunk Add-on for AppDynamics (Splunk_TA_AppDynamics) setup and configuration. Creates the AppDynamics index, sets add-on defaults, configures controller and optional analytics connections, enables common input groups, and validates the deployment.
/cisco-asa-ta-setupUse when onboarding or validating Cisco ASA or FTD syslog with Splunk_TA_cisco-asa and SC4S.
/cisco-catalyst-enhanced-netflow-setupUse when installing or validating Cisco HSL/IPFIX mappings and Enhanced NetFlow dashboards in Splunk.
/cisco-catalyst-ta-setupUse when configuring or validating Catalyst Center, ISE, Catalyst SD-WAN API or syslog collection, Cyber Vision, or the beta IOS-XE CLI collector with TA_cisco_catalyst.
/cisco-cloud-control-setupUse when the user asks to prepare Cisco Cloud Control, AgenticOps, AI Canvas, Cloud Control Studio, Cloud Control Workflows, or governed Cisco/Splunk agent execution workflows. Render, validate, doctor, and optionally execute delegated setup plans for Cisco Cloud Control adoption, AI Canvas readiness, Cloud Control Studio handoffs, official Cloud Control feature coverage, Cisco Workflows API readiness, delegated Cisco Data Fabric architecture coverage, MCP connectors, Splunk AI Agent Monitoring, Observability content, and Cisco domain readiness.
/cisco-collaboration-setupUse when planning or reviewing Splunk onboarding for Cisco Unified Communications Manager syslog, CDR, or CMR; Cisco Expressway syslog, CDR, or media evidence; Cisco Meeting Server syslog or XML CDR; or Cisco Meeting Management system and audit syslog. Render a privacy-safe, evidence-gated collaboration plan with deterministic SC4S classification and explicit RoomOS, BroadWorks, Webex, and ThousandEyes handoffs without applying changes.