From af60cb47a7e733d355e12929b218a09c0054dda9 Mon Sep 17 00:00:00 2001 From: Leonardo Grasso Date: Wed, 11 Oct 2023 10:57:12 +0200 Subject: [PATCH] docs: add license headers and spdx id Signed-off-by: Leonardo Grasso --- config.go | 17 +++++++++++++++++ handlers.go | 17 +++++++++++++++++ main.go | 17 +++++++++++++++++ outputs/alertmanager.go | 17 +++++++++++++++++ outputs/alertmanager_test.go | 17 +++++++++++++++++ outputs/aws.go | 17 +++++++++++++++++ outputs/awssecuritylake.go | 17 +++++++++++++++++ outputs/azure.go | 17 +++++++++++++++++ outputs/client.go | 17 +++++++++++++++++ outputs/client_test.go | 17 +++++++++++++++++ outputs/cliq.go | 17 +++++++++++++++++ outputs/cliq_test.go | 17 +++++++++++++++++ outputs/cloudevents.go | 17 +++++++++++++++++ outputs/constants.go | 17 +++++++++++++++++ outputs/datadog.go | 17 +++++++++++++++++ outputs/datadog_test.go | 17 +++++++++++++++++ outputs/discord.go | 17 +++++++++++++++++ outputs/discord_test.go | 17 +++++++++++++++++ outputs/dynatrace.go | 17 +++++++++++++++++ outputs/dynatrace_test.go | 17 +++++++++++++++++ outputs/elasticsearch.go | 17 +++++++++++++++++ outputs/fission.go | 17 +++++++++++++++++ outputs/gcp.go | 17 +++++++++++++++++ outputs/gcpcloudrun.go | 17 +++++++++++++++++ outputs/googlechat.go | 17 +++++++++++++++++ outputs/googlechat_test.go | 17 +++++++++++++++++ outputs/gotify.go | 17 +++++++++++++++++ outputs/grafana.go | 17 +++++++++++++++++ outputs/influxdb.go | 17 +++++++++++++++++ outputs/influxdb_test.go | 17 +++++++++++++++++ outputs/kafka.go | 17 +++++++++++++++++ outputs/kafkarest.go | 17 +++++++++++++++++ outputs/kubeless.go | 17 +++++++++++++++++ outputs/loki.go | 17 +++++++++++++++++ outputs/loki_test.go | 17 +++++++++++++++++ outputs/mattermost.go | 17 +++++++++++++++++ outputs/mattermost_test.go | 17 +++++++++++++++++ outputs/mqtt.go | 17 +++++++++++++++++ outputs/n8n.go | 17 +++++++++++++++++ outputs/nats.go | 17 +++++++++++++++++ outputs/nodered.go | 17 +++++++++++++++++ outputs/openfaas.go | 17 +++++++++++++++++ outputs/openobserve.go | 17 +++++++++++++++++ outputs/opsgenie.go | 17 +++++++++++++++++ outputs/opsgenie_test.go | 17 +++++++++++++++++ outputs/pagerduty.go | 17 +++++++++++++++++ outputs/pagerduty_test.go | 17 +++++++++++++++++ outputs/policyreport.go | 17 +++++++++++++++++ outputs/rabbitmq.go | 17 +++++++++++++++++ outputs/redis.go | 17 +++++++++++++++++ outputs/rocketchat.go | 17 +++++++++++++++++ outputs/rocketchat_test.go | 17 +++++++++++++++++ outputs/slack.go | 17 +++++++++++++++++ outputs/slack_test.go | 17 +++++++++++++++++ outputs/smtp.go | 17 +++++++++++++++++ outputs/smtp_templates.go | 17 +++++++++++++++++ outputs/spyderbat.go | 17 +++++++++++++++++ outputs/stan.go | 17 +++++++++++++++++ outputs/statsd.go | 17 +++++++++++++++++ outputs/sumologic.go | 17 +++++++++++++++++ outputs/syslog.go | 17 +++++++++++++++++ outputs/teams.go | 17 +++++++++++++++++ outputs/teams_test.go | 17 +++++++++++++++++ outputs/tekton.go | 17 +++++++++++++++++ outputs/telegram.go | 17 +++++++++++++++++ outputs/telegram_test.go | 17 +++++++++++++++++ outputs/timescaledb.go | 17 +++++++++++++++++ outputs/timescaledb_test.go | 17 +++++++++++++++++ outputs/utils.go | 17 +++++++++++++++++ outputs/wavefront.go | 17 +++++++++++++++++ outputs/webhook.go | 17 +++++++++++++++++ outputs/webui.go | 17 +++++++++++++++++ outputs/yandex.go | 17 +++++++++++++++++ outputs/zincsearch.go | 17 +++++++++++++++++ stats.go | 17 +++++++++++++++++ stats_prometheus.go | 17 +++++++++++++++++ stats_prometheus_test.go | 17 +++++++++++++++++ types/priority.go | 17 +++++++++++++++++ types/priority_test.go | 17 +++++++++++++++++ types/types.go | 17 +++++++++++++++++ version.go | 17 +++++++++++++++++ 81 files changed, 1377 insertions(+) diff --git a/config.go b/config.go index c9ca60123..0658bf4f0 100644 --- a/config.go +++ b/config.go @@ -1,3 +1,20 @@ +// 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/handlers.go b/handlers.go index 7690e075d..c0e445d8b 100644 --- a/handlers.go +++ b/handlers.go @@ -1,3 +1,20 @@ +// 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/main.go b/main.go index 06b2b5b77..ea1dacc62 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,20 @@ +// 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/outputs/alertmanager.go b/outputs/alertmanager.go index c168f8ff0..a07cf3bcf 100644 --- a/outputs/alertmanager.go +++ b/outputs/alertmanager.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/alertmanager_test.go b/outputs/alertmanager_test.go index b2a8c4247..f30c5f174 100644 --- a/outputs/alertmanager_test.go +++ b/outputs/alertmanager_test.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/aws.go b/outputs/aws.go index 8e736a155..127c9540e 100644 --- a/outputs/aws.go +++ b/outputs/aws.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/awssecuritylake.go b/outputs/awssecuritylake.go index 93d745443..c94463bba 100644 --- a/outputs/awssecuritylake.go +++ b/outputs/awssecuritylake.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/azure.go b/outputs/azure.go index c5279367c..67879b9a8 100644 --- a/outputs/azure.go +++ b/outputs/azure.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/client.go b/outputs/client.go index bf219aafe..3d514e634 100644 --- a/outputs/client.go +++ b/outputs/client.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/client_test.go b/outputs/client_test.go index 11d848f20..6f2144b21 100644 --- a/outputs/client_test.go +++ b/outputs/client_test.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/cliq.go b/outputs/cliq.go index 97f007089..ce49f1992 100644 --- a/outputs/cliq.go +++ b/outputs/cliq.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/cliq_test.go b/outputs/cliq_test.go index 91b091137..4d6efe393 100644 --- a/outputs/cliq_test.go +++ b/outputs/cliq_test.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/cloudevents.go b/outputs/cloudevents.go index 0064820ea..ebffd971e 100644 --- a/outputs/cloudevents.go +++ b/outputs/cloudevents.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/constants.go b/outputs/constants.go index d05c4d1f7..8c188bf87 100644 --- a/outputs/constants.go +++ b/outputs/constants.go @@ -1,3 +1,20 @@ +// 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 outputs const ( diff --git a/outputs/datadog.go b/outputs/datadog.go index a05756098..1445cb9dc 100644 --- a/outputs/datadog.go +++ b/outputs/datadog.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/datadog_test.go b/outputs/datadog_test.go index 962ea0a70..0601f2d83 100644 --- a/outputs/datadog_test.go +++ b/outputs/datadog_test.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/discord.go b/outputs/discord.go index 3941a5458..193c2b015 100644 --- a/outputs/discord.go +++ b/outputs/discord.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/discord_test.go b/outputs/discord_test.go index 425040a46..7d53f9b5c 100644 --- a/outputs/discord_test.go +++ b/outputs/discord_test.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/dynatrace.go b/outputs/dynatrace.go index 24bba3ebd..8b12f84c3 100644 --- a/outputs/dynatrace.go +++ b/outputs/dynatrace.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/dynatrace_test.go b/outputs/dynatrace_test.go index 9d16fdecd..92758bdc2 100644 --- a/outputs/dynatrace_test.go +++ b/outputs/dynatrace_test.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/elasticsearch.go b/outputs/elasticsearch.go index 8942f722f..317d19b4a 100644 --- a/outputs/elasticsearch.go +++ b/outputs/elasticsearch.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/fission.go b/outputs/fission.go index bda53cc83..36e2cfcf9 100644 --- a/outputs/fission.go +++ b/outputs/fission.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/gcp.go b/outputs/gcp.go index 54d33da50..14ee0cb42 100644 --- a/outputs/gcp.go +++ b/outputs/gcp.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/gcpcloudrun.go b/outputs/gcpcloudrun.go index 58d925780..2bab4dfca 100644 --- a/outputs/gcpcloudrun.go +++ b/outputs/gcpcloudrun.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/googlechat.go b/outputs/googlechat.go index f39ffa15d..28fb6d9da 100644 --- a/outputs/googlechat.go +++ b/outputs/googlechat.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/googlechat_test.go b/outputs/googlechat_test.go index 69e8c5de6..ac5a0eae4 100644 --- a/outputs/googlechat_test.go +++ b/outputs/googlechat_test.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/gotify.go b/outputs/gotify.go index b931a1e50..aca52cc12 100644 --- a/outputs/gotify.go +++ b/outputs/gotify.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/grafana.go b/outputs/grafana.go index e04abbcd6..0a4859b3b 100644 --- a/outputs/grafana.go +++ b/outputs/grafana.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/influxdb.go b/outputs/influxdb.go index 5637d7903..3894a9434 100644 --- a/outputs/influxdb.go +++ b/outputs/influxdb.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/influxdb_test.go b/outputs/influxdb_test.go index bfbf4550b..95b228e21 100644 --- a/outputs/influxdb_test.go +++ b/outputs/influxdb_test.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/kafka.go b/outputs/kafka.go index 12859d09b..c9eface05 100644 --- a/outputs/kafka.go +++ b/outputs/kafka.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/kafkarest.go b/outputs/kafkarest.go index 1f104974d..704823703 100644 --- a/outputs/kafkarest.go +++ b/outputs/kafkarest.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/kubeless.go b/outputs/kubeless.go index 3d3873beb..2c7293b03 100644 --- a/outputs/kubeless.go +++ b/outputs/kubeless.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/loki.go b/outputs/loki.go index 7063e23bf..bb83beb91 100644 --- a/outputs/loki.go +++ b/outputs/loki.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/loki_test.go b/outputs/loki_test.go index 3aa68f7eb..fbdb0e293 100644 --- a/outputs/loki_test.go +++ b/outputs/loki_test.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/mattermost.go b/outputs/mattermost.go index ddc02b38f..8238436ce 100644 --- a/outputs/mattermost.go +++ b/outputs/mattermost.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/mattermost_test.go b/outputs/mattermost_test.go index b20170f30..558b41931 100644 --- a/outputs/mattermost_test.go +++ b/outputs/mattermost_test.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/mqtt.go b/outputs/mqtt.go index d329f7704..a437404ba 100644 --- a/outputs/mqtt.go +++ b/outputs/mqtt.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/n8n.go b/outputs/n8n.go index 498499b00..686004a75 100644 --- a/outputs/n8n.go +++ b/outputs/n8n.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/nats.go b/outputs/nats.go index 781c5df6b..9f190d7ad 100644 --- a/outputs/nats.go +++ b/outputs/nats.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/nodered.go b/outputs/nodered.go index 40b99821f..4d97c3ba1 100644 --- a/outputs/nodered.go +++ b/outputs/nodered.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/openfaas.go b/outputs/openfaas.go index a29c9e993..4f40b091b 100644 --- a/outputs/openfaas.go +++ b/outputs/openfaas.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/openobserve.go b/outputs/openobserve.go index dee8759ee..096e92c33 100644 --- a/outputs/openobserve.go +++ b/outputs/openobserve.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/opsgenie.go b/outputs/opsgenie.go index 21d386495..8a34dc22f 100644 --- a/outputs/opsgenie.go +++ b/outputs/opsgenie.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/opsgenie_test.go b/outputs/opsgenie_test.go index 9debfb17f..76afade22 100644 --- a/outputs/opsgenie_test.go +++ b/outputs/opsgenie_test.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/pagerduty.go b/outputs/pagerduty.go index 2f155c09b..5cb68a13b 100644 --- a/outputs/pagerduty.go +++ b/outputs/pagerduty.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/pagerduty_test.go b/outputs/pagerduty_test.go index 693992228..ecd775072 100644 --- a/outputs/pagerduty_test.go +++ b/outputs/pagerduty_test.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/policyreport.go b/outputs/policyreport.go index b5aae1bed..1f707f819 100644 --- a/outputs/policyreport.go +++ b/outputs/policyreport.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/rabbitmq.go b/outputs/rabbitmq.go index 428b23a9b..7b8cb1a41 100644 --- a/outputs/rabbitmq.go +++ b/outputs/rabbitmq.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/redis.go b/outputs/redis.go index 15de2dbcd..76ef32206 100644 --- a/outputs/redis.go +++ b/outputs/redis.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/rocketchat.go b/outputs/rocketchat.go index fe63fc612..f0ec3656c 100644 --- a/outputs/rocketchat.go +++ b/outputs/rocketchat.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/rocketchat_test.go b/outputs/rocketchat_test.go index 3cbe2c643..45d89a966 100644 --- a/outputs/rocketchat_test.go +++ b/outputs/rocketchat_test.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/slack.go b/outputs/slack.go index b9a88423a..e96abacee 100644 --- a/outputs/slack.go +++ b/outputs/slack.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/slack_test.go b/outputs/slack_test.go index 2ea8d4e0f..80566bf22 100644 --- a/outputs/slack_test.go +++ b/outputs/slack_test.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/smtp.go b/outputs/smtp.go index 15063bb4e..e6efef67b 100644 --- a/outputs/smtp.go +++ b/outputs/smtp.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/smtp_templates.go b/outputs/smtp_templates.go index e28204542..8fe695453 100644 --- a/outputs/smtp_templates.go +++ b/outputs/smtp_templates.go @@ -1,3 +1,20 @@ +// 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 outputs var plaintextTmpl = `Priority: {{ .Priority }} diff --git a/outputs/spyderbat.go b/outputs/spyderbat.go index cb05cd697..d26fd563d 100644 --- a/outputs/spyderbat.go +++ b/outputs/spyderbat.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/stan.go b/outputs/stan.go index 700af7c55..00294e02a 100644 --- a/outputs/stan.go +++ b/outputs/stan.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/statsd.go b/outputs/statsd.go index e55d6c257..a7bfd6bd8 100644 --- a/outputs/statsd.go +++ b/outputs/statsd.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/sumologic.go b/outputs/sumologic.go index ce6169937..009000800 100644 --- a/outputs/sumologic.go +++ b/outputs/sumologic.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/syslog.go b/outputs/syslog.go index 35d9e3669..e4244171b 100644 --- a/outputs/syslog.go +++ b/outputs/syslog.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/teams.go b/outputs/teams.go index ddaf2ea46..0e5eac884 100644 --- a/outputs/teams.go +++ b/outputs/teams.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/teams_test.go b/outputs/teams_test.go index 6b4852528..4d0dce78e 100644 --- a/outputs/teams_test.go +++ b/outputs/teams_test.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/tekton.go b/outputs/tekton.go index 45c1565d1..6754a86aa 100644 --- a/outputs/tekton.go +++ b/outputs/tekton.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/telegram.go b/outputs/telegram.go index cbe51189a..d37c35e29 100644 --- a/outputs/telegram.go +++ b/outputs/telegram.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/telegram_test.go b/outputs/telegram_test.go index 3200cc9e5..3a669ca61 100644 --- a/outputs/telegram_test.go +++ b/outputs/telegram_test.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/timescaledb.go b/outputs/timescaledb.go index 724a60f67..fd999d985 100644 --- a/outputs/timescaledb.go +++ b/outputs/timescaledb.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/timescaledb_test.go b/outputs/timescaledb_test.go index c40172ee2..d30d66d4c 100644 --- a/outputs/timescaledb_test.go +++ b/outputs/timescaledb_test.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/utils.go b/outputs/utils.go index c1b2f0332..d6c430644 100644 --- a/outputs/utils.go +++ b/outputs/utils.go @@ -1,3 +1,20 @@ +// 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 outputs import "sort" diff --git a/outputs/wavefront.go b/outputs/wavefront.go index d58d70cc8..9b3fe78f9 100644 --- a/outputs/wavefront.go +++ b/outputs/wavefront.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/webhook.go b/outputs/webhook.go index 9d3e8c2f9..87eae33af 100644 --- a/outputs/webhook.go +++ b/outputs/webhook.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/webui.go b/outputs/webui.go index be10e48be..aae843dbc 100644 --- a/outputs/webui.go +++ b/outputs/webui.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/yandex.go b/outputs/yandex.go index f8e600816..8556a7d56 100644 --- a/outputs/yandex.go +++ b/outputs/yandex.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/outputs/zincsearch.go b/outputs/zincsearch.go index 8a23d836c..b78c12cc9 100644 --- a/outputs/zincsearch.go +++ b/outputs/zincsearch.go @@ -1,3 +1,20 @@ +// 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 outputs import ( diff --git a/stats.go b/stats.go index 5f405b2d9..2c876c3f9 100644 --- a/stats.go +++ b/stats.go @@ -1,3 +1,20 @@ +// 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/stats_prometheus.go b/stats_prometheus.go index a4d48d188..30b2b890c 100644 --- a/stats_prometheus.go +++ b/stats_prometheus.go @@ -1,3 +1,20 @@ +// 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/stats_prometheus_test.go b/stats_prometheus_test.go index dab147f7f..7642da0fb 100644 --- a/stats_prometheus_test.go +++ b/stats_prometheus_test.go @@ -1,3 +1,20 @@ +// 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/types/priority.go b/types/priority.go index 5aa6d5f94..e5bcd623b 100644 --- a/types/priority.go +++ b/types/priority.go @@ -1,3 +1,20 @@ +// 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 types import ( diff --git a/types/priority_test.go b/types/priority_test.go index 3cf567e4c..ffac5a90c 100644 --- a/types/priority_test.go +++ b/types/priority_test.go @@ -1,3 +1,20 @@ +// 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 types import ( diff --git a/types/types.go b/types/types.go index 5600ea077..75e6cbf8a 100644 --- a/types/types.go +++ b/types/types.go @@ -1,3 +1,20 @@ +// 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 types import ( diff --git a/version.go b/version.go index a6c2a600d..cecfae9da 100644 --- a/version.go +++ b/version.go @@ -1,3 +1,20 @@ +// 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 (