Commit Graph
4 Commits
Author SHA1 Message Date
Andoni A. 18bac5a890 fix: address PR review comments for Image provider
- Extract _is_registry_url() into ImageProvider to deduplicate logic
- Restore relative URL handling in _next_page_url for path-only Link headers
- Yield empty findings on generic error in scan_per_image
- Add credential validation to ImageProviderSecret serializer
2026-02-23 08:04:51 +01:00
Andoni A. b13c4fa1b2 fix(sdk): handle registry URL in Image provider connection test
- Detect registry URLs (e.g. docker.io/namespace) vs image references
- Use list_repositories for registry URLs, list_tags for images
- Add test for registry URL connection test
2026-02-20 08:24:59 +01:00
Andoni A. 57ed5a701d fix(sdk): use registry HTTP check for Image provider connection test
- Replace Trivy subprocess with registry adapter for connection testing
- Avoid false auth failures caused by Trivy DB download errors
- Update tests to mock registry adapters instead of subprocess
2026-02-19 18:24:37 +01:00
Andoni A. 2fa4faa7f6 feat: add Image provider support with Trivy-based container scanning
- Add Image provider SDK with registry adapters (Docker Hub, OCI)
- Integrate Image scan path in Scan class alongside IaC provider
- Add CheckReportImage model and Finding output block for image results
- Add IMAGE enum, UID validation, and migration to API models
- Skip compliance and attack surface tasks for Image/IaC providers
- Bump Trivy to v0.69.1 and allow hyphenated CheckIDs for image provider
2026-02-19 15:56:47 +01:00