Skip to content

Commit 4db7e20

Browse files
committed
add: tlp:clear reports without apikey
1 parent 8779e38 commit 4db7e20

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

python_catalyst/client.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,12 @@ def create_report_from_member_content_with_references(
649649
for threat_actor in all_entities.get("threatactor", []) + all_entities.get(
650650
"threat_actor", []
651651
):
652+
if not self.catalyst_authenticated:
653+
if self.logger:
654+
self.logger.debug(
655+
f"Skipping threat actor {threat_actor.get('value')} because user is not authenticated... This will be implemented in the future."
656+
)
657+
continue
652658
self._process_threat_actor(
653659
threat_actor,
654660
related_objects,

0 commit comments

Comments
 (0)