Skip to content

Commit 6661bff

Browse files
committed
OCPBUGS-55181: Update NERC-CIP reference
The NERC-CIP references in the ComplianceAsCode/content were updated recently because they were pointing to a dead link (HTTP 404). ComplianceAsCode/content#12892 This commit updates the profile parser to use the same link. Without doing this, the rules won't contain annotations or controls for the NERC-CIP profile, even though the Compliance Operator has a profile for it.
1 parent 93614c0 commit 6661bff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/profileparser/profileparser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ func newStandardParser() *referenceParser {
840840
if crherr != nil {
841841
log.Error(crherr, "Could not register CIS Red Hat Linux reference parser") // not much we can do here..
842842
}
843-
nciperr := p.registerStandard("NERC-CIP", `^https://www\.nerc\.com/pa/Stand/Standard%20Purpose%20Statement%20DL/US_Standard_One-Stop-Shop\.xlsx$`)
843+
nciperr := p.registerStandard("NERC-CIP", `^https://www\.nerc\.com/pa/Stand/AlignRep/One%20Stop%20Shop\.xlsx$`)
844844
if nciperr != nil {
845845
log.Error(nciperr, "Could not register NERC-CIP reference parser") // not much we can do here..
846846
}

0 commit comments

Comments
 (0)