From 6b227f4a6668fbb2c417ac44d9f9f58a3a72b764 Mon Sep 17 00:00:00 2001 From: Alexander Mazuruk Date: Wed, 2 Mar 2022 17:14:49 +0100 Subject: 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 Issue-ID: INT-2081 Change-Id: I35f3c98f16393c7369634299558a6227f5f3f5bc --- license_policies.yaml | 162 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 162 insertions(+) create mode 100644 license_policies.yaml 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: '' -- cgit 1.2.3-korg