Skip to content

Commit d3133f5

Browse files
Improve detection with new licenses and rules
* These are from misc npm packages Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
1 parent a4415e7 commit d3133f5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+985
-100
lines changed

etc/scripts/licenses/buildrules-template.txt

Lines changed: 19 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -1,131 +1,53 @@
11
----------------------------------------
2-
license_expression:
2+
license_expression: new-relic-1.0
33
relevance: 100
4-
minimum_coverage: 90
5-
is_license_notice: yes
6-
is_license_text: yes
7-
is_license_reference: yes
84
is_license_tag: yes
9-
is_required_phrase: yes
10-
is_false_positive: yes
11-
is_license_intro: yes
12-
is_license_clue: yes
13-
referenced_filenames:
14-
notes:
5+
notes: this is not in spdx yet, seen in pkg:npm/@newrelic/security-agent
156
---
16-
7+
* SPDX-License-Identifier: {{New Relic Software License v1.0}}
178
----------------------------------------
18-
license_expression:
19-
relevance: 100
20-
minimum_coverage: 90
21-
is_license_notice: yes
22-
is_license_text: yes
9+
license_expression: new-relic-1.0
2310
is_license_reference: yes
24-
is_license_tag: yes
2511
is_required_phrase: yes
26-
is_false_positive: yes
27-
is_license_intro: yes
28-
is_license_clue: yes
29-
referenced_filenames:
30-
notes:
3112
---
32-
13+
New Relic Software License v1.0
3314
----------------------------------------
34-
license_expression:
35-
relevance: 100
36-
minimum_coverage: 90
15+
license_expression: new-relic-1.0
3716
is_license_notice: yes
38-
is_license_text: yes
39-
is_license_reference: yes
40-
is_license_tag: yes
41-
is_required_phrase: yes
42-
is_false_positive: yes
43-
is_license_intro: yes
44-
is_license_clue: yes
45-
referenced_filenames:
46-
notes:
4717
---
48-
18+
Any feedback provided to New Relic about the New Relic security agent, including feedback provided as source code, comments, or other copyrightable or patentable material, is provided to New Relic under the terms of the {{New Relic Software License v1.0}}. If you do not provide attribution information or a copy of the license with your feedback, you waive the performance of those requirements of the New Relic Software License v1.0 with respect to New Relic. The license grant regarding any feedback is irrevocable.
19+
Keep in mind that when you submit a pull request or other feedback, you’ll need to sign the CLA via the click-through using CLA-Assistant. You only have to sign the CLA one time per project.
20+
If you have any questions drop us an email at opensource@newrelic.com.
4921
----------------------------------------
50-
license_expression:
22+
license_expression: new-relic-1.0
5123
relevance: 100
52-
minimum_coverage: 90
5324
is_license_notice: yes
54-
is_license_text: yes
55-
is_license_reference: yes
56-
is_license_tag: yes
57-
is_required_phrase: yes
58-
is_false_positive: yes
59-
is_license_intro: yes
60-
is_license_clue: yes
61-
referenced_filenames:
62-
notes:
6325
---
64-
26+
is licensed under the {{New Relic Software License v1.0}}.
6527
----------------------------------------
66-
license_expression:
28+
license_expression: new-relic-1.0
6729
relevance: 100
68-
minimum_coverage: 90
69-
is_license_notice: yes
70-
is_license_text: yes
7130
is_license_reference: yes
72-
is_license_tag: yes
73-
is_required_phrase: yes
74-
is_false_positive: yes
75-
is_license_intro: yes
76-
is_license_clue: yes
77-
referenced_filenames:
78-
notes:
7931
---
80-
32+
distributed under the [UNKNOWN License]({{https://github.com/newrelic/csec-node-agent/blob/ /LICENSE}}):
8133
----------------------------------------
82-
license_expression:
34+
license_expression: new-relic-1.0
8335
relevance: 100
84-
minimum_coverage: 90
85-
is_license_notice: yes
86-
is_license_text: yes
8736
is_license_reference: yes
88-
is_license_tag: yes
8937
is_required_phrase: yes
90-
is_false_positive: yes
91-
is_license_intro: yes
92-
is_license_clue: yes
93-
referenced_filenames:
94-
notes:
9538
---
96-
39+
https://github.com/newrelic/csec-node-agent/blob/ /LICENSE
9740
----------------------------------------
98-
license_expression:
99-
relevance: 100
100-
minimum_coverage: 90
101-
is_license_notice: yes
102-
is_license_text: yes
41+
license_expression: root-cert-3.0
10342
is_license_reference: yes
104-
is_license_tag: yes
105-
is_required_phrase: yes
106-
is_false_positive: yes
107-
is_license_intro: yes
108-
is_license_clue: yes
109-
referenced_filenames:
110-
notes:
11143
---
112-
44+
used under the following license ({{https://docs.broadcom.com/doc/root-certificate-license-agreement-en}}):
11345
----------------------------------------
114-
license_expression:
115-
relevance: 100
116-
minimum_coverage: 90
117-
is_license_notice: yes
118-
is_license_text: yes
46+
license_expression: root-cert-3.0
11947
is_license_reference: yes
120-
is_license_tag: yes
12148
is_required_phrase: yes
122-
is_false_positive: yes
123-
is_license_intro: yes
124-
is_license_clue: yes
125-
referenced_filenames:
126-
notes:
12749
---
128-
50+
https://docs.broadcom.com/doc/root-certificate-license-agreement-en
12951
----------------------------------------
13052
license_expression:
13153
relevance: 100
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
key: new-relic-1.0
3+
short_name: New Relic Software License v1.0
4+
name: New Relic Software License v1.0
5+
category: Commercial
6+
owner: New Relic
7+
homepage_url: https://github.com/newrelic/csec-node-agent/blob/main/LICENSE
8+
spdx_license_key: LicenseRef-scancode-new-relic-1.0
9+
ignorable_emails:
10+
- opensource@newrelic.com
11+
---
12+
13+
## New Relic Software License v1.0
14+
15+
### Acceptance
16+
17+
This software license applies to the repositories, directories, or files that it has been associated with (referred to here as “the Software”). In order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses.
18+
19+
### License
20+
21+
New Relic grants you a license for the Software to do everything you might do with the Software that would otherwise infringe the New Relic’s copyrights or patent rights, conditional on only using the Software for Permitted Purposes and compliance with all other Restrictions on Use. All other uses are prohibited.
22+
23+
### Permitted Purposes
24+
25+
The Software is solely for use with New Relic’s proprietary SaaS service (“New Relic Service”). To use the Software you must have a valid and active subscription agreement to the New Relic Service. You may not use the Software in conjunction with any other similar service.
26+
27+
### Restrictions on Use
28+
29+
1. The use of the Software is limited to you and your organization. You cannot expose the Software to third parties via the network or use the Software on behalf of anyone else.
30+
2. You cannot modify the Software. You can compile or link the Software into your programs as described in the New Relic Documentation, but you cannot otherwise make any derivative works of the Software.
31+
3. You cannot reverse engineer or decompile the Software.
32+
4. You cannot use the Software for competitive analysis, benchmarking, or any purposes that compete with or are intended to compete with New Relic.
33+
5. You cannot remove or obscure any proprietary notices in the Software.
34+
6. You can only copy the Software to the extent needed to use the Software within your organization. You cannot distribute the Software to any third parties.
35+
7. You can only use the New Relic Services and the Software consistent with your subscription agreement with New Relic, New Relic’s product Documentation and Acceptable Use Policy.
36+
37+
### Intellectual Property
38+
39+
Any feedback provided to New Relic about the Software, including feedback provided as source code, comments, or other copyrightable or patentable material, is provided to New Relic under the terms of the Apache Software License, version 2. If you do not provide attribution information or a copy of the license with your feedback, you waive the performance of those requirements of the Apache License with respect to New Relic. The license grant regarding any feedback is irrevocable and persists past the termination of this license.
40+
41+
### Termination
42+
43+
This license terminates when the Software stops being provided by New Relic or when described by the New Relic subscription agreement, whichever comes first. When this license terminates, you have a commercially reasonable time to either remove the Software from your systems.
44+
45+
### Other Terms
46+
47+
1. The Software is provided “AS IS.” New Relic disclaims all warranties, whether express, implied, statutory or otherwise, including warranties of merchantability, fitness for a particular purpose, title, and noninfringement.
48+
2. To the full extent permitted by law, New Relic will have no liability arising from or related to the Software or from this license for any direct, indirect, special, incidental, or consequential damages of any kind, even if advised of their possibility in advance, and regardless of legal theory (whether contract, tort, negligence, strict liability or otherwise).
49+
3. The Software may contain third-party software, including open source software (“OSS”). The third party software is governed by its own license and subject to its own terms, disclosed in the provided licensing information associated with the third party components. If a source code disclosure is required under the terms of the license covering any OSS component, the source code can be requested of New Relic by emailing opensource@newrelic.com.

0 commit comments

Comments
 (0)