Skip to content

chore(spec): refresh spec for forensic endpoints + fix spec-check -o flag#13

Merged
caballeto merged 1 commit into
mainfrom
chore/forensics-spec-refresh
May 1, 2026
Merged

chore(spec): refresh spec for forensic endpoints + fix spec-check -o flag#13
caballeto merged 1 commit into
mainfrom
chore/forensics-spec-refresh

Conversation

@caballeto
Copy link
Copy Markdown
Member

Summary

  • Refreshes the bundled OpenAPI spec to mono main; adds the 5 new forensic read endpoints (timeline / trace / rule-evaluations / transitions / policy-snapshot) to internal/generated/types.go. No resources or data sources consume them — forensic reads are diagnostic-only and don't map to Terraform resources — but this keeps the generated types current and silences drift warnings.
  • Fixes spec-check.yml: the gh api ... -o <file> command has never worked (gh api has no -o flag), so any spec-update auto-dispatch that reached this repo would have failed on the download step. Switched to a > <file> redirect.

Test plan

  • go build ./... green locally
  • go test ./... green locally (api + provider + datasources + resources)
  • CI green on PR

Made with Cursor

Catches up the bundled OpenAPI copy to mono main (adds the 5 forensic
read endpoints: timeline, trace, rule-evaluations, transitions, policy
snapshot). No resources or data sources wire these yet — forensic reads
are diagnostic-only and don't map to Terraform resources — but keeping
the generated types current lets a future plan/apply flow surface them
via a data source if we ever want to.

Also fixes the spec-check workflow: `gh api ... -o <file>` has never
worked (gh api has no -o flag), so every auto-dispatch would have failed
on the download step. Switched to a `> <file>` redirect.

Made-with: Cursor
@caballeto caballeto merged commit ccc29e0 into main May 1, 2026
6 checks passed
@caballeto caballeto deleted the chore/forensics-spec-refresh branch May 1, 2026 13:15
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