From c5b1d545aa7241c1895eb432fc7f5daaf198ab8e Mon Sep 17 00:00:00 2001 From: Chance <139784371+UnicornChance@users.noreply.github.com> Date: Thu, 17 Oct 2024 12:57:19 -0600 Subject: [PATCH] fix: test ci license check (#924) ## Description CI currently doesn't check for license linting. Also updating some compliance files with license headers. ## Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [x] Other (security config, docs update, etc) ## Checklist before merging - [x] Test, docs, adr added or updated as needed - [x] [Contributor Guide](https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md) followed --- compliance/oscal-assessment-results.yaml | 3 +++ .../istio/all-namespaces-istio-injected/tests.yaml | 3 +++ .../istio/all-namespaces-istio-injected/validation.yaml | 3 +++ .../validations/istio/all-pods-istio-injected/tests.yaml | 3 +++ .../istio/all-pods-istio-injected/validation.yaml | 3 +++ .../tests.yaml | 3 +++ .../validation.yaml | 3 +++ .../validations/istio/authorized-keycloak-access/tests.yaml | 3 +++ .../istio/authorized-keycloak-access/validation.yaml | 3 +++ .../istio/authorized-traffic-egress/validation.yaml | 3 +++ .../istio/check-istio-admin-gateway-and-usage/tests.yaml | 3 +++ .../check-istio-admin-gateway-and-usage/validation.yaml | 3 +++ .../istio/check-istio-logging-all-traffic/tests.yaml | 3 +++ .../istio/check-istio-logging-all-traffic/validation.yaml | 3 +++ .../validation.yaml | 3 +++ .../egress-gateway-exists-and-configured/validation.yaml | 3 +++ compliance/validations/istio/enforce-mtls-strict/tests.yaml | 3 +++ .../validations/istio/enforce-mtls-strict/validation.yaml | 3 +++ .../istio/external-traffic-managed/validation.yaml | 3 +++ compliance/validations/istio/fips-evaluation/validation.yaml | 3 +++ .../validations/istio/gateway-configuration-check/tests.yaml | 3 +++ .../istio/gateway-configuration-check/validation.yaml | 3 +++ compliance/validations/istio/healthcheck/tests.yaml | 3 +++ compliance/validations/istio/healthcheck/validation.yaml | 3 +++ .../validations/istio/ingress-traffic-encrypted/tests.yaml | 3 +++ .../istio/ingress-traffic-encrypted/validation.yaml | 3 +++ .../validations/istio/metrics-logging-configured/tests.yaml | 3 +++ .../istio/metrics-logging-configured/validation.yaml | 3 +++ .../istio/prometheus-annotations-validation/tests.yaml | 3 +++ .../istio/prometheus-annotations-validation/validation.yaml | 3 +++ .../validations/istio/rbac-enforcement-check/tests.yaml | 3 +++ .../validations/istio/rbac-enforcement-check/validation.yaml | 3 +++ .../istio/rbac-for-approved-personnel/validation.yaml | 3 +++ .../tests.yaml | 3 +++ .../validation.yaml | 3 +++ .../istio/secure-communication-with-istiod/tests.yaml | 3 +++ .../istio/secure-communication-with-istiod/validation.yaml | 3 +++ .../istio/tls-origination-at-egress/validation.yaml | 3 +++ .../validations/istio/tracing-logging-support/tests.yaml | 3 +++ .../istio/tracing-logging-support/validation.yaml | 3 +++ tasks/lint.yaml | 5 +++++ 41 files changed, 125 insertions(+) diff --git a/compliance/oscal-assessment-results.yaml b/compliance/oscal-assessment-results.yaml index 55dc29871..836f79b1e 100644 --- a/compliance/oscal-assessment-results.yaml +++ b/compliance/oscal-assessment-results.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + assessment-results: import-ap: href: "" diff --git a/compliance/validations/istio/all-namespaces-istio-injected/tests.yaml b/compliance/validations/istio/all-namespaces-istio-injected/tests.yaml index 0a7e4d8c4..dd27a4e8a 100644 --- a/compliance/validations/istio/all-namespaces-istio-injected/tests.yaml +++ b/compliance/validations/istio/all-namespaces-istio-injected/tests.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + pass: - test: default validation: validation.yaml diff --git a/compliance/validations/istio/all-namespaces-istio-injected/validation.yaml b/compliance/validations/istio/all-namespaces-istio-injected/validation.yaml index d32392e6c..8acfa3b8a 100644 --- a/compliance/validations/istio/all-namespaces-istio-injected/validation.yaml +++ b/compliance/validations/istio/all-namespaces-istio-injected/validation.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + metadata: name: all-namespaces-istio-injected uuid: 0da39859-a91a-4ca6-bd8b-9b117689188f diff --git a/compliance/validations/istio/all-pods-istio-injected/tests.yaml b/compliance/validations/istio/all-pods-istio-injected/tests.yaml index d468d39e2..82eb1e66c 100644 --- a/compliance/validations/istio/all-pods-istio-injected/tests.yaml +++ b/compliance/validations/istio/all-pods-istio-injected/tests.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + pass: - test: default validation: validation.yaml diff --git a/compliance/validations/istio/all-pods-istio-injected/validation.yaml b/compliance/validations/istio/all-pods-istio-injected/validation.yaml index e6881d7e0..05b4f0fee 100644 --- a/compliance/validations/istio/all-pods-istio-injected/validation.yaml +++ b/compliance/validations/istio/all-pods-istio-injected/validation.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + metadata: name: all-pods-istio-injected uuid: 1761ac07-80dd-47d2-947e-09f67943b986 diff --git a/compliance/validations/istio/authorization-policies-require-authentication-DEPRECATED/tests.yaml b/compliance/validations/istio/authorization-policies-require-authentication-DEPRECATED/tests.yaml index 17d3581a9..948eff134 100644 --- a/compliance/validations/istio/authorization-policies-require-authentication-DEPRECATED/tests.yaml +++ b/compliance/validations/istio/authorization-policies-require-authentication-DEPRECATED/tests.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + pass: - test: default validation: validation.yaml diff --git a/compliance/validations/istio/authorization-policies-require-authentication-DEPRECATED/validation.yaml b/compliance/validations/istio/authorization-policies-require-authentication-DEPRECATED/validation.yaml index d4abe2920..69aea4c6f 100644 --- a/compliance/validations/istio/authorization-policies-require-authentication-DEPRECATED/validation.yaml +++ b/compliance/validations/istio/authorization-policies-require-authentication-DEPRECATED/validation.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + metadata: name: istio-authorization-policies-require-authentication uuid: e38c0695-10f6-40b6-b246-fa58b26ccd25 diff --git a/compliance/validations/istio/authorized-keycloak-access/tests.yaml b/compliance/validations/istio/authorized-keycloak-access/tests.yaml index c2ffc31ec..49e1e1164 100644 --- a/compliance/validations/istio/authorized-keycloak-access/tests.yaml +++ b/compliance/validations/istio/authorized-keycloak-access/tests.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + pass: - test: default validation: validation.yaml diff --git a/compliance/validations/istio/authorized-keycloak-access/validation.yaml b/compliance/validations/istio/authorized-keycloak-access/validation.yaml index b59e82453..ba3c0066b 100644 --- a/compliance/validations/istio/authorized-keycloak-access/validation.yaml +++ b/compliance/validations/istio/authorized-keycloak-access/validation.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + metadata: name: istio-enforces-authorized-keycloak-access uuid: fbd877c8-d6b6-4d88-8685-2c4aaaab02a1 diff --git a/compliance/validations/istio/authorized-traffic-egress/validation.yaml b/compliance/validations/istio/authorized-traffic-egress/validation.yaml index 0a997e887..a2523b93c 100644 --- a/compliance/validations/istio/authorized-traffic-egress/validation.yaml +++ b/compliance/validations/istio/authorized-traffic-egress/validation.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + metadata: name: authorized-traffic-egress-PLACEHOLDER uuid: 7455f86d-b79c-4226-9ce3-f3fb7d9348c8 diff --git a/compliance/validations/istio/check-istio-admin-gateway-and-usage/tests.yaml b/compliance/validations/istio/check-istio-admin-gateway-and-usage/tests.yaml index d77fce294..2c1638602 100644 --- a/compliance/validations/istio/check-istio-admin-gateway-and-usage/tests.yaml +++ b/compliance/validations/istio/check-istio-admin-gateway-and-usage/tests.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + pass: - test: default validation: validation.yaml diff --git a/compliance/validations/istio/check-istio-admin-gateway-and-usage/validation.yaml b/compliance/validations/istio/check-istio-admin-gateway-and-usage/validation.yaml index 61139d719..9c1c6ce57 100644 --- a/compliance/validations/istio/check-istio-admin-gateway-and-usage/validation.yaml +++ b/compliance/validations/istio/check-istio-admin-gateway-and-usage/validation.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + metadata: name: check-istio-admin-gateway-and-usage uuid: c6c9daf1-4196-406d-8679-312c0512ab2e diff --git a/compliance/validations/istio/check-istio-logging-all-traffic/tests.yaml b/compliance/validations/istio/check-istio-logging-all-traffic/tests.yaml index bc6eafc76..3215d813b 100644 --- a/compliance/validations/istio/check-istio-logging-all-traffic/tests.yaml +++ b/compliance/validations/istio/check-istio-logging-all-traffic/tests.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + pass: - test: default validation: validation.yaml diff --git a/compliance/validations/istio/check-istio-logging-all-traffic/validation.yaml b/compliance/validations/istio/check-istio-logging-all-traffic/validation.yaml index 20227e2eb..f9f0d0b37 100644 --- a/compliance/validations/istio/check-istio-logging-all-traffic/validation.yaml +++ b/compliance/validations/istio/check-istio-logging-all-traffic/validation.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + metadata: name: check-istio-logging-all-traffic uuid: 90738c86-6315-450a-ac69-cc50eb4859cc diff --git a/compliance/validations/istio/communications-terminated-after-inactivity/validation.yaml b/compliance/validations/istio/communications-terminated-after-inactivity/validation.yaml index 9bc171ca7..df4cf357f 100644 --- a/compliance/validations/istio/communications-terminated-after-inactivity/validation.yaml +++ b/compliance/validations/istio/communications-terminated-after-inactivity/validation.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + metadata: name: communications-terminated-after-inactivity-PLACEHOLDER uuid: 663f5e92-6db4-4042-8b5a-eba3ebe5a622 diff --git a/compliance/validations/istio/egress-gateway-exists-and-configured/validation.yaml b/compliance/validations/istio/egress-gateway-exists-and-configured/validation.yaml index e0f1dec06..c6d1ec602 100644 --- a/compliance/validations/istio/egress-gateway-exists-and-configured/validation.yaml +++ b/compliance/validations/istio/egress-gateway-exists-and-configured/validation.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + metadata: name: egress-gateway-exists-and-configured-PLACEHOLDER uuid: c3b022eb-19a5-4711-8099-da4a90c9dd5d diff --git a/compliance/validations/istio/enforce-mtls-strict/tests.yaml b/compliance/validations/istio/enforce-mtls-strict/tests.yaml index 011697430..577a8531f 100644 --- a/compliance/validations/istio/enforce-mtls-strict/tests.yaml +++ b/compliance/validations/istio/enforce-mtls-strict/tests.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + pass: - test: default validation: validation.yaml diff --git a/compliance/validations/istio/enforce-mtls-strict/validation.yaml b/compliance/validations/istio/enforce-mtls-strict/validation.yaml index ed2fb4271..47884b6c7 100644 --- a/compliance/validations/istio/enforce-mtls-strict/validation.yaml +++ b/compliance/validations/istio/enforce-mtls-strict/validation.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + metadata: name: enforce-mtls-strict uuid: ca49ac97-487a-446a-a0b7-92b20e2c83cb diff --git a/compliance/validations/istio/external-traffic-managed/validation.yaml b/compliance/validations/istio/external-traffic-managed/validation.yaml index b83dab0b3..e75053697 100644 --- a/compliance/validations/istio/external-traffic-managed/validation.yaml +++ b/compliance/validations/istio/external-traffic-managed/validation.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + metadata: name: external-traffic-managed-PLACEHOLDER uuid: 19faf69a-de74-4b78-a628-64a9f244ae13 diff --git a/compliance/validations/istio/fips-evaluation/validation.yaml b/compliance/validations/istio/fips-evaluation/validation.yaml index 51d9663ee..99381fd03 100644 --- a/compliance/validations/istio/fips-evaluation/validation.yaml +++ b/compliance/validations/istio/fips-evaluation/validation.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + metadata: name: fips-evaluation-PLACEHOLDER uuid: 73434890-2751-4894-b7b2-7e583b4a8977 diff --git a/compliance/validations/istio/gateway-configuration-check/tests.yaml b/compliance/validations/istio/gateway-configuration-check/tests.yaml index ac7eea542..3e99e140d 100644 --- a/compliance/validations/istio/gateway-configuration-check/tests.yaml +++ b/compliance/validations/istio/gateway-configuration-check/tests.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + pass: - test: default validation: validation.yaml diff --git a/compliance/validations/istio/gateway-configuration-check/validation.yaml b/compliance/validations/istio/gateway-configuration-check/validation.yaml index c1be18882..aac991e49 100644 --- a/compliance/validations/istio/gateway-configuration-check/validation.yaml +++ b/compliance/validations/istio/gateway-configuration-check/validation.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + metadata: name: gateway-configuration-check uuid: b0a8f21e-b12f-47ea-a967-2f4a3ec69e44 diff --git a/compliance/validations/istio/healthcheck/tests.yaml b/compliance/validations/istio/healthcheck/tests.yaml index fe5940d0e..a12115ab9 100644 --- a/compliance/validations/istio/healthcheck/tests.yaml +++ b/compliance/validations/istio/healthcheck/tests.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + pass: - test: default validation: validation.yaml diff --git a/compliance/validations/istio/healthcheck/validation.yaml b/compliance/validations/istio/healthcheck/validation.yaml index 9eea7e20f..6712453e1 100644 --- a/compliance/validations/istio/healthcheck/validation.yaml +++ b/compliance/validations/istio/healthcheck/validation.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + metadata: name: istio-health-check uuid: 67456ae8-4505-4c93-b341-d977d90cb125 diff --git a/compliance/validations/istio/ingress-traffic-encrypted/tests.yaml b/compliance/validations/istio/ingress-traffic-encrypted/tests.yaml index ca3b6b747..aff605c07 100644 --- a/compliance/validations/istio/ingress-traffic-encrypted/tests.yaml +++ b/compliance/validations/istio/ingress-traffic-encrypted/tests.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + pass: - test: default validation: validation.yaml diff --git a/compliance/validations/istio/ingress-traffic-encrypted/validation.yaml b/compliance/validations/istio/ingress-traffic-encrypted/validation.yaml index 198125f72..6ad35a610 100644 --- a/compliance/validations/istio/ingress-traffic-encrypted/validation.yaml +++ b/compliance/validations/istio/ingress-traffic-encrypted/validation.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + metadata: name: ingress-traffic-encrypted uuid: fd071676-6b92-4e1c-a4f0-4c8d2bd55aed diff --git a/compliance/validations/istio/metrics-logging-configured/tests.yaml b/compliance/validations/istio/metrics-logging-configured/tests.yaml index 30a2f63e4..165deb586 100644 --- a/compliance/validations/istio/metrics-logging-configured/tests.yaml +++ b/compliance/validations/istio/metrics-logging-configured/tests.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + pass: - test: default validation: validation.yaml diff --git a/compliance/validations/istio/metrics-logging-configured/validation.yaml b/compliance/validations/istio/metrics-logging-configured/validation.yaml index 89df8a9e3..287b1bf3d 100644 --- a/compliance/validations/istio/metrics-logging-configured/validation.yaml +++ b/compliance/validations/istio/metrics-logging-configured/validation.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + metadata: name: istio-metrics-logging-configured uuid: 70d99754-2918-400c-ac9a-319f874fff90 diff --git a/compliance/validations/istio/prometheus-annotations-validation/tests.yaml b/compliance/validations/istio/prometheus-annotations-validation/tests.yaml index 561af468c..a17450e71 100644 --- a/compliance/validations/istio/prometheus-annotations-validation/tests.yaml +++ b/compliance/validations/istio/prometheus-annotations-validation/tests.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + pass: - test: default validation: validation.yaml diff --git a/compliance/validations/istio/prometheus-annotations-validation/validation.yaml b/compliance/validations/istio/prometheus-annotations-validation/validation.yaml index 7ef265e52..1d736e563 100644 --- a/compliance/validations/istio/prometheus-annotations-validation/validation.yaml +++ b/compliance/validations/istio/prometheus-annotations-validation/validation.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + metadata: name: istio-prometheus-annotations-validation uuid: f345c359-3208-46fb-9348-959bd628301e diff --git a/compliance/validations/istio/rbac-enforcement-check/tests.yaml b/compliance/validations/istio/rbac-enforcement-check/tests.yaml index f12f79fae..52e2a0aca 100644 --- a/compliance/validations/istio/rbac-enforcement-check/tests.yaml +++ b/compliance/validations/istio/rbac-enforcement-check/tests.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + pass: - test: default validation: validation.yaml diff --git a/compliance/validations/istio/rbac-enforcement-check/validation.yaml b/compliance/validations/istio/rbac-enforcement-check/validation.yaml index 866ded2ab..105bddb22 100644 --- a/compliance/validations/istio/rbac-enforcement-check/validation.yaml +++ b/compliance/validations/istio/rbac-enforcement-check/validation.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + metadata: name: istio-rbac-enforcement-check uuid: 7b045b2a-106f-4c8c-85d9-ae3d7a8e0e28 diff --git a/compliance/validations/istio/rbac-for-approved-personnel/validation.yaml b/compliance/validations/istio/rbac-for-approved-personnel/validation.yaml index 5c3ee4d90..562a24113 100644 --- a/compliance/validations/istio/rbac-for-approved-personnel/validation.yaml +++ b/compliance/validations/istio/rbac-for-approved-personnel/validation.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + metadata: name: istio-rbac-for-approved-personnel-PLACEHOLDER uuid: 9b361d7b-4e07-40db-8b86-3854ed499a4b diff --git a/compliance/validations/istio/request-authentication-and-auth-policies-configured-DEPRECATED/tests.yaml b/compliance/validations/istio/request-authentication-and-auth-policies-configured-DEPRECATED/tests.yaml index ba762915f..3205dd54e 100644 --- a/compliance/validations/istio/request-authentication-and-auth-policies-configured-DEPRECATED/tests.yaml +++ b/compliance/validations/istio/request-authentication-and-auth-policies-configured-DEPRECATED/tests.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + pass: - test: default validation: validation.yaml diff --git a/compliance/validations/istio/request-authentication-and-auth-policies-configured-DEPRECATED/validation.yaml b/compliance/validations/istio/request-authentication-and-auth-policies-configured-DEPRECATED/validation.yaml index acf733019..2d4994c87 100644 --- a/compliance/validations/istio/request-authentication-and-auth-policies-configured-DEPRECATED/validation.yaml +++ b/compliance/validations/istio/request-authentication-and-auth-policies-configured-DEPRECATED/validation.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + metadata: name: request-authenication-and-auth-policies-configured uuid: 3e217577-930e-4469-a999-1a5704b5cecb diff --git a/compliance/validations/istio/secure-communication-with-istiod/tests.yaml b/compliance/validations/istio/secure-communication-with-istiod/tests.yaml index 2948c4bed..9b952d82d 100644 --- a/compliance/validations/istio/secure-communication-with-istiod/tests.yaml +++ b/compliance/validations/istio/secure-communication-with-istiod/tests.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + pass: - test: default validation: validation.yaml diff --git a/compliance/validations/istio/secure-communication-with-istiod/validation.yaml b/compliance/validations/istio/secure-communication-with-istiod/validation.yaml index dd2360545..a0670ff07 100644 --- a/compliance/validations/istio/secure-communication-with-istiod/validation.yaml +++ b/compliance/validations/istio/secure-communication-with-istiod/validation.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + metadata: name: secure-communication-with-istiod uuid: 570e2dc7-e6c2-4ad5-8ea3-f07974f59747 diff --git a/compliance/validations/istio/tls-origination-at-egress/validation.yaml b/compliance/validations/istio/tls-origination-at-egress/validation.yaml index 65e6d7ca0..79149a6da 100644 --- a/compliance/validations/istio/tls-origination-at-egress/validation.yaml +++ b/compliance/validations/istio/tls-origination-at-egress/validation.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + metadata: name: tls-origination-at-egress-PLACEHOLDER uuid: 8be1601e-5870-4573-ab4f-c1c199944815 diff --git a/compliance/validations/istio/tracing-logging-support/tests.yaml b/compliance/validations/istio/tracing-logging-support/tests.yaml index d3afbb1bd..c661466f0 100644 --- a/compliance/validations/istio/tracing-logging-support/tests.yaml +++ b/compliance/validations/istio/tracing-logging-support/tests.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + pass: - test: default validation: validation.yaml diff --git a/compliance/validations/istio/tracing-logging-support/validation.yaml b/compliance/validations/istio/tracing-logging-support/validation.yaml index 610ea8f30..f06511702 100644 --- a/compliance/validations/istio/tracing-logging-support/validation.yaml +++ b/compliance/validations/istio/tracing-logging-support/validation.yaml @@ -1,3 +1,6 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + metadata: name: istio-tracing-logging-support uuid: f346b797-be35-40a8-a93a-585db6fd56ec diff --git a/tasks/lint.yaml b/tasks/lint.yaml index f5702ee1c..ecce5fe3c 100644 --- a/tasks/lint.yaml +++ b/tasks/lint.yaml @@ -31,6 +31,11 @@ tasks: cmd: yamllint . -c .yamllint --no-warnings - description: codespell lint cmd: codespell + - description: Install addlicense dep + # renovate: datasource=github-tags depName=google/addlicense versioning=semver + cmd: GOPATH="$HOME/go" go install github.com/google/addlicense@v1.1.1 + - description: license lint + task: license - name: oscal actions: