AWS Inspector adds plugin system for custom SBOM generation
AWS Security Blog details a new plugin system for the Amazon Inspector SBOM Generator (inspector-sbomgen). This feature allows builders to create custom package collectors in Lua, enabling immediate inventory of new or niche software ecosystems without waiting for official releases. The system is designed for rapid prototyping and integrates seamlessly with Amazon Inspector for vulnerability scanning.
- →Plugin system for inspector-sbomgen
- →Rapid prototyping and development loop
- →Plugin architecture and safety
- →Getting started with plugin development
- →Integration with Amazon Inspector for scanning
Notes (5) ›
- Plugin system for inspector-sbomgen
Amazon Inspector's SBOM Generator (inspector-sbomgen) now supports a plugin system, allowing users to write custom package collectors in Lua. This enables direct inventory of new, niche, or proprietary software ecosystems without modifying the core tool or waiting for official releases. Plugins are loaded at runtime and require no compilation, facilitating rapid development and integration with Amazon Inspector for vulnerability scanning.
- Rapid prototyping and development loop
The plugin system is designed for quick prototyping, with plugins written in Lua that require no Go toolchain or compilation. A built-in test harness allows for immediate iteration and results, creating a tight development loop. The system abstracts artifact-type differences, allowing detection logic to be written once and applied across various artifact types.
- Plugin architecture and safety
Inspector-sbomgen plugins operate on a two-step pipeline: discovery and collection. Plugins are decoupled via an event bus, allowing a single discovery plugin to feed multiple collection plugins. The system also includes a plugin safety model to ensure secure and predictable behavior.
- Getting started with plugin development
A command-line tool, `sbomgen plugin new`, simplifies the creation of a new plugin workspace. The generated scaffold includes example discovery and collection plugins, unit tests, and development documentation, designed to be easily understood by both humans and AI coding assistants.
- Integration with Amazon Inspector for scanning
Components collected by plugins are treated as first-class SBOM components and are compatible with Amazon Inspector. By adding the `--scan-sbom` flag, users can submit SBOMs generated with plugins to Amazon Inspector for vulnerability analysis, provided the components have associated advisories.
https://aws.amazon.com/blogs/security/extend-amazon-inspector-sbom-generator-with-plugins/
Related releases
- Terraform AWS Provider v6.60.0 Adds New Resources and Fixes Bugs Terraform AWS Provider Releases ·
- Amazon S3 enhances access denied errors with specific policy ARNs AWS What's New ·
- OpenAI Daybreak Red and Blue Cyber Defense Models Now on Amazon Bedrock AWS What's New ·
- AppFolio Transforms Data Streaming with Amazon MSK Express Brokers AWS Big Data Blog ·
- AWS IAM Role Manager Automates Service Role Setup AWS What's New ·
- Amazon Quick Integrates Microsoft Purview for Data Loss Prevention AWS What's New ·