enabling the connector with this collection lead to and error failing the connector to publish anything
collections:
apt/threat:
default_date: '2024-08-01'
description: A collection of Indicators and MITRE ATT&CK matrix. It contains HASH
sums of malicious files that were generated by hackers, IP addresses, domains,
CVE and the group's activities, motives, and goals to understand what tools
and tactics they use according to the MITRE ATT&CK matrix.
enable: true
local_custom_tag: null
seqUpdate: null
ttl: 90
extra_settings:
ignore_non_indicator_threats: false
ignore_non_malware_ddos: true
intrusion_set_instead_of_threat_actor: true
schedule_time: 00:00
time_output_format: '%Y-%m-%d %H:%M:%S'
the error:
{
"timestamp": "2024-11-04T13:11:09.406662Z",
"level": "ERROR",
"name": "Group-IB Connector",
"message": "ThreatActor.generate_id() takes 1 positional argument but 2 were given",
"exc_info": "Traceback (most recent call last):
File \"/opt/connector/src/lib/external_import.py\", line 288, in run
bundle_objects = self._collect_intelligence(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File \"/opt/connector/src/main.py\", line 181, in _collect_intelligence
report_adapter.generate_stix_threat_actor(
File \"/opt/connector/src/adapter.py\", line 663, in generate_stix_threat_actor
threat_actor.generate_stix_objects()
File \"/opt/connector/src/data_to_stix2.py\", line 251, in generate_stix_objects
self.stix_sdo = self._generate_sdo()
^^^^^^^^^^^^^^^^^^^^
File \"/opt/connector/src/data_to_stix2.py\", line 580, in _generate_sdo
id=pycti.ThreatActor.generate_id(self.name, \"Threat-Actor-Group\"),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: ThreatActor.generate_id() takes 1 positional argument but 2 were given",
"taskName": null
}
Environment
OS (where OpenCTI server runs): { DEBIAN 12}
OpenCTI version: 6.3.9
OpenCTI client: 6.3.9
Reproducible Steps
Steps to create the smallest reproducible scenario:
start wit the config enabled
wait a little
look at the log
in opencti a work is created and finish without anything in it
Description
enabling the connector with this collection lead to and error failing the connector to publish anything
the error:
Environment
Reproducible Steps
Steps to create the smallest reproducible scenario:
Expected Output
no error
Actual Output
the error