Skip to content

cjson esp-idf-sbom seems does not recognize sbom_cJSON.yml (IEC-560) #780

Description

@AxelLin

Answers checklist.

  • I have read the component documentation ESP-IDF Components and the issue is not addressed there.
  • I am using target and esp-idf version as defined in component's idf_component.yml
  • I have searched the issue tracker for a similar issue and not found any related issue.

Which component are you using? If you choose Other, provide details in More Information.

cjson

ESP-IDF version.

v5.5.4-1242-g10ca0dff2f4

Development Kit.

ESP32-WROOM

Used Component version.

1.7.19~2

More Information.

I have added "espressif/cjson: ^1.7.19~2" to idf_component.yml in my application and use the cjson component.

When I do "esp-idf-sbom create" and "esp-idf-sbom check",
I found
│ component-espressif__cjson │ 1.7.19~2 │
in "Packages without CPE and Keyword Information".
This seems worng.

If I manually rename components/espressif__cjson/sbom_cJSON.yml to components/espressif__cjson/sbom.yml,
I got: (The expected output)
Packages with No Identified Vulnerabilities
│ cJSON │ 1.7.19 │ cpe:2.3:a:cjson_project:cjson:1.7.19:::::::, cpe:2.3:a:davegamble:cjson:1.7.19:::::::

So it looks like the tool does not find sbom_cJSON.yml.

esp-idf-sbom seems does not recognize sbom_cJSON.yml in cjson componenet.

$ esp-idf-sbom --version
esp-idf-sbom 1.3.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions