You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
jkowalleck
changed the title
better support for local packages
better support for local/internal package sources
Dec 1, 2021
jkowalleck
changed the title
better support for local/internal package sources
better support for non-default/local/internal package sources
Jan 18, 2022
packages may come from local sources.
packages may come from alternative registries.
acc / crit
relative: true
,path: /path/to/pod
example source data
composer.lock
file would look like thisUnfortunately, 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.
The text was updated successfully, but these errors were encountered: