maqpna audit stream
Backfill a SIEM audit sink from a ledger file
Synopsis#
maqpna audit stream FILE --config gateway.json --sink NAME [--from-seq N]Flags#
| Flag | Type | Description | Default |
|---|---|---|---|
--config | string | gateway config (auditSinks, sovereigntyPolicyFile) | none |
--from-seq | int | first ledger seq to send | 1 |
--sink | string | auditSinks[].name to send to | none |
The global flags (--context, -o, --no-color, ...) work with every command.
What happens when you run it#
- Prints a table by default;
-o jsonor-o yamlprint the data, and--jq EXPRfilters the JSON.
Exit codes#
| Code | Meaning |
|---|---|
0 | success |
1 | error (the message says what failed, with a hint when there is one) |
2 | usage error: unknown flag, missing argument or bad value; the synopsis is printed |
3 | a check failed, a change is blocked, or a result did not match (tamper, policy mismatch) (not used by this command) |
Related commands#
Terminal demo#
This needs a configured SIEM audit sink, so the recording shows its help.