원클릭으로
security-review
Comprehensive security review of the Terraform provider codebase using gosec, trunk, osv-scanner, and trivy.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Comprehensive security review of the Terraform provider codebase using gosec, trunk, osv-scanner, and trivy.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Accountability for identifying deprecated Lightdash API usage in the provider by comparing code patterns against the official OpenAPI specification. Use when tasked to audit the codebase for technical debt or outdated API dependencies.
Guide the execution of Lightdash Terraform provider acceptance tests, ensuring correct environment setup and targeted test execution.
Run formatting, linters, unit tests, and build checks, then fix violations.
Implement verified Lightdash API clients with documentation research and live schema verification.
Research and investigate Lightdash API endpoints to understand request/response schemas and behavior.
Implement Terraform Resources and Data Sources in `internal/provider` with comprehensive testing.
| name | security-review |
| description | Comprehensive security review of the Terraform provider codebase using gosec, trunk, osv-scanner, and trivy. |
This skill provides a systematic workflow for auditing the security of the Terraform Provider for Lightdash. It focuses on Go source code, dependencies, and secrets.
Ensure the following tools are installed and available in the PATH:
gosec (Go Security Checker)trunk (Integrated linting and security platform)osv-scanner (Open Source Vulnerability Scanner)trivy (Vulnerability and secret scanner)Run gosec to identify common security pitfalls in Go code.
gosec ./internal/...
Run security-scoped checks using trunk. This includes tools like Semgrep and Gitleaks. We explicitly exclude checkov as per project preference.
trunk check --all --scope security --exclude checkov
Use osv-scanner to check for vulnerabilities in Go dependencies.
osv-scanner scan source -r .
Use trivy to scan the filesystem for vulnerabilities, secrets, and misconfigurations (excluding Checkov-style IaC scans if redundant).
trivy fs . --scanners vuln,secret,config
After running these tools, synthesize the findings into a report with the following sections:
For each significant finding, provide:
Document any findings that are determined to be false positives and why.
Prioritize fixes based on severity and impact.
Always run these checks before major releases or after significant architectural changes.