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

Add delete_case_observable method to api #189

Merged
merged 2 commits into from
Oct 27, 2020
Merged

Conversation

p-tekh
Copy link

@p-tekh p-tekh commented Oct 20, 2020

No description provided.

try:
return requests.delete(req, proxies=self.proxies, auth=self.auth, verify=self.cert)
except requests.exceptions.RequestException as e:
raise CaseException("Observable deletion error: {}".format(e))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello could you please raise a CaseObservableException instead?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, of course!

@nadouani
Copy link
Contributor

Hello @p-tekh Thanks for the PR and its doc.

@nadouani nadouani added this to the 1.8.0 milestone Oct 20, 2020
@nadouani nadouani merged commit 2ec8319 into TheHive-Project:1.x Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants