Skip to content

Commit

Permalink
Update Analyzer report for HybridAnalysis API V2 - Info when no resul…
Browse files Browse the repository at this point in the history
…ts returned
  • Loading branch information
nusantara-self authored Oct 23, 2024
1 parent 7191394 commit 9c14ea4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions thehive-templates/HybridAnalysis_GetReport_1_0/long.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@
Related Reports
</div>

<!-- Check if results array is empty -->
<div class="panel-body" ng-if="content.results && content.results.length === 0">
<div class="alert alert-info">
No results were returned.
</div>
</div>

<!-- Iterate over each result in results array -->
<div class="panel-body">
<div ng-repeat="report in content.results" ng-if="report">
Expand Down

0 comments on commit 9c14ea4

Please sign in to comment.