mirror of
https://github.com/valitydev/Cortex-Analyzers.git
synced 2024-11-06 00:55:17 +00:00
StamusNetworks: add TheHive templates
This commit is contained in:
parent
299be6e305
commit
6d1b1e4cb3
80
thehive-templates/StamusNetworks_HostID_1_0/long.html
Normal file
80
thehive-templates/StamusNetworks_HostID_1_0/long.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!-- Success !-->
|
||||
<div class="panel panel-info" ng-if="success" ng-init="recordsLimit=20">
|
||||
<div class="panel-heading">
|
||||
<strong>{{(artifact.data || artifact.attachment.name) | fang}}</strong>
|
||||
<a ng-show="::content.records.length > 20" class="pull-right" href ng-click="recordsLimit=undefined">View All ({{::content.records.length}})</a>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<p>
|
||||
SSP Host Information Report
|
||||
</p>
|
||||
<div ng-if="content.host_id.services_count>0">
|
||||
<p><em>Services for IP</em></p>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="50">#</th>
|
||||
<th>Proto</th>
|
||||
<th>Port</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody ng-repeat="row in content.host_id.services | limitTo:recordsLimit">
|
||||
<td>{{$index + 1}}</td>
|
||||
<td>{{row.proto}}</td>
|
||||
<td>{{row.port}}</td>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div ng-if="content.host_id.username_count>0">
|
||||
<p><em>Username</em></p>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="50">#</th>
|
||||
<th>Username</th>
|
||||
<th>First Seen</th>
|
||||
<th>Last Seen</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody ng-repeat="row in content.host_id.username | limitTo:recordsLimit">
|
||||
<td>{{$index + 1}}</td>
|
||||
<td>{{row.user}}</td>
|
||||
<td>{{row.first_seen}}</td>
|
||||
<td>{{row.last_seen}}</td>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div ng-if="content.host_id['http.user_agent']">
|
||||
<p><em>Username</em></p>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="50">#</th>
|
||||
<th>HTTP User Agent</th>
|
||||
<th>First Seen</th>
|
||||
<th>Last Seen</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody ng-repeat="row in content.host_id['http.user_agent'] | limitTo:recordsLimit">
|
||||
<td>{{$index + 1}}</td>
|
||||
<td>{{row.agent}}</td>
|
||||
<td>{{row.first_seen}}</td>
|
||||
<td>{{row.last_seen}}</td>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Error !-->
|
||||
<div class="panel panel-danger" ng-if="!success">
|
||||
<div class="panel-heading" >
|
||||
<strong> Error while running the service </strong>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<pre>
|
||||
{{content.errorMessage}}
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
3
thehive-templates/StamusNetworks_HostID_1_0/short.html
Normal file
3
thehive-templates/StamusNetworks_HostID_1_0/short.html
Normal file
@ -0,0 +1,3 @@
|
||||
<span class="label" ng-repeat="t in content.taxonomies" ng-class="{'info': 'label-info', 'safe': 'label-success', 'suspicious': 'label-warning', 'malicious':'label-danger'}[t.level]">
|
||||
{{t.namespace}}:{{t.predicate}}="{{t.value}}"
|
||||
</span>
|
Loading…
Reference in New Issue
Block a user