[]
        
(Showing Draft Content)

SBOM Validation

ActiveReports.NET v20.2.2 release artifacts include Software Bill of Materials (SBOM) files in CycloneDX format. These files provide a machine-readable inventory of the components and dependencies included in each release artifact.

You can validate the SBOM files before using them in your security or compliance workflows to confirm that they are well-formed, intact, and compliant with the declared CycloneDX schema.

SBOM file locations

SBOM files are included with the ActiveReports release artifacts, available from NuGet and npm:

NuGet Packages

Each NuGet package includes an SBOM file at sbom/<tfm>/bom.cdx.json inside the package, where <tfm> is the target framework moniker (e.g., net472, net8.0). Each sbom/<tfm>/ folder also contains a public.key file, and some packages include component SBOMs under sbom/<tfm>/components/.

npm Packages

Each ActiveReports npm package includes an SBOM file at sbom/bom.cdx.json inside the package. The sbom folder also contains a public.key file and the SBOMs of bundled internal components under sbom/components/.

npm Package Archives Included with the Installer

The ActiveReports installation includes npm package archives (.tgz) in the the Npm folder of the installation directory (by default, C:\Program Files (x86)\MESCIUS\ActiveReports 20\Npm\).

Each archive contains a SBOM file at package\sbom\bom.cdx.json inside the archive.

Installer

The installer SBOM file is placed next to the installer executable and is named ActiveReports-v<version>.cdx.json. A separate SBOM for the light installer is named ActiveReports-v<version>_light.cdx.json. Each ships with a corresponding public key file (<name>.cdx.public.key).

Visual Studio extensions

Each Visual Studio extension SBOM is placed next to the VSIX file and is named:

  • ActiveReports.VisualStudio2019-<version>.cdx.json for the VS 2019/2022 extension

  • ActiveReports.VisualStudio2022-<version>.cdx.json for the VS 2022 extension

Each extension SBOM ships with a corresponding public key file (<name>.cdx.public.key).

Validation tool

Use sbom-utility (the official CycloneDX utility) to validate an SBOM against the declared CycloneDX schema version.

Install sbom-utility

Download the latest release from the CycloneDX sbom-utility GitHub repository and extract it to a folder on your machine.

Validate an SBOM File

Run the following command to validate an SBOM file:

./sbom-utility validate -i sbom/bom.cdx.json

List Supported Schemas

To view the CycloneDX schema versions supported by the installed utility, run:

./sbom-utility schema list

Quiet Mode with JSON Error Output

For automated validation, including CI workflows, use quiet mode and JSON-formatted error output:

./sbom-utility validate -i node_modules/@mescius/activereportsnet-viewer/sbom/bom.cdx.json --format json --error-value=false -q

sbom-utility detects schema issues such as duplicate components, uniqueness violations, and invalid fields. It returns exit code 2 for invalid files, which makes it suitable for CI validation scenarios.

Verify SBOM Signatures

Every deployed SBOM contains an embedded JSON Signature Format (JSF) signature in the signature.signers property in the SBOM JSON. A public key file is provided with each SBOM.

SBOM location

Public key file

NuGet packages

sbom\<tfm>\public.key

npm packages

sbom\public.key

Installer archives and Visual Studio extensions

<name>.cdx.public.key (located next to the SBOM file)

sbom-utility validate validates the JSON schema only; it does not verify the SBOM signature. To verify a signature, use a JSON Signature Format verification tool together with the provided public key.

See Also