DevSecOps Guideline Lookup
Reference for OWASP DevSecOps Guideline phases, tools, and security checks.
Pipeline Phases
| Phase |
Activity |
Key Tools |
| Develop |
Pre-commit checks, Secret detection |
Gitleaks, TruffleHog, pre-commit |
| Build |
SAST, SCA, Container, IaC |
Semgrep, Trivy, Hadolint, tfsec |
| Test |
DAST, API Security, IAST |
OWASP ZAP, Nuclei, Postman |
| Deploy |
Security Gates, Config validation |
Policy-as-code, Admission controllers |
| Operate |
Monitoring, Vulnerability management |
CNAPP, SIEM, Pentesting |
Lookup Workflow
Identify the Query Type:
- Pipeline phase (develop, build, test, deploy, operate)
- Tool name (gitleaks, semgrep, trivy, etc.)
- Security activity (SAST, SCA, DAST, etc.)
- CWE reference
Search the Indexes:
# Phase lookup
cat ${CLAUDE_PLUGIN_ROOT}/skills/devsecops-lookup/pipeline-phases-index.json | jq '.phases["build"]'
# Tool lookup
cat ${CLAUDE_PLUGIN_ROOT}/skills/devsecops-lookup/tools-index.json | jq '.tools["semgrep"]'
# Search by keyword
cat ${CLAUDE_PLUGIN_ROOT}/skills/devsecops-lookup/tools-index.json | jq '[.tools | to_entries[] | select(.value.keywords | map(ascii_downcase) | any(contains("sast")))]'
# CWE to phase mapping
cat ${CLAUDE_PLUGIN_ROOT}/skills/devsecops-lookup/pipeline-phases-index.json | jq '[.phases | to_entries[] | select(.value.cwes | any(contains("CWE-798")))]'
Return Results with:
- What it does (summary)
- Installation command
- Usage example
- CI/CD integration pattern
- Official references
Response Format
### [Tool/Activity Name]
**Phase**: [develop|build|test|deploy|operate]
**Category**: [secret-detection|sast|sca|container|iac|dast|misconfig]
**What It Does**:
[1-2 sentence summary]
**Installation**:
\`\`\`bash
[install command]
\`\`\`
**Basic Usage**:
\`\`\`bash
[usage command]
\`\`\`
**CI/CD Integration** (GitHub Actions):
\`\`\`yaml
[workflow snippet]
\`\`\`
**CWE Coverage**: [list of CWEs]
**References**:
- [Tool URL]
- [OWASP DevSecOps Guideline URL]
Quick Reference: Tools by Phase
Develop (Pre-commit)
| Tool |
Purpose |
Install |
| Gitleaks |
Secret detection |
brew install gitleaks |
| pre-commit |
Hook management |
pip install pre-commit |
| detect-secrets |
Secret patterns |
pip install detect-secrets |
Build (CI)
| Tool |
Purpose |
Install |
| Semgrep |
SAST |
pip install semgrep |
| Trivy |
SCA + Container |
brew install trivy |
| Hadolint |
Dockerfile lint |
brew install hadolint |
| tfsec |
Terraform security |
brew install tfsec |
| Checkov |
IaC security |
pip install checkov |
Test (CD/Staging)
| Tool |
Purpose |
Install |
| OWASP ZAP |
DAST |
Docker |
| Nuclei |
Vulnerability scanner |
go install nuclei |
Index Coverage
pipeline-phases-index.json
- All DevSecOps pipeline phases
- Activities per phase
- Recommended tools
- CWE mappings
- OWASP DevSecOps Guideline references
tools-index.json
- 15+ security tools
- Installation commands
- Usage patterns
- CI/CD integration examples
- Output format specifications
Example Queries
User: "How do I scan for secrets in CI?"
You: Look up gitleaks in tools-index.json
User: "What's the build phase?"
You: Look up build in pipeline-phases-index.json
User: "Terraform security scanning?"
You: Look up tfsec or checkov in tools-index.json
User: "CWE-798 prevention?"
You: Search for CWE-798 in phases, return secret detection tools
External Resources
1---
2name: devsecops-lookup
3description: Looks up OWASP DevSecOps Guideline phases, security tools, and pipeline checks. Returns tool configurations, CWE mappings, and integration patterns for CI/CD security. Use when user asks about "DevSecOps", "SAST", "DAST", "SCA", "container security", "IaC security", "secret detection", "gitleaks", "semgrep", "trivy", "pipeline security", "シークレット検出", "静的解析", "動的解析", "コンテナセキュリティ", "セキュリティゲート".
4metadata:
5 source: https://skillmd.com/skills/aibot88/devsecops-lookup
6---
7
8# DevSecOps Guideline Lookup
9
10Reference for OWASP DevSecOps Guideline phases, tools, and security checks.
11
12## Pipeline Phases
13
14| Phase | Activity | Key Tools |
15|-------|----------|-----------|
16| Develop | Pre-commit checks, Secret detection | Gitleaks, TruffleHog, pre-commit |
17| Build | SAST, SCA, Container, IaC | Semgrep, Trivy, Hadolint, tfsec |
18| Test | DAST, API Security, IAST | OWASP ZAP, Nuclei, Postman |
19| Deploy | Security Gates, Config validation | Policy-as-code, Admission controllers |
20| Operate | Monitoring, Vulnerability management | CNAPP, SIEM, Pentesting |
21
22## Lookup Workflow
23
241. **Identify the Query Type**:
25 - Pipeline phase (develop, build, test, deploy, operate)
26 - Tool name (gitleaks, semgrep, trivy, etc.)
27 - Security activity (SAST, SCA, DAST, etc.)
28 - CWE reference
29
302. **Search the Indexes**:
31 ```bash
32 # Phase lookup
33 cat ${CLAUDE_PLUGIN_ROOT}/skills/devsecops-lookup/pipeline-phases-index.json | jq '.phases["build"]'
34
35 # Tool lookup
36 cat ${CLAUDE_PLUGIN_ROOT}/skills/devsecops-lookup/tools-index.json | jq '.tools["semgrep"]'
37
38 # Search by keyword
39 cat ${CLAUDE_PLUGIN_ROOT}/skills/devsecops-lookup/tools-index.json | jq '[.tools | to_entries[] | select(.value.keywords | map(ascii_downcase) | any(contains("sast")))]'
40
41 # CWE to phase mapping
42 cat ${CLAUDE_PLUGIN_ROOT}/skills/devsecops-lookup/pipeline-phases-index.json | jq '[.phases | to_entries[] | select(.value.cwes | any(contains("CWE-798")))]'
43 ```
44
453. **Return Results** with:
46 - What it does (summary)
47 - Installation command
48 - Usage example
49 - CI/CD integration pattern
50 - Official references
51
52## Response Format
53
54```markdown
55### [Tool/Activity Name]
56
57**Phase**: [develop|build|test|deploy|operate]
58**Category**: [secret-detection|sast|sca|container|iac|dast|misconfig]
59
60**What It Does**:
61[1-2 sentence summary]
62
63**Installation**:
64\`\`\`bash
65[install command]
66\`\`\`
67
68**Basic Usage**:
69\`\`\`bash
70[usage command]
71\`\`\`
72
73**CI/CD Integration** (GitHub Actions):
74\`\`\`yaml
75[workflow snippet]
76\`\`\`
77
78**CWE Coverage**: [list of CWEs]
79
80**References**:
81- [Tool URL]
82- [OWASP DevSecOps Guideline URL]
83```
84
85## Quick Reference: Tools by Phase
86
87### Develop (Pre-commit)
88| Tool | Purpose | Install |
89|------|---------|---------|
90| Gitleaks | Secret detection | `brew install gitleaks` |
91| pre-commit | Hook management | `pip install pre-commit` |
92| detect-secrets | Secret patterns | `pip install detect-secrets` |
93
94### Build (CI)
95| Tool | Purpose | Install |
96|------|---------|---------|
97| Semgrep | SAST | `pip install semgrep` |
98| Trivy | SCA + Container | `brew install trivy` |
99| Hadolint | Dockerfile lint | `brew install hadolint` |
100| tfsec | Terraform security | `brew install tfsec` |
101| Checkov | IaC security | `pip install checkov` |
102
103### Test (CD/Staging)
104| Tool | Purpose | Install |
105|------|---------|---------|
106| OWASP ZAP | DAST | Docker |
107| Nuclei | Vulnerability scanner | `go install nuclei` |
108
109## Index Coverage
110
111### pipeline-phases-index.json
112- All DevSecOps pipeline phases
113- Activities per phase
114- Recommended tools
115- CWE mappings
116- OWASP DevSecOps Guideline references
117
118### tools-index.json
119- 15+ security tools
120- Installation commands
121- Usage patterns
122- CI/CD integration examples
123- Output format specifications
124
125## Example Queries
126
127**User**: "How do I scan for secrets in CI?"
128**You**: Look up `gitleaks` in tools-index.json
129
130**User**: "What's the build phase?"
131**You**: Look up `build` in pipeline-phases-index.json
132
133**User**: "Terraform security scanning?"
134**You**: Look up `tfsec` or `checkov` in tools-index.json
135
136**User**: "CWE-798 prevention?"
137**You**: Search for CWE-798 in phases, return secret detection tools
138
139## External Resources
140
141- [OWASP DevSecOps Guideline](https://owasp.org/www-project-devsecops-guideline/)
142- [OWASP DevSecOps Guideline (Japanese)](https://coky-t.gitbook.io/owasp-devsecops-guideline-ja/)
143- [CWE/SANS Top 25](https://cwe.mitre.org/top25/)
144- [NIST SSDF](https://csrc.nist.gov/Projects/ssdf)