Closed mayaCostantini closed 2 years ago
/priority critical-urgent /sig stack-guidance /assign
Is this related to some issue? Labels that are sent to the backend, in this case, should be:
{
"allow-cve": "PYSEC-2021-94,PYSEC-2021-2"
}
Backend understands that allow-cve
is a comma-separated list of CVEs to allow.
EDIT: I see your point, CLI option accepts ,
so it is not properly handled 👍🏻
Bug description
The logic to parse
--labels
should take into account having a list of values specified for a same label key, as in--labels allow-cve=PYSEC-2021-94,PYSEC-2021-2
.Steps to Reproduce
Run thamos with a list of values for a same label (see example above).