Rationale

Static Application Security Testing (SAST) finds vulnerabilities in source code without executing the application. GitLab mandates SAST for all projects.

Enforcement

  • SonarQube: Security hotspot and vulnerability rules

Requirements

  1. SAST must run on every CI pipeline
  2. No new Critical or High severity findings allowed in new code
  3. Medium findings must have documented justification or remediation plan
  4. False positives must be explicitly suppressed with justification

Common Vulnerability Categories

Category Examples
Injection SQL, LDAP, OS command injection
Authentication Weak password policies, missing MFA
Sensitive Data Unencrypted PII, log injection
Cryptography Weak algorithms, hardcoded keys
XXE XML External Entity processing

References