Skip to content

Commit

Permalink
Add tests for missing cloud hardening rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Yevhen Zavhorodnii committed May 30, 2024
1 parent f586b4f commit 34a2e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/security/risks/builtin/missing_cloud_hardening_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func (r *MissingCloudHardeningRule) GenerateRisks(input *types.Model) ([]*types.
}
}
}
for _, sR := range input.SharedRuntimesTaggedWithAny(r.SupportedTags()...) {
for _, sR := range input.SharedRuntimes {
r.addSharedRuntimeAccordingToBaseTag(sR, sharedRuntimesWithUnspecificCloudRisks,
sharedRuntimeIDsAWS, sharedRuntimeIDsAzure, sharedRuntimeIDsGCP, sharedRuntimeIDsOCP)
for _, candidateID := range sR.TechnicalAssetsRunning {
Expand Down

0 comments on commit 34a2e70

Please sign in to comment.