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 a simple template search method #83

Closed
uplateandonline opened this Issue Aug 13, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@uplateandonline
Contributor

uplateandonline commented Aug 13, 2018

Add a simple template search method

Request Type

Feature Request

Work Environment

Question Answer
OS version (server) Ubuntu
OS version (client) Ubuntu
TheHive4py version / git hash be80a7d

Problem Description

It would be nice if there was the ability search for templates, as in:

+    def find_case_templates(self, **attributes):
+        """
+            :return: list of case templates
+            :rtype: json
+        """
+        return self.__find_rows("/api/case/template/_search", **attributes)
+

Steps to Reproduce

N/A

Possible Solutions

See above

Complementary information

I'll raise a PR unless there are any issues ..

uplateandonline added a commit to uplateandonline/TheHive4py that referenced this issue Aug 13, 2018

@nadouani nadouani added this to the 1.5.0 milestone Sep 24, 2018

nadouani added a commit that referenced this issue Sep 25, 2018

Feature/promote alert to case (#86)
* Adding ability to search for templates, see #83

* Tidying up unused imports and removing dev API key

* Feature - adding ability to promote alert to case

* Tidying up the sample

nadouani added a commit that referenced this issue Sep 25, 2018

Feature/search templates (#84)
* Adding ability to search for templates, see #83

* Tidying up unused imports and removing dev API key

@nadouani nadouani closed this Sep 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment