summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Mazuruk <a.mazuruk@samsung.com>2022-03-02 17:14:49 +0100
committerAlexander Mazuruk <a.mazuruk@samsung.com>2022-03-02 17:49:49 +0100
commit6b227f4a6668fbb2c417ac44d9f9f58a3a72b764 (patch)
tree9ac48130ba1fd23090f58075e318305dbf9d5a13
parentf0b01eaee1ae98065c9e523b84171d32c2b07948 (diff)
Initial license policies
License policies are stored in yaml file, consisting of license key, compliance_alert (which can be error/warning/''(ok)). Label contains additional info about license classification e.g. gpl-2.0 key is ambiguous, gpl-2.0-only or gpl-2.0-or-later should be explicitly. Signed-off-by: Alexander Mazuruk <a.mazuruk@samsung.com> Issue-ID: INT-2081 Change-Id: I35f3c98f16393c7369634299558a6227f5f3f5bc
-rw-r--r--license_policies.yaml162
1 files changed, 162 insertions, 0 deletions
diff --git a/license_policies.yaml b/license_policies.yaml
new file mode 100644
index 0000000..7410415
--- /dev/null
+++ b/license_policies.yaml
@@ -0,0 +1,162 @@
+license_policies:
+
+
+- license_key: agpl-3.0
+ label: Prohibited License
+ compliance_alert: error
+- license_key: agpl-3.0-only
+ label: Prohibited License
+ compliance_alert: error
+
+- license_key: agpl-3.0-or-later
+ label: Prohibited License
+ compliance_alert: error
+- license_key: agpl-3.0-plus
+ label: Prohibited License
+ compliance_alert: error
+- license_key: agpl-3.0+
+ label: Prohibited License
+ compliance_alert: error
+
+- license_key: gpl-3.0
+ label: Prohibited License
+ compliance_alert: error
+- license_key: gpl-3.0-only
+ label: Prohibited License
+ compliance_alert: error
+
+- license_key: gpl-3.0-or-later
+ label: Prohibited License
+ compliance_alert: error
+- license_key: gpl-3.0-plus
+ label: Prohibited License
+ compliance_alert: error
+- license_key: gpl-3.0+
+ label: Prohibited License
+ compliance_alert: error
+
+- license_key: lgpl-3.0
+ label: Prohibited License
+ compliance_alert: error
+- license_key: lgpl-3.0-only
+ label: Prohibited License
+ compliance_alert: error
+
+- license_key: lgpl-3.0-or-later
+ label: Prohibited License
+ compliance_alert: error
+- license_key: lgpl-3.0-plus
+ label: Prohibited License
+ compliance_alert: error
+- license_key: lgpl-3.0+
+ label: Prohibited License
+ compliance_alert: error
+
+
+- license_key: agpl-2.0
+ label: Ambiguous License
+ compliance_alert: warning
+- license_key: gpl-2.0
+ label: Ambiguous License
+ compliance_alert: warning
+- license_key: lgpl-2.0
+ label: Ambiguous License
+ compliance_alert: warning
+- license_key: lgpl-2.1
+ label: Ambiguous License
+ compliance_alert: warning
+
+- license_key: agpl-2.0-plus
+ label: Restricted license
+ compliance_alert: warning
+- license_key: agpl-2.0-or-later
+ label: Restricted license
+ compliance_alert: warning
+- license_key: agpl-2.0+
+ label: Restricted license
+ compliance_alert: warning
+
+- license_key: gpl-2.0-plus
+ label: Restricted license
+ compliance_alert: warning
+- license_key: gpl-2.0-or-later
+ label: Restricted license
+ compliance_alert: warning
+- license_key: gpl-2.0+
+ label: Restricted license
+ compliance_alert: warning
+
+- license_key: lgpl-2.0-plus
+ label: Restricted license
+ compliance_alert: warning
+- license_key: lgpl-2.0-or-later
+ label: Restricted license
+ compliance_alert: warning
+- license_key: lgpl-2.0+
+ label: Restricted license
+ compliance_alert: warning
+
+- license_key: lgpl-2.1-plus
+ label: Restricted license
+ compliance_alert: warning
+- license_key: lgpl-2.1-or-later
+ label: Restricted license
+ compliance_alert: warning
+- license_key: lgpl-2.1+
+ label: Restricted license
+ compliance_alert: warning
+
+
+- license_key: agpl-2.0-only
+ label: Approved License
+ compliance_alert: ''
+
+- license_key: apache-2.0
+ label: Approved License
+ compliance_alert: ''
+
+- license_key: bsd-new
+ label: Approved License
+ compliance_alert: ''
+- license_key: bsd-3-clause
+ label: Approved License
+ compliance_alert: ''
+
+- license_key: bsd-simplified
+ label: Approved License
+ compliance_alert: ''
+- license_key: bsd-2-clause
+ label: Approved License
+ compliance_alert: ''
+
+- license_key: gpl-2.0-only
+ label: Approved License
+ compliance_alert: ''
+
+- license_key: isc
+ label: Approved License
+ compliance_alert: ''
+
+- license_key: lgpl-2.0-only
+ label: Approved License
+ compliance_alert: ''
+
+- license_key: lgpl-2.1-only
+ label: Approved License
+ compliance_alert: ''
+
+- license_key: mit
+ label: Approved License
+ compliance_alert: ''
+
+- license_key: mpl-2.0
+ label: Approved License
+ compliance_alert: ''
+
+- license_key: openssl-ssleay
+ label: Approved License
+ compliance_alert: ''
+
+- license_key: zlib
+ label: Approved License
+ compliance_alert: ''