Skip to content

Commit

Permalink
Fix JSB Url Analysis template (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
ant1 authored and nadouani committed Apr 11, 2018
1 parent 367666a commit bb063f3
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions thehive-templates/JoeSandbox_Url_Analysis_2_0/long.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,22 @@ <h5>domains</h5>

<div ng-if="k === 'ips'">
<h5>IP addresses</h5>
<dl class="dl-horizontal" ng-repeat="ip in v.ip">
<dd>{{ip}}</dd>
<dl class="dl-horizontal" ng-if="v.ip.substr">
<dd>
{{v.ip}}
</dd>
</dl>
<dl class="dl-horizontal" ng-if="!v.ip.substr" ng-repeat="ip in v.ip">
<dd ng-if="!ip.substr">
<span ng-if="ip['@malicious'] === 'true'" class="text-danger"><i class="fa fa-thumbs-down"></i>
</span>
<span ng-if="ip['@malicious'] === 'false'" class="text-success"><i class="fa fa-thumbs-up"></i>
</span>
{{ip.$}}
</dd>
<dd ng-if="ip.substr">
{{ip}}
</dd>
</dl>
</div>
</div>
Expand Down

0 comments on commit bb063f3

Please sign in to comment.