Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema validation for clair report #1199

Open
zregvart opened this issue Oct 18, 2024 · 2 comments
Open

Schema validation for clair report #1199

zregvart opened this issue Oct 18, 2024 · 2 comments

Comments

@zregvart
Copy link
Member

Extracted from #1180 (comment):

We should probably have some data validation on the report itself. Maybe as a follow up?
While this is possible and not a lot of work, the schema that is currently available at https://github.com/quay/clair/blob/main/openapi.yaml (revision 0a3a4611964014c0c9846d8c79acdd062af9c17d) does not successfully validate the generated report.

The packages.*.source.source is declared as string in the schema, but it is an object in the report. Something to followup with the Quay Clair team.

@zregvart
Copy link
Member Author

Preliminary work here, the report is failing the schema validation as stated above.

@zregvart
Copy link
Member Author

Raised an issue with Clair: quay/clair#2161

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant