cdxgen not populating component and dependencies details for .net4.5 framework based web applications #1015
Replies: 2 comments 24 replies
-
@Ram2023GitHub could you share the full command used? Also can you try performing nuget restore or nuget build prior to invoking cdxgen? |
Beta Was this translation helpful? Give feedback.
-
@prabhu I tried with latest node.js 22.1.0 and getting same error. C:\Windows\system32>set CDXGEN_DEBUG_MODE=debug && cdxgen -r --deep D:\CP\Service -o D:\CP\Service\myproject_bom1.json 1: 00007FF6AEA3DA2B node::SetCppgcReference+15611 ----- JavaScript stack trace ----- 1: readFileSync (node:fs:448:20) |
Beta Was this translation helpful? Give feedback.
-
Hello Everyone,
Iam using cdxgen for generating SBOM for my .net application which was built using dotnet4.5 framework.In my application i am using third party assemblies which are kept in third party folder under solution and then reference added for them in all projects.
bom.json file getting generated with blank dependencies and components and also getting this below error
Create reachables slice for C:\Windows\System32\generate. Please wait ...
Unable to generate reachables slice using atom. Check if this is a supported language.
Set the environment variable CDXGEN_DEBUG_MODE=debug to troubleshoot.
Create usages slice for C:\Windows\System32\generate. Please wait ...
Unable to generate usages slice using atom. Check if this is a supported language.
Set the environment variable CDXGEN_DEBUG_MODE=debug to troubleshoot.
Unable to identify component evidence for the input SBOM. Only java, javascript, python, and php projects are supported by evinse.
╔═══════════════════════════╤═════════════════════════════════════╤═══════════════════════════╤═════════════════╗
║ Group │ Name │ Version │ Scope ║
╚═══════════════════════════╧═════════════════════════════════════╧═══════════════════════════╧═════════════════╝
BOM includes 0 components and 0 dependencies
So here third party assemblies are not populated in component/dependencies.Its blank only.
Also tried to create one json file which will contain all third party assemblies along with version details and passing this file as parameter to
cdxgen CLI command.
Can anyone suggest further how can this issue will be fixed?
Beta Was this translation helpful? Give feedback.
All reactions