mirror of
https://github.com/valitydev/Cortex-Analyzers.git
synced 2024-11-07 01:25:21 +00:00
Fixed urlscan.io template path
This commit is contained in:
parent
8f973bc27c
commit
0dabf4fffe
39
thehive-templates/Urlscan_io_Search_0_1_0/long.html
Normal file
39
thehive-templates/Urlscan_io_Search_0_1_0/long.html
Normal file
@ -0,0 +1,39 @@
|
||||
<div class="panel panel-info" ng-if="::content.indicator.results" ng-init="results_limit = 20">
|
||||
<div class="panel-heading">
|
||||
urlscan.io search results
|
||||
<span class="pull-right" ng-show="::content.indicator.results.length > 20">
|
||||
<a href ng-show="results_limit===20" ng-click="results_limit = undefined">Show All ({{::content.indicator.results.length}})</a>
|
||||
<a href ng-show="!results_limit" ng-click="results_limit = 20">Show less</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<table class="table table-hover">
|
||||
<tr>
|
||||
<th>URL</th>
|
||||
<th>Result</th>
|
||||
<th>Time</th>
|
||||
</tr>
|
||||
<tr ng-repeat="r in content.indicator.results | limitTo:results_limit | orderBy:'-task.time'">
|
||||
<td>{{r.page.url | ellipsis:40}}</td>
|
||||
<td>
|
||||
<a href="https://urlscan.io/result/{{r._id}}" target="_blank">https://urlscan.io/result/{{r._id}}</a>
|
||||
</td>
|
||||
<td>{{r.task.time}}</td>
|
||||
</tr>
|
||||
</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">
|
||||
<dl class="dl-horizontal" ng-if="content.errorMessage">
|
||||
<dt>
|
||||
<i class="fa fa-warning"></i> urlscan.io: </dt>
|
||||
<dd class="wrap">{{content.errorMessage}}</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
3
thehive-templates/Urlscan_io_Search_0_1_0/short.html
Normal file
3
thehive-templates/Urlscan_io_Search_0_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