
ojob ojob.io/sec/genSecBadge image=openaf/oaf:latest file=badge.svg reportFile=results.yaml scanOptions="--skip-dirs /xyz"
Given a container image will use scan it using trivy and generate a SVG badge summarizing the result
| Name | Description |
|---|---|
| image | The image and tag to scan |
| file | The badge SVG file to generate |
| reportFile | If specified it will store the scanning results in a YAML file |
| scanOptions | Scan options to use with ojob.io/sec/trivySummary |