Skip to content

Commit

Permalink
fips checks for head bundles only
Browse files Browse the repository at this point in the history
  • Loading branch information
bentito committed Nov 7, 2023
1 parent 6a330e8 commit 8822a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/index/bundles/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ func GetDataFromFBC(report index.Data) (index.Data, error) {
auditBundle.IsHeadOfChannel = true
}
}
if flags.StaticCheckFIPSCompliance {
if flags.StaticCheckFIPSCompliance && auditBundle.IsHeadOfChannel {
err = handleFIPS(auditBundle.OperatorBundleImagePath, csv, report)
if err != nil {
// Check for specific error types and provide more informative messages
Expand Down

0 comments on commit 8822a9c

Please sign in to comment.