DevSecOps
Integrate security into every phase of the DevOps lifecycle. Shift-left security, SAST/DAST/SCA, secrets management, and compliance as code.
SAST
Static analysis of source code. Finds vulns before compiling.
DAST
Dynamic analysis of running apps. Finds runtime vulns.
SCA
Open-source dependency scanning for CVEs.
Secrets Mgmt
Vault, dynamic secrets, encryption as a service.
Security Tooling Categories
SAST (Static Analysis)
Semgrep, SonarQube, Checkmarx, Fortify, CodeQL
Analyze source code for vulnerabilities without executing it. Finds SQL injection, XSS, hardcoded secrets, and insecure patterns.
DAST (Dynamic Analysis)
OWASP ZAP, Burp Suite, Acunetix, Nessus
Test running applications for vulnerabilities by simulating attacks. Finds runtime issues like CSRF, authentication bypass, and misconfigurations.
SCA (Software Composition)
Snyk, Dependabot, Renovate, Black Duck, Trivy
Scan open-source dependencies for known CVEs. Monitors transitive dependencies and suggests version updates with patches.
Secret Scanning
truffleHog, GitLeaks, GitGuardian, Talisman
Scan repositories, commits, and CI outputs for leaked secrets, API keys, tokens, and credentials.
# Enable KV secrets engine
vault secrets enable -path=secret kv-v2
# Write a secret
vault kv put secret/api KEY=sk-abc123 SECRET=supersecret
# Read a secret
vault kv get secret/api
# Enable database secrets engine
vault secrets enable database
# Configure dynamic DB credentials
vault write database/config/my-db \
plugin_name=postgresql-database-plugin \
allowed_roles="my-role" \
connection_url="postgresql://{{username}}:{{password}}@host:5432/db"Hashicorp Vault
- Static Secrets: Encrypted key-value storage with versioning
- Dynamic Secrets: On-demand, short-lived credentials (DB, cloud)
- Encryption as Service: Encrypt/decrypt data via API without managing keys
- PKI: Internal CA for automated certificate issuance and renewal
- Auth Methods: Token, Kubernetes, LDAP, OIDC, AWS IAM, GitHub
Compliance as Code
Open Policy Agent (OPA)
Policy engine for cloud-native stacks. Write Rego policies to enforce rules on Kubernetes admission, Terraform plans, and API requests.
InSpec
Audit and testing framework for infrastructure. Write compliance tests in Ruby DSL. Checks OS config, package versions, and security settings.
Sentinel
HashiCorp's policy framework for Terraform Enterprise. Enforces policies before terraform apply executes.
Secure SDLC Pipeline
Plan
Threat modeling
Code
SAST, secrets scan
Build
SCA, container scan
Test
DAST, integration
Deploy
Compliance check