-
-
Notifications
You must be signed in to change notification settings - Fork 573
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
False positive for LicenseRef-scancode-elastic-license-2018
#2815
Comments
Thanks! the ST license needs a new rule for this notice and and the elastic rules need to have a stricter key phrases added. |
I started working on this issue but scanning README.md gave different results |
@adii21-Ux I just saw your comment... can you elaborate a bit? may be pasting the --yaml output can help as this is hard to read otherwise |
In any case, "MIT" would also be a false finding ;-) |
The latest scancode has this right: license_detections:
- identifier: st_mcd_2_0-d126c737-0aa1-309e-2663-b9248cfa8871
license_expression: st-mcd-2.0
detection_count: 1
files:
- path: es
type: file
detected_license_expression: st-mcd-2.0
detected_license_expression_spdx: LicenseRef-scancode-st-mcd-2.0
license_detections:
- license_expression: st-mcd-2.0
matches:
- score: '100.0'
start_line: 1
end_line: 1
matched_length: 39
match_coverage: '100.0'
matcher: 1-hash
license_expression: st-mcd-2.0
rule_identifier: st-mcd-2.0_12.RULE
rule_relevance: 100
rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/st-mcd-2.0_12.RULE
matched_text: This software component is licensed by ST under Ultimate
Liberty license SLA0044, the "License". You may not use this file
except in compliance with this license. You may obtain a copy of
the license [here](https://www.st.com/SLA0044).
identifier: st_mcd_2_0-d126c737-0aa1-309e-2663-b9248cfa8871
license_clues: []
percentage_of_license_text: '100.0'
scan_errors: []
closing this now! |
Description
ScanCode 30.1.0 falsely reports a finding of
LicenseRef-scancode-elastic-license-2018
.How To Reproduce
Run
scancode --license --json-pp - README.md
whereREADME.md
containswhich gets you
System configuration
ScanCode 30.1.0 built from source on Ubuntu 18.04.
The text was updated successfully, but these errors were encountered: