Skip to content

Commit

Permalink
Update the template to use domains
Browse files Browse the repository at this point in the history
This will update the report template to use the newly modified domains data instead of hosts which only includes IP addresses.
  • Loading branch information
Nic authored Feb 5, 2019
1 parent 4ea69ae commit b241bc4
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions thehive-templates/CuckooSandbox_File_Analysis_Inet_1_0/long.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,20 +59,18 @@ <h4>Signatures</h4>
</div>
<div class="panel-body">

<div ng-if="content.hosts">
<div ng-if="content.domains">
<h4>Remote connections</h4>
<br>
<div>
<table class="table table-hover">
<tr>
<th>Domain</th>
<th>IP</th>
<th>Location</th>
<th>Domain</th>
</tr>
<tr ng-repeat="host in content.hosts track by $index">
<td>{{host[1]}}</td>
<td>{{host[0]}}</td>
<td>{{host[2]}}</td>
<tr ng-repeat="domains in content.domains track by $index">
<td>{{domains[0]}}</td>
<td>{{domains[1]}}</td>
</tr>
</table>
</div>
Expand Down Expand Up @@ -105,8 +103,8 @@ <h4>URI</h4>
<div ng-if="content.yara">
<h4>Yara</h4>
<br>
<dl class="dl-horizontal" ng-repeat="yara in content.yara track by $index">
<dd>{{ yara }}<dd>
<dl class="dl-horizontal">
<dd>{{ content.yara }}<dd>
</dl>
</div>
<div ng-if="!content.yara">
Expand Down

0 comments on commit b241bc4

Please sign in to comment.