Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

How I used Red Hat Lightspeed image builder to create CIS (and more) compliant images

November 24, 2025
John Spinks
Related topics:
Automation and managementHybrid cloudLinuxSecurity
Related products:
Red Hat Enterprise LinuxRed Hat Lightspeed

    In my role as a Technical Marketing Manager at Red Hat, I take every opportunity I get to use our products and tools in the same way that we recommend a customer to use them. With that in mind, as I prepare to talk to people and demo Red Hat Lightspeed (formerly known as Red Hat Insights) and specifically the Red Hat Lightspeed compliance service, I need a number of Red Hat Enterprise Linux (RHEL) systems to be evaluated for regulatory compliance to a policy like Center for Internet Security (CIS) Level 1 Server.

    To set this up, I used to build the RHEL servers. I’d configure the disks, set host names, install packages, adjust settings, then run a scan using the Red Hat Lightspeed compliance service.

    After reviewing the scan, I would evaluate the results to see what I could quickly fix through Red Hat Lightspeed built-in playbooks, and then run a new scan. I’d repeat this process several times until I got the system into the state I wanted it. For a demo I wanted a few systems with a high pass rate - 95+% compliant and a few systems in need of some work.

    This took me hours. I automated some of this, but I didn’t do it frequently enough to really worry about a repeatable build. That is, until I needed to build new systems with a new operating system version. For example, I had RHEL 8 systems and I needed to get to RHEL 9. I’m going to need to do this again soon with RHEL 10. I could upgrade, but for a variety of reasons I wanted to rebuild.

    This iterative process is very similar to how customers perform their own "change-test-repeat" iterations to reach a final, self-validated standard gold image. This often involves multiple members within an organization providing review and sign-off. There has to be a simpler and easier way to create a compliant image.

    And of course, there is.

    Red Hat Lightspeed image builder includes the capability to create images that are compliant to a wide set of regulatory policies and frameworks.

    Using Red Hat Lightspeed image builder

    First, log in to the Red Hat Hybrid Cloud Console and find the Image Builder tile. Click the Images link (Figure 1).

    Image Builder tile shown in the Red Hat Hybrid Cloud Console UI.
    Figure 1: Accessing Red Hat Lightspeed image builder from the Red Hat Hybrid Cloud Console.

    Note: If you don’t see an Image Builder tile as shown, you might need to click the Add widgets button in the upper right and add it. Alternatively you can search from the menu at the top.

    In the Image Builder screen, click the Create image blueprint button to launch a wizard to create a new blueprint. In the Security step of this wizard, you can type in an OpenSCAP profile. Type CIS to see all CIS policies in OpenSCAP (Figure 2). These are standard benchmark profiles. 

    The OpenSCAP profile dropdown in the Red Hat Lightspeed image builder.
    Figure 2: The OpenSCAP profile dropdown in the Red Hat Lightspeed image builder.

    If you're already using the Red Hat Lightspeed compliance service, and you already have a policy set up and customized, then you can select Use a custom compliance policy at the top and select a policy (Figure 3).

    Red Hat Lightspeed image builder custom compliance policy drop-down.
    Figure 3: Selecting an existing custom policy.

    Selecting a policy will load information that Red Hat Lightspeed image builder would need to create an image that meets the specifications in the policy.

    For example, CIS Level 1 Server requires /tmp to be a separate mount point. Image builder configures this automatically—I just need to adjust the partition size to my desired size (Figure 4). I could keep this smaller size and then automate expanding partition sizes at provisioning time using cloud-init, first boot scripts, or have Ansible configure it after it is provisioned.

    OpenSCAP selection automatically sets other options for you in Red Hat Lightspeed image builder.
    Figure 4: OpenSCAP selection automatically sets other options for you in Red Hat Lightspeed image builder.

    The policy rules apply changes like packages to include, services to enable or disable, and any kernel arguments.

    Red Hat Lightspeed image builder allows you to make customizations as you continue through the wizard, and by the end you've created an image.

    Results that work

    For my purposes, I created an image in AWS and created several systems from the resulting Amazon machine image (AMI). When I used Red Hat Lightspeed compliance to evaluate these systems, the result was a system that was 100% compliant with my policy (Figure 5).

    Compliance status for the CIS Red Hat Enterprise Linux 9 Benchmark for Level 1 - Server shows a 'Compliant' status with a score of 100%, despite 3 rules failing.
    Figure 5: 100% compliant to policy with 3 failed rules.

    There were only 3 rules that failed (due to the way OpenSCAP weighs rules and calculates scores, a 100% compliant result is possible while still having individual failed rules). When I looked at the failures, they were all things that made sense for an AWS deployment like "Limit users’ SSH access". If I wanted to, I could further customize the policy to not scan for this rule or make changes to the system so that this rule will pass for future scans.

    Interactive demos

    This interactive demo walks you through evaluating and remediating for regulatory compliance. This includes creating, customizing, and viewing reports for the policy. The hosts shown in this interactive demo are RHEL 8 hosts that were built the old way with lots of failed rules.

    If you want to see how to use Red Hat Lightspeed image builder to create compliant images, check out this interactive demo on Building and launching compliant images.

    Compliance, simplified

    A process that used to take me hours was drastically simplified down to just a few minutes. With my image built, I was able to re-deploy quickly, so when it comes time to move to RHEL 10 I know this can save me a lot of time.

    Red Hat Lightspeed image builder drastically simplified how I create compliant systems in my environment. If you're struggling to create compliant images, then I encourage you to give it a try.

    Recent Posts

    • Red Hat Hardened Images: Top 5 benefits for software developers

    • How EvalHub manages two-layer Kubernetes control planes

    • Tekton joins the CNCF as an incubating project

    • Federated identity across the hybrid cloud using zero trust workload identity manager

    • Confidential virtual machine storage attack scenarios

    What’s up next?

    Red Hat Lightspeed, formerly known as Red Hat Insights, is an end-to-end system management tool that predicts risks across Red Hat platforms, recommends actions, and tracks costs. This cheat sheet covers how to use Red Hat Lightspeed APIs to get system details and findings and interact with specific Lightspeed applications.

    Get the cheat sheet
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.