Skip to content

Commit cf5bd6a

Browse files
Update report-template
1 parent 87caf9f commit cf5bd6a

File tree

1 file changed

+24
-29
lines changed
  • thehive-templates/AIL_OnionLookup_1_0

1 file changed

+24
-29
lines changed

thehive-templates/AIL_OnionLookup_1_0/long.html

Lines changed: 24 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,14 @@
44
<i class="fa fa-user-secret text-primary"></i>
55
AIL Onion Lookup Report
66
<span class="pull-right">
7-
<span class="label label-danger" ng-if="content.tags && content.tags.indexOf('dark-web:topic=\"pornography-child-exploitation\"') !== -1">
8-
<i class="fa fa-exclamation-triangle"></i> CSAM Risk
7+
<span class="label label-info" ng-if="content.tags && content.tags.length">
8+
<i class="fa fa-tags"></i> {{content.tags.length}} tag(s)
99
</span>
1010
</span>
1111
</div>
1212
<div class="panel-body">
13-
<!-- CSAM Warning Alert -->
14-
<div class="alert alert-danger" ng-if="content.tags && content.tags.join('|').indexOf('pornography-child-exploitation') !== -1">
15-
<i class="fa fa-exclamation-triangle"></i>
16-
<strong>HIGH RISK - CSAM Content Detected:</strong>
17-
This onion service has been flagged for potential child exploitation material. Follow escalation procedures immediately.
18-
</div>
19-
20-
<!-- Standard Info Alert -->
21-
<div class="alert alert-info" ng-if="!content.tags || content.tags.join('|').indexOf('pornography-child-exploitation') === -1">
13+
<!-- Info Alert -->
14+
<div class="alert alert-info">
2215
<i class="fa fa-info-circle"></i>
2316
<strong>Intelligence Available:</strong>
2417
Data retrieved from AIL Project onion database.
@@ -37,15 +30,15 @@
3730
</a>
3831
</dd>
3932

40-
<dt><i class="fa fa-shield"></i> Risk Level</dt>
33+
<dt><i class="fa fa-database"></i> Detection Status</dt>
4134
<dd>
42-
<span class="label label-danger" ng-if="content.tags && content.tags.join('|').indexOf('pornography-child-exploitation') !== -1">
43-
<i class="fa fa-exclamation-triangle"></i>
44-
<span style="color: white;">HIGH RISK - CSAM</span>
35+
<span class="label label-success" ng-if="content.tags && content.tags.length">
36+
<i class="fa fa-check"></i>
37+
{{content.tags.length}} detection(s) found
4538
</span>
46-
<span class="label label-info" ng-if="!content.tags || content.tags.join('|').indexOf('pornography-child-exploitation') === -1">
47-
<i class="fa fa-info-circle"></i>
48-
Standard Monitoring
39+
<span class="label label-default" ng-if="!content.tags || content.tags.length === 0">
40+
<i class="fa fa-minus"></i>
41+
No detections
4942
</span>
5043
</dd>
5144
</dl>
@@ -82,20 +75,22 @@ <h4><i class="fa fa-info-circle text-info"></i> Intelligence Summary</h4>
8275
</div>
8376

8477
<!-- Tags Section -->
85-
<div ng-if="content.tags && content.tags.length" style="margin-top: 20px;">
78+
<div ng-if="content.tags_enriched && content.tags_enriched.length" style="margin-top: 20px;">
8679
<strong><i class="fa fa-tags text-info"></i> Detection Tags:</strong>
8780

8881
<div style="margin-top: 8px;">
89-
<span ng-repeat="tag in content.tags"
90-
class="label"
91-
ng-class="{
92-
'label-danger': tag.indexOf('dark-web:topic=\"pornography-child-exploitation\"') !== -1,
93-
'label-warning': tag.toLowerCase().indexOf('bitcoin') !== -1,
94-
'label-primary': tag.indexOf('dark-web:topic=\"pornography-child-exploitation\"') === -1 && tag.toLowerCase().indexOf('bitcoin') === -1
95-
}"
96-
style="margin: 2px;">
97-
{{tag}}
98-
</span>
82+
<div ng-repeat="tag_info in content.tags_enriched" style="margin-bottom: 8px;">
83+
<span class="label label-primary" style="margin-right: 4px;">
84+
{{tag_info.expanded || tag_info.original}}
85+
</span>
86+
87+
<div ng-if="tag_info.description" style="margin-top: 4px; padding: 8px; background-color: #fff3cd; border-left: 3px solid #ffc107; border-radius: 3px;">
88+
<small>
89+
<i class="fa fa-warning text-warning"></i>
90+
<strong>Context:</strong> {{tag_info.description}}
91+
</small>
92+
</div>
93+
</div>
9994
</div>
10095
</div>
10196

0 commit comments

Comments
 (0)