Skip to content

Commit

Permalink
[UPD] Updated readme and versions
Browse files Browse the repository at this point in the history
  • Loading branch information
whikernel committed May 16, 2022
1 parent dfb4433 commit 1df9e4e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
It relies exclusively on the API, which means output of the methods are the same as specified in the API reference.

## Versions
The Python client version follows the API versions (until the patch level). Meaning for API v1.0.1, one need to install `dfir_iris_client-1.0.1`.
The Python client version follows the API versions (until the patch level). Meaning for API v1.0.1, one need to install `dfir_iris_client-1.0.1`.
Please refer to the [documentation](https://dfir-iris.github.io/operations/api/#references) to check which version applies to your IRIS instance.

## Install
IRIS Client is now part of PyPI. You can simply install it with :
Expand Down
15 changes: 9 additions & 6 deletions dfir_iris_client/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,12 +453,15 @@ def trigger_manual_hook(self, hook_ui_name: str, module_name: str, targets: list
module and processed asynchronously. The server replies immediately after queuing the task. Success feedback
from this endpoint does not implies the hook processing was successful.
:param hook_ui_name: Hook name, as defined by the module on the UI
:param module_name: Module associated with the hook name
:param targets: List of IDs of objects to be processed
:param target_type: Target type of targets
:param cid: Case ID
:return: ApiResponse object
Args:
hook_ui_name: Hook name, as defined by the module on the UI
module_name: Module associated with the hook name
targets: List of IDs of objects to be processed
target_type: Target type of targets
cid: Case ID
Returns:
ApiResponse object
"""

cid = self._assert_cid(cid)
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

setuptools.setup(
name='dfir_iris_client',
version='1.0.2',
version='1.0.3',
packages=['dfir_iris_client', 'dfir_iris_client.helper', 'dfir_iris_client.tests'],
author="DFIR-IRIS",
author_email="[email protected]",
Expand All @@ -44,6 +44,7 @@
],
install_requires=[
'requests',
'packaging'
'packaging',
'deprecated'
]
)

0 comments on commit 1df9e4e

Please sign in to comment.