Skip to content

[FR] GraphQL: cases #452

New issue

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

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

Already on GitHub? # to your account

Closed
c8y3 opened this issue Apr 3, 2024 · 0 comments · Fixed by #483
Closed

[FR] GraphQL: cases #452

c8y3 opened this issue Apr 3, 2024 · 0 comments · Fixed by #483
Assignees
Labels
enhancement New feature or request

Comments

@c8y3
Copy link
Contributor

c8y3 commented Apr 3, 2024

Enrich the graphQL API with queries and mutations that allow the manipulation of cases:

  • add query case to retrieve an case by its identifier
  • add query cases to retrieve a filtered list of cases
  • add mutation caseCreate to create a case
  • add mutation caseDelete to delete a case
  • add mutation caseUpdate to update a case

For the required/optional fields of mutations, mimic the existing REST API (https://docs.dfir-iris.org/latest/_static/iris_api_reference_v2.0.4.html):

For query cases, the filters available in section overview should first be implemented. Then see whether the remaining fields can be filtered as well. The return type should be a paginated list (decide whether to follow the relay standard for the pagination results or not)

Do not forget to handle permissions correctly.

@c8y3 c8y3 added the enhancement New feature or request label Apr 3, 2024
@Elise17 Elise17 mentioned this issue Apr 9, 2024
@Elise17 Elise17 linked a pull request Jun 18, 2024 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants