From 7eb6a101a2dd43279de0ffe8372c00ee41668dca Mon Sep 17 00:00:00 2001 From: Michael Li Date: Wed, 1 Mar 2023 11:29:33 -0500 Subject: [PATCH] chore: Add missing compliance headers (#1649) --- ui/admin/tests/e2e/helpers/vault-cli.js | 5 +++++ ui/admin/tests/e2e/tests/credential-store-static.spec.js | 5 +++++ ui/admin/tests/e2e/tests/credential-store-vault.spec.js | 5 +++++ .../tests/e2e/tests/fixtures/boundary-controller-policy.hcl | 3 +++ ui/admin/tests/e2e/tests/fixtures/kv-policy.hcl | 3 +++ ui/admin/tests/e2e/tests/login.spec.js | 5 +++++ 6 files changed, 26 insertions(+) diff --git a/ui/admin/tests/e2e/helpers/vault-cli.js b/ui/admin/tests/e2e/helpers/vault-cli.js index 239ec22b7..9a5779ada 100644 --- a/ui/admin/tests/e2e/helpers/vault-cli.js +++ b/ui/admin/tests/e2e/helpers/vault-cli.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-disable no-undef */ const { execSync } = require('child_process'); diff --git a/ui/admin/tests/e2e/tests/credential-store-static.spec.js b/ui/admin/tests/e2e/tests/credential-store-static.spec.js index cad195cc9..ef79ce1ad 100644 --- a/ui/admin/tests/e2e/tests/credential-store-static.spec.js +++ b/ui/admin/tests/e2e/tests/credential-store-static.spec.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-disable no-undef */ const { test, expect } = require('@playwright/test'); const { execSync } = require('child_process'); diff --git a/ui/admin/tests/e2e/tests/credential-store-vault.spec.js b/ui/admin/tests/e2e/tests/credential-store-vault.spec.js index 7dabf3177..cf4860cab 100644 --- a/ui/admin/tests/e2e/tests/credential-store-vault.spec.js +++ b/ui/admin/tests/e2e/tests/credential-store-vault.spec.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-disable no-undef */ const { test, expect } = require('@playwright/test'); const { execSync } = require('child_process'); diff --git a/ui/admin/tests/e2e/tests/fixtures/boundary-controller-policy.hcl b/ui/admin/tests/e2e/tests/fixtures/boundary-controller-policy.hcl index 429177c01..ae4624096 100644 --- a/ui/admin/tests/e2e/tests/fixtures/boundary-controller-policy.hcl +++ b/ui/admin/tests/e2e/tests/fixtures/boundary-controller-policy.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + path "auth/token/lookup-self" { capabilities = ["read"] } diff --git a/ui/admin/tests/e2e/tests/fixtures/kv-policy.hcl b/ui/admin/tests/e2e/tests/fixtures/kv-policy.hcl index 09df33e98..7546edecb 100644 --- a/ui/admin/tests/e2e/tests/fixtures/kv-policy.hcl +++ b/ui/admin/tests/e2e/tests/fixtures/kv-policy.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + path "e2e_secrets/data/cred" { capabilities = ["read"] } diff --git a/ui/admin/tests/e2e/tests/login.spec.js b/ui/admin/tests/e2e/tests/login.spec.js index 1939a9f18..8b49c81e3 100644 --- a/ui/admin/tests/e2e/tests/login.spec.js +++ b/ui/admin/tests/e2e/tests/login.spec.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-disable no-undef */ const { test, expect } = require('@playwright/test');