diff --git a/.copywrite.hcl b/.copywrite.hcl new file mode 100644 index 000000000..ed2142c12 --- /dev/null +++ b/.copywrite.hcl @@ -0,0 +1,17 @@ +schema_version = 1 + +project { + license = "BUSL-1.1" + copyright_holder = "Mondoo, Inc." + copyright_year = 2023 + + # (OPTIONAL) A list of globs that should not have copyright/license headers. + # Supports doublestar glob patterns for more flexibility in defining which + # files or folders should be ignored + header_ignore = [ + "**/*.tf", + "**/testdata/**", + "**/*.pb.go", + "**/*_string.go", + ] +} \ No newline at end of file diff --git a/.github/terraform/aws/psp-unprivileged.yaml b/.github/terraform/aws/psp-unprivileged.yaml index cae0795ca..158e75be6 100644 --- a/.github/terraform/aws/psp-unprivileged.yaml +++ b/.github/terraform/aws/psp-unprivileged.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: policy/v1beta1 kind: PodSecurityPolicy metadata: diff --git a/.github/workflows/cla.yaml b/.github/workflows/cla.yaml index 4092ad4b7..036b86b7c 100644 --- a/.github/workflows/cla.yaml +++ b/.github/workflows/cla.yaml @@ -1,4 +1,4 @@ -name: "CLA Assistant" +name: "CLA Assistant & License Check" on: issue_comment: types: [created] @@ -24,3 +24,15 @@ jobs: remote-organization-name: mondoohq branch: 'main' allowlist: mondoo-tools,github-actions[bot],dependabot[bot] + + license-check: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Copywrite + uses: hashicorp/setup-copywrite@v1.1.2 + + - name: Check Header Compliance + run: copywrite headers --plan diff --git a/.golangci.yml b/.golangci.yml index 59dd309be..ca0eed487 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + linters: enable: - gofumpt diff --git a/Dockerfile b/Dockerfile index 0c1a87263..259505cc4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # Use distroless as minimal base image to package the manager binary # Refer to https://github.com/GoogleContainerTools/distroless for more details FROM gcr.io/distroless/static:nonroot diff --git a/LICENSE b/LICENSE index cdff15cd5..f35454122 100644 --- a/LICENSE +++ b/LICENSE @@ -1,353 +1,41 @@ -Mozilla Public License, version 2.0 +License text copyright (c) 2020 MariaDB Corporation Ab, All Rights Reserved. +“Business Source License” is a trademark of MariaDB Corporation Ab. -1. Definitions +Parameters -1.1. “Contributor” +Licensor: Mondoo, Inc. (“Mondoo”) +Licensed Work(s): mondoo-operator version 1.15.3 and + later. The Licensed Work is (c) 2023 Mondoo, Inc. +Additional Use Grant: You may use, distribute or host the Licensed Work in + your own or your direct customers’ production + environment, provided that such use, distribution or + hosting does not include offering the Licensed Work to + third parties as part of or in connection with an + offering that is competitive with any of Mondoo’s + products. +Change Date: Four years from the date the Licensed Work is published +Change License: MPL 2.0 - means each individual or legal entity that creates, contributes to the - creation of, or owns Covered Software. +For information about alternative licensing arrangements for the Licensed Work, please contact licensing@mondoo.com. -1.2. “Contributor Version” +Notice - means the combination of the Contributions of others (if any) used by a - Contributor and that particular Contributor’s Contribution. +Business Source License 1.1 -1.3. “Contribution” +Terms - means Covered Software of a particular Contributor. +The Licensor hereby grants you the right to copy, modify, create derivative works, redistribute, and make non-production use of the Licensed Work. The Licensor may make an Additional Use Grant, above, permitting limited production use. -1.4. “Covered Software” +Effective on the Change Date, or the fourth anniversary of the first publicly available distribution of a specific version of the Licensed Work under this License, whichever comes first, the Licensor hereby grants you rights under the terms of the Change License, and the rights granted in the paragraph above terminate. - means Source Code Form to which the initial Contributor has attached the - notice in Exhibit A, the Executable Form of such Source Code Form, and - Modifications of such Source Code Form, in each case including portions - thereof. +If your use of the Licensed Work does not comply with the requirements currently in effect as described in this License, you must purchase a commercial license from the Licensor, its affiliated entities, or authorized resellers, or you must refrain from using the Licensed Work. -1.5. “Incompatible With Secondary Licenses” - means +All copies of the original and modified Licensed Work, and derivative works of the Licensed Work, are subject to this License. This License applies separately for each version of the Licensed Work and the Change Date may vary for each version of the Licensed Work released by Licensor. - a. that the initial Contributor has attached the notice described in - Exhibit B to the Covered Software; or +You must conspicuously display this License on each original or modified copy of the Licensed Work. If you receive the Licensed Work in original or modified form from a third party, the terms and conditions set forth in this License apply to your use of that work. - b. that the Covered Software was made available under the terms of version - 1.1 or earlier of the License, but not also under the terms of a - Secondary License. +Any use of the Licensed Work in violation of this License will automatically terminate your rights under this License for the current and all other versions of the Licensed Work. -1.6. “Executable Form” +This License does not grant you any right in any trademark or logo of Licensor or its affiliates (provided that you may use a trademark or logo of Licensor as expressly required by this License). - means any form of the work other than Source Code Form. - -1.7. “Larger Work” - - means a work that combines Covered Software with other material, in a separate - file or files, that is not Covered Software. - -1.8. “License” - - means this document. - -1.9. “Licensable” - - means having the right to grant, to the maximum extent possible, whether at the - time of the initial grant or subsequently, any and all of the rights conveyed by - this License. - -1.10. “Modifications” - - means any of the following: - - a. any file in Source Code Form that results from an addition to, deletion - from, or modification of the contents of Covered Software; or - - b. any new file in Source Code Form that contains any Covered Software. - -1.11. “Patent Claims” of a Contributor - - means any patent claim(s), including without limitation, method, process, - and apparatus claims, in any patent Licensable by such Contributor that - would be infringed, but for the grant of the License, by the making, - using, selling, offering for sale, having made, import, or transfer of - either its Contributions or its Contributor Version. - -1.12. “Secondary License” - - means either the GNU General Public License, Version 2.0, the GNU Lesser - General Public License, Version 2.1, the GNU Affero General Public - License, Version 3.0, or any later versions of those licenses. - -1.13. “Source Code Form” - - means the form of the work preferred for making modifications. - -1.14. “You” (or “Your”) - - means an individual or a legal entity exercising rights under this - License. For legal entities, “You” includes any entity that controls, is - controlled by, or is under common control with You. For purposes of this - definition, “control” means (a) the power, direct or indirect, to cause - the direction or management of such entity, whether by contract or - otherwise, or (b) ownership of more than fifty percent (50%) of the - outstanding shares or beneficial ownership of such entity. - - -2. License Grants and Conditions - -2.1. Grants - - Each Contributor hereby grants You a world-wide, royalty-free, - non-exclusive license: - - a. under intellectual property rights (other than patent or trademark) - Licensable by such Contributor to use, reproduce, make available, - modify, display, perform, distribute, and otherwise exploit its - Contributions, either on an unmodified basis, with Modifications, or as - part of a Larger Work; and - - b. under Patent Claims of such Contributor to make, use, sell, offer for - sale, have made, import, and otherwise transfer either its Contributions - or its Contributor Version. - -2.2. Effective Date - - The licenses granted in Section 2.1 with respect to any Contribution become - effective for each Contribution on the date the Contributor first distributes - such Contribution. - -2.3. Limitations on Grant Scope - - The licenses granted in this Section 2 are the only rights granted under this - License. No additional rights or licenses will be implied from the distribution - or licensing of Covered Software under this License. Notwithstanding Section - 2.1(b) above, no patent license is granted by a Contributor: - - a. for any code that a Contributor has removed from Covered Software; or - - b. for infringements caused by: (i) Your and any other third party’s - modifications of Covered Software, or (ii) the combination of its - Contributions with other software (except as part of its Contributor - Version); or - - c. under Patent Claims infringed by Covered Software in the absence of its - Contributions. - - This License does not grant any rights in the trademarks, service marks, or - logos of any Contributor (except as may be necessary to comply with the - notice requirements in Section 3.4). - -2.4. Subsequent Licenses - - No Contributor makes additional grants as a result of Your choice to - distribute the Covered Software under a subsequent version of this License - (see Section 10.2) or under the terms of a Secondary License (if permitted - under the terms of Section 3.3). - -2.5. Representation - - Each Contributor represents that the Contributor believes its Contributions - are its original creation(s) or it has sufficient rights to grant the - rights to its Contributions conveyed by this License. - -2.6. Fair Use - - This License is not intended to limit any rights You have under applicable - copyright doctrines of fair use, fair dealing, or other equivalents. - -2.7. Conditions - - Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in - Section 2.1. - - -3. Responsibilities - -3.1. Distribution of Source Form - - All distribution of Covered Software in Source Code Form, including any - Modifications that You create or to which You contribute, must be under the - terms of this License. You must inform recipients that the Source Code Form - of the Covered Software is governed by the terms of this License, and how - they can obtain a copy of this License. You may not attempt to alter or - restrict the recipients’ rights in the Source Code Form. - -3.2. Distribution of Executable Form - - If You distribute Covered Software in Executable Form then: - - a. such Covered Software must also be made available in Source Code Form, - as described in Section 3.1, and You must inform recipients of the - Executable Form how they can obtain a copy of such Source Code Form by - reasonable means in a timely manner, at a charge no more than the cost - of distribution to the recipient; and - - b. You may distribute such Executable Form under the terms of this License, - or sublicense it under different terms, provided that the license for - the Executable Form does not attempt to limit or alter the recipients’ - rights in the Source Code Form under this License. - -3.3. Distribution of a Larger Work - - You may create and distribute a Larger Work under terms of Your choice, - provided that You also comply with the requirements of this License for the - Covered Software. If the Larger Work is a combination of Covered Software - with a work governed by one or more Secondary Licenses, and the Covered - Software is not Incompatible With Secondary Licenses, this License permits - You to additionally distribute such Covered Software under the terms of - such Secondary License(s), so that the recipient of the Larger Work may, at - their option, further distribute the Covered Software under the terms of - either this License or such Secondary License(s). - -3.4. Notices - - You may not remove or alter the substance of any license notices (including - copyright notices, patent notices, disclaimers of warranty, or limitations - of liability) contained within the Source Code Form of the Covered - Software, except that You may alter any license notices to the extent - required to remedy known factual inaccuracies. - -3.5. Application of Additional Terms - - You may choose to offer, and to charge a fee for, warranty, support, - indemnity or liability obligations to one or more recipients of Covered - Software. However, You may do so only on Your own behalf, and not on behalf - of any Contributor. You must make it absolutely clear that any such - warranty, support, indemnity, or liability obligation is offered by You - alone, and You hereby agree to indemnify every Contributor for any - liability incurred by such Contributor as a result of warranty, support, - indemnity or liability terms You offer. You may include additional - disclaimers of warranty and limitations of liability specific to any - jurisdiction. - -4. Inability to Comply Due to Statute or Regulation - - If it is impossible for You to comply with any of the terms of this License - with respect to some or all of the Covered Software due to statute, judicial - order, or regulation then You must: (a) comply with the terms of this License - to the maximum extent possible; and (b) describe the limitations and the code - they affect. Such description must be placed in a text file included with all - distributions of the Covered Software under this License. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - -5. Termination - -5.1. The rights granted under this License will terminate automatically if You - fail to comply with any of its terms. However, if You become compliant, - then the rights granted under this License from a particular Contributor - are reinstated (a) provisionally, unless and until such Contributor - explicitly and finally terminates Your grants, and (b) on an ongoing basis, - if such Contributor fails to notify You of the non-compliance by some - reasonable means prior to 60 days after You have come back into compliance. - Moreover, Your grants from a particular Contributor are reinstated on an - ongoing basis if such Contributor notifies You of the non-compliance by - some reasonable means, this is the first time You have received notice of - non-compliance with this License from such Contributor, and You become - compliant prior to 30 days after Your receipt of the notice. - -5.2. If You initiate litigation against any entity by asserting a patent - infringement claim (excluding declaratory judgment actions, counter-claims, - and cross-claims) alleging that a Contributor Version directly or - indirectly infringes any patent, then the rights granted to You by any and - all Contributors for the Covered Software under Section 2.1 of this License - shall terminate. - -5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user - license agreements (excluding distributors and resellers) which have been - validly granted by You or Your distributors under this License prior to - termination shall survive termination. - -6. Disclaimer of Warranty - - Covered Software is provided under this License on an “as is” basis, without - warranty of any kind, either expressed, implied, or statutory, including, - without limitation, warranties that the Covered Software is free of defects, - merchantable, fit for a particular purpose or non-infringing. The entire - risk as to the quality and performance of the Covered Software is with You. - Should any Covered Software prove defective in any respect, You (not any - Contributor) assume the cost of any necessary servicing, repair, or - correction. This disclaimer of warranty constitutes an essential part of this - License. No use of any Covered Software is authorized under this License - except under this disclaimer. - -7. Limitation of Liability - - Under no circumstances and under no legal theory, whether tort (including - negligence), contract, or otherwise, shall any Contributor, or anyone who - distributes Covered Software as permitted above, be liable to You for any - direct, indirect, special, incidental, or consequential damages of any - character including, without limitation, damages for lost profits, loss of - goodwill, work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses, even if such party shall have been - informed of the possibility of such damages. This limitation of liability - shall not apply to liability for death or personal injury resulting from such - party’s negligence to the extent applicable law prohibits such limitation. - Some jurisdictions do not allow the exclusion or limitation of incidental or - consequential damages, so this exclusion and limitation may not apply to You. - -8. Litigation - - Any litigation relating to this License may be brought only in the courts of - a jurisdiction where the defendant maintains its principal place of business - and such litigation shall be governed by laws of that jurisdiction, without - reference to its conflict-of-law provisions. Nothing in this Section shall - prevent a party’s ability to bring cross-claims or counter-claims. - -9. Miscellaneous - - This License represents the complete agreement concerning the subject matter - hereof. If any provision of this License is held to be unenforceable, such - provision shall be reformed only to the extent necessary to make it - enforceable. Any law or regulation which provides that the language of a - contract shall be construed against the drafter shall not be used to construe - this License against a Contributor. - - -10. Versions of the License - -10.1. New Versions - - Mozilla Foundation is the license steward. Except as provided in Section - 10.3, no one other than the license steward has the right to modify or - publish new versions of this License. Each version will be given a - distinguishing version number. - -10.2. Effect of New Versions - - You may distribute the Covered Software under the terms of the version of - the License under which You originally received the Covered Software, or - under the terms of any subsequent version published by the license - steward. - -10.3. Modified Versions - - If you create software not governed by this License, and you want to - create a new license for such software, you may create and use a modified - version of this License if you rename the license and remove any - references to the name of the license steward (except to note that such - modified license differs from this License). - -10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses - If You choose to distribute Source Code Form that is Incompatible With - Secondary Licenses under the terms of this version of the License, the - notice described in Exhibit B of this License must be attached. - -Exhibit A - Source Code Form License Notice - - This Source Code Form is subject to the - terms of the Mozilla Public License, v. - 2.0. If a copy of the MPL was not - distributed with this file, You can - obtain one at - http://mozilla.org/MPL/2.0/. - -If it is not possible or desirable to put the notice in a particular file, then -You may include the notice in a location (such as a LICENSE file in a relevant -directory) where a recipient would be likely to look for such a notice. - -You may add additional accurate notices of copyright ownership. - -Exhibit B - “Incompatible With Secondary Licenses” Notice - - This Source Code Form is “Incompatible - With Secondary Licenses”, as defined by - the Mozilla Public License, v. 2.0. \ No newline at end of file +TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND TITLE. diff --git a/Makefile b/Makefile index fefd88f86..60ad6adee 100644 --- a/Makefile +++ b/Makefile @@ -419,3 +419,12 @@ prep/ci/protoc: mkdir tools unzip protoc-${PROTO_VERSION}-linux-x86_64.zip -d ./tools rm protoc-${PROTO_VERSION}-linux-x86_64.zip + +# Copywrite Check Tool: https://github.com/hashicorp/copywrite +license: license/headers/check + +license/headers/check: + copywrite headers --plan + +license/headers/apply: + copywrite headers diff --git a/bundle.Dockerfile b/bundle.Dockerfile index a11e62b57..633fe9e52 100644 --- a/bundle.Dockerfile +++ b/bundle.Dockerfile @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + FROM scratch # Core bundle labels. diff --git a/charts/mondoo-operator/Chart.yaml b/charts/mondoo-operator/Chart.yaml index a4fe72263..c55bbf726 100755 --- a/charts/mondoo-operator/Chart.yaml +++ b/charts/mondoo-operator/Chart.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: v2 name: mondoo-operator description: A Helm chart for installing mondoo-operator on Kubernetes diff --git a/charts/mondoo-operator/templates/deployment.yaml b/charts/mondoo-operator/templates/deployment.yaml index 1b44ed237..7a58b3936 100644 --- a/charts/mondoo-operator/templates/deployment.yaml +++ b/charts/mondoo-operator/templates/deployment.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/charts/mondoo-operator/templates/k8s-resources-scanning-rbac.yaml b/charts/mondoo-operator/templates/k8s-resources-scanning-rbac.yaml index a70d7069d..62c433145 100644 --- a/charts/mondoo-operator/templates/k8s-resources-scanning-rbac.yaml +++ b/charts/mondoo-operator/templates/k8s-resources-scanning-rbac.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: diff --git a/charts/mondoo-operator/templates/leader-election-rbac.yaml b/charts/mondoo-operator/templates/leader-election-rbac.yaml index 42587c4a6..853a4612e 100644 --- a/charts/mondoo-operator/templates/leader-election-rbac.yaml +++ b/charts/mondoo-operator/templates/leader-election-rbac.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: diff --git a/charts/mondoo-operator/templates/manager-config.yaml b/charts/mondoo-operator/templates/manager-config.yaml index 21660a437..8761d5e06 100644 --- a/charts/mondoo-operator/templates/manager-config.yaml +++ b/charts/mondoo-operator/templates/manager-config.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: v1 kind: ConfigMap metadata: diff --git a/charts/mondoo-operator/templates/manager-rbac.yaml b/charts/mondoo-operator/templates/manager-rbac.yaml index 328b2d760..029d5f410 100644 --- a/charts/mondoo-operator/templates/manager-rbac.yaml +++ b/charts/mondoo-operator/templates/manager-rbac.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: diff --git a/charts/mondoo-operator/templates/metrics-reader-rbac.yaml b/charts/mondoo-operator/templates/metrics-reader-rbac.yaml index ddf40d9d7..cc914b816 100644 --- a/charts/mondoo-operator/templates/metrics-reader-rbac.yaml +++ b/charts/mondoo-operator/templates/metrics-reader-rbac.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: diff --git a/charts/mondoo-operator/templates/metrics-service.yaml b/charts/mondoo-operator/templates/metrics-service.yaml index 2ffe9f1c9..2d26222bb 100644 --- a/charts/mondoo-operator/templates/metrics-service.yaml +++ b/charts/mondoo-operator/templates/metrics-service.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: v1 kind: Service metadata: diff --git a/charts/mondoo-operator/templates/mondooauditconfig-crd.yaml b/charts/mondoo-operator/templates/mondooauditconfig-crd.yaml index 8ecd40c45..2da1d9f78 100644 --- a/charts/mondoo-operator/templates/mondooauditconfig-crd.yaml +++ b/charts/mondoo-operator/templates/mondooauditconfig-crd.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/charts/mondoo-operator/templates/mondoooperatorconfig-crd.yaml b/charts/mondoo-operator/templates/mondoooperatorconfig-crd.yaml index b4fabad67..1c9e61598 100644 --- a/charts/mondoo-operator/templates/mondoooperatorconfig-crd.yaml +++ b/charts/mondoo-operator/templates/mondoooperatorconfig-crd.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/charts/mondoo-operator/templates/nodes-rbac.yaml b/charts/mondoo-operator/templates/nodes-rbac.yaml index 36526ec55..5bbe2d9b6 100644 --- a/charts/mondoo-operator/templates/nodes-rbac.yaml +++ b/charts/mondoo-operator/templates/nodes-rbac.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: diff --git a/charts/mondoo-operator/templates/proxy-rbac.yaml b/charts/mondoo-operator/templates/proxy-rbac.yaml index 05aa56074..2a8303ea9 100644 --- a/charts/mondoo-operator/templates/proxy-rbac.yaml +++ b/charts/mondoo-operator/templates/proxy-rbac.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: diff --git a/charts/mondoo-operator/templates/workload-rbac.yaml b/charts/mondoo-operator/templates/workload-rbac.yaml index f6f068940..05273c8b6 100644 --- a/charts/mondoo-operator/templates/workload-rbac.yaml +++ b/charts/mondoo-operator/templates/workload-rbac.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: diff --git a/charts/mondoo-operator/values.yaml b/charts/mondoo-operator/values.yaml index 7b7908974..c55702b9c 100644 --- a/charts/mondoo-operator/values.yaml +++ b/charts/mondoo-operator/values.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + controllerManager: manager: args: diff --git a/cmd/mondoo-operator/garbage_collect/cmd.go b/cmd/mondoo-operator/garbage_collect/cmd.go index 268040959..745ef948b 100644 --- a/cmd/mondoo-operator/garbage_collect/cmd.go +++ b/cmd/mondoo-operator/garbage_collect/cmd.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package garbage_collect import ( diff --git a/cmd/mondoo-operator/k8s_scan/cmd.go b/cmd/mondoo-operator/k8s_scan/cmd.go index 24e1fb78c..52adfeb65 100644 --- a/cmd/mondoo-operator/k8s_scan/cmd.go +++ b/cmd/mondoo-operator/k8s_scan/cmd.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package k8s_scan import ( diff --git a/cmd/mondoo-operator/main.go b/cmd/mondoo-operator/main.go index 20c890053..91259b207 100644 --- a/cmd/mondoo-operator/main.go +++ b/cmd/mondoo-operator/main.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package main import ( diff --git a/cmd/mondoo-operator/operator/cmd.go b/cmd/mondoo-operator/operator/cmd.go index 18c84f67d..99a0e3746 100644 --- a/cmd/mondoo-operator/operator/cmd.go +++ b/cmd/mondoo-operator/operator/cmd.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package operator import ( diff --git a/cmd/mondoo-operator/version/cmd.go b/cmd/mondoo-operator/version/cmd.go index 76f9ecb26..e5640d0bc 100644 --- a/cmd/mondoo-operator/version/cmd.go +++ b/cmd/mondoo-operator/version/cmd.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package version import ( diff --git a/config/certmanager/certificate.yaml b/config/certmanager/certificate.yaml index 52d866183..aa61514fb 100644 --- a/config/certmanager/certificate.yaml +++ b/config/certmanager/certificate.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # The following manifests contain a self-signed issuer CR and a certificate CR. # More document can be found at https://docs.cert-manager.io # WARNING: Targets CertManager v1.0. Check https://cert-manager.io/docs/installation/upgrading/ for breaking changes. diff --git a/config/certmanager/kustomization.yaml b/config/certmanager/kustomization.yaml index bebea5a59..00c8ce4db 100644 --- a/config/certmanager/kustomization.yaml +++ b/config/certmanager/kustomization.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + resources: - certificate.yaml diff --git a/config/certmanager/kustomizeconfig.yaml b/config/certmanager/kustomizeconfig.yaml index 90d7c313c..9533a8784 100644 --- a/config/certmanager/kustomizeconfig.yaml +++ b/config/certmanager/kustomizeconfig.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # This configuration is for teaching kustomize how to update name ref and var substitution nameReference: - kind: Issuer diff --git a/config/crd/bases/k8s.mondoo.com_mondooauditconfigs.yaml b/config/crd/bases/k8s.mondoo.com_mondooauditconfigs.yaml index c7638103c..32a4784ad 100644 --- a/config/crd/bases/k8s.mondoo.com_mondooauditconfigs.yaml +++ b/config/crd/bases/k8s.mondoo.com_mondooauditconfigs.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/config/crd/bases/k8s.mondoo.com_mondoooperatorconfigs.yaml b/config/crd/bases/k8s.mondoo.com_mondoooperatorconfigs.yaml index 381445ed9..ac8cdfaf8 100644 --- a/config/crd/bases/k8s.mondoo.com_mondoooperatorconfigs.yaml +++ b/config/crd/bases/k8s.mondoo.com_mondoooperatorconfigs.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/config/crd/kustomization.yaml b/config/crd/kustomization.yaml index 680c75074..456cac521 100644 --- a/config/crd/kustomization.yaml +++ b/config/crd/kustomization.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # This kustomization.yaml is not intended to be run by itself, # since it depends on service name and namespace that are out of this kustomize package. # It should be run by config/default diff --git a/config/crd/kustomizeconfig.yaml b/config/crd/kustomizeconfig.yaml index ec5c150a9..631a15d5a 100644 --- a/config/crd/kustomizeconfig.yaml +++ b/config/crd/kustomizeconfig.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # This file is for teaching kustomize how to substitute name and namespace reference in CRD nameReference: - kind: Service diff --git a/config/crd/patches/cainjection_in_mondooauditconfigs.yaml b/config/crd/patches/cainjection_in_mondooauditconfigs.yaml index a4337c9ee..d73d98e09 100644 --- a/config/crd/patches/cainjection_in_mondooauditconfigs.yaml +++ b/config/crd/patches/cainjection_in_mondooauditconfigs.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # The following patch adds a directive for certmanager to inject CA into the CRD apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/config/crd/patches/cainjection_in_mondoooperatorconfigs.yaml b/config/crd/patches/cainjection_in_mondoooperatorconfigs.yaml index 95fe9539c..3387ac7ba 100644 --- a/config/crd/patches/cainjection_in_mondoooperatorconfigs.yaml +++ b/config/crd/patches/cainjection_in_mondoooperatorconfigs.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # The following patch adds a directive for certmanager to inject CA into the CRD apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/config/crd/patches/webhook_in_mondooauditconfigs.yaml b/config/crd/patches/webhook_in_mondooauditconfigs.yaml index 3686d9cb2..eb648eb9b 100644 --- a/config/crd/patches/webhook_in_mondooauditconfigs.yaml +++ b/config/crd/patches/webhook_in_mondooauditconfigs.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # The following patch enables a conversion webhook for the CRD apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/config/crd/patches/webhook_in_mondoooperatorconfigs.yaml b/config/crd/patches/webhook_in_mondoooperatorconfigs.yaml index 4ec773095..56a69b7b9 100644 --- a/config/crd/patches/webhook_in_mondoooperatorconfigs.yaml +++ b/config/crd/patches/webhook_in_mondoooperatorconfigs.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # The following patch enables a conversion webhook for the CRD apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/config/default/kustomization.yaml b/config/default/kustomization.yaml index 965bd85fe..1a52ddfaa 100644 --- a/config/default/kustomization.yaml +++ b/config/default/kustomization.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # Adds namespace to all resources. namespace: mondoo-operator diff --git a/config/default/manager_auth_proxy_patch.yaml b/config/default/manager_auth_proxy_patch.yaml index 46244f5a9..821c09913 100644 --- a/config/default/manager_auth_proxy_patch.yaml +++ b/config/default/manager_auth_proxy_patch.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # This patch inject a sidecar container which is a HTTP proxy for the # controller manager, it performs RBAC authorization against the Kubernetes API using SubjectAccessReviews. apiVersion: apps/v1 diff --git a/config/default/manager_config_patch.yaml b/config/default/manager_config_patch.yaml index 6c400155c..dfeeb3718 100644 --- a/config/default/manager_config_patch.yaml +++ b/config/default/manager_config_patch.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/config/default/manager_public_metrics_patch.yaml b/config/default/manager_public_metrics_patch.yaml index 6758de786..001e587c3 100644 --- a/config/default/manager_public_metrics_patch.yaml +++ b/config/default/manager_public_metrics_patch.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # This patch exposes the metrics port for direct scraping by Prometheus, and it # binds the metrics port to :8080 (instead of 127.0.0.1:8080). apiVersion: apps/v1 diff --git a/config/default/manager_webhook_patch.yaml b/config/default/manager_webhook_patch.yaml index 738de350b..966270334 100644 --- a/config/default/manager_webhook_patch.yaml +++ b/config/default/manager_webhook_patch.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/config/default/webhookcainjection_patch.yaml b/config/default/webhookcainjection_patch.yaml index 02ab515d4..d1c41f976 100644 --- a/config/default/webhookcainjection_patch.yaml +++ b/config/default/webhookcainjection_patch.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # This patch add annotation to admission webhook config and # the variables $(CERTIFICATE_NAMESPACE) and $(CERTIFICATE_NAME) will be substituted by kustomize. apiVersion: admissionregistration.k8s.io/v1 diff --git a/config/manager/controller_manager_config.yaml b/config/manager/controller_manager_config.yaml index 0c87531a6..7e5e31b6c 100644 --- a/config/manager/controller_manager_config.yaml +++ b/config/manager/controller_manager_config.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: controller-runtime.sigs.k8s.io/v1alpha1 kind: ControllerManagerConfig health: diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 4ff1d6f6c..68f8f5513 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + resources: - manager.yaml - metrics-service.yaml diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 817ad7793..5c2407bc8 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: v1 kind: Namespace metadata: diff --git a/config/manager/metrics-service.yaml b/config/manager/metrics-service.yaml index 2b79ede7f..e1eade1e0 100644 --- a/config/manager/metrics-service.yaml +++ b/config/manager/metrics-service.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # This service is used for allowing direct http scraping by Prometheus apiVersion: v1 kind: Service diff --git a/config/manifests/bases/mondoo-operator.clusterserviceversion.yaml b/config/manifests/bases/mondoo-operator.clusterserviceversion.yaml index cbae0de30..bf5e6c261 100644 --- a/config/manifests/bases/mondoo-operator.clusterserviceversion.yaml +++ b/config/manifests/bases/mondoo-operator.clusterserviceversion.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: operators.coreos.com/v1alpha1 kind: ClusterServiceVersion metadata: diff --git a/config/manifests/kustomization.yaml b/config/manifests/kustomization.yaml index ec5680a0d..8f81af564 100644 --- a/config/manifests/kustomization.yaml +++ b/config/manifests/kustomization.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # These resources constitute the fully configured set of manifests # used to generate the 'manifests/' directory in a bundle. resources: diff --git a/config/manifests/patches/description.yaml b/config/manifests/patches/description.yaml index 7304a8d90..d1d8282c6 100644 --- a/config/manifests/patches/description.yaml +++ b/config/manifests/patches/description.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + - op: add path: "/spec/description" value: | diff --git a/config/prometheus/kustomization.yaml b/config/prometheus/kustomization.yaml index ed137168a..d35aa5122 100644 --- a/config/prometheus/kustomization.yaml +++ b/config/prometheus/kustomization.yaml @@ -1,2 +1,5 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + resources: - monitor.yaml diff --git a/config/prometheus/monitor.yaml b/config/prometheus/monitor.yaml index d19136ae7..654581d2a 100644 --- a/config/prometheus/monitor.yaml +++ b/config/prometheus/monitor.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # Prometheus Monitor Service (Metrics) apiVersion: monitoring.coreos.com/v1 diff --git a/config/rbac/auth_proxy_client_clusterrole.yaml b/config/rbac/auth_proxy_client_clusterrole.yaml index 51a75db47..b14bb9ce3 100644 --- a/config/rbac/auth_proxy_client_clusterrole.yaml +++ b/config/rbac/auth_proxy_client_clusterrole.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: diff --git a/config/rbac/auth_proxy_role.yaml b/config/rbac/auth_proxy_role.yaml index 80e1857c5..d6c1d968b 100644 --- a/config/rbac/auth_proxy_role.yaml +++ b/config/rbac/auth_proxy_role.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: diff --git a/config/rbac/auth_proxy_role_binding.yaml b/config/rbac/auth_proxy_role_binding.yaml index ec7acc0a1..731389202 100644 --- a/config/rbac/auth_proxy_role_binding.yaml +++ b/config/rbac/auth_proxy_role_binding.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: diff --git a/config/rbac/auth_proxy_service.yaml b/config/rbac/auth_proxy_service.yaml index 9add3a931..84f7d0c6f 100644 --- a/config/rbac/auth_proxy_service.yaml +++ b/config/rbac/auth_proxy_service.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: v1 kind: Service metadata: diff --git a/config/rbac/k8s_resources_scanning_clusterrole.yaml b/config/rbac/k8s_resources_scanning_clusterrole.yaml index babe45080..9d90cb2b5 100644 --- a/config/rbac/k8s_resources_scanning_clusterrole.yaml +++ b/config/rbac/k8s_resources_scanning_clusterrole.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: diff --git a/config/rbac/k8s_resources_scanning_clusterrolebinding.yaml b/config/rbac/k8s_resources_scanning_clusterrolebinding.yaml index c243c88be..f0b1d4b3c 100644 --- a/config/rbac/k8s_resources_scanning_clusterrolebinding.yaml +++ b/config/rbac/k8s_resources_scanning_clusterrolebinding.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: diff --git a/config/rbac/k8s_resources_scanning_service_account.yaml b/config/rbac/k8s_resources_scanning_service_account.yaml index 4dd748bfb..48e277d19 100644 --- a/config/rbac/k8s_resources_scanning_service_account.yaml +++ b/config/rbac/k8s_resources_scanning_service_account.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/config/rbac/kustomization.yaml b/config/rbac/kustomization.yaml index 2fd6860f4..2cf2c095f 100644 --- a/config/rbac/kustomization.yaml +++ b/config/rbac/kustomization.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + resources: # All RBAC will be applied under this service account in # the deployment namespace. You may comment out this resource diff --git a/config/rbac/leader_election_role.yaml b/config/rbac/leader_election_role.yaml index 4190ec805..45fdd9a52 100644 --- a/config/rbac/leader_election_role.yaml +++ b/config/rbac/leader_election_role.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # permissions to do leader election. apiVersion: rbac.authorization.k8s.io/v1 kind: Role diff --git a/config/rbac/leader_election_role_binding.yaml b/config/rbac/leader_election_role_binding.yaml index 1d1321ed4..37ceb9095 100644 --- a/config/rbac/leader_election_role_binding.yaml +++ b/config/rbac/leader_election_role_binding.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: diff --git a/config/rbac/mondooauditconfig_editor_role.yaml b/config/rbac/mondooauditconfig_editor_role.yaml index fc299f1f6..76b932271 100644 --- a/config/rbac/mondooauditconfig_editor_role.yaml +++ b/config/rbac/mondooauditconfig_editor_role.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # permissions for end users to edit mondooauditconfigs. apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/config/rbac/mondooauditconfig_viewer_role.yaml b/config/rbac/mondooauditconfig_viewer_role.yaml index 67f6558b3..2564cb559 100644 --- a/config/rbac/mondooauditconfig_viewer_role.yaml +++ b/config/rbac/mondooauditconfig_viewer_role.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # permissions for end users to view mondooauditconfigs. apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/config/rbac/mondoooperatorconfig_editor_role.yaml b/config/rbac/mondoooperatorconfig_editor_role.yaml index 4881d32ab..8acbbcbb6 100644 --- a/config/rbac/mondoooperatorconfig_editor_role.yaml +++ b/config/rbac/mondoooperatorconfig_editor_role.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # permissions for end users to edit mondoooperatorconfigs. apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/config/rbac/mondoooperatorconfig_viewer_role.yaml b/config/rbac/mondoooperatorconfig_viewer_role.yaml index a7791bf9a..fe861d3ae 100644 --- a/config/rbac/mondoooperatorconfig_viewer_role.yaml +++ b/config/rbac/mondoooperatorconfig_viewer_role.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # permissions for end users to view mondoooperatorconfigs. apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/config/rbac/role.yaml b/config/rbac/role.yaml index 1726ff805..b05dc294f 100644 --- a/config/rbac/role.yaml +++ b/config/rbac/role.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/config/rbac/role_binding.yaml b/config/rbac/role_binding.yaml index 2070ede44..32d8aa4c1 100644 --- a/config/rbac/role_binding.yaml +++ b/config/rbac/role_binding.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: diff --git a/config/rbac/service_account.yaml b/config/rbac/service_account.yaml index 7cd6025bf..c32258407 100644 --- a/config/rbac/service_account.yaml +++ b/config/rbac/service_account.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/config/rbac/webhook_service_account.yaml b/config/rbac/webhook_service_account.yaml index 15e59ecde..9727df985 100644 --- a/config/rbac/webhook_service_account.yaml +++ b/config/rbac/webhook_service_account.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/config/samples/k8s_v1alpha2_mondooauditconfig.yaml b/config/samples/k8s_v1alpha2_mondooauditconfig.yaml index d9c5191b4..a03721919 100644 --- a/config/samples/k8s_v1alpha2_mondooauditconfig.yaml +++ b/config/samples/k8s_v1alpha2_mondooauditconfig.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: k8s.mondoo.com/v1alpha2 kind: MondooAuditConfig metadata: diff --git a/config/samples/k8s_v1alpha2_mondooauditconfig_minimal.yaml b/config/samples/k8s_v1alpha2_mondooauditconfig_minimal.yaml index 7d68c4dc8..6a4f0536f 100644 --- a/config/samples/k8s_v1alpha2_mondooauditconfig_minimal.yaml +++ b/config/samples/k8s_v1alpha2_mondooauditconfig_minimal.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: k8s.mondoo.com/v1alpha2 kind: MondooAuditConfig metadata: diff --git a/config/samples/k8s_v1alpha2_mondoooperatorconfig.yaml b/config/samples/k8s_v1alpha2_mondoooperatorconfig.yaml index 876a0c54b..042190001 100644 --- a/config/samples/k8s_v1alpha2_mondoooperatorconfig.yaml +++ b/config/samples/k8s_v1alpha2_mondoooperatorconfig.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: k8s.mondoo.com/v1alpha2 kind: MondooOperatorConfig metadata: diff --git a/config/samples/kustomization.yaml b/config/samples/kustomization.yaml index eacc76c9a..53d481dfb 100644 --- a/config/samples/kustomization.yaml +++ b/config/samples/kustomization.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + ## Append samples you want in your CSV to this file as resources ## resources: - k8s_v1alpha2_mondooauditconfig_minimal.yaml diff --git a/config/scorecard/bases/config.yaml b/config/scorecard/bases/config.yaml index c77047841..2da5cd20e 100644 --- a/config/scorecard/bases/config.yaml +++ b/config/scorecard/bases/config.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: scorecard.operatorframework.io/v1alpha3 kind: Configuration metadata: diff --git a/config/scorecard/kustomization.yaml b/config/scorecard/kustomization.yaml index 50cd2d084..f0bb937b4 100644 --- a/config/scorecard/kustomization.yaml +++ b/config/scorecard/kustomization.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + resources: - bases/config.yaml patchesJson6902: diff --git a/config/scorecard/patches/basic.config.yaml b/config/scorecard/patches/basic.config.yaml index c19af06f9..13298194d 100644 --- a/config/scorecard/patches/basic.config.yaml +++ b/config/scorecard/patches/basic.config.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + - op: add path: /stages/0/tests/- value: diff --git a/config/scorecard/patches/olm.config.yaml b/config/scorecard/patches/olm.config.yaml index 0e4888c96..36876a34e 100644 --- a/config/scorecard/patches/olm.config.yaml +++ b/config/scorecard/patches/olm.config.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + - op: add path: /stages/0/tests/- value: diff --git a/config/webhook/kustomization.yaml b/config/webhook/kustomization.yaml index 4bad1452e..6c829156f 100644 --- a/config/webhook/kustomization.yaml +++ b/config/webhook/kustomization.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: mondoo-operator diff --git a/config/webhook/kustomizeconfig.yaml b/config/webhook/kustomizeconfig.yaml index 25e21e3c9..61543d074 100644 --- a/config/webhook/kustomizeconfig.yaml +++ b/config/webhook/kustomizeconfig.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # the following config is for teaching kustomize where to look at when substituting vars. # It requires kustomize v2.1.0 or newer to work properly. nameReference: diff --git a/config/webhook/manifests.yaml b/config/webhook/manifests.yaml index a01634a47..38a313aa8 100644 --- a/config/webhook/manifests.yaml +++ b/config/webhook/manifests.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + --- apiVersion: admissionregistration.k8s.io/v1 kind: ValidatingWebhookConfiguration diff --git a/config/webhook/service.yaml b/config/webhook/service.yaml index 3f638bd9c..3fb5e4e71 100644 --- a/config/webhook/service.yaml +++ b/config/webhook/service.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: v1 kind: Service diff --git a/controllers/admission/webhook-manifests.yaml b/controllers/admission/webhook-manifests.yaml index af84024ba..91d9955d2 100644 --- a/controllers/admission/webhook-manifests.yaml +++ b/controllers/admission/webhook-manifests.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + apiVersion: admissionregistration.k8s.io/v1 kind: ValidatingWebhookConfiguration metadata: diff --git a/controllers/metrics/metrics.go b/controllers/metrics/metrics.go index d0559bdaf..32a5c4e0a 100644 --- a/controllers/metrics/metrics.go +++ b/controllers/metrics/metrics.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package metrics import ( diff --git a/controllers/metrics/metrics_test.go b/controllers/metrics/metrics_test.go index 05da1d0b2..2c7cfab41 100644 --- a/controllers/metrics/metrics_test.go +++ b/controllers/metrics/metrics_test.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package metrics import ( diff --git a/pkg/constants/constants.go b/pkg/constants/constants.go index 3d74f1eb2..da52b4799 100644 --- a/pkg/constants/constants.go +++ b/pkg/constants/constants.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package constants const ( diff --git a/pkg/feature_flags/feature_flags.go b/pkg/feature_flags/feature_flags.go index b7f91fd99..09fca72dd 100644 --- a/pkg/feature_flags/feature_flags.go +++ b/pkg/feature_flags/feature_flags.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package feature_flags import ( diff --git a/pkg/imagecache/imagecache.go b/pkg/imagecache/imagecache.go index a946bc66d..38b83dc78 100644 --- a/pkg/imagecache/imagecache.go +++ b/pkg/imagecache/imagecache.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package imagecache import ( diff --git a/pkg/imagecache/imagecache_test.go b/pkg/imagecache/imagecache_test.go index 9e57eb69f..9bbdaac91 100644 --- a/pkg/imagecache/imagecache_test.go +++ b/pkg/imagecache/imagecache_test.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package imagecache import ( diff --git a/pkg/mondooclient/client_test.go b/pkg/mondooclient/client_test.go index d016d184c..98b28be17 100644 --- a/pkg/mondooclient/client_test.go +++ b/pkg/mondooclient/client_test.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package mondooclient_test import ( diff --git a/pkg/mondooclient/fakeserver/fakeserver.go b/pkg/mondooclient/fakeserver/fakeserver.go index 6ed46b9f0..2223f6553 100644 --- a/pkg/mondooclient/fakeserver/fakeserver.go +++ b/pkg/mondooclient/fakeserver/fakeserver.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package fakeserver import ( diff --git a/pkg/utils/logger/logger.go b/pkg/utils/logger/logger.go index 3061096e9..05ed4f1ec 100644 --- a/pkg/utils/logger/logger.go +++ b/pkg/utils/logger/logger.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package logger import ( diff --git a/pkg/utils/mondoo/container_image_resolver_test.go b/pkg/utils/mondoo/container_image_resolver_test.go index 63ff52538..c74e417bb 100644 --- a/pkg/utils/mondoo/container_image_resolver_test.go +++ b/pkg/utils/mondoo/container_image_resolver_test.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package mondoo import ( diff --git a/pkg/utils/mondoo/token.go b/pkg/utils/mondoo/token.go index 2f4919ce3..0a49e3a7e 100644 --- a/pkg/utils/mondoo/token.go +++ b/pkg/utils/mondoo/token.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package mondoo import ( diff --git a/pkg/utils/test/namespace.go b/pkg/utils/test/namespace.go index 7e68d4640..c6b4a0185 100644 --- a/pkg/utils/test/namespace.go +++ b/pkg/utils/test/namespace.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package test import ( diff --git a/pkg/utils/utils_test.go b/pkg/utils/utils_test.go index 0c6aeb2e3..9c436e20e 100644 --- a/pkg/utils/utils_test.go +++ b/pkg/utils/utils_test.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package utils import ( diff --git a/pkg/webhooks/handler/webhook.go b/pkg/webhooks/handler/webhook.go index a4f687750..7e27174b2 100644 --- a/pkg/webhooks/handler/webhook.go +++ b/pkg/webhooks/handler/webhook.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package webhookhandler import ( diff --git a/pkg/webhooks/handler/webhook_test.go b/pkg/webhooks/handler/webhook_test.go index aeefe6d08..3702aad98 100644 --- a/pkg/webhooks/handler/webhook_test.go +++ b/pkg/webhooks/handler/webhook_test.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package webhookhandler import ( diff --git a/pkg/webhooks/utils/modes.go b/pkg/webhooks/utils/modes.go index c11458ee0..af9c1a1e6 100644 --- a/pkg/webhooks/utils/modes.go +++ b/pkg/webhooks/utils/modes.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package utils import ( diff --git a/release.sh b/release.sh index 638d688bd..541af882e 100755 --- a/release.sh +++ b/release.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # This script updates all the versions to do a release: # ./release.sh 0.0.13 0.1.6 diff --git a/scripts/push-virtual-tag.sh b/scripts/push-virtual-tag.sh index 43d2f76a9..3567d1b7e 100755 --- a/scripts/push-virtual-tag.sh +++ b/scripts/push-virtual-tag.sh @@ -1,3 +1,6 @@ +# Copyright (c) Mondoo, Inc. +# SPDX-License-Identifier: BUSL-1.1 + # exit immediately when a command fails set -e # only exit with zero if all commands of the pipeline exit successfully diff --git a/tests/credentials/credentials.go b/tests/credentials/credentials.go index 60cdcd10b..6fcb18e7b 100644 --- a/tests/credentials/credentials.go +++ b/tests/credentials/credentials.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package credentials import ( diff --git a/tests/framework/installer/installer.go b/tests/framework/installer/installer.go index 874a7991e..38416ad0a 100644 --- a/tests/framework/installer/installer.go +++ b/tests/framework/installer/installer.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package installer import ( diff --git a/tests/framework/installer/settings.go b/tests/framework/installer/settings.go index 4bb88e11f..d598fac4b 100644 --- a/tests/framework/installer/settings.go +++ b/tests/framework/installer/settings.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package installer import ( diff --git a/tests/framework/nexus/api/api.go b/tests/framework/nexus/api/api.go index e43db5841..c70a2e294 100644 --- a/tests/framework/nexus/api/api.go +++ b/tests/framework/nexus/api/api.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package api //go:generate protoc --proto_path=../:. --go_out=. --go_opt=paths=source_relative --rangerrpc_out=. pagination.proto diff --git a/tests/framework/nexus/api/captain/captain.go b/tests/framework/nexus/api/captain/captain.go index 55d938030..15ad1d3b2 100644 --- a/tests/framework/nexus/api/captain/captain.go +++ b/tests/framework/nexus/api/captain/captain.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package captain //go:generate protoc --proto_path=../:. --go_out=. --go_opt=paths=source_relative --rangerrpc_out=. captain.proto diff --git a/tests/framework/nexus/api/captain/captain.proto b/tests/framework/nexus/api/captain/captain.proto index 93b1ca787..5073bb2fb 100644 --- a/tests/framework/nexus/api/captain/captain.proto +++ b/tests/framework/nexus/api/captain/captain.proto @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + syntax = "proto3"; import "pagination.proto"; diff --git a/tests/framework/nexus/api/integrations/integrations.go b/tests/framework/nexus/api/integrations/integrations.go index 3eef1e08e..f40c26fd3 100644 --- a/tests/framework/nexus/api/integrations/integrations.go +++ b/tests/framework/nexus/api/integrations/integrations.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package integrations //go:generate protoc --proto_path=../:. --go_out=. --go_opt=paths=source_relative --rangerrpc_out=. integrations.proto diff --git a/tests/framework/nexus/api/integrations/integrations.proto b/tests/framework/nexus/api/integrations/integrations.proto index e87ed7419..8730f1a19 100644 --- a/tests/framework/nexus/api/integrations/integrations.proto +++ b/tests/framework/nexus/api/integrations/integrations.proto @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + syntax = "proto3"; import "google/protobuf/struct.proto"; diff --git a/tests/framework/nexus/api/pagination.proto b/tests/framework/nexus/api/pagination.proto index fd54ec20e..f5c869afb 100644 --- a/tests/framework/nexus/api/pagination.proto +++ b/tests/framework/nexus/api/pagination.proto @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + syntax = "proto3"; package mondoo.captain.v1; diff --git a/tests/framework/nexus/api/policy/policy.go b/tests/framework/nexus/api/policy/policy.go index f681e9859..34ce0c1e6 100644 --- a/tests/framework/nexus/api/policy/policy.go +++ b/tests/framework/nexus/api/policy/policy.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package policy //go:generate protoc --proto_path=../:../../../../../cnquery:. --go_out=. --go_opt=paths=source_relative --rangerrpc_out=. policy.proto diff --git a/tests/framework/nexus/api/policy/policy.proto b/tests/framework/nexus/api/policy/policy.proto index 149430872..e79ecdd33 100644 --- a/tests/framework/nexus/api/policy/policy.proto +++ b/tests/framework/nexus/api/policy/policy.proto @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + syntax = "proto3"; package mondoo.policy; diff --git a/tests/framework/nexus/client.go b/tests/framework/nexus/client.go index e3fc6e05e..d19b65705 100644 --- a/tests/framework/nexus/client.go +++ b/tests/framework/nexus/client.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package nexus import ( diff --git a/tests/framework/nexus/k8s/integration.go b/tests/framework/nexus/k8s/integration.go index b44ceb45b..b01d46e97 100644 --- a/tests/framework/nexus/k8s/integration.go +++ b/tests/framework/nexus/k8s/integration.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package k8s import ( diff --git a/tests/framework/nexus/k8s/k8s.go b/tests/framework/nexus/k8s/k8s.go index 11e5718d2..83c770f85 100644 --- a/tests/framework/nexus/k8s/k8s.go +++ b/tests/framework/nexus/k8s/k8s.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package k8s import ( diff --git a/tests/framework/nexus/space.go b/tests/framework/nexus/space.go index c21fdde9e..ebbd482ca 100644 --- a/tests/framework/nexus/space.go +++ b/tests/framework/nexus/space.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package nexus import ( diff --git a/tests/framework/utils/audit_config.go b/tests/framework/utils/audit_config.go index 54035e7f8..ee3bb0bba 100644 --- a/tests/framework/utils/audit_config.go +++ b/tests/framework/utils/audit_config.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package utils import ( diff --git a/tests/framework/utils/certificate_utils.go b/tests/framework/utils/certificate_utils.go index ec07df571..21b9a9696 100644 --- a/tests/framework/utils/certificate_utils.go +++ b/tests/framework/utils/certificate_utils.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package utils import ( diff --git a/tests/framework/utils/labels.go b/tests/framework/utils/labels.go index 3d3fa1996..bd14103b0 100644 --- a/tests/framework/utils/labels.go +++ b/tests/framework/utils/labels.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package utils import ( diff --git a/tests/framework/utils/service_account.go b/tests/framework/utils/service_account.go index d06f5dedd..f04cc27d3 100644 --- a/tests/framework/utils/service_account.go +++ b/tests/framework/utils/service_account.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package utils import ( diff --git a/tests/integration/audit_config_base_suite.go b/tests/integration/audit_config_base_suite.go index 1d9940482..f3eac7a6b 100644 --- a/tests/integration/audit_config_base_suite.go +++ b/tests/integration/audit_config_base_suite.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package integration import ( diff --git a/tests/integration/audit_config_namespace_test.go b/tests/integration/audit_config_namespace_test.go index fd9b6c02c..6f66fd98b 100644 --- a/tests/integration/audit_config_namespace_test.go +++ b/tests/integration/audit_config_namespace_test.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package integration import ( diff --git a/tests/integration/audit_config_test.go b/tests/integration/audit_config_test.go index 6d6518cd1..6b9a6c566 100644 --- a/tests/integration/audit_config_test.go +++ b/tests/integration/audit_config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package integration import ( diff --git a/tests/integration/audit_config_upgrade_test.go b/tests/integration/audit_config_upgrade_test.go index 08c79c896..ebe734993 100644 --- a/tests/integration/audit_config_upgrade_test.go +++ b/tests/integration/audit_config_upgrade_test.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package integration import ( diff --git a/tests/integration/e2e_test.go b/tests/integration/e2e_test.go index 543932a6f..ee9c6c32f 100644 --- a/tests/integration/e2e_test.go +++ b/tests/integration/e2e_test.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package integration import ( diff --git a/tests/integration/test_cluster.go b/tests/integration/test_cluster.go index afcb368a8..97837bba1 100644 --- a/tests/integration/test_cluster.go +++ b/tests/integration/test_cluster.go @@ -1,3 +1,6 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package integration import (