quay / clair

Vulnerability Static Analysis for Containers

Home Page:https://quay.github.io/clair/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

clairctl 401 error

JagadeeshRam opened this issue · comments

Description of Problem / Feature Request

I was getting 401 error for this latest issues please tell how to avoid it

Expected Outcome

Vulnerability report

Actual Outcome

image

Environment

  • Clair version/image:4.3.5

The latest version of local-dev by default has PSK authentication https://github.com/quay/clair/blob/main/local-dev/clair/config.yaml#L13. I suspect that you are coming across this. You can pass the config to clairctl and it should use the same PSK to authenticate calls:

   --config value, -c value     clair configuration file (default: "config.yaml") [$CLAIR_CONF]

Thank You It was worked