Skip to content

Commit

Permalink
Fix unnecessary data asset rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Yevhen Zavhorodnii committed Jun 11, 2024
1 parent a9f8835 commit 70c0133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/risks/builtin/unnecessary_data_asset_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (r *UnnecessaryDataAssetRule) createRisk(input *types.Model, unusedDataAsse
Title: title,
MostRelevantDataAssetId: unusedDataAsset.Id,
DataBreachProbability: types.Improbable,
DataBreachTechnicalAssetIDs: []string{unusedDataAsset.Id},
DataBreachTechnicalAssetIDs: []string{},
}
risk.SyntheticId = risk.CategoryId + "@" + unusedDataAsset.Id
return risk
Expand Down

0 comments on commit 70c0133

Please sign in to comment.