Browse Source

Removed extraneous comments and unused imports

pull/346/head
Braden Laverick 2 years ago
parent
commit
717be2b859
  1. 19
      misp_modules/modules/expansion/eql.py
  2. 1
      misp_modules/modules/export_mod/mass_eql_export.py

19
misp_modules/modules/expansion/eql.py

@ -1,9 +1,6 @@
"""
Export module for converting MISP events into Endgame EQL queries
"""
import base64
import csv
import io
import json
import logging
@ -16,16 +13,10 @@ moduleinfo = {
"module-type": ["expansion"]
}
# Map of MISP fields => ThreatConnect fields
# Map of MISP fields => Endgame fields
fieldmap = {
# "domain": "Host",
# "domain|ip": "Host|Address",
# "hostname": "hostname",
"ip-src": "source_address",
"ip-dst": "destination_address",
# "ip-src|port": "Address",
# "ip-dst|port": "Address",
# "url": "URL",
"filename": "file_name"
}
@ -80,13 +71,6 @@ def introspection():
Output
Dictionary of supported MISP attributes
"""
# modulesetup = {
# "responseType": "application/txt",
# "outputFileExtension": "txt",
# "userConfig": {},
# "inputSource": []
# }
# return modulesetup
return mispattributes
@ -97,5 +81,4 @@ def version():
Output
moduleinfo: metadata output containing all potential configuration values
"""
#moduleinfo["config"] = moduleconfig
return moduleinfo

1
misp_modules/modules/export_mod/mass_eql_export.py

@ -2,7 +2,6 @@
Export module for converting MISP events into Endgame EQL queries
"""
import base64
import csv
import io
import json
import logging

Loading…
Cancel
Save