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

[Bug] The query "getObservable" doesn't work for alert observables #1691

Closed
To-om opened this issue Nov 26, 2020 · 0 comments
Closed

[Bug] The query "getObservable" doesn't work for alert observables #1691

To-om opened this issue Nov 26, 2020 · 0 comments
Assignees
Labels
bug TheHive4 TheHive4 related issues
Milestone

Comments

@To-om
Copy link
Contributor

To-om commented Nov 26, 2020

Request Type

Bug

Work Environment

TheHive 4.0.2

Problem Description

The query POST /api/v1/query {"query": [{"_name": "getObservable", "idOrName", "..."}]} doesn't work for alert observables because it assumes that observable is linked to a case in order to check if the observable is visible for the current user.

@To-om To-om added bug TheHive4 TheHive4 related issues labels Nov 26, 2020
@To-om To-om added this to the 4.0.3 milestone Nov 26, 2020
@To-om To-om self-assigned this Nov 26, 2020
@To-om To-om closed this as completed Nov 26, 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

1 participant