Loading
feat: add Tenable scanner component
Closes #273
Changes
- Add a reusable Tenable Cloud Security scanner component.
- Select infrastructure-as-code scanning when
imageis empty and container-image scanning when it is set. - Support policy, severity, CVSS, exclusion, output, pipeline, registry, and runner controls.
- Publish JSON and JUnit reports from
.tenable/. - Keep Tenable and optional registry/module credentials in masked runtime variables.
- Document setup and both scan modes with task-first examples.
Acceptance criteria
- The scanner image uses an explicit upstream release and immutable multi-architecture digest.
- Empty
imageselects infrastructure-as-code scanning; a configuredimageselects container scanning. -
TENABLE_API_TOKENand optional private registry/module credentials are never command-line arguments. - Mock-backed jobs verify both scanner invocations and report publication without a real Tenable key.
- Documentation covers prerequisites, both scan modes, reports, and all inputs.
- Exact-head root and affected-component pipelines pass.
Validation
- Root: pipeline 2845075936 passed all 39 jobs for
7747d48d4f69d29b6ce72e52ef1c82f7cb2e2af5. - Components: lint-catalog, lint-pipeline, and tenable-scanner passed.
- Local: Tenable template contract, ShellCheck, Markdown lint, diff check, and GitLab CI lint passed.
Edited by Eugene Harold Krabs