Skip to content

Commit

Permalink
Add BSI reference parser
Browse files Browse the repository at this point in the history
This adds BSI to the standards annotation:
'policies.open-cluster-management.io/standards: BSI'

And adds the requirement number to the following annotaions::
- 'control.compliance.openshift.io/BSI'
- 'policies.open-cluster-management.io/controls'
  • Loading branch information
yuumasato committed Aug 30, 2024
1 parent 2b1c972 commit 614012f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/profileparser/profileparser.go
Original file line number Diff line number Diff line change
Expand Up @@ -814,6 +814,10 @@ func newStandardParser() *referenceParser {
if err != nil {
log.Error(err, "Could not register NIST-800-53 reference parser") // not much we can do here..
}
bsiperr := p.registerStandard("BSI", `^https://www\.bsi\.bund\.de/SharedDocs/Downloads/EN/BSI/Grundschutz/International/bsi_it_gs_comp_2022\.pdf$`)
if bsiperr != nil {
log.Error(bsiperr, "Could not register BSI reference parser") // not much we can do here..
}
cocperr := p.registerStandard("CIS-OCP", `^https://www\.cisecurity\.org/benchmark/kubernetes/$`)
if cocperr != nil {
log.Error(cocperr, "Could not register CIS OpenShift reference parser") // not much we can do here..
Expand Down

0 comments on commit 614012f

Please sign in to comment.