Skip to content

Commit

Permalink
#214 Use Risk as analyzer's name to get is simple
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Jul 5, 2018
1 parent 8f90881 commit 23c381b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "DomainTools_RiskEvidence",
"name": "DomainTools_Risk",
"version": "2.0",
"author": "CERT-BDF",
"url": "https://github.com/TheHive-Project/Cortex-Analyzers",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,13 @@ <h4 class="panel-title">Components</h4>
<tr ng-repeat="r in content.components">
<td>{{r.name}}</td>
<td>
<span class="label" ng-class="{'label-success' : content.risk_score == 0, 'label-warning' : content.risk_score > 0 && content.risk_score <= 50,
'label-danger': content.risk_score > 50}">
<span class="label" ng-class="{'label-success' : r.risk_score == 0, 'label-warning' : r.risk_score > 0 && r.risk_score <= 50,
'label-danger': r.risk_score > 50}">
{{r.risk_score}}

</span>
<span ng-init="">
<uib-progress max=100 value="{{r.risk_score}}"></uib-progress>
</span>
</td>
<td>
Expand Down

0 comments on commit 23c381b

Please sign in to comment.