Closed ramirezj closed 4 months ago
The changes introduce functionality for handling exemption requests within the Kolide system. This includes new tables, SQL queries, methods in the Kolide client package, and test cases for managing and querying exemption requests, as well as updates to existing registration request endpoints.
Files/Paths | Change Summaries |
---|---|
docs/coverage.md |
Updated endpoint statuses for exemption_requests and exemption_requests/{id} to :question: . |
docs/tables/kolide_exemption_request.md |
Introduced a table for tracking exemption requests with examples of SQL queries. |
kolide/client/exemption_request.go |
Added structures and methods for managing exemption requests in Kolide client. |
kolide/client/registration_requests.go |
Updated endpoints in functions GetRegistrationRequests and GetRegistrationRequestById . |
kolide/plugin.go |
Added initialization of the kolide_exemption_request table. |
kolide/table_kolide_exemption_request.go |
Added functionality for managing exemption requests, defining table structure, and list/retrieve methods. |
test/end-to-end/...kolide_exemption_request.sql |
Introduced SQL query for selecting exemption request records. |
test/end-to-end/...kolide_exemption_request_by_id.sql |
Introduced SQL query for selecting exemption requests by ID. |
test/end-to-end/...kolide_exemption_request.bash |
Added Bash script for defining test results related to exemption requests. |
test/end-to-end/...kolide_exemption_request.bats |
Added BATS test cases for querying exemption request results. |
test/end-to-end/...kolide_exemption_request_by_id.bats |
Added BATS test cases for querying exemption requests by ID with expected result validations. |
N/A
Objective | Addressed | Explanation |
---|---|---|
GET /exemption_requests/ (from issue #36) |
❓ | Endpoint statuses in docs/coverage.md marked as :question: instead of implementing the GET /exemption_requests functionality. Clarification needed. |
In Kolide's realm of code so tight,
Exemption requests now see the light,
New tables, tests, and methods appear,
To manage devices, make it clear,
A hop ahead, with data bright!🎉🐰
[!TIP]
Early access features
- OpenAI `gpt-4o` model for reviews and chat. Note: - You can disable early access features from the CodeRabbit UI or by setting `early_access: false` in the CodeRabbit configuration file. - Please join our [Discord Community](https://discord.com/invite/GsXnASn26c) to provide feedback and report issues. - OSS projects are always opted into early access features.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description
Implement GET /exemption_requests and /exemption_requests/{id} endpoints
Related Tickets & Documents
Closes #36 , #37
Steps to Verify
Untested, insufficient data