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"
],
"name": "Top 1000 websites from Cisco Umbrella",
"type": "hostname",
"version": 20200916
"type": "string",
"version": 202000923
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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