Merge pull request #164 from cyber288/main
Change hostname type to string type for multiple listspull/165/head
commit
d2755d409b
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -9672,6 +9672,6 @@
|
||||||
"domain|ip"
|
"domain|ip"
|
||||||
],
|
],
|
||||||
"name": "University domains",
|
"name": "University domains",
|
||||||
"type": "hostname",
|
"type": "string",
|
||||||
"version": 20200916
|
"version": 20200923
|
||||||
}
|
}
|
||||||
|
|
|
@ -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'] = []
|
||||||
|
|
|
@ -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(),
|
||||||
|
|
|
@ -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': []
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue