Skip to Content
ScanningSmart vs Deep Scans

Smart vs Deep Scans

CodeStax offers two scan modes to balance speed and thoroughness.

Smart Scan

Best for: Frequent checks, PR reviews, daily monitoring

Smart Scan runs a focused set of SAST tools optimized for speed and low false positives.

What Runs

ToolPurposeLanguages
SemgrepSAST with OWASP + CWE rulesets30+ languages
RuffFast Python lintingPython
BanditPython security analysisPython
ESLintJS/TS security patternsJavaScript, TypeScript

Characteristics

  • Speed: Completes in 1-5 minutes for most repositories
  • Confidence: 70-80%+ accuracy
  • False Positives: Minimized through lighter rulesets
  • Cost: Counts as 1 scan against your monthly quota

Deep Scan

Best for: Release preparation, compliance audits, main branch scans

Deep Scan runs all available scanners plus AI-powered enrichment.

What Runs

Everything in Smart Scan, plus:

ToolPurpose
TrivyDependency vulnerability scanning (SCA)
GitleaksSecret and credential detection
CheckovInfrastructure-as-Code scanning
HadolintDockerfile security analysis
AI EnrichmentLLM-generated remediation for each finding
CVSS/EPSSIndustry-standard vulnerability scoring
Correlation EngineDeduplication and attack chain detection

Characteristics

  • Speed: 5-20 minutes depending on repository size
  • Confidence: 90%+ accuracy
  • Coverage: Full security posture including dependencies, secrets, and infrastructure
  • Cost: Counts as 1 scan against your monthly quota

Choosing the Right Scan Type

ScenarioRecommended
Every push to a feature branchSmart Scan
Pull request reviewSmart Scan
Merge to main/productionDeep Scan
Weekly/monthly security auditDeep Scan
Pre-release verificationDeep Scan
Quick check during developmentSmart Scan

Default Scan Types

Configure defaults in Settings → General → Scanning Preferences:

  • Default Repository Scan Type — Used when clicking “Scan” from the repositories page
  • Default PR Scan Type — Used for automated PR reviews
  • Default SCA Scan Type — Standard or Enhanced (with AI Enrichment)