v0.0.3
Changelog: v0.0.2 β v0.0.3
π New Features
Finding Status Tracking (closes #38)
- Duplicate finding detection: Findings are now tracked with a status of
ACTIVE,INACTIVE, orDUPLICATEvia the DefectDojo API. - New
Findingdomain model (domains/models/finding.go) with deduplication logic and status fields. - All scanners (Grype, KICS, OpenGrep) now produce findings with deduplication keys.
- The sync feature now compares findings with DefectDojo and correctly marks duplicates instead of re-creating them.
- Updated DefectDojo connector: new DTO fields, API methods for fetching active/duplicate findings, and full test coverage.
- Security gate now evaluates finding counts per status (active, duplicate, inactive).
π§ Improvements & Fixes
CI/Release Pipeline
secrets: inheritadded to bothci.ymlandrelease.ymlworkflow calls so DefectDojo credentials (DD_URL,DD_ACCESS_TOKEN) are properly passed to the security job.- Security workflow now passes
DD_URL,DD_ACCESS_TOKEN,SG_VERSION, andBRANCHas environment variables (fixing potential secret interpolation in shell commands). - ScopeGuardian now runs with
--syncand--threshold "critical=1,high=1,medium=1,low=1"flags in CI. BRANCHnow correctly usesgithub.head_ref || github.ref_nameto support both PRs and push events.
Security Config
- Removed
exclude_queriesfor KICS (fd54f200 query no longer suppressed). - Removed
exclude_rulefor OpenGrep (go.lang.security.audit.dangerous-exec-command).
π¦ Files Changed
36 files changed, +1,851 / β191 lines
| Area | Files |
|---|---|
| Domain model | domains/models/finding.go, finding_test.go |
| Scanners | grype, kics, opengrep services & tests |
| DefectDojo connector | const.go, dto.go, service.go, service_mock.go, tests |
| Sync feature | sync.go, sync_test.go, const.go |
| Security gate | security_gate.go, security_gate_test.go |
| Parser | parser.go, dto.go, const.go, parser_test.go |
| Engine / Main | engine.go, main.go |
| Display | display.go, display_test.go |
| CI/Config | .github/workflows/ci.yml, release.yml, security.yml, security-config.toml |
| Documentation | README.md |