Updated stix header title

The header is actually skipped in MISP and the one
from misp2stix_framing is used, but usefull for
command line tests
pull/3212/head
chrisr3d 2018-04-27 11:16:45 +02:00
parent 5f801c06d0
commit 73e9d8adaa
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ class StixBuilder(object):
stix_package = STIXPackage(id_=package_name, timestamp=timestamp)
stix_package.version = "1.1.1"
stix_header = STIXHeader()
stix_header.title = "{} (MISP Event #{})".format(self.misp_event.info, self.misp_event.id)
stix_header.title = "Export from {} MISP".format(self.namespace_prefix)
stix_header.package_intents = "Threat Report"
stix_package.stix_header = stix_header
incident = self.generate_stix_objects()