mirror of https://github.com/MISP/misp-modules
Updated Distribution Constant
parent
f6c0f68263
commit
6a731454f1
|
@ -2,7 +2,7 @@ import dnsdb2
|
||||||
import json
|
import json
|
||||||
from . import check_input_attribute, standard_error_message
|
from . import check_input_attribute, standard_error_message
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from pymisp import MISPEvent, MISPObject
|
from pymisp import MISPEvent, MISPObject, Distribution
|
||||||
|
|
||||||
misperrors = {'error': 'Error'}
|
misperrors = {'error': 'Error'}
|
||||||
standard_query_input = [
|
standard_query_input = [
|
||||||
|
@ -43,7 +43,7 @@ moduleconfig = ['apikey', 'server', 'limit', 'flex_queries']
|
||||||
|
|
||||||
DEFAULT_DNSDB_SERVER = 'https://api.dnsdb.info'
|
DEFAULT_DNSDB_SERVER = 'https://api.dnsdb.info'
|
||||||
DEFAULT_LIMIT = 10
|
DEFAULT_LIMIT = 10
|
||||||
DEFAULT_DISTRIBUTION_SETTING = '0'
|
DEFAULT_DISTRIBUTION_SETTING = Distribution.your_organisation_only.value
|
||||||
TYPE_TO_FEATURE = {
|
TYPE_TO_FEATURE = {
|
||||||
"btc": "Bitcoin address",
|
"btc": "Bitcoin address",
|
||||||
"dkim": "domainkeys identified mail",
|
"dkim": "domainkeys identified mail",
|
||||||
|
|
Loading…
Reference in New Issue