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

4.4.7 #233

Merged
merged 1 commit into from
Feb 8, 2024
Merged

4.4.7 #233

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## [4.4.7](https://github.com/intelowlproject/pyintelowl/releases/tag/4.4.7)
- Fixed Running Playbook without TLP set

## [4.4.6](https://github.com/intelowlproject/pyintelowl/releases/tag/4.4.6)
- Readded default TLP for analysis as TLP:CLEAR for "classic" analyses only (the ones that do not leverage a Playbook)

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import os
import sys

VERSION = "4.4.6"
VERSION = "4.4.7"
GITHUB_URL = "https://github.com/intelowlproject/pyintelowl"

sys.path.append(os.path.abspath("../"))
Expand Down
10 changes: 8 additions & 2 deletions pyintelowl/pyintelowl.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,12 @@ def send_file_analysis_playbook_request(
runtime_configuration = {}
data = {
"playbooks_requested": playbooks_requested,
"tlp": tlp,
"tags_labels": tags_labels,
}
# send this value only if populated,
# otherwise the backend would give you 400
if tlp:
data["tlp"] = tlp

if runtime_configuration:
data["runtime_configuration"] = json.dumps(runtime_configuration)
Expand Down Expand Up @@ -413,10 +416,13 @@ def send_observable_analysis_playbook_request(
data = {
"observables": [[observable_classification, observable_name]],
"playbooks_requested": playbooks_requested,
"tlp": tlp,
"tags_labels": tags_labels,
"runtime_configuration": runtime_configuration,
}
# send this value only if populated,
# otherwise the backend would give you 400
if tlp:
data["tlp"] = tlp
answer = self.__send_analysis_request(
data=data, files=None, playbook_mode=True
)
Expand Down
2 changes: 1 addition & 1 deletion pyintelowl/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "4.4.6"
__version__ = "4.4.7"
Loading