CLI reference

View as Markdown

insecur is experimental and prelaunch. There is no public sign-up yet, and the hosted service is not approved for valuable production secrets. Local Mode runs the development loop with no account.

insecur audit

Audit event feed and export verification

insecur audit [options] [command]

insecur audit tail

Show recent tenant-bounded audit events (metadata-only)

insecur audit tail [options]
Option Description
--limit <count> maximum events to return (default 25)
--from <iso8601> include events at or after this timestamp
--to <iso8601> include events before this timestamp
--cursor <cursor> pagination cursor from a prior response
--actor-user-id <id> filter by actor user id
--actor-machine-identity-id <id> filter by actor machine identity id
--project-id <id> filter by project id
--env-id <id> filter by environment id
--event-code <code> filter by audit event code

insecur audit export

Export tenant-bounded audit events as JSONL with a signed manifest

insecur audit export [options]
Option Description
--from <iso8601> include events at or after this timestamp (required)
--to <iso8601> include events at or before this timestamp (required)

insecur audit verify

Verify a tamper-evident audit export JSONL bundle and manifest

insecur audit verify [options] <jsonl>
Argument Description
jsonl path to audit export JSONL
Option Description
--manifest <path> path to audit export manifest JSON (required)
--hmac-secret-env <name> env var holding the audit export HMAC secret
--signing-public-key-env <name> env var holding the published audit export signing public key
--published-signing-keys <path> path or URL to the published audit export signing public keys JSON
--published-signing-keys-env <name> env var holding the path or URL to published signing public keys