Skip to content

kurkik sns scan: see what is on Amazon SNS

scan shows what is really there, as a tree, JSON or YAML. It only reads.

Terminal window
kurkik sns scan prod
Flag What it does
--acls Also read each topic’s access policy.
--all Read everything Kurkik can see, like the preview in the terminal UI.
--consumers Include each topic’s subscriptions.
--details Look closer: every attribute, with where it comes from, plus counts and timestamps where there are any.
--exclude GLOB Skip topics that match. It wins over --include. You can repeat it.
--include GLOB Only topics whose name matches this pattern. You can repeat it.
--include-internal Also show the system’s own topics, such as __consumer_offsets or Pulsar’s system topics.
--max-channels N Read at most this many topics.
-o, --output FORMAT Output format: tree (text), json or yaml.
--timeout DURATION Give up after this long, for example 60s or 2m.
Code Means
0 Everything was read.
3 Read, but something was not visible. The output says what.

All codes: exit codes.

Real output, one question per page: Amazon SNS scan examples.

Flag What it does
--config FILE Use this connections file instead of $KURKIK_CONFIG or ~/.config/kurkik/connections.yaml.
-h, --help Show help.
--no-color No colours. NO_COLOR=1 does the same.
--no-project Ignore the project connections file.
--project-dir DIR Look for the project’s .kurkik/connections.yaml from this folder up.
--trust-project Use the project file without asking. Meant for CI. Same as KURKIK_TRUST_PROJECT=1.
-v, --verbose Say what Kurkik finds while it reads (on stderr).
-V, --version Show the version.