Parameters
The parent key for all of the following parameters is openshift4_compliance.
namespace
| type |
string |
| default |
|
The namespace in which to deploy this component.
scanSettings
| type |
dictionary |
| default |
|
The default scan settings for the operator.
scanSettingBindings
| type |
dictionary |
| default |
|
The default scan profile bindings for the operator.
scanSettingBindings.profiles_
| type |
list |
The profiles to be used for the scan setting binding. The component supports removing entries in this parameter by providing the entry prefixed with ~.
tailoredProfiles
| type |
dictionary |
| default |
{} |
A dictionary holding the tailored profiles for the operator.
alerts
operatorResources.compliance
| type |
dictionary |
| default |
see |
A dictionary holding the .spec.config.resources for OLM subscriptions maintained by this component.
Example
scanSettingBindings:
daily-cis-scan:
profiles_:
- ~ocp4-cis
tailored_:
- my-profile
tailoredProfiles:
my-profile:
spec:
description: A tailored profile, extending the upstream ocp4-cis profile.
disableRules:
- name: ocp4-audit-profile-set
rationale: |
`Default` audit log profile is good enough. We do not want the possible impact on cluster availability of `WriteRequestBodies`.
extends: ocp4-cis
title: tailored ocp4-cis profile