clair icon indicating copy to clipboard operation
clair copied to clipboard

Accept OCI manifests for indexing

Open hdonnay opened this issue 5 years ago • 4 comments

This seemed simple enough, haven't check if there are other places where we want to accept other inputs.

Still need to update the openapi reference.

hdonnay avatar Oct 12 '20 17:10 hdonnay

This is cool, and I like the idea. Only question is how do we want to communicate this to user? Do we simply say "make a json post with this mime type and we'll assume you are sending an oci manifest"? whats your thoughts here.

ldelossa avatar Oct 19 '20 22:10 ldelossa

Yeah, I think we'd document the acceptable input types, and control them via the content-type header. The default would be the current state of things (assume it's our manifest format).

hdonnay avatar Oct 20 '20 18:10 hdonnay

Cool, as a caveat we will have to reject any oci manifests where either do not contain a content descriptor, or contain a content descriptor without urls.

ldelossa avatar Oct 23 '20 16:10 ldelossa

Any indications on when this will see progress again? Merging this will greatly improve integrations.

mieliespoor avatar Jan 03 '22 13:01 mieliespoor