Skip to content

Commit

Permalink
#56 update Google Safebrowsing summary() and short reports
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Jun 13, 2017
1 parent 6f0ebbe commit 99e137e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions thehive-templates/GoogleSafebrowsing_1_0/short.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<span class="label label-success" ng-if="content.matches == 0 || !content">Google:Safebrowsing=No match</span>
<span class="label label-danger" ng-if="content.matches == 1">Google:Safebrowsing={{content.matches}} match</span>
<span class="label label-danger" ng-if="content.matches > 1">Google:Safebrowsing={{content.matches}} matches </span>
<span class="label" ng-init="t = content.taxonomy" ng-class="{'info': 'label-info', 'safe': 'label-success', 'suspicious': 'label-warning', 'malicious':'label-danger'}[content.level]">
{{t.namespace}}:{{t.predicate}}={{t.value}}
</span>

0 comments on commit 99e137e

Please sign in to comment.