Skip to content

Commit

Permalink
Merge pull request #233 from intelowlproject/develop
Browse files Browse the repository at this point in the history
4.4.7
  • Loading branch information
mlodic authored Feb 8, 2024
2 parents 0c2ae7b + 9a97fcc commit d8df8ec
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
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"

0 comments on commit d8df8ec

Please sign in to comment.