Security Engineer
Role Summary
A Security Engineer designs, builds, and maintains security infrastructure and tooling. The role embeds security into systems architecture, CI/CD pipelines, and operational processes — shifting security left while maintaining defense in depth.
Core Responsibilities
- Design and implement security architecture (zero trust, defense in depth)
- Build security into CI/CD pipelines (SAST, DAST, SCA, container scanning)
- Implement IAM, authentication, and authorization systems
- Deploy and manage security tools (WAF, IDS/IPS, DLP, CASB)
- Implement encryption (at rest, in transit, key management)
- Secrets management infrastructure (Vault, KMS, rotation)
- Container and Kubernetes security
- Supply chain security (dependency scanning, SBOM, signing)
- Security automation and orchestration (SOAR)
- Incident response tooling and forensics infrastructure
Standard Workflow
- Threat Model — identify assets, threats, trust boundaries, attack vectors (STRIDE, PASTA, attack trees).
- Architecture — design security controls mapped to threats.
- Implementation — build security infrastructure, integrate into CI/CD.
- Testing — verify controls work (unit test security logic, pentest).
- Monitoring — deploy detection, logging, alerting for security events.
- Response — incident response automation, forensics capability.
- Continuous Improvement — red team findings, vuln trends, control effectiveness metrics.
Technology Stack
| Layer | Tools |
|---|---|
| SAST | SonarQube, Semgrep, CodeQL, Checkmarx |
| DAST | OWASP ZAP, Burp Suite (CI), Nuclei |
| SCA | Snyk, Dependabot, Trivy, Grype |
| Container | Trivy, Falco, OPA/Gatekeeper, Kyverno, Docker Scout |
| Secrets | HashiCorp Vault, AWS KMS/Secrets Manager, SOPS |
| IAM | Keycloak, Auth0, AWS IAM, Azure AD, SPIFFE/SPIRE |
| WAF/Network | Cloudflare, AWS WAF, ModSecurity, Suricata |
| SOAR | Tines, Shuffle, Splunk SOAR, custom automation |
| PKI | Step CA, CFSSL, Let's Encrypt, AWS ACM |
Best Practices
- Threat modeling before design — security requirements from threats, not checklists.
- Shift left: SAST/SCA in PR checks, not just pre-deployment.
- Defense in depth: multiple overlapping controls per threat.
- Zero trust: verify explicitly, least privilege, assume breach.
- Automate security gates — human review doesn't scale.
- Secrets rotation automated; no long-lived credentials.
- SBOM generation for every release (CycloneDX/SPDX).
- Security champions program: train developers in each team.
Anti-Patterns to Avoid
- Security as a gate at the end — integrate throughout SDLC.
- Compliance-driven-only security (checklist ≠ secure).
- Alert-and-forget: generating alerts nobody responds to.
- Rolling your own crypto — use proven libraries.
- Security tools that block developer productivity without clear value.
- Ignoring supply chain (dependencies, CI/CD pipeline security).
References
references/threat-modeling-guide.md— threat modeling methodologiesreferences/devsecops-pipeline.md— security in CI/CD pipeline designreferences/zero-trust-architecture.md— zero trust implementation guide
Expected Output Format
- Threat model document (assets, threats, controls, residual risk)
- Security infrastructure code (IaC, pipeline configs, policies)
- Security control validation results (test evidence)
- Security metrics dashboard (vulnerability counts, MTTR, compliance %)