Skip to content

Commit

Permalink
#152 complete Onyphe_Geolocate_1_0/long.html
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Jan 4, 2018
1 parent 0d4d70f commit 9d8fccd
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions thehive-templates/Onyphe_Geolocate_1_0/long.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,62 @@
Onyphe Geolocate - <strong>{{(artifact.data || artifact.attachment.name) | fang}}</strong>
</div>
<div class="panel-body">
<dl class="dl-horizontal">
<dt>
My IP
</dt>
<dd>
{{content.location.myip}}
</dd>
</dl>
<dl class="dl-horizontal">
<dt>
Number of result
</dt>
<dd>
{{content.location.count}}
</dd>
</dl>
<dl class="dl-horizontal">
<dt>
Error(s)
</dt>
<dd>
{{content.location.error}}
</dd>
</dl>

<table class="table" ng-if="content.location.results.length !== 0 ">
<thead>
<th>Category</th>
<th>Type</th>
<th>ASN</th>
<th>City</th>
<th>Country</th>
<th>Latitude</th>
<th>Longitude</th>
<th>Organization</th>
<th>IPv4</th>
<th>IPv6</th>
<th>Subnet</th>

</thead>
<tbody ng-repeat="r in content.location.results">
<tr>
<td>{{r["@category"]}}</td>
<td>{{r["@type"]}}</td>
<td>{{r.asn}}</td>
<td>{{r.city}}</td>
<td>{{r.country_name}}/{{r.country}}</td>
<td>{{r.latitude}}</td>
<td>{{r.longitude}}</td>
<td>{{r.organisation}}</td>
<td>{{r.ip}}</td>
<td>{{r.ipv6}}</td>
<td>{{r.subnet}}</td>
</tr>
</tbody>
</table>
</div>
</div>

Expand Down

0 comments on commit 9d8fccd

Please sign in to comment.