add categories and comments

pull/208/head
Sebdraven 2018-06-29 17:25:37 +02:00
parent 0965def6bf
commit 78d6de9b7a
1 changed files with 2 additions and 0 deletions

View File

@ -190,6 +190,8 @@ def expand_subdomains(api, domain):
r.append({
'type': ['domain'],
'values': ['%s.%s' % (sub,domain) for sub in results['subdomains']],
'categories': ['Network activity'],
'comment': 'subdomains of %s' % domain
}
)