You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the Aqua Harbor Scanner plugin scans a proxy cache image, it fails to send a tag value to the Aqua Scanner. This results in the Scanner using ":latest" as the tag. This results in image scan failure because there may not be a ":latest" tagged image.
Since ":latest" is appended automatically due to the missing value for tag, the scanner fails with:
Failed scanning image ext.hub.docker.com/library/node::latest: image was not found in registry
: general response handler: unexpected status code: 500, expected: 200
It seems the Adapter needs to parse the tag information from the source image data differently than it is currently doing for Proxy Cache. There is something different about how Harbor and/or this Scanner Adapter is able to handle the image tags.
The text was updated successfully, but these errors were encountered:
When the Aqua Harbor Scanner plugin scans a proxy cache image, it fails to send a tag value to the Aqua Scanner. This results in the Scanner using ":latest" as the tag. This results in image scan failure because there may not be a ":latest" tagged image.
Example :
"artifact": {
"namespace_id": 3,
"repository": "ext.hub.docker.com/library/node",
"tag": "",
"digest": "sha256:26c00e8ca7cbe467e35d4efdbe3aded834b0b7bf7512d62db4c51f6b86466e1c",
"mime_type": "application/vnd.docker.distribution.manifest.v2+json"
Since ":latest" is appended automatically due to the missing value for tag, the scanner fails with:
Failed scanning image ext.hub.docker.com/library/node::latest: image was not found in registry
: general response handler: unexpected status code: 500, expected: 200
It seems the Adapter needs to parse the tag information from the source image data differently than it is currently doing for Proxy Cache. There is something different about how Harbor and/or this Scanner Adapter is able to handle the image tags.
The text was updated successfully, but these errors were encountered: