How to Create SBOM with Xygeni

Understanding how to create SBOMs is paramount for anyone involved in software development and security. An SBOM is not just a list; it’s a comprehensive inventory that details every component that goes into creating software, including versions, dependencies, and patches. This depth of insight is indispensable for assessing risks, managing software supply chains, and ensuring regulatory compliance.

Unpacking the SBOM

At its core, an SBOM provides a bird’s-eye view of the software ecosystem, revealing each component’s version, patch status, and the web of dependencies interlinking them. This transparency is crucial. For instance, identifying an outdated or vulnerable component through the SBOM can expedite the decision-making process regarding updates or replacements, fortifying the software’s security posture.

The Multifaceted Importance of SBOMs
  • Risk Assessment and Management: By delineating every software component, SBOMs enable stakeholders to pinpoint potential risks and devise strategies to mitigate them effectively.
  • Supply Chain Management: SBOMs are pivotal for overseeing the software supply chain and facilitating seamless collaboration within an organization and with external vendors.
  • Regulatory Compliance: Now that regulations are becoming increasingly stringent, SBOMs are vital for ensuring software compliance with industry standards and legal requirements.
Navigating the Challenges

Despite their apparent advantages, SBOMs come with their set of challenges. The lack of standardization across the industry is a significant hurdle, making it difficult for stakeholders to compare and interpret SBOM data uniformly. Furthermore, gathering comprehensive and accurate component information, especially from third-party vendors, remains daunting. The interoperability and automation issues also complicate the seamless integration of SBOMs into existing software development and management frameworks.

However, the future of SBOMs is bright, fueled by technological advancements and a growing recognition of their importance in ensuring software security and compliance. Efforts are underway to overcome the challenges of standardization and interoperability, with both the industry and governmental bodies showing increased interest in leveraging SBOMs as a cornerstone of digital security strategies.

Elevating Software Security with SBOM: A Necessity

In the intricate web of today’s software development and deployment practices, the Software Bill of Materials (SBOM) stands out as a beacon of security, transparency, and compliance. As we delve deeper into the digital age, where software not only supports but drives critical infrastructure and business operations, the role of SBOMs in ensuring the integrity and security of software applications has never been more pivotal. This post explores the essence of SBOMs, their critical importance in the software development lifecycle, and their multifaceted benefits.

Unveiling the Software Bill of Materials (SBOM)

An SBOM is far more than a simple list; it’s a comprehensive dossier detailing every software system component, including open-source libraries, proprietary code, and commercial software. It provides a transparent view of the software’s anatomy, revealing each component’s version, dependencies, and compliance with security standards. Unlike conventional inventory lists, SBOMs grant stakeholders a granular look into the software supply chain, enabling meticulous tracking of dependencies and their relationships.

The Imperative Need for SBOM

The digital ecosystem’s evolution has been shadowed by a rise in software vulnerabilities and security breaches, with cyberattacks exploiting these weaknesses becoming distressingly commonplace. Incidents like the Log4j vulnerability underscore the dire consequences of overlooking software supply chain security. Recognizing this, regulatory bodies and industry leaders are rallying for the widespread adoption of SBOMs. Initiatives by entities such as the U.S. Cybersecurity and Infrastructure Security Agency (CISA) and the National Telecommunications and Information Administration (NTIA) underscore the movement towards mandatory SBOM creation and management.

The Multifold Benefits of SBOM

Equipping your software with an SBOM is akin to having a blueprint for a building—it lets you peer into the structure to understand its composition and integrity. Here are the critical advantages of implementing an SBOM:

  • Enhanced Supply Chain Security: By offering an exhaustive view of the software supply chain, SBOMs allow organizations to pinpoint and address vulnerabilities within third-party components, fortifying their digital ecosystems against potential threats.
  • Streamlined Vulnerability Management: SBOMs are vital in vulnerability management by detailing component-specific information, including known vulnerabilities and version details. It empowers organizations to identify and remedy security issues swiftly, significantly lowering the risk of exploitation.
  • Efficient Software Asset Management: Beyond security, SBOMs facilitate robust software asset management by enabling precise tracking of licenses, software usage, and compliance with licensing agreements, thereby optimizing procurement and cost management.
  • Improved Incident Response: In the wake of a security incident, SBOMs offer invaluable insights into affected components, aiding organizations in assessing impact, pinpointing vulnerable systems, and accelerating remediation efforts.
  • Boosted Trust and Competitive Edge: Transparency fostered by SBOMs builds trust among customers, partners, and regulatory bodies, showcasing an organization’s dedication to security and differentiating it in a competitive market.
Embracing SBOM: A Path to Secure and Compliant Software Development

Integrating robust security measures into the development process is imperative as the software industry evolves. SBOMs emerge as a critical tool in this endeavor, enhancing supply chain security, streamlining vulnerability management, and ensuring regulatory compliance. Adopting SBOM practices signals a commitment to not just security but also to transparency and resilience in a digital ecosystem that’s more interconnected than ever.

Watch Xygeni Video Demo
Explore Xygeni's Features Watch our Video Demo

Understanding SBOM Formats

The Software Bill of Materials (SBOM) has emerged as an indispensable tool for enhanced application security and regulatory compliance. Offering clarity on the myriad components that constitute software, SBOMs have revolutionized how companies approach software transparency. Crucially, they have standardized the documentation process through specific formats, significantly reducing inconsistencies in manual record-keeping. SPDX and CycloneDX stand out among the available formats, each with unique strengths tailored to different organizational needs.

SPDX: The Comprehensive Choice for Large Enterprises

Software Package Data Exchange (SPDX) is a robust open standard developed under the Linux Foundation’s guidance. It excels in cataloging software components, licenses, security references, and other critical metadata to enhance license compliance. However, its utility extends far beyond, facilitating greater transparency and security across the software supply chain.

SPDX’s machine-readable format boasts consistency across industries, eliminating the need to reformat data and simplifying sharing. This feature is particularly beneficial for compliance and security efficiency. With ISO accreditation, SPDX is a heavyweight in the realm of SBOM formats, favored by major corporations like Intel and Microsoft. It suits entities deeply integrated with Linux, open-source projects, and commercial software development.

  • Strengths: SPDX’s detailed approach offers a comprehensive view of the software supply chain, from package to file-level data. Its extensive capacity for annotations ensures a thorough documentation process, making it an all-encompassing choice.
  • Weaknesses: The format’s detailed and expansive nature might be overwhelming for smaller organizations or projects where simplicity and agility are prioritized.
CycloneDX: A Lightweight Alternative for Agile Teams

CycloneDX, birthed by the Open Worldwide Application Security Project (OWASP), presents a lighter alternative to SPDX. Despite their similarities, CycloneDX distinguishes itself by reducing cyber risk across the entire stack, supporting various BOM types, including SBOM, SaaSBOM, HBOM, OBOM, VDR, and VEX. It offers standards in XML, JSON, and protocol buffers, backed by many tools for creation and interoperability, under the stewardship of the CycloneDX Core Working Group.

  • Strengths: Its agility and simplified detail level make CycloneDX user-friendly and highly adaptable, ideal for quick-paced environments.
  • Weaknesses: The trade-off for its lighter weight is less inclusivity, potentially omitting details that could be crucial for some organizations.
Choosing the Right SBOM Format for Your Organization

Deciding between SPDX and CycloneDX hinges on assessing your organization’s size, complexity, and specific needs. For large enterprises seeking a thorough documentation process, SPDX offers an unparalleled depth of detail. Conversely, CycloneDX provides an efficient and agile solution for organizations valuing speed and simplicity.


Vulnerability Disclosure Reports (VDR) in Software Security

Implementing Vulnerability Disclosure Reports (VDR) is a cornerstone practice for enhancing software transparency and safeguarding against potential threats in software development and cybersecurity. With the increasing complexity of software supply chains and the escalating sophistication of cyber threats, VDRs offer a systematic approach to identifying, documenting, and addressing vulnerabilities within software products.

Understanding Vulnerability Disclosure Reports (VDR)

A Vulnerability Disclosure Report (VDR) is an in-depth documentation that provides a comprehensive overview of all known vulnerabilities affecting a product or its dependencies. It extends beyond mere listing to include an analysis of these vulnerabilities’ impact on the product and delineating plans for addressing identified vulnerabilities. The essence of a VDR lies in its ability to offer a clear, concise, and actionable report that aids in proactively managing software vulnerabilities.

The Importance of VDR in Software Security
  • Enhanced Transparency: VDRs serve as a testament to a software vendor’s commitment to transparency, providing end users and stakeholders with a clear understanding of the security posture of their software products.
  • Proactive Vulnerability Management: By detailing vulnerabilities and their potential impacts, VDRs enable organizations to take preemptive actions to mitigate risks before malicious actors can exploit them.
  • Compliance and Trust: VDRs contribute to compliance efforts by systematically documenting vulnerabilities and remediation steps in industries regulated by stringent cybersecurity standards. This, in turn, fosters trust among customers and partners.
  • Streamlined Remediation Process: With VDRs, software vendors can offer insights into planned or completed remediation efforts, facilitating the vulnerability management process and ensuring timely responses to potential threats.
Operationalizing VDR: Best Practices

To maximize the effectiveness of Vulnerability Disclosure Reports, software vendors and organizations should consider the following best practices:

  • Timely and Regular Updates: VDRs should be updated regularly and in response to discovering new vulnerabilities to ensure they accurately reflect the current security landscape of the software product.
  • Comprehensive Coverage: A VDR should encompass all known vulnerabilities, regardless of their source, internal findings, third-party disclosures, or public vulnerability databases.
  • Clear Communication: The information within a VDR should be presented in a clear, understandable manner, making it accessible to all relevant stakeholders, including non-technical audiences.
  • Secure and Accessible Distribution: Ensure VDRs are securely distributed to stakeholders while maintaining accessibility. Use secure portals or encrypted communications to share these reports with the intended audience.
The Future of VDR in Software Security

As software ecosystems continue to evolve, the role of Vulnerability Disclosure Reports will undoubtedly expand. Integrating VDRs into software development and cybersecurity practices is not merely a trend but a necessity in the face of growing digital threats. By adopting VDRs, organizations can mitigate risks and demonstrate a solid commitment to software security, building trust with users and stakeholders.

Generating SBOMs with Xygeni WebUI

Xygeni stands out in the software development and cybersecurity landscape for its robust capability to generate Software Bill of Materials (SBOMs) in CycloneDX and SPDX formats and integrated Vulnerability Disclosure Reports (VDR).

Xygeni provides a user-friendly Web User Interface (WebUI) to generate SBOMs effortlessly for users who prefer a graphical interface over command-line tools. This chapter guides you through generating an SBOM using Xygeni’s WebUI, from login to download.

Step 1. Logging Into Xygeni WebUI:

Access Xygeni’s WebUI through your browser. You can log in using your standard user credentials (username and password) or opt for a 3rd party validator for added convenience. You must also authenticate if you have two-factor authentication (2FA) configured for your account. This initial step ensures your access is secure and personalized to your specific projects and preferences.

Step 2. Selecting Your Project:

Once logged in, you’ll be presented with the dashboard with a project selector or a list of your projects. Navigate through this list and click on the project name for which you want to generate an SBOM. This action will give you a detailed view of that project, where you can manage and inspect various aspects of your software’s components and dependencies.

Step 3. Downloading the SBOM:

Within the project details page, look for an option labeled “Download SBOM” that indicates the generation and downloading of an SBOM. Upon finding it, click to select the desired format for your SBOM. Xygeni supports multiple formats for SBOMs, including widely recognized standards such as CycloneDX and SPDX. After choosing the format, the platform will generate the SBOM file. Once the generation process is complete, you’ll be prompted to download the file to your local system. This file encapsulates all the necessary information about your software’s components in the selected format, ready for compliance, security, or audit needs.

Step 4. Accessing SBOM from the Inventory Section:

Alternatively, you can access the SBOM generation feature directly from the inventory section of your project. This section provides a comprehensive view of all software components associated with your project. Look for a slide-out associated with each project in the inventory list that offers additional actions. You can generate and download the SBOM for the respective project among these options. This method provides a quick and efficient way to navigate directly to the SBOM generation feature without going through the project details page.

Following these simple steps, you can quickly produce a detailed bill of materials that meets your compliance and security requirements. Whether managing a single project or overseeing multiple software endeavors, Xygeni’s WebUI provides a seamless and intuitive interface to support your SBOM generation needs.

Create SBOMs with Xygeni 

This chapter will walk you through the installation process of the Xygeni scanner, setting it up, and generating SBOMs with VDR reports, ensuring your projects are secure, compliant, and transparent.

Installation of Xygeni Scanner

Before diving into the SBOM generation, ensure you have met all prerequisites for the Xygeni scanner. You will need an API token, which should be stored in the XYGENI_TOKEN environment variable for the installation process.

Step 2. Run the Installation Script

Setting Up Quick Access to Xygeni Scanner

To facilitate easy access to the Xygeni scanner, consider adding it to your PATH or setting an alias. This allows you to run the scanner with just the xygeni command.

Generating SBOMs with VDR Reports

With Xygeni CLI installed and accessible, you can now generate SBOMs that include VDR reports. Xygeni supports generating SBOMs in CycloneDX and SPDX formats, ensuring you can choose the format that best fits your project’s needs and compliance requirements.

Step 3. Navigate to Your Project Directory:

Ensure you’re in the root directory of your project, where your software components are defined.

Step 4. Generate the SBOM:

To generate an SBOM, use the xygeni command followed by the options for specifying the SBOM format and output file. Xygeni automatically integrates VDR reports into the generated SBOM.


Replace cyclonedx with spdx if you prefer the SPDX format.

Generating an SBOM with integrated VDR reports using Xygeni CLI is a straightforward process that significantly enhances the security and transparency of your software projects. Following these steps ensures that your project adheres to the best software supply chain security practices, providing detailed insights into the components and their vulnerabilities.

Integrating SBOM Generation into CI/CD Pipelines Using Xygeni

The ability to automatically generate Software Bills of Materials (SBOMs) during the CI/CD process is critical to enhancing software transparency and security. Xygeni, a comprehensive tool for SBOM generation, seamlessly integrates into CI/CD pipelines, providing detailed insights into software components at every build. This guide outlines the process of automating SBOM generation with Xygeni within CI/CD pipelines, ensuring your software builds are efficient and secure.

Automating SBOM Generation

Automating SBOM generation is vital to operationalizing SBOMs in your CI/CD pipeline, ensuring that each software build automatically creates an SBOM. Xygeni supports this functionality, allowing for the insertion of SBOM generation tasks within the CI/CD process. It ensures that any changes in the software can be analyzed and security issues can be identified and remediated at the earliest possible stage.

Where to Run Xygeni for SBOM generation:

  • CI/CD Pipelines: The most common integration point, where Xygeni scans are added as part of security testing steps.
  • Build Automation Tools: Run Xygeni scans via the command-line interface in build files executed by build automation tools.

Which Pipelines to Monitor:

Perform full scans during nightly or weekly scheduled builds, including inventory and compliance scans.

  • For frequently triggered pipelines, such as those on push or merge request events, run a subset of scans focusing on secrets, code tamper, or open source components, depending on the project’s ecosystem.
  • In CD pipelines or any pipeline, including resource provisioning or IaC templates, run the IaC scan to address security in Dockerfiles, Kubernetes manifests, Helm charts, and similar configurations.

