Skip to content

Commit dc63e42

Browse files
Add rules from opentofu license detection bugs
Reference: #3518 Reference: #3516 Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
1 parent 4678e22 commit dc63e42

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
is_false_positive: yes
3+
notes: seen in opentofu
4+
---
5+
6+
The options passed to this function may not be modified

src/licensedcode/data/rules/mpl-1.1_38.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
license_expression: mpl-1.1
33
is_license_tag: yes
4-
relevance: 90
4+
relevance: 80
55
notes: tag as documented in the Module-Build pod
66
---
77

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
license_expression: mpl-2.0
3+
is_license_reference: yes
4+
---
5+
6+
## License
7+
{{[Mozilla Public License v2.0]}}

src/licensedcode/data/rules/proprietary-license_276.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
license_expression: proprietary-license
3-
is_license_reference: yes
3+
is_license_clue: yes
44
relevance: 100
55
---
66

0 commit comments

Comments
 (0)