Synopsis
- ~N N’th behind the latest snapshot
- N snapshot number N
- NOW the latest snapshot
Flags
Flags inherited from parent commands
Live Example
To view a live example of ‘kosli list snapshots’ you can run the commands below (for the cyber-dojo demo organization).Run the commands below and view the output.
export KOSLI_ORG=cyber-dojo export KOSLI_API_TOKEN=Pj_XT2deaVA6V1qrTlthuaWsmjVt4eaHQwqnwqjRO3A # read-only kosli list snapshots aws-prod —output=json
Examples Use Cases
These examples all assume that the flags--api-token, --org, --host, (and --flow, --trail when required), are set/provided.
list the last 15 snapshots for an environment
list the last 15 snapshots for an environment
list the last 30 snapshots for an environment
list the last 30 snapshots for an environment
list the last 30 snapshots for an environment (in JSON)
list the last 30 snapshots for an environment (in JSON)