Skip to content

feat: automate Splunk Cloud read/write canaries (0.4.0) - #80

Closed
JacobPEvans-personal wants to merge 3 commits into
mainfrom
ci/cloud-live-certification
Closed

feat: automate Splunk Cloud read/write canaries (0.4.0)#80
JacobPEvans-personal wants to merge 3 commits into
mainfrom
ci/cloud-live-certification

Conversation

@JacobPEvans-personal

Copy link
Copy Markdown
Contributor

Summary

  • Stacked on refactor/api-endpoint-framework after /sync-main from origin/main.
  • Cloud stack names stay out of inspect JSON, ACS errors, and CI logs (VCT_SPLUNK_REDACT_TARGET=1); a leak scanner runs on teed pytest output before anything is published.
  • Cloud writes remain refused by default. SPLUNK_CLOUD_WRITE=true unlocks ACS create/update/delete for index, role, and hec-token only, still through do_write, --dry-run, and --yes.
  • Separate write canary: workflow_dispatch only, typed confirm=WRITE, HEAD subject must start with tests: splunk cloud write. Version bumped to 0.4.0.

Test plan

  • Unit: ACS loopback, default write refusal, opt-in dry-run/mocked writes, HEC token redaction
  • Human: add GitHub Actions secrets (SPLUNK_URL, SPLUNK_ACS_TOKEN, SPLUNK_ACS_STACK, optional SPLUNK_TOKEN / SPLUNK_ACS_WRITE_TOKEN)
  • Dispatch Splunk Cloud Read Canary on this branch; confirm leak scan is clean and the suite is 100% green
  • After that green run, record the exact Actions URL as the Cloud read certification
  • Write canary only when you type WRITE against a non-production stack

Made with Cursor

Base automatically changed from refactor/api-endpoint-framework to main August 18, 2026 10:35
JacobPEvans-personal and others added 3 commits August 18, 2026 06:35
Inspect no longer emits the stack label, ACS errors strip stack paths,
and the Cloud read canary scans logs for leaks before anything is published.

Co-authored-by: Cursor <cursoragent@cursor.com>
Cloud mutations stay refused by default. SPLUNK_CLOUD_WRITE=true unlocks
create/update/delete for the three ACS resources, still through do_write,
dry-run, and confirmation.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add a dispatch-only ACS write canary that requires typing WRITE, bump
the package to 0.4.0, and document GitHub Actions as the Cloud
certification path.

Co-authored-by: Cursor <cursoragent@cursor.com>
@JacobPEvans-personal

Copy link
Copy Markdown
Contributor Author

Superseded by a 3-PR stack, split by concern and with every commit signed:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant