Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better support for non-default/local/internal package sources #93

Open
4 tasks
jkowalleck opened this issue Jun 16, 2021 · 0 comments
Open
4 tasks

better support for non-default/local/internal package sources #93

jkowalleck opened this issue Jun 16, 2021 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed schema 1.3 schema 1.4

Comments

@jkowalleck
Copy link
Member

jkowalleck commented Jun 16, 2021

packages may come from local sources.
packages may come from alternative registries.

acc / crit

example source data

  • in this case, the composer.lock file would look like this
    {
    "packages": [
    {
                "name": "cyclonedx-demo/local-demo-dependency",
                "version": "1.33.7",
                "dist": {
                    "type": "path",
                    "url": "packages/local-demo-dependency",
                    "reference": "some-hash"
                },
                "type": "library",
                "description": "a package that is hosted locally and required in a local demo",
                "transport-options": {
                    "relative": true
                }
            }
    ]
    }
  • see the example from [BUG] SBOM generation does not find right purl with wordpress composer installation #324 which installs from an alternative registry.
    Unfortunately, composer does not give any evidence for non-standard package registries, so this is currently not detectable properly. Maybe with a later version of composer -- need to investigate further.
@jkowalleck jkowalleck added the enhancement New feature or request label Jul 5, 2021
@jkowalleck jkowalleck changed the title better support for local packages better support for local/internal package sources Dec 1, 2021
@jkowalleck jkowalleck changed the title better support for local/internal package sources better support for non-default/local/internal package sources Jan 18, 2022
@jkowalleck jkowalleck added the help wanted Extra attention is needed label Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed schema 1.3 schema 1.4
Projects
None yet
Development

No branches or pull requests

1 participant