Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Improve templates for SEKOIA analyzers #1093

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion thehive-templates/SEKOIAIntelligenceCenter_Context_1_0/long.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@ <h4>{{bundle.id}}</h4>
</div>
<div class="panel-body">
<div>
<dl class="dl-horizontal">
<dt>ID</dt>
<dd class="wrap">{{item.id}}</dd>
</dl>
<dl class="dl-horizontal">
<dt>Type</dt>
<dd class="wrap">{{item.type}}</dd>
<dd class="wrap">{{item.type}}<span ng-if="item.x_ic_is_source"> (source)</span><span ng-if="item.x_ic_is_sector"> (sector)</span></dd>
</dl>
<dl class="dl-horizontal" ng-if="item.aliases">
<dt>Aliases</dt>
Expand All @@ -25,6 +29,13 @@ <h4>{{bundle.id}}</h4>
</div>
</dd>
</dl>
<dl class="dl-horizontal">
<dt>Tags</dt>
<dd>
<span class="label label-danger" style="margin: 2px;" ng-if="item.revoked" >Revoked</span>
<span class="label label-success" style="margin: 2px;" ng-if="!item.revoked" >Not Revoked</span>
</dd>
</dl>
<dl class="dl-horizontal">
<dt>Description</dt>
<dd class="wrap">{{item.description || 'No description' }}</dd>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@ <h2 ng-if="content.results.length > 0">{{content.results.length}} Indicator(s)</
</div>
<div class="panel-body">
<div>
<dl class="dl-horizontal">
<dt>ID</dt>
<dd class="wrap">{{item.id}}</dd>
</dl>
<dl class="dl-horizontal">
<dt>Tags</dt>
<dd>
<span class="label label-danger" style="margin: 2px;" ng-if="item.revoked" >Revoked</span>
<span class="label label-success" style="margin: 2px;" ng-if="!item.revoked" >Not Revoked</span>
</dd>
</dl>
<dl class="dl-horizontal">
<dt>Description</dt>
<dd class="wrap">{{indicator.description || 'No description' }}</dd>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ <h2 ng-if="content.results.length > 0">{{content.results.length}} Observable(s)<
</div>
<div class="panel-body">
<div>
<dl class="dl-horizontal">
<dt>ID</dt>
<dd class="wrap">{{item.id}}</dd>
</dl>
<dl class="dl-horizontal" ng-if="observable.value">
<dt>Value</dt>
<dd class="wrap">{{observable.value | fang}}</dd>
Expand Down