|
| 1 | +--- |
| 2 | +# Example for a complete curation object: |
| 3 | +#- id: "Maven:org.hamcrest:hamcrest-core:1.3" |
| 4 | +# curations: |
| 5 | +# comment: "An explanation why the curation is needed or the reasoning for a license conclusion." |
| 6 | +# concluded_license: "Apache-2.0 OR BSD-3-Clause" # Valid SPDX license expression to override the license findings. |
| 7 | +# declared_license_mapping: |
| 8 | +# "Copyright (C) 2013, Martin Journois": "NONE" |
| 9 | +# "BSD": "BSD-3-Clause" |
| 10 | +# description: "Curated description." |
| 11 | +# homepage_url: "http://example.com" |
| 12 | +# binary_artifact: |
| 13 | +# url: "http://example.com/binary.zip" |
| 14 | +# hash: |
| 15 | +# value: "ddce269a1e3d054cae349621c198dd52" |
| 16 | +# algorithm: "MD5" |
| 17 | +# source_artifact: |
| 18 | +# url: "http://example.com/sources.zip" |
| 19 | +# hash: |
| 20 | +# value: "ddce269a1e3d054cae349621c198dd52" |
| 21 | +# algorithm: "MD5" |
| 22 | +# vcs: |
| 23 | +# type: "Git" |
| 24 | +# url: "http://example.com/repo.git" |
| 25 | +# revision: "1234abc" |
| 26 | +# path: "subdirectory" |
| 27 | +# is_metadata_only: true # Whether the package is metadata only. |
| 28 | +# is_modified: true # Whether the package is modified compared to the original source. |
| 29 | + |
| 30 | +- id: 'Maven:asm:asm' # No version means the curation will be applied to all versions of the package. |
| 31 | + curations: |
| 32 | + comment: 'Repository moved to https://gitlab.ow2.org.' |
| 33 | + vcs: |
| 34 | + type: 'Giot' |
| 35 | + url: 'https://gitlab.ow2.org/asm/asm.git' |
| 36 | + |
| 37 | +- id: 'NPM::ast-traverse:0.1.0' |
| 38 | + curations: |
| 39 | + comment: 'Revision found by comparing the NPM package with the sources from https://github.com/olov/ast-traverse.' |
| 40 | + vcs: |
| 41 | + revision: 'f864d24ba07cde4b79f16999b1c99bfb240a441e' |
| 42 | + |
| 43 | +- id: 'NPM::ast-traverse:0.1.1' |
| 44 | + curations: |
| 45 | + comment: 'Revision found by comparing the NPM package with the sources from https://github.com/olov/ast-traverse.' |
| 46 | + vcs: |
| 47 | + revision: '73f2b3c319af82fd8e490d40dd89a15951069b0d' |
| 48 | + |
| 49 | +- id: 'NPM::ramda:[0.21.0,0.25.0]' # Ivy-style version matchers are supported. |
| 50 | + curations: |
| 51 | + comment: >- |
| 52 | + The package is licensed under MIT per `LICENSE` and `dist/ramda.js`. The project logo is CC-BY-NC-SA-3.0 but it is |
| 53 | + not part of the distributed .tar.gz package, see the `README.md` which says: |
| 54 | + "Ramda logo artwork © 2014 J. C. Phillipps. Licensed Creative Commons CC BY-NC-SA 3.0." |
| 55 | + concluded_license: 'MIT' |
| 56 | + |
| 57 | +- id: 'Maven:org.jetbrains.kotlin:kotlin-bom' |
| 58 | + curations: |
| 59 | + comment: 'The package is a Maven BOM file and thus is metadata only.' |
| 60 | + is_metadata_only: true |
| 61 | + |
| 62 | +- id: 'PyPI::pyramid-workflow:1.0.0' |
| 63 | + curations: |
| 64 | + comment: 'The package has an unmappable declared license entry.' |
| 65 | + declared_license_mapping: |
| 66 | + 'BSD-derived (http://www.repoze.org/LICENSE.txt)': 'LicenseRef-scancode-repoze' |
| 67 | + |
| 68 | +- id: 'PyPI::branca' |
| 69 | + curations: |
| 70 | + comment: 'A copyright statement was used to declare the license.' |
| 71 | + declared_license_mapping: |
| 72 | + 'Copyright (C) 2013, Martin Journois': 'NONE' |
| 73 | + |
| 74 | +- id: 'Maven:androidx.collection:collection:' |
| 75 | + curations: |
| 76 | + comment: 'Scan the source artifact, because the VCS revision and path are hard to figure out.' |
| 77 | + source_code_origins: [ARTIFACT] |
| 78 | + |
| 79 | +- id: 'Maven:androidx.collection:collection:' |
| 80 | + curations: |
| 81 | + comment: 'Specify the platform for use within policy rules.' |
| 82 | + labels: |
| 83 | + platform: 'android' |
| 84 | + |
| 85 | +- id: 'NPM:@types:mime-types:2.1.0' |
| 86 | + curations: |
| 87 | + comment: 'Retrieve the vulnerabilities from Black Duck by the provided origin-id instead of by the purl.' |
| 88 | + labels: |
| 89 | + black-duck:origin-id: 'npmjs:@types/mime-types/2.1.0' |
0 commit comments