Scheduling compliance scans and assessing profile compliance is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process. For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope. |
You can create and manage compliance scan schedules on the schedules page that meet your operational needs. You can only have one schedule that scans the same profile on the same cluster.
By viewing and filtering the scan results on the coverage page, you can monitor the compliance status across all clusters.
By creating a compliance scan schedule, you can customize and automate your compliance scans to align with your operational requirements.
You can only have one schedule that scans the same profile on the same cluster. This means that you cannot create multiple scan schedules for the same profile on a single cluster. |
You have installed the Compliance Operator.
For more information about how to install the Compliance Operator, see "Using the Compliance Operator with Red Hat Advanced Cluster Security for Kubernetes".
|
In the RHACS portal, click Compliance → Schedules.
Click Create scan schedule.
In the Create scan schedule page, provide the following information:
Name: Enter a name to identify different compliance scans.
Description: Specify the reason for each compliance scan.
Schedule: Adjust the scan schedule to fit your required schedule:
Frequency: From the drop-down list, select how often you want to perform the scan.
The following values are associated with how often you want to perform the scan:
Daily
Weekly
Monthly
On day(s): From the list, select one or more days of the week on which you want to perform the scan.
The following values are associated with the days of the week on which you want to perform the scan:
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
The first of the month
The middle of the month
These values are only applicable if you specify the frequency of scan as |
Time: Start to type the time in hh:mm
at which you want to run the scan. From the list that is displayed, select a time.
Click Next.
In the Clusters page, select one or more clusters that you want to include in the scan.
Click Next.
In the Profiles page, select one or more profiles that you want to include in the scan.
Click Next.
Optional: To configure email delivery destinations for manually triggered reports, perform the following steps:
You can add one or more delivery destinations. |
Expand Add delivery destination.
In the Delivery destination page, provide the following information:
Email notifier: Select an email notifier from the drop-down list.
Optional: To configure the setting for a new email notifier integration, perform the following steps:
From Select a notifier drop-down list, click Create email notifier.
In the Create email notifier page, provide the following information:
Integration name: Enter a unique name for the email notifier. This name helps you identify and manage this specific email notifier configuration.
Email server: Specify the address of the SMTP server that you want to use to send the emails.
Username: Enter the username that is required for authentication with the SMTP server. This is often the email address used for sending the emails.
Password: Enter the password associated with the SMTP username. This password is used for authentication with the SMTP server.
From: This address usually represents the sender of the emails and is visible to the recipients. This is optional.
Sender: Enter the name of the sender, which is displayed together with the From email address. This name helps recipients identify who sent the email.
Default recipient: Enter the default email address that should receive the notifications if no specific recipient is specified. This ensures that there is always a recipient for the emails.
Annotation key for recipient: Specify the annotation key to define a recipient that you want to notify about the policy violations related to a specific deployment or namespace. This is optional.
Optional: Select the Enable unauthenticated SMTP checkbox, if your SMTP server does not require authentication. This is not recommended due to security reasons.
Optional: Select the Disable TLS certificate validation (insecure) checkbox, if you want to disable TLS certificate validation. This is not recommended due to security reasons.
Optional: In the Use STARTTLS (requires TLS to be disabled) field, select the type of STARTTLS for securing the connection to the SMTP server from the drop-down list.
To use this option, you must disable TLS certificate validation. |
The following values are associated with the type of STARTTLS for securing the connection to the SMTP server:
Disabled
Data is not encrypted.
Plain
Encodes username and password in base64.
Login
Sends username and password as separate base64-encoded strings for added security.
Click Save integration.
Distribution list: Enter one or more comma-separated email addresses of the recipients who should receive the report.
Email template: The default template is automatically applied.
Optional: To customize the email subject and body as needed, perform the following steps:
Click the pencil icon.
In the Edit email template page, provide the following information:
Email subject: Enter the desired subject line for the email. This subject is displayed in the recipient’s inbox and should clearly indicate the purpose of the email.
Email body: Compose the text of the email. This is the main content of the email and can include text, placeholders for dynamic content and any formatting necessary to get your message across effectively.
Click Apply.
Click Next.
Review your scan configuration, and then click Save.
In the RHACS portal, click Compliance → Schedules.
Select the compliance scan you have created.
In the Clusters section, verify that the operator status is healthy.
Optional: To edit the scan schedule, perform the following steps:
From the Actions drop-down list, select Edit scan schedule.
Make your changes.
Click Save.
Optional: To manually send a scan report:
You can only send a scan report manually if you have configured an email delivery destination. |
From the Actions drop-down list, select Send report.
You receive a confirmation that you have requested to send a report.
By viewing the coverage page, you can assess the profile compliance for nodes and platform resources across clusters.
You have installed the Compliance Operator.
For more information about how to install the Compliance Operator, see "Using the Compliance Operator with Red Hat Advanced Cluster Security for Kubernetes".
|
You have created a compliance scan schedule.
For more information about how to create a compliance scan schedule, see "Customizing and automating your compliance scans".
In the RHACS portal, click Compliance → Coverage.
When you view the coverage page and apply a filter to a schedule, all results are filtered accordingly. This filter remains active for all coverage pages until you delete it. You can always view the results based on a single profile.
You can select profiles grouped according to their associated benchmarks by using the toggle group. You calculate the compliance percentage based on the number of passed checks in relation to the total number of checks.
The Checks view lists the profile checks and enables you to easily navigate and understand your compliance status.
The profile check information is organized into the following groups:
Check: The name of the profile check.
Controls: Shows the various controls associated with each check.
Fail status: Shows the checks that have failed and require your attention.
Pass status: Shows the checks that have been successfully passed.
Manual status: Shows the checks that require a manual review because additional organizational or technical knowledge is required that you cannot automate.
Other status: Shows the checks with a status other than pass or fail, such as warnings or informational statuses.
Compliance: Shows the overall compliance status and helps you to ensure that your environment meets the required standards.
The Clusters view lists the clusters and enables you to effectively monitor and manage your clusters.
The cluster information is organized into the following groups:
Cluster: The name of the cluster.
Last scanned: Indicates when the individual clusters were last scanned.
Fail status: Shows the clusters whose scan has failed and which require your attention.
Pass status: Shows the clusters that have successfully passed all checks.
Manual status: Shows the checks that require a manual review because additional organizational or technical knowledge is required that you cannot automate.
Other status: Shows the clusters that have a status other than pass or fail, such as warnings or informational alerts.
Compliance: Shows the overall compliance status of your clusters and helps you to ensure that they meet the required standards.
By viewing the status of a profile check, you can efficiently monitor and analyze the health of your clusters.
Wait until the Compliance Operator returns the scan results. It might take a few minutes. |
In the RHACS portal, click Compliance → Coverage.
Select a cluster to view the details of the individual scans.
Optional: Enter the name of the profile check in the Filter by keyword box to view the status.
Optional: From the Compliance status drop-down list, select one or more statuses by using which you want to filter the scan details.
The following values are associated with how you want to filter the scan details:
Pass
Fail
Error
Info
Manual
Not Applicable
Inconsistent
By understanding the compliance scan status, you can manage the overall security posture of your environment.
Status | Description |
---|---|
|
The compliance check failed. |
|
The compliance check passed. |
|
Skipped the compliance check because it was not applicable. |
|
The compliance check gathered data, but RHACS could not make a pass or fail determination. |
|
The compliance check failed due to a technical issue. |
|
Manual intervention is required to ensure compliance. |
|
The compliance scan data is inconsistent, and requires closer inspection and targeted resolution. |