github.com/cilium/cilium@v1.16.2/tools/licensecheck/allowed.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright Authors of Cilium
     3  
     4  package main
     5  
     6  // See https://github.com/cncf/foundation/blob/main/allowed-third-party-license-policy.md
     7  var allowedLicenses = []string{
     8  	"Apache-2.0",
     9  	"BSD-2-Clause",
    10  	"BSD-2-Clause-FreeBSD",
    11  	"BSD-3-Clause",
    12  	"ISC",
    13  	"MIT",
    14  	"PostgreSQL",
    15  	"Python-2.0",
    16  	"X11",
    17  	"Zlib",
    18  }
    19  
    20  // See https://github.com/cncf/foundation/tree/main/license-exceptions
    21  // Do not add all exceptions from the above link, only packages that we
    22  // actually use.
    23  var pkgExceptions = []string{
    24  	"github.com/hashicorp/consul/api",
    25  	"github.com/hashicorp/errwrap",
    26  	"github.com/hashicorp/go-cleanhttp",
    27  	"github.com/hashicorp/go-immutable-radix",
    28  	"github.com/hashicorp/go-multierror",
    29  	"github.com/hashicorp/go-rootcerts",
    30  	"github.com/hashicorp/golang-lru",
    31  	"github.com/hashicorp/hcl",
    32  	"github.com/hashicorp/serf/coordinate",
    33  }