Skip to content

About

Splunk Secure Networking Essentials — dashboards for Cisco fleet inventory, network performance, and security posture in Splunk.

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Splunk Secure Networking Essentials

A Yarn-workspaces monorepo housing the Splunk Secure Networking Essentials Splunk app — a React-based set of dashboards (Overview, Devices, Network, Security) that visualize Cisco fleet, network performance, and security data inside Splunk Web.

Layout

splunk-cisco-dashboards/
├── package.json          # workspace root
└── packages/
    └── splunk-cisco-dashboards/   # the actual Splunk app + React UI

The top-level scripts simply delegate into the package:

yarn install              # install workspace deps
yarn setup                # install + build everything
yarn start                # webpack --watch in the app package
yarn build                # production build of all packages
yarn lint                 # eslint + stylelint
yarn clean                # remove build artifacts

For more detail see packages/splunk-cisco-dashboards/README.md. The tracked production-hardening backlog is documented in packages/splunk-cisco-dashboards/CODE_PROTECTION.md.

Maintainer installation and packaging

For single-command packaging, run ./build.sh; missing build dependencies are installed automatically. For optional manual development setup, install from the repository root:

yarn install

Installation automatically applies the maintained braces security patch and fails if it cannot be applied. Do not use --ignore-scripts: it skips this protection. The patch bounds brace/parenthesis nesting and AST traversal at 100 levels, including cyclic AST parent chains. It preserves ordinary build-tool glob patterns and mitigates GHSA-vfj7-8cjw-p6xm until an upstream fix is released. Dependabot can still report the upstream braces@3.0.3 version because it does not account for local patches. Run yarn test to verify the mitigation and the patched dependency-version floors.

To build the Splunk app package locally:

yarn package:app

Splunkbase release tarballs are written to dist/. Developer artifacts go to dist/developer/, and previews go to dist/preview/. Normal packaging uses the Splunkbase app profile. For a local developer artifact, use:

./build.sh --developer

For a smaller, minified release package (slower to build):

./build.sh --minify

Splunkbase packaging always minifies; --minify is optional there and remains explicit for developer builds. It does not affect the fast yarn start watch workflow.

For a release, edit only the root VERSION file and run the build. Source app.conf and app.manifest intentionally retain 0.0.0/0 placeholders. Packaging stamps VERSION and the release date into generated output. Each package reserves and claims a repository-wide number before installing dependencies or compiling. The shared Git counter continues the existing sequence across VERSION changes; source/release metadata, retained archives, the selected installed target and known local reservations are safety floors. Local state is only dist/build-reservations/current.json and can be recovered after deletion or corruption. See the maintainer numbering guide for automatic migration from Actions, outage recovery, and the coordinated SCD_BUILD_NUMBER override.

Install Node.js >=20, Python 3, Yarn Classic 1.22.22 (or Corepack), and GitHub CLI; sign in with gh auth login --hostname github.com using repository Contents write access. ./build.sh installs missing compilation dependencies, including dev packages, with yarn install --frozen-lockfile --production=false --non-interactive. It never updates the lockfile or package-manager configuration. Installed build dependencies are reused. Postinstall security patches remain enabled.

Shared updates are non-forced and concurrency-safe across independent checkouts. Failed/cancelled package attempts spend their number. An uncertain shared update remains a consumed safety floor; it cannot be claimed or reused. During an outage, the packager visibly prompts on the controlling terminal for a coordinated manual number. Unattended callers must supply SCD_BUILD_NUMBER or exit with instructions. Concurrent builds in one checkout fail at .packaging.lock to protect stage/; independent checkouts reserve concurrently. Inspect stale locks before removal.

--no-build reuses a verified existing package without contacting the allocator. A newly built archive's exact path is returned directly to installation/deployment, so another client's newer archive cannot replace the selected output.

Build date stamps affect generated release metadata only. Package build numbers, application VERSION and independently published catalog revisions remain separate; catalog publication formats and older sync-command compatibility are unchanged.

Artifacts use the operator-readable name splunk-cisco-dashboards-<version>-<build>.tar.gz (plus -developer for an explicitly selected developer profile, or -preview for a Splunkbase preview). This tarball is the only package file emitted. Packaging re-extracts and validates it before publication, and the root build wrapper verifies its filename identity and gzip integrity before use. A successful Splunkbase build always requires clean committed source and emits a release-eligible archive. Adding --install --splunkbase or --deploy --splunkbase applies that exact archive after packaging without changing its identity or provenance. Uncommitted ./build.sh --install runs select the developer profile automatically so local iteration can proceed before a commit. ./build.sh --splunkbase-preview applies the same released-resources-only filter to an uncommitted worktree for local content inspection. It keeps the resources listed under previewRetained in config/build-profile-manifest.json, which currently carves out the Searchbase Canvas authoring surface so a preview can still be used to inspect the catalogue it is previewing. Everything else developing is removed exactly as it would be for a release. Its archive records release_eligible: false, and both the release gate and release-profile installer reject it even if it is renamed into the release namespace. Do not upload previews or developer packages to Splunkbase; the portal is outside these local safeguards.

Before uploading, check the exact file you intend to select:

./build.sh --verify-release dist/splunk-cisco-dashboards-<version>-<build>.tar.gz

This read-only check validates gzip integrity, filename and embedded identity, and clean release provenance, then prints the archive's SHA-256. It rejects previews and developer packages, including renamed previews. It does not build, install, run AppInspect, or prove update discovery. After publication, compare the downloaded archive's SHA-256 with this value, since Splunkbase renames the download. Verify the Update link separately on an eligible older installation.

Usage

For local development, run the app package webpack watcher:

yarn start

For a production build across the workspace:

yarn build

The actual Splunk app source, dashboards, and packaging scripts live in packages/splunk-cisco-dashboards/.

License

Copyright 2026 Splunk Inc.

Licensed under the Apache License, Version 2.0. See NOTICE for attribution information.

About

Splunk Secure Networking Essentials — dashboards for Cisco fleet inventory, network performance, and security posture in Splunk.

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages