Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
caffix committed Oct 18, 2024
1 parent 7ce209e commit ba9988e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/plugins/horizontals/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func (h *horizPlugin) addAssociatedRelationship(e *et.Event, assocs []*scope.Ass
conf = matches.Confidence(tstr)
}

if match, result := e.Session.Scope().IsAssetInScope(impacted.Asset, conf); result > 0 && match != nil {
if match, result := e.Session.Scope().IsAssetInScope(impacted.Asset, conf); result >= conf && match != nil {
if a, hit := e.Session.Cache().GetAsset(match); hit && a != nil {
for _, assoc2 := range e.Session.Scope().AssetsWithAssociation(e.Session.Cache(), a) {
h.makeAssocRelationshipEntries(e, assoc.Match, assoc2)
Expand Down

0 comments on commit ba9988e

Please sign in to comment.