Configuring Scans

For a comprehensive SBOM, the scan command is recommended, with the ability to exclude specific scans using the –skip option. For example, use –-skip iac if your project doesn’t contain IaC templates.

SBOM Generation: To generate an SBOM for downstream software, include SBOM-related options like –sbom and –sbom-format in your scan command. This SBOM can then be distributed to third parties as needed.

Installing Xygeni into Target Pipelines

To integrate Xygeni into your CI/CD pipelines

  • Identify the appropriate points in your CI/CD system for SBOM generation.
  • Edit the pipeline/workflow files to include Xygeni scan commands at the desired stages.
  • Ensure changes to pipeline configurations follow your organization’s process for modifying critical files.

By integrating Xygeni into CI/CD pipelines, organizations can automate the generation of SBOMs, ensuring a detailed inventory of its components accompanies every build. It not only aids in meeting compliance requirements but also significantly improves the security posture of software products.

Key Takeaways: Mastering SBOM Generation with Xygeni

The journey through the complexities of Software Bill of Materials (SBOM) generation with Xygeni unveils a path toward enhanced software security, transparency, and compliance. From understanding the essence of SBOMs to implementing automated generation in CI/CD pipelines, the process is a testament to the evolving landscape of software development practices. Here are some key takeaways from our exploration:

The Vital Role of SBOMs

  • Comprehensive Inventory: SBOMs are not mere lists but detailed inventories that capture every component within a software, including open-source libraries, proprietary code, and commercial software. This granularity is essential for risk assessment, supply chain management, and regulatory compliance.
  • Enhanced Security Posture: By offering a bird’s-eye view of the software ecosystem, SBOMs enable stakeholders to quickly identify outdated or vulnerable components, significantly fortifying the software’s security posture.

Challenges and Solutions

  • Standardization: The industry needs help standardizing SBOM formats and data, which makes it difficult to compare and interpret SBOMs uniformly. Tools like Xygeni, which supports widely accepted formats such as CycloneDX and SPDX, offer a solution by providing flexibility and interoperability.
  • Operationalizing SBOMs: The integration of SBOM generation into CI/CD pipelines with Xygeni addresses automation and interoperability challenges, ensuring that SBOMs are generated automatically with each software build, thereby enhancing the security and transparency of CI/CD practices.

Xygeni: An SSC & SBOM Generation Tool

  • Ease of Use: Whether through its CLI or WebUI, Xygeni offers an accessible and efficient platform for generating SBOMs, making it suitable for various users, from developers to security professionals.
  • Integration into CI/CD Pipelines: Xygeni’s seamless integration into CI/CD pipelines underscores the importance of automating SBOM generation, allowing for real-time risk assessment and vulnerability management.

Strategic Implementation

  • Choosing the Right Integration Points: Identifying where to run Xygeni scans within CI/CD pipelines is crucial. Whether in Git hooks, CI/CD pipelines directly, or build files, Xygeni adapts to your project’s needs.
  • Comprehensive Scans: Xygeni’s flexibility in performing total or partial scans, including capabilities for security gate scans, ensures a thorough analysis of your software components, catering to both scheduled builds and event-triggered pipelines.

As the digital ecosystem continues to evolve, the role of SBOMs in software development will only grow in importance. Tools like Xygeni are at the forefront of this evolution, offering solutions that meet the current software security and compliance demands and pave the way for future advancements. Embracing SBOM generation with Xygeni represents a commitment to building secure, transparent, and compliant software products, a cornerstone in building trust with users and stakeholders in the digital age.

Book a Demo

We’ll provide a demo of the Xygeni platform in 45 minutes and you will discover how Xygeni protects the integrity and security of your software assets, pipelines and infrastructure of the entire software supply chain.

Unifying Risk Management from Code to Cloud

with Xygeni ASPM Security