Skip to content

The scanners

Documentation Index

Fetch the complete documentation index at: https://docs.sourcery.ai/llms.txt

Use this file to discover all available pages before exploring further.

Sourcery runs these scanners over your default branch. Together they produce the issue types listed on Issues; the Sourcery API refers to them by the issue_type codes.

ScannerToolWhat it findsIssue typeAPI issue_type
SecretsBetterLeaksCommitted credentials and tokensExposed Secretssecret
SASTOpenGrepCode-level vulnerabilitiesSASTsast
IaCCheckovTerraform, CloudFormation, Kubernetes, Docker, and Ansible misconfigurationsInfrastructure as Codeiac
DependenciesTrivyVulnerable packages, including transitive pathsDependenciesdependency
LicensesTrivyRestrictive or unknown dependency licensesLicenseslicense
  • Secrets scanning is language-agnostic. It checks the working tree and the full git history. Sourcery still reports a credential that was committed and later removed.
  • SAST covers C, C#, Go, Java, JavaScript, Kotlin, PHP, Python, Ruby, Rust, Scala, and TypeScript.
  • IaC checks Terraform, CloudFormation, Kubernetes, Docker, and Ansible files, with rules across AWS, Azure, and GCP.
  • Dependency and license scanning reads the lockfiles Trivy supports, including npm, pnpm, Yarn, pip, Poetry, uv, Go modules, Cargo, Bundler, Maven, Gradle, Composer, and NuGet. See Trivy’s language coverage for the full list. Development dependencies are included.

Trivy produces both the Dependencies and Licenses issue types from a single run. For a dependency finding, the dashboard renders the dependency graph. Trace a vulnerable transitive package back to the direct dependency that pulled it in.

BetterLeaks is a fork of Gitleaks and keeps its rule IDs. A secret finding’s rule matches the Gitleaks rule of the same name.