Skip to content

fix: surface failed compose service scan information - #161

Open
Dharshukutti wants to merge 1 commit into
OWASP:mainfrom
Dharshukutti:fix/compose-scan-failures
Open

fix: surface failed compose service scan information#161
Dharshukutti wants to merge 1 commit into
OWASP:mainfrom
Dharshukutti:fix/compose-scan-failures

Conversation

@Dharshukutti

Copy link
Copy Markdown

Summary

This PR improves compose scan visibility by tracking failed service scans and returning failed service details in the compose scan results.

Changes

  • Added failed_services tracking in ComposeOrchestrator.run_full_scan.
  • Recorded Dockerfile scan failures, image scan failures, and exceptions.
  • Included failed_services in the returned results dictionary.
  • Added a regression test verifying failed_services is empty for successful offline scans.

Testing

  • python -m py_compile docksec/compose_scanner.py
  • python -m pytest tests/test_compose_scanner.py -v

@github-actions github-actions Bot added core Changes to core scanning logic tests Changes to the test suite labels Aug 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Changes to core scanning logic tests Changes to the test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant