external links should not be exluded by the warning list

slight_refactoring
Sascha Rommelfangen 2018-01-18 16:07:15 +01:00
parent 493b0d79fc
commit 7d347d6ff6
1 changed files with 2 additions and 2 deletions

View File

@ -260,9 +260,9 @@ for entry in urllist:
syslog.syslog(domainname)
if domainname not in excludelist:
if domainname in internallist:
add_attribute(new_event, 'link', entry, 'Internal reference', False, enforcewarninglist, sighting)
add_attribute(new_event, 'link', entry, 'Internal reference', False, False, sighting)
elif domainname in externallist:
add_attribute(new_event, 'link', entry, 'External analysis', False, enforcewarninglist, sighting)
add_attribute(new_event, 'link', entry, 'External analysis', False, False, sighting)
else:
comment = ""
if (domainname in noidsflaglist) or (hostname in noidsflaglist):