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

Date is now a required attribute for generating an Alert #1238

Closed
crackytsi opened this issue Mar 3, 2020 · 0 comments
Closed

Date is now a required attribute for generating an Alert #1238

crackytsi opened this issue Mar 3, 2020 · 0 comments
Assignees
Labels
bug TheHive4 TheHive4 related issues
Milestone

Comments

@crackytsi
Copy link

crackytsi commented Mar 3, 2020

Bug / Feature Request

Work Environment

Question Answer
OS version (server) Debian
OS version (client) 10
TheHive version / git hash 4 RC1
Package Type DEB

Problem Description

Creation of Alerts now requires to set the attribute "date".
In former TheHive Versions this was if not provided automatically set to the current date/time.

Steps to Reproduce

  1. Try to create an Alert, e.g
    curl -H 'Authorization: Bearer [key]' http://[ip]:9000/api/alert -d '{"title": "Title", "description": "description", "type": "type", "source": "instance1", "sourceRef": "test" -H 'Content-Type: application/json' | json_pp
  2. Try the same as in step one, but add date

Possible Solutions

Add date as default is not provided to an alert

@crackytsi crackytsi added TheHive4 TheHive4 related issues bug labels Mar 3, 2020
@crackytsi crackytsi changed the title Creation of Alerts impossible, because of missing permissions Date is now a required attribute for generating an Alert Mar 3, 2020
@To-om To-om self-assigned this Mar 3, 2020
To-om added a commit that referenced this issue Mar 3, 2020
@To-om To-om closed this as completed Mar 3, 2020
@To-om To-om added this to the 4.0.0-RC2 milestone Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug TheHive4 TheHive4 related issues
Projects
None yet
Development

No branches or pull requests

2 participants