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

Precise specification of all three REST API endpoints to retrieve rule hits by Insights Operator #1739

Open
tisnik opened this issue Apr 28, 2023 · 0 comments
Labels
task Task

Comments

@tisnik
Copy link
Collaborator

tisnik commented Apr 28, 2023

Three new endpoints will be needed:

  1. Check status of given x-rh-insights-request-id (let it be processed/unknown for this moment - but I can imagine it will be done in a much better way later)
  2. List of all rule hits (all identified by x-rh-insights-request-id) for given cluster (the list should also contain timestamp)
  3. Retrieve simplified results (see below) for given x-rh-insights-request-id

Please note that we’ll still be processing Bearer token, org_id/account_number etc. as usual, so we’ll be able to say “hey, this cluster does not belong to your company, go away”.

@tisnik tisnik added the task Task label Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task Task
Projects
None yet
Development

No branches or pull requests

1 participant