@@ -171,7 +171,7 @@ def send_file_analysis_request(
171171 Defaults to ``[]`` i.e. all connectors.
172172 tlp (str, optional):
173173 TLP for the analysis.
174- (options: ``WHITE, GREEN, AMBER, RED``). Defaults to ``WHITE``.
174+ (options: ``WHITE, GREEN, AMBER, RED``).
175175 runtime_configuration (Dict, optional):
176176 Overwrite configuration for analyzers. Defaults to ``{}``.
177177 tags_labels (List[str], optional):
@@ -184,8 +184,6 @@ def send_file_analysis_request(
184184 Dict: JSON body
185185 """
186186 try :
187- if not tlp :
188- tlp = "WHITE"
189187 if not analyzers_requested :
190188 analyzers_requested = []
191189 if not connectors_requested :
@@ -232,7 +230,7 @@ def send_file_analysis_playbook_request(
232230 Defaults to ``[]`` i.e. all playbooks.
233231 tlp (str, optional):
234232 TLP for the analysis.
235- (options: ``WHITE, GREEN, AMBER, RED``). Defaults to ``WHITE``.
233+ (options: ``WHITE, GREEN, AMBER, RED``).
236234 runtime_configuration (Dict, optional):
237235 Overwrite configuration for analyzers. Defaults to ``{}``.
238236 tags_labels (List[str], optional):
@@ -245,8 +243,6 @@ def send_file_analysis_playbook_request(
245243 Dict: JSON body
246244 """
247245 try :
248- if not tlp :
249- tlp = "WHITE"
250246 if not playbooks_requested :
251247 playbooks_requested = []
252248 if not tags_labels :
@@ -296,7 +292,7 @@ def send_observable_analysis_request(
296292 Defaults to ``[]`` i.e. all connectors.
297293 tlp (str, optional):
298294 TLP for the analysis.
299- (options: ``WHITE, GREEN, AMBER, RED``). Defaults to ``WHITE``.
295+ (options: ``WHITE, GREEN, AMBER, RED``).
300296 runtime_configuration (Dict, optional):
301297 Overwrite configuration for analyzers. Defaults to ``{}``.
302298 tags_labels (List[str], optional):
@@ -314,8 +310,6 @@ def send_observable_analysis_request(
314310 Dict: JSON body
315311 """
316312 try :
317- if not tlp :
318- tlp = "WHITE"
319313 if not analyzers_requested :
320314 analyzers_requested = []
321315 if not connectors_requested :
@@ -373,7 +367,7 @@ def send_observable_analysis_playbook_request(
373367 Defaults to ``[]`` i.e. all playbooks.
374368 tlp (str, optional):
375369 TLP for the analysis.
376- (options: ``WHITE, GREEN, AMBER, RED``). Defaults to ``WHITE``.
370+ (options: ``WHITE, GREEN, AMBER, RED``).
377371 runtime_configuration (Dict, optional):
378372 Overwrite configuration for analyzers. Defaults to ``{}``.
379373 tags_labels (List[str], optional):
@@ -391,8 +385,6 @@ def send_observable_analysis_playbook_request(
391385 Dict: JSON body
392386 """
393387 try :
394- if not tlp :
395- tlp = "WHITE"
396388 if not playbooks_requested :
397389 playbooks_requested = []
398390 if not tags_labels :
@@ -685,7 +677,7 @@ def _new_analysis_cli(
685677 obj : str ,
686678 type_ : str ,
687679 check ,
688- tlp : TLPType = "CLEAR" ,
680+ tlp : TLPType = None ,
689681 analyzers_list : List [str ] = None ,
690682 connectors_list : List [str ] = None ,
691683 runtime_configuration : Dict = None ,
@@ -775,7 +767,7 @@ def _new_analysis_playbook_cli(
775767 obj : str ,
776768 type_ : str ,
777769 check ,
778- tlp : TLPType = "CLEAR" ,
770+ tlp : TLPType = None ,
779771 playbooks_list : List [str ] = None ,
780772 runtime_configuration : Dict = None ,
781773 tags_labels : List [str ] = None ,
0 commit comments