-
Notifications
You must be signed in to change notification settings - Fork 164
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
determine status of /api/v1/index/retrieve endpoint before Rekor 1.0 release #1021
Comments
I don't have a strong opinion, am good with either option. Slightly leaning towards removing it, as it might make it easier to implement the long term design later on and doesn't come with any sort of time pressure to do it quickly post 1.0 |
I'm hesitant to entirely remove search before GA because there is client reliance on the search capabilities. If we want to at least separate search into its own repo, we could remove it from the repo, operate it as its own "experimental" lightweight service, and best-effort push entries from Rekor to the service (effectively having the same guarantees as now, but with the ability to iterate). Search could be served on the same API endpoint to not break clients. Long term, I am in agreement that search should be removed from Rekor and maintained separately. Sigstore should maintain its own search cluster with a minimal set of indices in my opinion, and we should encourage the community to operate more complex search capabilities in their own instances. I'd also like to make search indices verifiable. Implementation details to chat about later: I think it can be implemented either with pub/sub to entirely decouple it from Rekor, or having log monitors also maintain search indices by requesting all entries between two checkpoints that have been verified for consistency. |
I like having log monitors back the searches, they can provide more guarantees than pub/sub would be able to. But I also like the idea of having pub/sub support for other use cases! |
Shall we go with marking it experimental for now then? |
it seems like we have consensus to mark as experimental. |
Description
The current implementation of searching the log index is still "proof-of-concept" quality:
Proposal
I believe the right long term design likely involves emitting an event from Rekor to an external pub/sub system and building an index based on that event, versus having a tight coupling within the Rekor runtime.
I would propose that we either:
experimental
and look to re-implement this capability in a future release (ideally quickly post 1.0); the experimental flag would mean that there are no security or consistency guarantees from this API endpoint, and that we reserve the right to change/remove this endpoint as deemed appropriate in the future./api/v1/index/retrieve
endpoint completely before Rekor 1.0@asraa @priyawadhwa @dlorenc @SantiagoTorres @lukehinds @var-sdk @haydentherapper
The text was updated successfully, but these errors were encountered: