Skip to content

Instantly share code, notes, and snippets.

@bparanj
Created May 18, 2026 01:34
Show Gist options
  • Select an option

  • Save bparanj/cd63b17222a95e189691c0812749107d to your computer and use it in GitHub Desktop.

Select an option

Save bparanj/cd63b17222a95e189691c0812749107d to your computer and use it in GitHub Desktop.
./stave apply --controls controls --observations mytests --now 2026-01-15T00:00:00Z --allow-unknown-input
Done: apply controls against observations (1.931s)
level=WARN msg="command failed" error="execute evaluation: failed to load observations: load snapshot mytests/observations.json: schema validation failed: security assessment failed: 3 errors, 0 warnings | First Finding: at '': additional properties 'snapshots' not allowed (mytests/observations.json: /)" exit_code=2
[ERR] Input validation failed (INVALID_INPUT)
Message: execute evaluation: failed to load observations: load snapshot mytests/observations.json: schema validation failed: security assessment failed: 3 errors, 0 warnings | First Finding: at '': additional properties 'snapshots' not allowed (mytests/observations.json: /)
Next: stave validate --controls ./controls --observations ./observations
More info: https://github.com/sufield/stave/blob/main/docs/start-here.md#validate+schema+validation+failed
Fix: Try `stave validate --controls ./controls --observations ./observations`. Check the command arguments and rerun with -v or -vv for additional context.
Help: https://github.com/sufield/stave/blob/main/docs/start-here.md#validate+schema+validation+failed
@bparanj ➜ /workspaces/stave (main) $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment