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

/api/alert/{}/createCase does not use caseTemplate #929

Closed
zpriddy opened this issue Mar 15, 2019 · 3 comments

Comments

@zpriddy
Copy link
Contributor

commented Mar 15, 2019

Request Type

Bug

Work Environment

Question Answer
TheHive version / git hash 3.3.0-RC6

Problem Description

/api/alert/{}/createCase does not use caseTemplate from the alert and creates empty case

@bangejsans

This comment has been minimized.

Copy link

commented May 8, 2019

Is there a workaround for this? It's hindering a lot of automation we want to use in our SOC using thehivehooks.

@nadouani

This comment has been minimized.

Copy link
Contributor

commented Jun 13, 2019

I confirm that the /api/alert/{}/createCase doesn't take into account the Alert.caseTemplate field. We will fix this

@nadouani

This comment has been minimized.

Copy link
Contributor

commented Jun 13, 2019

Actually, the API expects a JSON POST defining the caseTemplate which is something that the UI support, but not TheHive4py. The REST API supports it BTW just add a request body {"caseTemplate": "XXX"} to the API call

To-om added a commit that referenced this issue Jul 2, 2019
@To-om To-om closed this Jul 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.