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 support to multi tenancy #154

Closed
nadouani opened this issue May 27, 2020 · 0 comments
Closed

Add support to multi tenancy #154

nadouani opened this issue May 27, 2020 · 0 comments
Assignees
Milestone

Comments

@nadouani
Copy link
Contributor

Request Type

Feature Request

Problem Description

Multi tenancy has been introduced by TheHive 4.0 RC releases. A use can belong to several organisations, but has a single API key and login/password.

TheHive4py must allow a user to specify if needed the organisation against which the API calls should be executed:

Using API Key

api = TheHiveApi('http://127.0.0.1:9000', API_KEY, organisation=ORG_NAME)

Using login and password

api = TheHiveApi('http://127.0.0.1:9000', USERNAME, password=PASSWORD, organisation=ORG_NAME)
@nadouani nadouani added this to the 1.7.0 milestone May 27, 2020
@nadouani nadouani self-assigned this May 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant