Skip to content

Commit

Permalink
#152 add long reports and complete Onyphe_Forward_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 08c4907 commit 0d4d70f
Show file tree
Hide file tree
Showing 5 changed files with 134 additions and 0 deletions.
62 changes: 62 additions & 0 deletions thehive-templates/Onyphe_Forward_1_0/long.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<div class="panel panel-info" ng-if="success">
<div class="panel-heading">
Onyphe Forward - <strong>{{(artifact.data || artifact.attachment.name) | fang}}</strong>
</div>
<div class="panel-body">
<dl class="dl-horizontal">
<dt>
My IP
</dt>
<dd>
{{content.forwards.myip}}
</dd>
</dl>
<dl class="dl-horizontal">
<dt>
Number of result
</dt>
<dd>
{{content.forwards.count}}
</dd>
</dl>
<dl class="dl-horizontal">
<dt>
Error(s)
</dt>
<dd>
{{content.forwards.error}}
</dd>
</dl>

<table class="table" ng-if="content.forwards.results.length !== 0 ">
<thead>
<th>Category</th>
<th>Type</th>
<th>Domain</th>
<th>IPv4</th>
<th>IPv6</th>
<th>Seen date</th>
</thead>
<tbody ng-repeat="r in content.forwards.results | orderBy:'-seen_date'">
<tr>
<td>{{r["@category"]}}</td>
<td>{{r["@type"]}}</td>
<td>{{r.domain}}</td>
<td>{{r.ip}}</td>
<td>{{r.ipv6}}</td>
<td>{{r.seen_date}}</td>
</tr>
</tbody>
</table>
</div>
</div>

<!-- General error -->
<div class="panel panel-danger" ng-if="!success">
<div class="panel-heading">
<strong>{{artifact.data | fang}}</strong>
</div>
<div class="panel-body">
{{results.errorMessage}}
</div>
</div>
18 changes: 18 additions & 0 deletions thehive-templates/Onyphe_Geolocate_1_0/long.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<div class="panel panel-info" ng-if="success">
<div class="panel-heading">
Onyphe Geolocate - <strong>{{(artifact.data || artifact.attachment.name) | fang}}</strong>
</div>
<div class="panel-body">

</div>
</div>

<!-- General error -->
<div class="panel panel-danger" ng-if="!success">
<div class="panel-heading">
<strong>{{artifact.data | fang}}</strong>
</div>
<div class="panel-body">
{{content.errorMessage}}
</div>
</div>
18 changes: 18 additions & 0 deletions thehive-templates/Onyphe_Ports_1_0/long.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<div class="panel panel-info" ng-if="success">
<div class="panel-heading">
Onyphe Ports - <strong>{{(artifact.data || artifact.attachment.name) | fang}}</strong>
</div>
<div class="panel-body">

</div>
</div>

<!-- General error -->
<div class="panel panel-danger" ng-if="!success">
<div class="panel-heading">
<strong>{{artifact.data | fang}}</strong>
</div>
<div class="panel-body">
{{content.errorMessage}}
</div>
</div>
18 changes: 18 additions & 0 deletions thehive-templates/Onyphe_Reverse_1_0/long.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<div class="panel panel-info" ng-if="success">
<div class="panel-heading">
Onyphe Reverse - <strong>{{(artifact.data || artifact.attachment.name) | fang}}</strong>
</div>
<div class="panel-body">

</div>
</div>

<!-- General error -->
<div class="panel panel-danger" ng-if="!success">
<div class="panel-heading">
<strong>{{artifact.data | fang}}</strong>
</div>
<div class="panel-body">
{{content.errorMessage}}
</div>
</div>
18 changes: 18 additions & 0 deletions thehive-templates/Onyphe_Threats_1_0/long.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<div class="panel panel-info" ng-if="success">
<div class="panel-heading">
Onyphe Threats - <strong>{{(artifact.data || artifact.attachment.name) | fang}}</strong>
</div>
<div class="panel-body">

</div>
</div>

<!-- General error -->
<div class="panel panel-danger" ng-if="!success">
<div class="panel-heading">
<strong>{{artifact.data | fang}}</strong>
</div>
<div class="panel-body">
{{content.errorMessage}}
</div>
</div>

0 comments on commit 0d4d70f

Please sign in to comment.