Purpose:
To play around with clair
api and see what I can get from it.
Check with ./check.sh
Copy .env.example
to .env
Use jwt.io.
Header:
{
"alg": "HS256",
"typ": "JWT"
}
Payload:
{
"iss": "quay"
}
Verify Signature:
- Put your clair secret
- Click the checkbox "secret base64 encoded"
Store the encoded JWT token in .env
JWT_TOKEN=...
Example:
./get_notification.sh f917505f-4690-4706-88cf-0fe356688515
Example:
./get_vulnerability_report.sh fd3b94f4a63a9651ba186b8813bda39503dd1ff558b4a9d3fefaa62f785eb71b