Merge pull request #164 from cyber288/main

Change hostname type to string type for multiple lists
pull/165/head
Alexandre Dulaunoy 2020-09-24 10:34:00 +02:00 committed by GitHub
commit d2755d409b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 15 additions and 15 deletions

View File

@ -1009,6 +1009,6 @@
"domain|ip" "domain|ip"
], ],
"name": "Top 1000 websites from Cisco Umbrella", "name": "Top 1000 websites from Cisco Umbrella",
"type": "hostname", "type": "string",
"version": 20200916 "version": 202000923
} }

View File

@ -675,6 +675,6 @@
"domain|ip" "domain|ip"
], ],
"name": "List of known google domains", "name": "List of known google domains",
"type": "hostname", "type": "string",
"version": 4 "version": 5
} }

View File

@ -10007,6 +10007,6 @@
"domain" "domain"
], ],
"name": "Top 10K websites from Majestic Million", "name": "Top 10K websites from Majestic Million",
"type": "hostname", "type": "string",
"version": 20200916 "version": 20200923
} }

View File

@ -152,6 +152,6 @@
"domain|ip" "domain|ip"
], ],
"name": "List of known Windows 10 connection endpoints", "name": "List of known Windows 10 connection endpoints",
"type": "hostname", "type": "string",
"version": 1 "version": 2
} }

View File

@ -199,6 +199,6 @@
"domain|ip" "domain|ip"
], ],
"name": "List of known microsoft domains", "name": "List of known microsoft domains",
"type": "hostname", "type": "string",
"version": 3 "version": 4
} }

View File

@ -9672,6 +9672,6 @@
"domain|ip" "domain|ip"
], ],
"name": "University domains", "name": "University domains",
"type": "hostname", "type": "string",
"version": 20200916 "version": 20200923
} }

View File

@ -40,7 +40,7 @@ def process(file):
def generate(sites, warninglist, dst): def generate(sites, warninglist, dst):
warninglist['version'] = get_version() warninglist['version'] = get_version()
warninglist['type'] = 'hostname' warninglist['type'] = 'string'
warninglist['matching_attributes'] = [ warninglist['matching_attributes'] = [
'hostname', 'domain', 'url', 'domain|ip'] 'hostname', 'domain', 'url', 'domain|ip']
warninglist['list'] = [] warninglist['list'] = []

View File

@ -9,7 +9,7 @@ def process(url, dst):
university_list = download(url).json() university_list = download(url).json()
warninglist = { warninglist = {
'type': "hostname", 'type': "string",
'name': "University domains", 'name': "University domains",
'matching_attributes': ['hostname', 'domain', 'url', 'domain|ip'], 'matching_attributes': ['hostname', 'domain', 'url', 'domain|ip'],
'version': get_version(), 'version': get_version(),

View File

@ -14,7 +14,7 @@ def process(file, dst):
'version': get_version(), 'version': get_version(),
'description': 'Event contains one or more entries from the top 10K of the most used websites (Majestic Million).', 'description': 'Event contains one or more entries from the top 10K of the most used websites (Majestic Million).',
'matching_attributes': ['hostname', 'domain'], 'matching_attributes': ['hostname', 'domain'],
'type': 'hostname', 'type': 'string',
'list': [] 'list': []
} }