-
Notifications
You must be signed in to change notification settings - Fork 640
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#53 Move analyzers' report template to TheHive contrib directory
- Loading branch information
Showing
40 changed files
with
1,444 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<div class="panel panel-danger" ng-if="!success"> | ||
<div class="panel-heading"> | ||
<strong>{{(artifact.data || artifact.attachment.name) | fang}}</strong> | ||
</div> | ||
<div class="panel-body"> | ||
{{content.errorMessage}} | ||
</div> | ||
</div> | ||
|
||
<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> | ||
DNSDB Domain Name History Report <em>(RRSET)</em> | ||
</p> | ||
<table class="table table-hover"> | ||
<thead> | ||
<tr> | ||
<th width="50">#</th> | ||
<th>bailiwick</th> | ||
<th>count</th> | ||
<th>rdata</th> | ||
<th>rrname</th> | ||
<th width="120">time first</th> | ||
<th width="120">time last</th> | ||
</tr> | ||
</thead> | ||
<tbody ng-repeat="row in content.records | limitTo:recordsLimit"> | ||
<tr> | ||
<td>{{$index+1}}</td> | ||
<td>{{row.bailiwick}}</td> | ||
<td>{{row.count}}</td> | ||
<td class="wrap"> | ||
<div ng-repeat="rdata in row.rdata track by $index">{{rdata}}</div> | ||
</td> | ||
<td class="wrap">{{row.rrname}}</td> | ||
<td>{{(row.zone_time_first || row.time_first) | shortDate}}</td> | ||
<td>{{(row.zone_time_last || row.time_last) | shortDate}}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<span ng-if="content.records" class="label label-info">DNSDB Domain Name: {{content.records}} records</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<div class="panel panel-danger" ng-if="!success"> | ||
<div class="panel-heading"> | ||
<strong>{{(artifact.data || artifact.attachment.name) | fang}}</strong> | ||
</div> | ||
<div class="panel-body"> | ||
{{content.errorMessage}} | ||
</div> | ||
</div> | ||
|
||
<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> | ||
DNSDB IP History Report | ||
<em>(Rdata IP)</em> | ||
</p> | ||
<table class="table"> | ||
<thead> | ||
<tr> | ||
<th width="50">#</th> | ||
<th>count</th> | ||
<th>rdata</th> | ||
<th>rrname</th> | ||
<th>rrtype</th> | ||
<th width="120">time first</th> | ||
<th width="120">time last</th> | ||
</tr> | ||
</thead> | ||
<tbody ng-repeat="row in content.records | limitTo:recordsLimit"> | ||
<td>{{$index + 1}}</td> | ||
<td>{{row.count}}</td> | ||
<td class="wrap">{{row.rdata}}</td> | ||
<td> class="wrap"{{row.rrname}}</td> | ||
<td>{{row.rrtype}}</td> | ||
<td>{{(row.zone_time_first || row.time_first) | shortDate}}</td> | ||
<td>{{(row.zone_time_last || row.time_last) | shortDate}}</td> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<span ng-if="content.records" class="label label-info">DNSDB IP History: {{content.records}} records</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<div class="panel panel-danger" ng-if="!success"> | ||
<div class="panel-heading"> | ||
<strong>{{(artifact.data || artifact.attachment.name) | fang}}</strong> | ||
</div> | ||
<div class="panel-body"> | ||
{{content.errorMessage}} | ||
</div> | ||
</div> | ||
|
||
<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> | ||
DNSDB Name History Report<em>(Rdata Name)</em> | ||
</p> | ||
<table class="table"> | ||
<thead> | ||
<tr> | ||
<th width="50">#</th> | ||
<th>count</th> | ||
<th>rdata</th> | ||
<th>rrname</th> | ||
<th>rrtype</th> | ||
<th width="120">time first</th> | ||
<th width="120">time last</th> | ||
</tr> | ||
</thead> | ||
<tbody ng-repeat="row in content.records | limitTo:recordsLimit"> | ||
<td>{{$index + 1}}</td> | ||
<td>{{row.count}}</td> | ||
<td class="wrap">{{row.rdata}}</td> | ||
<td class="wrap">{{row.rrname}}</td> | ||
<td>{{row.rrtype}}</td> | ||
<td>{{row.time_first | shortDate}}</td> | ||
<td>{{row.time_last | shortDate}}</td> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<span ng-if="content.records" class="label label-info">DNSDB Name History: {{content.records}} records</span> |
30 changes: 30 additions & 0 deletions
30
contrib/report-templates/DomainTools_ReverseIP_1_0/long.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<div class="panel panel-info" ng-if="success"> | ||
<div class="panel-heading"> | ||
<strong>{{artifact.data | fang}}</strong> | ||
</div> | ||
<div class="panel-body"> | ||
<dl class="dl-horizontal"> | ||
<dt>Domains count</dt> | ||
<dd>{{content.ip_addresses.domain_count}}</dd> | ||
</dl> | ||
<dl class="dl-horizontal"> | ||
<dt>Domain Names</dt> | ||
<dd> | ||
<ul class="list list-unstyled"> | ||
<li ng-repeat="dn in content.ip_addresses.domain_names"> | ||
{{dn}} | ||
</li> | ||
</ul> | ||
</dd> | ||
</dl> | ||
</div> | ||
</div> | ||
|
||
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<span ng-if="content.ip.address || content.ip.domain_count" class="label label-info">{{content.ip.address}}: {{content.ip.domain_count}} domains found</span> |
43 changes: 43 additions & 0 deletions
43
contrib/report-templates/DomainTools_ReverseNameServer_1_0/long.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<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> | ||
<div class="panel panel-info" ng-if="success"> | ||
<div class="panel-heading"> | ||
<strong>{{artifact.data | fang}}</strong> | ||
</div> | ||
<div class="panel-body"> | ||
<dl class="dl-horizontal"> | ||
<dt>Name Server</dt> | ||
<dd>{{content.name_server.hostname}}</dd> | ||
</dl> | ||
<dl class="dl-horizontal"> | ||
<dt>Primary domains</dt> | ||
<dd> | ||
{{content.name_server.primary}}<br> | ||
<a href ng-click="isPCollapsed = !isPCollapsed">Show all</a> | ||
</dd> | ||
</dl> | ||
<dl class="dl-horizontal"> | ||
<dt>Secondary domains</dt> | ||
<dd> | ||
{{content.name_server.secondary}}<br> | ||
<a href ng-click="isSCollapsed = !isSCollapsed">Show all</a> | ||
</dd> | ||
</dl> | ||
|
||
<div ng-if="isPCollapsed"> | ||
<h5>Primary Domains List</h5> | ||
<pre style="height: 300px">{{content.primary_domains | json}}</pre> | ||
</div> | ||
<div ng-if="isSCollapsed"> | ||
<h5>Secondary Domains List</h5> | ||
<pre style="height: 300px">{{content.secondary_domains | json}}</pre> | ||
</div> | ||
|
||
</div> | ||
</div> |
1 change: 1 addition & 0 deletions
1
contrib/report-templates/DomainTools_ReverseNameServer_1_0/short.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<span ng-if="content.name_server" class="label label-info">Hostname: {{content.name_server}}, {{content.domain_count}} domains</span> |
34 changes: 34 additions & 0 deletions
34
contrib/report-templates/DomainTools_ReverseWhois_1_0/long.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<div class="panel panel-info" ng-if="success"> | ||
<div class="panel-heading"> | ||
<strong>{{artifact.data | fang}}</strong> | ||
</div> | ||
<div class="panel-body"> | ||
<dl class="dl-horizontal"> | ||
<dt>Current Domains</dt> | ||
<dd>{{content.domain_count.current}}</dd> | ||
</dl> | ||
<dl class="dl-horizontal"> | ||
<dt>Historic Domains</dt> | ||
<dd>{{content.domain_count.historic}}</dd> | ||
</dl> | ||
<dl class="dl-horizontal"> | ||
<dt>Domains</dt> | ||
<dd> | ||
<ul class="list list-unstyled"> | ||
<li ng-repeat="dn in content.domains"> | ||
{{dn}} | ||
</li> | ||
</ul> | ||
</dd> | ||
</dl> | ||
</div> | ||
</div> | ||
|
||
<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> |
3 changes: 3 additions & 0 deletions
3
contrib/report-templates/DomainTools_ReverseWhois_1_0/short.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<span ng-if="content.domain_count.current || content.domain_count.historic" class="label label-info"> | ||
Domains found: curr:{{content.domain_count.current}}/hist:{{content.domain_count.historic}} | ||
</span> |
48 changes: 48 additions & 0 deletions
48
contrib/report-templates/DomainTools_WhoisHistory_1_0/long.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<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> | ||
|
||
<div class="panel panel-info" ng-if="success" ng-init="recordsLimit=20"> | ||
<div class="panel-heading"> | ||
<strong>{{artifact.data| fang}}</strong> | ||
<a ng-show="::content.history.length > 20" class="pull-right" href ng-click="recordsLimit=undefined">View All ({{::content.history.length}})</a> | ||
</div> | ||
<div class="panel-body"> | ||
<div ng-if="content.record_count === 0">No records found</div> | ||
<table class="table table-hover" ng-if="content.record_count > 0"> | ||
<thead> | ||
<tr> | ||
<th width="50">#</th> | ||
<th width="120">date</th> | ||
<th>server names</th> | ||
<th>registrant</th> | ||
<th>registrar</th> | ||
<th>expiration</th> | ||
<th>statuses</th> | ||
</tr> | ||
</thead> | ||
<tbody ng-repeat="row in content.history | limitTo:recordsLimit"> | ||
<td>{{$index + 1}}</td> | ||
<td>{{row.date}}</td> | ||
<td class="wrap"> | ||
<ul class="list-unstyled"> | ||
<li ng-repeat="ns in row.whois.name_servers">{{ns}}</li> | ||
</ul> | ||
</td> | ||
<td>{{row.whois.registrant}}</td> | ||
<td>{{row.whois.registration.registrar}}</td> | ||
<td>{{row.whois.registration.expires}}</td> | ||
<td class="wrap"> | ||
<ul class="list-unstyled"> | ||
<li ng-repeat="st in row.whois.registration.statuses">{{st}}</li> | ||
</ul> | ||
</td> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> |
2 changes: 2 additions & 0 deletions
2
contrib/report-templates/DomainTools_WhoisHistory_1_0/short.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<span ng-if="content.registrant" class="label label-info">REGISTRANT: {{content.registrant}}</span> | ||
<span ng-if="content.registrar" class="label label-info">REGISTRAR: {{content.registrar}}</span> |
21 changes: 21 additions & 0 deletions
21
contrib/report-templates/DomainTools_WhoisLookup_1_0/long.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<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> | ||
|
||
<div class="panel panel-info" ng-if="success"> | ||
<div class="panel-heading"> | ||
<strong>{{artifact.data | fang}}</strong> | ||
</div> | ||
<div class="panel-body"> | ||
<dl class="dl-horizontal"> | ||
<dt>Date of record</dt> | ||
<dd>{{content.whois.date}}</dd> | ||
</dl> | ||
<pre>{{content.whois.record}}</pre> | ||
</div> | ||
</div> |
2 changes: 2 additions & 0 deletions
2
contrib/report-templates/DomainTools_WhoisLookup_1_0/short.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<span ng-if="content.registrant" class="label label-info">REGISTRANT: {{content.registrant}}</span> | ||
<span ng-if="content.registrar" class="label label-info">REGISTRAR: {{content.registrar}}</span> |
21 changes: 21 additions & 0 deletions
21
contrib/report-templates/DomainTools_WhoisLookup_IP_1_0/long.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<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> | ||
|
||
<div class="panel panel-info" ng-if="success"> | ||
<div class="panel-heading"> | ||
<strong>{{artifact.data | fang}}</strong> | ||
</div> | ||
<div class="panel-body"> | ||
<dl class="dl-horizontal"> | ||
<dt>Date of record</dt> | ||
<dd>{{content.whois.date}}</dd> | ||
</dl> | ||
<pre>{{content.whois.record}}</pre> | ||
</div> | ||
</div> |
2 changes: 2 additions & 0 deletions
2
contrib/report-templates/DomainTools_WhoisLookup_IP_1_0/short.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<span ng-if="content.registrant" class="label label-info">REGISTRANT: {{content.registrant}}</span> | ||
<span ng-if="content.registrar" class="label label-info">REGISTRAR: {{content.registrar}}</span> |
Oops, something went wrong.