minor cleanups

pull/15/head
Christophe Vandeplas 2019-06-12 13:39:52 +03:00
parent c40e776462
commit 6a0a819aad
6 changed files with 16 additions and 5 deletions

1
publish_to_pip.sh Normal file → Executable file
View File

@ -2,3 +2,4 @@
python3 setup.py sdist bdist_wheel
twine upload dist/*
rm -Rf build
rm -Rf dist

View File

@ -5,11 +5,11 @@ from setuptools import setup, find_packages
setup(
name='MISP_maltego',
author='Christophe Vandeplas',
version='1.3.2',
version='1.3.4',
author_email='christophe@vandeplas.com',
maintainer='Christophe Vandeplas',
url='https://github.com/MISP/MISP-maltego',
description='Maltego transform for interacting with a MISP Threat Sharing community.',
description='Maltego transform for interacting with a MISP Threat Sharing community and with MITRE ATT&CK.',
license='AGPLv3',
packages=find_packages('src'),
package_dir={'': 'src'},

View File

@ -6,5 +6,3 @@ misp_verify = True
misp_debug = False
[MISP_maltego.remote]
# TODO: put remote transform options here

View File

@ -8,7 +8,7 @@ import os.path
import tempfile
import time
# FIXME from galaxy to MISP Event is confusing
# FIXME from galaxy 'to MISP Event' is confusing
# mapping_maltego_to_misp = {
# 'maltego.Hash': ['md5', 'sha1', 'sha256', 'sha224', 'sha384', 'sha512', 'sha512/224', 'sha512/256'],

View File

@ -16,6 +16,8 @@ __maintainer__ = 'Christophe Vandeplas'
__email__ = 'christophe@vandeplas.com'
__status__ = 'Development'
# FIXME have a more human readable version of the MISP event value in the graph. change entity + event_to_entity + do_transform
class EventToTransform(Transform):
input_type = None

View File

@ -16,6 +16,16 @@ __email__ = 'christophe@vandeplas.com'
__status__ = 'Development'
class GalaxyTo(Transform):
input_type = None
def __init__(self):
self.request = None
self.response = None
self.config = None
self.misp = None
# @EnableDebugWindow
class GalaxyToEvents(Transform):
"""Expands a Galaxy to multiple MISP Events."""