Introduce Scanner Interface for Extensible Scanning Capabilities #8574
knqyf263
started this conversation in
Development
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Background
Currently, Trivy has four built-in scanners:
This issue proposes introducing a unified Scanner interface that all scanners must implement to make the scanner system more extensible and maintainable.
Proposal
Scanner Interface
Scanner Registration System
Scanners will be managed through a registration system, similar to the existing analyzer system:
Benefits
Example Usage
The CLI flag
--scanners vuln,misconfigwill internally translate to:Output Implementation
Table writer implementation example:
Beta Was this translation helpful? Give feedback.
All reactions