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

[FR] GraphQL: IOCS #451

Open
c8y3 opened this issue Apr 3, 2024 · 0 comments
Open

[FR] GraphQL: IOCS #451

c8y3 opened this issue Apr 3, 2024 · 0 comments
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 IOCS:

  • add query ioc to retrieve an IOC by its ID
  • add field iocs on the graphql CaseObject to retrieve the IOCs associated to a case
  • add mutation iocCreate to create an IOC
  • add mutation iocDelete to delete an IOC
  • add mutation iocUpdate to update an IOC

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 the field iocs on CaseObject, the filters available to the table of iocs in the case 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
@c8y3 c8y3 self-assigned this Apr 3, 2024
@c8y3 c8y3 mentioned this issue Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant