Skip to content

Satori CI CLI Cheatsheet

Install, Update and Configure

CommandDescription
pip3 install satori-ciInstall the latest version
satori installGuided onboarding: opens browser, saves token, installs CLI v2
satori updateUpdate to the latest version
satori config token "USERTOKEN"Configure your user token as your default profile
satori config token "TEAMTOKEN" --profile TEAMConfigure your team token on your team profile
satori whoamiDisplay current user information
satori widthShow console width configuration for current profile

Run in the cloud

CommandDescription
satori run ./Upload the current dir and run the playbook .satori.yml
satori run playbook.ymlUpload the playbook and run it
satori run ./ --playbook="satori://..."Upload the current dir and run the specified playbook

Run locally

CommandDescription
satori local ./Execute the playbook .satori.yml locally
satori local playbook.ymlExecute the playbook locally
satori local ./ --playbook="satori://..."Execute the specified playbook locally

Local execution parameters

ParameterDescription
--syncShow summary when execution completes
--reportDisplay test assertions and results
--outputDisplay command output
--testFilter specific test output (repeatable)
--runRun specific tests only (repeatable)
--timeoutExecution timeout in seconds
--nameName for this run
--visibilitySet report visibility (public/private/unlisted)
--formatOutput format (plain or md)
--redactedMark parameters as redacted (repeatable)
-df, --data-fileLoad variable values from file (repeatable)
--save-reportSave report to file (true/false or path)
--save-outputSave command output to file (true/false or path)

Run using these parameters

ParameterDescription
--syncShow the result
--reportShow the report
--outputShow the output
--testLimit the output to a certain test
--filesDownload the files created if the setting files was set to True
--runExecute a specific test from the playbook
--visibilitySet the visibility dynamically (public/private/unlisted)
--nameChange the name of the playbook dynamically
--timeoutChange the timeout dynamically (in seconds)
--cpuChange the cpu dynamically (run only)
--memoryChange the memory dynamically (run only)
--storageChange the storage dynamically in GB (run only)
--osSet the operating system (windows or linux, run only)
--imageSpecify a custom Docker image (run only)
--formatSet output format (plain or md)
--redactedMark parameters as redacted in logs (repeatable)
-i, --includeInclude additional files in execution (repeatable)
-df, --data-fileLoad variable values from file (repeatable)
--save-reportSave report to file (true/false or path)
--save-outputSave command output to file (true/false or path)
--cloneClone settings from another report ID
--repoSpecify repository URL to scan (run only)
--rateCreate monitor with rate expression (e.g., "every 5 minutes", run only)
--cronCreate monitor with cron schedule (e.g., "0 * * * *", run only)
--countNumber of executions for monitor (run only)

Run parametrized playbooks

CommandDescription
--data VAR="This is the value of VAR"Provide values for the undefined playbook variables

Playbooks

CommandDescription
satori playbooksList your private playbooks
satori playbooks --publicList the public playbooks
satori playbook IDShow a certain playbook
satori playbook ID visibility {public, private, unlisted}Toggles the playbook's visibility

Dashboards

CommandDescription
satoriShow your general dashboard
satori team TEAMShow your TEAM dashboard

Reports

CommandDescription
satori reportsList reports
satori report IDShow the report ID
satori report ID --jsonShow the JSON of the report ID
satori report ID outputShow the output of the report ID
satori report ID output --jsonShow the JSON's output of the report ID
satori report ID output --format {plain|md}Show output in specified format
satori report ID output --test TEST_NAMEFilter specific test output (repeatable)
satori report ID --unredactedShow unredacted parameters and secrets
satori report ID filesDownload the files created (if Files was set to True in settings)
satori report ID visibility {public, private, unlisted}Toggles the report's visibility
satori report ID issue TEMPLATE_IDCreate GitHub issue from report
satori report ID issue TEMPLATE_ID --query "SEARCH"Create issue with search query filter
satori report ID issue TEMPLATE_ID --title "TITLE"Create issue with custom title
satori report ID stopStop the current report execution
satori report ID deleteDelete the report ID
satori report ID statusGet report status
satori report ID set-team TEAM_NAMEAssign report to team

Repos

CommandDescription
satori reposList the repositories connected to CI or tested
satori repo GithubUser/RepoShows the repository Visibility, CI, Playbook, Status, Result and its team.
satori repo GithubUser/Repo --pendingShow pending actions in repo info
satori repo GithubUser/Repo runRun the repository's playbook on the latest commit
satori repo GithubUser/Repo run --playbook="satori://..."Run another playbook on the latest commit
satori repo GithubUser/Repo run -b BRANCHRun on specific branch (default: main)
satori repo GithubUser/Repo run -d '{"KEY":"value"}'Provide secrets/parameters as JSON
satori repo GithubUser/Repo run -s --syncWait for run to complete
satori repo GithubUser/Repo run -o --outputDisplay command output
satori repo GithubUser/Repo run -r --reportDisplay test results
satori repo GithubUser/Repo run --visibility {public|private|unlisted}Set run visibility
satori repo GithubUser/Repo commitsShow the list of commits and the reports associated
satori repo GithubUser/Repo testsList test results
satori repo GithubUser/Repo tests -a --allShow all test results
satori repo GithubUser/Repo tests -l LIMITLimit number of results (default: 100)
satori repo GithubUser/Repo tests --failShow only failed tests
satori repo GithubUser/Repo playbook listList playbooks for repository
satori repo GithubUser/Repo playbook add URIAdd playbook to repository
satori repo GithubUser/Repo playbook del URIRemove playbook from repository
satori repo GithubUser/Repo visibility {public, private, unlisted}Toggles the repo's visibility
satori repo GithubUser/Repo paramsList parameters/secrets for the repository
satori repo GithubUser/Repo params add 'NAME=VALUE'Add a parameter/secret to the repository
satori repo GithubUser/Repo params del NAMEDelete a parameter/secret from the repository

Monitors

CommandDescription
satori monitorsList monitors
satori monitor IDList the reports associated to a monitor ID
satori monitor ID stopStop a monitor ID
satori monitor ID startStart a monitor ID
satori monitor ID cleanDelete the reports associated to the monitor ID
satori monitor ID deleteDelete the monitor ID
satori monitor ID visibility {public, private, unlisted}Toggles the monitor's visibility

Scans

CommandDescription
satori scansList scans
satori scan GithubUser/Repo [-c N]Scan the Github repository with the repository's playbook a coverage of 1 (default) to 100
satori scan GithubUser/Repo [--playbook="satori://..."]Scan the Github repository with a different playbook
satori scan GithubUser/Repo -b BRANCHScan specific branch (default: main)
satori scan GithubUser/Repo -d KEY=valueProvide parameters and values
satori scan GithubUser/Repo --from YYYY-MM-DDStart date for scanning
satori scan GithubUser/Repo --to YYYY-MM-DDEnd date for scanning
satori scan GithubUser/Repo --skip-checkSkip repository existence check
satori scan GithubUser/Repo -s --syncWait for scan to complete
satori scan GithubUser/Repo -o --outputDisplay command output
satori scan GithubUser/Repo -r --reportDisplay test results
satori scan GithubUser/Repo --visibility {public|private|unlisted}Set scan visibility
satori scan GithubUser/Repo check-commitsGet the repository commits before scanning
satori scan GithubUser/Repo check-forksGet the repository forks before scanning
satori scan IDShow scan information
satori scan ID statusShow the status of a scan
satori scan ID reportsList the reports associated to a scan
satori scan ID reports -p PAGEShow specific page of reports
satori scan ID reports -l LIMITSet number of results per page (default: 20)
satori scan ID stopStop the scan
satori scan ID cleanDelete the reports associated to the scan
satori scan ID clean --delete-commitsDelete reports and commit records
satori scan ID deleteDelete the scan
satori scan ID visibility {public, private, unlisted}Toggles the scan's visibility

Teams

CommandDescription
satori teamsList your teams
satori team TEAMShow the TEAM dashboard
satori team TEAM createCreate a new team named TEAM
satori team TEAM membersList your TEAM members
satori team TEAM monitorsList your TEAM monitors
satori team TEAM reposList your TEAM repositories
satori team TEAM reportsList your TEAM reports
satori team TEAM settingsList your TEAM settings
satori team TEAM get_config NAMEShow your TEAM's config setting
satori team TEAM set_config NAME VALUESet your TEAM CONFIG setting
satori team TEAM add --github="GithubUser"Owners and admins can add users via Github to the TEAM
--role="READ"Use the role READ (default) or ADMIN
satori team TEAM add --email="usr@example.com"Owners and admins can add users via Email to the TEAM
--role="READ"Use the role READ (default) or ADMIN
satori team TEAM add --monitor="MONITORID"Add the monitor ID to your TEAM
satori team TEAM add --repo="GithubUser/repo"Add the repo to your TEAM
satori team TEAM del --github="GithubUser"Delete the GithubUser from your TEAM
satori team TEAM del --email="usr@example.com"Delete the email from the TEAM
satori team TEAM del --repo="GithubUser/repo"Delete the repo from the TEAM
satori team TEAM del --monitor="MONITORID"Delete the monitor from the TEAM
satori team TEAM deleteDelete the TEAM

Shards

CommandDescription
satori shards --shard X/Y --input INPUTDivide massive datasets into smaller chunks for distributed processing
--shard X/YShard index X out of Y total shards (required)
--input INPUTInput file path or direct IP/CIDR/range/domain/URL (required)
--exclude PATH or ENTRYExclusion file path or direct IP/CIDR/range/domain/URL to exclude
--seed NSeed for deterministic pseudorandom distribution (default: 1)
--results PATHOutput file path (writes to stdout if omitted)

Notifications

CommandDescription
satori settingsInteractive menu to configure notification settings (Slack, Discord, Email, Telegram, Datadog)
satori settings KEYView current value of a notification setting
satori settings KEY VALUESet a notification setting directly
satori settings --team TEAMConfigure notifications for a specific team
satori team TEAM settingsAlias for configuring team notifications interactively