Skip to content

Commit 2a7698b

Browse files
authored
Merge pull request #190 from intelowlproject/develop
4.4.2
2 parents 60122ff + 7ddf49e commit 2a7698b

File tree

5 files changed

+12
-7
lines changed

5 files changed

+12
-7
lines changed

.github/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## [4.4.2](https://github.com/intelowlproject/pyintelowl/releases/tag/4.4.2)
4+
- Added support for TLP:CLEAR
5+
36
## [4.4.1](https://github.com/intelowlproject/pyintelowl/releases/tag/4.4.1)
47
- Analyzing a File with a Playbook now works correctly
58
- other little bug fixing

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import os
1414
import sys
1515

16-
VERSION = "4.4.1"
16+
VERSION = "4.4.2"
1717
GITHUB_URL = "https://github.com/intelowlproject/pyintelowl"
1818

1919
sys.path.append(os.path.abspath("../"))

pyintelowl/cli/analyse.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@
3535
click.option(
3636
"-t",
3737
"--tlp",
38-
type=click.Choice(["WHITE", "GREEN", "AMBER", "RED"], case_sensitive=False),
39-
help="TLP for the analysis (WHITE/GREEN/AMBER/RED)",
38+
type=click.Choice(
39+
["WHITE", "CLEAR", "GREEN", "AMBER", "RED"], case_sensitive=False
40+
),
41+
help="TLP for the analysis (WHITE/CLEAR/GREEN/AMBER/RED)",
4042
),
4143
click.option(
4244
"-c",

pyintelowl/pyintelowl.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
from .exceptions import IntelOwlClientException
1515

16-
TLPType = Literal["WHITE", "GREEN", "AMBER", "RED"]
16+
TLPType = Literal["WHITE", "GREEN", "AMBER", "RED", "CLEAR"]
1717

1818

1919
class IntelOwl:
@@ -679,7 +679,7 @@ def _new_analysis_cli(
679679
obj: str,
680680
type_: str,
681681
check,
682-
tlp: TLPType = "WHITE",
682+
tlp: TLPType = "CLEAR",
683683
analyzers_list: List[str] = None,
684684
connectors_list: List[str] = None,
685685
runtime_configuration: Dict = None,
@@ -769,7 +769,7 @@ def _new_analysis_playbook_cli(
769769
obj: str,
770770
type_: str,
771771
check,
772-
tlp: TLPType = "WHITE",
772+
tlp: TLPType = "CLEAR",
773773
playbooks_list: List[str] = None,
774774
runtime_configuration: Dict = None,
775775
tags_labels: List[str] = None,

pyintelowl/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "4.4.1"
1+
__version__ = "4.4.2"

0 commit comments

Comments
 (0)