Skip to content

Commit

Permalink
#1378 Use the Alert.externalLink attribute to display alert links whe…
Browse files Browse the repository at this point in the history
…n defined.
  • Loading branch information
nadouani committed Jun 23, 2020
1 parent 0a99d25 commit 899884f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/app/views/partials/alert/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ <h3 class="box-title">List of alerts ({{$vm.list.total || 0}} of {{alertEvents.c
<td class="wrap">
<strong>
<span>{{::event.sourceRef}}</span>
<span ng-if="event.type === 'misp'" class="pl-xxs">
<a ng-href="{{$vm.urls[event.source]}}/events/{{event.sourceRef}}" target="_blank">

<span ng-if="event.externalLink" class="pl-xxs">
<a ng-href="{{event.externalLink}}" target="_blank">
<i class="fa fa-external-link"></i>
</a>
</span>
Expand Down

0 comments on commit 899884f

Please sign in to comment.