From 57fae243660955d85bbf15efebbe32ebedd9cac8 Mon Sep 17 00:00:00 2001 From: Leonardo Grasso Date: Wed, 11 Oct 2023 11:15:29 +0200 Subject: [PATCH] docs: add license headers and spdx id Signed-off-by: Leonardo Grasso --- Makefile | 14 ++++++++++++++ cmd/falco-exporter/root.go | 14 ++++++++++++++ cmd/falco-exporter/signals.go | 14 ++++++++++++++ pkg/exporter/exporter.go | 14 ++++++++++++++ 4 files changed, 56 insertions(+) diff --git a/Makefile b/Makefile index 02b1522..df8e7b1 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,17 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2023 The Falco Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + SHELL=/bin/bash -o pipefail GO ?= go diff --git a/cmd/falco-exporter/root.go b/cmd/falco-exporter/root.go index 6bb2a50..ff5d2b2 100644 --- a/cmd/falco-exporter/root.go +++ b/cmd/falco-exporter/root.go @@ -1,3 +1,17 @@ +// SPDX-License-Identifier: Apache-2.0 +/* +Copyright (C) 2023 The Falco Authors. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package main import ( diff --git a/cmd/falco-exporter/signals.go b/cmd/falco-exporter/signals.go index c2a7999..de2c4c7 100644 --- a/cmd/falco-exporter/signals.go +++ b/cmd/falco-exporter/signals.go @@ -1,3 +1,17 @@ +// SPDX-License-Identifier: Apache-2.0 +/* +Copyright (C) 2023 The Falco Authors. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package main import ( diff --git a/pkg/exporter/exporter.go b/pkg/exporter/exporter.go index 7095dd7..9a6a057 100644 --- a/pkg/exporter/exporter.go +++ b/pkg/exporter/exporter.go @@ -1,3 +1,17 @@ +// SPDX-License-Identifier: Apache-2.0 +/* +Copyright (C) 2023 The Falco Authors. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package exporter import (