Scanning a Build
Scanning a build
sl-python scansl-python scan --tokenfile ./sltoken.txt --buildsessionidfile ./path-to/buildSessionId.txt --scm 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 & Precedence (Simple Rules)
Last updated
Was this helpful?

