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"
|
||||
],
|
||||
"name": "Top 1000 websites from Cisco Umbrella",
|
||||
"type": "hostname",
|
||||
"version": 20200916
|
||||
"type": "string",
|
||||
"version": 202000923
|
||||
}
|
||||
|
|
|
@ -675,6 +675,6 @@
|
|||
"domain|ip"
|
||||
],
|
||||
"name": "List of known google domains",
|
||||
"type": "hostname",
|
||||
"version": 4
|
||||
"type": "string",
|
||||
"version": 5
|
||||
}
|
||||
|
|
|
@ -10007,6 +10007,6 @@
|
|||
"domain"
|
||||
],
|
||||
"name": "Top 10K websites from Majestic Million",
|
||||
"type": "hostname",
|
||||
"version": 20200916
|
||||
"type": "string",
|
||||
"version": 20200923
|
||||
}
|
||||
|
|
|
@ -152,6 +152,6 @@
|
|||
"domain|ip"
|
||||
],
|
||||
"name": "List of known Windows 10 connection endpoints",
|
||||
"type": "hostname",
|
||||
"version": 1
|
||||
"type": "string",
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -199,6 +199,6 @@
|
|||
"domain|ip"
|
||||
],
|
||||
"name": "List of known microsoft domains",
|
||||
"type": "hostname",
|
||||
"version": 3
|
||||
"type": "string",
|
||||
"version": 4
|
||||
}
|
||||
|
|
|
@ -9672,6 +9672,6 @@
|
|||
"domain|ip"
|
||||
],
|
||||
"name": "University domains",
|
||||
"type": "hostname",
|
||||
"version": 20200916
|
||||
"type": "string",
|
||||
"version": 20200923
|
||||
}
|
||||
|
|
|
@ -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'] = []
|
||||
|
|
|
@ -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(),
|
||||
|
|
|
@ -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': []
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue