S
Semgrep CLI
Details
- Command
-
semgrep - Docs
- https://docs.semgrep.dev/cli-reference
Authentication
Semgrep CLI login session oauth2 discovered
$ semgrep login Acquired by the CLI — running semgrep login opens the auth flow and stores the credential.
In the Semgrep AppSec Platform, open Settings > Tokens and create an API token with the Web API permission. The API docs state the token must have Web API permission and no limited scopes.