Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.25 KB

File metadata and controls

27 lines (18 loc) · 1.25 KB

Examples and safe fixtures

HTML version

This page is a compatibility index for small examples. For a guided first run, use Quickstart. For layer-by-layer operation, use the five-layer operator guide.

Runnable examples

Example Use it for
../examples/basic-managed-session.sh Create one managed session, ledger, and proof for a low-risk command.
../examples/policy-profile.toml Inspect a compact policy-as-code profile with path-aware rules.
../examples/unsafe-action-event.json Analyze an unsafe shell event without executing it.

Analyze the unsafe event

invart runtime analyze-event --event "$(cat examples/unsafe-action-event.json)"

This command analyzes a JSON event payload. It does not execute the unsafe command inside the fixture.

Next steps