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

Create enumerations for enumerated data #161

Closed
5 tasks done
nadouani opened this issue Jun 4, 2020 · 0 comments
Closed
5 tasks done

Create enumerations for enumerated data #161

nadouani opened this issue Jun 4, 2020 · 0 comments
Assignees
Milestone

Comments

@nadouani
Copy link
Contributor

nadouani commented Jun 4, 2020

Request Type

Feature Request

Problem Description

TheHive4py relies on many enumeration but doesn't provide enum objects for that, to ease the development and prevent dev errors.

These enumerations can be used when describing models or when creating queries using thehive4py.query methods.

Example:

Instead of using

Eq('tlp', 2)

we should be able to use

Eq('tlp', TLP.AMBER)
  • TLP
  • PAP
  • Severity
  • Case status
  • Task status
@nadouani nadouani added this to the 1.8.0 milestone Jun 4, 2020
@nadouani nadouani self-assigned this Jun 4, 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