mindersec / minder

Software Supply Chain Security Platform
https://minder-docs.stacklok.dev/
Apache License 2.0
295 stars 43 forks source link

Implement REST datasource driver #5009

Closed JAORMX closed 1 week ago

JAORMX commented 1 week ago

Summary

This adds an initial implementation of the REST datasource driver. This allows the user to register multiple REST endpoints to call a data soruce and thus interact with it.

This initial implementation left several TODO items which need to be addressed before unleashing the implementation.

Change Type

Mark the type of change your PR introduces:

Testing

Outline how the changes were tested, including steps to reproduce and any relevant configurations. Attach screenshots if helpful.

Review Checklist:

coveralls commented 1 week ago

Coverage Status

coverage: 54.624% (+0.03%) from 54.599% when pulling 549f6f48f3f78648171a41d1c9414fac1c20927c on JAORMX:datasource-rest-impl into a81830b52e2b12ff13a0e87ec1a87ce80e2d993e on mindersec:main.

JAORMX commented 1 week ago

The security scan failure is a false positive. I don't even know where it's getting that file from :confused:

JAORMX commented 1 week ago

We're hitting https://github.com/aquasecurity/trivy/discussions/7970