Skip to content

free-unknown detected incorrectly (false positive) #3517

Description

@DennisClark

A recent scan of opentofu-main.zip (there are no tags or releases)
from https://github.com/opentofu/opentofu
returned free-unknown incorrectly, apparently from opentofu-main/website/docs/language/modules/develop/structure.mdx Here is what I found in the scan results:

"detected_license_expression": "free-unknown", "detected_license_expression_spdx": "LicenseRef-scancode-free-unknown", "license_detections": [ { "matches": [ { "score": 50.0, "matcher": "2-aho", "end_line": 44, "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE", "start_line": 44, "matched_text": " file, even if it is not an open source license.", "match_coverage": 100.0, "matched_length": 3, "rule_relevance": 50, "rule_identifier": "free-unknown_88.RULE", "license_expression": "free-unknown" } ],

It seems to me that " file, even if it is not an open source license." is not adequate to detect free-unknown , since it is simply part of explanatory text regarding license compliance.

free-unknown_88.RULE should be investigated and possibly removed.

opentofu-main.zip_scan.json.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions