Integrate with Red Hat Lightspeed (formerly Insights)
Automation controller supports integration with Red Hat Lightspeed.
When a host is registered with Red Hat Lightspeed, it is scanned continually for vulnerabilities and known configuration conflicts. Each problem identified can have an associated fix in the form of an Ansible Playbook.
Red Hat Lightspeed users create a maintenance plan to group the fixes and can create a playbook to mitigate the problems. Automation controller tracks the maintenance plan playbooks through a Red Hat Lightspeed project.
Authentication to Red Hat Lightspeed through Basic Authorization is backed by a special credential, which must first be established in automation controller.
To run a Red Hat Lightspeed maintenance plan, you need a Red Hat Lightspeed project and inventory.
Create Red Hat Lightspeed credentials Copy linkLink copied!
To create a Red Hat Lightspeed credential, use the following procedure.
Before you begin Copy linkLink copied!
- To use token-based authentication, you must create a Red Hat service account to generate a Client ID and Client secret.
- Assign this service account to the appropriate User Access group with necessary permissions.
To enable integration between Ansible Automation Platform and Red Hat Lightspeed, assign the service account the following permissions:
- inventory:hosts:read (included in the Inventory Hosts viewer role)
- patch:read (included in the Patch viewer role)
- remediations:remediation:read and playbook-dispatcher:run:read (included in the Remediations user role)
You might consider associating your service account with an existing user access group that already has the required permissions, or creating a new user access group.
In adherence to security guidelines, service accounts are not automatically included in the default access group. To grant access, you must manually add them to the appropriate user access groups.
If you are not an organization administrator, you can create a service account and then ask your administrator to add your account to the appropriate user access groups.
After you have created a service account and assigned it the appropriate permissions, you can create a new credential for use with Red Hat Lightspeed.
Procedure Copy linkLink copied!
- If you receive a project sync failure, see the steps in Remediating a Red Hat Lightspeed inventory and check your analytics logs.
You must recreate existing credentials and reassociate them with existing projects and inventory sources to support token-based authentication.
Create a Red Hat Lightspeed project Copy linkLink copied!
Create an automation controller project linked to Red Hat Lightspeed and retrieve remediation playbooks. This streamlines your efforts to address vulnerabilities and keep system configurations.
Procedure Copy linkLink copied!
What to do next Copy linkLink copied!
If you want them to be updated to what is current in Red Hat Lightspeed, manually update the SCM-based project by clicking the Update
icon under the project’s available actions.
This process syncs your Red Hat Lightspeed project with your Red Hat Lightspeed account solution. Note that the status dot beside the name of the project updates once the sync has run.
Create a Red Hat Lightspeed inventory Copy linkLink copied!
The Red Hat Lightspeed playbook contains a hosts: line where the value is the hostname supplied to Red Hat Lightspeed, which can be different from the hostname supplied to automation controller.
Remediate a Red Hat Lightspeed inventory Copy linkLink copied!
Remediation of a Red Hat Lightspeed inventory enables automation controller to run Red Hat Lightspeed playbooks with a single click.
About this task Copy linkLink copied!
You can do this by creating a job template to run the Red Hat Lightspeed remediation.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
When complete, the job results in the Job Details page.

