Skip to content

Change the way that the bom files are stored in the cache #562

@doughertym

Description

@doughertym

We need to change the way that the bom files are stored in the cache, because if a history stop point has multiple manifest files, each one generating an SBOM, then when this runs for the second file, it will overwrite the first one. I'm thinking that we pass in the path to the manifest file, and then the location of the file in the cache would become boms/{analysis id}/{history stop point date}/{relative project path to manifest file}/bom.json (example boms/{analysis id}/{history stop point date}/pom.xml/bom.json). It probably doesn't make sense to fix that as part of this pull request, though. Instead, lets create another issue for that work.

See https://github.com/corgibytes/freshli-cli/pull/560/files#r1260075610

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions