Chapter 19. Configuring and integrating the RHACS plugin with Red Hat Developer Hub
By configuring and integrating the Red Hat Advanced Cluster Security for Kubernetes (RHACS) plugin with Red Hat Developer Hub (RHDH), you can view the security information for your deployments in RHDH.
Integration of vulnerability findings into the RHDH 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.
19.1. Viewing security information in Red Hat Developer Hub Copy linkLink copied to clipboard!
By configuring and integrating the Red Hat Advanced Cluster Security for Kubernetes (RHACS) plugin with Red Hat Developer Hub (RHDH), you can access vulnerability data, assess risks, and take proactive security actions without leaving the RHDH environment.
Review the upstream plugin progress and details by visiting Community plugins for Backstage.
Prerequisites
You have enabled the RHACS plugin installation in RHDH.
For more information, see Installing dynamic plugins using the Helm chart (RHDH documentation).
Procedure
In the
app-config.yaml
file, add theproxy
andacs
stanzas by using the following content:Copy to Clipboard Copied! Toggle word wrap Toggle overflow To enable the RHACS plugin, perform the following steps:
- Navigate to the dynamic plugins configuration file in your RHDH setup.
To include the RHACS plugin, add the following content to the configuration file, for example:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
To add annotations for entities in the RHDH catalog, perform the following steps:
NoteTo display the vulnerability data, each component entity in the RHDH catalog must reference the RHACS deployments.
The following values are associated with the entities in the RHDH catalog:
-
API
-
Component
-
Domain
-
Group
-
Location
-
Resource
-
System
-
Template
-
User
- Navigate to the entity configuration file for your service in your RHDH setup.
Add the following annotation to the configuration file, for example:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
-
Verification
- In the RHDH portal, click Catalog.
- Click an entity and verify that the RHACS tab appears.
- To view the violations and vulnerability data, click the RHACS tab.
After you configure and integrate the RHACS plugin with RHDH, you need to rebuild the Open Container Initiative (OCI) artifact. See "Rebuilding the OCI artifact" for instructions.
19.2. Rebuilding the OCI artifact Copy linkLink copied to clipboard!
To rebuild the Open Container Initiative (OCI) artifact, update the repo-ref
field in the source.json
file to reference the new commit ID of the plugin repository.
Procedure
To rebuild the OCI artifact, update the
repo-ref
field in thesource.json
file, for example:ImportantYou can find the
source.json
file in theworkspaces/acs
directory of therhdh-plugin-export-overlays
repository.{"repo":"https://github.com/backstage/community-plugins","repo-ref":"19ddb7837c6823a253c87af9524f8aef26a90b35","repo-flat":false}
{"repo":"https://github.com/backstage/community-plugins","repo-ref":"19ddb7837c6823a253c87af9524f8aef26a90b35","repo-flat":false}
Copy to Clipboard Copied! Toggle word wrap Toggle overflow