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

Submitting the PAP level of data is not possible #21

Closed
mback2k opened this issue Jun 8, 2020 · 3 comments
Closed

Submitting the PAP level of data is not possible #21

mback2k opened this issue Jun 8, 2020 · 3 comments
Labels
Milestone

Comments

@mback2k
Copy link

mback2k commented Jun 8, 2020

Since instead of passing the content of observable as post, the post dictionary is recreated only with the dataType and tlp level, it is currently not possible to submit the PAP level to the job:

def run_by_id(self, analyzer_id, observable, **kwargs) -> Job:
tlp = observable.get('tlp', 2)
data_type = observable.get('dataType', None)
post = {
'dataType': data_type,
'tlp': tlp
}

@mback2k
Copy link
Author

mback2k commented Jun 19, 2020

Will be fixed once #18 is released.

@nadouani nadouani added this to the 2.1.0 milestone Jul 14, 2020
@mback2k
Copy link
Author

mback2k commented Oct 8, 2020

@nadouani Any ETA for a new release? I am currently using a monkey-patched version to fix this issue.

@nadouani
Copy link
Contributor

Closing this issue using #18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants