Scanning a Build
Scanning a build
sl-python scansl-python scan --tokenFile ./sltoken.txt --buildSessionIdFile ./path-to/buildSessionId.txt --scmType noneUsing .slignore to Exclude Files or Directories
.slignore to Exclude Files or Directories# Comments start with #
# Exclude virtual environments
**/venv/**
**/.venv/**
# Exclude test folders (default behavior also excludes "*tests*")
**/tests/**
# Exclude Python caches
**/__pycache__/**
**/*.pyc
# Exclude generated or vendored code
**/generated/**
**/site-packages/**
# Exclude specific legacy files
legacy/old_script.pyPattern Syntax
Merge and Precedence (Simple Rules)
Important Notes
Last updated
Was this helpful?

