Permalink
Browse files

Fix risk target calculation

  • Loading branch information...
jfrocha committed Nov 9, 2018
1 parent 75ab160 commit 199db6c1a59fe6cfead19bcc63d99c0b52f711aa
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/MonarcCore/Service/InstanceRiskService.php
@@ -348,7 +348,7 @@ public function updateRisks($instanceRisk, $last = true)
$risks[] = $riskI;
$impacts[] = $instance->i;
}
if ($instanceRisk->threat->d) {
if ($instanceRisk->threat->a) {
$risks[] = $riskD;
$impacts[] = $instance->d;
}

0 comments on commit 199db6c

Please sign in to comment.