-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major
-
Component/s: anchore-container-scanner-plugin
-
None
-
Environment:Jenkins 2.401.3
After upgrading Jenkins Anchore plugin to either 1.1.0 or 1.1.1 and using API v2 we are observing that when running a scan with multiple images containing issues, as images get evaluated the number of actions keep increasing cumulatively instead of showing individual images actual number of actions.
Sample use case scanning 3 simple (older) images available in Docker Hub:
node:17.5-slim httpd:2.2.31-alpine alpine:3.18.0
The report generated with plugin version 1.0.25 shows me this:
| Repo Tag | Stop Actions | Warn Actions | Go Actions | Final Action |
|---|---|---|---|---|
| node:17.5-slim | 46 | 21 | 1 | STOP |
| httpd:2.2.31-alpine | 73 | 63 | 1 | STOP |
| alpine:3.18.0 | 5 | 10 | 1 | STOP |
When using the updated plugin version 1.1.1 shows me this:
| Repo Tag | Stop Actions | Warn Actions | Go Actions | Final Action |
|---|---|---|---|---|
| node:17.5-slim | 46 | 21 | 1 | STOP |
| httpd:2.2.31-alpine | 119 | 84 | 2 | STOP |
| alpine:3.18.0 | 124 | 94 | 3 | STOP |