From 27bb03bbc085b855e3b5790a104c1d81f6beab69 Mon Sep 17 00:00:00 2001 From: Hamid Ghaf <83242695+hghaf099@users.noreply.github.com> Date: Wed, 15 Mar 2023 09:00:52 -0700 Subject: [PATCH] adding copyright header (#19555) * adding copyright header * fix fmt and a test --- .circleci/config/@config.yml | 3 +++ .circleci/config/commands/@caches.yml | 3 +++ .circleci/config/commands/configure-git.yml | 3 +++ .../commands/exit-if-branch-does-not-need-test-ui.yml | 3 +++ .circleci/config/commands/exit-if-ui-or-docs-branch.yml | 3 +++ .circleci/config/commands/go_test.yml | 3 +++ .circleci/config/commands/setup-go.yml | 3 +++ .circleci/config/executors/@executors.yml | 2 ++ .circleci/config/jobs/build-go-dev.yml | 3 +++ .circleci/config/jobs/fmt.yml | 3 +++ .circleci/config/jobs/install-ui-dependencies.yml | 3 +++ .circleci/config/jobs/pre-flight-checks.yml | 3 +++ .circleci/config/jobs/semgrep.yml | 3 +++ .circleci/config/jobs/test-go-nightly.yml | 3 +++ .circleci/config/jobs/test-go-race-remote-docker.yml | 3 +++ .circleci/config/jobs/test-go-race.yml | 3 +++ .circleci/config/jobs/test-go-remote-docker.yml | 3 +++ .circleci/config/jobs/test-go.yml | 3 +++ .circleci/config/jobs/test-ui.yml | 3 +++ .circleci/config/workflows/ci.yml | 3 +++ .copywrite.hcl | 2 +- .github/ISSUE_TEMPLATE/config.yml | 3 +++ .github/scripts/generate-test-package-lists.sh | 3 +++ .github/scripts/test-generate-test-package-lists.sh | 3 +++ .release/ci.hcl | 3 +++ .release/docker/docker-entrypoint.sh | 3 +++ .release/docker/ubi-docker-entrypoint.sh | 3 +++ .release/linux/package/etc/vault.d/vault.hcl | 3 +++ .release/release-metadata.hcl | 3 +++ .release/security-scan.hcl | 3 +++ Dockerfile | 3 +++ Makefile | 4 ++-- api/api_test.go | 3 +++ api/auth.go | 3 +++ api/auth/approle/approle.go | 3 +++ api/auth/approle/approle_test.go | 3 +++ api/auth/aws/aws.go | 3 +++ api/auth/azure/azure.go | 3 +++ api/auth/gcp/gcp.go | 3 +++ api/auth/kubernetes/kubernetes.go | 3 +++ api/auth/ldap/ldap.go | 3 +++ api/auth/ldap/ldap_test.go | 3 +++ api/auth/userpass/userpass.go | 3 +++ api/auth/userpass/userpass_test.go | 3 +++ api/auth_test.go | 3 +++ api/auth_token.go | 3 +++ api/client.go | 3 +++ api/client_test.go | 3 +++ api/help.go | 3 +++ api/kv.go | 3 +++ api/kv_test.go | 3 +++ api/kv_v1.go | 3 +++ api/kv_v2.go | 3 +++ api/lifetime_watcher.go | 3 +++ api/logical.go | 3 +++ api/output_policy.go | 3 +++ api/output_policy_test.go | 3 +++ api/output_string.go | 3 +++ api/plugin_helpers.go | 3 +++ api/plugin_helpers_test.go | 3 +++ api/plugin_types.go | 3 +++ api/renewer_test.go | 3 +++ api/request.go | 3 +++ api/request_test.go | 3 +++ api/response.go | 3 +++ api/secret.go | 3 +++ api/ssh.go | 3 +++ api/ssh_agent.go | 3 +++ api/ssh_agent_test.go | 3 +++ api/sys.go | 3 +++ api/sys_audit.go | 3 +++ api/sys_auth.go | 3 +++ api/sys_capabilities.go | 3 +++ api/sys_config_cors.go | 3 +++ api/sys_generate_root.go | 3 +++ api/sys_hastatus.go | 3 +++ api/sys_health.go | 3 +++ api/sys_init.go | 3 +++ api/sys_leader.go | 3 +++ api/sys_leases.go | 3 +++ api/sys_mfa.go | 3 +++ api/sys_monitor.go | 3 +++ api/sys_mounts.go | 3 +++ api/sys_mounts_test.go | 3 +++ api/sys_plugins.go | 3 +++ api/sys_plugins_test.go | 3 +++ api/sys_policy.go | 3 +++ api/sys_raft.go | 3 +++ api/sys_rekey.go | 3 +++ api/sys_rotate.go | 3 +++ api/sys_seal.go | 3 +++ api/sys_stepdown.go | 3 +++ api/test-fixtures/agent_config.hcl | 3 +++ audit/audit.go | 3 +++ audit/format.go | 3 +++ audit/format_json.go | 3 +++ audit/format_json_test.go | 3 +++ audit/format_jsonx.go | 3 +++ audit/format_jsonx_test.go | 3 +++ audit/format_test.go | 3 +++ audit/formatter.go | 3 +++ audit/hashstructure.go | 3 +++ audit/hashstructure_test.go | 3 +++ builtin/audit/file/backend.go | 3 +++ builtin/audit/file/backend_test.go | 3 +++ builtin/audit/socket/backend.go | 3 +++ builtin/audit/syslog/backend.go | 3 +++ builtin/credential/approle/backend.go | 3 +++ builtin/credential/approle/backend_test.go | 3 +++ builtin/credential/approle/cmd/approle/main.go | 3 +++ builtin/credential/approle/path_login.go | 3 +++ builtin/credential/approle/path_login_test.go | 3 +++ builtin/credential/approle/path_role.go | 3 +++ builtin/credential/approle/path_role_test.go | 3 +++ builtin/credential/approle/path_tidy_user_id.go | 3 +++ builtin/credential/approle/path_tidy_user_id_test.go | 3 +++ builtin/credential/approle/validation.go | 3 +++ builtin/credential/approle/validation_test.go | 3 +++ builtin/credential/aws/backend.go | 3 +++ builtin/credential/aws/backend_e2e_test.go | 3 +++ builtin/credential/aws/backend_test.go | 3 +++ builtin/credential/aws/certificates.go | 3 +++ builtin/credential/aws/cli.go | 3 +++ builtin/credential/aws/client.go | 3 +++ builtin/credential/aws/cmd/aws/main.go | 3 +++ builtin/credential/aws/path_config_certificate.go | 3 +++ builtin/credential/aws/path_config_client.go | 3 +++ builtin/credential/aws/path_config_client_test.go | 3 +++ builtin/credential/aws/path_config_identity.go | 3 +++ builtin/credential/aws/path_config_identity_test.go | 3 +++ builtin/credential/aws/path_config_rotate_root.go | 3 +++ builtin/credential/aws/path_config_rotate_root_test.go | 3 +++ builtin/credential/aws/path_config_sts.go | 3 +++ .../credential/aws/path_config_tidy_identity_accesslist.go | 3 +++ .../credential/aws/path_config_tidy_roletag_denylist.go | 3 +++ builtin/credential/aws/path_identity_accesslist.go | 3 +++ builtin/credential/aws/path_login.go | 3 +++ builtin/credential/aws/path_login_test.go | 3 +++ builtin/credential/aws/path_role.go | 3 +++ builtin/credential/aws/path_role_tag.go | 3 +++ builtin/credential/aws/path_role_test.go | 3 +++ builtin/credential/aws/path_roletag_denylist.go | 3 +++ builtin/credential/aws/path_tidy_identity_accesslist.go | 3 +++ builtin/credential/aws/path_tidy_roletag_denylist.go | 3 +++ builtin/credential/cert/backend.go | 3 +++ builtin/credential/cert/backend_test.go | 3 +++ builtin/credential/cert/cli.go | 3 +++ builtin/credential/cert/cmd/cert/main.go | 3 +++ builtin/credential/cert/path_certs.go | 3 +++ builtin/credential/cert/path_config.go | 3 +++ builtin/credential/cert/path_crls.go | 3 +++ builtin/credential/cert/path_crls_test.go | 3 +++ builtin/credential/cert/path_login.go | 3 +++ builtin/credential/cert/path_login_test.go | 3 +++ builtin/credential/cert/test_responder.go | 3 +++ builtin/credential/github/backend.go | 3 +++ builtin/credential/github/backend_test.go | 3 +++ builtin/credential/github/cli.go | 3 +++ builtin/credential/github/cmd/github/main.go | 3 +++ builtin/credential/github/path_config.go | 3 +++ builtin/credential/github/path_config_test.go | 3 +++ builtin/credential/github/path_login.go | 3 +++ builtin/credential/github/path_login_test.go | 3 +++ builtin/credential/ldap/backend.go | 3 +++ builtin/credential/ldap/backend_test.go | 3 +++ builtin/credential/ldap/cli.go | 3 +++ builtin/credential/ldap/cmd/ldap/main.go | 3 +++ builtin/credential/ldap/path_config.go | 3 +++ builtin/credential/ldap/path_groups.go | 3 +++ builtin/credential/ldap/path_login.go | 3 +++ builtin/credential/ldap/path_users.go | 3 +++ builtin/credential/okta/backend.go | 3 +++ builtin/credential/okta/backend_test.go | 3 +++ builtin/credential/okta/cli.go | 3 +++ builtin/credential/okta/cmd/okta/main.go | 3 +++ builtin/credential/okta/path_config.go | 3 +++ builtin/credential/okta/path_groups.go | 3 +++ builtin/credential/okta/path_groups_test.go | 3 +++ builtin/credential/okta/path_login.go | 3 +++ builtin/credential/okta/path_users.go | 3 +++ builtin/credential/radius/backend.go | 3 +++ builtin/credential/radius/backend_test.go | 3 +++ builtin/credential/radius/cmd/radius/main.go | 3 +++ builtin/credential/radius/path_config.go | 3 +++ builtin/credential/radius/path_login.go | 3 +++ builtin/credential/radius/path_users.go | 3 +++ builtin/credential/token/cli.go | 3 +++ builtin/credential/userpass/backend.go | 3 +++ builtin/credential/userpass/backend_test.go | 3 +++ builtin/credential/userpass/cli.go | 3 +++ builtin/credential/userpass/cmd/userpass/main.go | 3 +++ builtin/credential/userpass/path_login.go | 3 +++ builtin/credential/userpass/path_user_password.go | 3 +++ builtin/credential/userpass/path_user_policies.go | 3 +++ builtin/credential/userpass/path_users.go | 3 +++ builtin/credential/userpass/stepwise_test.go | 3 +++ builtin/logical/aws/backend.go | 3 +++ builtin/logical/aws/backend_test.go | 3 +++ builtin/logical/aws/client.go | 3 +++ builtin/logical/aws/cmd/aws/main.go | 3 +++ builtin/logical/aws/iam_policies.go | 3 +++ builtin/logical/aws/iam_policies_test.go | 3 +++ builtin/logical/aws/path_config_lease.go | 3 +++ builtin/logical/aws/path_config_root.go | 3 +++ builtin/logical/aws/path_config_root_test.go | 3 +++ builtin/logical/aws/path_config_rotate_root.go | 3 +++ builtin/logical/aws/path_roles.go | 3 +++ builtin/logical/aws/path_roles_test.go | 3 +++ builtin/logical/aws/path_user.go | 3 +++ builtin/logical/aws/rollback.go | 3 +++ builtin/logical/aws/secret_access_keys.go | 3 +++ builtin/logical/aws/secret_access_keys_test.go | 3 +++ builtin/logical/aws/stepwise_test.go | 3 +++ builtin/logical/consul/backend.go | 3 +++ builtin/logical/consul/backend_test.go | 3 +++ builtin/logical/consul/client.go | 3 +++ builtin/logical/consul/cmd/consul/main.go | 3 +++ builtin/logical/consul/path_config.go | 3 +++ builtin/logical/consul/path_roles.go | 3 +++ builtin/logical/consul/path_token.go | 3 +++ builtin/logical/consul/path_token_test.go | 3 +++ builtin/logical/consul/secret_token.go | 3 +++ builtin/logical/database/backend.go | 3 +++ builtin/logical/database/backend_test.go | 3 +++ builtin/logical/database/credentials.go | 3 +++ builtin/logical/database/credentials_test.go | 3 +++ builtin/logical/database/dbplugin/plugin_test.go | 3 +++ builtin/logical/database/mocks_test.go | 3 +++ builtin/logical/database/mockv4.go | 3 +++ builtin/logical/database/mockv5.go | 3 +++ builtin/logical/database/path_config_connection.go | 3 +++ builtin/logical/database/path_config_connection_test.go | 3 +++ builtin/logical/database/path_creds_create.go | 3 +++ builtin/logical/database/path_roles.go | 3 +++ builtin/logical/database/path_roles_test.go | 3 +++ builtin/logical/database/path_rotate_credentials.go | 3 +++ builtin/logical/database/rollback.go | 3 +++ builtin/logical/database/rollback_test.go | 3 +++ builtin/logical/database/rotation.go | 3 +++ builtin/logical/database/rotation_test.go | 3 +++ builtin/logical/database/secret_creds.go | 3 +++ builtin/logical/database/version_wrapper.go | 3 +++ builtin/logical/database/version_wrapper_test.go | 3 +++ builtin/logical/database/versioning_large_test.go | 3 +++ builtin/logical/nomad/backend.go | 3 +++ builtin/logical/nomad/backend_test.go | 3 +++ builtin/logical/nomad/cmd/nomad/main.go | 3 +++ builtin/logical/nomad/path_config_access.go | 3 +++ builtin/logical/nomad/path_config_lease.go | 3 +++ builtin/logical/nomad/path_creds_create.go | 3 +++ builtin/logical/nomad/path_roles.go | 3 +++ builtin/logical/nomad/secret_token.go | 3 +++ builtin/logical/pki/backend.go | 3 +++ builtin/logical/pki/backend_test.go | 3 +++ builtin/logical/pki/ca_test.go | 3 +++ builtin/logical/pki/ca_util.go | 3 +++ builtin/logical/pki/cert_util.go | 3 +++ builtin/logical/pki/cert_util_test.go | 3 +++ builtin/logical/pki/chain_test.go | 3 +++ builtin/logical/pki/chain_util.go | 3 +++ builtin/logical/pki/cmd/pki/main.go | 3 +++ builtin/logical/pki/config_util.go | 3 +++ builtin/logical/pki/crl_test.go | 3 +++ builtin/logical/pki/crl_util.go | 3 +++ builtin/logical/pki/fields.go | 3 +++ builtin/logical/pki/integration_test.go | 3 +++ builtin/logical/pki/key_util.go | 3 +++ builtin/logical/pki/managed_key_util.go | 3 +++ builtin/logical/pki/path_config_ca.go | 3 +++ builtin/logical/pki/path_config_cluster.go | 3 +++ builtin/logical/pki/path_config_crl.go | 3 +++ builtin/logical/pki/path_config_urls.go | 3 +++ builtin/logical/pki/path_fetch.go | 3 +++ builtin/logical/pki/path_fetch_issuers.go | 3 +++ builtin/logical/pki/path_fetch_keys.go | 3 +++ builtin/logical/pki/path_intermediate.go | 3 +++ builtin/logical/pki/path_issue_sign.go | 3 +++ builtin/logical/pki/path_manage_issuers.go | 3 +++ builtin/logical/pki/path_manage_keys.go | 3 +++ builtin/logical/pki/path_manage_keys_test.go | 3 +++ builtin/logical/pki/path_ocsp.go | 3 +++ builtin/logical/pki/path_ocsp_test.go | 3 +++ builtin/logical/pki/path_resign_crls.go | 3 +++ builtin/logical/pki/path_resign_crls_test.go | 3 +++ builtin/logical/pki/path_revoke.go | 3 +++ builtin/logical/pki/path_roles.go | 3 +++ builtin/logical/pki/path_roles_test.go | 3 +++ builtin/logical/pki/path_root.go | 3 +++ builtin/logical/pki/path_sign_issuers.go | 3 +++ builtin/logical/pki/path_tidy.go | 3 +++ builtin/logical/pki/path_tidy_test.go | 3 +++ builtin/logical/pki/periodic.go | 3 +++ builtin/logical/pki/secret_certs.go | 3 +++ builtin/logical/pki/storage.go | 3 +++ builtin/logical/pki/storage_migrations.go | 3 +++ builtin/logical/pki/storage_migrations_test.go | 3 +++ builtin/logical/pki/storage_test.go | 3 +++ builtin/logical/pki/storage_unified.go | 3 +++ builtin/logical/pki/test_helpers.go | 3 +++ builtin/logical/pki/util.go | 3 +++ builtin/logical/pkiext/nginx_test.go | 3 +++ builtin/logical/pkiext/test_helpers.go | 3 +++ builtin/logical/pkiext/zlint_test.go | 3 +++ builtin/logical/rabbitmq/backend.go | 3 +++ builtin/logical/rabbitmq/backend_test.go | 3 +++ builtin/logical/rabbitmq/cmd/rabbitmq/main.go | 3 +++ builtin/logical/rabbitmq/passwords.go | 3 +++ builtin/logical/rabbitmq/path_config_connection.go | 3 +++ builtin/logical/rabbitmq/path_config_connection_test.go | 3 +++ builtin/logical/rabbitmq/path_config_lease.go | 3 +++ builtin/logical/rabbitmq/path_config_lease_test.go | 3 +++ builtin/logical/rabbitmq/path_role_create.go | 3 +++ builtin/logical/rabbitmq/path_role_create_test.go | 3 +++ builtin/logical/rabbitmq/path_roles.go | 3 +++ builtin/logical/rabbitmq/secret_creds.go | 3 +++ builtin/logical/ssh/backend.go | 3 +++ builtin/logical/ssh/backend_test.go | 3 +++ builtin/logical/ssh/cmd/ssh/main.go | 3 +++ builtin/logical/ssh/path_cleanup_dynamic_host_keys.go | 3 +++ builtin/logical/ssh/path_config_ca.go | 3 +++ builtin/logical/ssh/path_config_ca_test.go | 3 +++ builtin/logical/ssh/path_config_zeroaddress.go | 3 +++ builtin/logical/ssh/path_creds_create.go | 3 +++ builtin/logical/ssh/path_fetch.go | 3 +++ builtin/logical/ssh/path_issue.go | 3 +++ builtin/logical/ssh/path_issue_sign.go | 3 +++ builtin/logical/ssh/path_lookup.go | 3 +++ builtin/logical/ssh/path_roles.go | 3 +++ builtin/logical/ssh/path_sign.go | 3 +++ builtin/logical/ssh/path_verify.go | 3 +++ builtin/logical/ssh/secret_otp.go | 3 +++ builtin/logical/ssh/util.go | 3 +++ builtin/logical/totp/backend.go | 3 +++ builtin/logical/totp/backend_test.go | 3 +++ builtin/logical/totp/cmd/totp/main.go | 3 +++ builtin/logical/totp/path_code.go | 3 +++ builtin/logical/totp/path_keys.go | 3 +++ builtin/logical/transit/backend.go | 3 +++ builtin/logical/transit/backend_test.go | 3 +++ builtin/logical/transit/cmd/transit/main.go | 3 +++ builtin/logical/transit/managed_key_util.go | 3 +++ builtin/logical/transit/path_backup.go | 3 +++ builtin/logical/transit/path_backup_test.go | 3 +++ builtin/logical/transit/path_cache_config.go | 3 +++ builtin/logical/transit/path_cache_config_test.go | 3 +++ builtin/logical/transit/path_config_keys.go | 3 +++ builtin/logical/transit/path_config_keys_test.go | 3 +++ builtin/logical/transit/path_datakey.go | 3 +++ builtin/logical/transit/path_decrypt.go | 3 +++ builtin/logical/transit/path_decrypt_bench_test.go | 3 +++ builtin/logical/transit/path_decrypt_test.go | 3 +++ builtin/logical/transit/path_encrypt.go | 3 +++ builtin/logical/transit/path_encrypt_bench_test.go | 3 +++ builtin/logical/transit/path_encrypt_test.go | 3 +++ builtin/logical/transit/path_export.go | 3 +++ builtin/logical/transit/path_export_test.go | 3 +++ builtin/logical/transit/path_hash.go | 3 +++ builtin/logical/transit/path_hash_test.go | 3 +++ builtin/logical/transit/path_hmac.go | 3 +++ builtin/logical/transit/path_hmac_test.go | 3 +++ builtin/logical/transit/path_import.go | 3 +++ builtin/logical/transit/path_import_test.go | 3 +++ builtin/logical/transit/path_keys.go | 3 +++ builtin/logical/transit/path_keys_config.go | 3 +++ builtin/logical/transit/path_keys_config_test.go | 3 +++ builtin/logical/transit/path_keys_test.go | 3 +++ builtin/logical/transit/path_random.go | 3 +++ builtin/logical/transit/path_random_test.go | 3 +++ builtin/logical/transit/path_restore.go | 3 +++ builtin/logical/transit/path_restore_test.go | 3 +++ builtin/logical/transit/path_rewrap.go | 3 +++ builtin/logical/transit/path_rewrap_test.go | 3 +++ builtin/logical/transit/path_rotate.go | 3 +++ builtin/logical/transit/path_sign_verify.go | 3 +++ builtin/logical/transit/path_sign_verify_test.go | 3 +++ builtin/logical/transit/path_trim.go | 3 +++ builtin/logical/transit/path_trim_test.go | 3 +++ builtin/logical/transit/path_wrapping_key.go | 3 +++ builtin/logical/transit/path_wrapping_key_test.go | 3 +++ builtin/logical/transit/stepwise_test.go | 3 +++ builtin/plugin/backend.go | 3 +++ builtin/plugin/backend_lazyLoad_test.go | 3 +++ builtin/plugin/backend_test.go | 3 +++ builtin/plugin/mock_plugin_test.go | 3 +++ builtin/plugin/v5/backend.go | 3 +++ command/agent.go | 3 +++ command/agent/alicloud_end_to_end_test.go | 3 +++ command/agent/approle_end_to_end_test.go | 3 +++ command/agent/auth/alicloud/alicloud.go | 3 +++ command/agent/auth/approle/approle.go | 3 +++ command/agent/auth/auth.go | 3 +++ command/agent/auth/auth_test.go | 3 +++ command/agent/auth/aws/aws.go | 3 +++ command/agent/auth/azure/azure.go | 3 +++ command/agent/auth/cert/cert.go | 3 +++ command/agent/auth/cert/cert_test.go | 3 +++ command/agent/auth/cf/cf.go | 3 +++ command/agent/auth/gcp/gcp.go | 3 +++ command/agent/auth/jwt/jwt.go | 3 +++ command/agent/auth/jwt/jwt_test.go | 3 +++ command/agent/auth/kerberos/integtest/integrationtest.sh | 3 +++ command/agent/auth/kerberos/kerberos.go | 3 +++ command/agent/auth/kerberos/kerberos_test.go | 3 +++ command/agent/auth/kubernetes/kubernetes.go | 3 +++ command/agent/auth/kubernetes/kubernetes_test.go | 3 +++ command/agent/auth/oci/oci.go | 5 ++++- command/agent/auth/token-file/token_file.go | 3 +++ command/agent/auth/token-file/token_file_test.go | 3 +++ command/agent/auto_auth_preload_token_end_to_end_test.go | 3 +++ command/agent/aws_end_to_end_test.go | 3 +++ command/agent/cache/api_proxy.go | 3 +++ command/agent/cache/api_proxy_test.go | 3 +++ command/agent/cache/cache_test.go | 3 +++ command/agent/cache/cacheboltdb/bolt.go | 3 +++ command/agent/cache/cacheboltdb/bolt_test.go | 3 +++ command/agent/cache/cachememdb/cache_memdb.go | 3 +++ command/agent/cache/cachememdb/cache_memdb_test.go | 3 +++ command/agent/cache/cachememdb/index.go | 3 +++ command/agent/cache/cachememdb/index_test.go | 3 +++ command/agent/cache/handler.go | 3 +++ command/agent/cache/keymanager/manager.go | 3 +++ command/agent/cache/keymanager/passthrough.go | 3 +++ command/agent/cache/keymanager/passthrough_test.go | 3 +++ command/agent/cache/lease_cache.go | 3 +++ command/agent/cache/lease_cache_test.go | 3 +++ command/agent/cache/listener.go | 3 +++ command/agent/cache/proxy.go | 3 +++ command/agent/cache/testing.go | 3 +++ command/agent/cache_end_to_end_test.go | 3 +++ command/agent/cert_end_to_end_test.go | 3 +++ command/agent/cf_end_to_end_test.go | 3 +++ command/agent/config/config.go | 3 +++ command/agent/config/config_test.go | 3 +++ .../config/test-fixtures/bad-config-api_proxy-cache.hcl | 3 +++ .../bad-config-auto_auth-nosinks-nocache-notemplates.hcl | 3 +++ .../bad-config-auto_auth-wrapped-multiple-sinks.hcl | 3 +++ .../bad-config-cache-auto_auth-method-wrapping.hcl | 3 +++ .../bad-config-cache-force-token-no-auth-method.hcl | 3 +++ .../bad-config-cache-inconsistent-auto_auth.hcl | 3 +++ .../config/test-fixtures/bad-config-cache-no-listeners.hcl | 3 +++ .../test-fixtures/bad-config-disable-idle-connections.hcl | 3 +++ .../test-fixtures/bad-config-disable-keep-alives.hcl | 3 +++ .../bad-config-method-wrapping-and-sink-wrapping.hcl | 3 +++ .../config-api_proxy-auto_auth-all-api_proxy-config.hcl | 3 +++ .../config/test-fixtures/config-cache-auto_auth-false.hcl | 3 +++ .../config/test-fixtures/config-cache-auto_auth-force.hcl | 3 +++ .../test-fixtures/config-cache-auto_auth-no-sink.hcl | 3 +++ .../config/test-fixtures/config-cache-auto_auth-true.hcl | 3 +++ .../config/test-fixtures/config-cache-embedded-type.hcl | 3 +++ .../config/test-fixtures/config-cache-no-auto_auth.hcl | 3 +++ .../config/test-fixtures/config-cache-no-listeners.hcl | 3 +++ .../test-fixtures/config-cache-persist-empty-type.hcl | 3 +++ .../config/test-fixtures/config-cache-persist-false.hcl | 3 +++ command/agent/config/test-fixtures/config-cache.hcl | 3 +++ .../config/test-fixtures/config-consistency-apiproxy.hcl | 3 +++ command/agent/config/test-fixtures/config-consistency.hcl | 3 +++ .../config-dir-auto-auth-and-listener/config1.hcl | 3 +++ .../config-dir-auto-auth-and-listener/config2.hcl | 3 +++ .../test-fixtures/config-dir-cache/config-cache1.hcl | 3 +++ .../test-fixtures/config-dir-cache/config-cache2.hcl | 3 +++ .../test-fixtures/config-dir-vault-block/config1.hcl | 3 +++ .../test-fixtures/config-dir-vault-block/config2.hcl | 3 +++ .../test-fixtures/config-disable-idle-connections-all.hcl | 3 +++ .../config-disable-idle-connections-auto-auth.hcl | 3 +++ .../config-disable-idle-connections-caching.hcl | 3 +++ .../config-disable-idle-connections-empty.hcl | 3 +++ .../config-disable-idle-connections-proxying.hcl | 3 +++ .../config-disable-idle-connections-templating.hcl | 3 +++ .../test-fixtures/config-disable-keep-alives-all.hcl | 3 +++ .../test-fixtures/config-disable-keep-alives-auto-auth.hcl | 3 +++ .../test-fixtures/config-disable-keep-alives-caching.hcl | 3 +++ .../test-fixtures/config-disable-keep-alives-empty.hcl | 3 +++ .../test-fixtures/config-disable-keep-alives-proxying.hcl | 3 +++ .../config-disable-keep-alives-templating.hcl | 3 +++ .../agent/config/test-fixtures/config-embedded-type.hcl | 3 +++ .../config/test-fixtures/config-method-exit-on-err.hcl | 3 +++ .../config/test-fixtures/config-method-initial-backoff.hcl | 3 +++ .../agent/config/test-fixtures/config-method-wrapping.hcl | 3 +++ .../config/test-fixtures/config-template-full-nosink.hcl | 3 +++ .../agent/config/test-fixtures/config-template-full.hcl | 3 +++ .../config/test-fixtures/config-template-many-nosink.hcl | 3 +++ .../agent/config/test-fixtures/config-template-many.hcl | 3 +++ .../config/test-fixtures/config-template-min-nosink.hcl | 3 +++ command/agent/config/test-fixtures/config-template-min.hcl | 3 +++ .../config/test-fixtures/config-template_config-empty.hcl | 3 +++ .../agent/config/test-fixtures/config-template_config.hcl | 3 +++ .../config/test-fixtures/config-vault-retry-empty.hcl | 3 +++ command/agent/config/test-fixtures/config-vault-retry.hcl | 3 +++ command/agent/config/test-fixtures/config.hcl | 3 +++ command/agent/doc.go | 3 +++ command/agent/jwt_end_to_end_test.go | 3 +++ command/agent/oci_end_to_end_test.go | 3 +++ command/agent/sink/file/file_sink.go | 3 +++ command/agent/sink/file/file_sink_test.go | 3 +++ command/agent/sink/file/sink_test.go | 3 +++ command/agent/sink/inmem/inmem_sink.go | 3 +++ command/agent/sink/mock/mock_sink.go | 3 +++ command/agent/sink/sink.go | 3 +++ command/agent/template/template.go | 3 +++ command/agent/template/template_test.go | 3 +++ command/agent/testing.go | 3 +++ command/agent/token_file_end_to_end_test.go | 3 +++ command/agent/winsvc/service.go | 3 +++ command/agent/winsvc/service_windows.go | 3 +++ command/agent_test.go | 3 +++ command/approle_concurrency_integ_test.go | 3 +++ command/audit.go | 3 +++ command/audit_disable.go | 3 +++ command/audit_disable_test.go | 3 +++ command/audit_enable.go | 3 +++ command/audit_enable_test.go | 3 +++ command/audit_list.go | 3 +++ command/audit_list_test.go | 3 +++ command/auth.go | 3 +++ command/auth_disable.go | 3 +++ command/auth_disable_test.go | 3 +++ command/auth_enable.go | 3 +++ command/auth_enable_test.go | 3 +++ command/auth_help.go | 3 +++ command/auth_help_test.go | 3 +++ command/auth_list.go | 3 +++ command/auth_list_test.go | 3 +++ command/auth_move.go | 3 +++ command/auth_move_test.go | 3 +++ command/auth_test.go | 3 +++ command/auth_tune.go | 3 +++ command/auth_tune_test.go | 3 +++ command/base.go | 3 +++ command/base_flags.go | 3 +++ command/base_flags_test.go | 3 +++ command/base_helpers.go | 3 +++ command/base_helpers_test.go | 3 +++ command/base_predict.go | 3 +++ command/base_predict_test.go | 3 +++ command/base_test.go | 3 +++ command/command_test.go | 3 +++ command/commands.go | 3 +++ command/commands_nonwindows.go | 3 +++ command/commands_windows.go | 3 +++ command/config.go | 3 +++ command/config/config.go | 3 +++ command/config/config_test.go | 3 +++ command/config/util.go | 3 +++ command/config/validate_listener.go | 3 +++ command/config_test.go | 3 +++ command/debug.go | 3 +++ command/debug_test.go | 3 +++ command/delete.go | 3 +++ command/delete_test.go | 3 +++ command/events.go | 3 +++ command/events_test.go | 3 +++ command/format.go | 3 +++ command/format_test.go | 3 +++ command/healthcheck/healthcheck.go | 3 +++ command/healthcheck/pki.go | 3 +++ command/healthcheck/pki_allow_if_modified_since.go | 3 +++ command/healthcheck/pki_audit_visibility.go | 3 +++ command/healthcheck/pki_ca_validity_period.go | 3 +++ command/healthcheck/pki_crl_validity_period.go | 3 +++ command/healthcheck/pki_enable_auto_tidy.go | 3 +++ command/healthcheck/pki_hardware_backed_root.go | 3 +++ command/healthcheck/pki_role_allows_glob_wildcards.go | 3 +++ command/healthcheck/pki_role_allows_localhost.go | 3 +++ command/healthcheck/pki_role_no_store_false.go | 3 +++ command/healthcheck/pki_root_issued_leaves.go | 3 +++ command/healthcheck/pki_tidy_last_run.go | 3 +++ command/healthcheck/pki_too_many_certs.go | 3 +++ command/healthcheck/shared.go | 3 +++ command/healthcheck/util.go | 3 +++ command/kv.go | 3 +++ command/kv_delete.go | 3 +++ command/kv_destroy.go | 3 +++ command/kv_enable_versioning.go | 3 +++ command/kv_get.go | 3 +++ command/kv_helpers.go | 3 +++ command/kv_list.go | 3 +++ command/kv_metadata.go | 3 +++ command/kv_metadata_delete.go | 3 +++ command/kv_metadata_get.go | 3 +++ command/kv_metadata_patch.go | 3 +++ command/kv_metadata_patch_test.go | 3 +++ command/kv_metadata_put.go | 3 +++ command/kv_metadata_put_test.go | 3 +++ command/kv_patch.go | 3 +++ command/kv_put.go | 3 +++ command/kv_rollback.go | 3 +++ command/kv_test.go | 3 +++ command/kv_undelete.go | 3 +++ command/lease.go | 3 +++ command/lease_lookup.go | 3 +++ command/lease_lookup_test.go | 3 +++ command/lease_renew.go | 3 +++ command/lease_renew_test.go | 3 +++ command/lease_revoke.go | 3 +++ command/lease_revoke_test.go | 3 +++ command/list.go | 3 +++ command/list_test.go | 3 +++ command/log_flags.go | 3 +++ command/log_flags_test.go | 3 +++ command/login.go | 3 +++ command/login_test.go | 3 +++ command/main.go | 3 +++ command/monitor.go | 3 +++ command/monitor_test.go | 3 +++ command/namespace.go | 3 +++ command/namespace_api_lock.go | 3 +++ command/namespace_api_unlock.go | 3 +++ command/namespace_create.go | 3 +++ command/namespace_delete.go | 3 +++ command/namespace_list.go | 3 +++ command/namespace_lookup.go | 3 +++ command/namespace_patch.go | 3 +++ command/operator.go | 3 +++ command/operator_diagnose.go | 3 +++ command/operator_diagnose_test.go | 3 +++ command/operator_generate_root.go | 3 +++ command/operator_generate_root_test.go | 3 +++ command/operator_init.go | 3 +++ command/operator_init_test.go | 3 +++ command/operator_key_status.go | 3 +++ command/operator_key_status_test.go | 3 +++ command/operator_members.go | 3 +++ command/operator_migrate.go | 3 +++ command/operator_migrate_test.go | 3 +++ command/operator_raft.go | 3 +++ command/operator_raft_autopilot_get_config.go | 3 +++ command/operator_raft_autopilot_set_config.go | 3 +++ command/operator_raft_autopilot_state.go | 3 +++ command/operator_raft_join.go | 3 +++ command/operator_raft_listpeers.go | 3 +++ command/operator_raft_remove_peer.go | 3 +++ command/operator_raft_snapshot.go | 3 +++ command/operator_raft_snapshot_restore.go | 3 +++ command/operator_raft_snapshot_save.go | 3 +++ command/operator_rekey.go | 3 +++ command/operator_rekey_test.go | 3 +++ command/operator_seal.go | 3 +++ command/operator_seal_test.go | 3 +++ command/operator_step_down.go | 3 +++ command/operator_step_down_test.go | 3 +++ command/operator_unseal.go | 3 +++ command/operator_unseal_test.go | 3 +++ command/operator_usage.go | 3 +++ command/patch.go | 3 +++ command/patch_test.go | 3 +++ command/path_help.go | 3 +++ command/path_help_test.go | 3 +++ command/pgp_test.go | 3 +++ command/pki.go | 3 +++ command/pki_health_check.go | 3 +++ command/pki_health_check_test.go | 3 +++ command/pki_issue_intermediate.go | 3 +++ command/pki_issue_intermediate_test.go | 3 +++ command/pki_list_intermediate.go | 3 +++ command/pki_list_intermediate_test.go | 3 +++ command/pki_reissue_intermediate.go | 3 +++ command/pki_reissue_intermediate_test.go | 3 +++ command/pki_verify_sign.go | 3 +++ command/pki_verify_sign_test.go | 3 +++ command/plugin.go | 3 +++ command/plugin_deregister.go | 3 +++ command/plugin_deregister_test.go | 3 +++ command/plugin_info.go | 3 +++ command/plugin_info_test.go | 3 +++ command/plugin_list.go | 3 +++ command/plugin_list_test.go | 3 +++ command/plugin_register.go | 3 +++ command/plugin_register_test.go | 3 +++ command/plugin_reload.go | 3 +++ command/plugin_reload_status.go | 3 +++ command/plugin_reload_test.go | 3 +++ command/plugin_test.go | 3 +++ command/policy.go | 3 +++ command/policy_delete.go | 3 +++ command/policy_delete_test.go | 3 +++ command/policy_fmt.go | 3 +++ command/policy_fmt_test.go | 3 +++ command/policy_list.go | 3 +++ command/policy_list_test.go | 3 +++ command/policy_read.go | 3 +++ command/policy_read_test.go | 3 +++ command/policy_write.go | 3 +++ command/policy_write_test.go | 3 +++ command/print.go | 3 +++ command/print_token.go | 3 +++ command/read.go | 3 +++ command/read_test.go | 3 +++ command/rotate.go | 3 +++ command/rotate_test.go | 3 +++ command/secrets.go | 3 +++ command/secrets_disable.go | 3 +++ command/secrets_disable_test.go | 3 +++ command/secrets_enable.go | 3 +++ command/secrets_enable_test.go | 3 +++ command/secrets_list.go | 3 +++ command/secrets_list_test.go | 3 +++ command/secrets_move.go | 3 +++ command/secrets_move_test.go | 3 +++ command/secrets_tune.go | 3 +++ command/secrets_tune_test.go | 3 +++ command/server.go | 3 +++ command/server/config.go | 3 +++ command/server/config_custom_response_headers_test.go | 3 +++ command/server/config_oss_test.go | 3 +++ command/server/config_telemetry_test.go | 3 +++ command/server/config_test.go | 3 +++ command/server/config_test_helpers.go | 7 +++++-- command/server/config_test_helpers_util.go | 3 +++ command/server/config_util.go | 3 +++ command/server/hcp_link_config_test.go | 3 +++ command/server/listener.go | 3 +++ command/server/listener_tcp.go | 3 +++ command/server/listener_tcp_test.go | 3 +++ command/server/listener_test.go | 3 +++ command/server/listener_unix.go | 3 +++ command/server/listener_unix_test.go | 3 +++ command/server/server_seal_transit_acc_test.go | 3 +++ command/server/test-fixtures/config-dir/baz.hcl | 3 +++ command/server/test-fixtures/config-dir/foo.hcl | 3 +++ command/server/test-fixtures/config.hcl | 3 +++ command/server/test-fixtures/config2.hcl | 3 +++ command/server/test-fixtures/config3.hcl | 3 +++ command/server/test-fixtures/config4.hcl | 3 +++ command/server/test-fixtures/config5.hcl | 3 +++ command/server/test-fixtures/config_bad_https_storage.hcl | 3 +++ .../test-fixtures/config_custom_response_headers_1.hcl | 3 +++ .../config_custom_response_headers_multiple_listeners.hcl | 3 +++ .../test-fixtures/config_diagnose_hastorage_bad_https.hcl | 3 +++ command/server/test-fixtures/config_diagnose_ok.hcl | 3 +++ command/server/test-fixtures/config_raft.hcl | 3 +++ command/server/test-fixtures/config_seals.hcl | 3 +++ command/server/test-fixtures/config_small.hcl | 3 +++ .../server/test-fixtures/diagnose_bad_https_consul_sr.hcl | 3 +++ command/server/test-fixtures/diagnose_bad_telemetry1.hcl | 3 +++ command/server/test-fixtures/diagnose_bad_telemetry2.hcl | 3 +++ command/server/test-fixtures/diagnose_bad_telemetry3.hcl | 3 +++ .../test-fixtures/diagnose_ok_storage_direct_access.hcl | 3 +++ .../server/test-fixtures/diagnose_raft_no_bolt_folder.hcl | 3 +++ .../test-fixtures/diagnose_seal_transit_tls_check.hcl | 3 +++ command/server/test-fixtures/hcp_link_config.hcl | 3 +++ command/server/test-fixtures/nostore_config.hcl | 3 +++ command/server/test-fixtures/raft_retry_join.hcl | 3 +++ .../test-fixtures/telemetry/filter_default_override.hcl | 3 +++ .../server/test-fixtures/telemetry/valid_prefix_filter.hcl | 3 +++ command/server/test-fixtures/tls_config_ok.hcl | 3 +++ command/server/test-fixtures/unauth_in_flight_access.hcl | 3 +++ command/server/tls_util.go | 3 +++ command/server_noprofile.go | 3 +++ command/server_profile.go | 3 +++ command/server_test.go | 3 +++ command/server_util.go | 3 +++ command/ssh.go | 3 +++ command/ssh_test.go | 3 +++ command/status.go | 3 +++ command/status_test.go | 3 +++ command/test-fixtures/config.hcl | 3 +++ command/test-fixtures/policy.hcl | 3 +++ command/token.go | 3 +++ command/token/helper.go | 3 +++ command/token/helper_external.go | 3 +++ command/token/helper_external_test.go | 3 +++ command/token/helper_internal.go | 3 +++ command/token/helper_internal_test.go | 3 +++ command/token/helper_testing.go | 3 +++ command/token/testing.go | 3 +++ command/token_capabilities.go | 3 +++ command/token_capabilities_test.go | 3 +++ command/token_create.go | 3 +++ command/token_create_test.go | 3 +++ command/token_lookup.go | 3 +++ command/token_lookup_test.go | 3 +++ command/token_renew.go | 3 +++ command/token_renew_test.go | 3 +++ command/token_revoke.go | 3 +++ command/token_revoke_test.go | 3 +++ command/transit.go | 3 +++ command/transit_import_key.go | 3 +++ command/transit_import_key_test.go | 3 +++ command/transit_import_key_version.go | 3 +++ command/unwrap.go | 3 +++ command/unwrap_test.go | 3 +++ command/util.go | 3 +++ command/version.go | 3 +++ command/version_history.go | 3 +++ command/version_history_test.go | 3 +++ command/version_test.go | 3 +++ command/write.go | 3 +++ command/write_test.go | 3 +++ enos/ci/aws-nuke.yml | 3 +++ enos/ci/bootstrap/main.tf | 3 +++ enos/ci/bootstrap/outputs.tf | 3 +++ enos/ci/bootstrap/variables.tf | 3 +++ enos/ci/service-user-iam/main.tf | 3 +++ enos/ci/service-user-iam/outputs.tf | 3 +++ enos/ci/service-user-iam/providers.tf | 3 +++ enos/ci/service-user-iam/service-quotas.tf | 3 +++ enos/ci/service-user-iam/variables.tf | 3 +++ enos/enos-modules.hcl | 3 +++ enos/enos-providers.hcl | 3 +++ enos/enos-scenario-agent.hcl | 3 +++ enos/enos-scenario-autopilot.hcl | 3 +++ enos/enos-scenario-replication.hcl | 3 +++ enos/enos-scenario-smoke.hcl | 3 +++ enos/enos-scenario-ui.hcl | 3 +++ enos/enos-scenario-upgrade.hcl | 3 +++ enos/enos-terraform.hcl | 3 +++ enos/enos-variables.hcl | 3 +++ enos/enos.vars.hcl | 3 +++ enos/k8s/enos-modules-k8s.hcl | 3 +++ enos/k8s/enos-providers-k8s.hcl | 3 +++ enos/k8s/enos-scenario-k8s.hcl | 3 +++ enos/k8s/enos-terraform-k8s.hcl | 3 +++ enos/k8s/enos-variables-k8s.hcl | 3 +++ enos/modules/autopilot_upgrade_storageconfig/main.tf | 3 +++ enos/modules/az_finder/main.tf | 3 +++ enos/modules/backend_raft/main.tf | 3 +++ enos/modules/build_crt/main.tf | 3 +++ enos/modules/build_local/main.tf | 3 +++ enos/modules/build_local/scripts/build.sh | 3 +++ enos/modules/generate_secondary_token/main.tf | 3 +++ enos/modules/get_local_metadata/main.tf | 3 +++ enos/modules/get_local_metadata/scripts/build_date.sh | 3 +++ enos/modules/get_local_metadata/scripts/version.sh | 3 +++ enos/modules/k8s_deploy_vault/main.tf | 3 +++ enos/modules/k8s_deploy_vault/raft-config.hcl | 3 +++ enos/modules/k8s_deploy_vault/variables.tf | 3 +++ enos/modules/k8s_vault_verify_build_date/main.tf | 3 +++ enos/modules/k8s_vault_verify_build_date/variables.tf | 3 +++ enos/modules/k8s_vault_verify_replication/main.tf | 3 +++ .../scripts/smoke-verify-replication.sh | 3 +++ enos/modules/k8s_vault_verify_replication/variables.tf | 3 +++ enos/modules/k8s_vault_verify_ui/main.tf | 3 +++ .../modules/k8s_vault_verify_ui/scripts/smoke-verify-ui.sh | 3 +++ enos/modules/k8s_vault_verify_ui/variables.tf | 3 +++ enos/modules/k8s_vault_verify_version/main.tf | 3 +++ .../modules/k8s_vault_verify_version/scripts/get-status.sh | 3 +++ .../scripts/smoke-verify-version.sh | 3 +++ enos/modules/k8s_vault_verify_version/variables.tf | 3 +++ enos/modules/k8s_vault_verify_write_data/main.tf | 3 +++ enos/modules/k8s_vault_verify_write_data/variables.tf | 3 +++ enos/modules/load_docker_image/main.tf | 3 +++ enos/modules/local_kind_cluster/main.tf | 3 +++ enos/modules/read_license/main.tf | 3 +++ enos/modules/shutdown_multiple_nodes/main.tf | 3 +++ enos/modules/shutdown_node/main.tf | 3 +++ enos/modules/vault_agent/main.tf | 3 +++ .../vault_agent/templates/set-up-approle-and-agent.sh | 3 +++ enos/modules/vault_artifactory_artifact/locals.tf | 3 +++ enos/modules/vault_artifactory_artifact/main.tf | 3 +++ enos/modules/vault_artifactory_artifact/outputs.tf | 3 +++ enos/modules/vault_artifactory_artifact/variables.tf | 3 +++ enos/modules/vault_get_cluster_ips/main.tf | 3 +++ .../vault_get_cluster_ips/scripts/get-leader-private-ip.sh | 3 +++ enos/modules/vault_raft_remove_peer/main.tf | 3 +++ .../vault_raft_remove_peer/templates/raft-remove-peer.sh | 3 +++ enos/modules/vault_setup_perf_primary/main.tf | 3 +++ .../scripts/configure-vault-pr-primary.sh | 3 +++ enos/modules/vault_setup_perf_secondary/main.tf | 3 +++ enos/modules/vault_test_ui/main.tf | 3 +++ enos/modules/vault_test_ui/outputs.tf | 3 +++ enos/modules/vault_test_ui/scripts/test_ui.sh | 3 +++ enos/modules/vault_test_ui/variables.tf | 3 +++ enos/modules/vault_unseal_nodes/main.tf | 3 +++ enos/modules/vault_unseal_nodes/scripts/unseal-node.sh | 3 +++ .../vault_unseal_nodes/scripts/wait-until-sealed.sh | 3 +++ enos/modules/vault_upgrade/main.tf | 3 +++ .../vault_upgrade/templates/get-follower-public-ips.sh | 3 +++ .../vault_upgrade/templates/get-leader-public-ip.sh | 3 +++ enos/modules/vault_upgrade/templates/restart-vault.sh | 3 +++ enos/modules/vault_verify_agent_output/main.tf | 3 +++ .../templates/verify-vault-agent-output.sh | 3 +++ enos/modules/vault_verify_autopilot/main.tf | 3 +++ .../templates/smoke-verify-autopilot.sh | 3 +++ enos/modules/vault_verify_performance_replication/main.tf | 3 +++ .../scripts/get-replication-status.sh | 3 +++ enos/modules/vault_verify_raft_auto_join_voter/main.tf | 3 +++ .../templates/verify-raft-auto-join-voter.sh | 3 +++ enos/modules/vault_verify_read_data/main.tf | 3 +++ enos/modules/vault_verify_read_data/scripts/verify-data.sh | 3 +++ enos/modules/vault_verify_replication/main.tf | 3 +++ .../templates/smoke-verify-replication.sh | 3 +++ enos/modules/vault_verify_replication/variables.tf | 3 +++ enos/modules/vault_verify_ui/main.tf | 3 +++ enos/modules/vault_verify_ui/templates/smoke-verify-ui.sh | 3 +++ enos/modules/vault_verify_ui/variables.tf | 3 +++ enos/modules/vault_verify_undo_logs/main.tf | 3 +++ .../scripts/smoke-verify-undo-logs.sh | 3 +++ enos/modules/vault_verify_unsealed/main.tf | 3 +++ .../templates/verify-vault-node-unsealed.sh | 3 +++ enos/modules/vault_verify_version/main.tf | 3 +++ .../templates/verify-cluster-version.sh | 3 +++ enos/modules/vault_verify_write_data/main.tf | 3 +++ .../scripts/smoke-enable-secrets-kv.sh | 3 +++ .../scripts/smoke-write-test-data.sh | 3 +++ helper/benchhelpers/benchhelpers.go | 3 +++ helper/builtinplugins/registry.go | 3 +++ helper/builtinplugins/registry_test.go | 3 +++ helper/constants/constants_oss.go | 3 +++ helper/constants/fips.go | 3 +++ helper/constants/fips_build_check.go | 3 +++ helper/constants/fips_cgo_check.go | 3 +++ helper/dhutil/dhutil.go | 3 +++ helper/dhutil/dhutil_test.go | 3 +++ helper/experiments/experiments.go | 3 +++ helper/fairshare/fairshare_testing_util.go | 3 +++ helper/fairshare/jobmanager.go | 3 +++ helper/fairshare/jobmanager_test.go | 3 +++ helper/fairshare/workerpool.go | 3 +++ helper/fairshare/workerpool_test.go | 3 +++ helper/flag-kv/flag.go | 3 +++ helper/flag-kv/flag_test.go | 3 +++ helper/flag-slice/flag.go | 3 +++ helper/flag-slice/flag_test.go | 3 +++ helper/forwarding/types.pb.go | 3 +++ helper/forwarding/types.proto | 3 +++ helper/forwarding/util.go | 3 +++ helper/forwarding/util_test.go | 3 +++ helper/hostutil/hostinfo.go | 3 +++ helper/hostutil/hostinfo_error.go | 3 +++ helper/hostutil/hostinfo_openbsd.go | 3 +++ helper/hostutil/hostinfo_test.go | 3 +++ helper/identity/identity.go | 3 +++ helper/identity/mfa/mfa.go | 3 +++ helper/identity/mfa/sentinel.go | 3 +++ helper/identity/mfa/types.pb.go | 3 +++ helper/identity/mfa/types.proto | 3 +++ helper/identity/sentinel.go | 3 +++ helper/identity/types.pb.go | 3 +++ helper/identity/types.proto | 3 +++ helper/locking/lock.go | 3 +++ helper/logging/logfile.go | 3 +++ helper/logging/logfile_test.go | 3 +++ helper/logging/logger.go | 3 +++ helper/logging/logger_test.go | 3 +++ helper/metricsutil/bucket.go | 3 +++ helper/metricsutil/bucket_test.go | 3 +++ helper/metricsutil/gauge_process.go | 3 +++ helper/metricsutil/gauge_process_test.go | 3 +++ helper/metricsutil/metricsutil.go | 3 +++ helper/metricsutil/metricsutil_test.go | 3 +++ helper/metricsutil/wrapped_metrics.go | 3 +++ helper/metricsutil/wrapped_metrics_test.go | 3 +++ helper/monitor/monitor.go | 3 +++ helper/monitor/monitor_test.go | 3 +++ helper/namespace/namespace.go | 3 +++ helper/namespace/namespace_test.go | 3 +++ helper/osutil/fileinfo.go | 3 +++ helper/osutil/fileinfo_test.go | 3 +++ helper/osutil/fileinfo_unix.go | 3 +++ helper/osutil/fileinfo_unix_test.go | 3 +++ helper/osutil/fileinfo_windows.go | 3 +++ helper/parseip/parseip.go | 3 +++ helper/parseip/parseip_test.go | 3 +++ helper/pgpkeys/encrypt_decrypt.go | 3 +++ helper/pgpkeys/flag.go | 3 +++ helper/pgpkeys/flag_test.go | 3 +++ helper/pgpkeys/keybase.go | 3 +++ helper/pgpkeys/keybase_test.go | 3 +++ helper/pgpkeys/test_keys.go | 3 +++ helper/policies/policies.go | 3 +++ helper/policies/policies_test.go | 3 +++ helper/proxyutil/proxyutil.go | 3 +++ helper/random/parser.go | 3 +++ helper/random/parser_test.go | 3 +++ helper/random/random_api.go | 3 +++ helper/random/registry.go | 3 +++ helper/random/registry_test.go | 3 +++ helper/random/rules.go | 3 +++ helper/random/rules_test.go | 3 +++ helper/random/serializing.go | 3 +++ helper/random/serializing_test.go | 3 +++ helper/random/string_generator.go | 3 +++ helper/random/string_generator_test.go | 3 +++ helper/storagepacker/storagepacker.go | 3 +++ helper/storagepacker/storagepacker_test.go | 3 +++ helper/storagepacker/types.pb.go | 3 +++ helper/storagepacker/types.proto | 3 +++ helper/testhelpers/azurite/azurite.go | 3 +++ helper/testhelpers/cassandra/cassandrahelper.go | 3 +++ helper/testhelpers/certhelpers/cert_helpers.go | 3 +++ helper/testhelpers/consul/consulhelper.go | 3 +++ helper/testhelpers/corehelpers/corehelpers.go | 3 +++ helper/testhelpers/docker/testhelpers.go | 3 +++ helper/testhelpers/etcd/etcdhelper.go | 3 +++ helper/testhelpers/fakegcsserver/fake-gcs-server.go | 3 +++ helper/testhelpers/ldap/ldaphelper.go | 3 +++ helper/testhelpers/logical/testing.go | 3 +++ helper/testhelpers/logical/testing_test.go | 3 +++ helper/testhelpers/minio/miniohelper.go | 3 +++ helper/testhelpers/mongodb/mongodbhelper.go | 3 +++ helper/testhelpers/mssql/mssqlhelper.go | 3 +++ helper/testhelpers/mysql/mysqlhelper.go | 3 +++ helper/testhelpers/pluginhelpers/pluginhelpers.go | 3 +++ helper/testhelpers/postgresql/postgresqlhelper.go | 3 +++ helper/testhelpers/seal/sealhelper.go | 3 +++ helper/testhelpers/testhelpers.go | 3 +++ helper/testhelpers/testhelpers_oss.go | 3 +++ helper/testhelpers/teststorage/consul/consul.go | 3 +++ helper/testhelpers/teststorage/teststorage.go | 3 +++ helper/testhelpers/teststorage/teststorage_reusable.go | 3 +++ helper/timeutil/timeutil.go | 3 +++ helper/timeutil/timeutil_test.go | 3 +++ helper/useragent/useragent.go | 3 +++ helper/useragent/useragent_test.go | 3 +++ helper/versions/version.go | 3 +++ helper/versions/version_test.go | 3 +++ http/assets.go | 3 +++ http/assets_stub.go | 3 +++ http/auth_token_test.go | 3 +++ http/cors.go | 3 +++ http/custom_header_test.go | 3 +++ http/events.go | 3 +++ http/events_test.go | 3 +++ http/forwarded_for_test.go | 3 +++ http/forwarding_bench_test.go | 3 +++ http/forwarding_test.go | 3 +++ http/handler.go | 3 +++ http/handler_test.go | 3 +++ http/help.go | 3 +++ http/help_test.go | 3 +++ http/http_test.go | 3 +++ http/logical.go | 3 +++ http/logical_test.go | 3 +++ http/plugin_test.go | 3 +++ http/sys_audit_test.go | 3 +++ http/sys_auth_test.go | 3 +++ http/sys_config_cors_test.go | 3 +++ http/sys_config_state_test.go | 3 +++ http/sys_feature_flags.go | 3 +++ http/sys_generate_root.go | 3 +++ http/sys_generate_root_test.go | 3 +++ http/sys_health.go | 3 +++ http/sys_health_test.go | 3 +++ http/sys_hostinfo_test.go | 3 +++ http/sys_in_flight_requests.go | 3 +++ http/sys_in_flight_requests_test.go | 3 +++ http/sys_init.go | 3 +++ http/sys_init_test.go | 3 +++ http/sys_internal_test.go | 3 +++ http/sys_leader.go | 3 +++ http/sys_leader_test.go | 3 +++ http/sys_lease_test.go | 3 +++ http/sys_metrics.go | 3 +++ http/sys_metrics_test.go | 3 +++ http/sys_monitor_test.go | 3 +++ http/sys_mount_test.go | 3 +++ http/sys_mounts_test.go | 3 +++ http/sys_policy_test.go | 3 +++ http/sys_raft.go | 3 +++ http/sys_rekey.go | 3 +++ http/sys_rekey_test.go | 3 +++ http/sys_rotate_test.go | 3 +++ http/sys_seal.go | 3 +++ http/sys_seal_test.go | 3 +++ http/sys_wrapping_test.go | 3 +++ http/testing.go | 3 +++ http/unwrapping_raw_body_test.go | 3 +++ http/util.go | 3 +++ internal/go118_sha1_patch.go | 3 +++ internalshared/configutil/config.go | 3 +++ internalshared/configutil/config_util.go | 3 +++ internalshared/configutil/encrypt_decrypt.go | 3 +++ internalshared/configutil/encrypt_decrypt_test.go | 3 +++ internalshared/configutil/hcp_link.go | 3 +++ internalshared/configutil/http_response_headers.go | 3 +++ internalshared/configutil/kms.go | 3 +++ internalshared/configutil/lint.go | 3 +++ internalshared/configutil/listener.go | 3 +++ internalshared/configutil/listener_test.go | 3 +++ internalshared/configutil/merge.go | 3 +++ internalshared/configutil/telemetry.go | 3 +++ internalshared/configutil/telemetry_test.go | 3 +++ internalshared/configutil/userlockout.go | 3 +++ internalshared/configutil/userlockout_test.go | 3 +++ internalshared/listenerutil/bufconn.go | 3 +++ internalshared/listenerutil/listener.go | 3 +++ internalshared/listenerutil/listener_test.go | 3 +++ main.go | 3 +++ main_test.go | 3 +++ physical/aerospike/aerospike.go | 3 +++ physical/aerospike/aerospike_test.go | 3 +++ physical/alicloudoss/alicloudoss.go | 3 +++ physical/alicloudoss/alicloudoss_test.go | 3 +++ physical/azure/azure.go | 3 +++ physical/azure/azure_test.go | 3 +++ physical/cassandra/cassandra.go | 3 +++ physical/cassandra/cassandra_test.go | 3 +++ physical/cockroachdb/cockroachdb.go | 3 +++ physical/cockroachdb/cockroachdb_ha.go | 3 +++ physical/cockroachdb/cockroachdb_test.go | 3 +++ physical/cockroachdb/keywords.go | 3 +++ physical/consul/consul.go | 3 +++ physical/consul/consul_test.go | 3 +++ physical/consul/helpers.go | 3 +++ physical/couchdb/couchdb.go | 3 +++ physical/couchdb/couchdb_test.go | 3 +++ physical/dynamodb/dynamodb.go | 3 +++ physical/dynamodb/dynamodb_test.go | 3 +++ physical/etcd/etcd.go | 3 +++ physical/etcd/etcd3.go | 3 +++ physical/etcd/etcd3_test.go | 3 +++ physical/foundationdb/fdb-go-install.sh | 3 +++ physical/foundationdb/foundationdb.go | 3 +++ physical/foundationdb/foundationdb_test.go | 3 +++ physical/foundationdb/foundationdbstub.go | 3 +++ physical/gcs/gcs.go | 3 +++ physical/gcs/gcs_ha.go | 3 +++ physical/gcs/gcs_ha_test.go | 3 +++ physical/gcs/gcs_test.go | 3 +++ physical/manta/manta.go | 3 +++ physical/manta/manta_test.go | 3 +++ physical/mssql/mssql.go | 3 +++ physical/mssql/mssql_test.go | 3 +++ physical/mysql/mysql.go | 3 +++ physical/mysql/mysql_test.go | 3 +++ physical/postgresql/postgresql.go | 3 +++ physical/postgresql/postgresql_test.go | 3 +++ physical/raft/bolt_32bit_test.go | 3 +++ physical/raft/bolt_64bit_test.go | 3 +++ physical/raft/bolt_linux.go | 3 +++ physical/raft/chunking_test.go | 3 +++ physical/raft/fsm.go | 3 +++ physical/raft/fsm_test.go | 3 +++ physical/raft/msgpack.go | 3 +++ physical/raft/raft.go | 3 +++ physical/raft/raft_autopilot.go | 3 +++ physical/raft/raft_test.go | 3 +++ physical/raft/raft_util.go | 3 +++ physical/raft/snapshot.go | 3 +++ physical/raft/snapshot_test.go | 3 +++ physical/raft/streamlayer.go | 3 +++ physical/raft/streamlayer_test.go | 3 +++ physical/raft/testing.go | 3 +++ physical/raft/types.pb.go | 3 +++ physical/raft/types.proto | 3 +++ physical/raft/vars_32bit.go | 3 +++ physical/raft/vars_64bit.go | 3 +++ physical/s3/s3.go | 3 +++ physical/s3/s3_test.go | 3 +++ physical/spanner/spanner.go | 3 +++ physical/spanner/spanner_ha.go | 3 +++ physical/spanner/spanner_ha_test.go | 3 +++ physical/spanner/spanner_test.go | 3 +++ physical/swift/swift.go | 3 +++ physical/swift/swift_test.go | 3 +++ physical/zookeeper/zookeeper.go | 3 +++ physical/zookeeper/zookeeper_test.go | 3 +++ .../database/cassandra/cassandra-database-plugin/main.go | 3 +++ plugins/database/cassandra/cassandra.go | 3 +++ plugins/database/cassandra/cassandra_test.go | 3 +++ plugins/database/cassandra/connection_producer.go | 3 +++ plugins/database/cassandra/connection_producer_test.go | 3 +++ .../database/cassandra/test-fixtures/no_tls/cassandra.yaml | 3 +++ plugins/database/cassandra/tls.go | 3 +++ plugins/database/hana/hana-database-plugin/main.go | 3 +++ plugins/database/hana/hana.go | 3 +++ plugins/database/hana/hana_test.go | 3 +++ plugins/database/influxdb/connection_producer.go | 3 +++ plugins/database/influxdb/influxdb-database-plugin/main.go | 3 +++ plugins/database/influxdb/influxdb.go | 3 +++ plugins/database/influxdb/influxdb_test.go | 3 +++ plugins/database/mongodb/cert_helpers_test.go | 3 +++ plugins/database/mongodb/connection_producer.go | 3 +++ plugins/database/mongodb/connection_producer_test.go | 3 +++ plugins/database/mongodb/mongodb-database-plugin/main.go | 3 +++ plugins/database/mongodb/mongodb.go | 3 +++ plugins/database/mongodb/mongodb_test.go | 3 +++ plugins/database/mongodb/util.go | 3 +++ plugins/database/mssql/mssql-database-plugin/main.go | 3 +++ plugins/database/mssql/mssql.go | 3 +++ plugins/database/mssql/mssql_test.go | 3 +++ plugins/database/mysql/connection_producer.go | 3 +++ plugins/database/mysql/connection_producer_test.go | 3 +++ plugins/database/mysql/mysql-database-plugin/main.go | 3 +++ .../database/mysql/mysql-legacy-database-plugin/main.go | 3 +++ plugins/database/mysql/mysql.go | 3 +++ plugins/database/mysql/mysql_test.go | 3 +++ .../database/postgresql/postgresql-database-plugin/main.go | 3 +++ plugins/database/postgresql/postgresql.go | 3 +++ plugins/database/postgresql/postgresql_test.go | 3 +++ plugins/database/redshift/redshift-database-plugin/main.go | 3 +++ plugins/database/redshift/redshift.go | 3 +++ plugins/database/redshift/redshift_test.go | 3 +++ scan.hcl | 3 +++ scripts/assetcheck.sh | 3 +++ scripts/build.sh | 3 +++ scripts/ci-helper.sh | 3 +++ scripts/coverage.sh | 3 +++ scripts/cross/Dockerfile | 3 +++ scripts/deps_upgrade.py | 3 +++ scripts/dist.sh | 3 +++ scripts/docker/Dockerfile | 3 +++ scripts/docker/docker-entrypoint.sh | 3 +++ scripts/gen_openapi.sh | 3 +++ scripts/gofmtcheck.sh | 3 +++ scripts/goversioncheck.sh | 3 +++ scripts/protocversioncheck.sh | 3 +++ scripts/semgrep_plugin_repos.sh | 3 +++ scripts/testciphers.sh | 3 +++ scripts/update_deps.sh | 3 +++ scripts/update_plugin_modules.sh | 3 +++ sdk/database/dbplugin/client.go | 3 +++ sdk/database/dbplugin/database.pb.go | 3 +++ sdk/database/dbplugin/database.proto | 3 +++ sdk/database/dbplugin/databasemiddleware.go | 3 +++ sdk/database/dbplugin/grpc_transport.go | 3 +++ sdk/database/dbplugin/plugin.go | 3 +++ sdk/database/dbplugin/server.go | 3 +++ sdk/database/dbplugin/v5/conversions_test.go | 3 +++ sdk/database/dbplugin/v5/database.go | 3 +++ sdk/database/dbplugin/v5/grpc_client.go | 3 +++ sdk/database/dbplugin/v5/grpc_client_test.go | 3 +++ sdk/database/dbplugin/v5/grpc_database_plugin.go | 3 +++ sdk/database/dbplugin/v5/grpc_server.go | 3 +++ sdk/database/dbplugin/v5/grpc_server_test.go | 3 +++ sdk/database/dbplugin/v5/marshalling.go | 3 +++ sdk/database/dbplugin/v5/middleware.go | 3 +++ sdk/database/dbplugin/v5/middleware_test.go | 3 +++ sdk/database/dbplugin/v5/plugin_client.go | 3 +++ sdk/database/dbplugin/v5/plugin_client_test.go | 3 +++ sdk/database/dbplugin/v5/plugin_factory.go | 3 +++ sdk/database/dbplugin/v5/plugin_server.go | 3 +++ sdk/database/dbplugin/v5/proto/database.pb.go | 3 +++ sdk/database/dbplugin/v5/proto/database.proto | 3 +++ sdk/database/dbplugin/v5/testing/test_helpers.go | 3 +++ sdk/database/helper/connutil/connutil.go | 3 +++ sdk/database/helper/connutil/sql.go | 3 +++ sdk/database/helper/connutil/sql_test.go | 3 +++ sdk/database/helper/credsutil/credsutil.go | 3 +++ sdk/database/helper/credsutil/credsutil_test.go | 3 +++ sdk/database/helper/credsutil/sql.go | 3 +++ sdk/database/helper/credsutil/usernames.go | 3 +++ sdk/database/helper/credsutil/usernames_test.go | 3 +++ sdk/database/helper/dbutil/dbutil.go | 3 +++ sdk/database/helper/dbutil/dbutil_test.go | 3 +++ sdk/framework/backend.go | 3 +++ sdk/framework/backend_test.go | 3 +++ sdk/framework/field_data.go | 3 +++ sdk/framework/field_data_test.go | 3 +++ sdk/framework/field_type.go | 3 +++ sdk/framework/filter.go | 3 +++ sdk/framework/identity.go | 3 +++ sdk/framework/identity_test.go | 3 +++ sdk/framework/lease.go | 3 +++ sdk/framework/lease_test.go | 3 +++ sdk/framework/openapi_test.go | 3 +++ sdk/framework/path.go | 3 +++ sdk/framework/path_map.go | 3 +++ sdk/framework/path_map_test.go | 3 +++ sdk/framework/path_struct.go | 3 +++ sdk/framework/path_struct_test.go | 3 +++ sdk/framework/path_test.go | 3 +++ sdk/framework/policy_map.go | 3 +++ sdk/framework/policy_map_test.go | 3 +++ sdk/framework/secret.go | 3 +++ sdk/framework/secret_test.go | 3 +++ sdk/framework/template.go | 3 +++ sdk/framework/testing.go | 3 +++ sdk/framework/wal.go | 3 +++ sdk/framework/wal_test.go | 3 +++ sdk/helper/authmetadata/auth_metadata.go | 3 +++ sdk/helper/authmetadata/auth_metadata_acc_test.go | 3 +++ sdk/helper/authmetadata/auth_metadata_test.go | 3 +++ sdk/helper/base62/base62.go | 3 +++ sdk/helper/certutil/certutil_test.go | 3 +++ sdk/helper/certutil/helpers.go | 3 +++ sdk/helper/certutil/types.go | 3 +++ sdk/helper/cidrutil/cidr.go | 3 +++ sdk/helper/cidrutil/cidr_test.go | 3 +++ sdk/helper/compressutil/compress.go | 3 +++ sdk/helper/compressutil/compress_test.go | 3 +++ sdk/helper/consts/agent.go | 3 +++ sdk/helper/consts/consts.go | 3 +++ sdk/helper/consts/deprecation_status.go | 3 +++ sdk/helper/consts/error.go | 3 +++ sdk/helper/consts/plugin_types.go | 3 +++ sdk/helper/consts/replication.go | 3 +++ sdk/helper/consts/token_consts.go | 3 +++ sdk/helper/cryptoutil/cryptoutil.go | 3 +++ sdk/helper/cryptoutil/cryptoutil_test.go | 3 +++ sdk/helper/custommetadata/custom_metadata.go | 3 +++ sdk/helper/custommetadata/custom_metadata_test.go | 3 +++ sdk/helper/dbtxn/dbtxn.go | 3 +++ sdk/helper/errutil/error.go | 3 +++ sdk/helper/hclutil/hcl.go | 3 +++ sdk/helper/identitytpl/templating.go | 3 +++ sdk/helper/identitytpl/templating_test.go | 3 +++ sdk/helper/jsonutil/json.go | 3 +++ sdk/helper/jsonutil/json_test.go | 3 +++ sdk/helper/kdf/kdf.go | 3 +++ sdk/helper/kdf/kdf_test.go | 3 +++ sdk/helper/keysutil/cache.go | 3 +++ sdk/helper/keysutil/consts.go | 3 +++ sdk/helper/keysutil/encrypted_key_storage.go | 3 +++ sdk/helper/keysutil/encrypted_key_storage_test.go | 3 +++ sdk/helper/keysutil/lock_manager.go | 3 +++ sdk/helper/keysutil/managed_key_util.go | 3 +++ sdk/helper/keysutil/policy.go | 3 +++ sdk/helper/keysutil/policy_test.go | 3 +++ sdk/helper/keysutil/transit_lru.go | 3 +++ sdk/helper/keysutil/transit_syncmap.go | 3 +++ sdk/helper/keysutil/util.go | 3 +++ sdk/helper/ldaputil/client.go | 3 +++ sdk/helper/ldaputil/client_test.go | 3 +++ sdk/helper/ldaputil/config.go | 3 +++ sdk/helper/ldaputil/config_test.go | 3 +++ sdk/helper/ldaputil/connection.go | 3 +++ sdk/helper/ldaputil/ldap.go | 3 +++ sdk/helper/license/feature.go | 3 +++ sdk/helper/locksutil/locks.go | 3 +++ sdk/helper/locksutil/locks_test.go | 3 +++ sdk/helper/logging/logging.go | 3 +++ sdk/helper/logging/logging_test.go | 3 +++ sdk/helper/mlock/mlock.go | 3 +++ sdk/helper/parseutil/parseutil.go | 3 +++ sdk/helper/password/password.go | 3 +++ sdk/helper/pathmanager/pathmanager.go | 3 +++ sdk/helper/pathmanager/pathmanager_test.go | 3 +++ sdk/helper/pluginutil/env.go | 3 +++ sdk/helper/pluginutil/env_test.go | 3 +++ sdk/helper/pluginutil/multiplexing.go | 3 +++ sdk/helper/pluginutil/multiplexing.pb.go | 3 +++ sdk/helper/pluginutil/multiplexing.proto | 3 +++ sdk/helper/pluginutil/multiplexing_test.go | 3 +++ sdk/helper/pluginutil/run_config.go | 3 +++ sdk/helper/pluginutil/run_config_test.go | 3 +++ sdk/helper/pluginutil/runner.go | 3 +++ sdk/helper/pluginutil/tls.go | 3 +++ sdk/helper/pointerutil/pointer.go | 3 +++ sdk/helper/policyutil/policyutil.go | 3 +++ sdk/helper/policyutil/policyutil_test.go | 3 +++ sdk/helper/roottoken/decode.go | 3 +++ sdk/helper/roottoken/encode.go | 3 +++ sdk/helper/roottoken/encode_test.go | 3 +++ sdk/helper/roottoken/otp.go | 3 +++ sdk/helper/roottoken/otp_test.go | 3 +++ sdk/helper/salt/salt.go | 3 +++ sdk/helper/salt/salt_test.go | 3 +++ sdk/helper/strutil/strutil.go | 3 +++ sdk/helper/template/funcs.go | 3 +++ sdk/helper/template/funcs_test.go | 3 +++ sdk/helper/template/template.go | 3 +++ sdk/helper/template/template_test.go | 3 +++ sdk/helper/testhelpers/schema/response_validation.go | 3 +++ sdk/helper/testhelpers/schema/response_validation_test.go | 3 +++ sdk/helper/tlsutil/tlsutil.go | 3 +++ sdk/helper/tokenutil/tokenutil.go | 3 +++ sdk/helper/useragent/useragent.go | 3 +++ sdk/helper/useragent/useragent_test.go | 3 +++ sdk/helper/wrapping/wrapinfo.go | 3 +++ sdk/helper/xor/xor.go | 3 +++ sdk/helper/xor/xor_test.go | 3 +++ sdk/logical/audit.go | 3 +++ sdk/logical/auth.go | 3 +++ sdk/logical/connection.go | 3 +++ sdk/logical/controlgroup.go | 3 +++ sdk/logical/error.go | 3 +++ sdk/logical/event.pb.go | 3 +++ sdk/logical/event.proto | 3 +++ sdk/logical/events.go | 3 +++ sdk/logical/identity.pb.go | 3 +++ sdk/logical/identity.proto | 3 +++ sdk/logical/lease.go | 3 +++ sdk/logical/lease_test.go | 3 +++ sdk/logical/logical.go | 3 +++ sdk/logical/logical_storage.go | 3 +++ sdk/logical/managed_key.go | 3 +++ sdk/logical/plugin.pb.go | 3 +++ sdk/logical/plugin.proto | 3 +++ sdk/logical/request.go | 3 +++ sdk/logical/response.go | 3 +++ sdk/logical/response_util.go | 3 +++ sdk/logical/response_util_test.go | 3 +++ sdk/logical/secret.go | 3 +++ sdk/logical/storage.go | 3 +++ sdk/logical/storage_inmem.go | 3 +++ sdk/logical/storage_inmem_test.go | 3 +++ sdk/logical/storage_test.go | 3 +++ sdk/logical/storage_view.go | 3 +++ sdk/logical/system_view.go | 3 +++ sdk/logical/testing.go | 3 +++ sdk/logical/token.go | 3 +++ sdk/logical/token_test.go | 3 +++ sdk/logical/translate_response.go | 3 +++ sdk/logical/version.pb.go | 3 +++ sdk/logical/version.proto | 3 +++ sdk/physical/cache.go | 3 +++ sdk/physical/encoding.go | 3 +++ sdk/physical/entry.go | 3 +++ sdk/physical/error.go | 3 +++ sdk/physical/file/file.go | 3 +++ sdk/physical/file/file_test.go | 3 +++ sdk/physical/inmem/cache_test.go | 3 +++ sdk/physical/inmem/inmem.go | 3 +++ sdk/physical/inmem/inmem_ha.go | 3 +++ sdk/physical/inmem/inmem_ha_test.go | 3 +++ sdk/physical/inmem/inmem_test.go | 3 +++ sdk/physical/inmem/physical_view_test.go | 3 +++ sdk/physical/inmem/transactions_test.go | 3 +++ sdk/physical/latency.go | 3 +++ sdk/physical/physical.go | 3 +++ sdk/physical/physical_access.go | 3 +++ sdk/physical/physical_view.go | 3 +++ sdk/physical/testing.go | 3 +++ sdk/physical/transactions.go | 3 +++ sdk/plugin/backend.go | 3 +++ sdk/plugin/grpc_backend.go | 3 +++ sdk/plugin/grpc_backend_client.go | 3 +++ sdk/plugin/grpc_backend_server.go | 3 +++ sdk/plugin/grpc_backend_test.go | 3 +++ sdk/plugin/grpc_events.go | 3 +++ sdk/plugin/grpc_storage.go | 3 +++ sdk/plugin/grpc_system.go | 3 +++ sdk/plugin/grpc_system_test.go | 3 +++ sdk/plugin/logger.go | 3 +++ sdk/plugin/logger_test.go | 3 +++ sdk/plugin/middleware.go | 3 +++ sdk/plugin/mock/backend.go | 3 +++ sdk/plugin/mock/backend_test.go | 3 +++ sdk/plugin/mock/path_errors.go | 3 +++ sdk/plugin/mock/path_internal.go | 3 +++ sdk/plugin/mock/path_kv.go | 3 +++ sdk/plugin/mock/path_raw.go | 3 +++ sdk/plugin/mock/path_special.go | 3 +++ sdk/plugin/pb/backend.pb.go | 3 +++ sdk/plugin/pb/backend.proto | 3 +++ sdk/plugin/pb/translation.go | 3 +++ sdk/plugin/pb/translation_test.go | 3 +++ sdk/plugin/plugin.go | 3 +++ sdk/plugin/plugin_v5.go | 3 +++ sdk/plugin/serve.go | 3 +++ sdk/plugin/storage_test.go | 3 +++ sdk/queue/priority_queue.go | 3 +++ sdk/queue/priority_queue_test.go | 3 +++ serviceregistration/consul/consul_service_registration.go | 3 +++ .../consul/consul_service_registration_test.go | 3 +++ serviceregistration/kubernetes/client/client.go | 3 +++ serviceregistration/kubernetes/client/client_test.go | 3 +++ .../kubernetes/client/cmd/kubeclient/main.go | 3 +++ serviceregistration/kubernetes/client/config.go | 3 +++ serviceregistration/kubernetes/retry_handler.go | 3 +++ serviceregistration/kubernetes/retry_handler_test.go | 3 +++ serviceregistration/kubernetes/service_registration.go | 3 +++ .../kubernetes/service_registration_test.go | 3 +++ serviceregistration/kubernetes/testing/testserver.go | 3 +++ serviceregistration/service_registration.go | 3 +++ shamir/shamir.go | 3 +++ shamir/shamir_test.go | 3 +++ tools/godoctests/main.go | 3 +++ tools/godoctests/pkg/analyzer/analyzer.go | 3 +++ tools/godoctests/pkg/analyzer/analyzer_test.go | 3 +++ tools/godoctests/pkg/analyzer/testdata/funcs.go | 3 +++ tools/semgrep/ci/atomic.yml | 3 +++ tools/semgrep/ci/bad-multierror-append.yml | 3 +++ tools/semgrep/ci/bad-nil-guard.yml | 3 +++ tools/semgrep/ci/error-shadowing.yml | 3 +++ tools/semgrep/ci/fmt-printf.yml | 3 +++ tools/semgrep/ci/hashsum.yml | 3 +++ tools/semgrep/ci/hmac-bytes.yml | 3 +++ tools/semgrep/ci/hmac-hash.yml | 3 +++ tools/semgrep/ci/logger-format-string.yml | 3 +++ tools/semgrep/ci/loop-time-after.yml | 3 +++ tools/semgrep/ci/loopclosure.yml | 3 +++ tools/semgrep/ci/no-nil-check.yml | 3 +++ tools/semgrep/ci/oddifsequence.yml | 3 +++ tools/semgrep/ci/return-nil-error.yml | 3 +++ tools/semgrep/ci/return-nil.yml | 3 +++ tools/semgrep/ci/wrongerrcall.yml | 3 +++ tools/semgrep/ci/wronglock.yml | 3 +++ tools/semgrep/hostport.yml | 3 +++ tools/semgrep/joinpath.yml | 3 +++ tools/semgrep/lock-not-unlocked-on-return.yml | 3 +++ tools/semgrep/logger-sprintf.yml | 3 +++ tools/semgrep/paths-with-callbacks-and-operations.yml | 3 +++ tools/semgrep/paths-with-callbacks.yml | 3 +++ tools/semgrep/physical-storage.yml | 3 +++ tools/semgrep/replication-has-state.yml | 3 +++ tools/semgrep/self-equals.yml | 3 +++ tools/tools.go | 3 +++ ui/.eslintrc.js | 5 +++++ ui/.github/workflows/ci.yml | 3 +++ ui/.prettierrc.js | 5 +++++ ui/.template-lintrc.js | 5 +++++ ui/.yarn/releases/yarn-1.19.1.js | 5 +++++ ui/.yarn/releases/yarn-1.22.19.js | 5 +++++ ui/app/adapters/application.js | 5 +++++ ui/app/adapters/auth-config/_base.js | 5 +++++ ui/app/adapters/auth-config/aws/client.js | 5 +++++ ui/app/adapters/auth-config/aws/identity-accesslist.js | 5 +++++ ui/app/adapters/auth-config/aws/roletag-denylist.js | 5 +++++ ui/app/adapters/auth-config/azure.js | 5 +++++ ui/app/adapters/auth-config/gcp.js | 5 +++++ ui/app/adapters/auth-config/github.js | 5 +++++ ui/app/adapters/auth-config/jwt.js | 5 +++++ ui/app/adapters/auth-config/kubernetes.js | 5 +++++ ui/app/adapters/auth-config/ldap.js | 5 +++++ ui/app/adapters/auth-config/oidc.js | 5 +++++ ui/app/adapters/auth-config/okta.js | 5 +++++ ui/app/adapters/auth-config/radius.js | 5 +++++ ui/app/adapters/auth-method.js | 5 +++++ ui/app/adapters/aws-credential.js | 5 +++++ ui/app/adapters/capabilities.js | 5 +++++ ui/app/adapters/clients/activity.js | 5 +++++ ui/app/adapters/clients/config.js | 5 +++++ ui/app/adapters/clients/version-history.js | 5 +++++ ui/app/adapters/cluster.js | 5 +++++ ui/app/adapters/console.js | 5 +++++ ui/app/adapters/control-group-config.js | 5 +++++ ui/app/adapters/control-group.js | 5 +++++ ui/app/adapters/database/connection.js | 5 +++++ ui/app/adapters/database/credential.js | 5 +++++ ui/app/adapters/database/role.js | 5 +++++ ui/app/adapters/generated-item-list.js | 5 +++++ ui/app/adapters/identity/base.js | 5 +++++ ui/app/adapters/identity/entity-alias.js | 5 +++++ ui/app/adapters/identity/entity-merge.js | 5 +++++ ui/app/adapters/identity/entity.js | 5 +++++ ui/app/adapters/identity/group-alias.js | 5 +++++ ui/app/adapters/identity/group.js | 5 +++++ ui/app/adapters/keymgmt/key.js | 5 +++++ ui/app/adapters/keymgmt/provider.js | 5 +++++ ui/app/adapters/kmip/base.js | 5 +++++ ui/app/adapters/kmip/ca.js | 5 +++++ ui/app/adapters/kmip/config.js | 5 +++++ ui/app/adapters/kmip/credential.js | 5 +++++ ui/app/adapters/kmip/role.js | 5 +++++ ui/app/adapters/kmip/scope.js | 5 +++++ ui/app/adapters/kubernetes/config.js | 5 +++++ ui/app/adapters/kubernetes/role.js | 5 +++++ ui/app/adapters/lease.js | 5 +++++ ui/app/adapters/license.js | 5 +++++ ui/app/adapters/mfa-login-enforcement.js | 5 +++++ ui/app/adapters/mfa-method.js | 5 +++++ ui/app/adapters/mfa-setup.js | 5 +++++ ui/app/adapters/named-path.js | 5 +++++ ui/app/adapters/namespace.js | 5 +++++ ui/app/adapters/node.js | 5 +++++ ui/app/adapters/oidc/assignment.js | 5 +++++ ui/app/adapters/oidc/client.js | 5 +++++ ui/app/adapters/oidc/key.js | 5 +++++ ui/app/adapters/oidc/provider.js | 5 +++++ ui/app/adapters/oidc/scope.js | 5 +++++ ui/app/adapters/path-filter-config.js | 5 +++++ ui/app/adapters/permissions.js | 5 +++++ ui/app/adapters/pki-ca-certificate-sign.js | 5 +++++ ui/app/adapters/pki-ca-certificate.js | 5 +++++ ui/app/adapters/pki-certificate-sign.js | 5 +++++ ui/app/adapters/pki.js | 5 +++++ ui/app/adapters/pki/action.js | 5 +++++ ui/app/adapters/pki/cert.js | 5 +++++ ui/app/adapters/pki/certificate/base.js | 5 +++++ ui/app/adapters/pki/certificate/generate.js | 5 +++++ ui/app/adapters/pki/certificate/sign.js | 5 +++++ ui/app/adapters/pki/issuer.js | 5 +++++ ui/app/adapters/pki/key.js | 5 +++++ ui/app/adapters/pki/pki-config.js | 5 +++++ ui/app/adapters/pki/pki-role.js | 5 +++++ ui/app/adapters/pki/role.js | 5 +++++ ui/app/adapters/pki/sign-intermediate.js | 5 +++++ ui/app/adapters/pki/urls.js | 5 +++++ ui/app/adapters/policy.js | 5 +++++ ui/app/adapters/policy/acl.js | 5 +++++ ui/app/adapters/policy/egp.js | 5 +++++ ui/app/adapters/policy/rgp.js | 5 +++++ ui/app/adapters/raft-join.js | 5 +++++ ui/app/adapters/replication-mode.js | 5 +++++ ui/app/adapters/role-aws.js | 5 +++++ ui/app/adapters/role-jwt.js | 5 +++++ ui/app/adapters/role-ssh.js | 5 +++++ ui/app/adapters/secret-engine.js | 5 +++++ ui/app/adapters/secret-v2-version.js | 5 +++++ ui/app/adapters/secret-v2.js | 5 +++++ ui/app/adapters/secret.js | 5 +++++ ui/app/adapters/server.js | 5 +++++ ui/app/adapters/ssh-otp-credential.js | 5 +++++ ui/app/adapters/ssh-sign.js | 5 +++++ ui/app/adapters/ssh.js | 5 +++++ ui/app/adapters/tools.js | 5 +++++ ui/app/adapters/transform.js | 5 +++++ ui/app/adapters/transform/alphabet.js | 5 +++++ ui/app/adapters/transform/base.js | 5 +++++ ui/app/adapters/transform/role.js | 5 +++++ ui/app/adapters/transform/template.js | 5 +++++ ui/app/adapters/transform/transformation.js | 5 +++++ ui/app/adapters/transit-key.js | 5 +++++ ui/app/app.js | 5 +++++ ui/app/breakpoints.js | 5 +++++ ui/app/components/alert-popup.js | 5 +++++ ui/app/components/alphabet-edit.js | 5 +++++ ui/app/components/auth-config-form/config.js | 5 +++++ ui/app/components/auth-config-form/options.js | 5 +++++ ui/app/components/auth-form-options.js | 5 +++++ ui/app/components/auth-form.js | 5 +++++ ui/app/components/auth-info.js | 5 +++++ ui/app/components/auth-jwt.js | 5 +++++ ui/app/components/b64-toggle.js | 5 +++++ ui/app/components/basic-dropdown/trigger.js | 5 +++++ ui/app/components/calendar-widget.js | 5 +++++ ui/app/components/clients/attribution.js | 5 +++++ ui/app/components/clients/config.js | 5 +++++ ui/app/components/clients/dashboard.js | 5 +++++ ui/app/components/clients/horizontal-bar-chart.js | 5 +++++ ui/app/components/clients/line-chart.js | 5 +++++ ui/app/components/clients/monthly-usage.js | 5 +++++ ui/app/components/clients/running-total.js | 5 +++++ ui/app/components/clients/vertical-bar-chart.js | 5 +++++ ui/app/components/cluster-info.js | 5 +++++ ui/app/components/configure-aws-secret.js | 5 +++++ ui/app/components/configure-ssh-secret.js | 5 +++++ ui/app/components/console/command-input.js | 5 +++++ ui/app/components/console/log-help.js | 5 +++++ ui/app/components/console/log-json.js | 5 +++++ ui/app/components/console/log-list.js | 5 +++++ ui/app/components/console/log-object.js | 5 +++++ ui/app/components/console/log-text.js | 5 +++++ ui/app/components/console/output-log.js | 5 +++++ ui/app/components/console/ui-panel.js | 5 +++++ ui/app/components/control-group-success.js | 5 +++++ ui/app/components/control-group.js | 5 +++++ ui/app/components/database-connection.js | 5 +++++ ui/app/components/database-role-edit.js | 5 +++++ ui/app/components/database-role-setting-form.js | 5 +++++ ui/app/components/date-dropdown.js | 5 +++++ ui/app/components/diff-version-selector.js | 5 +++++ ui/app/components/file-to-array-buffer.js | 5 +++++ ui/app/components/flash-message.js | 5 +++++ ui/app/components/generate-credentials-database.js | 5 +++++ ui/app/components/generate-credentials.js | 5 +++++ ui/app/components/generated-item-list.js | 5 +++++ ui/app/components/generated-item.js | 5 +++++ ui/app/components/get-credentials-card.js | 5 +++++ ui/app/components/home-link.js | 5 +++++ ui/app/components/hover-copy-button.js | 5 +++++ ui/app/components/identity/_popup-base.js | 5 +++++ ui/app/components/identity/edit-form.js | 5 +++++ ui/app/components/identity/entity-nav.js | 5 +++++ ui/app/components/identity/item-details.js | 5 +++++ ui/app/components/identity/lookup-input.js | 5 +++++ ui/app/components/identity/popup-alias.js | 5 +++++ ui/app/components/identity/popup-members.js | 5 +++++ ui/app/components/identity/popup-metadata.js | 5 +++++ ui/app/components/identity/popup-policy.js | 5 +++++ ui/app/components/key-version-select.js | 5 +++++ ui/app/components/keymgmt/distribute.js | 5 +++++ ui/app/components/keymgmt/key-edit.js | 5 +++++ ui/app/components/keymgmt/provider-edit.js | 5 +++++ ui/app/components/license-banners.js | 5 +++++ ui/app/components/license-info.js | 5 +++++ ui/app/components/link-status.js | 5 +++++ ui/app/components/logo-edition.js | 5 +++++ ui/app/components/menu-sidebar.js | 5 +++++ ui/app/components/mfa/method-form.js | 5 +++++ ui/app/components/mfa/mfa-form.js | 5 +++++ ui/app/components/mfa/mfa-login-enforcement-form.js | 5 +++++ ui/app/components/mfa/mfa-login-enforcement-header.js | 5 +++++ ui/app/components/mfa/mfa-setup-step-one.js | 5 +++++ ui/app/components/mfa/mfa-setup-step-two.js | 5 +++++ ui/app/components/modal-form/oidc-assignment-template.js | 5 +++++ ui/app/components/modal-form/policy-template.js | 5 +++++ ui/app/components/mount-accessor-select.js | 5 +++++ ui/app/components/mount-backend-form.js | 5 +++++ ui/app/components/mount-backend/type-form.js | 5 +++++ ui/app/components/namespace-link.js | 5 +++++ ui/app/components/namespace-picker.js | 5 +++++ ui/app/components/nav-header.js | 5 +++++ ui/app/components/nav-header/home.js | 5 +++++ ui/app/components/nav-header/items.js | 5 +++++ ui/app/components/nav-header/main.js | 5 +++++ ui/app/components/not-found.js | 5 +++++ ui/app/components/oidc-consent-block.js | 5 +++++ ui/app/components/oidc/assignment-form.js | 5 +++++ ui/app/components/oidc/client-form.js | 5 +++++ ui/app/components/oidc/key-form.js | 5 +++++ ui/app/components/oidc/provider-form.js | 5 +++++ ui/app/components/oidc/scope-form.js | 5 +++++ ui/app/components/outer-html.js | 5 +++++ ui/app/components/pagination-controls.js | 5 +++++ ui/app/components/pgp-file.js | 5 +++++ ui/app/components/pgp-list.js | 5 +++++ ui/app/components/pki/config-pki-ca.js | 5 +++++ ui/app/components/pki/config-pki.js | 5 +++++ ui/app/components/pki/pki-cert-popup.js | 5 +++++ ui/app/components/pki/pki-cert-show.js | 5 +++++ ui/app/components/pki/role-pki-edit.js | 5 +++++ ui/app/components/policy-form.js | 5 +++++ ui/app/components/radial-progress.js | 5 +++++ ui/app/components/raft-join.js | 5 +++++ ui/app/components/raft-storage-overview.js | 5 +++++ ui/app/components/raft-storage-restore.js | 5 +++++ ui/app/components/regex-validator.js | 5 +++++ ui/app/components/role-aws-edit.js | 5 +++++ ui/app/components/role-edit.js | 5 +++++ ui/app/components/role-ssh-edit.js | 5 +++++ ui/app/components/secret-create-or-update.js | 5 +++++ ui/app/components/secret-delete-menu.js | 5 +++++ ui/app/components/secret-edit-metadata.js | 5 +++++ ui/app/components/secret-edit-toolbar.js | 5 +++++ ui/app/components/secret-edit.js | 5 +++++ ui/app/components/secret-link.js | 5 +++++ ui/app/components/secret-list/database-list-item.js | 5 +++++ ui/app/components/secret-list/transform-list-item.js | 5 +++++ ui/app/components/secret-version-menu.js | 5 +++++ ui/app/components/section-tabs.js | 5 +++++ ui/app/components/selectable-card.js | 5 +++++ ui/app/components/shamir-progress.js | 5 +++++ ui/app/components/splash-page.js | 5 +++++ ui/app/components/splash-page/splash-content.js | 5 +++++ ui/app/components/splash-page/splash-footer.js | 5 +++++ ui/app/components/splash-page/splash-header.js | 5 +++++ ui/app/components/status-menu.js | 5 +++++ ui/app/components/token-expire-warning.js | 5 +++++ ui/app/components/tool-actions-form.js | 5 +++++ ui/app/components/tool-hash.js | 5 +++++ ui/app/components/tool-lookup.js | 5 +++++ ui/app/components/tool-random.js | 5 +++++ ui/app/components/tool-rewrap.js | 5 +++++ ui/app/components/tool-unwrap.js | 5 +++++ ui/app/components/tool-wrap.js | 5 +++++ ui/app/components/toolbar-secret-link.js | 5 +++++ ui/app/components/transform-advanced-templating.js | 5 +++++ ui/app/components/transform-create-form.js | 5 +++++ ui/app/components/transform-edit-base.js | 5 +++++ ui/app/components/transform-edit-form.js | 5 +++++ ui/app/components/transform-role-edit.js | 5 +++++ ui/app/components/transform-show-transformation.js | 5 +++++ ui/app/components/transform-template-edit.js | 5 +++++ ui/app/components/transformation-edit.js | 5 +++++ ui/app/components/transit-edit.js | 5 +++++ ui/app/components/transit-key-action/export.js | 5 +++++ ui/app/components/transit-key-actions.js | 5 +++++ ui/app/components/ui-wizard.js | 5 +++++ ui/app/components/wizard-content.js | 5 +++++ ui/app/components/wizard/features-selection.js | 5 +++++ ui/app/components/wizard/mounts-wizard.js | 5 +++++ ui/app/components/wizard/secrets-keymgmt.js | 5 +++++ ui/app/components/wrap-ttl.js | 5 +++++ ui/app/config/environment.d.ts | 5 +++++ ui/app/controllers/application.js | 5 +++++ ui/app/controllers/vault.js | 5 +++++ ui/app/controllers/vault/cluster.js | 5 +++++ .../vault/cluster/access/control-groups-configure.js | 5 +++++ .../vault/cluster/access/identity/aliases/add.js | 5 +++++ .../vault/cluster/access/identity/aliases/edit.js | 5 +++++ .../vault/cluster/access/identity/aliases/index.js | 5 +++++ ui/app/controllers/vault/cluster/access/identity/create.js | 5 +++++ ui/app/controllers/vault/cluster/access/identity/edit.js | 5 +++++ ui/app/controllers/vault/cluster/access/identity/index.js | 5 +++++ ui/app/controllers/vault/cluster/access/identity/merge.js | 5 +++++ ui/app/controllers/vault/cluster/access/leases/index.js | 5 +++++ .../controllers/vault/cluster/access/leases/list-root.js | 5 +++++ ui/app/controllers/vault/cluster/access/leases/list.js | 5 +++++ ui/app/controllers/vault/cluster/access/leases/show.js | 5 +++++ .../controllers/vault/cluster/access/method/item/list.js | 5 +++++ ui/app/controllers/vault/cluster/access/methods.js | 5 +++++ .../cluster/access/mfa/enforcements/enforcement/index.js | 5 +++++ .../vault/cluster/access/mfa/enforcements/index.js | 5 +++++ ui/app/controllers/vault/cluster/access/mfa/methods.js | 5 +++++ .../controllers/vault/cluster/access/mfa/methods/create.js | 5 +++++ .../vault/cluster/access/mfa/methods/method/index.js | 5 +++++ .../controllers/vault/cluster/access/namespaces/create.js | 5 +++++ .../controllers/vault/cluster/access/namespaces/index.js | 5 +++++ ui/app/controllers/vault/cluster/access/oidc.js | 5 +++++ .../cluster/access/oidc/assignments/assignment/details.js | 5 +++++ .../vault/cluster/access/oidc/clients/client.js | 5 +++++ .../vault/cluster/access/oidc/clients/client/details.js | 5 +++++ ui/app/controllers/vault/cluster/access/oidc/keys/key.js | 5 +++++ .../vault/cluster/access/oidc/keys/key/details.js | 5 +++++ .../vault/cluster/access/oidc/providers/provider.js | 5 +++++ .../cluster/access/oidc/providers/provider/details.js | 5 +++++ .../vault/cluster/access/oidc/scopes/scope/details.js | 5 +++++ ui/app/controllers/vault/cluster/auth.js | 5 +++++ ui/app/controllers/vault/cluster/clients.js | 5 +++++ ui/app/controllers/vault/cluster/init.js | 5 +++++ ui/app/controllers/vault/cluster/mfa-setup.js | 5 +++++ ui/app/controllers/vault/cluster/oidc-callback.js | 5 +++++ ui/app/controllers/vault/cluster/oidc-provider-ns.js | 5 +++++ ui/app/controllers/vault/cluster/oidc-provider.js | 5 +++++ ui/app/controllers/vault/cluster/policies/index.js | 5 +++++ ui/app/controllers/vault/cluster/policy/edit.js | 5 +++++ .../vault/cluster/replication-dr-promote/index.js | 5 +++++ ui/app/controllers/vault/cluster/secrets/backend.js | 5 +++++ .../vault/cluster/secrets/backend/actions-root.js | 5 +++++ .../controllers/vault/cluster/secrets/backend/actions.js | 5 +++++ .../vault/cluster/secrets/backend/configuration.js | 5 +++++ .../vault/cluster/secrets/backend/create-root.js | 5 +++++ ui/app/controllers/vault/cluster/secrets/backend/create.js | 5 +++++ .../vault/cluster/secrets/backend/credentials-root.js | 5 +++++ .../vault/cluster/secrets/backend/credentials.js | 5 +++++ ui/app/controllers/vault/cluster/secrets/backend/diff.js | 5 +++++ .../controllers/vault/cluster/secrets/backend/edit-root.js | 5 +++++ ui/app/controllers/vault/cluster/secrets/backend/edit.js | 5 +++++ .../controllers/vault/cluster/secrets/backend/list-root.js | 5 +++++ ui/app/controllers/vault/cluster/secrets/backend/list.js | 5 +++++ .../controllers/vault/cluster/secrets/backend/metadata.js | 5 +++++ .../controllers/vault/cluster/secrets/backend/show-root.js | 5 +++++ ui/app/controllers/vault/cluster/secrets/backend/show.js | 5 +++++ .../controllers/vault/cluster/secrets/backend/sign-root.js | 5 +++++ ui/app/controllers/vault/cluster/secrets/backend/sign.js | 5 +++++ ui/app/controllers/vault/cluster/secrets/backends.js | 5 +++++ ui/app/controllers/vault/cluster/settings.js | 5 +++++ ui/app/controllers/vault/cluster/settings/auth/enable.js | 5 +++++ .../vault/cluster/settings/configure-secret-backend.js | 5 +++++ .../vault/cluster/settings/mount-secret-backend.js | 5 +++++ ui/app/controllers/vault/cluster/settings/seal.js | 5 +++++ ui/app/controllers/vault/cluster/unseal.js | 5 +++++ ui/app/decorators/model-form-fields.js | 5 +++++ ui/app/decorators/model-validations.js | 5 +++++ ui/app/helpers/-date-base.js | 5 +++++ ui/app/helpers/add-to-array.js | 5 +++++ ui/app/helpers/add.js | 5 +++++ ui/app/helpers/all-features.js | 5 +++++ ui/app/helpers/await.js | 5 +++++ ui/app/helpers/aws-regions.js | 5 +++++ ui/app/helpers/coerce-eq.js | 5 +++++ ui/app/helpers/date-from-now.js | 5 +++++ ui/app/helpers/filter-wildcard.js | 5 +++++ ui/app/helpers/has-permission.js | 5 +++++ ui/app/helpers/is-after.js | 5 +++++ ui/app/helpers/is-before.js | 5 +++++ ui/app/helpers/is-empty-value.js | 5 +++++ ui/app/helpers/is-wildcard-string.js | 5 +++++ ui/app/helpers/jsonify.js | 5 +++++ ui/app/helpers/mountable-auth-methods.js | 5 +++++ ui/app/helpers/mountable-secret-engines.js | 5 +++++ ui/app/helpers/multi-line-join.js | 5 +++++ ui/app/helpers/nav-to-route.js | 5 +++++ ui/app/helpers/now.js | 5 +++++ ui/app/helpers/number-to-word.js | 5 +++++ ui/app/helpers/remove-from-array.js | 5 +++++ ui/app/helpers/route-params-for.js | 5 +++++ ui/app/helpers/secret-query-params.js | 5 +++++ ui/app/helpers/sha2-digest-sizes.js | 5 +++++ ui/app/helpers/split-object.js | 5 +++++ ui/app/helpers/stringify.js | 5 +++++ ui/app/helpers/sub.js | 5 +++++ ui/app/helpers/supported-auth-backends.js | 5 +++++ ui/app/helpers/supported-managed-auth-backends.js | 5 +++++ ui/app/helpers/supported-secret-backends.js | 5 +++++ ui/app/helpers/tabs-for-auth-section.js | 5 +++++ ui/app/helpers/tabs-for-identity-show.js | 5 +++++ ui/app/helpers/to-label.js | 5 +++++ ui/app/helpers/tools-actions.js | 5 +++++ ui/app/helpers/wizard-constants.js | 5 +++++ ui/app/index.html | 5 +++++ ui/app/initializers/deprecation-filter.js | 5 +++++ ui/app/initializers/disable-ember-inspector.js | 5 +++++ ui/app/initializers/ember-data-identifiers.js | 5 +++++ ui/app/initializers/enable-engines.js | 5 +++++ ui/app/instance-initializers/track-csp-event.js | 5 +++++ ui/app/lib/arg-tokenizer.js | 5 +++++ ui/app/lib/attach-capabilities.js | 5 +++++ ui/app/lib/console-helpers.js | 5 +++++ ui/app/lib/control-group-error.js | 5 +++++ ui/app/lib/key-utils.js | 5 +++++ ui/app/lib/keycodes.js | 5 +++++ ui/app/lib/kv-object.js | 5 +++++ ui/app/lib/local-storage.js | 5 +++++ ui/app/lib/memory-storage.js | 5 +++++ ui/app/lib/path-to-tree.js | 5 +++++ ui/app/lib/route-paths.js | 5 +++++ ui/app/lib/token-storage.js | 5 +++++ ui/app/machines/auth-machine.js | 5 +++++ ui/app/machines/policies-machine.js | 5 +++++ ui/app/machines/replication-machine.js | 5 +++++ ui/app/machines/secrets-machine.js | 5 +++++ ui/app/machines/tools-machine.js | 5 +++++ ui/app/machines/tutorial-machine.js | 5 +++++ ui/app/macros/identity-capabilities.js | 5 +++++ ui/app/macros/lazy-capabilities.js | 5 +++++ ui/app/macros/maybe-query-record.js | 5 +++++ ui/app/mixins/backend-crumb.js | 5 +++++ ui/app/mixins/cluster-route.js | 5 +++++ ui/app/mixins/focus-on-insert.js | 5 +++++ ui/app/mixins/key-mixin.js | 5 +++++ ui/app/mixins/model-boundary-route.js | 5 +++++ ui/app/mixins/unload-model-route.js | 5 +++++ ui/app/mixins/unsaved-model-route.js | 5 +++++ ui/app/mixins/with-nav-to-nearest-ancestor.js | 5 +++++ ui/app/models/auth-config.js | 5 +++++ ui/app/models/auth-config/approle.js | 5 +++++ ui/app/models/auth-config/aws/client.js | 5 +++++ ui/app/models/auth-config/aws/identity-accesslist.js | 5 +++++ ui/app/models/auth-config/aws/roletag-denylist.js | 5 +++++ ui/app/models/auth-config/aws/tidy.js | 5 +++++ ui/app/models/auth-config/azure.js | 5 +++++ ui/app/models/auth-config/cert.js | 5 +++++ ui/app/models/auth-config/gcp.js | 5 +++++ ui/app/models/auth-config/github.js | 5 +++++ ui/app/models/auth-config/jwt.js | 5 +++++ ui/app/models/auth-config/kubernetes.js | 5 +++++ ui/app/models/auth-config/ldap.js | 5 +++++ ui/app/models/auth-config/oidc.js | 5 +++++ ui/app/models/auth-config/okta.js | 5 +++++ ui/app/models/auth-config/radius.js | 5 +++++ ui/app/models/auth-config/userpass.js | 5 +++++ ui/app/models/auth-method.js | 5 +++++ ui/app/models/aws-credential.js | 5 +++++ ui/app/models/capabilities.js | 5 +++++ ui/app/models/clients/activity.js | 5 +++++ ui/app/models/clients/config.js | 5 +++++ ui/app/models/clients/version-history.js | 5 +++++ ui/app/models/cluster.js | 5 +++++ ui/app/models/control-group-config.js | 5 +++++ ui/app/models/control-group.js | 5 +++++ ui/app/models/database/connection.js | 5 +++++ ui/app/models/database/credential.js | 5 +++++ ui/app/models/database/role.js | 5 +++++ ui/app/models/identity/_base.js | 5 +++++ ui/app/models/identity/entity-alias.js | 5 +++++ ui/app/models/identity/entity-merge.js | 5 +++++ ui/app/models/identity/entity.js | 5 +++++ ui/app/models/identity/group-alias.js | 5 +++++ ui/app/models/identity/group.js | 5 +++++ ui/app/models/keymgmt/key.js | 5 +++++ ui/app/models/keymgmt/provider.js | 5 +++++ ui/app/models/kmip/ca.js | 5 +++++ ui/app/models/kmip/config.js | 5 +++++ ui/app/models/kmip/credential.js | 5 +++++ ui/app/models/kmip/role.js | 5 +++++ ui/app/models/kmip/scope.js | 5 +++++ ui/app/models/kubernetes/config.js | 5 +++++ ui/app/models/kubernetes/role.js | 5 +++++ ui/app/models/lease.js | 5 +++++ ui/app/models/license.js | 5 +++++ ui/app/models/mfa-login-enforcement.js | 5 +++++ ui/app/models/mfa-method.js | 5 +++++ ui/app/models/mount-config.js | 5 +++++ ui/app/models/namespace.js | 5 +++++ ui/app/models/node.js | 5 +++++ ui/app/models/oidc/assignment.js | 5 +++++ ui/app/models/oidc/client.js | 5 +++++ ui/app/models/oidc/key.js | 5 +++++ ui/app/models/oidc/provider.js | 5 +++++ ui/app/models/oidc/scope.js | 5 +++++ ui/app/models/path-filter-config.js | 5 +++++ ui/app/models/pki-ca-certificate-sign.js | 5 +++++ ui/app/models/pki-ca-certificate.js | 5 +++++ ui/app/models/pki-certificate-sign.js | 5 +++++ ui/app/models/pki/action.js | 5 +++++ ui/app/models/pki/cert.js | 5 +++++ ui/app/models/pki/certificate/base.js | 5 +++++ ui/app/models/pki/certificate/generate.js | 5 +++++ ui/app/models/pki/certificate/sign.js | 5 +++++ ui/app/models/pki/issuer.js | 5 +++++ ui/app/models/pki/key.js | 5 +++++ ui/app/models/pki/pki-config.js | 5 +++++ ui/app/models/pki/pki-role.js | 5 +++++ ui/app/models/pki/role.js | 5 +++++ ui/app/models/pki/sign-intermediate.js | 5 +++++ ui/app/models/pki/urls.js | 5 +++++ ui/app/models/policy.js | 5 +++++ ui/app/models/policy/acl.js | 5 +++++ ui/app/models/policy/egp.js | 5 +++++ ui/app/models/policy/rgp.js | 5 +++++ ui/app/models/raft-join.js | 5 +++++ ui/app/models/replication-attributes.js | 5 +++++ ui/app/models/replication-mode.js | 5 +++++ ui/app/models/role-aws.js | 5 +++++ ui/app/models/role-jwt.js | 5 +++++ ui/app/models/role-ssh.js | 5 +++++ ui/app/models/secret-engine.js | 5 +++++ ui/app/models/secret-v2-version.js | 5 +++++ ui/app/models/secret-v2.js | 5 +++++ ui/app/models/secret.js | 5 +++++ ui/app/models/server.js | 5 +++++ ui/app/models/ssh-otp-credential.js | 5 +++++ ui/app/models/ssh-sign.js | 5 +++++ ui/app/models/test-form-model.js | 5 +++++ ui/app/models/transform.js | 5 +++++ ui/app/models/transform/alphabet.js | 5 +++++ ui/app/models/transform/role.js | 5 +++++ ui/app/models/transform/template.js | 5 +++++ ui/app/models/transit-key.js | 5 +++++ ui/app/router.js | 5 +++++ ui/app/routes/application.js | 5 +++++ ui/app/routes/loading.js | 5 +++++ ui/app/routes/vault.js | 5 +++++ ui/app/routes/vault/cluster.js | 5 +++++ ui/app/routes/vault/cluster/access.js | 5 +++++ .../routes/vault/cluster/access/control-group-accessor.js | 5 +++++ .../vault/cluster/access/control-groups-configure.js | 5 +++++ ui/app/routes/vault/cluster/access/control-groups.js | 5 +++++ ui/app/routes/vault/cluster/access/identity.js | 5 +++++ ui/app/routes/vault/cluster/access/identity/aliases/add.js | 5 +++++ .../routes/vault/cluster/access/identity/aliases/edit.js | 5 +++++ .../routes/vault/cluster/access/identity/aliases/index.js | 5 +++++ .../routes/vault/cluster/access/identity/aliases/show.js | 5 +++++ ui/app/routes/vault/cluster/access/identity/create.js | 5 +++++ ui/app/routes/vault/cluster/access/identity/edit.js | 5 +++++ ui/app/routes/vault/cluster/access/identity/index.js | 5 +++++ ui/app/routes/vault/cluster/access/identity/merge.js | 5 +++++ ui/app/routes/vault/cluster/access/identity/show.js | 5 +++++ ui/app/routes/vault/cluster/access/leases.js | 5 +++++ ui/app/routes/vault/cluster/access/leases/index.js | 5 +++++ ui/app/routes/vault/cluster/access/leases/list-root.js | 5 +++++ ui/app/routes/vault/cluster/access/leases/list.js | 5 +++++ ui/app/routes/vault/cluster/access/leases/show.js | 5 +++++ ui/app/routes/vault/cluster/access/method.js | 5 +++++ ui/app/routes/vault/cluster/access/method/index.js | 5 +++++ ui/app/routes/vault/cluster/access/method/item.js | 5 +++++ ui/app/routes/vault/cluster/access/method/item/create.js | 5 +++++ ui/app/routes/vault/cluster/access/method/item/edit.js | 5 +++++ ui/app/routes/vault/cluster/access/method/item/list.js | 5 +++++ ui/app/routes/vault/cluster/access/method/item/show.js | 5 +++++ ui/app/routes/vault/cluster/access/method/section.js | 5 +++++ ui/app/routes/vault/cluster/access/methods.js | 5 +++++ .../routes/vault/cluster/access/mfa/enforcements/create.js | 5 +++++ .../vault/cluster/access/mfa/enforcements/enforcement.js | 5 +++++ .../cluster/access/mfa/enforcements/enforcement/edit.js | 5 +++++ .../routes/vault/cluster/access/mfa/enforcements/index.js | 5 +++++ ui/app/routes/vault/cluster/access/mfa/index.js | 5 +++++ ui/app/routes/vault/cluster/access/mfa/methods/create.js | 5 +++++ ui/app/routes/vault/cluster/access/mfa/methods/index.js | 5 +++++ ui/app/routes/vault/cluster/access/mfa/methods/method.js | 5 +++++ .../routes/vault/cluster/access/mfa/methods/method/edit.js | 5 +++++ ui/app/routes/vault/cluster/access/namespaces/create.js | 5 +++++ ui/app/routes/vault/cluster/access/namespaces/index.js | 5 +++++ ui/app/routes/vault/cluster/access/oidc.js | 5 +++++ .../vault/cluster/access/oidc/assignments/assignment.js | 5 +++++ .../cluster/access/oidc/assignments/assignment/details.js | 5 +++++ .../cluster/access/oidc/assignments/assignment/edit.js | 5 +++++ .../routes/vault/cluster/access/oidc/assignments/create.js | 5 +++++ .../routes/vault/cluster/access/oidc/assignments/index.js | 5 +++++ ui/app/routes/vault/cluster/access/oidc/clients/client.js | 5 +++++ .../vault/cluster/access/oidc/clients/client/details.js | 5 +++++ .../vault/cluster/access/oidc/clients/client/edit.js | 5 +++++ .../vault/cluster/access/oidc/clients/client/providers.js | 5 +++++ ui/app/routes/vault/cluster/access/oidc/clients/create.js | 5 +++++ ui/app/routes/vault/cluster/access/oidc/clients/index.js | 5 +++++ ui/app/routes/vault/cluster/access/oidc/index.js | 5 +++++ ui/app/routes/vault/cluster/access/oidc/keys/create.js | 5 +++++ ui/app/routes/vault/cluster/access/oidc/keys/index.js | 5 +++++ ui/app/routes/vault/cluster/access/oidc/keys/key.js | 5 +++++ .../routes/vault/cluster/access/oidc/keys/key/clients.js | 5 +++++ .../routes/vault/cluster/access/oidc/keys/key/details.js | 5 +++++ ui/app/routes/vault/cluster/access/oidc/keys/key/edit.js | 5 +++++ .../routes/vault/cluster/access/oidc/providers/create.js | 5 +++++ ui/app/routes/vault/cluster/access/oidc/providers/index.js | 5 +++++ .../routes/vault/cluster/access/oidc/providers/provider.js | 5 +++++ .../cluster/access/oidc/providers/provider/clients.js | 5 +++++ .../cluster/access/oidc/providers/provider/details.js | 5 +++++ .../vault/cluster/access/oidc/providers/provider/edit.js | 5 +++++ ui/app/routes/vault/cluster/access/oidc/scopes/create.js | 5 +++++ ui/app/routes/vault/cluster/access/oidc/scopes/index.js | 5 +++++ ui/app/routes/vault/cluster/access/oidc/scopes/scope.js | 5 +++++ .../vault/cluster/access/oidc/scopes/scope/details.js | 5 +++++ .../routes/vault/cluster/access/oidc/scopes/scope/edit.js | 5 +++++ ui/app/routes/vault/cluster/auth.js | 5 +++++ ui/app/routes/vault/cluster/clients.js | 5 +++++ ui/app/routes/vault/cluster/clients/config.js | 5 +++++ ui/app/routes/vault/cluster/clients/dashboard.js | 5 +++++ ui/app/routes/vault/cluster/clients/edit.js | 5 +++++ ui/app/routes/vault/cluster/cluster-route-base.js | 5 +++++ ui/app/routes/vault/cluster/index.js | 5 +++++ ui/app/routes/vault/cluster/init.js | 5 +++++ ui/app/routes/vault/cluster/license.js | 5 +++++ ui/app/routes/vault/cluster/logout.js | 5 +++++ ui/app/routes/vault/cluster/mfa-setup.js | 5 +++++ ui/app/routes/vault/cluster/oidc-callback.js | 5 +++++ ui/app/routes/vault/cluster/oidc-provider-ns.js | 5 +++++ ui/app/routes/vault/cluster/oidc-provider.js | 5 +++++ ui/app/routes/vault/cluster/policies.js | 5 +++++ ui/app/routes/vault/cluster/policies/create.js | 5 +++++ ui/app/routes/vault/cluster/policies/index.js | 5 +++++ ui/app/routes/vault/cluster/policy.js | 5 +++++ ui/app/routes/vault/cluster/policy/edit.js | 5 +++++ ui/app/routes/vault/cluster/policy/index.js | 5 +++++ ui/app/routes/vault/cluster/policy/show.js | 5 +++++ ui/app/routes/vault/cluster/redirect.js | 5 +++++ .../routes/vault/cluster/replication-dr-promote/details.js | 5 +++++ .../routes/vault/cluster/replication-dr-promote/index.js | 5 +++++ ui/app/routes/vault/cluster/secrets.js | 5 +++++ ui/app/routes/vault/cluster/secrets/backend.js | 5 +++++ ui/app/routes/vault/cluster/secrets/backend/actions.js | 5 +++++ .../routes/vault/cluster/secrets/backend/configuration.js | 5 +++++ ui/app/routes/vault/cluster/secrets/backend/create-root.js | 5 +++++ ui/app/routes/vault/cluster/secrets/backend/create.js | 5 +++++ .../vault/cluster/secrets/backend/credentials-root.js | 5 +++++ ui/app/routes/vault/cluster/secrets/backend/credentials.js | 5 +++++ ui/app/routes/vault/cluster/secrets/backend/diff.js | 5 +++++ .../routes/vault/cluster/secrets/backend/edit-metadata.js | 5 +++++ ui/app/routes/vault/cluster/secrets/backend/edit-root.js | 5 +++++ ui/app/routes/vault/cluster/secrets/backend/edit.js | 5 +++++ ui/app/routes/vault/cluster/secrets/backend/index.js | 5 +++++ ui/app/routes/vault/cluster/secrets/backend/list-root.js | 5 +++++ ui/app/routes/vault/cluster/secrets/backend/list.js | 5 +++++ ui/app/routes/vault/cluster/secrets/backend/metadata.js | 5 +++++ ui/app/routes/vault/cluster/secrets/backend/overview.js | 5 +++++ ui/app/routes/vault/cluster/secrets/backend/secret-edit.js | 5 +++++ ui/app/routes/vault/cluster/secrets/backend/show-root.js | 5 +++++ ui/app/routes/vault/cluster/secrets/backend/show.js | 5 +++++ ui/app/routes/vault/cluster/secrets/backend/sign-root.js | 5 +++++ ui/app/routes/vault/cluster/secrets/backend/sign.js | 5 +++++ .../routes/vault/cluster/secrets/backend/versions-root.js | 5 +++++ ui/app/routes/vault/cluster/secrets/backend/versions.js | 5 +++++ ui/app/routes/vault/cluster/secrets/backends.js | 5 +++++ ui/app/routes/vault/cluster/settings.js | 5 +++++ ui/app/routes/vault/cluster/settings/auth/configure.js | 5 +++++ .../routes/vault/cluster/settings/auth/configure/index.js | 5 +++++ .../vault/cluster/settings/auth/configure/section.js | 5 +++++ ui/app/routes/vault/cluster/settings/auth/enable.js | 5 +++++ ui/app/routes/vault/cluster/settings/auth/index.js | 5 +++++ .../vault/cluster/settings/configure-secret-backend.js | 5 +++++ .../cluster/settings/configure-secret-backend/index.js | 5 +++++ .../cluster/settings/configure-secret-backend/section.js | 5 +++++ ui/app/routes/vault/cluster/settings/index.js | 5 +++++ .../routes/vault/cluster/settings/mount-secret-backend.js | 5 +++++ ui/app/routes/vault/cluster/settings/seal.js | 5 +++++ ui/app/routes/vault/cluster/storage.js | 5 +++++ ui/app/routes/vault/cluster/tools.js | 5 +++++ ui/app/routes/vault/cluster/tools/index.js | 5 +++++ ui/app/routes/vault/cluster/tools/tool.js | 5 +++++ ui/app/routes/vault/cluster/unseal.js | 5 +++++ ui/app/serializers/application.js | 5 +++++ ui/app/serializers/auth-method.js | 5 +++++ ui/app/serializers/capabilities.js | 5 +++++ ui/app/serializers/clients/activity.js | 5 +++++ ui/app/serializers/clients/config.js | 5 +++++ ui/app/serializers/clients/version-history.js | 5 +++++ ui/app/serializers/cluster.js | 5 +++++ ui/app/serializers/config.js | 5 +++++ ui/app/serializers/control-group.js | 5 +++++ ui/app/serializers/database/connection.js | 5 +++++ ui/app/serializers/database/credential.js | 5 +++++ ui/app/serializers/database/role.js | 5 +++++ ui/app/serializers/identity/_base.js | 5 +++++ ui/app/serializers/identity/entity-alias.js | 5 +++++ ui/app/serializers/identity/entity.js | 5 +++++ ui/app/serializers/identity/group-alias.js | 5 +++++ ui/app/serializers/identity/group.js | 5 +++++ ui/app/serializers/keymgmt/key.js | 5 +++++ ui/app/serializers/keymgmt/provider.js | 5 +++++ ui/app/serializers/kubernetes/config.js | 5 +++++ ui/app/serializers/kubernetes/role.js | 5 +++++ ui/app/serializers/lease.js | 5 +++++ ui/app/serializers/license.js | 5 +++++ ui/app/serializers/mfa-login-enforcement.js | 5 +++++ ui/app/serializers/mfa-method.js | 5 +++++ ui/app/serializers/mount-config.js | 5 +++++ ui/app/serializers/namespace.js | 5 +++++ ui/app/serializers/node.js | 5 +++++ ui/app/serializers/oidc/assignment.js | 5 +++++ ui/app/serializers/oidc/client.js | 5 +++++ ui/app/serializers/oidc/key.js | 5 +++++ ui/app/serializers/oidc/provider.js | 5 +++++ ui/app/serializers/oidc/scope.js | 5 +++++ ui/app/serializers/path-filter-config.js | 5 +++++ ui/app/serializers/pki/action.js | 5 +++++ ui/app/serializers/pki/cert.js | 5 +++++ ui/app/serializers/pki/certificate.js | 5 +++++ ui/app/serializers/pki/certificate/base.js | 5 +++++ ui/app/serializers/pki/certificate/generate.js | 5 +++++ ui/app/serializers/pki/certificate/sign.js | 5 +++++ ui/app/serializers/pki/issuer.js | 5 +++++ ui/app/serializers/pki/key.js | 5 +++++ ui/app/serializers/pki/pki-config.js | 5 +++++ ui/app/serializers/pki/pki-role.js | 5 +++++ ui/app/serializers/pki/role.js | 5 +++++ ui/app/serializers/policy.js | 5 +++++ ui/app/serializers/policy/acl.js | 5 +++++ ui/app/serializers/policy/egp.js | 5 +++++ ui/app/serializers/policy/rgp.js | 5 +++++ ui/app/serializers/replication-attributes.js | 5 +++++ ui/app/serializers/replication-mode.js | 5 +++++ ui/app/serializers/role-aws.js | 5 +++++ ui/app/serializers/role-ssh.js | 5 +++++ ui/app/serializers/role.js | 5 +++++ ui/app/serializers/secret-engine.js | 5 +++++ ui/app/serializers/secret-v2-version.js | 5 +++++ ui/app/serializers/secret-v2.js | 5 +++++ ui/app/serializers/secret.js | 5 +++++ ui/app/serializers/server.js | 5 +++++ ui/app/serializers/ssh.js | 5 +++++ ui/app/serializers/transform.js | 5 +++++ ui/app/serializers/transform/alphabet.js | 5 +++++ ui/app/serializers/transform/role.js | 5 +++++ ui/app/serializers/transform/template.js | 5 +++++ ui/app/serializers/transit-key.js | 5 +++++ ui/app/services/auth.js | 5 +++++ ui/app/services/console.js | 5 +++++ ui/app/services/control-group.js | 5 +++++ ui/app/services/csp-event.js | 5 +++++ ui/app/services/current-cluster.js | 5 +++++ ui/app/services/download.ts | 5 +++++ ui/app/services/feature-flag.js | 5 +++++ ui/app/services/flash-messages.ts | 5 +++++ ui/app/services/namespace.js | 5 +++++ ui/app/services/path-help.js | 5 +++++ ui/app/services/permissions.js | 5 +++++ ui/app/services/replication-mode.js | 5 +++++ ui/app/services/secret-mount-path.js | 5 +++++ ui/app/services/store.js | 5 +++++ ui/app/services/version.js | 5 +++++ ui/app/services/wizard.js | 5 +++++ ui/app/styles/app.scss | 5 +++++ ui/app/styles/components/action-block.scss | 5 +++++ ui/app/styles/components/auth-buttons.scss | 5 +++++ ui/app/styles/components/auth-form.scss | 5 +++++ ui/app/styles/components/b64-toggle.scss | 5 +++++ ui/app/styles/components/box-label.scss | 5 +++++ ui/app/styles/components/box-radio.scss | 5 +++++ ui/app/styles/components/calendar-widget.scss | 5 +++++ ui/app/styles/components/codemirror.scss | 5 +++++ ui/app/styles/components/confirm.scss | 5 +++++ ui/app/styles/components/console-ui-panel.scss | 5 +++++ ui/app/styles/components/control-group.scss | 5 +++++ ui/app/styles/components/diff-version-selector.scss | 5 +++++ ui/app/styles/components/doc-link.scss | 5 +++++ ui/app/styles/components/empty-state.scss | 5 +++++ ui/app/styles/components/env-banner.scss | 5 +++++ ui/app/styles/components/features-selection.scss | 5 +++++ ui/app/styles/components/form-section.scss | 5 +++++ ui/app/styles/components/global-flash.scss | 5 +++++ ui/app/styles/components/hover-copy-button.scss | 5 +++++ ui/app/styles/components/icon.scss | 5 +++++ ui/app/styles/components/info-table-row.scss | 5 +++++ ui/app/styles/components/info-table.scss | 5 +++++ ui/app/styles/components/init-illustration.scss | 5 +++++ ui/app/styles/components/input-hint.scss | 5 +++++ ui/app/styles/components/kmip-role-edit.scss | 5 +++++ ui/app/styles/components/known-secondaries-card.scss | 5 +++++ ui/app/styles/components/license-banners.scss | 5 +++++ ui/app/styles/components/linkable-item.scss | 5 +++++ ui/app/styles/components/linked-block.scss | 5 +++++ ui/app/styles/components/list-item-row.scss | 5 +++++ ui/app/styles/components/list-pagination.scss | 5 +++++ ui/app/styles/components/loader.scss | 5 +++++ ui/app/styles/components/login-form.scss | 5 +++++ ui/app/styles/components/masked-input.scss | 5 +++++ ui/app/styles/components/modal.scss | 5 +++++ ui/app/styles/components/namespace-picker.scss | 5 +++++ ui/app/styles/components/namespace-reminder.scss | 5 +++++ ui/app/styles/components/navigate-input.scss | 5 +++++ ui/app/styles/components/page-header.scss | 5 +++++ ui/app/styles/components/popup-menu.scss | 5 +++++ ui/app/styles/components/radial-progress.scss | 5 +++++ ui/app/styles/components/radio-card.scss | 5 +++++ ui/app/styles/components/raft-join.scss | 5 +++++ ui/app/styles/components/read-more.scss | 5 +++++ ui/app/styles/components/regex-validator.scss | 5 +++++ ui/app/styles/components/replication-dashboard.scss | 5 +++++ ui/app/styles/components/replication-header.scss | 5 +++++ ui/app/styles/components/replication-mode-summary.scss | 5 +++++ ui/app/styles/components/replication-page.scss | 5 +++++ ui/app/styles/components/replication-primary-card.scss | 5 +++++ ui/app/styles/components/replication-summary.scss | 5 +++++ ui/app/styles/components/role-item.scss | 5 +++++ ui/app/styles/components/search-select.scss | 5 +++++ ui/app/styles/components/selectable-card-container.scss | 5 +++++ ui/app/styles/components/selectable-card.scss | 5 +++++ ui/app/styles/components/shamir-modal-flow.scss | 5 +++++ ui/app/styles/components/shamir-progress.scss | 5 +++++ ui/app/styles/components/sidebar.scss | 5 +++++ ui/app/styles/components/splash-page.scss | 5 +++++ ui/app/styles/components/stat-text.scss | 5 +++++ ui/app/styles/components/status-menu.scss | 5 +++++ ui/app/styles/components/tabs.scss | 5 +++++ ui/app/styles/components/text-file.scss | 5 +++++ ui/app/styles/components/token-expire-warning.scss | 5 +++++ ui/app/styles/components/tool-tip.scss | 5 +++++ ui/app/styles/components/toolbar.scss | 5 +++++ ui/app/styles/components/transform-edit.scss | 5 +++++ ui/app/styles/components/transit-card.scss | 5 +++++ ui/app/styles/components/ttl-picker.scss | 5 +++++ ui/app/styles/components/ui-wizard.scss | 5 +++++ ui/app/styles/components/unseal-warning.scss | 5 +++++ ui/app/styles/components/vault-loading.scss | 5 +++++ ui/app/styles/components/vlt-radio.scss | 5 +++++ ui/app/styles/components/vlt-table.scss | 5 +++++ ui/app/styles/core.scss | 5 +++++ ui/app/styles/core/alert-banner.scss | 5 +++++ ui/app/styles/core/box.scss | 5 +++++ ui/app/styles/core/breadcrumb.scss | 5 +++++ ui/app/styles/core/bulma-radio-checkboxes.scss | 5 +++++ ui/app/styles/core/buttons.scss | 5 +++++ ui/app/styles/core/charts.scss | 5 +++++ ui/app/styles/core/footer.scss | 5 +++++ ui/app/styles/core/forms.scss | 5 +++++ ui/app/styles/core/generic.scss | 5 +++++ ui/app/styles/core/helpers.scss | 5 +++++ ui/app/styles/core/hero.scss | 5 +++++ ui/app/styles/core/layout.scss | 5 +++++ ui/app/styles/core/level.scss | 5 +++++ ui/app/styles/core/lists.scss | 5 +++++ ui/app/styles/core/menu.scss | 5 +++++ ui/app/styles/core/message.scss | 5 +++++ ui/app/styles/core/navbar.scss | 5 +++++ ui/app/styles/core/notification.scss | 5 +++++ ui/app/styles/core/progress.scss | 5 +++++ ui/app/styles/core/select.scss | 5 +++++ ui/app/styles/core/switch.scss | 5 +++++ ui/app/styles/core/tables.scss | 5 +++++ ui/app/styles/core/tags.scss | 5 +++++ ui/app/styles/core/title.scss | 5 +++++ ui/app/styles/core/toggle.scss | 5 +++++ ui/app/styles/utils/_bulma_variables.scss | 5 +++++ ui/app/styles/utils/_colors.scss | 5 +++++ ui/app/styles/utils/_spacing.scss | 5 +++++ ui/app/styles/utils/animations.scss | 5 +++++ ui/app/styles/utils/mixins.scss | 5 +++++ ui/app/transforms/array.js | 5 +++++ ui/app/transforms/object.js | 5 +++++ ui/app/utils/api-path.js | 5 +++++ ui/app/utils/chart-helpers.js | 5 +++++ ui/app/utils/clamp.js | 5 +++++ ui/app/utils/database-helpers.js | 5 +++++ ui/app/utils/error-message.js | 5 +++++ ui/app/utils/field-to-attrs.js | 5 +++++ ui/app/utils/identity-manager.js | 5 +++++ ui/app/utils/openapi-to-attrs.js | 5 +++++ ui/app/utils/parse-pki-cert-oids.js | 5 +++++ ui/app/utils/parse-pki-cert.js | 5 +++++ ui/app/utils/path-encoding-helpers.js | 5 +++++ ui/app/utils/remove-record.js | 5 +++++ ui/app/utils/trim-right.js | 5 +++++ ui/app/utils/validators.js | 5 +++++ .../component/files/__root__/__path__/__name__.js | 5 +++++ ui/blueprints/component/index.js | 5 +++++ ui/config/content-security-policy.js | 5 +++++ ui/config/deprecation-workflow.js | 5 +++++ ui/config/environment.js | 5 +++++ ui/config/targets.js | 5 +++++ ui/ember-cli-build.js | 5 +++++ ui/lib/.eslintrc.js | 5 +++++ ui/lib/core/addon/components/alert-banner.js | 5 +++++ ui/lib/core/addon/components/alert-inline.js | 5 +++++ ui/lib/core/addon/components/autocomplete-input.js | 5 +++++ ui/lib/core/addon/components/box-radio.js | 5 +++++ ui/lib/core/addon/components/checkbox-grid.ts | 5 +++++ ui/lib/core/addon/components/chevron.js | 5 +++++ ui/lib/core/addon/components/confirm-action.js | 5 +++++ ui/lib/core/addon/components/confirm.js | 5 +++++ ui/lib/core/addon/components/confirm/message.js | 5 +++++ ui/lib/core/addon/components/confirmation-modal.js | 5 +++++ ui/lib/core/addon/components/doc-link.js | 5 +++++ ui/lib/core/addon/components/download-button.js | 5 +++++ ui/lib/core/addon/components/edit-form.js | 5 +++++ ui/lib/core/addon/components/empty-state.js | 5 +++++ ui/lib/core/addon/components/external-link.js | 5 +++++ ui/lib/core/addon/components/field-group-show.js | 5 +++++ ui/lib/core/addon/components/form-error.js | 5 +++++ ui/lib/core/addon/components/form-field-groups-loop.js | 5 +++++ ui/lib/core/addon/components/form-field-groups.js | 5 +++++ ui/lib/core/addon/components/form-field-label.js | 5 +++++ ui/lib/core/addon/components/form-field.js | 5 +++++ ui/lib/core/addon/components/form-save-buttons.js | 5 +++++ ui/lib/core/addon/components/icon.js | 5 +++++ ui/lib/core/addon/components/info-table-item-array.js | 5 +++++ ui/lib/core/addon/components/info-table-row.js | 5 +++++ ui/lib/core/addon/components/info-table.js | 5 +++++ ui/lib/core/addon/components/info-tooltip.js | 5 +++++ ui/lib/core/addon/components/input-search.js | 5 +++++ ui/lib/core/addon/components/json-editor.js | 5 +++++ ui/lib/core/addon/components/key-value-header.js | 5 +++++ ui/lib/core/addon/components/kv-object-editor.js | 5 +++++ ui/lib/core/addon/components/layout-loading.js | 5 +++++ ui/lib/core/addon/components/linkable-item.js | 5 +++++ ui/lib/core/addon/components/linkable-item/content.js | 5 +++++ ui/lib/core/addon/components/linkable-item/menu.js | 5 +++++ ui/lib/core/addon/components/linked-block.js | 5 +++++ ui/lib/core/addon/components/list-item.js | 5 +++++ ui/lib/core/addon/components/list-item/content.js | 5 +++++ ui/lib/core/addon/components/list-item/popup-menu.js | 5 +++++ ui/lib/core/addon/components/list-pagination.js | 5 +++++ ui/lib/core/addon/components/list-view.js | 5 +++++ ui/lib/core/addon/components/masked-input.js | 5 +++++ ui/lib/core/addon/components/menu-loader.js | 5 +++++ ui/lib/core/addon/components/message-error.js | 5 +++++ ui/lib/core/addon/components/modal.js | 5 +++++ ui/lib/core/addon/components/namespace-reminder.js | 5 +++++ ui/lib/core/addon/components/navigate-input.js | 5 +++++ ui/lib/core/addon/components/object-list-input.js | 5 +++++ ui/lib/core/addon/components/page-header-level-left.js | 5 +++++ ui/lib/core/addon/components/page-header-level-right.js | 5 +++++ ui/lib/core/addon/components/page-header-top.js | 5 +++++ ui/lib/core/addon/components/page-header.js | 5 +++++ ui/lib/core/addon/components/page/breadcrumbs.js | 5 +++++ ui/lib/core/addon/components/popup-menu.js | 5 +++++ ui/lib/core/addon/components/read-more.js | 5 +++++ ui/lib/core/addon/components/readonly-form-field.js | 5 +++++ ui/lib/core/addon/components/replication-action-demote.js | 5 +++++ ui/lib/core/addon/components/replication-action-disable.js | 5 +++++ .../addon/components/replication-action-generate-token.js | 5 +++++ ui/lib/core/addon/components/replication-action-promote.js | 5 +++++ ui/lib/core/addon/components/replication-action-recover.js | 5 +++++ ui/lib/core/addon/components/replication-action-reindex.js | 5 +++++ .../addon/components/replication-action-update-primary.js | 5 +++++ ui/lib/core/addon/components/replication-actions-single.js | 5 +++++ ui/lib/core/addon/components/replication-actions.js | 5 +++++ ui/lib/core/addon/components/replication-dashboard.js | 5 +++++ ui/lib/core/addon/components/replication-header.js | 5 +++++ ui/lib/core/addon/components/replication-mode-summary.js | 5 +++++ ui/lib/core/addon/components/replication-page.js | 5 +++++ ui/lib/core/addon/components/replication-secondary-card.js | 5 +++++ ui/lib/core/addon/components/replication-summary-card.js | 5 +++++ ui/lib/core/addon/components/replication-table-rows.js | 5 +++++ ui/lib/core/addon/components/search-select-placeholder.js | 5 +++++ ui/lib/core/addon/components/search-select-with-modal.js | 5 +++++ ui/lib/core/addon/components/search-select.js | 5 +++++ ui/lib/core/addon/components/secret-list-header-tab.js | 5 +++++ ui/lib/core/addon/components/secret-list-header.js | 5 +++++ ui/lib/core/addon/components/select.js | 5 +++++ ui/lib/core/addon/components/shamir-flow.js | 5 +++++ ui/lib/core/addon/components/shamir-modal-flow.js | 5 +++++ ui/lib/core/addon/components/string-list.js | 5 +++++ ui/lib/core/addon/components/text-file.js | 5 +++++ ui/lib/core/addon/components/toggle-button.js | 5 +++++ ui/lib/core/addon/components/toggle.js | 5 +++++ ui/lib/core/addon/components/tool-tip.js | 5 +++++ ui/lib/core/addon/components/toolbar-actions.js | 5 +++++ ui/lib/core/addon/components/toolbar-filters.js | 5 +++++ ui/lib/core/addon/components/toolbar-link.js | 5 +++++ ui/lib/core/addon/components/toolbar.js | 5 +++++ ui/lib/core/addon/components/ttl-picker.js | 5 +++++ ui/lib/core/addon/components/upgrade-page.js | 5 +++++ ui/lib/core/addon/components/vault-logo-spinner.js | 5 +++++ ui/lib/core/addon/decorators/confirm-leave.js | 5 +++++ ui/lib/core/addon/helpers/changelog-url-for.js | 5 +++++ ui/lib/core/addon/helpers/cluster-states.js | 5 +++++ ui/lib/core/addon/helpers/date-format.js | 5 +++++ ui/lib/core/addon/helpers/format-duration.js | 5 +++++ ui/lib/core/addon/helpers/format-number.js | 5 +++++ ui/lib/core/addon/helpers/has-feature.js | 5 +++++ ui/lib/core/addon/helpers/img-path.js | 5 +++++ ui/lib/core/addon/helpers/is-active-route.js | 5 +++++ ui/lib/core/addon/helpers/is-version.js | 5 +++++ ui/lib/core/addon/helpers/message-types.js | 5 +++++ ui/lib/core/addon/helpers/options-for-backend.js | 5 +++++ ui/lib/core/addon/helpers/path-or-array.js | 5 +++++ ui/lib/core/addon/helpers/replication-action-for-mode.js | 5 +++++ ui/lib/core/addon/helpers/replication-mode-description.js | 5 +++++ ui/lib/core/addon/helpers/set-flash-message.js | 5 +++++ ui/lib/core/addon/mixins/list-controller.js | 5 +++++ ui/lib/core/addon/mixins/list-route.js | 5 +++++ ui/lib/core/addon/mixins/replication-actions.js | 5 +++++ ui/lib/core/addon/modifiers/code-mirror.js | 5 +++++ ui/lib/core/addon/utils/b64.js | 5 +++++ ui/lib/core/addon/utils/client-count-utils.js | 5 +++++ ui/lib/core/addon/utils/common-prefix.js | 5 +++++ ui/lib/core/addon/utils/date-formatters.js | 5 +++++ ui/lib/core/addon/utils/duration-utils.ts | 5 +++++ ui/lib/core/addon/utils/parse-url.js | 5 +++++ ui/lib/core/addon/utils/search-select-has-many.js | 5 +++++ ui/lib/core/app/components/alert-banner.js | 5 +++++ ui/lib/core/app/components/alert-inline.js | 5 +++++ ui/lib/core/app/components/autocomplete-input.js | 5 +++++ ui/lib/core/app/components/box-radio.js | 5 +++++ ui/lib/core/app/components/checkbox-grid.js | 5 +++++ ui/lib/core/app/components/chevron.js | 5 +++++ ui/lib/core/app/components/confirm-action.js | 5 +++++ ui/lib/core/app/components/confirm.js | 5 +++++ ui/lib/core/app/components/confirm/message.js | 5 +++++ ui/lib/core/app/components/confirmation-modal.js | 5 +++++ ui/lib/core/app/components/doc-link.js | 5 +++++ ui/lib/core/app/components/download-button.js | 5 +++++ ui/lib/core/app/components/edit-form.js | 5 +++++ ui/lib/core/app/components/empty-state.js | 5 +++++ ui/lib/core/app/components/external-link.js | 5 +++++ ui/lib/core/app/components/field-group-show.js | 5 +++++ ui/lib/core/app/components/form-error.js | 5 +++++ ui/lib/core/app/components/form-field-groups-loop.js | 5 +++++ ui/lib/core/app/components/form-field-groups.js | 5 +++++ ui/lib/core/app/components/form-field-label.js | 5 +++++ ui/lib/core/app/components/form-field.js | 5 +++++ ui/lib/core/app/components/form-save-buttons.js | 5 +++++ ui/lib/core/app/components/icon.js | 5 +++++ ui/lib/core/app/components/info-table-item-array.js | 5 +++++ ui/lib/core/app/components/info-table-row.js | 5 +++++ ui/lib/core/app/components/info-table.js | 5 +++++ ui/lib/core/app/components/info-tooltip.js | 5 +++++ ui/lib/core/app/components/input-search.js | 5 +++++ ui/lib/core/app/components/json-editor.js | 5 +++++ ui/lib/core/app/components/key-value-header.js | 5 +++++ ui/lib/core/app/components/kv-object-editor.js | 5 +++++ ui/lib/core/app/components/layout-loading.js | 5 +++++ ui/lib/core/app/components/linkable-item.js | 5 +++++ ui/lib/core/app/components/linkable-item/content.js | 5 +++++ ui/lib/core/app/components/linkable-item/menu.js | 5 +++++ ui/lib/core/app/components/linked-block.js | 5 +++++ ui/lib/core/app/components/list-item.js | 5 +++++ ui/lib/core/app/components/list-item/content.js | 5 +++++ ui/lib/core/app/components/list-item/popup-menu.js | 5 +++++ ui/lib/core/app/components/list-pagination.js | 5 +++++ ui/lib/core/app/components/list-view.js | 5 +++++ ui/lib/core/app/components/masked-input.js | 5 +++++ ui/lib/core/app/components/menu-loader.js | 5 +++++ ui/lib/core/app/components/message-error.js | 5 +++++ ui/lib/core/app/components/modal.js | 5 +++++ ui/lib/core/app/components/namespace-reminder.js | 5 +++++ ui/lib/core/app/components/navigate-input.js | 5 +++++ ui/lib/core/app/components/object-list-input.js | 5 +++++ ui/lib/core/app/components/overview-card.js | 5 +++++ ui/lib/core/app/components/page-header-level-left.js | 5 +++++ ui/lib/core/app/components/page-header-level-right.js | 5 +++++ ui/lib/core/app/components/page-header-top.js | 5 +++++ ui/lib/core/app/components/page-header.js | 5 +++++ ui/lib/core/app/components/page/breadcrumbs.js | 5 +++++ ui/lib/core/app/components/page/error.js | 5 +++++ ui/lib/core/app/components/popup-menu.js | 5 +++++ ui/lib/core/app/components/radio-button.js | 5 +++++ ui/lib/core/app/components/radio-card.js | 5 +++++ ui/lib/core/app/components/read-more.js | 5 +++++ ui/lib/core/app/components/readonly-form-field.js | 5 +++++ ui/lib/core/app/components/replication-action-demote.js | 5 +++++ ui/lib/core/app/components/replication-action-disable.js | 5 +++++ .../app/components/replication-action-generate-token.js | 5 +++++ ui/lib/core/app/components/replication-action-promote.js | 5 +++++ ui/lib/core/app/components/replication-action-recover.js | 5 +++++ ui/lib/core/app/components/replication-action-reindex.js | 5 +++++ .../app/components/replication-action-update-primary.js | 5 +++++ ui/lib/core/app/components/replication-actions-single.js | 5 +++++ ui/lib/core/app/components/replication-actions.js | 5 +++++ ui/lib/core/app/components/replication-dashboard.js | 5 +++++ ui/lib/core/app/components/replication-header.js | 5 +++++ ui/lib/core/app/components/replication-mode-summary.js | 5 +++++ ui/lib/core/app/components/replication-page.js | 5 +++++ ui/lib/core/app/components/replication-secondary-card.js | 5 +++++ ui/lib/core/app/components/replication-summary-card.js | 5 +++++ ui/lib/core/app/components/replication-table-rows.js | 5 +++++ ui/lib/core/app/components/search-select-placeholder.js | 5 +++++ ui/lib/core/app/components/search-select-with-modal.js | 5 +++++ ui/lib/core/app/components/search-select.js | 5 +++++ ui/lib/core/app/components/secret-list-header-tab.js | 5 +++++ ui/lib/core/app/components/secret-list-header.js | 5 +++++ ui/lib/core/app/components/select.js | 5 +++++ ui/lib/core/app/components/shamir-flow.js | 5 +++++ ui/lib/core/app/components/shamir-modal-flow.js | 5 +++++ ui/lib/core/app/components/stat-text.js | 5 +++++ ui/lib/core/app/components/string-list.js | 5 +++++ ui/lib/core/app/components/text-file.js | 5 +++++ ui/lib/core/app/components/toggle-button.js | 5 +++++ ui/lib/core/app/components/toggle.js | 5 +++++ ui/lib/core/app/components/tool-tip.js | 5 +++++ ui/lib/core/app/components/toolbar-actions.js | 5 +++++ ui/lib/core/app/components/toolbar-filters.js | 5 +++++ ui/lib/core/app/components/toolbar-link.js | 5 +++++ ui/lib/core/app/components/toolbar.js | 5 +++++ ui/lib/core/app/components/ttl-picker.js | 5 +++++ ui/lib/core/app/components/upgrade-page.js | 5 +++++ ui/lib/core/app/components/vault-logo-spinner.js | 5 +++++ ui/lib/core/app/decorators/confirm-leave.js | 5 +++++ ui/lib/core/app/helpers/changelog-url-for.js | 5 +++++ ui/lib/core/app/helpers/cluster-states.js | 5 +++++ ui/lib/core/app/helpers/date-format.js | 5 +++++ ui/lib/core/app/helpers/format-duration.js | 5 +++++ ui/lib/core/app/helpers/format-number.js | 5 +++++ ui/lib/core/app/helpers/has-feature.js | 5 +++++ ui/lib/core/app/helpers/img-path.js | 5 +++++ ui/lib/core/app/helpers/is-active-route.js | 5 +++++ ui/lib/core/app/helpers/is-version.js | 5 +++++ ui/lib/core/app/helpers/message-types.js | 5 +++++ ui/lib/core/app/helpers/options-for-backend.js | 5 +++++ ui/lib/core/app/helpers/path-or-array.js | 5 +++++ ui/lib/core/app/helpers/replication-action-for-mode.js | 5 +++++ ui/lib/core/app/helpers/replication-mode-description.js | 5 +++++ ui/lib/core/app/helpers/set-flash-message.js | 5 +++++ ui/lib/core/app/mixins/list-controller.js | 5 +++++ ui/lib/core/app/mixins/list-route.js | 5 +++++ ui/lib/core/app/mixins/replication-actions.js | 5 +++++ ui/lib/core/app/modifiers/code-mirror.js | 5 +++++ ui/lib/core/app/utils/b64.js | 5 +++++ ui/lib/core/icon-mappings.js | 5 +++++ ui/lib/core/index.js | 5 +++++ ui/lib/css/index.js | 5 +++++ ui/lib/keep-gitkeep/index.js | 5 +++++ ui/lib/kmip/addon/components/edit-form-kmip-role.js | 5 +++++ ui/lib/kmip/addon/components/header-scope.js | 5 +++++ ui/lib/kmip/addon/components/kmip-breadcrumb.js | 5 +++++ ui/lib/kmip/addon/components/operation-field-display.js | 5 +++++ ui/lib/kmip/addon/controllers/credentials/index.js | 5 +++++ ui/lib/kmip/addon/controllers/credentials/show.js | 5 +++++ ui/lib/kmip/addon/controllers/role.js | 5 +++++ ui/lib/kmip/addon/controllers/scope/roles.js | 5 +++++ ui/lib/kmip/addon/controllers/scopes/index.js | 5 +++++ ui/lib/kmip/addon/engine.js | 5 +++++ ui/lib/kmip/addon/resolver.js | 5 +++++ ui/lib/kmip/addon/routes.js | 5 +++++ ui/lib/kmip/addon/routes/configuration.js | 5 +++++ ui/lib/kmip/addon/routes/configure.js | 5 +++++ ui/lib/kmip/addon/routes/credentials/generate.js | 5 +++++ ui/lib/kmip/addon/routes/credentials/index.js | 5 +++++ ui/lib/kmip/addon/routes/credentials/show.js | 5 +++++ ui/lib/kmip/addon/routes/role.js | 5 +++++ ui/lib/kmip/addon/routes/role/edit.js | 5 +++++ ui/lib/kmip/addon/routes/scope/roles.js | 5 +++++ ui/lib/kmip/addon/routes/scope/roles/create.js | 5 +++++ ui/lib/kmip/addon/routes/scopes/create.js | 5 +++++ ui/lib/kmip/addon/routes/scopes/index.js | 5 +++++ ui/lib/kmip/config/environment.js | 5 +++++ ui/lib/kmip/index.js | 5 +++++ ui/lib/kubernetes/addon/components/page/configure.js | 5 +++++ ui/lib/kubernetes/addon/components/page/credentials.js | 5 +++++ ui/lib/kubernetes/addon/components/page/overview.js | 5 +++++ .../addon/components/page/role/create-and-edit.js | 5 +++++ ui/lib/kubernetes/addon/components/page/role/details.js | 5 +++++ ui/lib/kubernetes/addon/components/page/roles.js | 5 +++++ ui/lib/kubernetes/addon/controllers/roles/index.js | 5 +++++ ui/lib/kubernetes/addon/decorators/fetch-config.js | 5 +++++ ui/lib/kubernetes/addon/engine.js | 5 +++++ ui/lib/kubernetes/addon/routes.js | 5 +++++ ui/lib/kubernetes/addon/routes/configuration.js | 5 +++++ ui/lib/kubernetes/addon/routes/configure.js | 5 +++++ ui/lib/kubernetes/addon/routes/error.js | 5 +++++ ui/lib/kubernetes/addon/routes/index.js | 5 +++++ ui/lib/kubernetes/addon/routes/overview.js | 5 +++++ ui/lib/kubernetes/addon/routes/roles/create.js | 5 +++++ ui/lib/kubernetes/addon/routes/roles/index.js | 5 +++++ ui/lib/kubernetes/addon/routes/roles/role/credentials.js | 5 +++++ ui/lib/kubernetes/addon/routes/roles/role/details.js | 5 +++++ ui/lib/kubernetes/addon/routes/roles/role/edit.js | 5 +++++ ui/lib/kubernetes/addon/routes/roles/role/index.js | 5 +++++ ui/lib/kubernetes/addon/utils/generated-role-rules.js | 5 +++++ ui/lib/kubernetes/config/environment.js | 5 +++++ ui/lib/kubernetes/index.js | 5 +++++ ui/lib/open-api-explorer/addon/components/swagger-ui.js | 5 +++++ ui/lib/open-api-explorer/addon/controllers/index.js | 5 +++++ ui/lib/open-api-explorer/addon/engine.js | 5 +++++ ui/lib/open-api-explorer/addon/resolver.js | 5 +++++ ui/lib/open-api-explorer/addon/routes.js | 5 +++++ ui/lib/open-api-explorer/addon/routes/index.js | 5 +++++ ui/lib/open-api-explorer/addon/styles/addon.css | 5 +++++ ui/lib/open-api-explorer/config/environment.js | 5 +++++ ui/lib/open-api-explorer/index.js | 5 +++++ .../pki/addon/components/page/pki-certificate-details.ts | 5 +++++ ui/lib/pki/addon/components/page/pki-issuer-edit.ts | 5 +++++ ui/lib/pki/addon/components/page/pki-key-details.ts | 5 +++++ ui/lib/pki/addon/components/page/pki-overview.ts | 5 +++++ ui/lib/pki/addon/components/page/pki-role-details.ts | 5 +++++ ui/lib/pki/addon/components/pki-configure-form.ts | 5 +++++ ui/lib/pki/addon/components/pki-generate-csr.ts | 5 +++++ ui/lib/pki/addon/components/pki-generate-root.js | 5 +++++ ui/lib/pki/addon/components/pki-generate-toggle-groups.ts | 5 +++++ ui/lib/pki/addon/components/pki-import-pem-bundle.ts | 5 +++++ ui/lib/pki/addon/components/pki-issuer-cross-sign.js | 5 +++++ ui/lib/pki/addon/components/pki-key-form.js | 5 +++++ ui/lib/pki/addon/components/pki-key-import.js | 5 +++++ ui/lib/pki/addon/components/pki-key-parameters.js | 5 +++++ ui/lib/pki/addon/components/pki-key-usage.ts | 5 +++++ ui/lib/pki/addon/components/pki-not-valid-after-form.ts | 5 +++++ ui/lib/pki/addon/components/pki-role-form.js | 5 +++++ ui/lib/pki/addon/components/pki-role-generate.ts | 5 +++++ ui/lib/pki/addon/components/pki-sign-intermediate-form.ts | 5 +++++ ui/lib/pki/addon/controllers/certificates/index.js | 5 +++++ ui/lib/pki/addon/controllers/issuers/index.js | 5 +++++ ui/lib/pki/addon/controllers/keys/index.js | 5 +++++ ui/lib/pki/addon/controllers/roles/index.js | 5 +++++ ui/lib/pki/addon/controllers/roles/role/generate.js | 5 +++++ ui/lib/pki/addon/controllers/roles/role/sign.js | 5 +++++ ui/lib/pki/addon/decorators/check-config.js | 5 +++++ ui/lib/pki/addon/engine.js | 5 +++++ ui/lib/pki/addon/routes.js | 5 +++++ ui/lib/pki/addon/routes/application.js | 5 +++++ .../pki/addon/routes/certificates/certificate/details.js | 5 +++++ ui/lib/pki/addon/routes/certificates/index.js | 5 +++++ ui/lib/pki/addon/routes/configuration.js | 5 +++++ ui/lib/pki/addon/routes/configuration/create.js | 5 +++++ ui/lib/pki/addon/routes/configuration/edit.js | 5 +++++ ui/lib/pki/addon/routes/configuration/index.js | 5 +++++ ui/lib/pki/addon/routes/configuration/tidy.js | 5 +++++ ui/lib/pki/addon/routes/error.js | 5 +++++ ui/lib/pki/addon/routes/index.js | 5 +++++ ui/lib/pki/addon/routes/issuers/generate-intermediate.js | 5 +++++ ui/lib/pki/addon/routes/issuers/generate-root.js | 5 +++++ ui/lib/pki/addon/routes/issuers/import.js | 5 +++++ ui/lib/pki/addon/routes/issuers/index.js | 5 +++++ ui/lib/pki/addon/routes/issuers/issuer/cross-sign.js | 5 +++++ ui/lib/pki/addon/routes/issuers/issuer/details.js | 5 +++++ ui/lib/pki/addon/routes/issuers/issuer/edit.js | 5 +++++ ui/lib/pki/addon/routes/issuers/issuer/index.js | 5 +++++ ui/lib/pki/addon/routes/issuers/issuer/sign.js | 5 +++++ ui/lib/pki/addon/routes/keys/create.js | 5 +++++ ui/lib/pki/addon/routes/keys/import.js | 5 +++++ ui/lib/pki/addon/routes/keys/index.js | 5 +++++ ui/lib/pki/addon/routes/keys/key.js | 5 +++++ ui/lib/pki/addon/routes/keys/key/details.js | 5 +++++ ui/lib/pki/addon/routes/keys/key/edit.js | 5 +++++ ui/lib/pki/addon/routes/overview.js | 5 +++++ ui/lib/pki/addon/routes/roles/create.js | 5 +++++ ui/lib/pki/addon/routes/roles/index.js | 5 +++++ ui/lib/pki/addon/routes/roles/role/details.js | 5 +++++ ui/lib/pki/addon/routes/roles/role/edit.js | 5 +++++ ui/lib/pki/addon/routes/roles/role/generate.js | 5 +++++ ui/lib/pki/addon/routes/roles/role/sign.js | 5 +++++ ui/lib/pki/addon/utils/action-params.js | 5 +++++ ui/lib/pki/app/utils/action-params.js | 5 +++++ ui/lib/pki/config/environment.js | 5 +++++ ui/lib/pki/index.js | 5 +++++ ui/lib/replication/addon/.eslintrc.js | 5 +++++ .../replication/addon/components/known-secondaries-card.js | 5 +++++ .../addon/components/known-secondaries-table.js | 5 +++++ .../addon/components/path-filter-config-list.js | 5 +++++ .../addon/components/replication-primary-card.js | 5 +++++ ui/lib/replication/addon/components/replication-summary.js | 5 +++++ ui/lib/replication/addon/controllers/application.js | 5 +++++ ui/lib/replication/addon/controllers/index.js | 5 +++++ ui/lib/replication/addon/controllers/mode.js | 5 +++++ ui/lib/replication/addon/controllers/mode/index.js | 5 +++++ ui/lib/replication/addon/controllers/mode/manage.js | 5 +++++ ui/lib/replication/addon/controllers/mode/secondaries.js | 5 +++++ .../replication/addon/controllers/mode/secondaries/add.js | 5 +++++ .../addon/controllers/mode/secondaries/config-create.js | 5 +++++ .../addon/controllers/mode/secondaries/config-edit.js | 5 +++++ .../addon/controllers/mode/secondaries/config-show.js | 5 +++++ .../addon/controllers/mode/secondaries/index.js | 5 +++++ .../addon/controllers/mode/secondaries/revoke.js | 5 +++++ ui/lib/replication/addon/controllers/replication-mode.js | 5 +++++ ui/lib/replication/addon/engine.js | 5 +++++ ui/lib/replication/addon/resolver.js | 5 +++++ ui/lib/replication/addon/routes.js | 5 +++++ ui/lib/replication/addon/routes/application.js | 5 +++++ ui/lib/replication/addon/routes/index.js | 5 +++++ ui/lib/replication/addon/routes/mode.js | 5 +++++ ui/lib/replication/addon/routes/mode/index.js | 5 +++++ ui/lib/replication/addon/routes/mode/manage.js | 5 +++++ ui/lib/replication/addon/routes/mode/secondaries.js | 5 +++++ ui/lib/replication/addon/routes/mode/secondaries/add.js | 5 +++++ .../addon/routes/mode/secondaries/config-create.js | 5 +++++ .../addon/routes/mode/secondaries/config-edit.js | 5 +++++ .../addon/routes/mode/secondaries/config-show.js | 5 +++++ ui/lib/replication/addon/routes/mode/secondaries/revoke.js | 5 +++++ ui/lib/replication/addon/routes/replication-base.js | 5 +++++ ui/lib/replication/addon/utils/decode-config-from-jwt.js | 5 +++++ ui/lib/replication/config/environment.js | 5 +++++ ui/lib/replication/index.js | 5 +++++ ui/lib/service-worker-authenticated-download/index.js | 5 +++++ .../service-worker-registration/index.js | 5 +++++ .../service-worker/index.js | 5 +++++ ui/mirage/config.js | 5 +++++ ui/mirage/factories/configuration.js | 5 +++++ ui/mirage/factories/feature.js | 5 +++++ ui/mirage/factories/kubernetes-config.js | 5 +++++ ui/mirage/factories/kubernetes-role.js | 5 +++++ ui/mirage/factories/mfa-duo-method.js | 5 +++++ ui/mirage/factories/mfa-login-enforcement.js | 5 +++++ ui/mirage/factories/mfa-method.js | 5 +++++ ui/mirage/factories/mfa-okta-method.js | 5 +++++ ui/mirage/factories/mfa-pingid-method.js | 5 +++++ ui/mirage/factories/mfa-totp-method.js | 5 +++++ ui/mirage/factories/secret-engine.js | 5 +++++ ui/mirage/factories/server.js | 5 +++++ ui/mirage/handlers/base.js | 5 +++++ ui/mirage/handlers/clients.js | 5 +++++ ui/mirage/handlers/db.js | 5 +++++ ui/mirage/handlers/hcp-link.js | 5 +++++ ui/mirage/handlers/index.js | 5 +++++ ui/mirage/handlers/kms.js | 5 +++++ ui/mirage/handlers/kubernetes.js | 5 +++++ ui/mirage/handlers/mfa-config.js | 5 +++++ ui/mirage/handlers/mfa-login.js | 5 +++++ ui/mirage/handlers/oidc-config.js | 5 +++++ ui/mirage/identity-managers/application.js | 5 +++++ ui/mirage/models/feature.js | 5 +++++ ui/mirage/scenarios/default.js | 5 +++++ ui/mirage/scenarios/kubernetes.js | 5 +++++ ui/mirage/serializers/application.js | 5 +++++ ui/scripts/codemods/dropdown-transform.js | 5 +++++ ui/scripts/codemods/icon-transform.js | 5 +++++ ui/scripts/codemods/inject-service.js | 5 +++++ ui/scripts/codemods/jscodeshift-babylon-parser.js | 5 +++++ ui/scripts/codemods/linkto-with-on-modifier.js | 5 +++++ ui/scripts/codemods/no-quoteless-attributes.js | 5 +++++ ui/scripts/codemods/transform-deprecated-args.js | 5 +++++ ui/scripts/enos-test-ember.js | 5 +++++ ui/scripts/gen-story-md.js | 5 +++++ ui/scripts/list-templates.js | 5 +++++ ui/scripts/start-vault.js | 5 +++++ ui/scripts/test-helper.js | 5 +++++ ui/testem.enos.js | 5 +++++ ui/testem.js | 5 +++++ ui/tests/.eslintrc.js | 5 +++++ ui/tests/acceptance/access/identity/_shared-alias-tests.js | 5 +++++ ui/tests/acceptance/access/identity/_shared-tests.js | 5 +++++ .../access/identity/entities/aliases/create-test.js | 5 +++++ .../acceptance/access/identity/entities/create-test.js | 5 +++++ ui/tests/acceptance/access/identity/entities/index-test.js | 5 +++++ .../access/identity/groups/aliases/create-test.js | 5 +++++ ui/tests/acceptance/access/identity/groups/create-test.js | 5 +++++ ui/tests/acceptance/access/methods-test.js | 5 +++++ ui/tests/acceptance/access/namespaces/index-test.js | 5 +++++ ui/tests/acceptance/api-explorer/index-test.js | 5 +++++ ui/tests/acceptance/auth-list-test.js | 5 +++++ ui/tests/acceptance/auth-test.js | 5 +++++ ui/tests/acceptance/aws-test.js | 5 +++++ ui/tests/acceptance/client-dashboard-test.js | 5 +++++ ui/tests/acceptance/cluster-test.js | 5 +++++ ui/tests/acceptance/console-test.js | 5 +++++ ui/tests/acceptance/enterprise-control-groups-test.js | 5 +++++ ui/tests/acceptance/enterprise-kmip-test.js | 5 +++++ ui/tests/acceptance/enterprise-kmse-test.js | 5 +++++ ui/tests/acceptance/enterprise-license-banner-test.js | 5 +++++ ui/tests/acceptance/enterprise-namespaces-test.js | 5 +++++ ui/tests/acceptance/enterprise-replication-test.js | 5 +++++ ui/tests/acceptance/enterprise-transform-test.js | 5 +++++ ui/tests/acceptance/init-test.js | 5 +++++ ui/tests/acceptance/jwt-auth-method-test.js | 5 +++++ ui/tests/acceptance/leases-test.js | 5 +++++ ui/tests/acceptance/managed-namespace-test.js | 5 +++++ ui/tests/acceptance/mfa-login-enforcement-test.js | 5 +++++ ui/tests/acceptance/mfa-login-test.js | 5 +++++ ui/tests/acceptance/mfa-method-test.js | 5 +++++ ui/tests/acceptance/mfa-setup-test.js | 5 +++++ ui/tests/acceptance/not-found-test.js | 5 +++++ ui/tests/acceptance/oidc-auth-method-test.js | 5 +++++ .../acceptance/oidc-config/clients-assignments-test.js | 5 +++++ ui/tests/acceptance/oidc-config/clients-keys-test.js | 5 +++++ ui/tests/acceptance/oidc-config/providers-scopes-test.js | 5 +++++ ui/tests/acceptance/oidc-provider-test.js | 5 +++++ ui/tests/acceptance/pki-engine-route-cleanupt-test.js | 5 +++++ ui/tests/acceptance/pki/pki-engine-workflow-test.js | 5 +++++ ui/tests/acceptance/pki/pki-overview-test.js | 5 +++++ ui/tests/acceptance/policies-acl-old-test.js | 5 +++++ ui/tests/acceptance/policies-test.js | 5 +++++ ui/tests/acceptance/policies/index-test.js | 5 +++++ ui/tests/acceptance/policy-test.js | 5 +++++ ui/tests/acceptance/policy/edit-test.js | 5 +++++ ui/tests/acceptance/policy/show-test.js | 5 +++++ ui/tests/acceptance/raft-storage-test.js | 5 +++++ ui/tests/acceptance/redirect-to-test.js | 5 +++++ .../acceptance/secrets/backend/alicloud/secret-test.js | 5 +++++ .../acceptance/secrets/backend/cubbyhole/secret-test.js | 5 +++++ .../acceptance/secrets/backend/database/secret-test.js | 5 +++++ ui/tests/acceptance/secrets/backend/engines-test.js | 5 +++++ ui/tests/acceptance/secrets/backend/gcpkms/secrets-test.js | 5 +++++ ui/tests/acceptance/secrets/backend/generic/secret-test.js | 5 +++++ .../secrets/backend/kubernetes/configuration-test.js | 5 +++++ .../secrets/backend/kubernetes/credentials-test.js | 5 +++++ .../acceptance/secrets/backend/kubernetes/overview-test.js | 5 +++++ .../acceptance/secrets/backend/kubernetes/roles-test.js | 5 +++++ ui/tests/acceptance/secrets/backend/kv/diff-test.js | 5 +++++ ui/tests/acceptance/secrets/backend/kv/secret-test.js | 5 +++++ ui/tests/acceptance/secrets/backend/pki/cert-test.js | 5 +++++ ui/tests/acceptance/secrets/backend/pki/list-test.js | 5 +++++ ui/tests/acceptance/secrets/backend/pki/role-test.js | 5 +++++ ui/tests/acceptance/secrets/backend/ssh/role-test.js | 5 +++++ ui/tests/acceptance/settings-test.js | 5 +++++ ui/tests/acceptance/settings/auth/configure/index-test.js | 5 +++++ .../acceptance/settings/auth/configure/section-test.js | 5 +++++ ui/tests/acceptance/settings/auth/enable-test.js | 5 +++++ .../configure-secret-backends/configure-ssh-secret-test.js | 5 +++++ .../settings/configure-secret-backends/pki/index-test.js | 5 +++++ .../configure-secret-backends/pki/section-cert-test.js | 5 +++++ .../configure-secret-backends/pki/section-crl-test.js | 5 +++++ .../configure-secret-backends/pki/section-tidy-test.js | 5 +++++ .../configure-secret-backends/pki/section-urls-test.js | 5 +++++ ui/tests/acceptance/settings/mount-secret-backend-test.js | 5 +++++ ui/tests/acceptance/ssh-test.js | 5 +++++ ui/tests/acceptance/tools-test.js | 5 +++++ ui/tests/acceptance/transit-test.js | 5 +++++ ui/tests/acceptance/unseal-test.js | 5 +++++ ui/tests/acceptance/wrapped-token-test.js | 5 +++++ ui/tests/helpers/clients.js | 5 +++++ ui/tests/helpers/codemirror.js | 5 +++++ ui/tests/helpers/components/ttl-picker.js | 5 +++++ ui/tests/helpers/flash-message.js | 5 +++++ ui/tests/helpers/index.js | 5 +++++ ui/tests/helpers/kubernetes/overview.js | 5 +++++ ui/tests/helpers/mirage-to-models.js | 5 +++++ ui/tests/helpers/noop-all-api-requests.js | 5 +++++ ui/tests/helpers/oidc-config.js | 5 +++++ ui/tests/helpers/oidc-window-stub.js | 5 +++++ ui/tests/helpers/pki.js | 5 +++++ ui/tests/helpers/pki/overview.js | 5 +++++ ui/tests/helpers/pki/page/pki-keys.js | 5 +++++ ui/tests/helpers/pki/page/pki-role-details.js | 5 +++++ ui/tests/helpers/pki/pki-configure-form.js | 5 +++++ ui/tests/helpers/pki/pki-generate-root.js | 5 +++++ ui/tests/helpers/pki/pki-issuer-details.js | 5 +++++ ui/tests/helpers/pki/pki-key-form.js | 5 +++++ ui/tests/helpers/pki/pki-not-valid-after-form.js | 5 +++++ ui/tests/helpers/pki/pki-role-form.js | 5 +++++ ui/tests/helpers/pki/pki-role-generate.js | 5 +++++ ui/tests/helpers/pki/pki-run-commands.js | 5 +++++ ui/tests/helpers/pki/values.js | 5 +++++ ui/tests/helpers/pki/workflow.js | 5 +++++ ui/tests/helpers/policy-generator/pki.js | 5 +++++ ui/tests/helpers/poll-cluster.js | 5 +++++ ui/tests/helpers/stubs.js | 5 +++++ ui/tests/helpers/wait-for-error.js | 5 +++++ ui/tests/index.html | 5 +++++ ui/tests/integration/components/alert-inline-test.js | 5 +++++ .../components/auth-config-form/options-test.js | 5 +++++ ui/tests/integration/components/auth-form-test.js | 5 +++++ ui/tests/integration/components/auth-jwt-test.js | 5 +++++ ui/tests/integration/components/autocomplete-input-test.js | 5 +++++ ui/tests/integration/components/b64-toggle-test.js | 5 +++++ ui/tests/integration/components/box-radio-test.js | 5 +++++ ui/tests/integration/components/calendar-widget-test.js | 5 +++++ ui/tests/integration/components/checkbox-grid-test.js | 5 +++++ ui/tests/integration/components/chevron-test.js | 5 +++++ .../integration/components/clients/attribution-test.js | 5 +++++ ui/tests/integration/components/clients/config-test.js | 5 +++++ .../components/clients/horizontal-bar-chart-test.js | 5 +++++ ui/tests/integration/components/clients/line-chart-test.js | 5 +++++ .../integration/components/clients/monthly-usage-test.js | 5 +++++ .../integration/components/clients/running-total-test.js | 5 +++++ .../integration/components/clients/usage-stats-test.js | 5 +++++ .../components/clients/vertical-bar-chart-test.js | 5 +++++ ui/tests/integration/components/confirm-action-test.js | 5 +++++ ui/tests/integration/components/confirm-test.js | 5 +++++ ui/tests/integration/components/confirmation-modal-test.js | 5 +++++ .../integration/components/console/log-command-test.js | 5 +++++ ui/tests/integration/components/console/log-error-test.js | 5 +++++ ui/tests/integration/components/console/log-json-test.js | 5 +++++ ui/tests/integration/components/console/log-list-test.js | 5 +++++ ui/tests/integration/components/console/log-object-test.js | 5 +++++ ui/tests/integration/components/console/log-text-test.js | 5 +++++ ui/tests/integration/components/console/ui-panel-test.js | 5 +++++ .../integration/components/control-group-success-test.js | 5 +++++ ui/tests/integration/components/control-group-test.js | 5 +++++ ui/tests/integration/components/database-role-edit-test.js | 5 +++++ .../components/database-role-setting-form-test.js | 5 +++++ ui/tests/integration/components/date-dropdown-test.js | 5 +++++ .../integration/components/diff-version-selector-test.js | 5 +++++ .../integration/components/edit-form-kmip-role-test.js | 5 +++++ ui/tests/integration/components/edit-form-test.js | 5 +++++ ui/tests/integration/components/empty-state-test.js | 5 +++++ ui/tests/integration/components/features-selection-test.js | 5 +++++ ui/tests/integration/components/form-error-test.js | 5 +++++ ui/tests/integration/components/form-field-label-test.js | 5 +++++ ui/tests/integration/components/form-field-test.js | 5 +++++ .../integration/components/get-credentials-card-test.js | 5 +++++ ui/tests/integration/components/hover-copy-button-test.js | 5 +++++ ui/tests/integration/components/icon-test.js | 5 +++++ .../integration/components/identity/item-details-test.js | 5 +++++ .../integration/components/info-table-item-array-test.js | 5 +++++ ui/tests/integration/components/info-table-row-test.js | 5 +++++ ui/tests/integration/components/info-table-test.js | 5 +++++ ui/tests/integration/components/json-editor-test.js | 5 +++++ ui/tests/integration/components/keymgmt/distribute-test.js | 5 +++++ ui/tests/integration/components/keymgmt/key-edit-test.js | 5 +++++ .../integration/components/keymgmt/provider-edit-test.js | 5 +++++ .../integration/components/known-secondaries-card-test.js | 5 +++++ .../integration/components/known-secondaries-table-test.js | 5 +++++ .../integration/components/kubernetes/config-cta-test.js | 5 +++++ .../components/kubernetes/page/configuration-test.js | 5 +++++ .../components/kubernetes/page/configure-test.js | 5 +++++ .../components/kubernetes/page/credentials-test.js | 5 +++++ .../components/kubernetes/page/overview-test.js | 5 +++++ .../kubernetes/page/role/create-and-edit-test.js | 5 +++++ .../components/kubernetes/page/role/details-test.js | 5 +++++ .../integration/components/kubernetes/page/roles-test.js | 5 +++++ .../components/kubernetes/tab-page-header-test.js | 5 +++++ ui/tests/integration/components/kv-object-editor-test.js | 5 +++++ ui/tests/integration/components/license-banners-test.js | 5 +++++ ui/tests/integration/components/license-info-test.js | 5 +++++ ui/tests/integration/components/link-status-test.js | 5 +++++ ui/tests/integration/components/linkable-item-test.js | 5 +++++ ui/tests/integration/components/masked-input-test.js | 5 +++++ ui/tests/integration/components/mfa-form-test.js | 5 +++++ .../components/mfa-login-enforcement-form-test.js | 5 +++++ .../components/mfa-login-enforcement-header-test.js | 5 +++++ .../integration/components/mfa-method-list-item-test.js | 5 +++++ ui/tests/integration/components/mfa/method-form-test.js | 5 +++++ ui/tests/integration/components/modal-test.js | 5 +++++ .../integration/components/mount-accessor-select-test.js | 5 +++++ ui/tests/integration/components/mount-backend-form-test.js | 5 +++++ .../integration/components/mount-backend/type-form-test.js | 5 +++++ ui/tests/integration/components/nav-header-test.js | 5 +++++ ui/tests/integration/components/object-list-input-test.js | 5 +++++ ui/tests/integration/components/oidc-consent-block-test.js | 5 +++++ .../integration/components/oidc/assignment-form-test.js | 5 +++++ ui/tests/integration/components/oidc/client-form-test.js | 5 +++++ ui/tests/integration/components/oidc/key-form-test.js | 5 +++++ ui/tests/integration/components/oidc/provider-form-test.js | 5 +++++ ui/tests/integration/components/oidc/scope-form-test.js | 5 +++++ .../integration/components/okta-number-challenge-test.js | 5 +++++ ui/tests/integration/components/overview-card-test.js | 5 +++++ ui/tests/integration/components/page/breadcrumbs-test.js | 5 +++++ ui/tests/integration/components/page/error-test.js | 5 +++++ .../integration/components/pagination-controls-test.js | 5 +++++ .../integration/components/path-filter-config-list-test.js | 5 +++++ ui/tests/integration/components/pgp-file-test.js | 5 +++++ ui/tests/integration/components/pgp-list-test.js | 5 +++++ ui/tests/integration/components/pki/config-pki-ca-test.js | 5 +++++ ui/tests/integration/components/pki/config-pki-test.js | 5 +++++ .../components/pki/page/pki-certificate-details-test.js | 5 +++++ .../components/pki/page/pki-issuer-edit-test.js | 5 +++++ .../components/pki/page/pki-key-details-test.js | 5 +++++ .../integration/components/pki/page/pki-key-list-test.js | 5 +++++ .../integration/components/pki/page/pki-overview-test.js | 5 +++++ .../components/pki/page/pki-role-details-test.js | 5 +++++ .../integration/components/pki/pki-configure-form-test.js | 5 +++++ .../integration/components/pki/pki-generate-csr-test.js | 5 +++++ .../integration/components/pki/pki-generate-root-test.js | 5 +++++ .../components/pki/pki-generate-toggle-groups-test.js | 5 +++++ .../components/pki/pki-import-pem-bundle-test.js | 5 +++++ .../components/pki/pki-issuer-cross-sign-test.js | 5 +++++ .../integration/components/pki/pki-issuer-details-test.js | 5 +++++ ui/tests/integration/components/pki/pki-key-form-test.js | 5 +++++ .../integration/components/pki/pki-key-parameters-test.js | 5 +++++ ui/tests/integration/components/pki/pki-key-usage-test.js | 5 +++++ .../components/pki/pki-not-valid-after-form-test.js | 5 +++++ ui/tests/integration/components/pki/pki-role-form-test.js | 5 +++++ .../integration/components/pki/pki-role-generate-test.js | 5 +++++ .../components/pki/pki-sign-intermediate-form-test.js | 5 +++++ ui/tests/integration/components/policy-form-test.js | 5 +++++ ui/tests/integration/components/radial-progress-test.js | 5 +++++ ui/tests/integration/components/radio-button-test.js | 5 +++++ ui/tests/integration/components/raft-join-test.js | 5 +++++ .../integration/components/raft-storage-overview-test.js | 5 +++++ .../integration/components/raft-storage-restore-test.js | 5 +++++ ui/tests/integration/components/read-more-test.js | 5 +++++ .../integration/components/readonly-form-field-test.js | 5 +++++ ui/tests/integration/components/regex-validator-test.js | 5 +++++ .../components/replication-action-generate-token-test.js | 5 +++++ .../integration/components/replication-actions-test.js | 5 +++++ .../integration/components/replication-dashboard-test.js | 5 +++++ ui/tests/integration/components/replication-header-test.js | 5 +++++ ui/tests/integration/components/replication-page-test.js | 5 +++++ .../components/replication-primary-card-test.js | 5 +++++ .../components/replication-secondary-card-test.js | 5 +++++ .../components/replication-summary-card-test.js | 5 +++++ .../integration/components/replication-table-rows-test.js | 5 +++++ ui/tests/integration/components/search-select-test.js | 5 +++++ .../components/search-select-with-modal-test.js | 5 +++++ ui/tests/integration/components/secret-edit-test.js | 5 +++++ ui/tests/integration/components/secret-list-header-test.js | 5 +++++ ui/tests/integration/components/select-test.js | 5 +++++ ui/tests/integration/components/selectable-card-test.js | 5 +++++ ui/tests/integration/components/shamir-flow-test.js | 5 +++++ ui/tests/integration/components/shamir-modal-flow-test.js | 5 +++++ ui/tests/integration/components/stat-text-test.js | 5 +++++ ui/tests/integration/components/string-list-test.js | 5 +++++ ui/tests/integration/components/text-file-test.js | 5 +++++ ui/tests/integration/components/toggle-button-test.js | 5 +++++ ui/tests/integration/components/toggle-test.js | 5 +++++ .../integration/components/token-expire-warning-test.js | 5 +++++ ui/tests/integration/components/tool-tip-test.js | 5 +++++ ui/tests/integration/components/toolbar-actions-test.js | 5 +++++ ui/tests/integration/components/toolbar-filters-test.js | 5 +++++ ui/tests/integration/components/toolbar-link-test.js | 5 +++++ ui/tests/integration/components/toolbar-test.js | 5 +++++ .../components/transform-advanced-templating-test.js | 5 +++++ .../integration/components/transform-edit-base-test.js | 5 +++++ .../integration/components/transform-list-item-test.js | 5 +++++ .../integration/components/transform-role-edit-test.js | 5 +++++ .../integration/components/transit-key-actions-test.js | 5 +++++ ui/tests/integration/components/ttl-picker-test.js | 5 +++++ ui/tests/integration/components/upgrade-page-test.js | 5 +++++ ui/tests/integration/components/wrap-ttl-test.js | 5 +++++ ui/tests/integration/helpers/add-to-array-test.js | 5 +++++ ui/tests/integration/helpers/changelog-url-for-test.js | 5 +++++ ui/tests/integration/helpers/date-format-test.js | 5 +++++ ui/tests/integration/helpers/date-from-now-test.js | 5 +++++ ui/tests/integration/helpers/format-duration-test.js | 5 +++++ ui/tests/integration/helpers/has-feature-test.js | 5 +++++ ui/tests/integration/helpers/has-permission-test.js | 5 +++++ ui/tests/integration/helpers/is-empty-value-test.js | 5 +++++ ui/tests/integration/helpers/remove-from-array-test.js | 5 +++++ ui/tests/integration/services/auth-test.js | 5 +++++ ui/tests/integration/utils/client-count-utils-test.js | 5 +++++ ui/tests/integration/utils/date-formatters-test.js | 5 +++++ ui/tests/integration/utils/field-to-attrs-test.js | 5 +++++ ui/tests/integration/utils/parse-pki-cert-test.js | 5 +++++ ui/tests/pages/access/identity/aliases/add.js | 5 +++++ ui/tests/pages/access/identity/aliases/index.js | 5 +++++ ui/tests/pages/access/identity/aliases/show.js | 5 +++++ ui/tests/pages/access/identity/create.js | 5 +++++ ui/tests/pages/access/identity/index.js | 5 +++++ ui/tests/pages/access/identity/show.js | 5 +++++ ui/tests/pages/access/methods.js | 5 +++++ ui/tests/pages/access/namespaces/index.js | 5 +++++ ui/tests/pages/auth.js | 5 +++++ ui/tests/pages/components/alert-banner.js | 5 +++++ ui/tests/pages/components/auth-config-form/options.js | 5 +++++ ui/tests/pages/components/auth-form.js | 5 +++++ ui/tests/pages/components/auth-jwt.js | 5 +++++ ui/tests/pages/components/calendar-widget.js | 5 +++++ ui/tests/pages/components/console/ui-panel.js | 5 +++++ ui/tests/pages/components/control-group-success.js | 5 +++++ ui/tests/pages/components/control-group.js | 5 +++++ ui/tests/pages/components/edit-form.js | 5 +++++ ui/tests/pages/components/flash-message.js | 5 +++++ ui/tests/pages/components/form-field.js | 5 +++++ ui/tests/pages/components/hover-copy-button.js | 5 +++++ ui/tests/pages/components/identity/edit-form.js | 5 +++++ ui/tests/pages/components/identity/item-details.js | 5 +++++ ui/tests/pages/components/info-table-row.js | 5 +++++ ui/tests/pages/components/json-editor.js | 5 +++++ ui/tests/pages/components/kv-object-editor.js | 5 +++++ ui/tests/pages/components/license-info.js | 5 +++++ ui/tests/pages/components/list-view.js | 5 +++++ ui/tests/pages/components/masked-input.js | 5 +++++ ui/tests/pages/components/mount-backend-form.js | 5 +++++ ui/tests/pages/components/nav-header.js | 5 +++++ ui/tests/pages/components/pki/config-pki-ca.js | 5 +++++ ui/tests/pages/components/pki/config-pki.js | 5 +++++ ui/tests/pages/components/radial-progress.js | 5 +++++ ui/tests/pages/components/search-select.js | 5 +++++ ui/tests/pages/components/wizard/features-selection.js | 5 +++++ ui/tests/pages/init.js | 5 +++++ ui/tests/pages/logout.js | 5 +++++ ui/tests/pages/policies/create.js | 5 +++++ ui/tests/pages/policies/index.js | 5 +++++ ui/tests/pages/policy/edit.js | 5 +++++ ui/tests/pages/policy/show.js | 5 +++++ ui/tests/pages/secrets/backend/configuration.js | 5 +++++ ui/tests/pages/secrets/backend/create.js | 5 +++++ ui/tests/pages/secrets/backend/credentials.js | 5 +++++ ui/tests/pages/secrets/backend/database/connection.js | 5 +++++ ui/tests/pages/secrets/backend/database/role.js | 5 +++++ ui/tests/pages/secrets/backend/edit.js | 5 +++++ ui/tests/pages/secrets/backend/kmip/credentials.js | 5 +++++ ui/tests/pages/secrets/backend/kmip/roles.js | 5 +++++ ui/tests/pages/secrets/backend/kmip/scopes.js | 5 +++++ ui/tests/pages/secrets/backend/kv/edit-secret.js | 5 +++++ ui/tests/pages/secrets/backend/kv/show.js | 5 +++++ ui/tests/pages/secrets/backend/list.js | 5 +++++ ui/tests/pages/secrets/backend/pki/edit-role.js | 5 +++++ ui/tests/pages/secrets/backend/pki/generate-cert.js | 5 +++++ ui/tests/pages/secrets/backend/pki/show.js | 5 +++++ ui/tests/pages/secrets/backend/show.js | 5 +++++ ui/tests/pages/secrets/backend/ssh/edit-role.js | 5 +++++ ui/tests/pages/secrets/backend/ssh/generate-otp.js | 5 +++++ ui/tests/pages/secrets/backend/ssh/show.js | 5 +++++ ui/tests/pages/secrets/backend/transform/alphabets.js | 5 +++++ ui/tests/pages/secrets/backend/transform/roles.js | 5 +++++ ui/tests/pages/secrets/backend/transform/templates.js | 5 +++++ .../pages/secrets/backend/transform/transformations.js | 5 +++++ ui/tests/pages/secrets/backends.js | 5 +++++ ui/tests/pages/settings/auth/configure/index.js | 5 +++++ ui/tests/pages/settings/auth/configure/section.js | 5 +++++ ui/tests/pages/settings/auth/enable.js | 5 +++++ .../pages/settings/configure-secret-backends/pki/index.js | 5 +++++ .../settings/configure-secret-backends/pki/section-cert.js | 5 +++++ .../settings/configure-secret-backends/pki/section.js | 5 +++++ ui/tests/pages/settings/mount-secret-backend.js | 5 +++++ ui/tests/test-helper.js | 5 +++++ ui/tests/unit/adapters/aws-credential-test.js | 5 +++++ ui/tests/unit/adapters/capabilities-test.js | 5 +++++ ui/tests/unit/adapters/clients-activity-test.js | 5 +++++ ui/tests/unit/adapters/cluster-test.js | 5 +++++ ui/tests/unit/adapters/console-test.js | 5 +++++ ui/tests/unit/adapters/identity/_test-cases.js | 5 +++++ ui/tests/unit/adapters/identity/entity-alias-test.js | 5 +++++ ui/tests/unit/adapters/identity/entity-merge-test.js | 5 +++++ ui/tests/unit/adapters/identity/entity-test.js | 5 +++++ ui/tests/unit/adapters/identity/group-alias-test.js | 5 +++++ ui/tests/unit/adapters/identity/group-test.js | 5 +++++ ui/tests/unit/adapters/kmip/role-test.js | 5 +++++ ui/tests/unit/adapters/kubernetes/config-test.js | 5 +++++ ui/tests/unit/adapters/kubernetes/role-test.js | 5 +++++ ui/tests/unit/adapters/oidc/assignment-test.js | 5 +++++ ui/tests/unit/adapters/oidc/client-test.js | 5 +++++ ui/tests/unit/adapters/oidc/key-test.js | 5 +++++ ui/tests/unit/adapters/oidc/provider-test.js | 5 +++++ ui/tests/unit/adapters/oidc/scope-test.js | 5 +++++ ui/tests/unit/adapters/oidc/test-helper.js | 5 +++++ ui/tests/unit/adapters/pki/action-test.js | 5 +++++ ui/tests/unit/adapters/pki/certificate/base-test.js | 5 +++++ ui/tests/unit/adapters/pki/certificate/generate-test.js | 5 +++++ ui/tests/unit/adapters/pki/certificate/sign-test.js | 5 +++++ ui/tests/unit/adapters/pki/key-test.js | 5 +++++ ui/tests/unit/adapters/pki/role-test.js | 5 +++++ ui/tests/unit/adapters/pki/sign-intermediate-test.js | 5 +++++ ui/tests/unit/adapters/pki/urls-test.js | 5 +++++ ui/tests/unit/adapters/secret-engine-test.js | 5 +++++ ui/tests/unit/adapters/secret-test.js | 5 +++++ ui/tests/unit/adapters/secret-v2-test.js | 5 +++++ ui/tests/unit/adapters/secret-v2-version-test.js | 5 +++++ ui/tests/unit/adapters/tools-test.js | 5 +++++ ui/tests/unit/adapters/transit-key-test.js | 5 +++++ ui/tests/unit/components/auth-form-test.js | 5 +++++ ui/tests/unit/components/auth-jwt-test.js | 5 +++++ ui/tests/unit/components/identity/edit-form-test.js | 5 +++++ ui/tests/unit/decorators/model-form-fields-test.js | 5 +++++ ui/tests/unit/decorators/model-validations-test.js | 5 +++++ ui/tests/unit/helpers/await-test.js | 5 +++++ ui/tests/unit/helpers/filter-wildcard-test.js | 5 +++++ ui/tests/unit/helpers/is-wildcard-string-test.js | 5 +++++ ui/tests/unit/lib/attach-capabilities-test.js | 5 +++++ ui/tests/unit/lib/console-helpers-test.js | 5 +++++ ui/tests/unit/lib/kv-object-test.js | 5 +++++ ui/tests/unit/lib/local-storage-test.js | 5 +++++ ui/tests/unit/lib/path-to-tree-test.js | 5 +++++ ui/tests/unit/machines/auth-machine-test.js | 5 +++++ ui/tests/unit/machines/policies-machine-test.js | 5 +++++ ui/tests/unit/machines/replication-machine-test.js | 5 +++++ ui/tests/unit/machines/secrets-machine-test.js | 5 +++++ ui/tests/unit/machines/tools-machine-test.js | 5 +++++ ui/tests/unit/machines/tutorial-machine-test.js | 5 +++++ ui/tests/unit/mixins/cluster-route-test.js | 5 +++++ ui/tests/unit/models/capabilities-test.js | 5 +++++ ui/tests/unit/models/role-jwt-test.js | 5 +++++ ui/tests/unit/models/secret-engine-test.js | 5 +++++ ui/tests/unit/models/secret-v2-version-test.js | 5 +++++ ui/tests/unit/models/transit-key-test.js | 5 +++++ ui/tests/unit/routes/vault/cluster/oidc-callback-test.js | 5 +++++ ui/tests/unit/routes/vault/cluster/redirect-test.js | 5 +++++ ui/tests/unit/serializers/cluster-test.js | 5 +++++ ui/tests/unit/serializers/mfa-login-enforcement-test.js | 5 +++++ ui/tests/unit/serializers/pki/action-test.js | 5 +++++ ui/tests/unit/serializers/policy-test.js | 5 +++++ ui/tests/unit/serializers/transit-key-test.js | 5 +++++ ui/tests/unit/services/auth-test.js | 5 +++++ ui/tests/unit/services/console-test.js | 5 +++++ ui/tests/unit/services/control-group-test.js | 5 +++++ ui/tests/unit/services/feature-flag-test.js | 5 +++++ ui/tests/unit/services/path-helper-test.js | 5 +++++ ui/tests/unit/services/permissions-test.js | 5 +++++ ui/tests/unit/services/store-test.js | 5 +++++ ui/tests/unit/services/version-test.js | 5 +++++ ui/tests/unit/services/wizard-test.js | 5 +++++ ui/tests/unit/utils/api-path-test.js | 5 +++++ ui/tests/unit/utils/chart-helpers-test.js | 5 +++++ ui/tests/unit/utils/common-prefix-test.js | 5 +++++ ui/tests/unit/utils/decode-config-from-jwt-test.js | 5 +++++ ui/tests/unit/utils/openapi-to-attrs-test.js | 5 +++++ ui/tests/unit/utils/trim-right-test.js | 5 +++++ ui/tests/unit/utils/validators-test.js | 5 +++++ ui/types/ember-cli-flash/services/flash-messages.d.ts | 5 +++++ ui/types/ember-data/types/registries/adapter.d.ts | 5 +++++ ui/types/ember-data/types/registries/model.d.ts | 5 +++++ ui/types/forms.ts | 5 +++++ ui/types/global.d.ts | 5 +++++ ui/types/vault/adapters/pki/role.d.ts | 5 +++++ ui/types/vault/app-types.ts | 5 +++++ ui/types/vault/index.d.ts | 5 +++++ ui/types/vault/models/capabilities.d.ts | 5 +++++ ui/types/vault/models/pki/action.d.ts | 5 +++++ ui/types/vault/models/pki/certificate/base.d.ts | 5 +++++ ui/types/vault/models/pki/certificate/generate.d.ts | 5 +++++ .../vault/models/pki/certificate/sign-intermediate.d.ts | 5 +++++ ui/types/vault/models/pki/certificate/sign.d.ts | 5 +++++ ui/types/vault/models/pki/issuer.d.ts | 5 +++++ ui/types/vault/utils/field-to-attrs.d.ts | 5 +++++ ui/vendor/string-includes.js | 5 +++++ vault/acl.go | 3 +++ vault/acl_test.go | 3 +++ vault/acl_util.go | 3 +++ vault/activity/activity_log.pb.go | 3 +++ vault/activity/activity_log.proto | 3 +++ vault/activity/query.go | 3 +++ vault/activity/query_test.go | 3 +++ vault/activity_log.go | 3 +++ vault/activity_log_test.go | 3 +++ vault/activity_log_testing_util.go | 3 +++ vault/activity_log_util.go | 3 +++ vault/activity_log_util_common.go | 3 +++ vault/activity_log_util_common_test.go | 3 +++ vault/audit.go | 3 +++ vault/audit_broker.go | 3 +++ vault/audit_test.go | 3 +++ vault/audited_headers.go | 3 +++ vault/audited_headers_test.go | 3 +++ vault/auth.go | 3 +++ vault/auth_test.go | 3 +++ vault/barrier.go | 3 +++ vault/barrier_access.go | 3 +++ vault/barrier_aes_gcm.go | 3 +++ vault/barrier_aes_gcm_test.go | 3 +++ vault/barrier_test.go | 3 +++ vault/barrier_view.go | 3 +++ vault/barrier_view_test.go | 3 +++ vault/barrier_view_util.go | 3 +++ vault/capabilities.go | 3 +++ vault/capabilities_test.go | 3 +++ vault/cluster.go | 3 +++ vault/cluster/cluster.go | 3 +++ vault/cluster/inmem_layer.go | 3 +++ vault/cluster/inmem_layer_test.go | 3 +++ vault/cluster/simulations.go | 3 +++ vault/cluster/tcp_layer.go | 3 +++ vault/cluster_test.go | 3 +++ vault/core.go | 3 +++ vault/core_metrics.go | 3 +++ vault/core_metrics_test.go | 3 +++ vault/core_test.go | 3 +++ vault/core_util.go | 3 +++ vault/core_util_common.go | 3 +++ vault/cors.go | 3 +++ vault/counters.go | 3 +++ vault/counters_test.go | 3 +++ vault/custom_response_headers.go | 3 +++ vault/custom_response_headers_test.go | 3 +++ vault/diagnose/constants.go | 3 +++ vault/diagnose/file_checks.go | 3 +++ vault/diagnose/file_checks_test.go | 3 +++ vault/diagnose/file_checks_unix.go | 3 +++ vault/diagnose/file_checks_windows.go | 3 +++ vault/diagnose/helpers.go | 3 +++ vault/diagnose/helpers_test.go | 3 +++ vault/diagnose/mock_storage_backend.go | 3 +++ vault/diagnose/os_common.go | 3 +++ vault/diagnose/os_openbsd_arm.go | 3 +++ vault/diagnose/os_unix.go | 3 +++ vault/diagnose/os_windows.go | 3 +++ vault/diagnose/output.go | 3 +++ vault/diagnose/raft_checks.go | 3 +++ vault/diagnose/storage_checks.go | 3 +++ vault/diagnose/storage_checks_test.go | 3 +++ vault/diagnose/tls_verification.go | 3 +++ vault/diagnose/tls_verification_test.go | 3 +++ vault/dynamic_system_view.go | 3 +++ vault/dynamic_system_view_test.go | 3 +++ vault/eventbus/bus.go | 3 +++ vault/eventbus/bus_test.go | 3 +++ vault/events_test.go | 3 +++ vault/expiration.go | 3 +++ vault/expiration_integ_test.go | 3 +++ vault/expiration_test.go | 3 +++ vault/expiration_testing_util_common.go | 3 +++ vault/expiration_util.go | 3 +++ vault/external_plugin_test.go | 3 +++ vault/external_tests/api/api_integration_test.go | 3 +++ vault/external_tests/api/feature_flag_ext_test.go | 3 +++ vault/external_tests/api/kv_helpers_test.go | 3 +++ vault/external_tests/api/renewer_integration_test.go | 3 +++ vault/external_tests/api/secret_test.go | 3 +++ vault/external_tests/api/sudo_paths_test.go | 3 +++ vault/external_tests/api/sys_rekey_ext_test.go | 3 +++ vault/external_tests/approle/wrapped_secretid_test.go | 3 +++ vault/external_tests/expiration/expiration_test.go | 3 +++ vault/external_tests/hcp_link/hcp_link_test.go | 3 +++ vault/external_tests/hcp_link/test_helpers.go | 3 +++ vault/external_tests/identity/aliases_test.go | 3 +++ vault/external_tests/identity/entities_test.go | 3 +++ vault/external_tests/identity/group_aliases_test.go | 3 +++ vault/external_tests/identity/groups_test.go | 3 +++ vault/external_tests/identity/identity_test.go | 3 +++ vault/external_tests/identity/login_mfa_duo_test.go | 3 +++ vault/external_tests/identity/login_mfa_okta_test.go | 3 +++ vault/external_tests/identity/login_mfa_totp_test.go | 3 +++ vault/external_tests/identity/oidc_provider_test.go | 3 +++ vault/external_tests/identity/userlockouts_test.go | 3 +++ vault/external_tests/kv/kv_patch_test.go | 3 +++ vault/external_tests/kv/kv_subkeys_test.go | 3 +++ vault/external_tests/kv/kvv2_upgrade_test.go | 3 +++ vault/external_tests/metrics/core_metrics_int_test.go | 3 +++ vault/external_tests/mfa/login_mfa_test.go | 3 +++ vault/external_tests/misc/recover_from_panic_test.go | 3 +++ vault/external_tests/misc/recovery_test.go | 3 +++ vault/external_tests/plugin/external_plugin_test.go | 3 +++ vault/external_tests/plugin/plugin_test.go | 3 +++ vault/external_tests/policy/acl_templating_test.go | 3 +++ vault/external_tests/policy/policy_test.go | 3 +++ vault/external_tests/pprof/pprof_test.go | 3 +++ vault/external_tests/quotas/quotas_test.go | 3 +++ vault/external_tests/raft/raft_autopilot_test.go | 3 +++ vault/external_tests/raft/raft_test.go | 3 +++ vault/external_tests/raftha/raft_ha_test.go | 3 +++ .../response/allowed_response_headers_test.go | 3 +++ vault/external_tests/router/router_ext_test.go | 3 +++ .../sealmigration/seal_migration_pre14_test.go | 3 +++ vault/external_tests/sealmigration/seal_migration_test.go | 3 +++ vault/external_tests/sealmigration/testshared.go | 3 +++ .../sealmigrationext/seal_migration_pre14_test.go | 3 +++ vault/external_tests/token/batch_token_test.go | 3 +++ vault/external_tests/token/token_test.go | 3 +++ vault/forwarded_writer_oss.go | 3 +++ vault/generate_root.go | 3 +++ vault/generate_root_recovery.go | 3 +++ vault/generate_root_test.go | 3 +++ vault/ha.go | 3 +++ vault/ha_test.go | 3 +++ .../hcp_link/capabilities/api_capability/api_capability.go | 3 +++ .../capabilities/api_capability/api_passthrough.go | 3 +++ .../hcp_link/capabilities/api_capability/token_manager.go | 3 +++ .../capabilities/api_capability/token_manager_test.go | 3 +++ vault/hcp_link/capabilities/capability.go | 3 +++ vault/hcp_link/capabilities/link_control/link_control.go | 3 +++ vault/hcp_link/capabilities/meta/meta.go | 3 +++ vault/hcp_link/capabilities/node_status/node_status.go | 3 +++ vault/hcp_link/internal/config.go | 3 +++ vault/hcp_link/internal/wrapped_hcpLink.go | 3 +++ vault/hcp_link/link.go | 3 +++ vault/hcp_link/proto/link_control/link_control.pb.go | 3 +++ vault/hcp_link/proto/link_control/link_control.proto | 3 +++ vault/hcp_link/proto/meta/meta.pb.go | 3 +++ vault/hcp_link/proto/meta/meta.proto | 3 +++ vault/hcp_link/proto/node_status/status.pb.go | 3 +++ vault/hcp_link/proto/node_status/status.proto | 3 +++ vault/identity_lookup.go | 3 +++ vault/identity_lookup_test.go | 3 +++ vault/identity_store.go | 3 +++ vault/identity_store_aliases.go | 3 +++ vault/identity_store_aliases_test.go | 3 +++ vault/identity_store_entities.go | 3 +++ vault/identity_store_entities_test.go | 3 +++ vault/identity_store_group_aliases.go | 3 +++ vault/identity_store_group_aliases_test.go | 3 +++ vault/identity_store_groups.go | 3 +++ vault/identity_store_groups_test.go | 3 +++ vault/identity_store_oidc.go | 3 +++ vault/identity_store_oidc_provider.go | 3 +++ vault/identity_store_oidc_provider_test.go | 3 +++ vault/identity_store_oidc_provider_util.go | 3 +++ vault/identity_store_oidc_test.go | 3 +++ vault/identity_store_oidc_util.go | 3 +++ vault/identity_store_oss.go | 3 +++ vault/identity_store_schema.go | 3 +++ vault/identity_store_structs.go | 3 +++ vault/identity_store_test.go | 3 +++ vault/identity_store_upgrade.go | 3 +++ vault/identity_store_util.go | 3 +++ vault/init.go | 3 +++ vault/init_test.go | 3 +++ vault/inspectable.go | 3 +++ vault/inspectable_test.go | 3 +++ vault/keyring.go | 3 +++ vault/keyring_test.go | 3 +++ vault/logical_cubbyhole.go | 3 +++ vault/logical_cubbyhole_test.go | 3 +++ vault/logical_passthrough.go | 3 +++ vault/logical_passthrough_test.go | 3 +++ vault/logical_raw.go | 3 +++ vault/logical_system.go | 3 +++ vault/logical_system_activity.go | 3 +++ vault/logical_system_helpers.go | 3 +++ vault/logical_system_integ_test.go | 3 +++ vault/logical_system_paths.go | 3 +++ vault/logical_system_pprof.go | 3 +++ vault/logical_system_quotas.go | 3 +++ vault/logical_system_raft.go | 3 +++ vault/logical_system_test.go | 3 +++ vault/logical_system_user_lockout.go | 3 +++ vault/logical_system_util.go | 3 +++ vault/login_mfa.go | 3 +++ vault/login_mfa_test.go | 3 +++ vault/managed_key_registry.go | 3 +++ vault/mfa_auth_resp_priority_queue.go | 3 +++ vault/mfa_auth_resp_priority_queue_test.go | 3 +++ vault/mount.go | 3 +++ vault/mount_test.go | 3 +++ vault/mount_util.go | 3 +++ vault/mount_util_shared.go | 3 +++ vault/namespaces.go | 3 +++ vault/namespaces_oss.go | 3 +++ vault/password_policy_util.go | 3 +++ vault/plugin_catalog.go | 3 +++ vault/plugin_catalog_test.go | 3 +++ vault/plugin_reload.go | 3 +++ vault/policy.go | 3 +++ vault/policy_store.go | 3 +++ vault/policy_store_test.go | 3 +++ vault/policy_store_util.go | 3 +++ vault/policy_test.go | 3 +++ vault/policy_util.go | 3 +++ vault/quotas/quotas.go | 3 +++ vault/quotas/quotas_rate_limit.go | 3 +++ vault/quotas/quotas_rate_limit_test.go | 3 +++ vault/quotas/quotas_test.go | 3 +++ vault/quotas/quotas_util.go | 3 +++ vault/raft.go | 3 +++ vault/rekey.go | 3 +++ vault/rekey_test.go | 3 +++ vault/replication/cluster.go | 3 +++ vault/request_forwarding.go | 3 +++ vault/request_forwarding_rpc.go | 3 +++ vault/request_forwarding_rpc_util.go | 3 +++ vault/request_forwarding_service.pb.go | 3 +++ vault/request_forwarding_service.proto | 3 +++ vault/request_handling.go | 3 +++ vault/request_handling_test.go | 3 +++ vault/request_handling_util.go | 3 +++ vault/rollback.go | 3 +++ vault/rollback_test.go | 3 +++ vault/router.go | 3 +++ vault/router_access.go | 3 +++ vault/router_test.go | 3 +++ vault/router_testing.go | 3 +++ vault/seal.go | 3 +++ vault/seal/envelope.go | 3 +++ vault/seal/envelope_test.go | 3 +++ vault/seal/seal.go | 3 +++ vault/seal/seal_testing.go | 3 +++ vault/seal_access.go | 3 +++ vault/seal_autoseal.go | 3 +++ vault/seal_autoseal_test.go | 3 +++ vault/seal_test.go | 3 +++ vault/seal_testing.go | 3 +++ vault/seal_testing_util.go | 3 +++ vault/sealunwrapper.go | 3 +++ vault/sealunwrapper_test.go | 3 +++ vault/test_cluster_detect_deadlock.go | 3 +++ vault/test_cluster_do_not_detect_deadlock.go | 3 +++ vault/testing.go | 3 +++ vault/testing_util.go | 3 +++ vault/token_store.go | 3 +++ vault/token_store_test.go | 3 +++ vault/token_store_util.go | 3 +++ vault/token_store_util_common.go | 3 +++ vault/tokens/token.pb.go | 3 +++ vault/tokens/token.proto | 3 +++ vault/ui.go | 3 +++ vault/ui_test.go | 3 +++ vault/util.go | 3 +++ vault/util_test.go | 3 +++ vault/vault_version_time.go | 3 +++ vault/version_store.go | 3 +++ vault/version_store_test.go | 3 +++ vault/wrapping.go | 3 +++ vault/wrapping_util.go | 3 +++ version/cgo.go | 3 +++ version/version.go | 3 +++ version/version_base.go | 3 +++ website/.eslintrc.js | 5 +++++ website/.stylelintrc.js | 5 +++++ website/Dockerfile | 3 +++ website/prettier.config.js | 5 +++++ website/public/ie-custom-properties.js | 5 +++++ website/redirects.js | 5 +++++ website/scripts/should-build.sh | 3 +++ website/scripts/website-build.sh | 3 +++ website/scripts/website-start.sh | 3 +++ 3505 files changed, 14018 insertions(+), 6 deletions(-) diff --git a/.circleci/config/@config.yml b/.circleci/config/@config.yml index 38fbc6831..89ec6dcfb 100644 --- a/.circleci/config/@config.yml +++ b/.circleci/config/@config.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + --- version: 2.1 diff --git a/.circleci/config/commands/@caches.yml b/.circleci/config/commands/@caches.yml index 7ce217f07..c7d0aec4a 100644 --- a/.circleci/config/commands/@caches.yml +++ b/.circleci/config/commands/@caches.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + restore_yarn_cache: steps: - restore_cache: diff --git a/.circleci/config/commands/configure-git.yml b/.circleci/config/commands/configure-git.yml index a725ab97e..b6649864e 100644 --- a/.circleci/config/commands/configure-git.yml +++ b/.circleci/config/commands/configure-git.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + steps: - add_ssh_keys: fingerprints: diff --git a/.circleci/config/commands/exit-if-branch-does-not-need-test-ui.yml b/.circleci/config/commands/exit-if-branch-does-not-need-test-ui.yml index 771ef4d92..b4e3f136b 100644 --- a/.circleci/config/commands/exit-if-branch-does-not-need-test-ui.yml +++ b/.circleci/config/commands/exit-if-branch-does-not-need-test-ui.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + description: > Check if branch name starts with ui/ or docs/ and if so, exit. steps: diff --git a/.circleci/config/commands/exit-if-ui-or-docs-branch.yml b/.circleci/config/commands/exit-if-ui-or-docs-branch.yml index 322091f70..d50633b4e 100644 --- a/.circleci/config/commands/exit-if-ui-or-docs-branch.yml +++ b/.circleci/config/commands/exit-if-ui-or-docs-branch.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + description: > Check if branch name starts with ui/ or docs/ and if so, exit. steps: diff --git a/.circleci/config/commands/go_test.yml b/.circleci/config/commands/go_test.yml index 9e4b4daa9..38d0751f1 100644 --- a/.circleci/config/commands/go_test.yml +++ b/.circleci/config/commands/go_test.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + description: run go tests parameters: extra_flags: diff --git a/.circleci/config/commands/setup-go.yml b/.circleci/config/commands/setup-go.yml index 5aec0087e..c773eea82 100644 --- a/.circleci/config/commands/setup-go.yml +++ b/.circleci/config/commands/setup-go.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + --- description: > Ensure the right version of Go is installed and set GOPATH to $HOME/go. diff --git a/.circleci/config/executors/@executors.yml b/.circleci/config/executors/@executors.yml index 586fd70e7..767276bd7 100644 --- a/.circleci/config/executors/@executors.yml +++ b/.circleci/config/executors/@executors.yml @@ -1,3 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 references: environment: &ENVIRONMENT CIRCLECI_CLI_VERSION: 0.1.5546 # Pin CircleCI CLI to patch version (ex: 1.2.3) diff --git a/.circleci/config/jobs/build-go-dev.yml b/.circleci/config/jobs/build-go-dev.yml index cce6d3f61..0900c7f74 100644 --- a/.circleci/config/jobs/build-go-dev.yml +++ b/.circleci/config/jobs/build-go-dev.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + executor: go-machine steps: - checkout diff --git a/.circleci/config/jobs/fmt.yml b/.circleci/config/jobs/fmt.yml index 7d9a08dce..0a13e0418 100644 --- a/.circleci/config/jobs/fmt.yml +++ b/.circleci/config/jobs/fmt.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + description: Ensure go formatting is correct. executor: go-machine steps: diff --git a/.circleci/config/jobs/install-ui-dependencies.yml b/.circleci/config/jobs/install-ui-dependencies.yml index 845e0c777..48e14380b 100644 --- a/.circleci/config/jobs/install-ui-dependencies.yml +++ b/.circleci/config/jobs/install-ui-dependencies.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + executor: node steps: - checkout diff --git a/.circleci/config/jobs/pre-flight-checks.yml b/.circleci/config/jobs/pre-flight-checks.yml index 924b451b5..1b309b486 100644 --- a/.circleci/config/jobs/pre-flight-checks.yml +++ b/.circleci/config/jobs/pre-flight-checks.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + description: Ensure nothing obvious is broken, and pre-cache Go modules. executor: go-machine steps: diff --git a/.circleci/config/jobs/semgrep.yml b/.circleci/config/jobs/semgrep.yml index c5cf749e1..45529bd95 100644 --- a/.circleci/config/jobs/semgrep.yml +++ b/.circleci/config/jobs/semgrep.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + --- executor: semgrep steps: diff --git a/.circleci/config/jobs/test-go-nightly.yml b/.circleci/config/jobs/test-go-nightly.yml index 502cdfa4e..3b84dc63e 100644 --- a/.circleci/config/jobs/test-go-nightly.yml +++ b/.circleci/config/jobs/test-go-nightly.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + executor: go-machine steps: - checkout diff --git a/.circleci/config/jobs/test-go-race-remote-docker.yml b/.circleci/config/jobs/test-go-race-remote-docker.yml index 6780c6036..3aafe4487 100644 --- a/.circleci/config/jobs/test-go-race-remote-docker.yml +++ b/.circleci/config/jobs/test-go-race-remote-docker.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + executor: docker-env-go-test-remote-docker parallelism: 8 steps: diff --git a/.circleci/config/jobs/test-go-race.yml b/.circleci/config/jobs/test-go-race.yml index fcda05e9c..82b358d28 100644 --- a/.circleci/config/jobs/test-go-race.yml +++ b/.circleci/config/jobs/test-go-race.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + executor: docker-env-go-test-race parallelism: 8 steps: diff --git a/.circleci/config/jobs/test-go-remote-docker.yml b/.circleci/config/jobs/test-go-remote-docker.yml index f51003f09..a33473f5e 100644 --- a/.circleci/config/jobs/test-go-remote-docker.yml +++ b/.circleci/config/jobs/test-go-remote-docker.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + executor: docker-env-go-test-remote-docker parallelism: 8 steps: diff --git a/.circleci/config/jobs/test-go.yml b/.circleci/config/jobs/test-go.yml index c1674de87..b97f2c7b4 100644 --- a/.circleci/config/jobs/test-go.yml +++ b/.circleci/config/jobs/test-go.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + executor: docker-env-go-test parallelism: 8 steps: diff --git a/.circleci/config/jobs/test-ui.yml b/.circleci/config/jobs/test-ui.yml index f2aa19b05..33c3706cd 100644 --- a/.circleci/config/jobs/test-ui.yml +++ b/.circleci/config/jobs/test-ui.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + executor: node resource_class: xlarge steps: diff --git a/.circleci/config/workflows/ci.yml b/.circleci/config/workflows/ci.yml index 5e99293d7..433fc7298 100644 --- a/.circleci/config/workflows/ci.yml +++ b/.circleci/config/workflows/ci.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + jobs: - pre-flight-checks - fmt diff --git a/.copywrite.hcl b/.copywrite.hcl index c779cce68..965e13039 100644 --- a/.copywrite.hcl +++ b/.copywrite.hcl @@ -8,7 +8,7 @@ project { # Supports doublestar glob patterns for more flexibility in defining which # files or folders should be ignored header_ignore = [ - "builtin/credentials/aws/pkcs7/**", + "builtin/credential/aws/pkcs7/**", "ui/node_modules/**", ] } diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 9399e9b5d..23958d835 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + contact_links: - name: Ask a question url: https://discuss.hashicorp.com/c/vault diff --git a/.github/scripts/generate-test-package-lists.sh b/.github/scripts/generate-test-package-lists.sh index 37c32ceef..493a92c8c 100755 --- a/.github/scripts/generate-test-package-lists.sh +++ b/.github/scripts/generate-test-package-lists.sh @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This script is meant to be sourced into the shell running in a Github # workflow. diff --git a/.github/scripts/test-generate-test-package-lists.sh b/.github/scripts/test-generate-test-package-lists.sh index f57c5dc03..c3d1cb606 100755 --- a/.github/scripts/test-generate-test-package-lists.sh +++ b/.github/scripts/test-generate-test-package-lists.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e${DEBUG+x}o pipefail # diff --git a/.release/ci.hcl b/.release/ci.hcl index 0be4e8ba9..335a21200 100644 --- a/.release/ci.hcl +++ b/.release/ci.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + schema = "1" project "vault" { diff --git a/.release/docker/docker-entrypoint.sh b/.release/docker/docker-entrypoint.sh index 3b72da25b..2b9b8f35a 100755 --- a/.release/docker/docker-entrypoint.sh +++ b/.release/docker/docker-entrypoint.sh @@ -1,4 +1,7 @@ #!/usr/bin/dumb-init /bin/sh +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e # Note above that we run dumb-init as PID 1 in order to reap zombie processes diff --git a/.release/docker/ubi-docker-entrypoint.sh b/.release/docker/ubi-docker-entrypoint.sh index 6f818bcd4..794e69c61 100755 --- a/.release/docker/ubi-docker-entrypoint.sh +++ b/.release/docker/ubi-docker-entrypoint.sh @@ -1,4 +1,7 @@ #!/bin/sh +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e # Prevent core dumps diff --git a/.release/linux/package/etc/vault.d/vault.hcl b/.release/linux/package/etc/vault.d/vault.hcl index 33c2e5f32..4a59d3672 100644 --- a/.release/linux/package/etc/vault.d/vault.hcl +++ b/.release/linux/package/etc/vault.d/vault.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # Full configuration options can be found at https://www.vaultproject.io/docs/configuration ui = true diff --git a/.release/release-metadata.hcl b/.release/release-metadata.hcl index 19aadfc71..3a49b69c5 100644 --- a/.release/release-metadata.hcl +++ b/.release/release-metadata.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + url_docker_registry_dockerhub = "https://hub.docker.com/r/hashicorp/vault" url_docker_registry_ecr = "https://gallery.ecr.aws/hashicorp/vault" url_license = "https://github.com/hashicorp/vault/blob/main/LICENSE" diff --git a/.release/security-scan.hcl b/.release/security-scan.hcl index 6d394feaa..62460e431 100644 --- a/.release/security-scan.hcl +++ b/.release/security-scan.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + container { dependencies = true alpine_secdb = true diff --git a/Dockerfile b/Dockerfile index 9041da20f..77a25184f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + ## DOCKERHUB DOCKERFILE ## FROM alpine:3.15 as default diff --git a/Makefile b/Makefile index 177ea044b..2d2f74264 100644 --- a/Makefile +++ b/Makefile @@ -205,8 +205,8 @@ proto: bootstrap # No additional sed expressions should be added to this list. Going forward # we should just use the variable names choosen by protobuf. These are left # here for backwards compatability, namely for SDK compilation. - $(SED) -i -e 's/Id/ID/' vault/request_forwarding_service.pb.go - $(SED) -i -e 's/Idp/IDP/' -e 's/Url/URL/' -e 's/Id/ID/' -e 's/IDentity/Identity/' -e 's/EntityId/EntityID/' -e 's/Api/API/' -e 's/Qr/QR/' -e 's/Totp/TOTP/' -e 's/Mfa/MFA/' -e 's/Pingid/PingID/' -e 's/namespaceId/namespaceID/' -e 's/Ttl/TTL/' -e 's/BoundCidrs/BoundCIDRs/' helper/identity/types.pb.go helper/identity/mfa/types.pb.go helper/storagepacker/types.pb.go sdk/plugin/pb/backend.pb.go sdk/logical/identity.pb.go vault/activity/activity_log.pb.go + $(SED) -i -e 's/Id/ID/' -e 's/SPDX-License-IDentifier/SPDX-License-Identifier/' vault/request_forwarding_service.pb.go + $(SED) -i -e 's/Idp/IDP/' -e 's/Url/URL/' -e 's/Id/ID/' -e 's/IDentity/Identity/' -e 's/EntityId/EntityID/' -e 's/Api/API/' -e 's/Qr/QR/' -e 's/Totp/TOTP/' -e 's/Mfa/MFA/' -e 's/Pingid/PingID/' -e 's/namespaceId/namespaceID/' -e 's/Ttl/TTL/' -e 's/BoundCidrs/BoundCIDRs/' -e 's/SPDX-License-IDentifier/SPDX-License-Identifier/' helper/identity/types.pb.go helper/identity/mfa/types.pb.go helper/storagepacker/types.pb.go sdk/plugin/pb/backend.pb.go sdk/logical/identity.pb.go vault/activity/activity_log.pb.go # This will inject the sentinel struct tags as decorated in the proto files. protoc-go-inject-tag -input=./helper/identity/types.pb.go diff --git a/api/api_test.go b/api/api_test.go index e4ba31532..8bf69e0de 100644 --- a/api/api_test.go +++ b/api/api_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/auth.go b/api/auth.go index ab38acfba..c1ef7a779 100644 --- a/api/auth.go +++ b/api/auth.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/auth/approle/approle.go b/api/auth/approle/approle.go index b8cf01228..10d26b610 100644 --- a/api/auth/approle/approle.go +++ b/api/auth/approle/approle.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package approle import ( diff --git a/api/auth/approle/approle_test.go b/api/auth/approle/approle_test.go index f2628c695..cdfb4e285 100644 --- a/api/auth/approle/approle_test.go +++ b/api/auth/approle/approle_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package approle import ( diff --git a/api/auth/aws/aws.go b/api/auth/aws/aws.go index 44a4f6db1..f2aa9be1d 100644 --- a/api/auth/aws/aws.go +++ b/api/auth/aws/aws.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aws import ( diff --git a/api/auth/azure/azure.go b/api/auth/azure/azure.go index a09d15a14..b68219570 100644 --- a/api/auth/azure/azure.go +++ b/api/auth/azure/azure.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package azure import ( diff --git a/api/auth/gcp/gcp.go b/api/auth/gcp/gcp.go index a5dd93646..2d6ef842a 100644 --- a/api/auth/gcp/gcp.go +++ b/api/auth/gcp/gcp.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package gcp import ( diff --git a/api/auth/kubernetes/kubernetes.go b/api/auth/kubernetes/kubernetes.go index c2fef86a5..f0e38c17a 100644 --- a/api/auth/kubernetes/kubernetes.go +++ b/api/auth/kubernetes/kubernetes.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kubernetes import ( diff --git a/api/auth/ldap/ldap.go b/api/auth/ldap/ldap.go index 9f37abc66..fdf1a38dd 100644 --- a/api/auth/ldap/ldap.go +++ b/api/auth/ldap/ldap.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ldap import ( diff --git a/api/auth/ldap/ldap_test.go b/api/auth/ldap/ldap_test.go index 8633c4dfa..abdccb035 100644 --- a/api/auth/ldap/ldap_test.go +++ b/api/auth/ldap/ldap_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ldap import ( diff --git a/api/auth/userpass/userpass.go b/api/auth/userpass/userpass.go index 124cd7a68..3e8942953 100644 --- a/api/auth/userpass/userpass.go +++ b/api/auth/userpass/userpass.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package userpass import ( diff --git a/api/auth/userpass/userpass_test.go b/api/auth/userpass/userpass_test.go index 0728117a1..4fe68d8d4 100644 --- a/api/auth/userpass/userpass_test.go +++ b/api/auth/userpass/userpass_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package userpass import ( diff --git a/api/auth_test.go b/api/auth_test.go index 4dc71a098..ca69630cc 100644 --- a/api/auth_test.go +++ b/api/auth_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/auth_token.go b/api/auth_token.go index 52be1e785..1980be06e 100644 --- a/api/auth_token.go +++ b/api/auth_token.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/client.go b/api/client.go index e42808c89..7ca12d560 100644 --- a/api/client.go +++ b/api/client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/client_test.go b/api/client_test.go index 58552fc2b..4055da47f 100644 --- a/api/client_test.go +++ b/api/client_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/help.go b/api/help.go index 0988ebcd1..c119f6c3c 100644 --- a/api/help.go +++ b/api/help.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/kv.go b/api/kv.go index 37699df26..20862fbfd 100644 --- a/api/kv.go +++ b/api/kv.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import "errors" diff --git a/api/kv_test.go b/api/kv_test.go index f8b3d3917..36d769fea 100644 --- a/api/kv_test.go +++ b/api/kv_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/kv_v1.go b/api/kv_v1.go index 22ba99238..a914e0357 100644 --- a/api/kv_v1.go +++ b/api/kv_v1.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/kv_v2.go b/api/kv_v2.go index 335c21001..72c29eaa4 100644 --- a/api/kv_v2.go +++ b/api/kv_v2.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/lifetime_watcher.go b/api/lifetime_watcher.go index 567d10325..5c060e5a1 100644 --- a/api/lifetime_watcher.go +++ b/api/lifetime_watcher.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/logical.go b/api/logical.go index 2c4538977..927dd168e 100644 --- a/api/logical.go +++ b/api/logical.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/output_policy.go b/api/output_policy.go index 57545fafd..c3ec52289 100644 --- a/api/output_policy.go +++ b/api/output_policy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/output_policy_test.go b/api/output_policy_test.go index 8ea035603..2092e2ba2 100644 --- a/api/output_policy_test.go +++ b/api/output_policy_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/output_string.go b/api/output_string.go index 80c591f20..d7777712d 100644 --- a/api/output_string.go +++ b/api/output_string.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/plugin_helpers.go b/api/plugin_helpers.go index 6dc9e0803..2d6416d70 100644 --- a/api/plugin_helpers.go +++ b/api/plugin_helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/plugin_helpers_test.go b/api/plugin_helpers_test.go index 453720ea7..7b3ddbf81 100644 --- a/api/plugin_helpers_test.go +++ b/api/plugin_helpers_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import "testing" diff --git a/api/plugin_types.go b/api/plugin_types.go index 3b85013b7..4c759a2de 100644 --- a/api/plugin_types.go +++ b/api/plugin_types.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api // NOTE: this file was copied from diff --git a/api/renewer_test.go b/api/renewer_test.go index 0ed882218..7ba16e66e 100644 --- a/api/renewer_test.go +++ b/api/renewer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/request.go b/api/request.go index a8e53c01e..ecf783701 100644 --- a/api/request.go +++ b/api/request.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/request_test.go b/api/request_test.go index f2657e61c..ac21b8019 100644 --- a/api/request_test.go +++ b/api/request_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/response.go b/api/response.go index a0e31144e..2842c1255 100644 --- a/api/response.go +++ b/api/response.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/secret.go b/api/secret.go index c45c4917c..be159d706 100644 --- a/api/secret.go +++ b/api/secret.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/ssh.go b/api/ssh.go index b832e2748..28510eecc 100644 --- a/api/ssh.go +++ b/api/ssh.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/ssh_agent.go b/api/ssh_agent.go index c67b80dc4..e61503772 100644 --- a/api/ssh_agent.go +++ b/api/ssh_agent.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/ssh_agent_test.go b/api/ssh_agent_test.go index d233b09c4..38117e42a 100644 --- a/api/ssh_agent_test.go +++ b/api/ssh_agent_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/sys.go b/api/sys.go index 5fb111887..81ebb3a25 100644 --- a/api/sys.go +++ b/api/sys.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api // Sys is used to perform system-related operations on Vault. diff --git a/api/sys_audit.go b/api/sys_audit.go index 82d9aab0b..2244087aa 100644 --- a/api/sys_audit.go +++ b/api/sys_audit.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/sys_auth.go b/api/sys_auth.go index 238bd5e46..e81441219 100644 --- a/api/sys_auth.go +++ b/api/sys_auth.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/sys_capabilities.go b/api/sys_capabilities.go index af306a07f..6310d42fc 100644 --- a/api/sys_capabilities.go +++ b/api/sys_capabilities.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/sys_config_cors.go b/api/sys_config_cors.go index 1e2cda4f4..e80aa9d8b 100644 --- a/api/sys_config_cors.go +++ b/api/sys_config_cors.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/sys_generate_root.go b/api/sys_generate_root.go index 096cadb79..da4ad2f9b 100644 --- a/api/sys_generate_root.go +++ b/api/sys_generate_root.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/sys_hastatus.go b/api/sys_hastatus.go index d89d59651..2b2aa7c3e 100644 --- a/api/sys_hastatus.go +++ b/api/sys_hastatus.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/sys_health.go b/api/sys_health.go index 953c1c21e..13fd8d4d3 100644 --- a/api/sys_health.go +++ b/api/sys_health.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/sys_init.go b/api/sys_init.go index 05dea86f6..13fa94806 100644 --- a/api/sys_init.go +++ b/api/sys_init.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/sys_leader.go b/api/sys_leader.go index a74e206eb..868914d3b 100644 --- a/api/sys_leader.go +++ b/api/sys_leader.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/sys_leases.go b/api/sys_leases.go index c02402f53..c46f07e64 100644 --- a/api/sys_leases.go +++ b/api/sys_leases.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/sys_mfa.go b/api/sys_mfa.go index a1ba1bd80..2be669584 100644 --- a/api/sys_mfa.go +++ b/api/sys_mfa.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/sys_monitor.go b/api/sys_monitor.go index 405d40f8e..15a8a13d1 100644 --- a/api/sys_monitor.go +++ b/api/sys_monitor.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/sys_mounts.go b/api/sys_mounts.go index f55133cec..a6c2a0f54 100644 --- a/api/sys_mounts.go +++ b/api/sys_mounts.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/sys_mounts_test.go b/api/sys_mounts_test.go index d461a9d49..a810c6268 100644 --- a/api/sys_mounts_test.go +++ b/api/sys_mounts_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/sys_plugins.go b/api/sys_plugins.go index 05dce2939..2ee024d9d 100644 --- a/api/sys_plugins.go +++ b/api/sys_plugins.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/sys_plugins_test.go b/api/sys_plugins_test.go index 98078b7c3..367318147 100644 --- a/api/sys_plugins_test.go +++ b/api/sys_plugins_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/sys_policy.go b/api/sys_policy.go index 4a4f91b08..9ddffe4ec 100644 --- a/api/sys_policy.go +++ b/api/sys_policy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/sys_raft.go b/api/sys_raft.go index 7806a1418..29bfed0f5 100644 --- a/api/sys_raft.go +++ b/api/sys_raft.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/sys_rekey.go b/api/sys_rekey.go index 2ac8a4743..573201751 100644 --- a/api/sys_rekey.go +++ b/api/sys_rekey.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/sys_rotate.go b/api/sys_rotate.go index fa86886c3..295d989f9 100644 --- a/api/sys_rotate.go +++ b/api/sys_rotate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/sys_seal.go b/api/sys_seal.go index 0522f2a42..7a9c5621e 100644 --- a/api/sys_seal.go +++ b/api/sys_seal.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/sys_stepdown.go b/api/sys_stepdown.go index 833f31a6f..c55ed1e66 100644 --- a/api/sys_stepdown.go +++ b/api/sys_stepdown.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/test-fixtures/agent_config.hcl b/api/test-fixtures/agent_config.hcl index 8339f53d7..38d802605 100644 --- a/api/test-fixtures/agent_config.hcl +++ b/api/test-fixtures/agent_config.hcl @@ -1,2 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + vault_addr="http://127.0.0.1:8200" ssh_mount_point="ssh" diff --git a/audit/audit.go b/audit/audit.go index 5641b449a..35a3d38a0 100644 --- a/audit/audit.go +++ b/audit/audit.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package audit import ( diff --git a/audit/format.go b/audit/format.go index f0f1b6873..83ec18ad4 100644 --- a/audit/format.go +++ b/audit/format.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package audit import ( diff --git a/audit/format_json.go b/audit/format_json.go index 4003c05a7..74f413818 100644 --- a/audit/format_json.go +++ b/audit/format_json.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package audit import ( diff --git a/audit/format_json_test.go b/audit/format_json_test.go index e4a703d12..fa31cde83 100644 --- a/audit/format_json_test.go +++ b/audit/format_json_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package audit import ( diff --git a/audit/format_jsonx.go b/audit/format_jsonx.go index bff244099..20352a2de 100644 --- a/audit/format_jsonx.go +++ b/audit/format_jsonx.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package audit import ( diff --git a/audit/format_jsonx_test.go b/audit/format_jsonx_test.go index 00921c0c7..fb6046195 100644 --- a/audit/format_jsonx_test.go +++ b/audit/format_jsonx_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package audit import ( diff --git a/audit/format_test.go b/audit/format_test.go index bc0610c37..5395d916c 100644 --- a/audit/format_test.go +++ b/audit/format_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package audit import ( diff --git a/audit/formatter.go b/audit/formatter.go index df82057e3..98c393c3b 100644 --- a/audit/formatter.go +++ b/audit/formatter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package audit import ( diff --git a/audit/hashstructure.go b/audit/hashstructure.go index 9040f8c2b..cd4f8085d 100644 --- a/audit/hashstructure.go +++ b/audit/hashstructure.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package audit import ( diff --git a/audit/hashstructure_test.go b/audit/hashstructure_test.go index 3b080a526..c65931f7c 100644 --- a/audit/hashstructure_test.go +++ b/audit/hashstructure_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package audit import ( diff --git a/builtin/audit/file/backend.go b/builtin/audit/file/backend.go index 43dd26c25..2c3ef3f8e 100644 --- a/builtin/audit/file/backend.go +++ b/builtin/audit/file/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package file import ( diff --git a/builtin/audit/file/backend_test.go b/builtin/audit/file/backend_test.go index 817518c50..ad082ace5 100644 --- a/builtin/audit/file/backend_test.go +++ b/builtin/audit/file/backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package file import ( diff --git a/builtin/audit/socket/backend.go b/builtin/audit/socket/backend.go index be6f583fc..4c649e0e9 100644 --- a/builtin/audit/socket/backend.go +++ b/builtin/audit/socket/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package socket import ( diff --git a/builtin/audit/syslog/backend.go b/builtin/audit/syslog/backend.go index 1d3bce893..2da92fe2e 100644 --- a/builtin/audit/syslog/backend.go +++ b/builtin/audit/syslog/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package syslog import ( diff --git a/builtin/credential/approle/backend.go b/builtin/credential/approle/backend.go index ebd8d3c06..60d463f08 100644 --- a/builtin/credential/approle/backend.go +++ b/builtin/credential/approle/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package approle import ( diff --git a/builtin/credential/approle/backend_test.go b/builtin/credential/approle/backend_test.go index 212fe36f0..683249e31 100644 --- a/builtin/credential/approle/backend_test.go +++ b/builtin/credential/approle/backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package approle import ( diff --git a/builtin/credential/approle/cmd/approle/main.go b/builtin/credential/approle/cmd/approle/main.go index 5a2903d41..9000ea958 100644 --- a/builtin/credential/approle/cmd/approle/main.go +++ b/builtin/credential/approle/cmd/approle/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/builtin/credential/approle/path_login.go b/builtin/credential/approle/path_login.go index 489ff638e..33df70974 100644 --- a/builtin/credential/approle/path_login.go +++ b/builtin/credential/approle/path_login.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package approle import ( diff --git a/builtin/credential/approle/path_login_test.go b/builtin/credential/approle/path_login_test.go index bfafacc3b..5a09c6c4e 100644 --- a/builtin/credential/approle/path_login_test.go +++ b/builtin/credential/approle/path_login_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package approle import ( diff --git a/builtin/credential/approle/path_role.go b/builtin/credential/approle/path_role.go index 7759c0703..a5dcfe659 100644 --- a/builtin/credential/approle/path_role.go +++ b/builtin/credential/approle/path_role.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package approle import ( diff --git a/builtin/credential/approle/path_role_test.go b/builtin/credential/approle/path_role_test.go index 7957a6997..a5ea9d1d5 100644 --- a/builtin/credential/approle/path_role_test.go +++ b/builtin/credential/approle/path_role_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package approle import ( diff --git a/builtin/credential/approle/path_tidy_user_id.go b/builtin/credential/approle/path_tidy_user_id.go index 3f0312679..f677f0175 100644 --- a/builtin/credential/approle/path_tidy_user_id.go +++ b/builtin/credential/approle/path_tidy_user_id.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package approle import ( diff --git a/builtin/credential/approle/path_tidy_user_id_test.go b/builtin/credential/approle/path_tidy_user_id_test.go index 66958008a..c03686e89 100644 --- a/builtin/credential/approle/path_tidy_user_id_test.go +++ b/builtin/credential/approle/path_tidy_user_id_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package approle import ( diff --git a/builtin/credential/approle/validation.go b/builtin/credential/approle/validation.go index 9b3f87827..70f2194aa 100644 --- a/builtin/credential/approle/validation.go +++ b/builtin/credential/approle/validation.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package approle import ( diff --git a/builtin/credential/approle/validation_test.go b/builtin/credential/approle/validation_test.go index ff325f4b1..7f7366b67 100644 --- a/builtin/credential/approle/validation_test.go +++ b/builtin/credential/approle/validation_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package approle import ( diff --git a/builtin/credential/aws/backend.go b/builtin/credential/aws/backend.go index 543608968..5e94db7b9 100644 --- a/builtin/credential/aws/backend.go +++ b/builtin/credential/aws/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/backend_e2e_test.go b/builtin/credential/aws/backend_e2e_test.go index ac2bb22f1..e8939b9d6 100644 --- a/builtin/credential/aws/backend_e2e_test.go +++ b/builtin/credential/aws/backend_e2e_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/backend_test.go b/builtin/credential/aws/backend_test.go index 6a849f1af..dea280c00 100644 --- a/builtin/credential/aws/backend_test.go +++ b/builtin/credential/aws/backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/certificates.go b/builtin/credential/aws/certificates.go index c745ad2b3..4b97a952b 100644 --- a/builtin/credential/aws/certificates.go +++ b/builtin/credential/aws/certificates.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/cli.go b/builtin/credential/aws/cli.go index 7b063fa5f..a1695574f 100644 --- a/builtin/credential/aws/cli.go +++ b/builtin/credential/aws/cli.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/client.go b/builtin/credential/aws/client.go index ff8ff5c83..079eabbe8 100644 --- a/builtin/credential/aws/client.go +++ b/builtin/credential/aws/client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/cmd/aws/main.go b/builtin/credential/aws/cmd/aws/main.go index a0d552032..c7fce3e33 100644 --- a/builtin/credential/aws/cmd/aws/main.go +++ b/builtin/credential/aws/cmd/aws/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/builtin/credential/aws/path_config_certificate.go b/builtin/credential/aws/path_config_certificate.go index f73469478..7143f991b 100644 --- a/builtin/credential/aws/path_config_certificate.go +++ b/builtin/credential/aws/path_config_certificate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/path_config_client.go b/builtin/credential/aws/path_config_client.go index c609e1acd..e94b355ec 100644 --- a/builtin/credential/aws/path_config_client.go +++ b/builtin/credential/aws/path_config_client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/path_config_client_test.go b/builtin/credential/aws/path_config_client_test.go index 493d20d9d..4c807d1b4 100644 --- a/builtin/credential/aws/path_config_client_test.go +++ b/builtin/credential/aws/path_config_client_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/path_config_identity.go b/builtin/credential/aws/path_config_identity.go index 282d277fa..ded8d9ff3 100644 --- a/builtin/credential/aws/path_config_identity.go +++ b/builtin/credential/aws/path_config_identity.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/path_config_identity_test.go b/builtin/credential/aws/path_config_identity_test.go index 19e919fb1..8a7db09f2 100644 --- a/builtin/credential/aws/path_config_identity_test.go +++ b/builtin/credential/aws/path_config_identity_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/path_config_rotate_root.go b/builtin/credential/aws/path_config_rotate_root.go index 125056234..0a28b627b 100644 --- a/builtin/credential/aws/path_config_rotate_root.go +++ b/builtin/credential/aws/path_config_rotate_root.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/path_config_rotate_root_test.go b/builtin/credential/aws/path_config_rotate_root_test.go index 940c6d102..21f7f0fbb 100644 --- a/builtin/credential/aws/path_config_rotate_root_test.go +++ b/builtin/credential/aws/path_config_rotate_root_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/path_config_sts.go b/builtin/credential/aws/path_config_sts.go index 3666a9004..58e57a800 100644 --- a/builtin/credential/aws/path_config_sts.go +++ b/builtin/credential/aws/path_config_sts.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/path_config_tidy_identity_accesslist.go b/builtin/credential/aws/path_config_tidy_identity_accesslist.go index f89c5ab21..5882fa009 100644 --- a/builtin/credential/aws/path_config_tidy_identity_accesslist.go +++ b/builtin/credential/aws/path_config_tidy_identity_accesslist.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/path_config_tidy_roletag_denylist.go b/builtin/credential/aws/path_config_tidy_roletag_denylist.go index e00404d7e..4d3232760 100644 --- a/builtin/credential/aws/path_config_tidy_roletag_denylist.go +++ b/builtin/credential/aws/path_config_tidy_roletag_denylist.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/path_identity_accesslist.go b/builtin/credential/aws/path_identity_accesslist.go index a622b7d8f..00bfde622 100644 --- a/builtin/credential/aws/path_identity_accesslist.go +++ b/builtin/credential/aws/path_identity_accesslist.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/path_login.go b/builtin/credential/aws/path_login.go index fb8ab4f47..320230534 100644 --- a/builtin/credential/aws/path_login.go +++ b/builtin/credential/aws/path_login.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/path_login_test.go b/builtin/credential/aws/path_login_test.go index 6ffd60ed1..2c0262075 100644 --- a/builtin/credential/aws/path_login_test.go +++ b/builtin/credential/aws/path_login_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/path_role.go b/builtin/credential/aws/path_role.go index 12a4c7d0f..90243619f 100644 --- a/builtin/credential/aws/path_role.go +++ b/builtin/credential/aws/path_role.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/path_role_tag.go b/builtin/credential/aws/path_role_tag.go index 15927a82a..e365f0307 100644 --- a/builtin/credential/aws/path_role_tag.go +++ b/builtin/credential/aws/path_role_tag.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/path_role_test.go b/builtin/credential/aws/path_role_test.go index b8e824a9d..3a63d4cd3 100644 --- a/builtin/credential/aws/path_role_test.go +++ b/builtin/credential/aws/path_role_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/path_roletag_denylist.go b/builtin/credential/aws/path_roletag_denylist.go index 19520aab2..8a90a383e 100644 --- a/builtin/credential/aws/path_roletag_denylist.go +++ b/builtin/credential/aws/path_roletag_denylist.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/path_tidy_identity_accesslist.go b/builtin/credential/aws/path_tidy_identity_accesslist.go index 9455cc0d3..b1e649ce9 100644 --- a/builtin/credential/aws/path_tidy_identity_accesslist.go +++ b/builtin/credential/aws/path_tidy_identity_accesslist.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/aws/path_tidy_roletag_denylist.go b/builtin/credential/aws/path_tidy_roletag_denylist.go index 80c9dd8af..8bd788dcf 100644 --- a/builtin/credential/aws/path_tidy_roletag_denylist.go +++ b/builtin/credential/aws/path_tidy_roletag_denylist.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package awsauth import ( diff --git a/builtin/credential/cert/backend.go b/builtin/credential/cert/backend.go index 567ef8163..6c6c55ca6 100644 --- a/builtin/credential/cert/backend.go +++ b/builtin/credential/cert/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cert import ( diff --git a/builtin/credential/cert/backend_test.go b/builtin/credential/cert/backend_test.go index ed4b250ce..6f2b79a9a 100644 --- a/builtin/credential/cert/backend_test.go +++ b/builtin/credential/cert/backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cert import ( diff --git a/builtin/credential/cert/cli.go b/builtin/credential/cert/cli.go index 4a470c896..3ba1e712d 100644 --- a/builtin/credential/cert/cli.go +++ b/builtin/credential/cert/cli.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cert import ( diff --git a/builtin/credential/cert/cmd/cert/main.go b/builtin/credential/cert/cmd/cert/main.go index e73241559..5b80a54cd 100644 --- a/builtin/credential/cert/cmd/cert/main.go +++ b/builtin/credential/cert/cmd/cert/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/builtin/credential/cert/path_certs.go b/builtin/credential/cert/path_certs.go index 13f6da78c..d2419d9a1 100644 --- a/builtin/credential/cert/path_certs.go +++ b/builtin/credential/cert/path_certs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cert import ( diff --git a/builtin/credential/cert/path_config.go b/builtin/credential/cert/path_config.go index c08992af1..e0c70d588 100644 --- a/builtin/credential/cert/path_config.go +++ b/builtin/credential/cert/path_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cert import ( diff --git a/builtin/credential/cert/path_crls.go b/builtin/credential/cert/path_crls.go index 75edcc32c..022f963b7 100644 --- a/builtin/credential/cert/path_crls.go +++ b/builtin/credential/cert/path_crls.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cert import ( diff --git a/builtin/credential/cert/path_crls_test.go b/builtin/credential/cert/path_crls_test.go index 9ca1f1243..24211f5ca 100644 --- a/builtin/credential/cert/path_crls_test.go +++ b/builtin/credential/cert/path_crls_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cert import ( diff --git a/builtin/credential/cert/path_login.go b/builtin/credential/cert/path_login.go index 59c48e76f..bfc2450f4 100644 --- a/builtin/credential/cert/path_login.go +++ b/builtin/credential/cert/path_login.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cert import ( diff --git a/builtin/credential/cert/path_login_test.go b/builtin/credential/cert/path_login_test.go index f69444270..e2fde0157 100644 --- a/builtin/credential/cert/path_login_test.go +++ b/builtin/credential/cert/path_login_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cert import ( diff --git a/builtin/credential/cert/test_responder.go b/builtin/credential/cert/test_responder.go index 1c7c75b2f..d68ebe080 100644 --- a/builtin/credential/cert/test_responder.go +++ b/builtin/credential/cert/test_responder.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package ocsp implements an OCSP responder based on a generic storage backend. // It provides a couple of sample implementations. // Because OCSP responders handle high query volumes, we have to be careful diff --git a/builtin/credential/github/backend.go b/builtin/credential/github/backend.go index 89ce37c7c..12633f8ce 100644 --- a/builtin/credential/github/backend.go +++ b/builtin/credential/github/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package github import ( diff --git a/builtin/credential/github/backend_test.go b/builtin/credential/github/backend_test.go index f3360f52c..6ea08ee58 100644 --- a/builtin/credential/github/backend_test.go +++ b/builtin/credential/github/backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package github import ( diff --git a/builtin/credential/github/cli.go b/builtin/credential/github/cli.go index bccc6fa51..d40f1b56d 100644 --- a/builtin/credential/github/cli.go +++ b/builtin/credential/github/cli.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package github import ( diff --git a/builtin/credential/github/cmd/github/main.go b/builtin/credential/github/cmd/github/main.go index 4ed670032..499469a0f 100644 --- a/builtin/credential/github/cmd/github/main.go +++ b/builtin/credential/github/cmd/github/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/builtin/credential/github/path_config.go b/builtin/credential/github/path_config.go index 707115c56..0b1721b15 100644 --- a/builtin/credential/github/path_config.go +++ b/builtin/credential/github/path_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package github import ( diff --git a/builtin/credential/github/path_config_test.go b/builtin/credential/github/path_config_test.go index d59599f32..2f592b21f 100644 --- a/builtin/credential/github/path_config_test.go +++ b/builtin/credential/github/path_config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package github import ( diff --git a/builtin/credential/github/path_login.go b/builtin/credential/github/path_login.go index 252b5641c..d802641e2 100644 --- a/builtin/credential/github/path_login.go +++ b/builtin/credential/github/path_login.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package github import ( diff --git a/builtin/credential/github/path_login_test.go b/builtin/credential/github/path_login_test.go index 25baf7f81..282e3fa94 100644 --- a/builtin/credential/github/path_login_test.go +++ b/builtin/credential/github/path_login_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package github import ( diff --git a/builtin/credential/ldap/backend.go b/builtin/credential/ldap/backend.go index 35e0f102c..e9654b8b4 100644 --- a/builtin/credential/ldap/backend.go +++ b/builtin/credential/ldap/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ldap import ( diff --git a/builtin/credential/ldap/backend_test.go b/builtin/credential/ldap/backend_test.go index 3ad906612..cd4775582 100644 --- a/builtin/credential/ldap/backend_test.go +++ b/builtin/credential/ldap/backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ldap import ( diff --git a/builtin/credential/ldap/cli.go b/builtin/credential/ldap/cli.go index bb28ecb23..772603434 100644 --- a/builtin/credential/ldap/cli.go +++ b/builtin/credential/ldap/cli.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ldap import ( diff --git a/builtin/credential/ldap/cmd/ldap/main.go b/builtin/credential/ldap/cmd/ldap/main.go index 416de6bf1..2dcb802e2 100644 --- a/builtin/credential/ldap/cmd/ldap/main.go +++ b/builtin/credential/ldap/cmd/ldap/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/builtin/credential/ldap/path_config.go b/builtin/credential/ldap/path_config.go index 45e5294c7..1497f918c 100644 --- a/builtin/credential/ldap/path_config.go +++ b/builtin/credential/ldap/path_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ldap import ( diff --git a/builtin/credential/ldap/path_groups.go b/builtin/credential/ldap/path_groups.go index b39691cf8..5908d1b14 100644 --- a/builtin/credential/ldap/path_groups.go +++ b/builtin/credential/ldap/path_groups.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ldap import ( diff --git a/builtin/credential/ldap/path_login.go b/builtin/credential/ldap/path_login.go index 67303911e..84f68ca99 100644 --- a/builtin/credential/ldap/path_login.go +++ b/builtin/credential/ldap/path_login.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ldap import ( diff --git a/builtin/credential/ldap/path_users.go b/builtin/credential/ldap/path_users.go index a4e18d30e..32e4e290b 100644 --- a/builtin/credential/ldap/path_users.go +++ b/builtin/credential/ldap/path_users.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ldap import ( diff --git a/builtin/credential/okta/backend.go b/builtin/credential/okta/backend.go index 58ba6b523..a71cad22e 100644 --- a/builtin/credential/okta/backend.go +++ b/builtin/credential/okta/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package okta import ( diff --git a/builtin/credential/okta/backend_test.go b/builtin/credential/okta/backend_test.go index 749b511eb..85642e802 100644 --- a/builtin/credential/okta/backend_test.go +++ b/builtin/credential/okta/backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package okta import ( diff --git a/builtin/credential/okta/cli.go b/builtin/credential/okta/cli.go index d2f50d568..df252960a 100644 --- a/builtin/credential/okta/cli.go +++ b/builtin/credential/okta/cli.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package okta import ( diff --git a/builtin/credential/okta/cmd/okta/main.go b/builtin/credential/okta/cmd/okta/main.go index 384449212..e28b34a01 100644 --- a/builtin/credential/okta/cmd/okta/main.go +++ b/builtin/credential/okta/cmd/okta/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/builtin/credential/okta/path_config.go b/builtin/credential/okta/path_config.go index 7fc93efb8..7ed38e93b 100644 --- a/builtin/credential/okta/path_config.go +++ b/builtin/credential/okta/path_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package okta import ( diff --git a/builtin/credential/okta/path_groups.go b/builtin/credential/okta/path_groups.go index f9ff0225a..b7b6ac748 100644 --- a/builtin/credential/okta/path_groups.go +++ b/builtin/credential/okta/path_groups.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package okta import ( diff --git a/builtin/credential/okta/path_groups_test.go b/builtin/credential/okta/path_groups_test.go index 84253f379..8e4ba8cc2 100644 --- a/builtin/credential/okta/path_groups_test.go +++ b/builtin/credential/okta/path_groups_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package okta import ( diff --git a/builtin/credential/okta/path_login.go b/builtin/credential/okta/path_login.go index 0f8967576..2e1c670a5 100644 --- a/builtin/credential/okta/path_login.go +++ b/builtin/credential/okta/path_login.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package okta import ( diff --git a/builtin/credential/okta/path_users.go b/builtin/credential/okta/path_users.go index bd5fdc0eb..7f464d2a1 100644 --- a/builtin/credential/okta/path_users.go +++ b/builtin/credential/okta/path_users.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package okta import ( diff --git a/builtin/credential/radius/backend.go b/builtin/credential/radius/backend.go index 03da06efd..deec6a809 100644 --- a/builtin/credential/radius/backend.go +++ b/builtin/credential/radius/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package radius import ( diff --git a/builtin/credential/radius/backend_test.go b/builtin/credential/radius/backend_test.go index 17cf54367..4a3d09c63 100644 --- a/builtin/credential/radius/backend_test.go +++ b/builtin/credential/radius/backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package radius import ( diff --git a/builtin/credential/radius/cmd/radius/main.go b/builtin/credential/radius/cmd/radius/main.go index 99a03a427..b3045a31a 100644 --- a/builtin/credential/radius/cmd/radius/main.go +++ b/builtin/credential/radius/cmd/radius/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/builtin/credential/radius/path_config.go b/builtin/credential/radius/path_config.go index 33d4d0d99..eb915b76e 100644 --- a/builtin/credential/radius/path_config.go +++ b/builtin/credential/radius/path_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package radius import ( diff --git a/builtin/credential/radius/path_login.go b/builtin/credential/radius/path_login.go index c8a1ab8f4..929e41734 100644 --- a/builtin/credential/radius/path_login.go +++ b/builtin/credential/radius/path_login.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package radius import ( diff --git a/builtin/credential/radius/path_users.go b/builtin/credential/radius/path_users.go index de7b5d469..948513b38 100644 --- a/builtin/credential/radius/path_users.go +++ b/builtin/credential/radius/path_users.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package radius import ( diff --git a/builtin/credential/token/cli.go b/builtin/credential/token/cli.go index 64a88169c..853d6eade 100644 --- a/builtin/credential/token/cli.go +++ b/builtin/credential/token/cli.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package token import ( diff --git a/builtin/credential/userpass/backend.go b/builtin/credential/userpass/backend.go index aa45dc376..efdc178fe 100644 --- a/builtin/credential/userpass/backend.go +++ b/builtin/credential/userpass/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package userpass import ( diff --git a/builtin/credential/userpass/backend_test.go b/builtin/credential/userpass/backend_test.go index 83f79db9a..3df8cfa2a 100644 --- a/builtin/credential/userpass/backend_test.go +++ b/builtin/credential/userpass/backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package userpass import ( diff --git a/builtin/credential/userpass/cli.go b/builtin/credential/userpass/cli.go index 092d0927e..e100ae9f2 100644 --- a/builtin/credential/userpass/cli.go +++ b/builtin/credential/userpass/cli.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package userpass import ( diff --git a/builtin/credential/userpass/cmd/userpass/main.go b/builtin/credential/userpass/cmd/userpass/main.go index 21be7d05e..4747a56f4 100644 --- a/builtin/credential/userpass/cmd/userpass/main.go +++ b/builtin/credential/userpass/cmd/userpass/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/builtin/credential/userpass/path_login.go b/builtin/credential/userpass/path_login.go index f41463f60..9211a8056 100644 --- a/builtin/credential/userpass/path_login.go +++ b/builtin/credential/userpass/path_login.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package userpass import ( diff --git a/builtin/credential/userpass/path_user_password.go b/builtin/credential/userpass/path_user_password.go index 500749730..7172dadb6 100644 --- a/builtin/credential/userpass/path_user_password.go +++ b/builtin/credential/userpass/path_user_password.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package userpass import ( diff --git a/builtin/credential/userpass/path_user_policies.go b/builtin/credential/userpass/path_user_policies.go index 3c0172538..126f1aa99 100644 --- a/builtin/credential/userpass/path_user_policies.go +++ b/builtin/credential/userpass/path_user_policies.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package userpass import ( diff --git a/builtin/credential/userpass/path_users.go b/builtin/credential/userpass/path_users.go index 7ec22c5fb..a822c017c 100644 --- a/builtin/credential/userpass/path_users.go +++ b/builtin/credential/userpass/path_users.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package userpass import ( diff --git a/builtin/credential/userpass/stepwise_test.go b/builtin/credential/userpass/stepwise_test.go index 6f7000f58..ab797ed20 100644 --- a/builtin/credential/userpass/stepwise_test.go +++ b/builtin/credential/userpass/stepwise_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package userpass import ( diff --git a/builtin/logical/aws/backend.go b/builtin/logical/aws/backend.go index 9c5abe1e8..34ca5cdc7 100644 --- a/builtin/logical/aws/backend.go +++ b/builtin/logical/aws/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aws import ( diff --git a/builtin/logical/aws/backend_test.go b/builtin/logical/aws/backend_test.go index 5831dfea7..5e59fdf2e 100644 --- a/builtin/logical/aws/backend_test.go +++ b/builtin/logical/aws/backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aws import ( diff --git a/builtin/logical/aws/client.go b/builtin/logical/aws/client.go index 80d839ed5..71d24f3ab 100644 --- a/builtin/logical/aws/client.go +++ b/builtin/logical/aws/client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aws import ( diff --git a/builtin/logical/aws/cmd/aws/main.go b/builtin/logical/aws/cmd/aws/main.go index 1d4e8a04b..28de1eb3f 100644 --- a/builtin/logical/aws/cmd/aws/main.go +++ b/builtin/logical/aws/cmd/aws/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/builtin/logical/aws/iam_policies.go b/builtin/logical/aws/iam_policies.go index caf79e33d..27b6f1822 100644 --- a/builtin/logical/aws/iam_policies.go +++ b/builtin/logical/aws/iam_policies.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aws import ( diff --git a/builtin/logical/aws/iam_policies_test.go b/builtin/logical/aws/iam_policies_test.go index ddba67f6b..584018630 100644 --- a/builtin/logical/aws/iam_policies_test.go +++ b/builtin/logical/aws/iam_policies_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aws import ( diff --git a/builtin/logical/aws/path_config_lease.go b/builtin/logical/aws/path_config_lease.go index b953b2305..05f06bb39 100644 --- a/builtin/logical/aws/path_config_lease.go +++ b/builtin/logical/aws/path_config_lease.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aws import ( diff --git a/builtin/logical/aws/path_config_root.go b/builtin/logical/aws/path_config_root.go index 1262980fa..7a531f6cc 100644 --- a/builtin/logical/aws/path_config_root.go +++ b/builtin/logical/aws/path_config_root.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aws import ( diff --git a/builtin/logical/aws/path_config_root_test.go b/builtin/logical/aws/path_config_root_test.go index d90ee6cac..d15dce377 100644 --- a/builtin/logical/aws/path_config_root_test.go +++ b/builtin/logical/aws/path_config_root_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aws import ( diff --git a/builtin/logical/aws/path_config_rotate_root.go b/builtin/logical/aws/path_config_rotate_root.go index 1f7ca3113..212a9eb3a 100644 --- a/builtin/logical/aws/path_config_rotate_root.go +++ b/builtin/logical/aws/path_config_rotate_root.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aws import ( diff --git a/builtin/logical/aws/path_roles.go b/builtin/logical/aws/path_roles.go index a7c3dd84a..b28f3fa02 100644 --- a/builtin/logical/aws/path_roles.go +++ b/builtin/logical/aws/path_roles.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aws import ( diff --git a/builtin/logical/aws/path_roles_test.go b/builtin/logical/aws/path_roles_test.go index 39c9d9081..eb136b4bc 100644 --- a/builtin/logical/aws/path_roles_test.go +++ b/builtin/logical/aws/path_roles_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aws import ( diff --git a/builtin/logical/aws/path_user.go b/builtin/logical/aws/path_user.go index 035350cdb..ca5e1a295 100644 --- a/builtin/logical/aws/path_user.go +++ b/builtin/logical/aws/path_user.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aws import ( diff --git a/builtin/logical/aws/rollback.go b/builtin/logical/aws/rollback.go index e498fc6b2..847ecd1c2 100644 --- a/builtin/logical/aws/rollback.go +++ b/builtin/logical/aws/rollback.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aws import ( diff --git a/builtin/logical/aws/secret_access_keys.go b/builtin/logical/aws/secret_access_keys.go index eb83ed5fa..9b8a2bc9b 100644 --- a/builtin/logical/aws/secret_access_keys.go +++ b/builtin/logical/aws/secret_access_keys.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aws import ( diff --git a/builtin/logical/aws/secret_access_keys_test.go b/builtin/logical/aws/secret_access_keys_test.go index 7ee9d33b8..9c56e673f 100644 --- a/builtin/logical/aws/secret_access_keys_test.go +++ b/builtin/logical/aws/secret_access_keys_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aws import ( diff --git a/builtin/logical/aws/stepwise_test.go b/builtin/logical/aws/stepwise_test.go index 5eb9c1a21..b6f1ffea8 100644 --- a/builtin/logical/aws/stepwise_test.go +++ b/builtin/logical/aws/stepwise_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aws import ( diff --git a/builtin/logical/consul/backend.go b/builtin/logical/consul/backend.go index 7fce10e26..ea2cd369e 100644 --- a/builtin/logical/consul/backend.go +++ b/builtin/logical/consul/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/builtin/logical/consul/backend_test.go b/builtin/logical/consul/backend_test.go index fa7cf6471..94ce864d9 100644 --- a/builtin/logical/consul/backend_test.go +++ b/builtin/logical/consul/backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/builtin/logical/consul/client.go b/builtin/logical/consul/client.go index fd54830a4..1e30c6602 100644 --- a/builtin/logical/consul/client.go +++ b/builtin/logical/consul/client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/builtin/logical/consul/cmd/consul/main.go b/builtin/logical/consul/cmd/consul/main.go index 669d61d95..f42a535b9 100644 --- a/builtin/logical/consul/cmd/consul/main.go +++ b/builtin/logical/consul/cmd/consul/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/builtin/logical/consul/path_config.go b/builtin/logical/consul/path_config.go index 1fd60e30e..ac76ce1a8 100644 --- a/builtin/logical/consul/path_config.go +++ b/builtin/logical/consul/path_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/builtin/logical/consul/path_roles.go b/builtin/logical/consul/path_roles.go index fa513b501..dbb279da7 100644 --- a/builtin/logical/consul/path_roles.go +++ b/builtin/logical/consul/path_roles.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/builtin/logical/consul/path_token.go b/builtin/logical/consul/path_token.go index 7568774f3..bba0c70dc 100644 --- a/builtin/logical/consul/path_token.go +++ b/builtin/logical/consul/path_token.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/builtin/logical/consul/path_token_test.go b/builtin/logical/consul/path_token_test.go index 98e2b826f..77e7f29ab 100644 --- a/builtin/logical/consul/path_token_test.go +++ b/builtin/logical/consul/path_token_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/builtin/logical/consul/secret_token.go b/builtin/logical/consul/secret_token.go index 6dbccca01..f2f206b70 100644 --- a/builtin/logical/consul/secret_token.go +++ b/builtin/logical/consul/secret_token.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/builtin/logical/database/backend.go b/builtin/logical/database/backend.go index e2e362fd5..f75f9ac1d 100644 --- a/builtin/logical/database/backend.go +++ b/builtin/logical/database/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/builtin/logical/database/backend_test.go b/builtin/logical/database/backend_test.go index 27ce027c9..574bcd01a 100644 --- a/builtin/logical/database/backend_test.go +++ b/builtin/logical/database/backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/builtin/logical/database/credentials.go b/builtin/logical/database/credentials.go index a6e54678d..ef33ab0fd 100644 --- a/builtin/logical/database/credentials.go +++ b/builtin/logical/database/credentials.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/builtin/logical/database/credentials_test.go b/builtin/logical/database/credentials_test.go index 32ddc2685..9054ecdc9 100644 --- a/builtin/logical/database/credentials_test.go +++ b/builtin/logical/database/credentials_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/builtin/logical/database/dbplugin/plugin_test.go b/builtin/logical/database/dbplugin/plugin_test.go index bea9e30ec..2b5f7a981 100644 --- a/builtin/logical/database/dbplugin/plugin_test.go +++ b/builtin/logical/database/dbplugin/plugin_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbplugin_test import ( diff --git a/builtin/logical/database/mocks_test.go b/builtin/logical/database/mocks_test.go index 13eb53006..afb1bbc79 100644 --- a/builtin/logical/database/mocks_test.go +++ b/builtin/logical/database/mocks_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/builtin/logical/database/mockv4.go b/builtin/logical/database/mockv4.go index 4f0b18168..a85f307ec 100644 --- a/builtin/logical/database/mockv4.go +++ b/builtin/logical/database/mockv4.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/builtin/logical/database/mockv5.go b/builtin/logical/database/mockv5.go index 632cfb38e..fecccfed2 100644 --- a/builtin/logical/database/mockv5.go +++ b/builtin/logical/database/mockv5.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/builtin/logical/database/path_config_connection.go b/builtin/logical/database/path_config_connection.go index 9f1ad4cf5..db5cd9a53 100644 --- a/builtin/logical/database/path_config_connection.go +++ b/builtin/logical/database/path_config_connection.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/builtin/logical/database/path_config_connection_test.go b/builtin/logical/database/path_config_connection_test.go index 18f850dbc..8cf060628 100644 --- a/builtin/logical/database/path_config_connection_test.go +++ b/builtin/logical/database/path_config_connection_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/builtin/logical/database/path_creds_create.go b/builtin/logical/database/path_creds_create.go index e57516259..ce7d11879 100644 --- a/builtin/logical/database/path_creds_create.go +++ b/builtin/logical/database/path_creds_create.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/builtin/logical/database/path_roles.go b/builtin/logical/database/path_roles.go index 02a199c53..2de4d8d25 100644 --- a/builtin/logical/database/path_roles.go +++ b/builtin/logical/database/path_roles.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/builtin/logical/database/path_roles_test.go b/builtin/logical/database/path_roles_test.go index bfb206338..dc2eddeb1 100644 --- a/builtin/logical/database/path_roles_test.go +++ b/builtin/logical/database/path_roles_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/builtin/logical/database/path_rotate_credentials.go b/builtin/logical/database/path_rotate_credentials.go index 2d5fa7a8f..f71db7e14 100644 --- a/builtin/logical/database/path_rotate_credentials.go +++ b/builtin/logical/database/path_rotate_credentials.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/builtin/logical/database/rollback.go b/builtin/logical/database/rollback.go index a9810e816..22ce61686 100644 --- a/builtin/logical/database/rollback.go +++ b/builtin/logical/database/rollback.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/builtin/logical/database/rollback_test.go b/builtin/logical/database/rollback_test.go index dc061ae99..8f36fe26a 100644 --- a/builtin/logical/database/rollback_test.go +++ b/builtin/logical/database/rollback_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/builtin/logical/database/rotation.go b/builtin/logical/database/rotation.go index 5ae2756f2..1ef54aeca 100644 --- a/builtin/logical/database/rotation.go +++ b/builtin/logical/database/rotation.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/builtin/logical/database/rotation_test.go b/builtin/logical/database/rotation_test.go index ccbd64588..e0cb96dd6 100644 --- a/builtin/logical/database/rotation_test.go +++ b/builtin/logical/database/rotation_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/builtin/logical/database/secret_creds.go b/builtin/logical/database/secret_creds.go index 9c9b348e2..fefa452a5 100644 --- a/builtin/logical/database/secret_creds.go +++ b/builtin/logical/database/secret_creds.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/builtin/logical/database/version_wrapper.go b/builtin/logical/database/version_wrapper.go index 8c4db1388..daab17964 100644 --- a/builtin/logical/database/version_wrapper.go +++ b/builtin/logical/database/version_wrapper.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/builtin/logical/database/version_wrapper_test.go b/builtin/logical/database/version_wrapper_test.go index 054241f97..95a5f7b6f 100644 --- a/builtin/logical/database/version_wrapper_test.go +++ b/builtin/logical/database/version_wrapper_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/builtin/logical/database/versioning_large_test.go b/builtin/logical/database/versioning_large_test.go index a9f7efde6..b39ddb7e1 100644 --- a/builtin/logical/database/versioning_large_test.go +++ b/builtin/logical/database/versioning_large_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database // This file contains all "large"/expensive tests. These are running requests against a running backend diff --git a/builtin/logical/nomad/backend.go b/builtin/logical/nomad/backend.go index e1df32e87..ec89dd449 100644 --- a/builtin/logical/nomad/backend.go +++ b/builtin/logical/nomad/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package nomad import ( diff --git a/builtin/logical/nomad/backend_test.go b/builtin/logical/nomad/backend_test.go index 8452c2b01..535eeb2a0 100644 --- a/builtin/logical/nomad/backend_test.go +++ b/builtin/logical/nomad/backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package nomad import ( diff --git a/builtin/logical/nomad/cmd/nomad/main.go b/builtin/logical/nomad/cmd/nomad/main.go index 5874b9c94..10f45aabb 100644 --- a/builtin/logical/nomad/cmd/nomad/main.go +++ b/builtin/logical/nomad/cmd/nomad/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/builtin/logical/nomad/path_config_access.go b/builtin/logical/nomad/path_config_access.go index b482a9c1a..7fb32f500 100644 --- a/builtin/logical/nomad/path_config_access.go +++ b/builtin/logical/nomad/path_config_access.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package nomad import ( diff --git a/builtin/logical/nomad/path_config_lease.go b/builtin/logical/nomad/path_config_lease.go index 676e515cb..25df513e8 100644 --- a/builtin/logical/nomad/path_config_lease.go +++ b/builtin/logical/nomad/path_config_lease.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package nomad import ( diff --git a/builtin/logical/nomad/path_creds_create.go b/builtin/logical/nomad/path_creds_create.go index 14df1ff93..150e5d617 100644 --- a/builtin/logical/nomad/path_creds_create.go +++ b/builtin/logical/nomad/path_creds_create.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package nomad import ( diff --git a/builtin/logical/nomad/path_roles.go b/builtin/logical/nomad/path_roles.go index 92109ba74..0fd527547 100644 --- a/builtin/logical/nomad/path_roles.go +++ b/builtin/logical/nomad/path_roles.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package nomad import ( diff --git a/builtin/logical/nomad/secret_token.go b/builtin/logical/nomad/secret_token.go index fd446f7a6..3c6b92068 100644 --- a/builtin/logical/nomad/secret_token.go +++ b/builtin/logical/nomad/secret_token.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package nomad import ( diff --git a/builtin/logical/pki/backend.go b/builtin/logical/pki/backend.go index 1b093d03c..db45f2d49 100644 --- a/builtin/logical/pki/backend.go +++ b/builtin/logical/pki/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/backend_test.go b/builtin/logical/pki/backend_test.go index e416ba1f5..9f2965be8 100644 --- a/builtin/logical/pki/backend_test.go +++ b/builtin/logical/pki/backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/ca_test.go b/builtin/logical/pki/ca_test.go index 9dc418c86..7dbffef24 100644 --- a/builtin/logical/pki/ca_test.go +++ b/builtin/logical/pki/ca_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/ca_util.go b/builtin/logical/pki/ca_util.go index c7dd02299..129c6a923 100644 --- a/builtin/logical/pki/ca_util.go +++ b/builtin/logical/pki/ca_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/cert_util.go b/builtin/logical/pki/cert_util.go index 5845c8085..435a89dc7 100644 --- a/builtin/logical/pki/cert_util.go +++ b/builtin/logical/pki/cert_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/cert_util_test.go b/builtin/logical/pki/cert_util_test.go index de9c70ee0..7fb811cb8 100644 --- a/builtin/logical/pki/cert_util_test.go +++ b/builtin/logical/pki/cert_util_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/chain_test.go b/builtin/logical/pki/chain_test.go index e6057f261..e76df359e 100644 --- a/builtin/logical/pki/chain_test.go +++ b/builtin/logical/pki/chain_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/chain_util.go b/builtin/logical/pki/chain_util.go index 6b7a6a5c7..e884f0755 100644 --- a/builtin/logical/pki/chain_util.go +++ b/builtin/logical/pki/chain_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/cmd/pki/main.go b/builtin/logical/pki/cmd/pki/main.go index 5d28f8543..7c804be23 100644 --- a/builtin/logical/pki/cmd/pki/main.go +++ b/builtin/logical/pki/cmd/pki/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/builtin/logical/pki/config_util.go b/builtin/logical/pki/config_util.go index 1c70c47c5..80814550c 100644 --- a/builtin/logical/pki/config_util.go +++ b/builtin/logical/pki/config_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/crl_test.go b/builtin/logical/pki/crl_test.go index 5a6a61e36..a494a7b2c 100644 --- a/builtin/logical/pki/crl_test.go +++ b/builtin/logical/pki/crl_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/crl_util.go b/builtin/logical/pki/crl_util.go index cb41eb617..a24d968ad 100644 --- a/builtin/logical/pki/crl_util.go +++ b/builtin/logical/pki/crl_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/fields.go b/builtin/logical/pki/fields.go index 722d7bfc9..9e6201d2c 100644 --- a/builtin/logical/pki/fields.go +++ b/builtin/logical/pki/fields.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/integration_test.go b/builtin/logical/pki/integration_test.go index 91d0e96e6..0df673e2d 100644 --- a/builtin/logical/pki/integration_test.go +++ b/builtin/logical/pki/integration_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/key_util.go b/builtin/logical/pki/key_util.go index c40831714..5f2d19c65 100644 --- a/builtin/logical/pki/key_util.go +++ b/builtin/logical/pki/key_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/managed_key_util.go b/builtin/logical/pki/managed_key_util.go index 29ab43381..42e031dec 100644 --- a/builtin/logical/pki/managed_key_util.go +++ b/builtin/logical/pki/managed_key_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package pki diff --git a/builtin/logical/pki/path_config_ca.go b/builtin/logical/pki/path_config_ca.go index 3dcf4e981..3c4927bf1 100644 --- a/builtin/logical/pki/path_config_ca.go +++ b/builtin/logical/pki/path_config_ca.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/path_config_cluster.go b/builtin/logical/pki/path_config_cluster.go index 6d72c2674..a9ea8cb78 100644 --- a/builtin/logical/pki/path_config_cluster.go +++ b/builtin/logical/pki/path_config_cluster.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/path_config_crl.go b/builtin/logical/pki/path_config_crl.go index 81de70566..14623f9e1 100644 --- a/builtin/logical/pki/path_config_crl.go +++ b/builtin/logical/pki/path_config_crl.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/path_config_urls.go b/builtin/logical/pki/path_config_urls.go index 7ab24c8a6..f6c15c742 100644 --- a/builtin/logical/pki/path_config_urls.go +++ b/builtin/logical/pki/path_config_urls.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/path_fetch.go b/builtin/logical/pki/path_fetch.go index 31301b4eb..4f214ee7f 100644 --- a/builtin/logical/pki/path_fetch.go +++ b/builtin/logical/pki/path_fetch.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/path_fetch_issuers.go b/builtin/logical/pki/path_fetch_issuers.go index 60c4c5aa7..400a3eed9 100644 --- a/builtin/logical/pki/path_fetch_issuers.go +++ b/builtin/logical/pki/path_fetch_issuers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/path_fetch_keys.go b/builtin/logical/pki/path_fetch_keys.go index 9f3d46c81..af88bc595 100644 --- a/builtin/logical/pki/path_fetch_keys.go +++ b/builtin/logical/pki/path_fetch_keys.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/path_intermediate.go b/builtin/logical/pki/path_intermediate.go index e83e8bc61..6ba1dfe23 100644 --- a/builtin/logical/pki/path_intermediate.go +++ b/builtin/logical/pki/path_intermediate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/path_issue_sign.go b/builtin/logical/pki/path_issue_sign.go index d7cac0bfa..f685e9154 100644 --- a/builtin/logical/pki/path_issue_sign.go +++ b/builtin/logical/pki/path_issue_sign.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/path_manage_issuers.go b/builtin/logical/pki/path_manage_issuers.go index b0af377a5..7d778dedd 100644 --- a/builtin/logical/pki/path_manage_issuers.go +++ b/builtin/logical/pki/path_manage_issuers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/path_manage_keys.go b/builtin/logical/pki/path_manage_keys.go index a722f90d3..4d694204a 100644 --- a/builtin/logical/pki/path_manage_keys.go +++ b/builtin/logical/pki/path_manage_keys.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/path_manage_keys_test.go b/builtin/logical/pki/path_manage_keys_test.go index ed968cbaf..3c5708a8b 100644 --- a/builtin/logical/pki/path_manage_keys_test.go +++ b/builtin/logical/pki/path_manage_keys_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/path_ocsp.go b/builtin/logical/pki/path_ocsp.go index 24ea933eb..ad181cf41 100644 --- a/builtin/logical/pki/path_ocsp.go +++ b/builtin/logical/pki/path_ocsp.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/path_ocsp_test.go b/builtin/logical/pki/path_ocsp_test.go index 22a0c6c8e..577e4f984 100644 --- a/builtin/logical/pki/path_ocsp_test.go +++ b/builtin/logical/pki/path_ocsp_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/path_resign_crls.go b/builtin/logical/pki/path_resign_crls.go index 075dfc52f..93b083709 100644 --- a/builtin/logical/pki/path_resign_crls.go +++ b/builtin/logical/pki/path_resign_crls.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/path_resign_crls_test.go b/builtin/logical/pki/path_resign_crls_test.go index 5016f3f82..f1ee1152c 100644 --- a/builtin/logical/pki/path_resign_crls_test.go +++ b/builtin/logical/pki/path_resign_crls_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/path_revoke.go b/builtin/logical/pki/path_revoke.go index ccc0119de..3c86c72c2 100644 --- a/builtin/logical/pki/path_revoke.go +++ b/builtin/logical/pki/path_revoke.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/path_roles.go b/builtin/logical/pki/path_roles.go index 241e4be76..1fd2cc582 100644 --- a/builtin/logical/pki/path_roles.go +++ b/builtin/logical/pki/path_roles.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/path_roles_test.go b/builtin/logical/pki/path_roles_test.go index 9395d3e22..fb729e836 100644 --- a/builtin/logical/pki/path_roles_test.go +++ b/builtin/logical/pki/path_roles_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/path_root.go b/builtin/logical/pki/path_root.go index 6c0ccffa6..abcc0672b 100644 --- a/builtin/logical/pki/path_root.go +++ b/builtin/logical/pki/path_root.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/path_sign_issuers.go b/builtin/logical/pki/path_sign_issuers.go index 6807d276a..0e478834d 100644 --- a/builtin/logical/pki/path_sign_issuers.go +++ b/builtin/logical/pki/path_sign_issuers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/path_tidy.go b/builtin/logical/pki/path_tidy.go index f100f838c..330f6ca97 100644 --- a/builtin/logical/pki/path_tidy.go +++ b/builtin/logical/pki/path_tidy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/path_tidy_test.go b/builtin/logical/pki/path_tidy_test.go index 142b5c715..d24555bdd 100644 --- a/builtin/logical/pki/path_tidy_test.go +++ b/builtin/logical/pki/path_tidy_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/periodic.go b/builtin/logical/pki/periodic.go index 606b3ae74..18032fbef 100644 --- a/builtin/logical/pki/periodic.go +++ b/builtin/logical/pki/periodic.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/secret_certs.go b/builtin/logical/pki/secret_certs.go index 00c733913..11ebcd2ac 100644 --- a/builtin/logical/pki/secret_certs.go +++ b/builtin/logical/pki/secret_certs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/storage.go b/builtin/logical/pki/storage.go index aee1ce7f1..b410a00ed 100644 --- a/builtin/logical/pki/storage.go +++ b/builtin/logical/pki/storage.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/storage_migrations.go b/builtin/logical/pki/storage_migrations.go index 9104e5c6f..f4b923726 100644 --- a/builtin/logical/pki/storage_migrations.go +++ b/builtin/logical/pki/storage_migrations.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/storage_migrations_test.go b/builtin/logical/pki/storage_migrations_test.go index b603321dd..754f3993d 100644 --- a/builtin/logical/pki/storage_migrations_test.go +++ b/builtin/logical/pki/storage_migrations_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/storage_test.go b/builtin/logical/pki/storage_test.go index 17760653b..625c046d0 100644 --- a/builtin/logical/pki/storage_test.go +++ b/builtin/logical/pki/storage_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/storage_unified.go b/builtin/logical/pki/storage_unified.go index 6c426a3ba..28c656bb8 100644 --- a/builtin/logical/pki/storage_unified.go +++ b/builtin/logical/pki/storage_unified.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/test_helpers.go b/builtin/logical/pki/test_helpers.go index 491575138..ef9b46834 100644 --- a/builtin/logical/pki/test_helpers.go +++ b/builtin/logical/pki/test_helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pki/util.go b/builtin/logical/pki/util.go index d28ba60e2..d90e055e6 100644 --- a/builtin/logical/pki/util.go +++ b/builtin/logical/pki/util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pki import ( diff --git a/builtin/logical/pkiext/nginx_test.go b/builtin/logical/pkiext/nginx_test.go index 9992627c8..cc2ca5fbf 100644 --- a/builtin/logical/pkiext/nginx_test.go +++ b/builtin/logical/pkiext/nginx_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pkiext import ( diff --git a/builtin/logical/pkiext/test_helpers.go b/builtin/logical/pkiext/test_helpers.go index 942c37a4a..9931b1613 100644 --- a/builtin/logical/pkiext/test_helpers.go +++ b/builtin/logical/pkiext/test_helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pkiext import ( diff --git a/builtin/logical/pkiext/zlint_test.go b/builtin/logical/pkiext/zlint_test.go index bf0d1e636..7c7902b01 100644 --- a/builtin/logical/pkiext/zlint_test.go +++ b/builtin/logical/pkiext/zlint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pkiext import ( diff --git a/builtin/logical/rabbitmq/backend.go b/builtin/logical/rabbitmq/backend.go index d1f223810..548a55402 100644 --- a/builtin/logical/rabbitmq/backend.go +++ b/builtin/logical/rabbitmq/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package rabbitmq import ( diff --git a/builtin/logical/rabbitmq/backend_test.go b/builtin/logical/rabbitmq/backend_test.go index 7df1384fe..ef052cdbd 100644 --- a/builtin/logical/rabbitmq/backend_test.go +++ b/builtin/logical/rabbitmq/backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package rabbitmq import ( diff --git a/builtin/logical/rabbitmq/cmd/rabbitmq/main.go b/builtin/logical/rabbitmq/cmd/rabbitmq/main.go index 90a8c5679..2cb62daca 100644 --- a/builtin/logical/rabbitmq/cmd/rabbitmq/main.go +++ b/builtin/logical/rabbitmq/cmd/rabbitmq/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/builtin/logical/rabbitmq/passwords.go b/builtin/logical/rabbitmq/passwords.go index 01bfd41f0..8ba08a0af 100644 --- a/builtin/logical/rabbitmq/passwords.go +++ b/builtin/logical/rabbitmq/passwords.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package rabbitmq import ( diff --git a/builtin/logical/rabbitmq/path_config_connection.go b/builtin/logical/rabbitmq/path_config_connection.go index 51abe2547..dd735ac45 100644 --- a/builtin/logical/rabbitmq/path_config_connection.go +++ b/builtin/logical/rabbitmq/path_config_connection.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package rabbitmq import ( diff --git a/builtin/logical/rabbitmq/path_config_connection_test.go b/builtin/logical/rabbitmq/path_config_connection_test.go index dddee8f0c..55e6b2cd0 100644 --- a/builtin/logical/rabbitmq/path_config_connection_test.go +++ b/builtin/logical/rabbitmq/path_config_connection_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package rabbitmq import ( diff --git a/builtin/logical/rabbitmq/path_config_lease.go b/builtin/logical/rabbitmq/path_config_lease.go index 0b6bb5721..f885d68b7 100644 --- a/builtin/logical/rabbitmq/path_config_lease.go +++ b/builtin/logical/rabbitmq/path_config_lease.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package rabbitmq import ( diff --git a/builtin/logical/rabbitmq/path_config_lease_test.go b/builtin/logical/rabbitmq/path_config_lease_test.go index ec7e7e169..9e565c56f 100644 --- a/builtin/logical/rabbitmq/path_config_lease_test.go +++ b/builtin/logical/rabbitmq/path_config_lease_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package rabbitmq import ( diff --git a/builtin/logical/rabbitmq/path_role_create.go b/builtin/logical/rabbitmq/path_role_create.go index 5ad1ff6bd..3f3b3ba7c 100644 --- a/builtin/logical/rabbitmq/path_role_create.go +++ b/builtin/logical/rabbitmq/path_role_create.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package rabbitmq import ( diff --git a/builtin/logical/rabbitmq/path_role_create_test.go b/builtin/logical/rabbitmq/path_role_create_test.go index 2c3d5f4b8..ecb974687 100644 --- a/builtin/logical/rabbitmq/path_role_create_test.go +++ b/builtin/logical/rabbitmq/path_role_create_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package rabbitmq import ( diff --git a/builtin/logical/rabbitmq/path_roles.go b/builtin/logical/rabbitmq/path_roles.go index 2031c7d99..c236e33d2 100644 --- a/builtin/logical/rabbitmq/path_roles.go +++ b/builtin/logical/rabbitmq/path_roles.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package rabbitmq import ( diff --git a/builtin/logical/rabbitmq/secret_creds.go b/builtin/logical/rabbitmq/secret_creds.go index b31dfc718..2d0cce308 100644 --- a/builtin/logical/rabbitmq/secret_creds.go +++ b/builtin/logical/rabbitmq/secret_creds.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package rabbitmq import ( diff --git a/builtin/logical/ssh/backend.go b/builtin/logical/ssh/backend.go index 454937f16..53105e70f 100644 --- a/builtin/logical/ssh/backend.go +++ b/builtin/logical/ssh/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ssh import ( diff --git a/builtin/logical/ssh/backend_test.go b/builtin/logical/ssh/backend_test.go index 6382d61d2..075ecd056 100644 --- a/builtin/logical/ssh/backend_test.go +++ b/builtin/logical/ssh/backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ssh import ( diff --git a/builtin/logical/ssh/cmd/ssh/main.go b/builtin/logical/ssh/cmd/ssh/main.go index fbeeacda7..a9cf8b269 100644 --- a/builtin/logical/ssh/cmd/ssh/main.go +++ b/builtin/logical/ssh/cmd/ssh/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/builtin/logical/ssh/path_cleanup_dynamic_host_keys.go b/builtin/logical/ssh/path_cleanup_dynamic_host_keys.go index 4318e0b01..08d6ee5f4 100644 --- a/builtin/logical/ssh/path_cleanup_dynamic_host_keys.go +++ b/builtin/logical/ssh/path_cleanup_dynamic_host_keys.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ssh import ( diff --git a/builtin/logical/ssh/path_config_ca.go b/builtin/logical/ssh/path_config_ca.go index 2fd76c12f..973d60f8d 100644 --- a/builtin/logical/ssh/path_config_ca.go +++ b/builtin/logical/ssh/path_config_ca.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ssh import ( diff --git a/builtin/logical/ssh/path_config_ca_test.go b/builtin/logical/ssh/path_config_ca_test.go index 651ed42ce..4c33fc808 100644 --- a/builtin/logical/ssh/path_config_ca_test.go +++ b/builtin/logical/ssh/path_config_ca_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ssh import ( diff --git a/builtin/logical/ssh/path_config_zeroaddress.go b/builtin/logical/ssh/path_config_zeroaddress.go index d1e31e234..fda59fec4 100644 --- a/builtin/logical/ssh/path_config_zeroaddress.go +++ b/builtin/logical/ssh/path_config_zeroaddress.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ssh import ( diff --git a/builtin/logical/ssh/path_creds_create.go b/builtin/logical/ssh/path_creds_create.go index d8b8f8bbf..2a0698145 100644 --- a/builtin/logical/ssh/path_creds_create.go +++ b/builtin/logical/ssh/path_creds_create.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ssh import ( diff --git a/builtin/logical/ssh/path_fetch.go b/builtin/logical/ssh/path_fetch.go index 2f45c1c35..577635298 100644 --- a/builtin/logical/ssh/path_fetch.go +++ b/builtin/logical/ssh/path_fetch.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ssh import ( diff --git a/builtin/logical/ssh/path_issue.go b/builtin/logical/ssh/path_issue.go index 77b644590..b6cb6b7c3 100644 --- a/builtin/logical/ssh/path_issue.go +++ b/builtin/logical/ssh/path_issue.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ssh import ( diff --git a/builtin/logical/ssh/path_issue_sign.go b/builtin/logical/ssh/path_issue_sign.go index 0ce45d518..dfc97ce4b 100644 --- a/builtin/logical/ssh/path_issue_sign.go +++ b/builtin/logical/ssh/path_issue_sign.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ssh import ( diff --git a/builtin/logical/ssh/path_lookup.go b/builtin/logical/ssh/path_lookup.go index 05b62af96..119daf807 100644 --- a/builtin/logical/ssh/path_lookup.go +++ b/builtin/logical/ssh/path_lookup.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ssh import ( diff --git a/builtin/logical/ssh/path_roles.go b/builtin/logical/ssh/path_roles.go index a41772578..2a6f2ae95 100644 --- a/builtin/logical/ssh/path_roles.go +++ b/builtin/logical/ssh/path_roles.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ssh import ( diff --git a/builtin/logical/ssh/path_sign.go b/builtin/logical/ssh/path_sign.go index 19196013e..13a358797 100644 --- a/builtin/logical/ssh/path_sign.go +++ b/builtin/logical/ssh/path_sign.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ssh import ( diff --git a/builtin/logical/ssh/path_verify.go b/builtin/logical/ssh/path_verify.go index 7d9814751..7efd5fec4 100644 --- a/builtin/logical/ssh/path_verify.go +++ b/builtin/logical/ssh/path_verify.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ssh import ( diff --git a/builtin/logical/ssh/secret_otp.go b/builtin/logical/ssh/secret_otp.go index 72e9903f1..a70cf601c 100644 --- a/builtin/logical/ssh/secret_otp.go +++ b/builtin/logical/ssh/secret_otp.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ssh import ( diff --git a/builtin/logical/ssh/util.go b/builtin/logical/ssh/util.go index 9eabfa1d8..b88675067 100644 --- a/builtin/logical/ssh/util.go +++ b/builtin/logical/ssh/util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ssh import ( diff --git a/builtin/logical/totp/backend.go b/builtin/logical/totp/backend.go index d2494b499..d3bbaf529 100644 --- a/builtin/logical/totp/backend.go +++ b/builtin/logical/totp/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package totp import ( diff --git a/builtin/logical/totp/backend_test.go b/builtin/logical/totp/backend_test.go index 0b68599df..12600427f 100644 --- a/builtin/logical/totp/backend_test.go +++ b/builtin/logical/totp/backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package totp import ( diff --git a/builtin/logical/totp/cmd/totp/main.go b/builtin/logical/totp/cmd/totp/main.go index c85728810..9a2a49bd2 100644 --- a/builtin/logical/totp/cmd/totp/main.go +++ b/builtin/logical/totp/cmd/totp/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/builtin/logical/totp/path_code.go b/builtin/logical/totp/path_code.go index af56f37da..e1ad3dc04 100644 --- a/builtin/logical/totp/path_code.go +++ b/builtin/logical/totp/path_code.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package totp import ( diff --git a/builtin/logical/totp/path_keys.go b/builtin/logical/totp/path_keys.go index d7f7f2abe..86d9438a4 100644 --- a/builtin/logical/totp/path_keys.go +++ b/builtin/logical/totp/path_keys.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package totp import ( diff --git a/builtin/logical/transit/backend.go b/builtin/logical/transit/backend.go index 05e2a043d..faad5bb93 100644 --- a/builtin/logical/transit/backend.go +++ b/builtin/logical/transit/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/backend_test.go b/builtin/logical/transit/backend_test.go index 71cbfb641..44d901456 100644 --- a/builtin/logical/transit/backend_test.go +++ b/builtin/logical/transit/backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/cmd/transit/main.go b/builtin/logical/transit/cmd/transit/main.go index 72eeda828..7e2ae8777 100644 --- a/builtin/logical/transit/cmd/transit/main.go +++ b/builtin/logical/transit/cmd/transit/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/builtin/logical/transit/managed_key_util.go b/builtin/logical/transit/managed_key_util.go index 629714e68..c4dc1e9fe 100644 --- a/builtin/logical/transit/managed_key_util.go +++ b/builtin/logical/transit/managed_key_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package transit diff --git a/builtin/logical/transit/path_backup.go b/builtin/logical/transit/path_backup.go index ef13f0aab..f750a337b 100644 --- a/builtin/logical/transit/path_backup.go +++ b/builtin/logical/transit/path_backup.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_backup_test.go b/builtin/logical/transit/path_backup_test.go index 89c5c3db5..ed9a7477d 100644 --- a/builtin/logical/transit/path_backup_test.go +++ b/builtin/logical/transit/path_backup_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_cache_config.go b/builtin/logical/transit/path_cache_config.go index e76929976..0208f14c5 100644 --- a/builtin/logical/transit/path_cache_config.go +++ b/builtin/logical/transit/path_cache_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_cache_config_test.go b/builtin/logical/transit/path_cache_config_test.go index d8e0a7b56..f5c8316d8 100644 --- a/builtin/logical/transit/path_cache_config_test.go +++ b/builtin/logical/transit/path_cache_config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_config_keys.go b/builtin/logical/transit/path_config_keys.go index 2294636e3..cc8c78d26 100644 --- a/builtin/logical/transit/path_config_keys.go +++ b/builtin/logical/transit/path_config_keys.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_config_keys_test.go b/builtin/logical/transit/path_config_keys_test.go index 8d8f9f940..dde7c58a0 100644 --- a/builtin/logical/transit/path_config_keys_test.go +++ b/builtin/logical/transit/path_config_keys_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_datakey.go b/builtin/logical/transit/path_datakey.go index 42da16191..283432fc4 100644 --- a/builtin/logical/transit/path_datakey.go +++ b/builtin/logical/transit/path_datakey.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_decrypt.go b/builtin/logical/transit/path_decrypt.go index c720b41c4..b199bf195 100644 --- a/builtin/logical/transit/path_decrypt.go +++ b/builtin/logical/transit/path_decrypt.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_decrypt_bench_test.go b/builtin/logical/transit/path_decrypt_bench_test.go index 67d4bc3b5..c4dc72837 100644 --- a/builtin/logical/transit/path_decrypt_bench_test.go +++ b/builtin/logical/transit/path_decrypt_bench_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_decrypt_test.go b/builtin/logical/transit/path_decrypt_test.go index 928439dd3..e69402c7d 100644 --- a/builtin/logical/transit/path_decrypt_test.go +++ b/builtin/logical/transit/path_decrypt_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_encrypt.go b/builtin/logical/transit/path_encrypt.go index 3e074da63..8755e3679 100644 --- a/builtin/logical/transit/path_encrypt.go +++ b/builtin/logical/transit/path_encrypt.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_encrypt_bench_test.go b/builtin/logical/transit/path_encrypt_bench_test.go index e648c6e02..8aef39dd4 100644 --- a/builtin/logical/transit/path_encrypt_bench_test.go +++ b/builtin/logical/transit/path_encrypt_bench_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_encrypt_test.go b/builtin/logical/transit/path_encrypt_test.go index 5846ac13b..131517fda 100644 --- a/builtin/logical/transit/path_encrypt_test.go +++ b/builtin/logical/transit/path_encrypt_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_export.go b/builtin/logical/transit/path_export.go index 3b0d97e15..5f1089db1 100644 --- a/builtin/logical/transit/path_export.go +++ b/builtin/logical/transit/path_export.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_export_test.go b/builtin/logical/transit/path_export_test.go index 6d44894e6..df9cd8e55 100644 --- a/builtin/logical/transit/path_export_test.go +++ b/builtin/logical/transit/path_export_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_hash.go b/builtin/logical/transit/path_hash.go index 51ca37daa..b5f1d7de5 100644 --- a/builtin/logical/transit/path_hash.go +++ b/builtin/logical/transit/path_hash.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_hash_test.go b/builtin/logical/transit/path_hash_test.go index 3e5dce95c..084012dd4 100644 --- a/builtin/logical/transit/path_hash_test.go +++ b/builtin/logical/transit/path_hash_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_hmac.go b/builtin/logical/transit/path_hmac.go index 3fdde6bb0..a9a5797ff 100644 --- a/builtin/logical/transit/path_hmac.go +++ b/builtin/logical/transit/path_hmac.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_hmac_test.go b/builtin/logical/transit/path_hmac_test.go index 204e94ec0..af98dd2ca 100644 --- a/builtin/logical/transit/path_hmac_test.go +++ b/builtin/logical/transit/path_hmac_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_import.go b/builtin/logical/transit/path_import.go index 817cf5fc5..1bbe75637 100644 --- a/builtin/logical/transit/path_import.go +++ b/builtin/logical/transit/path_import.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_import_test.go b/builtin/logical/transit/path_import_test.go index aa529dd0a..67b7a9ce4 100644 --- a/builtin/logical/transit/path_import_test.go +++ b/builtin/logical/transit/path_import_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_keys.go b/builtin/logical/transit/path_keys.go index c8e6b6b7b..e4a7171d6 100644 --- a/builtin/logical/transit/path_keys.go +++ b/builtin/logical/transit/path_keys.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_keys_config.go b/builtin/logical/transit/path_keys_config.go index f2628e4f0..957934a16 100644 --- a/builtin/logical/transit/path_keys_config.go +++ b/builtin/logical/transit/path_keys_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_keys_config_test.go b/builtin/logical/transit/path_keys_config_test.go index f6dee4509..335607c3b 100644 --- a/builtin/logical/transit/path_keys_config_test.go +++ b/builtin/logical/transit/path_keys_config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_keys_test.go b/builtin/logical/transit/path_keys_test.go index 04c1d8da0..4b3303988 100644 --- a/builtin/logical/transit/path_keys_test.go +++ b/builtin/logical/transit/path_keys_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit_test import ( diff --git a/builtin/logical/transit/path_random.go b/builtin/logical/transit/path_random.go index 3b903e0b3..c4dde5f9a 100644 --- a/builtin/logical/transit/path_random.go +++ b/builtin/logical/transit/path_random.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_random_test.go b/builtin/logical/transit/path_random_test.go index 037a00b55..35782ec3e 100644 --- a/builtin/logical/transit/path_random_test.go +++ b/builtin/logical/transit/path_random_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_restore.go b/builtin/logical/transit/path_restore.go index fa8c142bb..bbaa7ce1c 100644 --- a/builtin/logical/transit/path_restore.go +++ b/builtin/logical/transit/path_restore.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_restore_test.go b/builtin/logical/transit/path_restore_test.go index 6e13b985e..3dcc552d9 100644 --- a/builtin/logical/transit/path_restore_test.go +++ b/builtin/logical/transit/path_restore_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_rewrap.go b/builtin/logical/transit/path_rewrap.go index 2bb4bcbc9..dedf0a9d3 100644 --- a/builtin/logical/transit/path_rewrap.go +++ b/builtin/logical/transit/path_rewrap.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_rewrap_test.go b/builtin/logical/transit/path_rewrap_test.go index 04281a183..097626c1c 100644 --- a/builtin/logical/transit/path_rewrap_test.go +++ b/builtin/logical/transit/path_rewrap_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_rotate.go b/builtin/logical/transit/path_rotate.go index 0a1478587..a693a5abb 100644 --- a/builtin/logical/transit/path_rotate.go +++ b/builtin/logical/transit/path_rotate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_sign_verify.go b/builtin/logical/transit/path_sign_verify.go index 5ef1dcc02..3623007e1 100644 --- a/builtin/logical/transit/path_sign_verify.go +++ b/builtin/logical/transit/path_sign_verify.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_sign_verify_test.go b/builtin/logical/transit/path_sign_verify_test.go index e679a0897..63aef9c80 100644 --- a/builtin/logical/transit/path_sign_verify_test.go +++ b/builtin/logical/transit/path_sign_verify_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_trim.go b/builtin/logical/transit/path_trim.go index 60d6ef9dd..6c464e7d0 100644 --- a/builtin/logical/transit/path_trim.go +++ b/builtin/logical/transit/path_trim.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_trim_test.go b/builtin/logical/transit/path_trim_test.go index db38aad93..b63d644cb 100644 --- a/builtin/logical/transit/path_trim_test.go +++ b/builtin/logical/transit/path_trim_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_wrapping_key.go b/builtin/logical/transit/path_wrapping_key.go index 1a08318db..6ccf90f2c 100644 --- a/builtin/logical/transit/path_wrapping_key.go +++ b/builtin/logical/transit/path_wrapping_key.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/path_wrapping_key_test.go b/builtin/logical/transit/path_wrapping_key_test.go index da90585a4..468c3f4de 100644 --- a/builtin/logical/transit/path_wrapping_key_test.go +++ b/builtin/logical/transit/path_wrapping_key_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/logical/transit/stepwise_test.go b/builtin/logical/transit/stepwise_test.go index 6d0d193da..2b40cea21 100644 --- a/builtin/logical/transit/stepwise_test.go +++ b/builtin/logical/transit/stepwise_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package transit import ( diff --git a/builtin/plugin/backend.go b/builtin/plugin/backend.go index b165a10c1..0ca6a627f 100644 --- a/builtin/plugin/backend.go +++ b/builtin/plugin/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/builtin/plugin/backend_lazyLoad_test.go b/builtin/plugin/backend_lazyLoad_test.go index 4d2727037..b2f6303ba 100644 --- a/builtin/plugin/backend_lazyLoad_test.go +++ b/builtin/plugin/backend_lazyLoad_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/builtin/plugin/backend_test.go b/builtin/plugin/backend_test.go index d7a678ba1..28dd1e348 100644 --- a/builtin/plugin/backend_test.go +++ b/builtin/plugin/backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin_test import ( diff --git a/builtin/plugin/mock_plugin_test.go b/builtin/plugin/mock_plugin_test.go index 532b7c763..9279c828f 100644 --- a/builtin/plugin/mock_plugin_test.go +++ b/builtin/plugin/mock_plugin_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/builtin/plugin/v5/backend.go b/builtin/plugin/v5/backend.go index 3f7a9a884..eac311b4a 100644 --- a/builtin/plugin/v5/backend.go +++ b/builtin/plugin/v5/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/command/agent.go b/command/agent.go index e6a4c0af3..9772ff33f 100644 --- a/command/agent.go +++ b/command/agent.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/agent/alicloud_end_to_end_test.go b/command/agent/alicloud_end_to_end_test.go index 646108112..969b06633 100644 --- a/command/agent/alicloud_end_to_end_test.go +++ b/command/agent/alicloud_end_to_end_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/command/agent/approle_end_to_end_test.go b/command/agent/approle_end_to_end_test.go index e3456b3b5..a0e51f0bb 100644 --- a/command/agent/approle_end_to_end_test.go +++ b/command/agent/approle_end_to_end_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/command/agent/auth/alicloud/alicloud.go b/command/agent/auth/alicloud/alicloud.go index 6fc640c29..494dedb26 100644 --- a/command/agent/auth/alicloud/alicloud.go +++ b/command/agent/auth/alicloud/alicloud.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package alicloud import ( diff --git a/command/agent/auth/approle/approle.go b/command/agent/auth/approle/approle.go index e58299ad7..889e7bd41 100644 --- a/command/agent/auth/approle/approle.go +++ b/command/agent/auth/approle/approle.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package approle import ( diff --git a/command/agent/auth/auth.go b/command/agent/auth/auth.go index 3be7951e0..80bc5bbbb 100644 --- a/command/agent/auth/auth.go +++ b/command/agent/auth/auth.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package auth import ( diff --git a/command/agent/auth/auth_test.go b/command/agent/auth/auth_test.go index 950134274..442541675 100644 --- a/command/agent/auth/auth_test.go +++ b/command/agent/auth/auth_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package auth import ( diff --git a/command/agent/auth/aws/aws.go b/command/agent/auth/aws/aws.go index b9dbdd549..b45192d8b 100644 --- a/command/agent/auth/aws/aws.go +++ b/command/agent/auth/aws/aws.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aws import ( diff --git a/command/agent/auth/azure/azure.go b/command/agent/auth/azure/azure.go index 5554e72c2..d4689f0d5 100644 --- a/command/agent/auth/azure/azure.go +++ b/command/agent/auth/azure/azure.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package azure import ( diff --git a/command/agent/auth/cert/cert.go b/command/agent/auth/cert/cert.go index 2703aa8ec..96f43de69 100644 --- a/command/agent/auth/cert/cert.go +++ b/command/agent/auth/cert/cert.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cert import ( diff --git a/command/agent/auth/cert/cert_test.go b/command/agent/auth/cert/cert_test.go index 15ff8f432..a5d5e6a5f 100644 --- a/command/agent/auth/cert/cert_test.go +++ b/command/agent/auth/cert/cert_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cert import ( diff --git a/command/agent/auth/cf/cf.go b/command/agent/auth/cf/cf.go index 9508b7164..90ae802e3 100644 --- a/command/agent/auth/cf/cf.go +++ b/command/agent/auth/cf/cf.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cf import ( diff --git a/command/agent/auth/gcp/gcp.go b/command/agent/auth/gcp/gcp.go index 45d9b74f9..145589b78 100644 --- a/command/agent/auth/gcp/gcp.go +++ b/command/agent/auth/gcp/gcp.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package gcp import ( diff --git a/command/agent/auth/jwt/jwt.go b/command/agent/auth/jwt/jwt.go index ff96a32e0..50ffe1055 100644 --- a/command/agent/auth/jwt/jwt.go +++ b/command/agent/auth/jwt/jwt.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package jwt import ( diff --git a/command/agent/auth/jwt/jwt_test.go b/command/agent/auth/jwt/jwt_test.go index eb278dd01..2fa21f0ab 100644 --- a/command/agent/auth/jwt/jwt_test.go +++ b/command/agent/auth/jwt/jwt_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package jwt import ( diff --git a/command/agent/auth/kerberos/integtest/integrationtest.sh b/command/agent/auth/kerberos/integtest/integrationtest.sh index 28da55f59..b3d9edf65 100755 --- a/command/agent/auth/kerberos/integtest/integrationtest.sh +++ b/command/agent/auth/kerberos/integtest/integrationtest.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # Instructions # This integration test is for the Vault Kerberos agent. # Before running, execute: diff --git a/command/agent/auth/kerberos/kerberos.go b/command/agent/auth/kerberos/kerberos.go index 894c177d5..31ab6c67d 100644 --- a/command/agent/auth/kerberos/kerberos.go +++ b/command/agent/auth/kerberos/kerberos.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kerberos import ( diff --git a/command/agent/auth/kerberos/kerberos_test.go b/command/agent/auth/kerberos/kerberos_test.go index 4cfe3479e..25ccccdfd 100644 --- a/command/agent/auth/kerberos/kerberos_test.go +++ b/command/agent/auth/kerberos/kerberos_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kerberos import ( diff --git a/command/agent/auth/kubernetes/kubernetes.go b/command/agent/auth/kubernetes/kubernetes.go index c30f3cb5a..80bacd3a6 100644 --- a/command/agent/auth/kubernetes/kubernetes.go +++ b/command/agent/auth/kubernetes/kubernetes.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kubernetes import ( diff --git a/command/agent/auth/kubernetes/kubernetes_test.go b/command/agent/auth/kubernetes/kubernetes_test.go index 34f965c77..d95c71bf7 100644 --- a/command/agent/auth/kubernetes/kubernetes_test.go +++ b/command/agent/auth/kubernetes/kubernetes_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kubernetes import ( diff --git a/command/agent/auth/oci/oci.go b/command/agent/auth/oci/oci.go index 29d311ca9..4ce62ade3 100644 --- a/command/agent/auth/oci/oci.go +++ b/command/agent/auth/oci/oci.go @@ -1,10 +1,12 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oci import ( "context" "errors" "fmt" - "github.com/hashicorp/go-secure-stdlib/parseutil" "net/http" "net/url" "os" @@ -14,6 +16,7 @@ import ( "time" "github.com/hashicorp/go-hclog" + "github.com/hashicorp/go-secure-stdlib/parseutil" "github.com/hashicorp/vault/api" "github.com/hashicorp/vault/command/agent/auth" "github.com/oracle/oci-go-sdk/common" diff --git a/command/agent/auth/token-file/token_file.go b/command/agent/auth/token-file/token_file.go index c5a857937..c37a0866e 100644 --- a/command/agent/auth/token-file/token_file.go +++ b/command/agent/auth/token-file/token_file.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package token_file import ( diff --git a/command/agent/auth/token-file/token_file_test.go b/command/agent/auth/token-file/token_file_test.go index 0dd737671..8932beb75 100644 --- a/command/agent/auth/token-file/token_file_test.go +++ b/command/agent/auth/token-file/token_file_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package token_file import ( diff --git a/command/agent/auto_auth_preload_token_end_to_end_test.go b/command/agent/auto_auth_preload_token_end_to_end_test.go index 3f8d972a3..2ad81d3e6 100644 --- a/command/agent/auto_auth_preload_token_end_to_end_test.go +++ b/command/agent/auto_auth_preload_token_end_to_end_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/command/agent/aws_end_to_end_test.go b/command/agent/aws_end_to_end_test.go index e8ed3a508..5b23461fa 100644 --- a/command/agent/aws_end_to_end_test.go +++ b/command/agent/aws_end_to_end_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/command/agent/cache/api_proxy.go b/command/agent/cache/api_proxy.go index 1a754e064..4581117a0 100644 --- a/command/agent/cache/api_proxy.go +++ b/command/agent/cache/api_proxy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cache import ( diff --git a/command/agent/cache/api_proxy_test.go b/command/agent/cache/api_proxy_test.go index aec0b72d1..4efc21a76 100644 --- a/command/agent/cache/api_proxy_test.go +++ b/command/agent/cache/api_proxy_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cache import ( diff --git a/command/agent/cache/cache_test.go b/command/agent/cache/cache_test.go index de66f86cc..19671b90b 100644 --- a/command/agent/cache/cache_test.go +++ b/command/agent/cache/cache_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cache import ( diff --git a/command/agent/cache/cacheboltdb/bolt.go b/command/agent/cache/cacheboltdb/bolt.go index 72cb7f3b8..434b41165 100644 --- a/command/agent/cache/cacheboltdb/bolt.go +++ b/command/agent/cache/cacheboltdb/bolt.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cacheboltdb import ( diff --git a/command/agent/cache/cacheboltdb/bolt_test.go b/command/agent/cache/cacheboltdb/bolt_test.go index d6f5a742e..c5c057d41 100644 --- a/command/agent/cache/cacheboltdb/bolt_test.go +++ b/command/agent/cache/cacheboltdb/bolt_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cacheboltdb import ( diff --git a/command/agent/cache/cachememdb/cache_memdb.go b/command/agent/cache/cachememdb/cache_memdb.go index 7fdad303b..93aa2bf78 100644 --- a/command/agent/cache/cachememdb/cache_memdb.go +++ b/command/agent/cache/cachememdb/cache_memdb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachememdb import ( diff --git a/command/agent/cache/cachememdb/cache_memdb_test.go b/command/agent/cache/cachememdb/cache_memdb_test.go index 4162fed0d..87b8eee79 100644 --- a/command/agent/cache/cachememdb/cache_memdb_test.go +++ b/command/agent/cache/cachememdb/cache_memdb_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachememdb import ( diff --git a/command/agent/cache/cachememdb/index.go b/command/agent/cache/cachememdb/index.go index 546a528cb..a7da2edc2 100644 --- a/command/agent/cache/cachememdb/index.go +++ b/command/agent/cache/cachememdb/index.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachememdb import ( diff --git a/command/agent/cache/cachememdb/index_test.go b/command/agent/cache/cachememdb/index_test.go index 577e37d64..c59ec5cba 100644 --- a/command/agent/cache/cachememdb/index_test.go +++ b/command/agent/cache/cachememdb/index_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cachememdb import ( diff --git a/command/agent/cache/handler.go b/command/agent/cache/handler.go index e634174c6..a1f0eda04 100644 --- a/command/agent/cache/handler.go +++ b/command/agent/cache/handler.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cache import ( diff --git a/command/agent/cache/keymanager/manager.go b/command/agent/cache/keymanager/manager.go index ff4d0f2c0..0cecc03a1 100644 --- a/command/agent/cache/keymanager/manager.go +++ b/command/agent/cache/keymanager/manager.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package keymanager import ( diff --git a/command/agent/cache/keymanager/passthrough.go b/command/agent/cache/keymanager/passthrough.go index 68a1fc221..cda6b6e5d 100644 --- a/command/agent/cache/keymanager/passthrough.go +++ b/command/agent/cache/keymanager/passthrough.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package keymanager import ( diff --git a/command/agent/cache/keymanager/passthrough_test.go b/command/agent/cache/keymanager/passthrough_test.go index 084a71a14..9327ee3f0 100644 --- a/command/agent/cache/keymanager/passthrough_test.go +++ b/command/agent/cache/keymanager/passthrough_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package keymanager import ( diff --git a/command/agent/cache/lease_cache.go b/command/agent/cache/lease_cache.go index 87bfacd97..286f498e0 100644 --- a/command/agent/cache/lease_cache.go +++ b/command/agent/cache/lease_cache.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cache import ( diff --git a/command/agent/cache/lease_cache_test.go b/command/agent/cache/lease_cache_test.go index 1501fcfe5..6ce618312 100644 --- a/command/agent/cache/lease_cache_test.go +++ b/command/agent/cache/lease_cache_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cache import ( diff --git a/command/agent/cache/listener.go b/command/agent/cache/listener.go index ec1ddf2c9..c8ed72219 100644 --- a/command/agent/cache/listener.go +++ b/command/agent/cache/listener.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cache import ( diff --git a/command/agent/cache/proxy.go b/command/agent/cache/proxy.go index af9267ba0..4dcd18033 100644 --- a/command/agent/cache/proxy.go +++ b/command/agent/cache/proxy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cache import ( diff --git a/command/agent/cache/testing.go b/command/agent/cache/testing.go index 9ec637be4..f68ae6e49 100644 --- a/command/agent/cache/testing.go +++ b/command/agent/cache/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cache import ( diff --git a/command/agent/cache_end_to_end_test.go b/command/agent/cache_end_to_end_test.go index 6337c918a..c3444ed58 100644 --- a/command/agent/cache_end_to_end_test.go +++ b/command/agent/cache_end_to_end_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/command/agent/cert_end_to_end_test.go b/command/agent/cert_end_to_end_test.go index bacb18802..9b2729e69 100644 --- a/command/agent/cert_end_to_end_test.go +++ b/command/agent/cert_end_to_end_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/command/agent/cf_end_to_end_test.go b/command/agent/cf_end_to_end_test.go index 6bc1fa8b6..3ccd3be61 100644 --- a/command/agent/cf_end_to_end_test.go +++ b/command/agent/cf_end_to_end_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/command/agent/config/config.go b/command/agent/config/config.go index 230a2dddf..f701af4fc 100644 --- a/command/agent/config/config.go +++ b/command/agent/config/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/command/agent/config/config_test.go b/command/agent/config/config_test.go index e8cdc2473..375040198 100644 --- a/command/agent/config/config_test.go +++ b/command/agent/config/config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/command/agent/config/test-fixtures/bad-config-api_proxy-cache.hcl b/command/agent/config/test-fixtures/bad-config-api_proxy-cache.hcl index ae79293b4..7d2bf5c2d 100644 --- a/command/agent/config/test-fixtures/bad-config-api_proxy-cache.hcl +++ b/command/agent/config/test-fixtures/bad-config-api_proxy-cache.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/bad-config-auto_auth-nosinks-nocache-notemplates.hcl b/command/agent/config/test-fixtures/bad-config-auto_auth-nosinks-nocache-notemplates.hcl index 93e31aad4..d3d5d4266 100644 --- a/command/agent/config/test-fixtures/bad-config-auto_auth-nosinks-nocache-notemplates.hcl +++ b/command/agent/config/test-fixtures/bad-config-auto_auth-nosinks-nocache-notemplates.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/bad-config-auto_auth-wrapped-multiple-sinks.hcl b/command/agent/config/test-fixtures/bad-config-auto_auth-wrapped-multiple-sinks.hcl index 9a491fa4e..5c2b3fb79 100644 --- a/command/agent/config/test-fixtures/bad-config-auto_auth-wrapped-multiple-sinks.hcl +++ b/command/agent/config/test-fixtures/bad-config-auto_auth-wrapped-multiple-sinks.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/bad-config-cache-auto_auth-method-wrapping.hcl b/command/agent/config/test-fixtures/bad-config-cache-auto_auth-method-wrapping.hcl index 5821c1b59..8a39837fa 100644 --- a/command/agent/config/test-fixtures/bad-config-cache-auto_auth-method-wrapping.hcl +++ b/command/agent/config/test-fixtures/bad-config-cache-auto_auth-method-wrapping.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/bad-config-cache-force-token-no-auth-method.hcl b/command/agent/config/test-fixtures/bad-config-cache-force-token-no-auth-method.hcl index e2c8b328e..d1cae7512 100644 --- a/command/agent/config/test-fixtures/bad-config-cache-force-token-no-auth-method.hcl +++ b/command/agent/config/test-fixtures/bad-config-cache-force-token-no-auth-method.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" cache { diff --git a/command/agent/config/test-fixtures/bad-config-cache-inconsistent-auto_auth.hcl b/command/agent/config/test-fixtures/bad-config-cache-inconsistent-auto_auth.hcl index 5029b8d37..38b9c2c12 100644 --- a/command/agent/config/test-fixtures/bad-config-cache-inconsistent-auto_auth.hcl +++ b/command/agent/config/test-fixtures/bad-config-cache-inconsistent-auto_auth.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" cache { diff --git a/command/agent/config/test-fixtures/bad-config-cache-no-listeners.hcl b/command/agent/config/test-fixtures/bad-config-cache-no-listeners.hcl index 9d8110e2d..9112183ea 100644 --- a/command/agent/config/test-fixtures/bad-config-cache-no-listeners.hcl +++ b/command/agent/config/test-fixtures/bad-config-cache-no-listeners.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" cache { diff --git a/command/agent/config/test-fixtures/bad-config-disable-idle-connections.hcl b/command/agent/config/test-fixtures/bad-config-disable-idle-connections.hcl index c13c82520..34c292e74 100644 --- a/command/agent/config/test-fixtures/bad-config-disable-idle-connections.hcl +++ b/command/agent/config/test-fixtures/bad-config-disable-idle-connections.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" disable_idle_connections = ["foo","caching","templating"] diff --git a/command/agent/config/test-fixtures/bad-config-disable-keep-alives.hcl b/command/agent/config/test-fixtures/bad-config-disable-keep-alives.hcl index 3f1b9f0a1..087e2ffa0 100644 --- a/command/agent/config/test-fixtures/bad-config-disable-keep-alives.hcl +++ b/command/agent/config/test-fixtures/bad-config-disable-keep-alives.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" disable_keep_alives = ["foo","caching","templating"] diff --git a/command/agent/config/test-fixtures/bad-config-method-wrapping-and-sink-wrapping.hcl b/command/agent/config/test-fixtures/bad-config-method-wrapping-and-sink-wrapping.hcl index 7a3757371..cb9696dfb 100644 --- a/command/agent/config/test-fixtures/bad-config-method-wrapping-and-sink-wrapping.hcl +++ b/command/agent/config/test-fixtures/bad-config-method-wrapping-and-sink-wrapping.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/config-api_proxy-auto_auth-all-api_proxy-config.hcl b/command/agent/config/test-fixtures/config-api_proxy-auto_auth-all-api_proxy-config.hcl index b486418ee..a3e4e5b99 100644 --- a/command/agent/config/test-fixtures/config-api_proxy-auto_auth-all-api_proxy-config.hcl +++ b/command/agent/config/test-fixtures/config-api_proxy-auto_auth-all-api_proxy-config.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/config-cache-auto_auth-false.hcl b/command/agent/config/test-fixtures/config-cache-auto_auth-false.hcl index 1a2fd91d6..252216e21 100644 --- a/command/agent/config/test-fixtures/config-cache-auto_auth-false.hcl +++ b/command/agent/config/test-fixtures/config-cache-auto_auth-false.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/config-cache-auto_auth-force.hcl b/command/agent/config/test-fixtures/config-cache-auto_auth-force.hcl index 9aad89cdd..429645527 100644 --- a/command/agent/config/test-fixtures/config-cache-auto_auth-force.hcl +++ b/command/agent/config/test-fixtures/config-cache-auto_auth-force.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/config-cache-auto_auth-no-sink.hcl b/command/agent/config/test-fixtures/config-cache-auto_auth-no-sink.hcl index b3dc1383f..80486b346 100644 --- a/command/agent/config/test-fixtures/config-cache-auto_auth-no-sink.hcl +++ b/command/agent/config/test-fixtures/config-cache-auto_auth-no-sink.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/config-cache-auto_auth-true.hcl b/command/agent/config/test-fixtures/config-cache-auto_auth-true.hcl index 5a46d1b93..cebcdfbc5 100644 --- a/command/agent/config/test-fixtures/config-cache-auto_auth-true.hcl +++ b/command/agent/config/test-fixtures/config-cache-auto_auth-true.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/config-cache-embedded-type.hcl b/command/agent/config/test-fixtures/config-cache-embedded-type.hcl index b09a978c6..4ea525753 100644 --- a/command/agent/config/test-fixtures/config-cache-embedded-type.hcl +++ b/command/agent/config/test-fixtures/config-cache-embedded-type.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/config-cache-no-auto_auth.hcl b/command/agent/config/test-fixtures/config-cache-no-auto_auth.hcl index 7a2a57f68..45c71412b 100644 --- a/command/agent/config/test-fixtures/config-cache-no-auto_auth.hcl +++ b/command/agent/config/test-fixtures/config-cache-no-auto_auth.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" cache { diff --git a/command/agent/config/test-fixtures/config-cache-no-listeners.hcl b/command/agent/config/test-fixtures/config-cache-no-listeners.hcl index d7176e0aa..3e0abfb6b 100644 --- a/command/agent/config/test-fixtures/config-cache-no-listeners.hcl +++ b/command/agent/config/test-fixtures/config-cache-no-listeners.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/config-cache-persist-empty-type.hcl b/command/agent/config/test-fixtures/config-cache-persist-empty-type.hcl index 55f1d6480..f40715e6e 100644 --- a/command/agent/config/test-fixtures/config-cache-persist-empty-type.hcl +++ b/command/agent/config/test-fixtures/config-cache-persist-empty-type.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" cache { diff --git a/command/agent/config/test-fixtures/config-cache-persist-false.hcl b/command/agent/config/test-fixtures/config-cache-persist-false.hcl index 5ab7f0449..77bb926cf 100644 --- a/command/agent/config/test-fixtures/config-cache-persist-false.hcl +++ b/command/agent/config/test-fixtures/config-cache-persist-false.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" cache { diff --git a/command/agent/config/test-fixtures/config-cache.hcl b/command/agent/config/test-fixtures/config-cache.hcl index 05f321a95..87fa5afad 100644 --- a/command/agent/config/test-fixtures/config-cache.hcl +++ b/command/agent/config/test-fixtures/config-cache.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/config-consistency-apiproxy.hcl b/command/agent/config/test-fixtures/config-consistency-apiproxy.hcl index d116964a1..c2e662a67 100644 --- a/command/agent/config/test-fixtures/config-consistency-apiproxy.hcl +++ b/command/agent/config/test-fixtures/config-consistency-apiproxy.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + api_proxy { enforce_consistency = "always" when_inconsistent = "retry" diff --git a/command/agent/config/test-fixtures/config-consistency.hcl b/command/agent/config/test-fixtures/config-consistency.hcl index d57e05573..535181197 100644 --- a/command/agent/config/test-fixtures/config-consistency.hcl +++ b/command/agent/config/test-fixtures/config-consistency.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + cache { enforce_consistency = "always" when_inconsistent = "retry" diff --git a/command/agent/config/test-fixtures/config-dir-auto-auth-and-listener/config1.hcl b/command/agent/config/test-fixtures/config-dir-auto-auth-and-listener/config1.hcl index 849aab288..c900df6b1 100644 --- a/command/agent/config/test-fixtures/config-dir-auto-auth-and-listener/config1.hcl +++ b/command/agent/config/test-fixtures/config-dir-auto-auth-and-listener/config1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/config-dir-auto-auth-and-listener/config2.hcl b/command/agent/config/test-fixtures/config-dir-auto-auth-and-listener/config2.hcl index e1efa9562..2e942da66 100644 --- a/command/agent/config/test-fixtures/config-dir-auto-auth-and-listener/config2.hcl +++ b/command/agent/config/test-fixtures/config-dir-auto-auth-and-listener/config2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" listener "tcp" { diff --git a/command/agent/config/test-fixtures/config-dir-cache/config-cache1.hcl b/command/agent/config/test-fixtures/config-dir-cache/config-cache1.hcl index 8dab7ed91..767cdd9e4 100644 --- a/command/agent/config/test-fixtures/config-dir-cache/config-cache1.hcl +++ b/command/agent/config/test-fixtures/config-dir-cache/config-cache1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/config-dir-cache/config-cache2.hcl b/command/agent/config/test-fixtures/config-dir-cache/config-cache2.hcl index f8398188c..f4d0f47f9 100644 --- a/command/agent/config/test-fixtures/config-dir-cache/config-cache2.hcl +++ b/command/agent/config/test-fixtures/config-dir-cache/config-cache2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + cache { use_auto_auth_token = true persist = { diff --git a/command/agent/config/test-fixtures/config-dir-vault-block/config1.hcl b/command/agent/config/test-fixtures/config-dir-vault-block/config1.hcl index eeec3b8f2..18729533f 100644 --- a/command/agent/config/test-fixtures/config-dir-vault-block/config1.hcl +++ b/command/agent/config/test-fixtures/config-dir-vault-block/config1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + vault { address = "http://127.0.0.1:1111" ca_cert = "config_ca_cert" diff --git a/command/agent/config/test-fixtures/config-dir-vault-block/config2.hcl b/command/agent/config/test-fixtures/config-dir-vault-block/config2.hcl index 849aab288..c900df6b1 100644 --- a/command/agent/config/test-fixtures/config-dir-vault-block/config2.hcl +++ b/command/agent/config/test-fixtures/config-dir-vault-block/config2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/config-disable-idle-connections-all.hcl b/command/agent/config/test-fixtures/config-disable-idle-connections-all.hcl index 94e8cc827..f312d420c 100644 --- a/command/agent/config/test-fixtures/config-disable-idle-connections-all.hcl +++ b/command/agent/config/test-fixtures/config-disable-idle-connections-all.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" disable_idle_connections = ["auto-auth","caching","templating","proxying"] diff --git a/command/agent/config/test-fixtures/config-disable-idle-connections-auto-auth.hcl b/command/agent/config/test-fixtures/config-disable-idle-connections-auto-auth.hcl index 1a63b2048..abb175669 100644 --- a/command/agent/config/test-fixtures/config-disable-idle-connections-auto-auth.hcl +++ b/command/agent/config/test-fixtures/config-disable-idle-connections-auto-auth.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" disable_idle_connections = ["auto-auth"] diff --git a/command/agent/config/test-fixtures/config-disable-idle-connections-caching.hcl b/command/agent/config/test-fixtures/config-disable-idle-connections-caching.hcl index 30d0806c0..95a36e925 100644 --- a/command/agent/config/test-fixtures/config-disable-idle-connections-caching.hcl +++ b/command/agent/config/test-fixtures/config-disable-idle-connections-caching.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" disable_idle_connections = ["caching"] diff --git a/command/agent/config/test-fixtures/config-disable-idle-connections-empty.hcl b/command/agent/config/test-fixtures/config-disable-idle-connections-empty.hcl index eb95310ce..3e490bfbc 100644 --- a/command/agent/config/test-fixtures/config-disable-idle-connections-empty.hcl +++ b/command/agent/config/test-fixtures/config-disable-idle-connections-empty.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" disable_idle_connections = [] diff --git a/command/agent/config/test-fixtures/config-disable-idle-connections-proxying.hcl b/command/agent/config/test-fixtures/config-disable-idle-connections-proxying.hcl index 8c2c6db67..88da2effc 100644 --- a/command/agent/config/test-fixtures/config-disable-idle-connections-proxying.hcl +++ b/command/agent/config/test-fixtures/config-disable-idle-connections-proxying.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" disable_idle_connections = ["proxying"] diff --git a/command/agent/config/test-fixtures/config-disable-idle-connections-templating.hcl b/command/agent/config/test-fixtures/config-disable-idle-connections-templating.hcl index 922377fc8..6e51c91a0 100644 --- a/command/agent/config/test-fixtures/config-disable-idle-connections-templating.hcl +++ b/command/agent/config/test-fixtures/config-disable-idle-connections-templating.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" disable_idle_connections = ["templating"] diff --git a/command/agent/config/test-fixtures/config-disable-keep-alives-all.hcl b/command/agent/config/test-fixtures/config-disable-keep-alives-all.hcl index 6e498f756..8c1c6d582 100644 --- a/command/agent/config/test-fixtures/config-disable-keep-alives-all.hcl +++ b/command/agent/config/test-fixtures/config-disable-keep-alives-all.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" disable_keep_alives = ["auto-auth","caching","templating","proxying"] diff --git a/command/agent/config/test-fixtures/config-disable-keep-alives-auto-auth.hcl b/command/agent/config/test-fixtures/config-disable-keep-alives-auto-auth.hcl index 11393bfb5..d77dfb278 100644 --- a/command/agent/config/test-fixtures/config-disable-keep-alives-auto-auth.hcl +++ b/command/agent/config/test-fixtures/config-disable-keep-alives-auto-auth.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" disable_keep_alives = ["auto-auth"] diff --git a/command/agent/config/test-fixtures/config-disable-keep-alives-caching.hcl b/command/agent/config/test-fixtures/config-disable-keep-alives-caching.hcl index 571229692..386267e3e 100644 --- a/command/agent/config/test-fixtures/config-disable-keep-alives-caching.hcl +++ b/command/agent/config/test-fixtures/config-disable-keep-alives-caching.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" disable_keep_alives = ["caching"] diff --git a/command/agent/config/test-fixtures/config-disable-keep-alives-empty.hcl b/command/agent/config/test-fixtures/config-disable-keep-alives-empty.hcl index 8cddcebd8..b4239a526 100644 --- a/command/agent/config/test-fixtures/config-disable-keep-alives-empty.hcl +++ b/command/agent/config/test-fixtures/config-disable-keep-alives-empty.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" disable_keep_alives = [] diff --git a/command/agent/config/test-fixtures/config-disable-keep-alives-proxying.hcl b/command/agent/config/test-fixtures/config-disable-keep-alives-proxying.hcl index 8363cb58f..8c82a92b6 100644 --- a/command/agent/config/test-fixtures/config-disable-keep-alives-proxying.hcl +++ b/command/agent/config/test-fixtures/config-disable-keep-alives-proxying.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" disable_keep_alives = ["proxying"] diff --git a/command/agent/config/test-fixtures/config-disable-keep-alives-templating.hcl b/command/agent/config/test-fixtures/config-disable-keep-alives-templating.hcl index d4731cbd9..01ec09504 100644 --- a/command/agent/config/test-fixtures/config-disable-keep-alives-templating.hcl +++ b/command/agent/config/test-fixtures/config-disable-keep-alives-templating.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" disable_keep_alives = ["templating"] diff --git a/command/agent/config/test-fixtures/config-embedded-type.hcl b/command/agent/config/test-fixtures/config-embedded-type.hcl index 4e6dc41f4..2ce3b401c 100644 --- a/command/agent/config/test-fixtures/config-embedded-type.hcl +++ b/command/agent/config/test-fixtures/config-embedded-type.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" log_file = "/var/log/vault/vault-agent.log" diff --git a/command/agent/config/test-fixtures/config-method-exit-on-err.hcl b/command/agent/config/test-fixtures/config-method-exit-on-err.hcl index c52140102..bbda08c01 100644 --- a/command/agent/config/test-fixtures/config-method-exit-on-err.hcl +++ b/command/agent/config/test-fixtures/config-method-exit-on-err.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/config-method-initial-backoff.hcl b/command/agent/config/test-fixtures/config-method-initial-backoff.hcl index 6b9343aa4..b166dabde 100644 --- a/command/agent/config/test-fixtures/config-method-initial-backoff.hcl +++ b/command/agent/config/test-fixtures/config-method-initial-backoff.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/config-method-wrapping.hcl b/command/agent/config/test-fixtures/config-method-wrapping.hcl index cbafc5a24..8142a19dd 100644 --- a/command/agent/config/test-fixtures/config-method-wrapping.hcl +++ b/command/agent/config/test-fixtures/config-method-wrapping.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/config-template-full-nosink.hcl b/command/agent/config/test-fixtures/config-template-full-nosink.hcl index 84edf6f11..579aae1e8 100644 --- a/command/agent/config/test-fixtures/config-template-full-nosink.hcl +++ b/command/agent/config/test-fixtures/config-template-full-nosink.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/config-template-full.hcl b/command/agent/config/test-fixtures/config-template-full.hcl index 5e5cbc62c..b7641cd66 100644 --- a/command/agent/config/test-fixtures/config-template-full.hcl +++ b/command/agent/config/test-fixtures/config-template-full.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/config-template-many-nosink.hcl b/command/agent/config/test-fixtures/config-template-many-nosink.hcl index e04f77da2..2f8352d1b 100644 --- a/command/agent/config/test-fixtures/config-template-many-nosink.hcl +++ b/command/agent/config/test-fixtures/config-template-many-nosink.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/config-template-many.hcl b/command/agent/config/test-fixtures/config-template-many.hcl index 2f6fe7b70..3a3ce77f1 100644 --- a/command/agent/config/test-fixtures/config-template-many.hcl +++ b/command/agent/config/test-fixtures/config-template-many.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/config-template-min-nosink.hcl b/command/agent/config/test-fixtures/config-template-min-nosink.hcl index 12c5a82c5..064b7a452 100644 --- a/command/agent/config/test-fixtures/config-template-min-nosink.hcl +++ b/command/agent/config/test-fixtures/config-template-min-nosink.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/config-template-min.hcl b/command/agent/config/test-fixtures/config-template-min.hcl index 5d37dbefb..34435da63 100644 --- a/command/agent/config/test-fixtures/config-template-min.hcl +++ b/command/agent/config/test-fixtures/config-template-min.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/config-template_config-empty.hcl b/command/agent/config/test-fixtures/config-template_config-empty.hcl index a4f5b3a09..ac22dcc5c 100644 --- a/command/agent/config/test-fixtures/config-template_config-empty.hcl +++ b/command/agent/config/test-fixtures/config-template_config-empty.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + vault { address = "http://127.0.0.1:1111" retry { diff --git a/command/agent/config/test-fixtures/config-template_config.hcl b/command/agent/config/test-fixtures/config-template_config.hcl index 5da0e2b91..b55089001 100644 --- a/command/agent/config/test-fixtures/config-template_config.hcl +++ b/command/agent/config/test-fixtures/config-template_config.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + vault { address = "http://127.0.0.1:1111" retry { diff --git a/command/agent/config/test-fixtures/config-vault-retry-empty.hcl b/command/agent/config/test-fixtures/config-vault-retry-empty.hcl index e7ab4aa00..72c44e1f9 100644 --- a/command/agent/config/test-fixtures/config-vault-retry-empty.hcl +++ b/command/agent/config/test-fixtures/config-vault-retry-empty.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/config-vault-retry.hcl b/command/agent/config/test-fixtures/config-vault-retry.hcl index 0c1cfa19b..5e4ee2343 100644 --- a/command/agent/config/test-fixtures/config-vault-retry.hcl +++ b/command/agent/config/test-fixtures/config-vault-retry.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" auto_auth { diff --git a/command/agent/config/test-fixtures/config.hcl b/command/agent/config/test-fixtures/config.hcl index ecfb88ae0..18ec36030 100644 --- a/command/agent/config/test-fixtures/config.hcl +++ b/command/agent/config/test-fixtures/config.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + pid_file = "./pidfile" log_file = "/var/log/vault/vault-agent.log" diff --git a/command/agent/doc.go b/command/agent/doc.go index 0786f5c1d..e9f0f0b98 100644 --- a/command/agent/doc.go +++ b/command/agent/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + /* Package agent implements a daemon mode of Vault designed to provide helper features like auto-auth, caching, and templating. diff --git a/command/agent/jwt_end_to_end_test.go b/command/agent/jwt_end_to_end_test.go index cf3824f3a..4136ac1eb 100644 --- a/command/agent/jwt_end_to_end_test.go +++ b/command/agent/jwt_end_to_end_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/command/agent/oci_end_to_end_test.go b/command/agent/oci_end_to_end_test.go index e1140585e..878239d43 100644 --- a/command/agent/oci_end_to_end_test.go +++ b/command/agent/oci_end_to_end_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/command/agent/sink/file/file_sink.go b/command/agent/sink/file/file_sink.go index f2faf5641..572320fc6 100644 --- a/command/agent/sink/file/file_sink.go +++ b/command/agent/sink/file/file_sink.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package file import ( diff --git a/command/agent/sink/file/file_sink_test.go b/command/agent/sink/file/file_sink_test.go index 9749522b4..1b9f3bd05 100644 --- a/command/agent/sink/file/file_sink_test.go +++ b/command/agent/sink/file/file_sink_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package file import ( diff --git a/command/agent/sink/file/sink_test.go b/command/agent/sink/file/sink_test.go index 839340f0c..85089053e 100644 --- a/command/agent/sink/file/sink_test.go +++ b/command/agent/sink/file/sink_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package file import ( diff --git a/command/agent/sink/inmem/inmem_sink.go b/command/agent/sink/inmem/inmem_sink.go index 2dfa09115..abe0ce639 100644 --- a/command/agent/sink/inmem/inmem_sink.go +++ b/command/agent/sink/inmem/inmem_sink.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package inmem import ( diff --git a/command/agent/sink/mock/mock_sink.go b/command/agent/sink/mock/mock_sink.go index fb4720cc1..d5f11dff5 100644 --- a/command/agent/sink/mock/mock_sink.go +++ b/command/agent/sink/mock/mock_sink.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mock import ( diff --git a/command/agent/sink/sink.go b/command/agent/sink/sink.go index 3301421be..2b64c1762 100644 --- a/command/agent/sink/sink.go +++ b/command/agent/sink/sink.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sink import ( diff --git a/command/agent/template/template.go b/command/agent/template/template.go index 8d44e0db1..6de083d0a 100644 --- a/command/agent/template/template.go +++ b/command/agent/template/template.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package template is responsible for rendering user supplied templates to // disk. The Server type accepts configuration to communicate to a Vault server // and a Vault token for authentication. Internally, the Server creates a Consul diff --git a/command/agent/template/template_test.go b/command/agent/template/template_test.go index 25999945f..14c4b3bdc 100644 --- a/command/agent/template/template_test.go +++ b/command/agent/template/template_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package template import ( diff --git a/command/agent/testing.go b/command/agent/testing.go index fc8374de9..1eaa0aa35 100644 --- a/command/agent/testing.go +++ b/command/agent/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/command/agent/token_file_end_to_end_test.go b/command/agent/token_file_end_to_end_test.go index d9819ada0..f774fc097 100644 --- a/command/agent/token_file_end_to_end_test.go +++ b/command/agent/token_file_end_to_end_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package agent import ( diff --git a/command/agent/winsvc/service.go b/command/agent/winsvc/service.go index c8d21f5c7..edd234e0c 100644 --- a/command/agent/winsvc/service.go +++ b/command/agent/winsvc/service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package winsvc var chanGraceExit = make(chan int) diff --git a/command/agent/winsvc/service_windows.go b/command/agent/winsvc/service_windows.go index 69177e01f..bb16bf97a 100644 --- a/command/agent/winsvc/service_windows.go +++ b/command/agent/winsvc/service_windows.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build windows package winsvc diff --git a/command/agent_test.go b/command/agent_test.go index 0dbfaa0b2..2be2d163b 100644 --- a/command/agent_test.go +++ b/command/agent_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/approle_concurrency_integ_test.go b/command/approle_concurrency_integ_test.go index 5dbcce064..934f8b33f 100644 --- a/command/approle_concurrency_integ_test.go +++ b/command/approle_concurrency_integ_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/audit.go b/command/audit.go index 8acea78f3..606de73ee 100644 --- a/command/audit.go +++ b/command/audit.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/audit_disable.go b/command/audit_disable.go index ddebfcbed..ef9288b08 100644 --- a/command/audit_disable.go +++ b/command/audit_disable.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/audit_disable_test.go b/command/audit_disable_test.go index 0a7e8e4dc..44b782f4d 100644 --- a/command/audit_disable_test.go +++ b/command/audit_disable_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/audit_enable.go b/command/audit_enable.go index 9ed7d5d30..652c3c27e 100644 --- a/command/audit_enable.go +++ b/command/audit_enable.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/audit_enable_test.go b/command/audit_enable_test.go index 7d19f086a..e7dc4ae78 100644 --- a/command/audit_enable_test.go +++ b/command/audit_enable_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/audit_list.go b/command/audit_list.go index a2dde2180..e5af8525e 100644 --- a/command/audit_list.go +++ b/command/audit_list.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/audit_list_test.go b/command/audit_list_test.go index 9cbb0af5e..c2e6eacf4 100644 --- a/command/audit_list_test.go +++ b/command/audit_list_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/auth.go b/command/auth.go index 3c47b2b88..e2bdb81c1 100644 --- a/command/auth.go +++ b/command/auth.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/auth_disable.go b/command/auth_disable.go index 773486107..735103bda 100644 --- a/command/auth_disable.go +++ b/command/auth_disable.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/auth_disable_test.go b/command/auth_disable_test.go index 51419b866..385bc4ec7 100644 --- a/command/auth_disable_test.go +++ b/command/auth_disable_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/auth_enable.go b/command/auth_enable.go index 2970da18e..7c7af550d 100644 --- a/command/auth_enable.go +++ b/command/auth_enable.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/auth_enable_test.go b/command/auth_enable_test.go index e124ac1c0..4a4292ce8 100644 --- a/command/auth_enable_test.go +++ b/command/auth_enable_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/auth_help.go b/command/auth_help.go index 41ea7be5f..34b6b9ffa 100644 --- a/command/auth_help.go +++ b/command/auth_help.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/auth_help_test.go b/command/auth_help_test.go index 0c0d36f16..a83695ee3 100644 --- a/command/auth_help_test.go +++ b/command/auth_help_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/auth_list.go b/command/auth_list.go index f8b53d151..25103a14d 100644 --- a/command/auth_list.go +++ b/command/auth_list.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/auth_list_test.go b/command/auth_list_test.go index decf6e9b0..2e96f9f2c 100644 --- a/command/auth_list_test.go +++ b/command/auth_list_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/auth_move.go b/command/auth_move.go index 9e591ba64..2af5ab651 100644 --- a/command/auth_move.go +++ b/command/auth_move.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/auth_move_test.go b/command/auth_move_test.go index 035938efe..877afd27b 100644 --- a/command/auth_move_test.go +++ b/command/auth_move_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/auth_test.go b/command/auth_test.go index f0fd5d065..dd8abb07f 100644 --- a/command/auth_test.go +++ b/command/auth_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/auth_tune.go b/command/auth_tune.go index 6e3d3e7bc..a7a09797f 100644 --- a/command/auth_tune.go +++ b/command/auth_tune.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/auth_tune_test.go b/command/auth_tune_test.go index f4a67f3de..aabcd8396 100644 --- a/command/auth_tune_test.go +++ b/command/auth_tune_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/base.go b/command/base.go index 3825db0b1..72071587d 100644 --- a/command/base.go +++ b/command/base.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/base_flags.go b/command/base_flags.go index 4865d7163..c15b7b655 100644 --- a/command/base_flags.go +++ b/command/base_flags.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/base_flags_test.go b/command/base_flags_test.go index 39777d24a..580e163de 100644 --- a/command/base_flags_test.go +++ b/command/base_flags_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/base_helpers.go b/command/base_helpers.go index 60ad8af20..2595dc56a 100644 --- a/command/base_helpers.go +++ b/command/base_helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/base_helpers_test.go b/command/base_helpers_test.go index dee93b4bf..50cd26441 100644 --- a/command/base_helpers_test.go +++ b/command/base_helpers_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/base_predict.go b/command/base_predict.go index ebed81325..ee2a771c7 100644 --- a/command/base_predict.go +++ b/command/base_predict.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/base_predict_test.go b/command/base_predict_test.go index 5b96c8d76..20af0f688 100644 --- a/command/base_predict_test.go +++ b/command/base_predict_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/base_test.go b/command/base_test.go index b3f75e0eb..af4f0a4d3 100644 --- a/command/base_test.go +++ b/command/base_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/command_test.go b/command/command_test.go index 34ef52495..73719d583 100644 --- a/command/command_test.go +++ b/command/command_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/commands.go b/command/commands.go index 21da8141b..40fd57963 100644 --- a/command/commands.go +++ b/command/commands.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/commands_nonwindows.go b/command/commands_nonwindows.go index c94c485f4..f8d128c3f 100644 --- a/command/commands_nonwindows.go +++ b/command/commands_nonwindows.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !windows package command diff --git a/command/commands_windows.go b/command/commands_windows.go index ed06a0740..541a6e4ae 100644 --- a/command/commands_windows.go +++ b/command/commands_windows.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build windows package command diff --git a/command/config.go b/command/config.go index b46581fc8..3fbc53a96 100644 --- a/command/config.go +++ b/command/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/config/config.go b/command/config/config.go index ef0c4adf6..71f912788 100644 --- a/command/config/config.go +++ b/command/config/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/command/config/config_test.go b/command/config/config_test.go index b5d41361e..fef151622 100644 --- a/command/config/config_test.go +++ b/command/config/config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/command/config/util.go b/command/config/util.go index 1ac47df7e..f295f462a 100644 --- a/command/config/util.go +++ b/command/config/util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/command/config/validate_listener.go b/command/config/validate_listener.go index 7a56ec699..e2d27166a 100644 --- a/command/config/validate_listener.go +++ b/command/config/validate_listener.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !fips_140_3 package config diff --git a/command/config_test.go b/command/config_test.go index 0ed34992f..787c67957 100644 --- a/command/config_test.go +++ b/command/config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/debug.go b/command/debug.go index 1ea276901..e5440b3b8 100644 --- a/command/debug.go +++ b/command/debug.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/debug_test.go b/command/debug_test.go index de51c770f..e63e1ebed 100644 --- a/command/debug_test.go +++ b/command/debug_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/delete.go b/command/delete.go index 78d786f11..7da6dd2d9 100644 --- a/command/delete.go +++ b/command/delete.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/delete_test.go b/command/delete_test.go index e26d393b1..629be7abb 100644 --- a/command/delete_test.go +++ b/command/delete_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/events.go b/command/events.go index 50884803e..353c97947 100644 --- a/command/events.go +++ b/command/events.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/events_test.go b/command/events_test.go index 7d7527c7e..bb2aef0b3 100644 --- a/command/events_test.go +++ b/command/events_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/format.go b/command/format.go index cdacaab39..5e42d31d1 100644 --- a/command/format.go +++ b/command/format.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/format_test.go b/command/format_test.go index 48d164591..2bdc45ebe 100644 --- a/command/format_test.go +++ b/command/format_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/healthcheck/healthcheck.go b/command/healthcheck/healthcheck.go index 2ce9c2dee..a6fb2040e 100644 --- a/command/healthcheck/healthcheck.go +++ b/command/healthcheck/healthcheck.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + /* * The healthcheck package attempts to allow generic checks of arbitrary * engines, while providing a common framework with some performance diff --git a/command/healthcheck/pki.go b/command/healthcheck/pki.go index 406163b35..42f4fc485 100644 --- a/command/healthcheck/pki.go +++ b/command/healthcheck/pki.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package healthcheck import ( diff --git a/command/healthcheck/pki_allow_if_modified_since.go b/command/healthcheck/pki_allow_if_modified_since.go index 1cff1cda5..bb5306e05 100644 --- a/command/healthcheck/pki_allow_if_modified_since.go +++ b/command/healthcheck/pki_allow_if_modified_since.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package healthcheck import ( diff --git a/command/healthcheck/pki_audit_visibility.go b/command/healthcheck/pki_audit_visibility.go index 1984fb97d..6b3834fb0 100644 --- a/command/healthcheck/pki_audit_visibility.go +++ b/command/healthcheck/pki_audit_visibility.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package healthcheck import ( diff --git a/command/healthcheck/pki_ca_validity_period.go b/command/healthcheck/pki_ca_validity_period.go index c971aed52..511de7570 100644 --- a/command/healthcheck/pki_ca_validity_period.go +++ b/command/healthcheck/pki_ca_validity_period.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package healthcheck import ( diff --git a/command/healthcheck/pki_crl_validity_period.go b/command/healthcheck/pki_crl_validity_period.go index bd8e856ba..8450a058f 100644 --- a/command/healthcheck/pki_crl_validity_period.go +++ b/command/healthcheck/pki_crl_validity_period.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package healthcheck import ( diff --git a/command/healthcheck/pki_enable_auto_tidy.go b/command/healthcheck/pki_enable_auto_tidy.go index dca555fd0..1734d1adc 100644 --- a/command/healthcheck/pki_enable_auto_tidy.go +++ b/command/healthcheck/pki_enable_auto_tidy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package healthcheck import ( diff --git a/command/healthcheck/pki_hardware_backed_root.go b/command/healthcheck/pki_hardware_backed_root.go index 89d3550ea..2fdda6e4a 100644 --- a/command/healthcheck/pki_hardware_backed_root.go +++ b/command/healthcheck/pki_hardware_backed_root.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package healthcheck import ( diff --git a/command/healthcheck/pki_role_allows_glob_wildcards.go b/command/healthcheck/pki_role_allows_glob_wildcards.go index 34fb09927..83c55c238 100644 --- a/command/healthcheck/pki_role_allows_glob_wildcards.go +++ b/command/healthcheck/pki_role_allows_glob_wildcards.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package healthcheck import ( diff --git a/command/healthcheck/pki_role_allows_localhost.go b/command/healthcheck/pki_role_allows_localhost.go index 568aa3a5f..0c9b780ab 100644 --- a/command/healthcheck/pki_role_allows_localhost.go +++ b/command/healthcheck/pki_role_allows_localhost.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package healthcheck import ( diff --git a/command/healthcheck/pki_role_no_store_false.go b/command/healthcheck/pki_role_no_store_false.go index 4fa7ba5ac..882955e2b 100644 --- a/command/healthcheck/pki_role_no_store_false.go +++ b/command/healthcheck/pki_role_no_store_false.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package healthcheck import ( diff --git a/command/healthcheck/pki_root_issued_leaves.go b/command/healthcheck/pki_root_issued_leaves.go index e858794b6..615684b0d 100644 --- a/command/healthcheck/pki_root_issued_leaves.go +++ b/command/healthcheck/pki_root_issued_leaves.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package healthcheck import ( diff --git a/command/healthcheck/pki_tidy_last_run.go b/command/healthcheck/pki_tidy_last_run.go index 6fed74d33..9d07369c8 100644 --- a/command/healthcheck/pki_tidy_last_run.go +++ b/command/healthcheck/pki_tidy_last_run.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package healthcheck import ( diff --git a/command/healthcheck/pki_too_many_certs.go b/command/healthcheck/pki_too_many_certs.go index 6b07b5dfe..59722ab2e 100644 --- a/command/healthcheck/pki_too_many_certs.go +++ b/command/healthcheck/pki_too_many_certs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package healthcheck import ( diff --git a/command/healthcheck/shared.go b/command/healthcheck/shared.go index 9f2b05051..4097704da 100644 --- a/command/healthcheck/shared.go +++ b/command/healthcheck/shared.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package healthcheck import ( diff --git a/command/healthcheck/util.go b/command/healthcheck/util.go index 632fe1a28..dd5d66e88 100644 --- a/command/healthcheck/util.go +++ b/command/healthcheck/util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package healthcheck import ( diff --git a/command/kv.go b/command/kv.go index 2172576db..b0834c78c 100644 --- a/command/kv.go +++ b/command/kv.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/kv_delete.go b/command/kv_delete.go index 5555b9c71..d10c9ebc3 100644 --- a/command/kv_delete.go +++ b/command/kv_delete.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/kv_destroy.go b/command/kv_destroy.go index 45cbca025..2ac115cd2 100644 --- a/command/kv_destroy.go +++ b/command/kv_destroy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/kv_enable_versioning.go b/command/kv_enable_versioning.go index 9c2a60143..8282dd296 100644 --- a/command/kv_enable_versioning.go +++ b/command/kv_enable_versioning.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/kv_get.go b/command/kv_get.go index 057a787c4..c5c93fc96 100644 --- a/command/kv_get.go +++ b/command/kv_get.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/kv_helpers.go b/command/kv_helpers.go index 3a9dd786a..bcf5f6dd7 100644 --- a/command/kv_helpers.go +++ b/command/kv_helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/kv_list.go b/command/kv_list.go index 3afbcd42a..3b68afe52 100644 --- a/command/kv_list.go +++ b/command/kv_list.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/kv_metadata.go b/command/kv_metadata.go index c4ab37910..4350311af 100644 --- a/command/kv_metadata.go +++ b/command/kv_metadata.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/kv_metadata_delete.go b/command/kv_metadata_delete.go index cff16f21c..5cb97b0ed 100644 --- a/command/kv_metadata_delete.go +++ b/command/kv_metadata_delete.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/kv_metadata_get.go b/command/kv_metadata_get.go index 892034075..db5e3f25a 100644 --- a/command/kv_metadata_get.go +++ b/command/kv_metadata_get.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/kv_metadata_patch.go b/command/kv_metadata_patch.go index 11ffdb4be..3de4881ff 100644 --- a/command/kv_metadata_patch.go +++ b/command/kv_metadata_patch.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/kv_metadata_patch_test.go b/command/kv_metadata_patch_test.go index 3b15c5202..58f4f9152 100644 --- a/command/kv_metadata_patch_test.go +++ b/command/kv_metadata_patch_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/kv_metadata_put.go b/command/kv_metadata_put.go index 5196b1c79..5acea825a 100644 --- a/command/kv_metadata_put.go +++ b/command/kv_metadata_put.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/kv_metadata_put_test.go b/command/kv_metadata_put_test.go index a952802cc..008ded9fd 100644 --- a/command/kv_metadata_put_test.go +++ b/command/kv_metadata_put_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/kv_patch.go b/command/kv_patch.go index 8313ec334..e6fad922b 100644 --- a/command/kv_patch.go +++ b/command/kv_patch.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/kv_put.go b/command/kv_put.go index 5cc7b6fbc..bdbd34b0f 100644 --- a/command/kv_put.go +++ b/command/kv_put.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/kv_rollback.go b/command/kv_rollback.go index 0d782619a..a0aec415f 100644 --- a/command/kv_rollback.go +++ b/command/kv_rollback.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/kv_test.go b/command/kv_test.go index 830c9cc30..ac1837c66 100644 --- a/command/kv_test.go +++ b/command/kv_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/kv_undelete.go b/command/kv_undelete.go index 90ea608a7..8b8eab569 100644 --- a/command/kv_undelete.go +++ b/command/kv_undelete.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/lease.go b/command/lease.go index 76f6cc174..29ef79fc2 100644 --- a/command/lease.go +++ b/command/lease.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/lease_lookup.go b/command/lease_lookup.go index c72c6a174..ef53ce528 100644 --- a/command/lease_lookup.go +++ b/command/lease_lookup.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/lease_lookup_test.go b/command/lease_lookup_test.go index 4de63200f..536c29c58 100644 --- a/command/lease_lookup_test.go +++ b/command/lease_lookup_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/lease_renew.go b/command/lease_renew.go index 13eb95ed0..aad41d66b 100644 --- a/command/lease_renew.go +++ b/command/lease_renew.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/lease_renew_test.go b/command/lease_renew_test.go index aa3b32d0d..c24b812b9 100644 --- a/command/lease_renew_test.go +++ b/command/lease_renew_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/lease_revoke.go b/command/lease_revoke.go index 1fc90eff7..5efd5ecf1 100644 --- a/command/lease_revoke.go +++ b/command/lease_revoke.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/lease_revoke_test.go b/command/lease_revoke_test.go index 1aa58c38a..261041e23 100644 --- a/command/lease_revoke_test.go +++ b/command/lease_revoke_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/list.go b/command/list.go index 8a79e56fc..028f0d391 100644 --- a/command/list.go +++ b/command/list.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/list_test.go b/command/list_test.go index b1b668050..070184bd9 100644 --- a/command/list_test.go +++ b/command/list_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/log_flags.go b/command/log_flags.go index c00086740..5213d0637 100644 --- a/command/log_flags.go +++ b/command/log_flags.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/log_flags_test.go b/command/log_flags_test.go index 78ca51c4d..38bfa52e9 100644 --- a/command/log_flags_test.go +++ b/command/log_flags_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/login.go b/command/login.go index 30352abbb..c8bc23254 100644 --- a/command/login.go +++ b/command/login.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/login_test.go b/command/login_test.go index 01ee159d8..3d41d8e88 100644 --- a/command/login_test.go +++ b/command/login_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/main.go b/command/main.go index 3c6597dec..13fbe2181 100644 --- a/command/main.go +++ b/command/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/monitor.go b/command/monitor.go index e63092589..7545b82da 100644 --- a/command/monitor.go +++ b/command/monitor.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/monitor_test.go b/command/monitor_test.go index b790cfb0b..0cc722c98 100644 --- a/command/monitor_test.go +++ b/command/monitor_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/namespace.go b/command/namespace.go index 702395753..18bc6e92e 100644 --- a/command/namespace.go +++ b/command/namespace.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/namespace_api_lock.go b/command/namespace_api_lock.go index 48fec344c..57b196992 100644 --- a/command/namespace_api_lock.go +++ b/command/namespace_api_lock.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/namespace_api_unlock.go b/command/namespace_api_unlock.go index 38f4a764d..77e829147 100644 --- a/command/namespace_api_unlock.go +++ b/command/namespace_api_unlock.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/namespace_create.go b/command/namespace_create.go index 7d1f52fa8..60df834d7 100644 --- a/command/namespace_create.go +++ b/command/namespace_create.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/namespace_delete.go b/command/namespace_delete.go index a5d189293..5c79c35b1 100644 --- a/command/namespace_delete.go +++ b/command/namespace_delete.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/namespace_list.go b/command/namespace_list.go index 605c4e32e..7dfd257e8 100644 --- a/command/namespace_list.go +++ b/command/namespace_list.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/namespace_lookup.go b/command/namespace_lookup.go index 98d710ea5..ee1873663 100644 --- a/command/namespace_lookup.go +++ b/command/namespace_lookup.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/namespace_patch.go b/command/namespace_patch.go index 3ae6f6bc8..2a4a6dc69 100644 --- a/command/namespace_patch.go +++ b/command/namespace_patch.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator.go b/command/operator.go index ad1bb439f..a79f7bff8 100644 --- a/command/operator.go +++ b/command/operator.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_diagnose.go b/command/operator_diagnose.go index bf78ea49c..5abddb7c9 100644 --- a/command/operator_diagnose.go +++ b/command/operator_diagnose.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_diagnose_test.go b/command/operator_diagnose_test.go index 99834b9d4..2c9a1a036 100644 --- a/command/operator_diagnose_test.go +++ b/command/operator_diagnose_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !race package command diff --git a/command/operator_generate_root.go b/command/operator_generate_root.go index ece541683..6665e8bdb 100644 --- a/command/operator_generate_root.go +++ b/command/operator_generate_root.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_generate_root_test.go b/command/operator_generate_root_test.go index b4489718e..1436ab2dd 100644 --- a/command/operator_generate_root_test.go +++ b/command/operator_generate_root_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !race package command diff --git a/command/operator_init.go b/command/operator_init.go index 3b0dfe3de..080f5853d 100644 --- a/command/operator_init.go +++ b/command/operator_init.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_init_test.go b/command/operator_init_test.go index ec0287358..06647d727 100644 --- a/command/operator_init_test.go +++ b/command/operator_init_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !race package command diff --git a/command/operator_key_status.go b/command/operator_key_status.go index e015fb0e3..412a00cd2 100644 --- a/command/operator_key_status.go +++ b/command/operator_key_status.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_key_status_test.go b/command/operator_key_status_test.go index 01cb91362..9f8fbb0f6 100644 --- a/command/operator_key_status_test.go +++ b/command/operator_key_status_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_members.go b/command/operator_members.go index d4bd1fbe4..986313a32 100644 --- a/command/operator_members.go +++ b/command/operator_members.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_migrate.go b/command/operator_migrate.go index 5d3fda46a..01e8bbb21 100644 --- a/command/operator_migrate.go +++ b/command/operator_migrate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_migrate_test.go b/command/operator_migrate_test.go index d292626d0..3d2843091 100644 --- a/command/operator_migrate_test.go +++ b/command/operator_migrate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_raft.go b/command/operator_raft.go index 34107dbb5..8720b78ce 100644 --- a/command/operator_raft.go +++ b/command/operator_raft.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_raft_autopilot_get_config.go b/command/operator_raft_autopilot_get_config.go index 1462e354c..11d7da87d 100644 --- a/command/operator_raft_autopilot_get_config.go +++ b/command/operator_raft_autopilot_get_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_raft_autopilot_set_config.go b/command/operator_raft_autopilot_set_config.go index 4a839c5fa..0d9a5f336 100644 --- a/command/operator_raft_autopilot_set_config.go +++ b/command/operator_raft_autopilot_set_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_raft_autopilot_state.go b/command/operator_raft_autopilot_state.go index 8a530dc75..99f188aae 100644 --- a/command/operator_raft_autopilot_state.go +++ b/command/operator_raft_autopilot_state.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_raft_join.go b/command/operator_raft_join.go index 466ab8414..57e14a827 100644 --- a/command/operator_raft_join.go +++ b/command/operator_raft_join.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_raft_listpeers.go b/command/operator_raft_listpeers.go index 2c80112ec..4e82c15da 100644 --- a/command/operator_raft_listpeers.go +++ b/command/operator_raft_listpeers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_raft_remove_peer.go b/command/operator_raft_remove_peer.go index 6f7e83747..84b516cf6 100644 --- a/command/operator_raft_remove_peer.go +++ b/command/operator_raft_remove_peer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_raft_snapshot.go b/command/operator_raft_snapshot.go index 5e3b04287..036c6ebae 100644 --- a/command/operator_raft_snapshot.go +++ b/command/operator_raft_snapshot.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_raft_snapshot_restore.go b/command/operator_raft_snapshot_restore.go index 3755d6cbf..6067adca7 100644 --- a/command/operator_raft_snapshot_restore.go +++ b/command/operator_raft_snapshot_restore.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_raft_snapshot_save.go b/command/operator_raft_snapshot_save.go index 496b0a7b5..2abbb0ad2 100644 --- a/command/operator_raft_snapshot_save.go +++ b/command/operator_raft_snapshot_save.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_rekey.go b/command/operator_rekey.go index c15bff811..dde0e5800 100644 --- a/command/operator_rekey.go +++ b/command/operator_rekey.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_rekey_test.go b/command/operator_rekey_test.go index 08285aa34..570cfe447 100644 --- a/command/operator_rekey_test.go +++ b/command/operator_rekey_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !race package command diff --git a/command/operator_seal.go b/command/operator_seal.go index 369ec3215..f52665fd0 100644 --- a/command/operator_seal.go +++ b/command/operator_seal.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_seal_test.go b/command/operator_seal_test.go index 86722d2e8..43e150f7e 100644 --- a/command/operator_seal_test.go +++ b/command/operator_seal_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_step_down.go b/command/operator_step_down.go index dea2c9717..bfa2d893f 100644 --- a/command/operator_step_down.go +++ b/command/operator_step_down.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_step_down_test.go b/command/operator_step_down_test.go index 93117a856..fbe07794d 100644 --- a/command/operator_step_down_test.go +++ b/command/operator_step_down_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_unseal.go b/command/operator_unseal.go index 8cdd06d38..32d914090 100644 --- a/command/operator_unseal.go +++ b/command/operator_unseal.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_unseal_test.go b/command/operator_unseal_test.go index 867b17a03..cb4d19603 100644 --- a/command/operator_unseal_test.go +++ b/command/operator_unseal_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/operator_usage.go b/command/operator_usage.go index 1df42091c..8db538a29 100644 --- a/command/operator_usage.go +++ b/command/operator_usage.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/patch.go b/command/patch.go index 8edb77ea8..9a4cd5886 100644 --- a/command/patch.go +++ b/command/patch.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/patch_test.go b/command/patch_test.go index b4bdd7a62..410e64465 100644 --- a/command/patch_test.go +++ b/command/patch_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/path_help.go b/command/path_help.go index 1f540a5c6..41f3bcee6 100644 --- a/command/path_help.go +++ b/command/path_help.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/path_help_test.go b/command/path_help_test.go index 688bcf09c..eaf4fe8a9 100644 --- a/command/path_help_test.go +++ b/command/path_help_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/pgp_test.go b/command/pgp_test.go index b9f3ee2a9..f37e488ed 100644 --- a/command/pgp_test.go +++ b/command/pgp_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/pki.go b/command/pki.go index 8ae5eae4a..89770fa44 100644 --- a/command/pki.go +++ b/command/pki.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/pki_health_check.go b/command/pki_health_check.go index 8c56a2c1f..c44245ccd 100644 --- a/command/pki_health_check.go +++ b/command/pki_health_check.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/pki_health_check_test.go b/command/pki_health_check_test.go index af3cf337a..d44f789f5 100644 --- a/command/pki_health_check_test.go +++ b/command/pki_health_check_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/pki_issue_intermediate.go b/command/pki_issue_intermediate.go index 7fd881aac..fe16fdaac 100644 --- a/command/pki_issue_intermediate.go +++ b/command/pki_issue_intermediate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/pki_issue_intermediate_test.go b/command/pki_issue_intermediate_test.go index 3aa491a1b..58f9e6271 100644 --- a/command/pki_issue_intermediate_test.go +++ b/command/pki_issue_intermediate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/pki_list_intermediate.go b/command/pki_list_intermediate.go index 2de5a8e8a..c62c58080 100644 --- a/command/pki_list_intermediate.go +++ b/command/pki_list_intermediate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/pki_list_intermediate_test.go b/command/pki_list_intermediate_test.go index 87b38ec59..d494c1933 100644 --- a/command/pki_list_intermediate_test.go +++ b/command/pki_list_intermediate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/pki_reissue_intermediate.go b/command/pki_reissue_intermediate.go index 4c6659cf3..852c0c0f1 100644 --- a/command/pki_reissue_intermediate.go +++ b/command/pki_reissue_intermediate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/pki_reissue_intermediate_test.go b/command/pki_reissue_intermediate_test.go index 928449344..e485f04d3 100644 --- a/command/pki_reissue_intermediate_test.go +++ b/command/pki_reissue_intermediate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/pki_verify_sign.go b/command/pki_verify_sign.go index cee6ae00d..b5a864f12 100644 --- a/command/pki_verify_sign.go +++ b/command/pki_verify_sign.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/pki_verify_sign_test.go b/command/pki_verify_sign_test.go index 5ac09cc80..3f8986a5b 100644 --- a/command/pki_verify_sign_test.go +++ b/command/pki_verify_sign_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/plugin.go b/command/plugin.go index cf0a5009f..ca55a4bf7 100644 --- a/command/plugin.go +++ b/command/plugin.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/plugin_deregister.go b/command/plugin_deregister.go index fc078ffd4..86b329f10 100644 --- a/command/plugin_deregister.go +++ b/command/plugin_deregister.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/plugin_deregister_test.go b/command/plugin_deregister_test.go index f74f3f1f3..b05644e46 100644 --- a/command/plugin_deregister_test.go +++ b/command/plugin_deregister_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/plugin_info.go b/command/plugin_info.go index bcd13fc5f..1fa9555ba 100644 --- a/command/plugin_info.go +++ b/command/plugin_info.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/plugin_info_test.go b/command/plugin_info_test.go index c48977c4a..921014cec 100644 --- a/command/plugin_info_test.go +++ b/command/plugin_info_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/plugin_list.go b/command/plugin_list.go index 93d06d788..f1b0e5ebf 100644 --- a/command/plugin_list.go +++ b/command/plugin_list.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/plugin_list_test.go b/command/plugin_list_test.go index 8e4bbbff8..edae76558 100644 --- a/command/plugin_list_test.go +++ b/command/plugin_list_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/plugin_register.go b/command/plugin_register.go index 6e2e2df48..e9d2e5b7c 100644 --- a/command/plugin_register.go +++ b/command/plugin_register.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/plugin_register_test.go b/command/plugin_register_test.go index a28618eec..eccd5c1f0 100644 --- a/command/plugin_register_test.go +++ b/command/plugin_register_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/plugin_reload.go b/command/plugin_reload.go index ae3c66386..2e95fdd14 100644 --- a/command/plugin_reload.go +++ b/command/plugin_reload.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/plugin_reload_status.go b/command/plugin_reload_status.go index 319d539c1..e527a07d1 100644 --- a/command/plugin_reload_status.go +++ b/command/plugin_reload_status.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/plugin_reload_test.go b/command/plugin_reload_test.go index 5ff39723e..646fda924 100644 --- a/command/plugin_reload_test.go +++ b/command/plugin_reload_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/plugin_test.go b/command/plugin_test.go index ee0c6e53d..08c350cbd 100644 --- a/command/plugin_test.go +++ b/command/plugin_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/policy.go b/command/policy.go index 59ffdf0bf..289aae134 100644 --- a/command/policy.go +++ b/command/policy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/policy_delete.go b/command/policy_delete.go index 76fa9a21d..199fb74a9 100644 --- a/command/policy_delete.go +++ b/command/policy_delete.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/policy_delete_test.go b/command/policy_delete_test.go index 2c822de9d..008cd5976 100644 --- a/command/policy_delete_test.go +++ b/command/policy_delete_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/policy_fmt.go b/command/policy_fmt.go index 7912c1064..75a917913 100644 --- a/command/policy_fmt.go +++ b/command/policy_fmt.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/policy_fmt_test.go b/command/policy_fmt_test.go index 2ae92ff69..89ed5215b 100644 --- a/command/policy_fmt_test.go +++ b/command/policy_fmt_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/policy_list.go b/command/policy_list.go index 53e85df0f..7b5bfc12c 100644 --- a/command/policy_list.go +++ b/command/policy_list.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/policy_list_test.go b/command/policy_list_test.go index 70defe54e..19766978c 100644 --- a/command/policy_list_test.go +++ b/command/policy_list_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/policy_read.go b/command/policy_read.go index 31777c5d5..4f226444b 100644 --- a/command/policy_read.go +++ b/command/policy_read.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/policy_read_test.go b/command/policy_read_test.go index 8cd7c066b..f09174917 100644 --- a/command/policy_read_test.go +++ b/command/policy_read_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/policy_write.go b/command/policy_write.go index 538414bc5..81ff2b3e1 100644 --- a/command/policy_write.go +++ b/command/policy_write.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/policy_write_test.go b/command/policy_write_test.go index c8db7dc9d..8294ef193 100644 --- a/command/policy_write_test.go +++ b/command/policy_write_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/print.go b/command/print.go index dace6ac95..19ac0a674 100644 --- a/command/print.go +++ b/command/print.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/print_token.go b/command/print_token.go index efe5aeedd..862af23e0 100644 --- a/command/print_token.go +++ b/command/print_token.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/read.go b/command/read.go index 3487c5d0d..17b85529e 100644 --- a/command/read.go +++ b/command/read.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/read_test.go b/command/read_test.go index 4a8ec877a..fbe7ab414 100644 --- a/command/read_test.go +++ b/command/read_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/rotate.go b/command/rotate.go index f366a6133..7a174f34e 100644 --- a/command/rotate.go +++ b/command/rotate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/rotate_test.go b/command/rotate_test.go index 37ac32340..bfd48f7b0 100644 --- a/command/rotate_test.go +++ b/command/rotate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/secrets.go b/command/secrets.go index 06e63bec2..320167226 100644 --- a/command/secrets.go +++ b/command/secrets.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/secrets_disable.go b/command/secrets_disable.go index 47a61c5fe..8d782a524 100644 --- a/command/secrets_disable.go +++ b/command/secrets_disable.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/secrets_disable_test.go b/command/secrets_disable_test.go index 567c8956d..d7c7da713 100644 --- a/command/secrets_disable_test.go +++ b/command/secrets_disable_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/secrets_enable.go b/command/secrets_enable.go index a7e98dce9..39ce3bf1b 100644 --- a/command/secrets_enable.go +++ b/command/secrets_enable.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/secrets_enable_test.go b/command/secrets_enable_test.go index 127e54a6a..93984b3c3 100644 --- a/command/secrets_enable_test.go +++ b/command/secrets_enable_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/secrets_list.go b/command/secrets_list.go index 998620f09..90a8fe8ed 100644 --- a/command/secrets_list.go +++ b/command/secrets_list.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/secrets_list_test.go b/command/secrets_list_test.go index 1aeee5bf6..95b60e340 100644 --- a/command/secrets_list_test.go +++ b/command/secrets_list_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/secrets_move.go b/command/secrets_move.go index 458e3bbec..b74adcd6a 100644 --- a/command/secrets_move.go +++ b/command/secrets_move.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/secrets_move_test.go b/command/secrets_move_test.go index 153fbeb2c..3aabaa179 100644 --- a/command/secrets_move_test.go +++ b/command/secrets_move_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/secrets_tune.go b/command/secrets_tune.go index bf8fa3d59..74753e29d 100644 --- a/command/secrets_tune.go +++ b/command/secrets_tune.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/secrets_tune_test.go b/command/secrets_tune_test.go index eabc559f3..25b8a7ce7 100644 --- a/command/secrets_tune_test.go +++ b/command/secrets_tune_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/server.go b/command/server.go index a15f1b712..2e25ee6f2 100644 --- a/command/server.go +++ b/command/server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/server/config.go b/command/server/config.go index 733892352..ebeb77533 100644 --- a/command/server/config.go +++ b/command/server/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/command/server/config_custom_response_headers_test.go b/command/server/config_custom_response_headers_test.go index 5380568c2..11c4300b4 100644 --- a/command/server/config_custom_response_headers_test.go +++ b/command/server/config_custom_response_headers_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/command/server/config_oss_test.go b/command/server/config_oss_test.go index f64670e03..4a08ddf78 100644 --- a/command/server/config_oss_test.go +++ b/command/server/config_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package server diff --git a/command/server/config_telemetry_test.go b/command/server/config_telemetry_test.go index 581710f56..54245d051 100644 --- a/command/server/config_telemetry_test.go +++ b/command/server/config_telemetry_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/command/server/config_test.go b/command/server/config_test.go index 5b3aeb54b..99a8e03d6 100644 --- a/command/server/config_test.go +++ b/command/server/config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/command/server/config_test_helpers.go b/command/server/config_test_helpers.go index 94535b438..f0327f2e6 100644 --- a/command/server/config_test_helpers.go +++ b/command/server/config_test_helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( @@ -500,8 +503,8 @@ func testUnknownFieldValidation(t *testing.T) { Problem: "unknown or unsupported field bad_value found in configuration", Position: token.Pos{ Filename: "./test-fixtures/config.hcl", - Offset: 583, - Line: 34, + Offset: 651, + Line: 37, Column: 5, }, }, diff --git a/command/server/config_test_helpers_util.go b/command/server/config_test_helpers_util.go index 63fa3cfe6..ff72cd6db 100644 --- a/command/server/config_test_helpers_util.go +++ b/command/server/config_test_helpers_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package server diff --git a/command/server/config_util.go b/command/server/config_util.go index feefc6092..3570b9a59 100644 --- a/command/server/config_util.go +++ b/command/server/config_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package server diff --git a/command/server/hcp_link_config_test.go b/command/server/hcp_link_config_test.go index 51f5a5ec8..121b85513 100644 --- a/command/server/hcp_link_config_test.go +++ b/command/server/hcp_link_config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/command/server/listener.go b/command/server/listener.go index 78acbd3e7..19b89565a 100644 --- a/command/server/listener.go +++ b/command/server/listener.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/command/server/listener_tcp.go b/command/server/listener_tcp.go index dbba4b40e..29b601c4b 100644 --- a/command/server/listener_tcp.go +++ b/command/server/listener_tcp.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/command/server/listener_tcp_test.go b/command/server/listener_tcp_test.go index 5ebf61114..6d73cf2cb 100644 --- a/command/server/listener_tcp_test.go +++ b/command/server/listener_tcp_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/command/server/listener_test.go b/command/server/listener_test.go index b1bf62ddf..f4d555c5c 100644 --- a/command/server/listener_test.go +++ b/command/server/listener_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/command/server/listener_unix.go b/command/server/listener_unix.go index 3740b58f7..d5ea772eb 100644 --- a/command/server/listener_unix.go +++ b/command/server/listener_unix.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/command/server/listener_unix_test.go b/command/server/listener_unix_test.go index e5254a294..91eaf121c 100644 --- a/command/server/listener_unix_test.go +++ b/command/server/listener_unix_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/command/server/server_seal_transit_acc_test.go b/command/server/server_seal_transit_acc_test.go index 7f357b7f2..439dfa58a 100644 --- a/command/server/server_seal_transit_acc_test.go +++ b/command/server/server_seal_transit_acc_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/command/server/test-fixtures/config-dir/baz.hcl b/command/server/test-fixtures/config-dir/baz.hcl index 47146c717..171a07dd7 100644 --- a/command/server/test-fixtures/config-dir/baz.hcl +++ b/command/server/test-fixtures/config-dir/baz.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + telemetry { statsd_address = "baz" statsite_address = "qux" diff --git a/command/server/test-fixtures/config-dir/foo.hcl b/command/server/test-fixtures/config-dir/foo.hcl index f538ede1b..0ef439a80 100644 --- a/command/server/test-fixtures/config-dir/foo.hcl +++ b/command/server/test-fixtures/config-dir/foo.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_cache = true disable_mlock = true diff --git a/command/server/test-fixtures/config.hcl b/command/server/test-fixtures/config.hcl index 38ad47524..2a53289bf 100644 --- a/command/server/test-fixtures/config.hcl +++ b/command/server/test-fixtures/config.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_cache = true disable_mlock = true diff --git a/command/server/test-fixtures/config2.hcl b/command/server/test-fixtures/config2.hcl index 7b1dbfd56..4d9cdf7cb 100644 --- a/command/server/test-fixtures/config2.hcl +++ b/command/server/test-fixtures/config2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_cache = true disable_mlock = true diff --git a/command/server/test-fixtures/config3.hcl b/command/server/test-fixtures/config3.hcl index 1023284e0..96b93318f 100644 --- a/command/server/test-fixtures/config3.hcl +++ b/command/server/test-fixtures/config3.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_cache = true disable_mlock = true log_requests_level = "Basic" diff --git a/command/server/test-fixtures/config4.hcl b/command/server/test-fixtures/config4.hcl index b620f3c7e..be49453da 100644 --- a/command/server/test-fixtures/config4.hcl +++ b/command/server/test-fixtures/config4.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_cache = true disable_mlock = true ui = true diff --git a/command/server/test-fixtures/config5.hcl b/command/server/test-fixtures/config5.hcl index 3b3c64c7e..3f5b24608 100644 --- a/command/server/test-fixtures/config5.hcl +++ b/command/server/test-fixtures/config5.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_cache = true disable_mlock = true diff --git a/command/server/test-fixtures/config_bad_https_storage.hcl b/command/server/test-fixtures/config_bad_https_storage.hcl index f8b5d7734..b53673c35 100644 --- a/command/server/test-fixtures/config_bad_https_storage.hcl +++ b/command/server/test-fixtures/config_bad_https_storage.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_cache = true disable_mlock = true diff --git a/command/server/test-fixtures/config_custom_response_headers_1.hcl b/command/server/test-fixtures/config_custom_response_headers_1.hcl index c2f868c2f..bc458da53 100644 --- a/command/server/test-fixtures/config_custom_response_headers_1.hcl +++ b/command/server/test-fixtures/config_custom_response_headers_1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + storage "inmem" {} listener "tcp" { address = "127.0.0.1:8200" diff --git a/command/server/test-fixtures/config_custom_response_headers_multiple_listeners.hcl b/command/server/test-fixtures/config_custom_response_headers_multiple_listeners.hcl index 11aa09923..9ae5b408d 100644 --- a/command/server/test-fixtures/config_custom_response_headers_multiple_listeners.hcl +++ b/command/server/test-fixtures/config_custom_response_headers_multiple_listeners.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + storage "inmem" {} listener "tcp" { address = "127.0.0.1:8200" diff --git a/command/server/test-fixtures/config_diagnose_hastorage_bad_https.hcl b/command/server/test-fixtures/config_diagnose_hastorage_bad_https.hcl index deded2ddf..9e1ac5e10 100644 --- a/command/server/test-fixtures/config_diagnose_hastorage_bad_https.hcl +++ b/command/server/test-fixtures/config_diagnose_hastorage_bad_https.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_cache = true disable_mlock = true diff --git a/command/server/test-fixtures/config_diagnose_ok.hcl b/command/server/test-fixtures/config_diagnose_ok.hcl index a3f70540b..0b903ee6e 100644 --- a/command/server/test-fixtures/config_diagnose_ok.hcl +++ b/command/server/test-fixtures/config_diagnose_ok.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_cache = true disable_mlock = true diff --git a/command/server/test-fixtures/config_raft.hcl b/command/server/test-fixtures/config_raft.hcl index c23a43474..7cb585b39 100644 --- a/command/server/test-fixtures/config_raft.hcl +++ b/command/server/test-fixtures/config_raft.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_cache = true disable_mlock = true diff --git a/command/server/test-fixtures/config_seals.hcl b/command/server/test-fixtures/config_seals.hcl index 7917dc1b7..6fdd13381 100644 --- a/command/server/test-fixtures/config_seals.hcl +++ b/command/server/test-fixtures/config_seals.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + listener "tcp" { address = "127.0.0.1:443" } diff --git a/command/server/test-fixtures/config_small.hcl b/command/server/test-fixtures/config_small.hcl index cfbc28db8..a8e3c7a60 100644 --- a/command/server/test-fixtures/config_small.hcl +++ b/command/server/test-fixtures/config_small.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + storage "raft" { path = "/path/to/raft" node_id = "raft_node_1" diff --git a/command/server/test-fixtures/diagnose_bad_https_consul_sr.hcl b/command/server/test-fixtures/diagnose_bad_https_consul_sr.hcl index 6faecaab7..bc5a71e13 100644 --- a/command/server/test-fixtures/diagnose_bad_https_consul_sr.hcl +++ b/command/server/test-fixtures/diagnose_bad_https_consul_sr.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_cache = true disable_mlock = true diff --git a/command/server/test-fixtures/diagnose_bad_telemetry1.hcl b/command/server/test-fixtures/diagnose_bad_telemetry1.hcl index f7629bdd0..a634b162e 100644 --- a/command/server/test-fixtures/diagnose_bad_telemetry1.hcl +++ b/command/server/test-fixtures/diagnose_bad_telemetry1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_cache = true disable_mlock = true ui = true diff --git a/command/server/test-fixtures/diagnose_bad_telemetry2.hcl b/command/server/test-fixtures/diagnose_bad_telemetry2.hcl index 5c967e3ef..afb195d55 100644 --- a/command/server/test-fixtures/diagnose_bad_telemetry2.hcl +++ b/command/server/test-fixtures/diagnose_bad_telemetry2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_cache = true disable_mlock = true ui = true diff --git a/command/server/test-fixtures/diagnose_bad_telemetry3.hcl b/command/server/test-fixtures/diagnose_bad_telemetry3.hcl index f96692584..422351feb 100644 --- a/command/server/test-fixtures/diagnose_bad_telemetry3.hcl +++ b/command/server/test-fixtures/diagnose_bad_telemetry3.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_cache = true disable_mlock = true ui = true diff --git a/command/server/test-fixtures/diagnose_ok_storage_direct_access.hcl b/command/server/test-fixtures/diagnose_ok_storage_direct_access.hcl index 3b6a9abf2..cda9e2a2d 100644 --- a/command/server/test-fixtures/diagnose_ok_storage_direct_access.hcl +++ b/command/server/test-fixtures/diagnose_ok_storage_direct_access.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_cache = true disable_mlock = true diff --git a/command/server/test-fixtures/diagnose_raft_no_bolt_folder.hcl b/command/server/test-fixtures/diagnose_raft_no_bolt_folder.hcl index d92186f26..e28c1bcb1 100644 --- a/command/server/test-fixtures/diagnose_raft_no_bolt_folder.hcl +++ b/command/server/test-fixtures/diagnose_raft_no_bolt_folder.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + storage "raft" { path = "/path/to/raft/data" node_id = "raft_node_1" diff --git a/command/server/test-fixtures/diagnose_seal_transit_tls_check.hcl b/command/server/test-fixtures/diagnose_seal_transit_tls_check.hcl index a51c27b37..0c0edcfce 100644 --- a/command/server/test-fixtures/diagnose_seal_transit_tls_check.hcl +++ b/command/server/test-fixtures/diagnose_seal_transit_tls_check.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_cache = true disable_mlock = true diff --git a/command/server/test-fixtures/hcp_link_config.hcl b/command/server/test-fixtures/hcp_link_config.hcl index fc25b760e..1a909e3b4 100644 --- a/command/server/test-fixtures/hcp_link_config.hcl +++ b/command/server/test-fixtures/hcp_link_config.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + storage "inmem" {} listener "tcp" { address = "127.0.0.1:8200" diff --git a/command/server/test-fixtures/nostore_config.hcl b/command/server/test-fixtures/nostore_config.hcl index 667570cb0..a80e385b3 100644 --- a/command/server/test-fixtures/nostore_config.hcl +++ b/command/server/test-fixtures/nostore_config.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_cache = true disable_mlock = true diff --git a/command/server/test-fixtures/raft_retry_join.hcl b/command/server/test-fixtures/raft_retry_join.hcl index a4f1f3df0..6f7fe9e47 100644 --- a/command/server/test-fixtures/raft_retry_join.hcl +++ b/command/server/test-fixtures/raft_retry_join.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + storage "raft" { path = "/storage/path/raft" node_id = "raft1" diff --git a/command/server/test-fixtures/telemetry/filter_default_override.hcl b/command/server/test-fixtures/telemetry/filter_default_override.hcl index 04e55f646..4fc70e9eb 100644 --- a/command/server/test-fixtures/telemetry/filter_default_override.hcl +++ b/command/server/test-fixtures/telemetry/filter_default_override.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_mlock = true ui = true diff --git a/command/server/test-fixtures/telemetry/valid_prefix_filter.hcl b/command/server/test-fixtures/telemetry/valid_prefix_filter.hcl index 814dd1c82..055f12259 100644 --- a/command/server/test-fixtures/telemetry/valid_prefix_filter.hcl +++ b/command/server/test-fixtures/telemetry/valid_prefix_filter.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_mlock = true ui = true diff --git a/command/server/test-fixtures/tls_config_ok.hcl b/command/server/test-fixtures/tls_config_ok.hcl index 0dee4b483..4cbd4fa46 100644 --- a/command/server/test-fixtures/tls_config_ok.hcl +++ b/command/server/test-fixtures/tls_config_ok.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_cache = true disable_mlock = true diff --git a/command/server/test-fixtures/unauth_in_flight_access.hcl b/command/server/test-fixtures/unauth_in_flight_access.hcl index eda664127..c191f139b 100644 --- a/command/server/test-fixtures/unauth_in_flight_access.hcl +++ b/command/server/test-fixtures/unauth_in_flight_access.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + storage "inmem" {} listener "tcp" { address = "127.0.0.1:8200" diff --git a/command/server/tls_util.go b/command/server/tls_util.go index 34f6a72f6..a038c2ae6 100644 --- a/command/server/tls_util.go +++ b/command/server/tls_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/command/server_noprofile.go b/command/server_noprofile.go index edaebeb13..1cf516a1a 100644 --- a/command/server_noprofile.go +++ b/command/server_noprofile.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !memprofiler package command diff --git a/command/server_profile.go b/command/server_profile.go index 1ce87a684..42f07d2e8 100644 --- a/command/server_profile.go +++ b/command/server_profile.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build memprofiler package command diff --git a/command/server_test.go b/command/server_test.go index 4ffdd17a6..8e71543ea 100644 --- a/command/server_test.go +++ b/command/server_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !race && !hsm && !fips_140_3 // NOTE: we can't use this with HSM. We can't set testing mode on and it's not diff --git a/command/server_util.go b/command/server_util.go index d5d9c8f4f..7bf3196fc 100644 --- a/command/server_util.go +++ b/command/server_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/ssh.go b/command/ssh.go index e5e5af373..6553a2b0a 100644 --- a/command/ssh.go +++ b/command/ssh.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/ssh_test.go b/command/ssh_test.go index 344e3de0d..837865a9a 100644 --- a/command/ssh_test.go +++ b/command/ssh_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/status.go b/command/status.go index 770adfcf3..0b7c61974 100644 --- a/command/status.go +++ b/command/status.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/status_test.go b/command/status_test.go index e34a72c57..5731945ae 100644 --- a/command/status_test.go +++ b/command/status_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/test-fixtures/config.hcl b/command/test-fixtures/config.hcl index 31de77390..164acd29c 100644 --- a/command/test-fixtures/config.hcl +++ b/command/test-fixtures/config.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + token_helper = "foo" diff --git a/command/test-fixtures/policy.hcl b/command/test-fixtures/policy.hcl index 7d46bdeab..267fc5cec 100644 --- a/command/test-fixtures/policy.hcl +++ b/command/test-fixtures/policy.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + path "secret/foo" { policy = "write" } diff --git a/command/token.go b/command/token.go index 20af230a5..7b1527528 100644 --- a/command/token.go +++ b/command/token.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/token/helper.go b/command/token/helper.go index ff559e40d..c8ce76326 100644 --- a/command/token/helper.go +++ b/command/token/helper.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package token // TokenHelper is an interface that contains basic operations that must be diff --git a/command/token/helper_external.go b/command/token/helper_external.go index 83f5f8907..12557a4b3 100644 --- a/command/token/helper_external.go +++ b/command/token/helper_external.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package token import ( diff --git a/command/token/helper_external_test.go b/command/token/helper_external_test.go index b49dd9334..d95c8890e 100644 --- a/command/token/helper_external_test.go +++ b/command/token/helper_external_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package token import ( diff --git a/command/token/helper_internal.go b/command/token/helper_internal.go index c5f35721e..aeb4faa9b 100644 --- a/command/token/helper_internal.go +++ b/command/token/helper_internal.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package token import ( diff --git a/command/token/helper_internal_test.go b/command/token/helper_internal_test.go index 18f3abae5..e68359c82 100644 --- a/command/token/helper_internal_test.go +++ b/command/token/helper_internal_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package token import ( diff --git a/command/token/helper_testing.go b/command/token/helper_testing.go index 93465931b..e95ff3558 100644 --- a/command/token/helper_testing.go +++ b/command/token/helper_testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package token import ( diff --git a/command/token/testing.go b/command/token/testing.go index 725f1276a..85da0840c 100644 --- a/command/token/testing.go +++ b/command/token/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package token import ( diff --git a/command/token_capabilities.go b/command/token_capabilities.go index 093765630..f7e359c06 100644 --- a/command/token_capabilities.go +++ b/command/token_capabilities.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/token_capabilities_test.go b/command/token_capabilities_test.go index 874db4912..14b0f2765 100644 --- a/command/token_capabilities_test.go +++ b/command/token_capabilities_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/token_create.go b/command/token_create.go index a8dc2f03e..1efee5ebf 100644 --- a/command/token_create.go +++ b/command/token_create.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/token_create_test.go b/command/token_create_test.go index 1fd11b1e9..b80eec5d7 100644 --- a/command/token_create_test.go +++ b/command/token_create_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/token_lookup.go b/command/token_lookup.go index 55284a29d..24161399a 100644 --- a/command/token_lookup.go +++ b/command/token_lookup.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/token_lookup_test.go b/command/token_lookup_test.go index e027b3f7c..3f5636527 100644 --- a/command/token_lookup_test.go +++ b/command/token_lookup_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/token_renew.go b/command/token_renew.go index 88d6fa20f..7a61487b5 100644 --- a/command/token_renew.go +++ b/command/token_renew.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/token_renew_test.go b/command/token_renew_test.go index c958d4d55..29d929201 100644 --- a/command/token_renew_test.go +++ b/command/token_renew_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/token_revoke.go b/command/token_revoke.go index f6eb72101..48ccc27ac 100644 --- a/command/token_revoke.go +++ b/command/token_revoke.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/token_revoke_test.go b/command/token_revoke_test.go index 7f66e9d4a..6ff889830 100644 --- a/command/token_revoke_test.go +++ b/command/token_revoke_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/transit.go b/command/transit.go index 9b4b30501..602bc198c 100644 --- a/command/transit.go +++ b/command/transit.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/transit_import_key.go b/command/transit_import_key.go index 56e72f835..795545b69 100644 --- a/command/transit_import_key.go +++ b/command/transit_import_key.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/transit_import_key_test.go b/command/transit_import_key_test.go index d13c03204..e01c03fa0 100644 --- a/command/transit_import_key_test.go +++ b/command/transit_import_key_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/transit_import_key_version.go b/command/transit_import_key_version.go index 7b38f7dc7..272fe01d1 100644 --- a/command/transit_import_key_version.go +++ b/command/transit_import_key_version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/unwrap.go b/command/unwrap.go index 53ff0787d..1f920e780 100644 --- a/command/unwrap.go +++ b/command/unwrap.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/unwrap_test.go b/command/unwrap_test.go index 4a06418b0..608edff51 100644 --- a/command/unwrap_test.go +++ b/command/unwrap_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/util.go b/command/util.go index 8c0215250..e24d65d72 100644 --- a/command/util.go +++ b/command/util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/version.go b/command/version.go index 5e5503ba8..e9b17227b 100644 --- a/command/version.go +++ b/command/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/version_history.go b/command/version_history.go index 56d3deb96..b2dfbae42 100644 --- a/command/version_history.go +++ b/command/version_history.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/version_history_test.go b/command/version_history_test.go index 69bd56788..c011a4bf4 100644 --- a/command/version_history_test.go +++ b/command/version_history_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/version_test.go b/command/version_test.go index 0f59e9ffc..ede21e62a 100644 --- a/command/version_test.go +++ b/command/version_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/write.go b/command/write.go index 3daa2bae6..2cc93b8a3 100644 --- a/command/write.go +++ b/command/write.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/write_test.go b/command/write_test.go index 03aab4c79..9b76d391c 100644 --- a/command/write_test.go +++ b/command/write_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/enos/ci/aws-nuke.yml b/enos/ci/aws-nuke.yml index 6089d0d30..50a567704 100644 --- a/enos/ci/aws-nuke.yml +++ b/enos/ci/aws-nuke.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + regions: - eu-north-1 - ap-south-1 diff --git a/enos/ci/bootstrap/main.tf b/enos/ci/bootstrap/main.tf index 804f1e66b..c5ce812d9 100644 --- a/enos/ci/bootstrap/main.tf +++ b/enos/ci/bootstrap/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { aws = { diff --git a/enos/ci/bootstrap/outputs.tf b/enos/ci/bootstrap/outputs.tf index 858318e4c..e6ff37270 100644 --- a/enos/ci/bootstrap/outputs.tf +++ b/enos/ci/bootstrap/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "keys" { value = { "us-east-1" = { diff --git a/enos/ci/bootstrap/variables.tf b/enos/ci/bootstrap/variables.tf index 3aab3449f..3fb53bc51 100644 --- a/enos/ci/bootstrap/variables.tf +++ b/enos/ci/bootstrap/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "aws_ssh_public_key" { description = "The public key to use for the ssh key" type = string diff --git a/enos/ci/service-user-iam/main.tf b/enos/ci/service-user-iam/main.tf index a42333932..6aafd9a38 100644 --- a/enos/ci/service-user-iam/main.tf +++ b/enos/ci/service-user-iam/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { aws = { diff --git a/enos/ci/service-user-iam/outputs.tf b/enos/ci/service-user-iam/outputs.tf index d4ba89910..ba980d59d 100644 --- a/enos/ci/service-user-iam/outputs.tf +++ b/enos/ci/service-user-iam/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "ci_role" { value = { name = aws_iam_role.role.name diff --git a/enos/ci/service-user-iam/providers.tf b/enos/ci/service-user-iam/providers.tf index 09c86d7ba..7baba3344 100644 --- a/enos/ci/service-user-iam/providers.tf +++ b/enos/ci/service-user-iam/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "aws" { region = "us-east-1" alias = "us_east_1" diff --git a/enos/ci/service-user-iam/service-quotas.tf b/enos/ci/service-user-iam/service-quotas.tf index 73a68363d..57ab9aa41 100644 --- a/enos/ci/service-user-iam/service-quotas.tf +++ b/enos/ci/service-user-iam/service-quotas.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + locals { // This is the code of the service quota to request a change for. Each adjustable limit has a // unique code. See, https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/servicequotas_service_quota#quota_code diff --git a/enos/ci/service-user-iam/variables.tf b/enos/ci/service-user-iam/variables.tf index 6cc7efd6b..a80d83ca9 100644 --- a/enos/ci/service-user-iam/variables.tf +++ b/enos/ci/service-user-iam/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "repository" { description = "The GitHub repository, either vault or vault-enterprise" type = string diff --git a/enos/enos-modules.hcl b/enos/enos-modules.hcl index 26cb20dac..bfb69a2bd 100644 --- a/enos/enos-modules.hcl +++ b/enos/enos-modules.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + module "autopilot_upgrade_storageconfig" { source = "./modules/autopilot_upgrade_storageconfig" } diff --git a/enos/enos-providers.hcl b/enos/enos-providers.hcl index 9301b5503..f277c57e2 100644 --- a/enos/enos-providers.hcl +++ b/enos/enos-providers.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "aws" "default" { region = var.aws_region } diff --git a/enos/enos-scenario-agent.hcl b/enos/enos-scenario-agent.hcl index 8a7de6032..6049fec23 100644 --- a/enos/enos-scenario-agent.hcl +++ b/enos/enos-scenario-agent.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + scenario "agent" { matrix { arch = ["amd64", "arm64"] diff --git a/enos/enos-scenario-autopilot.hcl b/enos/enos-scenario-autopilot.hcl index bf683b67f..1f46c92c9 100644 --- a/enos/enos-scenario-autopilot.hcl +++ b/enos/enos-scenario-autopilot.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + scenario "autopilot" { matrix { arch = ["amd64", "arm64"] diff --git a/enos/enos-scenario-replication.hcl b/enos/enos-scenario-replication.hcl index a6c81672e..610ecf3cf 100644 --- a/enos/enos-scenario-replication.hcl +++ b/enos/enos-scenario-replication.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + // The replication scenario configures performance replication between two Vault clusters and verifies // known_primary_cluster_addrs are updated on secondary Vault cluster with the IP addresses of replaced // nodes on primary Vault cluster diff --git a/enos/enos-scenario-smoke.hcl b/enos/enos-scenario-smoke.hcl index 717f275ff..f2b5e9b5e 100644 --- a/enos/enos-scenario-smoke.hcl +++ b/enos/enos-scenario-smoke.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + scenario "smoke" { matrix { arch = ["amd64", "arm64"] diff --git a/enos/enos-scenario-ui.hcl b/enos/enos-scenario-ui.hcl index 77335e6ad..6fba448e2 100644 --- a/enos/enos-scenario-ui.hcl +++ b/enos/enos-scenario-ui.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + scenario "ui" { matrix { edition = ["oss", "ent"] diff --git a/enos/enos-scenario-upgrade.hcl b/enos/enos-scenario-upgrade.hcl index 5a188695c..3b576ed70 100644 --- a/enos/enos-scenario-upgrade.hcl +++ b/enos/enos-scenario-upgrade.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + scenario "upgrade" { matrix { arch = ["amd64", "arm64"] diff --git a/enos/enos-terraform.hcl b/enos/enos-terraform.hcl index 0c88cc791..b03b4b480 100644 --- a/enos/enos-terraform.hcl +++ b/enos/enos-terraform.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform_cli "default" { plugin_cache_dir = var.terraform_plugin_cache_dir != null ? abspath(var.terraform_plugin_cache_dir) : null diff --git a/enos/enos-variables.hcl b/enos/enos-variables.hcl index ecbd7fd63..65a43f891 100644 --- a/enos/enos-variables.hcl +++ b/enos/enos-variables.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "artifact_path" { type = string description = "The local path for dev artifact to test" diff --git a/enos/enos.vars.hcl b/enos/enos.vars.hcl index d157c7b92..d63af4452 100644 --- a/enos/enos.vars.hcl +++ b/enos/enos.vars.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # aws_region is the AWS region where we'll create infrastructure # for the smoke scenario # aws_region = "us-west-1" diff --git a/enos/k8s/enos-modules-k8s.hcl b/enos/k8s/enos-modules-k8s.hcl index 17853fea9..17f565a74 100644 --- a/enos/k8s/enos-modules-k8s.hcl +++ b/enos/k8s/enos-modules-k8s.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + module "create_kind_cluster" { source = "../modules/local_kind_cluster" } diff --git a/enos/k8s/enos-providers-k8s.hcl b/enos/k8s/enos-providers-k8s.hcl index 2a0cf2be3..7e3d7a774 100644 --- a/enos/k8s/enos-providers-k8s.hcl +++ b/enos/k8s/enos-providers-k8s.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "enos" "default" {} provider "helm" "default" { diff --git a/enos/k8s/enos-scenario-k8s.hcl b/enos/k8s/enos-scenario-k8s.hcl index 20931e0c0..a3c254fcc 100644 --- a/enos/k8s/enos-scenario-k8s.hcl +++ b/enos/k8s/enos-scenario-k8s.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + scenario "k8s" { matrix { edition = ["oss", "ent"] diff --git a/enos/k8s/enos-terraform-k8s.hcl b/enos/k8s/enos-terraform-k8s.hcl index 18f1222ff..ad9215e33 100644 --- a/enos/k8s/enos-terraform-k8s.hcl +++ b/enos/k8s/enos-terraform-k8s.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform "k8s" { required_version = ">= 1.2.0" required_providers { diff --git a/enos/k8s/enos-variables-k8s.hcl b/enos/k8s/enos-variables-k8s.hcl index fb8983f21..86bf9d5e3 100644 --- a/enos/k8s/enos-variables-k8s.hcl +++ b/enos/k8s/enos-variables-k8s.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "vault_image_repository" { description = "The repository for the docker image to load, i.e. hashicorp/vault" type = string diff --git a/enos/modules/autopilot_upgrade_storageconfig/main.tf b/enos/modules/autopilot_upgrade_storageconfig/main.tf index 6093b8b10..68f47d19d 100644 --- a/enos/modules/autopilot_upgrade_storageconfig/main.tf +++ b/enos/modules/autopilot_upgrade_storageconfig/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "vault_product_version" {} output "storage_addl_config" { diff --git a/enos/modules/az_finder/main.tf b/enos/modules/az_finder/main.tf index b55975578..3508ff0cc 100644 --- a/enos/modules/az_finder/main.tf +++ b/enos/modules/az_finder/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { aws = { diff --git a/enos/modules/backend_raft/main.tf b/enos/modules/backend_raft/main.tf index 4cb8e58a5..2e6afa215 100644 --- a/enos/modules/backend_raft/main.tf +++ b/enos/modules/backend_raft/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + // Shim module to handle the fact that Vault doesn't actually need a backend module terraform { required_providers { diff --git a/enos/modules/build_crt/main.tf b/enos/modules/build_crt/main.tf index cffa44b17..1e125763a 100644 --- a/enos/modules/build_crt/main.tf +++ b/enos/modules/build_crt/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # Shim module since CRT provided things will use the crt_bundle_path variable variable "bundle_path" { default = "/tmp/vault.zip" diff --git a/enos/modules/build_local/main.tf b/enos/modules/build_local/main.tf index 7688c843b..c7ee686e3 100644 --- a/enos/modules/build_local/main.tf +++ b/enos/modules/build_local/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/modules/build_local/scripts/build.sh b/enos/modules/build_local/scripts/build.sh index 385a3af55..64f1bbd8d 100755 --- a/enos/modules/build_local/scripts/build.sh +++ b/enos/modules/build_local/scripts/build.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eux -o pipefail # Install yarn so we can build the UI diff --git a/enos/modules/generate_secondary_token/main.tf b/enos/modules/generate_secondary_token/main.tf index fbba304bd..49a4a15e2 100644 --- a/enos/modules/generate_secondary_token/main.tf +++ b/enos/modules/generate_secondary_token/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/modules/get_local_metadata/main.tf b/enos/modules/get_local_metadata/main.tf index d0749c669..29376aa86 100644 --- a/enos/modules/get_local_metadata/main.tf +++ b/enos/modules/get_local_metadata/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/modules/get_local_metadata/scripts/build_date.sh b/enos/modules/get_local_metadata/scripts/build_date.sh index 917888eb1..fc763fd4e 100755 --- a/enos/modules/get_local_metadata/scripts/build_date.sh +++ b/enos/modules/get_local_metadata/scripts/build_date.sh @@ -1,4 +1,7 @@ #!/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eu -o pipefail pushd "$(git rev-parse --show-toplevel)" > /dev/null diff --git a/enos/modules/get_local_metadata/scripts/version.sh b/enos/modules/get_local_metadata/scripts/version.sh index 6921d772e..74a561f11 100755 --- a/enos/modules/get_local_metadata/scripts/version.sh +++ b/enos/modules/get_local_metadata/scripts/version.sh @@ -1,4 +1,7 @@ #!/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eu -o pipefail pushd "$(git rev-parse --show-toplevel)" > /dev/null diff --git a/enos/modules/k8s_deploy_vault/main.tf b/enos/modules/k8s_deploy_vault/main.tf index 1878ebeb7..72f4f4700 100644 --- a/enos/modules/k8s_deploy_vault/main.tf +++ b/enos/modules/k8s_deploy_vault/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_version = ">= 1.0" diff --git a/enos/modules/k8s_deploy_vault/raft-config.hcl b/enos/modules/k8s_deploy_vault/raft-config.hcl index b624dad80..d085c7a06 100644 --- a/enos/modules/k8s_deploy_vault/raft-config.hcl +++ b/enos/modules/k8s_deploy_vault/raft-config.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + ui = true listener "tcp" { address = "[::]:8200" diff --git a/enos/modules/k8s_deploy_vault/variables.tf b/enos/modules/k8s_deploy_vault/variables.tf index e9867d7fa..55fa6f1da 100644 --- a/enos/modules/k8s_deploy_vault/variables.tf +++ b/enos/modules/k8s_deploy_vault/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "context_name" { type = string description = "The name of the k8s context for Vault" diff --git a/enos/modules/k8s_vault_verify_build_date/main.tf b/enos/modules/k8s_vault_verify_build_date/main.tf index 38f17fbc9..366497d08 100644 --- a/enos/modules/k8s_vault_verify_build_date/main.tf +++ b/enos/modules/k8s_vault_verify_build_date/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { diff --git a/enos/modules/k8s_vault_verify_build_date/variables.tf b/enos/modules/k8s_vault_verify_build_date/variables.tf index 7bba75ba6..d960b7840 100644 --- a/enos/modules/k8s_vault_verify_build_date/variables.tf +++ b/enos/modules/k8s_vault_verify_build_date/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "vault_instance_count" { type = number description = "How many vault instances are in the cluster" diff --git a/enos/modules/k8s_vault_verify_replication/main.tf b/enos/modules/k8s_vault_verify_replication/main.tf index 804b93459..27824dc76 100644 --- a/enos/modules/k8s_vault_verify_replication/main.tf +++ b/enos/modules/k8s_vault_verify_replication/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { diff --git a/enos/modules/k8s_vault_verify_replication/scripts/smoke-verify-replication.sh b/enos/modules/k8s_vault_verify_replication/scripts/smoke-verify-replication.sh index 363ce7185..5786502cb 100755 --- a/enos/modules/k8s_vault_verify_replication/scripts/smoke-verify-replication.sh +++ b/enos/modules/k8s_vault_verify_replication/scripts/smoke-verify-replication.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # The Vault replication smoke test, documented in # https://docs.google.com/document/d/16sjIk3hzFDPyY5A9ncxTZV_9gnpYSF1_Vx6UA1iiwgI/edit#heading=h.kgrxf0f1et25 diff --git a/enos/modules/k8s_vault_verify_replication/variables.tf b/enos/modules/k8s_vault_verify_replication/variables.tf index 42ab38aa5..7d4337801 100644 --- a/enos/modules/k8s_vault_verify_replication/variables.tf +++ b/enos/modules/k8s_vault_verify_replication/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "vault_instance_count" { type = number description = "How many vault instances are in the cluster" diff --git a/enos/modules/k8s_vault_verify_ui/main.tf b/enos/modules/k8s_vault_verify_ui/main.tf index faccb7085..ce5796096 100644 --- a/enos/modules/k8s_vault_verify_ui/main.tf +++ b/enos/modules/k8s_vault_verify_ui/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { diff --git a/enos/modules/k8s_vault_verify_ui/scripts/smoke-verify-ui.sh b/enos/modules/k8s_vault_verify_ui/scripts/smoke-verify-ui.sh index b85d4da12..f6b8a278d 100755 --- a/enos/modules/k8s_vault_verify_ui/scripts/smoke-verify-ui.sh +++ b/enos/modules/k8s_vault_verify_ui/scripts/smoke-verify-ui.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e diff --git a/enos/modules/k8s_vault_verify_ui/variables.tf b/enos/modules/k8s_vault_verify_ui/variables.tf index 6c06d5de7..c39f24e1f 100644 --- a/enos/modules/k8s_vault_verify_ui/variables.tf +++ b/enos/modules/k8s_vault_verify_ui/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "vault_instance_count" { type = number description = "How many vault instances are in the cluster" diff --git a/enos/modules/k8s_vault_verify_version/main.tf b/enos/modules/k8s_vault_verify_version/main.tf index 693abf979..8decaaa77 100644 --- a/enos/modules/k8s_vault_verify_version/main.tf +++ b/enos/modules/k8s_vault_verify_version/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { diff --git a/enos/modules/k8s_vault_verify_version/scripts/get-status.sh b/enos/modules/k8s_vault_verify_version/scripts/get-status.sh index 3d2d1fe97..a799ebc66 100755 --- a/enos/modules/k8s_vault_verify_version/scripts/get-status.sh +++ b/enos/modules/k8s_vault_verify_version/scripts/get-status.sh @@ -1,4 +1,7 @@ #!/usr/bin/env sh +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e diff --git a/enos/modules/k8s_vault_verify_version/scripts/smoke-verify-version.sh b/enos/modules/k8s_vault_verify_version/scripts/smoke-verify-version.sh index d5c439a9b..514969cf5 100755 --- a/enos/modules/k8s_vault_verify_version/scripts/smoke-verify-version.sh +++ b/enos/modules/k8s_vault_verify_version/scripts/smoke-verify-version.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # The Vault smoke test to verify the Vault version installed diff --git a/enos/modules/k8s_vault_verify_version/variables.tf b/enos/modules/k8s_vault_verify_version/variables.tf index ed487831a..58940a855 100644 --- a/enos/modules/k8s_vault_verify_version/variables.tf +++ b/enos/modules/k8s_vault_verify_version/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "vault_instance_count" { type = number description = "How many vault instances are in the cluster" diff --git a/enos/modules/k8s_vault_verify_write_data/main.tf b/enos/modules/k8s_vault_verify_write_data/main.tf index 01caeaba4..5606b8988 100644 --- a/enos/modules/k8s_vault_verify_write_data/main.tf +++ b/enos/modules/k8s_vault_verify_write_data/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { diff --git a/enos/modules/k8s_vault_verify_write_data/variables.tf b/enos/modules/k8s_vault_verify_write_data/variables.tf index 7bba75ba6..d960b7840 100644 --- a/enos/modules/k8s_vault_verify_write_data/variables.tf +++ b/enos/modules/k8s_vault_verify_write_data/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "vault_instance_count" { type = number description = "How many vault instances are in the cluster" diff --git a/enos/modules/load_docker_image/main.tf b/enos/modules/load_docker_image/main.tf index 854c52f9e..4e5f293f9 100644 --- a/enos/modules/load_docker_image/main.tf +++ b/enos/modules/load_docker_image/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/modules/local_kind_cluster/main.tf b/enos/modules/local_kind_cluster/main.tf index c5da14daf..5a351679b 100644 --- a/enos/modules/local_kind_cluster/main.tf +++ b/enos/modules/local_kind_cluster/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/modules/read_license/main.tf b/enos/modules/read_license/main.tf index 1b645272a..a1358b3e2 100644 --- a/enos/modules/read_license/main.tf +++ b/enos/modules/read_license/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "file_name" {} output "license" { diff --git a/enos/modules/shutdown_multiple_nodes/main.tf b/enos/modules/shutdown_multiple_nodes/main.tf index df0d1fb87..86045db0b 100644 --- a/enos/modules/shutdown_multiple_nodes/main.tf +++ b/enos/modules/shutdown_multiple_nodes/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/modules/shutdown_node/main.tf b/enos/modules/shutdown_node/main.tf index 0ab4617e1..f27de6853 100644 --- a/enos/modules/shutdown_node/main.tf +++ b/enos/modules/shutdown_node/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/modules/vault_agent/main.tf b/enos/modules/vault_agent/main.tf index 001a53278..cb112020b 100644 --- a/enos/modules/vault_agent/main.tf +++ b/enos/modules/vault_agent/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { aws = { diff --git a/enos/modules/vault_agent/templates/set-up-approle-and-agent.sh b/enos/modules/vault_agent/templates/set-up-approle-and-agent.sh index 5444508de..42a097641 100644 --- a/enos/modules/vault_agent/templates/set-up-approle-and-agent.sh +++ b/enos/modules/vault_agent/templates/set-up-approle-and-agent.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e diff --git a/enos/modules/vault_artifactory_artifact/locals.tf b/enos/modules/vault_artifactory_artifact/locals.tf index e022a62c3..708813faa 100644 --- a/enos/modules/vault_artifactory_artifact/locals.tf +++ b/enos/modules/vault_artifactory_artifact/locals.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + locals { // file name extensions for the install packages of vault for the various architectures, distributions and editions diff --git a/enos/modules/vault_artifactory_artifact/main.tf b/enos/modules/vault_artifactory_artifact/main.tf index ebc517030..0f0df3865 100644 --- a/enos/modules/vault_artifactory_artifact/main.tf +++ b/enos/modules/vault_artifactory_artifact/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/modules/vault_artifactory_artifact/outputs.tf b/enos/modules/vault_artifactory_artifact/outputs.tf index 827b2e773..c100c45dd 100644 --- a/enos/modules/vault_artifactory_artifact/outputs.tf +++ b/enos/modules/vault_artifactory_artifact/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "url" { value = data.enos_artifactory_item.vault.results[0].url diff --git a/enos/modules/vault_artifactory_artifact/variables.tf b/enos/modules/vault_artifactory_artifact/variables.tf index 778354e7d..7b641ce98 100644 --- a/enos/modules/vault_artifactory_artifact/variables.tf +++ b/enos/modules/vault_artifactory_artifact/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "artifactory_username" { type = string diff --git a/enos/modules/vault_get_cluster_ips/main.tf b/enos/modules/vault_get_cluster_ips/main.tf index dcb251358..d627e2454 100644 --- a/enos/modules/vault_get_cluster_ips/main.tf +++ b/enos/modules/vault_get_cluster_ips/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/modules/vault_get_cluster_ips/scripts/get-leader-private-ip.sh b/enos/modules/vault_get_cluster_ips/scripts/get-leader-private-ip.sh index 360e9d79d..98b2d21fd 100644 --- a/enos/modules/vault_get_cluster_ips/scripts/get-leader-private-ip.sh +++ b/enos/modules/vault_get_cluster_ips/scripts/get-leader-private-ip.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e diff --git a/enos/modules/vault_raft_remove_peer/main.tf b/enos/modules/vault_raft_remove_peer/main.tf index f1d33d9c0..a0da72249 100644 --- a/enos/modules/vault_raft_remove_peer/main.tf +++ b/enos/modules/vault_raft_remove_peer/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/modules/vault_raft_remove_peer/templates/raft-remove-peer.sh b/enos/modules/vault_raft_remove_peer/templates/raft-remove-peer.sh index 6d967ee30..ab49f76ba 100644 --- a/enos/modules/vault_raft_remove_peer/templates/raft-remove-peer.sh +++ b/enos/modules/vault_raft_remove_peer/templates/raft-remove-peer.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e diff --git a/enos/modules/vault_setup_perf_primary/main.tf b/enos/modules/vault_setup_perf_primary/main.tf index 474c255a7..75e998eb3 100644 --- a/enos/modules/vault_setup_perf_primary/main.tf +++ b/enos/modules/vault_setup_perf_primary/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/modules/vault_setup_perf_primary/scripts/configure-vault-pr-primary.sh b/enos/modules/vault_setup_perf_primary/scripts/configure-vault-pr-primary.sh index 679729f3f..d15699c4b 100644 --- a/enos/modules/vault_setup_perf_primary/scripts/configure-vault-pr-primary.sh +++ b/enos/modules/vault_setup_perf_primary/scripts/configure-vault-pr-primary.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e diff --git a/enos/modules/vault_setup_perf_secondary/main.tf b/enos/modules/vault_setup_perf_secondary/main.tf index 1fac54b94..3be3ca889 100644 --- a/enos/modules/vault_setup_perf_secondary/main.tf +++ b/enos/modules/vault_setup_perf_secondary/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/modules/vault_test_ui/main.tf b/enos/modules/vault_test_ui/main.tf index 2af426232..0e051bdf4 100644 --- a/enos/modules/vault_test_ui/main.tf +++ b/enos/modules/vault_test_ui/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/modules/vault_test_ui/outputs.tf b/enos/modules/vault_test_ui/outputs.tf index abe4924ce..887d030a7 100644 --- a/enos/modules/vault_test_ui/outputs.tf +++ b/enos/modules/vault_test_ui/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "ui_test_stderr" { value = var.ui_run_tests ? enos_local_exec.test_ui[0].stderr : "No std out tests where not run" } diff --git a/enos/modules/vault_test_ui/scripts/test_ui.sh b/enos/modules/vault_test_ui/scripts/test_ui.sh index f84cb929f..e7cf7e956 100755 --- a/enos/modules/vault_test_ui/scripts/test_ui.sh +++ b/enos/modules/vault_test_ui/scripts/test_ui.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eux -o pipefail diff --git a/enos/modules/vault_test_ui/variables.tf b/enos/modules/vault_test_ui/variables.tf index 807cf01ae..c2db5c57b 100644 --- a/enos/modules/vault_test_ui/variables.tf +++ b/enos/modules/vault_test_ui/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "vault_addr" { description = "The host address for the vault instance to test" type = string diff --git a/enos/modules/vault_unseal_nodes/main.tf b/enos/modules/vault_unseal_nodes/main.tf index 47797dcf9..b353fa8a5 100644 --- a/enos/modules/vault_unseal_nodes/main.tf +++ b/enos/modules/vault_unseal_nodes/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This module unseals the replication secondary follower nodes terraform { required_providers { diff --git a/enos/modules/vault_unseal_nodes/scripts/unseal-node.sh b/enos/modules/vault_unseal_nodes/scripts/unseal-node.sh index 6fe00a93d..b3f77de50 100755 --- a/enos/modules/vault_unseal_nodes/scripts/unseal-node.sh +++ b/enos/modules/vault_unseal_nodes/scripts/unseal-node.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + binpath=${VAULT_INSTALL_DIR}/vault diff --git a/enos/modules/vault_unseal_nodes/scripts/wait-until-sealed.sh b/enos/modules/vault_unseal_nodes/scripts/wait-until-sealed.sh index d0ebb1f06..af9355787 100644 --- a/enos/modules/vault_unseal_nodes/scripts/wait-until-sealed.sh +++ b/enos/modules/vault_unseal_nodes/scripts/wait-until-sealed.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + binpath=${VAULT_INSTALL_DIR}/vault diff --git a/enos/modules/vault_upgrade/main.tf b/enos/modules/vault_upgrade/main.tf index 07e65bf19..5502212d5 100644 --- a/enos/modules/vault_upgrade/main.tf +++ b/enos/modules/vault_upgrade/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { aws = { diff --git a/enos/modules/vault_upgrade/templates/get-follower-public-ips.sh b/enos/modules/vault_upgrade/templates/get-follower-public-ips.sh index e424aa444..127be6449 100644 --- a/enos/modules/vault_upgrade/templates/get-follower-public-ips.sh +++ b/enos/modules/vault_upgrade/templates/get-follower-public-ips.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e diff --git a/enos/modules/vault_upgrade/templates/get-leader-public-ip.sh b/enos/modules/vault_upgrade/templates/get-leader-public-ip.sh index 5c36dae33..d64a6c16e 100644 --- a/enos/modules/vault_upgrade/templates/get-leader-public-ip.sh +++ b/enos/modules/vault_upgrade/templates/get-leader-public-ip.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e diff --git a/enos/modules/vault_upgrade/templates/restart-vault.sh b/enos/modules/vault_upgrade/templates/restart-vault.sh index aa6853643..fc6b007a3 100644 --- a/enos/modules/vault_upgrade/templates/restart-vault.sh +++ b/enos/modules/vault_upgrade/templates/restart-vault.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eux diff --git a/enos/modules/vault_verify_agent_output/main.tf b/enos/modules/vault_verify_agent_output/main.tf index 6643c8b62..850ea5366 100644 --- a/enos/modules/vault_verify_agent_output/main.tf +++ b/enos/modules/vault_verify_agent_output/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/modules/vault_verify_agent_output/templates/verify-vault-agent-output.sh b/enos/modules/vault_verify_agent_output/templates/verify-vault-agent-output.sh index 3c434ba97..cd25a01c8 100644 --- a/enos/modules/vault_verify_agent_output/templates/verify-vault-agent-output.sh +++ b/enos/modules/vault_verify_agent_output/templates/verify-vault-agent-output.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e diff --git a/enos/modules/vault_verify_autopilot/main.tf b/enos/modules/vault_verify_autopilot/main.tf index ca03ea6f6..b1d050af2 100644 --- a/enos/modules/vault_verify_autopilot/main.tf +++ b/enos/modules/vault_verify_autopilot/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/modules/vault_verify_autopilot/templates/smoke-verify-autopilot.sh b/enos/modules/vault_verify_autopilot/templates/smoke-verify-autopilot.sh index 1dd5d9014..129288a3c 100755 --- a/enos/modules/vault_verify_autopilot/templates/smoke-verify-autopilot.sh +++ b/enos/modules/vault_verify_autopilot/templates/smoke-verify-autopilot.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + token="${vault_token}" autopilot_version="${vault_autopilot_upgrade_version}" diff --git a/enos/modules/vault_verify_performance_replication/main.tf b/enos/modules/vault_verify_performance_replication/main.tf index 2721144c3..9d6b0c005 100644 --- a/enos/modules/vault_verify_performance_replication/main.tf +++ b/enos/modules/vault_verify_performance_replication/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/modules/vault_verify_performance_replication/scripts/get-replication-status.sh b/enos/modules/vault_verify_performance_replication/scripts/get-replication-status.sh index 7181aceff..6b9930a83 100644 --- a/enos/modules/vault_verify_performance_replication/scripts/get-replication-status.sh +++ b/enos/modules/vault_verify_performance_replication/scripts/get-replication-status.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This script waits for the replication status to be established # But the replication validations are done by Terraform so this diff --git a/enos/modules/vault_verify_raft_auto_join_voter/main.tf b/enos/modules/vault_verify_raft_auto_join_voter/main.tf index ded9c3cc7..44df4496a 100644 --- a/enos/modules/vault_verify_raft_auto_join_voter/main.tf +++ b/enos/modules/vault_verify_raft_auto_join_voter/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/modules/vault_verify_raft_auto_join_voter/templates/verify-raft-auto-join-voter.sh b/enos/modules/vault_verify_raft_auto_join_voter/templates/verify-raft-auto-join-voter.sh index e1172d715..3187ac69f 100644 --- a/enos/modules/vault_verify_raft_auto_join_voter/templates/verify-raft-auto-join-voter.sh +++ b/enos/modules/vault_verify_raft_auto_join_voter/templates/verify-raft-auto-join-voter.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e diff --git a/enos/modules/vault_verify_read_data/main.tf b/enos/modules/vault_verify_read_data/main.tf index 8a881bb4b..853c9cbc3 100644 --- a/enos/modules/vault_verify_read_data/main.tf +++ b/enos/modules/vault_verify_read_data/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/modules/vault_verify_read_data/scripts/verify-data.sh b/enos/modules/vault_verify_read_data/scripts/verify-data.sh index d150d8f7e..5c095c58c 100644 --- a/enos/modules/vault_verify_read_data/scripts/verify-data.sh +++ b/enos/modules/vault_verify_read_data/scripts/verify-data.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e diff --git a/enos/modules/vault_verify_replication/main.tf b/enos/modules/vault_verify_replication/main.tf index 57a97f9dd..fbb360a38 100644 --- a/enos/modules/vault_verify_replication/main.tf +++ b/enos/modules/vault_verify_replication/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { diff --git a/enos/modules/vault_verify_replication/templates/smoke-verify-replication.sh b/enos/modules/vault_verify_replication/templates/smoke-verify-replication.sh index d7bc72f23..1ef6207a3 100644 --- a/enos/modules/vault_verify_replication/templates/smoke-verify-replication.sh +++ b/enos/modules/vault_verify_replication/templates/smoke-verify-replication.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # The Vault replication smoke test, documented in # https://docs.google.com/document/d/16sjIk3hzFDPyY5A9ncxTZV_9gnpYSF1_Vx6UA1iiwgI/edit#heading=h.kgrxf0f1et25 diff --git a/enos/modules/vault_verify_replication/variables.tf b/enos/modules/vault_verify_replication/variables.tf index b335ee45e..26ac75c91 100644 --- a/enos/modules/vault_verify_replication/variables.tf +++ b/enos/modules/vault_verify_replication/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "vault_edition" { type = string diff --git a/enos/modules/vault_verify_ui/main.tf b/enos/modules/vault_verify_ui/main.tf index 5703326d1..32986072c 100644 --- a/enos/modules/vault_verify_ui/main.tf +++ b/enos/modules/vault_verify_ui/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { diff --git a/enos/modules/vault_verify_ui/templates/smoke-verify-ui.sh b/enos/modules/vault_verify_ui/templates/smoke-verify-ui.sh index bcd7e1cc3..2ec23a107 100644 --- a/enos/modules/vault_verify_ui/templates/smoke-verify-ui.sh +++ b/enos/modules/vault_verify_ui/templates/smoke-verify-ui.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e diff --git a/enos/modules/vault_verify_ui/variables.tf b/enos/modules/vault_verify_ui/variables.tf index 7eaf5d1bf..344f0d807 100644 --- a/enos/modules/vault_verify_ui/variables.tf +++ b/enos/modules/vault_verify_ui/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "vault_install_dir" { type = string diff --git a/enos/modules/vault_verify_undo_logs/main.tf b/enos/modules/vault_verify_undo_logs/main.tf index c856ca4c9..717d90735 100644 --- a/enos/modules/vault_verify_undo_logs/main.tf +++ b/enos/modules/vault_verify_undo_logs/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/modules/vault_verify_undo_logs/scripts/smoke-verify-undo-logs.sh b/enos/modules/vault_verify_undo_logs/scripts/smoke-verify-undo-logs.sh index 5761ea1d7..ec308dd8b 100644 --- a/enos/modules/vault_verify_undo_logs/scripts/smoke-verify-undo-logs.sh +++ b/enos/modules/vault_verify_undo_logs/scripts/smoke-verify-undo-logs.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + function fail() { echo "$1" 1>&2 diff --git a/enos/modules/vault_verify_unsealed/main.tf b/enos/modules/vault_verify_unsealed/main.tf index 0b615295c..45d15418a 100644 --- a/enos/modules/vault_verify_unsealed/main.tf +++ b/enos/modules/vault_verify_unsealed/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/modules/vault_verify_unsealed/templates/verify-vault-node-unsealed.sh b/enos/modules/vault_verify_unsealed/templates/verify-vault-node-unsealed.sh index aefc75ec1..c69c253ba 100644 --- a/enos/modules/vault_verify_unsealed/templates/verify-vault-node-unsealed.sh +++ b/enos/modules/vault_verify_unsealed/templates/verify-vault-node-unsealed.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e diff --git a/enos/modules/vault_verify_version/main.tf b/enos/modules/vault_verify_version/main.tf index 9e80f456c..88b4e7a00 100644 --- a/enos/modules/vault_verify_version/main.tf +++ b/enos/modules/vault_verify_version/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/modules/vault_verify_version/templates/verify-cluster-version.sh b/enos/modules/vault_verify_version/templates/verify-cluster-version.sh index 3fd210235..ba5df7488 100644 --- a/enos/modules/vault_verify_version/templates/verify-cluster-version.sh +++ b/enos/modules/vault_verify_version/templates/verify-cluster-version.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # Verify the Vault "version" includes the correct base version, build date, # revision SHA, and edition metadata. diff --git a/enos/modules/vault_verify_write_data/main.tf b/enos/modules/vault_verify_write_data/main.tf index 77b700dfd..c17a094b5 100644 --- a/enos/modules/vault_verify_write_data/main.tf +++ b/enos/modules/vault_verify_write_data/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/modules/vault_verify_write_data/scripts/smoke-enable-secrets-kv.sh b/enos/modules/vault_verify_write_data/scripts/smoke-enable-secrets-kv.sh index 0e3206081..2d3e81c21 100644 --- a/enos/modules/vault_verify_write_data/scripts/smoke-enable-secrets-kv.sh +++ b/enos/modules/vault_verify_write_data/scripts/smoke-enable-secrets-kv.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e diff --git a/enos/modules/vault_verify_write_data/scripts/smoke-write-test-data.sh b/enos/modules/vault_verify_write_data/scripts/smoke-write-test-data.sh index 62b357cc8..98b6392c5 100644 --- a/enos/modules/vault_verify_write_data/scripts/smoke-write-test-data.sh +++ b/enos/modules/vault_verify_write_data/scripts/smoke-write-test-data.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e diff --git a/helper/benchhelpers/benchhelpers.go b/helper/benchhelpers/benchhelpers.go index 9c0feac15..06dcde604 100644 --- a/helper/benchhelpers/benchhelpers.go +++ b/helper/benchhelpers/benchhelpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package benchhelpers import ( diff --git a/helper/builtinplugins/registry.go b/helper/builtinplugins/registry.go index 8a24a58c3..b4d3da593 100644 --- a/helper/builtinplugins/registry.go +++ b/helper/builtinplugins/registry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package builtinplugins import ( diff --git a/helper/builtinplugins/registry_test.go b/helper/builtinplugins/registry_test.go index e52a8a2fe..3b6514e9a 100644 --- a/helper/builtinplugins/registry_test.go +++ b/helper/builtinplugins/registry_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package builtinplugins import ( diff --git a/helper/constants/constants_oss.go b/helper/constants/constants_oss.go index 22b9928fd..8675f7030 100644 --- a/helper/constants/constants_oss.go +++ b/helper/constants/constants_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package constants diff --git a/helper/constants/fips.go b/helper/constants/fips.go index 2a9f7ee7a..9632d014a 100644 --- a/helper/constants/fips.go +++ b/helper/constants/fips.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !fips package constants diff --git a/helper/constants/fips_build_check.go b/helper/constants/fips_build_check.go index 1e865b499..10e07e583 100644 --- a/helper/constants/fips_build_check.go +++ b/helper/constants/fips_build_check.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build (!fips && (fips_140_2 || fips_140_3)) || (fips && !fips_140_2 && !fips_140_3) || (fips_140_2 && fips_140_3) package constants diff --git a/helper/constants/fips_cgo_check.go b/helper/constants/fips_cgo_check.go index 56eabb6c8..6de7d9f0d 100644 --- a/helper/constants/fips_cgo_check.go +++ b/helper/constants/fips_cgo_check.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build (fips || fips_140_2 || fips_140_3) && !cgo package constants diff --git a/helper/dhutil/dhutil.go b/helper/dhutil/dhutil.go index a0ddde25b..97552d4cc 100644 --- a/helper/dhutil/dhutil.go +++ b/helper/dhutil/dhutil.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dhutil import ( diff --git a/helper/dhutil/dhutil_test.go b/helper/dhutil/dhutil_test.go index 46e90196d..4b94f601d 100644 --- a/helper/dhutil/dhutil_test.go +++ b/helper/dhutil/dhutil_test.go @@ -1 +1,4 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dhutil diff --git a/helper/experiments/experiments.go b/helper/experiments/experiments.go index eb522def1..538430e64 100644 --- a/helper/experiments/experiments.go +++ b/helper/experiments/experiments.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package experiments const VaultExperimentEventsAlpha1 = "events.alpha1" diff --git a/helper/fairshare/fairshare_testing_util.go b/helper/fairshare/fairshare_testing_util.go index 1f65acd94..806179594 100644 --- a/helper/fairshare/fairshare_testing_util.go +++ b/helper/fairshare/fairshare_testing_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fairshare import ( diff --git a/helper/fairshare/jobmanager.go b/helper/fairshare/jobmanager.go index 75c7662fc..dc9a6198a 100644 --- a/helper/fairshare/jobmanager.go +++ b/helper/fairshare/jobmanager.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fairshare import ( diff --git a/helper/fairshare/jobmanager_test.go b/helper/fairshare/jobmanager_test.go index d90314782..3d6638a4a 100644 --- a/helper/fairshare/jobmanager_test.go +++ b/helper/fairshare/jobmanager_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fairshare import ( diff --git a/helper/fairshare/workerpool.go b/helper/fairshare/workerpool.go index f5179ba4e..e655a9084 100644 --- a/helper/fairshare/workerpool.go +++ b/helper/fairshare/workerpool.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fairshare import ( diff --git a/helper/fairshare/workerpool_test.go b/helper/fairshare/workerpool_test.go index a3c3f68a1..eb5631403 100644 --- a/helper/fairshare/workerpool_test.go +++ b/helper/fairshare/workerpool_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fairshare import ( diff --git a/helper/flag-kv/flag.go b/helper/flag-kv/flag.go index 06ae27111..a3b04cec1 100644 --- a/helper/flag-kv/flag.go +++ b/helper/flag-kv/flag.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kvFlag import ( diff --git a/helper/flag-kv/flag_test.go b/helper/flag-kv/flag_test.go index 2fc88aa5f..b083d52e7 100644 --- a/helper/flag-kv/flag_test.go +++ b/helper/flag-kv/flag_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kvFlag import ( diff --git a/helper/flag-slice/flag.go b/helper/flag-slice/flag.go index da75149dc..b8234385e 100644 --- a/helper/flag-slice/flag.go +++ b/helper/flag-slice/flag.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sliceflag import "strings" diff --git a/helper/flag-slice/flag_test.go b/helper/flag-slice/flag_test.go index f72e1d960..7973d5792 100644 --- a/helper/flag-slice/flag_test.go +++ b/helper/flag-slice/flag_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sliceflag import ( diff --git a/helper/forwarding/types.pb.go b/helper/forwarding/types.pb.go index 4d4e0aec1..bf579d038 100644 --- a/helper/forwarding/types.pb.go +++ b/helper/forwarding/types.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 diff --git a/helper/forwarding/types.proto b/helper/forwarding/types.proto index 8f1376a18..762425791 100644 --- a/helper/forwarding/types.proto +++ b/helper/forwarding/types.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; option go_package = "github.com/hashicorp/vault/helper/forwarding"; diff --git a/helper/forwarding/util.go b/helper/forwarding/util.go index de92639af..836123543 100644 --- a/helper/forwarding/util.go +++ b/helper/forwarding/util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package forwarding import ( diff --git a/helper/forwarding/util_test.go b/helper/forwarding/util_test.go index 0af2b89e9..192646a15 100644 --- a/helper/forwarding/util_test.go +++ b/helper/forwarding/util_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package forwarding import ( diff --git a/helper/hostutil/hostinfo.go b/helper/hostutil/hostinfo.go index d35afb57d..25c11e0b0 100644 --- a/helper/hostutil/hostinfo.go +++ b/helper/hostutil/hostinfo.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !openbsd package hostutil diff --git a/helper/hostutil/hostinfo_error.go b/helper/hostutil/hostinfo_error.go index ca5d8a294..afbec28fa 100644 --- a/helper/hostutil/hostinfo_error.go +++ b/helper/hostutil/hostinfo_error.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostutil import "fmt" diff --git a/helper/hostutil/hostinfo_openbsd.go b/helper/hostutil/hostinfo_openbsd.go index 8f01458af..dbe1655e9 100644 --- a/helper/hostutil/hostinfo_openbsd.go +++ b/helper/hostutil/hostinfo_openbsd.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build openbsd package hostutil diff --git a/helper/hostutil/hostinfo_test.go b/helper/hostutil/hostinfo_test.go index c54893b17..0f53744ad 100644 --- a/helper/hostutil/hostinfo_test.go +++ b/helper/hostutil/hostinfo_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostutil import ( diff --git a/helper/identity/identity.go b/helper/identity/identity.go index 9a28be715..a7769f08e 100644 --- a/helper/identity/identity.go +++ b/helper/identity/identity.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package identity import ( diff --git a/helper/identity/mfa/mfa.go b/helper/identity/mfa/mfa.go index d4bbf10b4..1f8af4f4c 100644 --- a/helper/identity/mfa/mfa.go +++ b/helper/identity/mfa/mfa.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mfa import ( diff --git a/helper/identity/mfa/sentinel.go b/helper/identity/mfa/sentinel.go index f6d8c7b99..a587aa70b 100644 --- a/helper/identity/mfa/sentinel.go +++ b/helper/identity/mfa/sentinel.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mfa func (c *Config) SentinelGet(key string) (interface{}, error) { diff --git a/helper/identity/mfa/types.pb.go b/helper/identity/mfa/types.pb.go index 7431f5648..57dbab0da 100644 --- a/helper/identity/mfa/types.pb.go +++ b/helper/identity/mfa/types.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 diff --git a/helper/identity/mfa/types.proto b/helper/identity/mfa/types.proto index decade25b..65eb853be 100644 --- a/helper/identity/mfa/types.proto +++ b/helper/identity/mfa/types.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; option go_package = "github.com/hashicorp/vault/helper/identity/mfa"; diff --git a/helper/identity/sentinel.go b/helper/identity/sentinel.go index 2c2bc4b94..4f65e62c8 100644 --- a/helper/identity/sentinel.go +++ b/helper/identity/sentinel.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package identity import "github.com/golang/protobuf/ptypes" diff --git a/helper/identity/types.pb.go b/helper/identity/types.pb.go index 0f3220684..91b4c0ff2 100644 --- a/helper/identity/types.pb.go +++ b/helper/identity/types.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 diff --git a/helper/identity/types.proto b/helper/identity/types.proto index 0ea7525eb..a34d715ac 100644 --- a/helper/identity/types.proto +++ b/helper/identity/types.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; option go_package = "github.com/hashicorp/vault/helper/identity"; diff --git a/helper/locking/lock.go b/helper/locking/lock.go index 8043f01ad..a9bff4c0f 100644 --- a/helper/locking/lock.go +++ b/helper/locking/lock.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package locking import ( diff --git a/helper/logging/logfile.go b/helper/logging/logfile.go index 93d84a8dd..9417e9ca8 100644 --- a/helper/logging/logfile.go +++ b/helper/logging/logfile.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logging import ( diff --git a/helper/logging/logfile_test.go b/helper/logging/logfile_test.go index 86153f17e..a0cae986a 100644 --- a/helper/logging/logfile_test.go +++ b/helper/logging/logfile_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logging import ( diff --git a/helper/logging/logger.go b/helper/logging/logger.go index e876d54f1..1efac27be 100644 --- a/helper/logging/logger.go +++ b/helper/logging/logger.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logging import ( diff --git a/helper/logging/logger_test.go b/helper/logging/logger_test.go index efeabc5d5..30ff1783a 100644 --- a/helper/logging/logger_test.go +++ b/helper/logging/logger_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logging import ( diff --git a/helper/metricsutil/bucket.go b/helper/metricsutil/bucket.go index 9cbb2cdc2..0f602e22a 100644 --- a/helper/metricsutil/bucket.go +++ b/helper/metricsutil/bucket.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metricsutil import ( diff --git a/helper/metricsutil/bucket_test.go b/helper/metricsutil/bucket_test.go index f37584781..1179e4dbd 100644 --- a/helper/metricsutil/bucket_test.go +++ b/helper/metricsutil/bucket_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metricsutil import ( diff --git a/helper/metricsutil/gauge_process.go b/helper/metricsutil/gauge_process.go index 0ad0e9d87..f471249d7 100644 --- a/helper/metricsutil/gauge_process.go +++ b/helper/metricsutil/gauge_process.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metricsutil import ( diff --git a/helper/metricsutil/gauge_process_test.go b/helper/metricsutil/gauge_process_test.go index 9971714e0..83165a997 100644 --- a/helper/metricsutil/gauge_process_test.go +++ b/helper/metricsutil/gauge_process_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metricsutil import ( diff --git a/helper/metricsutil/metricsutil.go b/helper/metricsutil/metricsutil.go index de85c7e46..cfc2e1109 100644 --- a/helper/metricsutil/metricsutil.go +++ b/helper/metricsutil/metricsutil.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metricsutil import ( diff --git a/helper/metricsutil/metricsutil_test.go b/helper/metricsutil/metricsutil_test.go index 1b817ddad..f8f17fedb 100644 --- a/helper/metricsutil/metricsutil_test.go +++ b/helper/metricsutil/metricsutil_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metricsutil import ( diff --git a/helper/metricsutil/wrapped_metrics.go b/helper/metricsutil/wrapped_metrics.go index 67deb3bee..e3df058e1 100644 --- a/helper/metricsutil/wrapped_metrics.go +++ b/helper/metricsutil/wrapped_metrics.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metricsutil import ( diff --git a/helper/metricsutil/wrapped_metrics_test.go b/helper/metricsutil/wrapped_metrics_test.go index c0fb2c386..b65809b46 100644 --- a/helper/metricsutil/wrapped_metrics_test.go +++ b/helper/metricsutil/wrapped_metrics_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metricsutil import ( diff --git a/helper/monitor/monitor.go b/helper/monitor/monitor.go index 490e2fa08..28ecf0eee 100644 --- a/helper/monitor/monitor.go +++ b/helper/monitor/monitor.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package monitor import ( diff --git a/helper/monitor/monitor_test.go b/helper/monitor/monitor_test.go index 0133a351b..06e1e0177 100644 --- a/helper/monitor/monitor_test.go +++ b/helper/monitor/monitor_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package monitor import ( diff --git a/helper/namespace/namespace.go b/helper/namespace/namespace.go index c1226a554..04a5b79db 100644 --- a/helper/namespace/namespace.go +++ b/helper/namespace/namespace.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package namespace import ( diff --git a/helper/namespace/namespace_test.go b/helper/namespace/namespace_test.go index 442b46b90..fd4c4c2f9 100644 --- a/helper/namespace/namespace_test.go +++ b/helper/namespace/namespace_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package namespace import ( diff --git a/helper/osutil/fileinfo.go b/helper/osutil/fileinfo.go index 59b99859e..f14db6b9c 100644 --- a/helper/osutil/fileinfo.go +++ b/helper/osutil/fileinfo.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package osutil import ( diff --git a/helper/osutil/fileinfo_test.go b/helper/osutil/fileinfo_test.go index febd11966..8c3316bc9 100644 --- a/helper/osutil/fileinfo_test.go +++ b/helper/osutil/fileinfo_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package osutil import ( diff --git a/helper/osutil/fileinfo_unix.go b/helper/osutil/fileinfo_unix.go index c49a591ce..bb60c4987 100644 --- a/helper/osutil/fileinfo_unix.go +++ b/helper/osutil/fileinfo_unix.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !windows package osutil diff --git a/helper/osutil/fileinfo_unix_test.go b/helper/osutil/fileinfo_unix_test.go index c31ca5bdc..302bd9e16 100644 --- a/helper/osutil/fileinfo_unix_test.go +++ b/helper/osutil/fileinfo_unix_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !windows package osutil diff --git a/helper/osutil/fileinfo_windows.go b/helper/osutil/fileinfo_windows.go index 0869c97e7..193fe3ff8 100644 --- a/helper/osutil/fileinfo_windows.go +++ b/helper/osutil/fileinfo_windows.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build windows package osutil diff --git a/helper/parseip/parseip.go b/helper/parseip/parseip.go index 414a3f05c..95579633b 100644 --- a/helper/parseip/parseip.go +++ b/helper/parseip/parseip.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package parseip import ( diff --git a/helper/parseip/parseip_test.go b/helper/parseip/parseip_test.go index 5d2b3645b..e26c810be 100644 --- a/helper/parseip/parseip_test.go +++ b/helper/parseip/parseip_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package parseip import ( diff --git a/helper/pgpkeys/encrypt_decrypt.go b/helper/pgpkeys/encrypt_decrypt.go index 554013d6a..c7a8027cd 100644 --- a/helper/pgpkeys/encrypt_decrypt.go +++ b/helper/pgpkeys/encrypt_decrypt.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pgpkeys import ( diff --git a/helper/pgpkeys/flag.go b/helper/pgpkeys/flag.go index e107bc994..79d114b4d 100644 --- a/helper/pgpkeys/flag.go +++ b/helper/pgpkeys/flag.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pgpkeys import ( diff --git a/helper/pgpkeys/flag_test.go b/helper/pgpkeys/flag_test.go index ec6402d5e..9ea25d44d 100644 --- a/helper/pgpkeys/flag_test.go +++ b/helper/pgpkeys/flag_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pgpkeys import ( diff --git a/helper/pgpkeys/keybase.go b/helper/pgpkeys/keybase.go index b2571b451..b24e4bf23 100644 --- a/helper/pgpkeys/keybase.go +++ b/helper/pgpkeys/keybase.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pgpkeys import ( diff --git a/helper/pgpkeys/keybase_test.go b/helper/pgpkeys/keybase_test.go index 3faa3f5d8..7d59899fd 100644 --- a/helper/pgpkeys/keybase_test.go +++ b/helper/pgpkeys/keybase_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pgpkeys import ( diff --git a/helper/pgpkeys/test_keys.go b/helper/pgpkeys/test_keys.go index c10a9055e..be97698d1 100644 --- a/helper/pgpkeys/test_keys.go +++ b/helper/pgpkeys/test_keys.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pgpkeys const ( diff --git a/helper/policies/policies.go b/helper/policies/policies.go index 729ce10b2..2a3460205 100644 --- a/helper/policies/policies.go +++ b/helper/policies/policies.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package policies import "sort" diff --git a/helper/policies/policies_test.go b/helper/policies/policies_test.go index ba9b0a8f7..6356dee18 100644 --- a/helper/policies/policies_test.go +++ b/helper/policies/policies_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package policies import "testing" diff --git a/helper/proxyutil/proxyutil.go b/helper/proxyutil/proxyutil.go index fdb20973e..b0f06d6b9 100644 --- a/helper/proxyutil/proxyutil.go +++ b/helper/proxyutil/proxyutil.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxyutil import ( diff --git a/helper/random/parser.go b/helper/random/parser.go index 3184db8aa..c5e82c8c1 100644 --- a/helper/random/parser.go +++ b/helper/random/parser.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package random import ( diff --git a/helper/random/parser_test.go b/helper/random/parser_test.go index 59cdb8143..f8af5a5eb 100644 --- a/helper/random/parser_test.go +++ b/helper/random/parser_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package random import ( diff --git a/helper/random/random_api.go b/helper/random/random_api.go index 9bc89f9af..5bb9316b1 100644 --- a/helper/random/random_api.go +++ b/helper/random/random_api.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package random import ( diff --git a/helper/random/registry.go b/helper/random/registry.go index efdcf5c30..334df734e 100644 --- a/helper/random/registry.go +++ b/helper/random/registry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package random import ( diff --git a/helper/random/registry_test.go b/helper/random/registry_test.go index 3d7060650..21297aaf2 100644 --- a/helper/random/registry_test.go +++ b/helper/random/registry_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package random import ( diff --git a/helper/random/rules.go b/helper/random/rules.go index fead5b4ff..05cc800c9 100644 --- a/helper/random/rules.go +++ b/helper/random/rules.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package random import ( diff --git a/helper/random/rules_test.go b/helper/random/rules_test.go index 18aa00879..e85df503b 100644 --- a/helper/random/rules_test.go +++ b/helper/random/rules_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package random import ( diff --git a/helper/random/serializing.go b/helper/random/serializing.go index 93371df02..5b68d3275 100644 --- a/helper/random/serializing.go +++ b/helper/random/serializing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package random import ( diff --git a/helper/random/serializing_test.go b/helper/random/serializing_test.go index 171053742..bfa17ae26 100644 --- a/helper/random/serializing_test.go +++ b/helper/random/serializing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package random import ( diff --git a/helper/random/string_generator.go b/helper/random/string_generator.go index 621930eb6..c51d29a55 100644 --- a/helper/random/string_generator.go +++ b/helper/random/string_generator.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package random import ( diff --git a/helper/random/string_generator_test.go b/helper/random/string_generator_test.go index af4e7da14..8307ff73a 100644 --- a/helper/random/string_generator_test.go +++ b/helper/random/string_generator_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package random import ( diff --git a/helper/storagepacker/storagepacker.go b/helper/storagepacker/storagepacker.go index 4633d523b..2e69f3a27 100644 --- a/helper/storagepacker/storagepacker.go +++ b/helper/storagepacker/storagepacker.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package storagepacker import ( diff --git a/helper/storagepacker/storagepacker_test.go b/helper/storagepacker/storagepacker_test.go index cc2448b2b..ad76107af 100644 --- a/helper/storagepacker/storagepacker_test.go +++ b/helper/storagepacker/storagepacker_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package storagepacker import ( diff --git a/helper/storagepacker/types.pb.go b/helper/storagepacker/types.pb.go index 0afd42f60..6dd58b96d 100644 --- a/helper/storagepacker/types.pb.go +++ b/helper/storagepacker/types.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 diff --git a/helper/storagepacker/types.proto b/helper/storagepacker/types.proto index 4edfaf4f8..7efb0a11e 100644 --- a/helper/storagepacker/types.proto +++ b/helper/storagepacker/types.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; option go_package = "github.com/hashicorp/vault/helper/storagepacker"; diff --git a/helper/testhelpers/azurite/azurite.go b/helper/testhelpers/azurite/azurite.go index 13d65750d..b03b5180d 100644 --- a/helper/testhelpers/azurite/azurite.go +++ b/helper/testhelpers/azurite/azurite.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package azurite import ( diff --git a/helper/testhelpers/cassandra/cassandrahelper.go b/helper/testhelpers/cassandra/cassandrahelper.go index 899136f16..71953e48e 100644 --- a/helper/testhelpers/cassandra/cassandrahelper.go +++ b/helper/testhelpers/cassandra/cassandrahelper.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cassandra import ( diff --git a/helper/testhelpers/certhelpers/cert_helpers.go b/helper/testhelpers/certhelpers/cert_helpers.go index b84bbf961..42692d01f 100644 --- a/helper/testhelpers/certhelpers/cert_helpers.go +++ b/helper/testhelpers/certhelpers/cert_helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package certhelpers import ( diff --git a/helper/testhelpers/consul/consulhelper.go b/helper/testhelpers/consul/consulhelper.go index 7d7984b17..42f41e860 100644 --- a/helper/testhelpers/consul/consulhelper.go +++ b/helper/testhelpers/consul/consulhelper.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/helper/testhelpers/corehelpers/corehelpers.go b/helper/testhelpers/corehelpers/corehelpers.go index db94ecc94..846db21da 100644 --- a/helper/testhelpers/corehelpers/corehelpers.go +++ b/helper/testhelpers/corehelpers/corehelpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package corehelpers contains testhelpers that don't depend on package vault, // and thus can be used within vault (as well as elsewhere.) package corehelpers diff --git a/helper/testhelpers/docker/testhelpers.go b/helper/testhelpers/docker/testhelpers.go index 51b35cb16..37e14980d 100644 --- a/helper/testhelpers/docker/testhelpers.go +++ b/helper/testhelpers/docker/testhelpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package docker import ( diff --git a/helper/testhelpers/etcd/etcdhelper.go b/helper/testhelpers/etcd/etcdhelper.go index 1051dd140..cb23ad9fb 100644 --- a/helper/testhelpers/etcd/etcdhelper.go +++ b/helper/testhelpers/etcd/etcdhelper.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package etcd import ( diff --git a/helper/testhelpers/fakegcsserver/fake-gcs-server.go b/helper/testhelpers/fakegcsserver/fake-gcs-server.go index ed83970d1..26ba503e9 100644 --- a/helper/testhelpers/fakegcsserver/fake-gcs-server.go +++ b/helper/testhelpers/fakegcsserver/fake-gcs-server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fakegcsserver import ( diff --git a/helper/testhelpers/ldap/ldaphelper.go b/helper/testhelpers/ldap/ldaphelper.go index b248c0294..15b405f79 100644 --- a/helper/testhelpers/ldap/ldaphelper.go +++ b/helper/testhelpers/ldap/ldaphelper.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ldap import ( diff --git a/helper/testhelpers/logical/testing.go b/helper/testhelpers/logical/testing.go index 79be91f7a..f634be2f3 100644 --- a/helper/testhelpers/logical/testing.go +++ b/helper/testhelpers/logical/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testing import ( diff --git a/helper/testhelpers/logical/testing_test.go b/helper/testhelpers/logical/testing_test.go index 5a4096bfc..9f2d74b72 100644 --- a/helper/testhelpers/logical/testing_test.go +++ b/helper/testhelpers/logical/testing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testing import ( diff --git a/helper/testhelpers/minio/miniohelper.go b/helper/testhelpers/minio/miniohelper.go index 2969ce215..d6aa8b088 100644 --- a/helper/testhelpers/minio/miniohelper.go +++ b/helper/testhelpers/minio/miniohelper.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package minio import ( diff --git a/helper/testhelpers/mongodb/mongodbhelper.go b/helper/testhelpers/mongodb/mongodbhelper.go index c4288a4b5..b0330a944 100644 --- a/helper/testhelpers/mongodb/mongodbhelper.go +++ b/helper/testhelpers/mongodb/mongodbhelper.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mongodb import ( diff --git a/helper/testhelpers/mssql/mssqlhelper.go b/helper/testhelpers/mssql/mssqlhelper.go index 01bfd54b5..f1abf10b4 100644 --- a/helper/testhelpers/mssql/mssqlhelper.go +++ b/helper/testhelpers/mssql/mssqlhelper.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mssqlhelper import ( diff --git a/helper/testhelpers/mysql/mysqlhelper.go b/helper/testhelpers/mysql/mysqlhelper.go index 82b47f07e..8be498e51 100644 --- a/helper/testhelpers/mysql/mysqlhelper.go +++ b/helper/testhelpers/mysql/mysqlhelper.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mysqlhelper import ( diff --git a/helper/testhelpers/pluginhelpers/pluginhelpers.go b/helper/testhelpers/pluginhelpers/pluginhelpers.go index c23868953..e9a006704 100644 --- a/helper/testhelpers/pluginhelpers/pluginhelpers.go +++ b/helper/testhelpers/pluginhelpers/pluginhelpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package pluginhelpers contains testhelpers that don't depend on package // vault, and thus can be used within vault (as well as elsewhere.) package pluginhelpers diff --git a/helper/testhelpers/postgresql/postgresqlhelper.go b/helper/testhelpers/postgresql/postgresqlhelper.go index 60a7e4246..c79c1f5d0 100644 --- a/helper/testhelpers/postgresql/postgresqlhelper.go +++ b/helper/testhelpers/postgresql/postgresqlhelper.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package postgresql import ( diff --git a/helper/testhelpers/seal/sealhelper.go b/helper/testhelpers/seal/sealhelper.go index 4087f6fc0..f4d5aa629 100644 --- a/helper/testhelpers/seal/sealhelper.go +++ b/helper/testhelpers/seal/sealhelper.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sealhelper import ( diff --git a/helper/testhelpers/testhelpers.go b/helper/testhelpers/testhelpers.go index a9daabdda..c2d437abf 100644 --- a/helper/testhelpers/testhelpers.go +++ b/helper/testhelpers/testhelpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testhelpers import ( diff --git a/helper/testhelpers/testhelpers_oss.go b/helper/testhelpers/testhelpers_oss.go index 912d50fde..fc55e9b52 100644 --- a/helper/testhelpers/testhelpers_oss.go +++ b/helper/testhelpers/testhelpers_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package testhelpers diff --git a/helper/testhelpers/teststorage/consul/consul.go b/helper/testhelpers/teststorage/consul/consul.go index 47ec99f29..bfea5ddbb 100644 --- a/helper/testhelpers/teststorage/consul/consul.go +++ b/helper/testhelpers/teststorage/consul/consul.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/helper/testhelpers/teststorage/teststorage.go b/helper/testhelpers/teststorage/teststorage.go index bf342e11e..a45208648 100644 --- a/helper/testhelpers/teststorage/teststorage.go +++ b/helper/testhelpers/teststorage/teststorage.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package teststorage import ( diff --git a/helper/testhelpers/teststorage/teststorage_reusable.go b/helper/testhelpers/teststorage/teststorage_reusable.go index 257a5a018..ff9fd2b55 100644 --- a/helper/testhelpers/teststorage/teststorage_reusable.go +++ b/helper/testhelpers/teststorage/teststorage_reusable.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package teststorage import ( diff --git a/helper/timeutil/timeutil.go b/helper/timeutil/timeutil.go index a65d3cf90..89daab7d4 100644 --- a/helper/timeutil/timeutil.go +++ b/helper/timeutil/timeutil.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package timeutil import ( diff --git a/helper/timeutil/timeutil_test.go b/helper/timeutil/timeutil_test.go index 5cef2d206..b9ccdbd5b 100644 --- a/helper/timeutil/timeutil_test.go +++ b/helper/timeutil/timeutil_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package timeutil import ( diff --git a/helper/useragent/useragent.go b/helper/useragent/useragent.go index b2fa40a30..308527721 100644 --- a/helper/useragent/useragent.go +++ b/helper/useragent/useragent.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package useragent import ( diff --git a/helper/useragent/useragent_test.go b/helper/useragent/useragent_test.go index cb0cf3294..795a7ba60 100644 --- a/helper/useragent/useragent_test.go +++ b/helper/useragent/useragent_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package useragent import ( diff --git a/helper/versions/version.go b/helper/versions/version.go index b64dd3d26..9eb8077b8 100644 --- a/helper/versions/version.go +++ b/helper/versions/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package versions import ( diff --git a/helper/versions/version_test.go b/helper/versions/version_test.go index cc1b3e1c2..85b46cdd3 100644 --- a/helper/versions/version_test.go +++ b/helper/versions/version_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package versions import "testing" diff --git a/http/assets.go b/http/assets.go index c401f9491..b60a59494 100644 --- a/http/assets.go +++ b/http/assets.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build ui package http diff --git a/http/assets_stub.go b/http/assets_stub.go index 1989a09d9..e1b4daf39 100644 --- a/http/assets_stub.go +++ b/http/assets_stub.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !ui package http diff --git a/http/auth_token_test.go b/http/auth_token_test.go index 552a32cbd..d96e18383 100644 --- a/http/auth_token_test.go +++ b/http/auth_token_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/cors.go b/http/cors.go index 74cfeeaef..7e8c311e6 100644 --- a/http/cors.go +++ b/http/cors.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/custom_header_test.go b/http/custom_header_test.go index 8c204584a..289379a84 100644 --- a/http/custom_header_test.go +++ b/http/custom_header_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/events.go b/http/events.go index e5eaa78be..072fcd60e 100644 --- a/http/events.go +++ b/http/events.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/events_test.go b/http/events_test.go index d3debcde6..b5ce0a1a3 100644 --- a/http/events_test.go +++ b/http/events_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/forwarded_for_test.go b/http/forwarded_for_test.go index b7060c667..89bc62acc 100644 --- a/http/forwarded_for_test.go +++ b/http/forwarded_for_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/forwarding_bench_test.go b/http/forwarding_bench_test.go index ecc2a3b8f..0c3f5e2a2 100644 --- a/http/forwarding_bench_test.go +++ b/http/forwarding_bench_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/forwarding_test.go b/http/forwarding_test.go index 350906563..51cc2c0e0 100644 --- a/http/forwarding_test.go +++ b/http/forwarding_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/handler.go b/http/handler.go index 34c4b12cf..a91a0514f 100644 --- a/http/handler.go +++ b/http/handler.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/handler_test.go b/http/handler_test.go index 49565b41e..244fe4177 100644 --- a/http/handler_test.go +++ b/http/handler_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/help.go b/http/help.go index 7ec6fb613..64085f1e3 100644 --- a/http/help.go +++ b/http/help.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/help_test.go b/http/help_test.go index ec9a67dd1..d02c26a95 100644 --- a/http/help_test.go +++ b/http/help_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/http_test.go b/http/http_test.go index 692aef0d8..5e51ce7d0 100644 --- a/http/http_test.go +++ b/http/http_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/logical.go b/http/logical.go index 6b12a26f3..6da2e7dc7 100644 --- a/http/logical.go +++ b/http/logical.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/logical_test.go b/http/logical_test.go index 52c77151a..e4b137c10 100644 --- a/http/logical_test.go +++ b/http/logical_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/plugin_test.go b/http/plugin_test.go index 164a3d25f..b0d85be6d 100644 --- a/http/plugin_test.go +++ b/http/plugin_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_audit_test.go b/http/sys_audit_test.go index 58873bfb1..2ec4ffc30 100644 --- a/http/sys_audit_test.go +++ b/http/sys_audit_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_auth_test.go b/http/sys_auth_test.go index 0071ab030..3bd0a009d 100644 --- a/http/sys_auth_test.go +++ b/http/sys_auth_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_config_cors_test.go b/http/sys_config_cors_test.go index 3ad0e810a..2f4a29a49 100644 --- a/http/sys_config_cors_test.go +++ b/http/sys_config_cors_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_config_state_test.go b/http/sys_config_state_test.go index 08361af49..889121837 100644 --- a/http/sys_config_state_test.go +++ b/http/sys_config_state_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_feature_flags.go b/http/sys_feature_flags.go index 11ece3279..9f654b7fe 100644 --- a/http/sys_feature_flags.go +++ b/http/sys_feature_flags.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_generate_root.go b/http/sys_generate_root.go index db2da6f7f..7f953e4d4 100644 --- a/http/sys_generate_root.go +++ b/http/sys_generate_root.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_generate_root_test.go b/http/sys_generate_root_test.go index 36e25f821..dbd779631 100644 --- a/http/sys_generate_root_test.go +++ b/http/sys_generate_root_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_health.go b/http/sys_health.go index a1f2bb8bd..b3f29d4dd 100644 --- a/http/sys_health.go +++ b/http/sys_health.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_health_test.go b/http/sys_health_test.go index 68ef11b9e..9761ec16c 100644 --- a/http/sys_health_test.go +++ b/http/sys_health_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_hostinfo_test.go b/http/sys_hostinfo_test.go index af313a382..756841e72 100644 --- a/http/sys_hostinfo_test.go +++ b/http/sys_hostinfo_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_in_flight_requests.go b/http/sys_in_flight_requests.go index b38156f38..bdf3ebaf9 100644 --- a/http/sys_in_flight_requests.go +++ b/http/sys_in_flight_requests.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_in_flight_requests_test.go b/http/sys_in_flight_requests_test.go index de64d708c..93c92c539 100644 --- a/http/sys_in_flight_requests_test.go +++ b/http/sys_in_flight_requests_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_init.go b/http/sys_init.go index ae3059462..905916bef 100644 --- a/http/sys_init.go +++ b/http/sys_init.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_init_test.go b/http/sys_init_test.go index 4953c4244..620db9d73 100644 --- a/http/sys_init_test.go +++ b/http/sys_init_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_internal_test.go b/http/sys_internal_test.go index d3c066f70..11d937624 100644 --- a/http/sys_internal_test.go +++ b/http/sys_internal_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_leader.go b/http/sys_leader.go index 8c2ce21e5..6b39c4401 100644 --- a/http/sys_leader.go +++ b/http/sys_leader.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_leader_test.go b/http/sys_leader_test.go index 974b3a7b7..3292b7f24 100644 --- a/http/sys_leader_test.go +++ b/http/sys_leader_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_lease_test.go b/http/sys_lease_test.go index a254be71c..6b069ca37 100644 --- a/http/sys_lease_test.go +++ b/http/sys_lease_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_metrics.go b/http/sys_metrics.go index 012417282..2bb819b34 100644 --- a/http/sys_metrics.go +++ b/http/sys_metrics.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_metrics_test.go b/http/sys_metrics_test.go index e8770a1bf..167347b4f 100644 --- a/http/sys_metrics_test.go +++ b/http/sys_metrics_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_monitor_test.go b/http/sys_monitor_test.go index b5b7f3b98..5d428c419 100644 --- a/http/sys_monitor_test.go +++ b/http/sys_monitor_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_mount_test.go b/http/sys_mount_test.go index ae33a2581..074297ef3 100644 --- a/http/sys_mount_test.go +++ b/http/sys_mount_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_mounts_test.go b/http/sys_mounts_test.go index 7c113d987..5f2218514 100644 --- a/http/sys_mounts_test.go +++ b/http/sys_mounts_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_policy_test.go b/http/sys_policy_test.go index 6844a5321..1ab1e85bb 100644 --- a/http/sys_policy_test.go +++ b/http/sys_policy_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_raft.go b/http/sys_raft.go index 428aad4f7..1e00ebe5d 100644 --- a/http/sys_raft.go +++ b/http/sys_raft.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_rekey.go b/http/sys_rekey.go index d1cec653a..c05dc8397 100644 --- a/http/sys_rekey.go +++ b/http/sys_rekey.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_rekey_test.go b/http/sys_rekey_test.go index 786340326..eaef4dd7a 100644 --- a/http/sys_rekey_test.go +++ b/http/sys_rekey_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_rotate_test.go b/http/sys_rotate_test.go index 81597c700..dfc28a257 100644 --- a/http/sys_rotate_test.go +++ b/http/sys_rotate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_seal.go b/http/sys_seal.go index 24f491b65..5d32828e7 100644 --- a/http/sys_seal.go +++ b/http/sys_seal.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_seal_test.go b/http/sys_seal_test.go index 26796d02c..cb8fc8bb7 100644 --- a/http/sys_seal_test.go +++ b/http/sys_seal_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/sys_wrapping_test.go b/http/sys_wrapping_test.go index 4a26c44fb..c991bd230 100644 --- a/http/sys_wrapping_test.go +++ b/http/sys_wrapping_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/testing.go b/http/testing.go index 9bb3970a6..95153991e 100644 --- a/http/testing.go +++ b/http/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/unwrapping_raw_body_test.go b/http/unwrapping_raw_body_test.go index 6ba24b7c9..e1ad0df9c 100644 --- a/http/unwrapping_raw_body_test.go +++ b/http/unwrapping_raw_body_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/http/util.go b/http/util.go index b4c8923cc..f714efa54 100644 --- a/http/util.go +++ b/http/util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/internal/go118_sha1_patch.go b/internal/go118_sha1_patch.go index c7f94844e..fc2ccf238 100644 --- a/internal/go118_sha1_patch.go +++ b/internal/go118_sha1_patch.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package internal import ( diff --git a/internalshared/configutil/config.go b/internalshared/configutil/config.go index f4c2ec11a..99777229f 100644 --- a/internalshared/configutil/config.go +++ b/internalshared/configutil/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configutil import ( diff --git a/internalshared/configutil/config_util.go b/internalshared/configutil/config_util.go index 05cb061e7..3fd4bb948 100644 --- a/internalshared/configutil/config_util.go +++ b/internalshared/configutil/config_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package configutil diff --git a/internalshared/configutil/encrypt_decrypt.go b/internalshared/configutil/encrypt_decrypt.go index 1e9f83090..f0e5fcc04 100644 --- a/internalshared/configutil/encrypt_decrypt.go +++ b/internalshared/configutil/encrypt_decrypt.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configutil import ( diff --git a/internalshared/configutil/encrypt_decrypt_test.go b/internalshared/configutil/encrypt_decrypt_test.go index b9257bb6c..19bf68583 100644 --- a/internalshared/configutil/encrypt_decrypt_test.go +++ b/internalshared/configutil/encrypt_decrypt_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configutil import ( diff --git a/internalshared/configutil/hcp_link.go b/internalshared/configutil/hcp_link.go index a46c3bb1f..fd8d6b6ca 100644 --- a/internalshared/configutil/hcp_link.go +++ b/internalshared/configutil/hcp_link.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configutil import ( diff --git a/internalshared/configutil/http_response_headers.go b/internalshared/configutil/http_response_headers.go index 2db3034e5..b808f9e65 100644 --- a/internalshared/configutil/http_response_headers.go +++ b/internalshared/configutil/http_response_headers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configutil import ( diff --git a/internalshared/configutil/kms.go b/internalshared/configutil/kms.go index 614a6ec8e..025018124 100644 --- a/internalshared/configutil/kms.go +++ b/internalshared/configutil/kms.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configutil import ( diff --git a/internalshared/configutil/lint.go b/internalshared/configutil/lint.go index 2b5b63415..24b968e6b 100644 --- a/internalshared/configutil/lint.go +++ b/internalshared/configutil/lint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configutil import ( diff --git a/internalshared/configutil/listener.go b/internalshared/configutil/listener.go index ea28dbf19..5418f6643 100644 --- a/internalshared/configutil/listener.go +++ b/internalshared/configutil/listener.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configutil import ( diff --git a/internalshared/configutil/listener_test.go b/internalshared/configutil/listener_test.go index 803086e48..da7d76596 100644 --- a/internalshared/configutil/listener_test.go +++ b/internalshared/configutil/listener_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configutil import ( diff --git a/internalshared/configutil/merge.go b/internalshared/configutil/merge.go index 4bc30e62d..940e8bfcf 100644 --- a/internalshared/configutil/merge.go +++ b/internalshared/configutil/merge.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configutil func (c *SharedConfig) Merge(c2 *SharedConfig) *SharedConfig { diff --git a/internalshared/configutil/telemetry.go b/internalshared/configutil/telemetry.go index 77620770d..270eb493d 100644 --- a/internalshared/configutil/telemetry.go +++ b/internalshared/configutil/telemetry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configutil import ( diff --git a/internalshared/configutil/telemetry_test.go b/internalshared/configutil/telemetry_test.go index dda74711d..aaeb80817 100644 --- a/internalshared/configutil/telemetry_test.go +++ b/internalshared/configutil/telemetry_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configutil import ( diff --git a/internalshared/configutil/userlockout.go b/internalshared/configutil/userlockout.go index ccf51b23b..df76308dd 100644 --- a/internalshared/configutil/userlockout.go +++ b/internalshared/configutil/userlockout.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configutil import ( diff --git a/internalshared/configutil/userlockout_test.go b/internalshared/configutil/userlockout_test.go index d5ab42cbe..db05441c6 100644 --- a/internalshared/configutil/userlockout_test.go +++ b/internalshared/configutil/userlockout_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configutil import ( diff --git a/internalshared/listenerutil/bufconn.go b/internalshared/listenerutil/bufconn.go index d3d9d653c..54af0a783 100644 --- a/internalshared/listenerutil/bufconn.go +++ b/internalshared/listenerutil/bufconn.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package listenerutil import ( diff --git a/internalshared/listenerutil/listener.go b/internalshared/listenerutil/listener.go index 6095713be..9a4edb45d 100644 --- a/internalshared/listenerutil/listener.go +++ b/internalshared/listenerutil/listener.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package listenerutil import ( diff --git a/internalshared/listenerutil/listener_test.go b/internalshared/listenerutil/listener_test.go index 3c2afa593..6219727e1 100644 --- a/internalshared/listenerutil/listener_test.go +++ b/internalshared/listenerutil/listener_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package listenerutil import ( diff --git a/main.go b/main.go index bc8a8651f..0417bd987 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main // import "github.com/hashicorp/vault" import ( diff --git a/main_test.go b/main_test.go index 4c4c79a2c..36398339d 100644 --- a/main_test.go +++ b/main_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main // import "github.com/hashicorp/vault" // This file is intentionally empty to force early versions of Go diff --git a/physical/aerospike/aerospike.go b/physical/aerospike/aerospike.go index b323ccd34..81aab224a 100644 --- a/physical/aerospike/aerospike.go +++ b/physical/aerospike/aerospike.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aerospike import ( diff --git a/physical/aerospike/aerospike_test.go b/physical/aerospike/aerospike_test.go index 1a76656f2..2adec8293 100644 --- a/physical/aerospike/aerospike_test.go +++ b/physical/aerospike/aerospike_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aerospike import ( diff --git a/physical/alicloudoss/alicloudoss.go b/physical/alicloudoss/alicloudoss.go index 40f3da6d5..d32d14b3b 100644 --- a/physical/alicloudoss/alicloudoss.go +++ b/physical/alicloudoss/alicloudoss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package alicloudoss import ( diff --git a/physical/alicloudoss/alicloudoss_test.go b/physical/alicloudoss/alicloudoss_test.go index ad292da4f..1b098bd34 100644 --- a/physical/alicloudoss/alicloudoss_test.go +++ b/physical/alicloudoss/alicloudoss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package alicloudoss import ( diff --git a/physical/azure/azure.go b/physical/azure/azure.go index eb158a993..fe884491d 100644 --- a/physical/azure/azure.go +++ b/physical/azure/azure.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package azure import ( diff --git a/physical/azure/azure_test.go b/physical/azure/azure_test.go index 20392a21c..a004c8335 100644 --- a/physical/azure/azure_test.go +++ b/physical/azure/azure_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package azure import ( diff --git a/physical/cassandra/cassandra.go b/physical/cassandra/cassandra.go index 84c2ab149..fc9261a55 100644 --- a/physical/cassandra/cassandra.go +++ b/physical/cassandra/cassandra.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cassandra import ( diff --git a/physical/cassandra/cassandra_test.go b/physical/cassandra/cassandra_test.go index e9fe7bc05..9466d0a70 100644 --- a/physical/cassandra/cassandra_test.go +++ b/physical/cassandra/cassandra_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cassandra import ( diff --git a/physical/cockroachdb/cockroachdb.go b/physical/cockroachdb/cockroachdb.go index 385074d91..38f935cde 100644 --- a/physical/cockroachdb/cockroachdb.go +++ b/physical/cockroachdb/cockroachdb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cockroachdb import ( diff --git a/physical/cockroachdb/cockroachdb_ha.go b/physical/cockroachdb/cockroachdb_ha.go index 1f22465d0..39b617546 100644 --- a/physical/cockroachdb/cockroachdb_ha.go +++ b/physical/cockroachdb/cockroachdb_ha.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cockroachdb import ( diff --git a/physical/cockroachdb/cockroachdb_test.go b/physical/cockroachdb/cockroachdb_test.go index 70abfda98..244330ad1 100644 --- a/physical/cockroachdb/cockroachdb_test.go +++ b/physical/cockroachdb/cockroachdb_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cockroachdb import ( diff --git a/physical/cockroachdb/keywords.go b/physical/cockroachdb/keywords.go index 390dc63f8..f44089f9f 100644 --- a/physical/cockroachdb/keywords.go +++ b/physical/cockroachdb/keywords.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cockroachdb // sqlKeywords is a reference of all of the keywords that we do not allow for use as the table name diff --git a/physical/consul/consul.go b/physical/consul/consul.go index d840b22a3..b17dbc4c1 100644 --- a/physical/consul/consul.go +++ b/physical/consul/consul.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/physical/consul/consul_test.go b/physical/consul/consul_test.go index 31b01300e..b0a16ce85 100644 --- a/physical/consul/consul_test.go +++ b/physical/consul/consul_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/physical/consul/helpers.go b/physical/consul/helpers.go index 71c30b310..ce7c47fdc 100644 --- a/physical/consul/helpers.go +++ b/physical/consul/helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/physical/couchdb/couchdb.go b/physical/couchdb/couchdb.go index 86fc139ed..9c54b0494 100644 --- a/physical/couchdb/couchdb.go +++ b/physical/couchdb/couchdb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package couchdb import ( diff --git a/physical/couchdb/couchdb_test.go b/physical/couchdb/couchdb_test.go index abf11b7c1..feb132bb4 100644 --- a/physical/couchdb/couchdb_test.go +++ b/physical/couchdb/couchdb_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package couchdb import ( diff --git a/physical/dynamodb/dynamodb.go b/physical/dynamodb/dynamodb.go index 18c2bbf50..591c65cf7 100644 --- a/physical/dynamodb/dynamodb.go +++ b/physical/dynamodb/dynamodb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dynamodb import ( diff --git a/physical/dynamodb/dynamodb_test.go b/physical/dynamodb/dynamodb_test.go index 1058a6e21..1007e6640 100644 --- a/physical/dynamodb/dynamodb_test.go +++ b/physical/dynamodb/dynamodb_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dynamodb import ( diff --git a/physical/etcd/etcd.go b/physical/etcd/etcd.go index 5bb8d4a31..f17a552b5 100644 --- a/physical/etcd/etcd.go +++ b/physical/etcd/etcd.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package etcd import ( diff --git a/physical/etcd/etcd3.go b/physical/etcd/etcd3.go index 486d448fe..57a838a69 100644 --- a/physical/etcd/etcd3.go +++ b/physical/etcd/etcd3.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package etcd import ( diff --git a/physical/etcd/etcd3_test.go b/physical/etcd/etcd3_test.go index 71150a698..a2de6314d 100644 --- a/physical/etcd/etcd3_test.go +++ b/physical/etcd/etcd3_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package etcd import ( diff --git a/physical/foundationdb/fdb-go-install.sh b/physical/foundationdb/fdb-go-install.sh index 550d5cf4d..4b2c12522 100755 --- a/physical/foundationdb/fdb-go-install.sh +++ b/physical/foundationdb/fdb-go-install.sh @@ -1,4 +1,7 @@ #!/bin/bash -eu +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # # fdb-go-install.sh # diff --git a/physical/foundationdb/foundationdb.go b/physical/foundationdb/foundationdb.go index 56305b2fb..03f984f56 100644 --- a/physical/foundationdb/foundationdb.go +++ b/physical/foundationdb/foundationdb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build foundationdb package foundationdb diff --git a/physical/foundationdb/foundationdb_test.go b/physical/foundationdb/foundationdb_test.go index c6fe75d5e..ecd6aa823 100644 --- a/physical/foundationdb/foundationdb_test.go +++ b/physical/foundationdb/foundationdb_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build foundationdb package foundationdb diff --git a/physical/foundationdb/foundationdbstub.go b/physical/foundationdb/foundationdbstub.go index 4fc2734e5..283ca0969 100644 --- a/physical/foundationdb/foundationdbstub.go +++ b/physical/foundationdb/foundationdbstub.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !foundationdb package foundationdb diff --git a/physical/gcs/gcs.go b/physical/gcs/gcs.go index b5d1f6b9f..4a3f5bdf4 100644 --- a/physical/gcs/gcs.go +++ b/physical/gcs/gcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package gcs import ( diff --git a/physical/gcs/gcs_ha.go b/physical/gcs/gcs_ha.go index 3a8e45d98..2e4e762a7 100644 --- a/physical/gcs/gcs_ha.go +++ b/physical/gcs/gcs_ha.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package gcs import ( diff --git a/physical/gcs/gcs_ha_test.go b/physical/gcs/gcs_ha_test.go index 8e1b91e77..cdd59e731 100644 --- a/physical/gcs/gcs_ha_test.go +++ b/physical/gcs/gcs_ha_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package gcs import ( diff --git a/physical/gcs/gcs_test.go b/physical/gcs/gcs_test.go index 4caab730f..332ba35d7 100644 --- a/physical/gcs/gcs_test.go +++ b/physical/gcs/gcs_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package gcs import ( diff --git a/physical/manta/manta.go b/physical/manta/manta.go index 390683d36..cfb077014 100644 --- a/physical/manta/manta.go +++ b/physical/manta/manta.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package manta import ( diff --git a/physical/manta/manta_test.go b/physical/manta/manta_test.go index 8db52c53a..67d50fe71 100644 --- a/physical/manta/manta_test.go +++ b/physical/manta/manta_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package manta import ( diff --git a/physical/mssql/mssql.go b/physical/mssql/mssql.go index 65c85ae3e..bbcb68332 100644 --- a/physical/mssql/mssql.go +++ b/physical/mssql/mssql.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mssql import ( diff --git a/physical/mssql/mssql_test.go b/physical/mssql/mssql_test.go index f447b0355..fc40a7722 100644 --- a/physical/mssql/mssql_test.go +++ b/physical/mssql/mssql_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mssql import ( diff --git a/physical/mysql/mysql.go b/physical/mysql/mysql.go index 29bb3928a..225882f75 100644 --- a/physical/mysql/mysql.go +++ b/physical/mysql/mysql.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mysql import ( diff --git a/physical/mysql/mysql_test.go b/physical/mysql/mysql_test.go index 86373e916..b13c7e4a5 100644 --- a/physical/mysql/mysql_test.go +++ b/physical/mysql/mysql_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mysql import ( diff --git a/physical/postgresql/postgresql.go b/physical/postgresql/postgresql.go index ed4c88344..a70133066 100644 --- a/physical/postgresql/postgresql.go +++ b/physical/postgresql/postgresql.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package postgresql import ( diff --git a/physical/postgresql/postgresql_test.go b/physical/postgresql/postgresql_test.go index 15d1ab350..5dec40aba 100644 --- a/physical/postgresql/postgresql_test.go +++ b/physical/postgresql/postgresql_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package postgresql import ( diff --git a/physical/raft/bolt_32bit_test.go b/physical/raft/bolt_32bit_test.go index ccb1641ea..7694d82f5 100644 --- a/physical/raft/bolt_32bit_test.go +++ b/physical/raft/bolt_32bit_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build 386 || arm package raft diff --git a/physical/raft/bolt_64bit_test.go b/physical/raft/bolt_64bit_test.go index d88c01eed..c4b89b8cd 100644 --- a/physical/raft/bolt_64bit_test.go +++ b/physical/raft/bolt_64bit_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !386 && !arm package raft diff --git a/physical/raft/bolt_linux.go b/physical/raft/bolt_linux.go index 4ea13e2a3..b7774c61e 100644 --- a/physical/raft/bolt_linux.go +++ b/physical/raft/bolt_linux.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package raft import ( diff --git a/physical/raft/chunking_test.go b/physical/raft/chunking_test.go index a3f333ef4..64f83e6b8 100644 --- a/physical/raft/chunking_test.go +++ b/physical/raft/chunking_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package raft import ( diff --git a/physical/raft/fsm.go b/physical/raft/fsm.go index c2d9953ce..a88828126 100644 --- a/physical/raft/fsm.go +++ b/physical/raft/fsm.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package raft import ( diff --git a/physical/raft/fsm_test.go b/physical/raft/fsm_test.go index e80a6ce55..ba0e382f0 100644 --- a/physical/raft/fsm_test.go +++ b/physical/raft/fsm_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package raft import ( diff --git a/physical/raft/msgpack.go b/physical/raft/msgpack.go index 299dd8e0a..88ac74d59 100644 --- a/physical/raft/msgpack.go +++ b/physical/raft/msgpack.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package raft // If we downgrade msgpack from v1.1.5 to v0.5.5, everything will still diff --git a/physical/raft/raft.go b/physical/raft/raft.go index 4481053c6..1507aad83 100644 --- a/physical/raft/raft.go +++ b/physical/raft/raft.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package raft import ( diff --git a/physical/raft/raft_autopilot.go b/physical/raft/raft_autopilot.go index 1c000dc04..2e62838b4 100644 --- a/physical/raft/raft_autopilot.go +++ b/physical/raft/raft_autopilot.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package raft import ( diff --git a/physical/raft/raft_test.go b/physical/raft/raft_test.go index 15f80f33e..73d0ce32c 100644 --- a/physical/raft/raft_test.go +++ b/physical/raft/raft_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package raft import ( diff --git a/physical/raft/raft_util.go b/physical/raft/raft_util.go index 34570fba6..bd496dfac 100644 --- a/physical/raft/raft_util.go +++ b/physical/raft/raft_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package raft diff --git a/physical/raft/snapshot.go b/physical/raft/snapshot.go index cebcdb0a4..68d9c953f 100644 --- a/physical/raft/snapshot.go +++ b/physical/raft/snapshot.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package raft import ( diff --git a/physical/raft/snapshot_test.go b/physical/raft/snapshot_test.go index 0f8ba8fd6..3472c8d53 100644 --- a/physical/raft/snapshot_test.go +++ b/physical/raft/snapshot_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package raft import ( diff --git a/physical/raft/streamlayer.go b/physical/raft/streamlayer.go index ed154f8bc..90d8e495c 100644 --- a/physical/raft/streamlayer.go +++ b/physical/raft/streamlayer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package raft import ( diff --git a/physical/raft/streamlayer_test.go b/physical/raft/streamlayer_test.go index 51a26f832..d826eaadc 100644 --- a/physical/raft/streamlayer_test.go +++ b/physical/raft/streamlayer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package raft import ( diff --git a/physical/raft/testing.go b/physical/raft/testing.go index 6f6f2b1e7..ea6847911 100644 --- a/physical/raft/testing.go +++ b/physical/raft/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package raft import ( diff --git a/physical/raft/types.pb.go b/physical/raft/types.pb.go index 35e610a47..2835e1f17 100644 --- a/physical/raft/types.pb.go +++ b/physical/raft/types.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 diff --git a/physical/raft/types.proto b/physical/raft/types.proto index 0b1d189ef..bb3d136e1 100644 --- a/physical/raft/types.proto +++ b/physical/raft/types.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; option go_package = "github.com/hashicorp/vault/physical/raft"; diff --git a/physical/raft/vars_32bit.go b/physical/raft/vars_32bit.go index c9662e796..6e5c51fe9 100644 --- a/physical/raft/vars_32bit.go +++ b/physical/raft/vars_32bit.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build 386 || arm || windows package raft diff --git a/physical/raft/vars_64bit.go b/physical/raft/vars_64bit.go index 40efb4c08..a1eea0feb 100644 --- a/physical/raft/vars_64bit.go +++ b/physical/raft/vars_64bit.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !386 && !arm && !windows package raft diff --git a/physical/s3/s3.go b/physical/s3/s3.go index e9e1fd337..0cb8e0af3 100644 --- a/physical/s3/s3.go +++ b/physical/s3/s3.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package s3 import ( diff --git a/physical/s3/s3_test.go b/physical/s3/s3_test.go index ee2c5c547..139e41dfa 100644 --- a/physical/s3/s3_test.go +++ b/physical/s3/s3_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package s3 import ( diff --git a/physical/spanner/spanner.go b/physical/spanner/spanner.go index 723b78819..b84e0d463 100644 --- a/physical/spanner/spanner.go +++ b/physical/spanner/spanner.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package spanner import ( diff --git a/physical/spanner/spanner_ha.go b/physical/spanner/spanner_ha.go index 7aa4f8986..d116be0ba 100644 --- a/physical/spanner/spanner_ha.go +++ b/physical/spanner/spanner_ha.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package spanner import ( diff --git a/physical/spanner/spanner_ha_test.go b/physical/spanner/spanner_ha_test.go index 49a818b39..dad39ad4c 100644 --- a/physical/spanner/spanner_ha_test.go +++ b/physical/spanner/spanner_ha_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package spanner import ( diff --git a/physical/spanner/spanner_test.go b/physical/spanner/spanner_test.go index d484dd316..4b7c1c46b 100644 --- a/physical/spanner/spanner_test.go +++ b/physical/spanner/spanner_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package spanner import ( diff --git a/physical/swift/swift.go b/physical/swift/swift.go index 2155d44c8..d616bfe35 100644 --- a/physical/swift/swift.go +++ b/physical/swift/swift.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package swift import ( diff --git a/physical/swift/swift_test.go b/physical/swift/swift_test.go index 0e569c5a9..8f8af160f 100644 --- a/physical/swift/swift_test.go +++ b/physical/swift/swift_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package swift import ( diff --git a/physical/zookeeper/zookeeper.go b/physical/zookeeper/zookeeper.go index 28204ad2b..e52ac9b63 100644 --- a/physical/zookeeper/zookeeper.go +++ b/physical/zookeeper/zookeeper.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package zookeeper import ( diff --git a/physical/zookeeper/zookeeper_test.go b/physical/zookeeper/zookeeper_test.go index c004a4e94..e4448bf73 100644 --- a/physical/zookeeper/zookeeper_test.go +++ b/physical/zookeeper/zookeeper_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package zookeeper import ( diff --git a/plugins/database/cassandra/cassandra-database-plugin/main.go b/plugins/database/cassandra/cassandra-database-plugin/main.go index 4ee090364..8a91d1b50 100644 --- a/plugins/database/cassandra/cassandra-database-plugin/main.go +++ b/plugins/database/cassandra/cassandra-database-plugin/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/plugins/database/cassandra/cassandra.go b/plugins/database/cassandra/cassandra.go index de549261f..8118fa061 100644 --- a/plugins/database/cassandra/cassandra.go +++ b/plugins/database/cassandra/cassandra.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cassandra import ( diff --git a/plugins/database/cassandra/cassandra_test.go b/plugins/database/cassandra/cassandra_test.go index ec8b42290..7a3260935 100644 --- a/plugins/database/cassandra/cassandra_test.go +++ b/plugins/database/cassandra/cassandra_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cassandra import ( diff --git a/plugins/database/cassandra/connection_producer.go b/plugins/database/cassandra/connection_producer.go index 72f7bb878..a63ed27d5 100644 --- a/plugins/database/cassandra/connection_producer.go +++ b/plugins/database/cassandra/connection_producer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cassandra import ( diff --git a/plugins/database/cassandra/connection_producer_test.go b/plugins/database/cassandra/connection_producer_test.go index 3f99c1d65..e2f4ba0fc 100644 --- a/plugins/database/cassandra/connection_producer_test.go +++ b/plugins/database/cassandra/connection_producer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cassandra import ( diff --git a/plugins/database/cassandra/test-fixtures/no_tls/cassandra.yaml b/plugins/database/cassandra/test-fixtures/no_tls/cassandra.yaml index 71fdead51..481996968 100644 --- a/plugins/database/cassandra/test-fixtures/no_tls/cassandra.yaml +++ b/plugins/database/cassandra/test-fixtures/no_tls/cassandra.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # Cassandra storage config YAML # NOTE: diff --git a/plugins/database/cassandra/tls.go b/plugins/database/cassandra/tls.go index cc64d3c3b..17e148d74 100644 --- a/plugins/database/cassandra/tls.go +++ b/plugins/database/cassandra/tls.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cassandra import ( diff --git a/plugins/database/hana/hana-database-plugin/main.go b/plugins/database/hana/hana-database-plugin/main.go index 2057c36c0..9ec568b66 100644 --- a/plugins/database/hana/hana-database-plugin/main.go +++ b/plugins/database/hana/hana-database-plugin/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/plugins/database/hana/hana.go b/plugins/database/hana/hana.go index bca437c36..987cc1af2 100644 --- a/plugins/database/hana/hana.go +++ b/plugins/database/hana/hana.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hana import ( diff --git a/plugins/database/hana/hana_test.go b/plugins/database/hana/hana_test.go index 67c108883..6a3c1dbe0 100644 --- a/plugins/database/hana/hana_test.go +++ b/plugins/database/hana/hana_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hana import ( diff --git a/plugins/database/influxdb/connection_producer.go b/plugins/database/influxdb/connection_producer.go index a9a6964ea..b9f18c543 100644 --- a/plugins/database/influxdb/connection_producer.go +++ b/plugins/database/influxdb/connection_producer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package influxdb import ( diff --git a/plugins/database/influxdb/influxdb-database-plugin/main.go b/plugins/database/influxdb/influxdb-database-plugin/main.go index c8f6c5fa1..bfc94f75f 100644 --- a/plugins/database/influxdb/influxdb-database-plugin/main.go +++ b/plugins/database/influxdb/influxdb-database-plugin/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/plugins/database/influxdb/influxdb.go b/plugins/database/influxdb/influxdb.go index 4a8225e52..f216319a6 100644 --- a/plugins/database/influxdb/influxdb.go +++ b/plugins/database/influxdb/influxdb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package influxdb import ( diff --git a/plugins/database/influxdb/influxdb_test.go b/plugins/database/influxdb/influxdb_test.go index 4ecdac51b..f250a6e77 100644 --- a/plugins/database/influxdb/influxdb_test.go +++ b/plugins/database/influxdb/influxdb_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package influxdb import ( diff --git a/plugins/database/mongodb/cert_helpers_test.go b/plugins/database/mongodb/cert_helpers_test.go index deb04ab9c..9f9388b1c 100644 --- a/plugins/database/mongodb/cert_helpers_test.go +++ b/plugins/database/mongodb/cert_helpers_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mongodb import ( diff --git a/plugins/database/mongodb/connection_producer.go b/plugins/database/mongodb/connection_producer.go index 348fb6bd4..4686c3b13 100644 --- a/plugins/database/mongodb/connection_producer.go +++ b/plugins/database/mongodb/connection_producer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mongodb import ( diff --git a/plugins/database/mongodb/connection_producer_test.go b/plugins/database/mongodb/connection_producer_test.go index 529e4d22f..2ce3872c5 100644 --- a/plugins/database/mongodb/connection_producer_test.go +++ b/plugins/database/mongodb/connection_producer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mongodb import ( diff --git a/plugins/database/mongodb/mongodb-database-plugin/main.go b/plugins/database/mongodb/mongodb-database-plugin/main.go index 30dd5fdd7..fe68659ec 100644 --- a/plugins/database/mongodb/mongodb-database-plugin/main.go +++ b/plugins/database/mongodb/mongodb-database-plugin/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/plugins/database/mongodb/mongodb.go b/plugins/database/mongodb/mongodb.go index 6cb511b89..4026fbc69 100644 --- a/plugins/database/mongodb/mongodb.go +++ b/plugins/database/mongodb/mongodb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mongodb import ( diff --git a/plugins/database/mongodb/mongodb_test.go b/plugins/database/mongodb/mongodb_test.go index dcfda3bc0..da051069d 100644 --- a/plugins/database/mongodb/mongodb_test.go +++ b/plugins/database/mongodb/mongodb_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mongodb import ( diff --git a/plugins/database/mongodb/util.go b/plugins/database/mongodb/util.go index a12828f50..be5842136 100644 --- a/plugins/database/mongodb/util.go +++ b/plugins/database/mongodb/util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mongodb import "go.mongodb.org/mongo-driver/mongo/writeconcern" diff --git a/plugins/database/mssql/mssql-database-plugin/main.go b/plugins/database/mssql/mssql-database-plugin/main.go index 37a81a660..2a57b5746 100644 --- a/plugins/database/mssql/mssql-database-plugin/main.go +++ b/plugins/database/mssql/mssql-database-plugin/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/plugins/database/mssql/mssql.go b/plugins/database/mssql/mssql.go index 7915732b4..7c7a4c27b 100644 --- a/plugins/database/mssql/mssql.go +++ b/plugins/database/mssql/mssql.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mssql import ( diff --git a/plugins/database/mssql/mssql_test.go b/plugins/database/mssql/mssql_test.go index 2292490d8..385c5f0b6 100644 --- a/plugins/database/mssql/mssql_test.go +++ b/plugins/database/mssql/mssql_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mssql import ( diff --git a/plugins/database/mysql/connection_producer.go b/plugins/database/mysql/connection_producer.go index 208debe51..5c5979213 100644 --- a/plugins/database/mysql/connection_producer.go +++ b/plugins/database/mysql/connection_producer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mysql import ( diff --git a/plugins/database/mysql/connection_producer_test.go b/plugins/database/mysql/connection_producer_test.go index eacf18fab..a3f0bc7ef 100644 --- a/plugins/database/mysql/connection_producer_test.go +++ b/plugins/database/mysql/connection_producer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mysql import ( diff --git a/plugins/database/mysql/mysql-database-plugin/main.go b/plugins/database/mysql/mysql-database-plugin/main.go index 6b1505aff..56640b2f7 100644 --- a/plugins/database/mysql/mysql-database-plugin/main.go +++ b/plugins/database/mysql/mysql-database-plugin/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/plugins/database/mysql/mysql-legacy-database-plugin/main.go b/plugins/database/mysql/mysql-legacy-database-plugin/main.go index ea6b9839a..8aeba0b36 100644 --- a/plugins/database/mysql/mysql-legacy-database-plugin/main.go +++ b/plugins/database/mysql/mysql-legacy-database-plugin/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/plugins/database/mysql/mysql.go b/plugins/database/mysql/mysql.go index db47c71dd..0260ec20d 100644 --- a/plugins/database/mysql/mysql.go +++ b/plugins/database/mysql/mysql.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mysql import ( diff --git a/plugins/database/mysql/mysql_test.go b/plugins/database/mysql/mysql_test.go index 3c7eab5af..07e0165ff 100644 --- a/plugins/database/mysql/mysql_test.go +++ b/plugins/database/mysql/mysql_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mysql import ( diff --git a/plugins/database/postgresql/postgresql-database-plugin/main.go b/plugins/database/postgresql/postgresql-database-plugin/main.go index 75b5fd9ba..f543167d4 100644 --- a/plugins/database/postgresql/postgresql-database-plugin/main.go +++ b/plugins/database/postgresql/postgresql-database-plugin/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/plugins/database/postgresql/postgresql.go b/plugins/database/postgresql/postgresql.go index 6a350212c..44f4844a2 100644 --- a/plugins/database/postgresql/postgresql.go +++ b/plugins/database/postgresql/postgresql.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package postgresql import ( diff --git a/plugins/database/postgresql/postgresql_test.go b/plugins/database/postgresql/postgresql_test.go index 8a9cbeb39..a268f3712 100644 --- a/plugins/database/postgresql/postgresql_test.go +++ b/plugins/database/postgresql/postgresql_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package postgresql import ( diff --git a/plugins/database/redshift/redshift-database-plugin/main.go b/plugins/database/redshift/redshift-database-plugin/main.go index 8d2f796ee..7fcd9b0b6 100644 --- a/plugins/database/redshift/redshift-database-plugin/main.go +++ b/plugins/database/redshift/redshift-database-plugin/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/plugins/database/redshift/redshift.go b/plugins/database/redshift/redshift.go index ce39569d4..11ce30a73 100644 --- a/plugins/database/redshift/redshift.go +++ b/plugins/database/redshift/redshift.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package redshift import ( diff --git a/plugins/database/redshift/redshift_test.go b/plugins/database/redshift/redshift_test.go index 24992183e..af264587b 100644 --- a/plugins/database/redshift/redshift_test.go +++ b/plugins/database/redshift/redshift_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package redshift import ( diff --git a/scan.hcl b/scan.hcl index 2c3c63121..7553139d1 100644 --- a/scan.hcl +++ b/scan.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + repository { go_modules = true osv = true diff --git a/scripts/assetcheck.sh b/scripts/assetcheck.sh index 7100f84d9..d846dd5f9 100755 --- a/scripts/assetcheck.sh +++ b/scripts/assetcheck.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + if [[ ! -e http/web_ui/index.html ]] then diff --git a/scripts/build.sh b/scripts/build.sh index 1856389cc..6b6df7a91 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # # This script builds the application from source for multiple platforms. set -e diff --git a/scripts/ci-helper.sh b/scripts/ci-helper.sh index 585f89786..6c0eb62f5 100755 --- a/scripts/ci-helper.sh +++ b/scripts/ci-helper.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # The ci-helper is used to determine build metadata, build Vault binaries, # package those binaries into artifacts, and execute tests with those artifacts. diff --git a/scripts/coverage.sh b/scripts/coverage.sh index ad80496d1..7f5d49e53 100755 --- a/scripts/coverage.sh +++ b/scripts/coverage.sh @@ -1,4 +1,7 @@ #!/bin/sh +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # Generate test coverage statistics for Go packages. # # Works around the fact that `go test -coverprofile` currently does not work diff --git a/scripts/cross/Dockerfile b/scripts/cross/Dockerfile index 504399c3f..d631383a0 100644 --- a/scripts/cross/Dockerfile +++ b/scripts/cross/Dockerfile @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + FROM debian:buster RUN apt-get update -y && apt-get install --no-install-recommends -y -q \ diff --git a/scripts/deps_upgrade.py b/scripts/deps_upgrade.py index 9531696ce..edd1b52f1 100644 --- a/scripts/deps_upgrade.py +++ b/scripts/deps_upgrade.py @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + import os import sys diff --git a/scripts/dist.sh b/scripts/dist.sh index e9891b059..fc605d4fd 100755 --- a/scripts/dist.sh +++ b/scripts/dist.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e # Get the version from the command line diff --git a/scripts/docker/Dockerfile b/scripts/docker/Dockerfile index 6208badf4..ceb6ec6ee 100644 --- a/scripts/docker/Dockerfile +++ b/scripts/docker/Dockerfile @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # Multi-stage builder to avoid polluting users environment with wrong # architecture binaries. ARG VERSION diff --git a/scripts/docker/docker-entrypoint.sh b/scripts/docker/docker-entrypoint.sh index 3b72da25b..2b9b8f35a 100755 --- a/scripts/docker/docker-entrypoint.sh +++ b/scripts/docker/docker-entrypoint.sh @@ -1,4 +1,7 @@ #!/usr/bin/dumb-init /bin/sh +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e # Note above that we run dumb-init as PID 1 in order to reap zombie processes diff --git a/scripts/gen_openapi.sh b/scripts/gen_openapi.sh index 2ee5b12d0..2316ae450 100755 --- a/scripts/gen_openapi.sh +++ b/scripts/gen_openapi.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e diff --git a/scripts/gofmtcheck.sh b/scripts/gofmtcheck.sh index 574f4d716..5c58f1785 100755 --- a/scripts/gofmtcheck.sh +++ b/scripts/gofmtcheck.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + echo "==> Checking that code complies with gofmt requirements..." diff --git a/scripts/goversioncheck.sh b/scripts/goversioncheck.sh index 6f5526009..7ee742258 100755 --- a/scripts/goversioncheck.sh +++ b/scripts/goversioncheck.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + GO_CMD=${GO_CMD:-go} diff --git a/scripts/protocversioncheck.sh b/scripts/protocversioncheck.sh index 4b0816748..a2cbc6cc3 100755 --- a/scripts/protocversioncheck.sh +++ b/scripts/protocversioncheck.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/scripts/semgrep_plugin_repos.sh b/scripts/semgrep_plugin_repos.sh index 41f6dfd7a..6dc740732 100755 --- a/scripts/semgrep_plugin_repos.sh +++ b/scripts/semgrep_plugin_repos.sh @@ -1,4 +1,7 @@ #!/bin/sh +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e set -x diff --git a/scripts/testciphers.sh b/scripts/testciphers.sh index 324d6bce7..f9684f570 100755 --- a/scripts/testciphers.sh +++ b/scripts/testciphers.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # Adapted from https://superuser.com/a/224263 diff --git a/scripts/update_deps.sh b/scripts/update_deps.sh index 35f0fecdf..f491b7e69 100755 --- a/scripts/update_deps.sh +++ b/scripts/update_deps.sh @@ -1,4 +1,7 @@ #!/bin/sh +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e diff --git a/scripts/update_plugin_modules.sh b/scripts/update_plugin_modules.sh index ae87fd8d6..2a300f3bc 100755 --- a/scripts/update_plugin_modules.sh +++ b/scripts/update_plugin_modules.sh @@ -1,4 +1,7 @@ #!/bin/sh +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e diff --git a/sdk/database/dbplugin/client.go b/sdk/database/dbplugin/client.go index c30c86d0c..265b46b61 100644 --- a/sdk/database/dbplugin/client.go +++ b/sdk/database/dbplugin/client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbplugin import ( diff --git a/sdk/database/dbplugin/database.pb.go b/sdk/database/dbplugin/database.pb.go index 36d347151..62964c7d1 100644 --- a/sdk/database/dbplugin/database.pb.go +++ b/sdk/database/dbplugin/database.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 diff --git a/sdk/database/dbplugin/database.proto b/sdk/database/dbplugin/database.proto index d8c208099..ed2925278 100644 --- a/sdk/database/dbplugin/database.proto +++ b/sdk/database/dbplugin/database.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; option go_package = "github.com/hashicorp/vault/sdk/database/dbplugin"; diff --git a/sdk/database/dbplugin/databasemiddleware.go b/sdk/database/dbplugin/databasemiddleware.go index 29c806113..d7cabafef 100644 --- a/sdk/database/dbplugin/databasemiddleware.go +++ b/sdk/database/dbplugin/databasemiddleware.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbplugin import ( diff --git a/sdk/database/dbplugin/grpc_transport.go b/sdk/database/dbplugin/grpc_transport.go index fbae626df..3740ef59c 100644 --- a/sdk/database/dbplugin/grpc_transport.go +++ b/sdk/database/dbplugin/grpc_transport.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbplugin import ( diff --git a/sdk/database/dbplugin/plugin.go b/sdk/database/dbplugin/plugin.go index 29f2f1f89..0b0145412 100644 --- a/sdk/database/dbplugin/plugin.go +++ b/sdk/database/dbplugin/plugin.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbplugin import ( diff --git a/sdk/database/dbplugin/server.go b/sdk/database/dbplugin/server.go index 4949384ba..bf96a3bba 100644 --- a/sdk/database/dbplugin/server.go +++ b/sdk/database/dbplugin/server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbplugin import ( diff --git a/sdk/database/dbplugin/v5/conversions_test.go b/sdk/database/dbplugin/v5/conversions_test.go index 6207f0f39..d6e9b3f67 100644 --- a/sdk/database/dbplugin/v5/conversions_test.go +++ b/sdk/database/dbplugin/v5/conversions_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbplugin import ( diff --git a/sdk/database/dbplugin/v5/database.go b/sdk/database/dbplugin/v5/database.go index b73bd6858..24b0115c6 100644 --- a/sdk/database/dbplugin/v5/database.go +++ b/sdk/database/dbplugin/v5/database.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbplugin import ( diff --git a/sdk/database/dbplugin/v5/grpc_client.go b/sdk/database/dbplugin/v5/grpc_client.go index cfddfcd57..68a63faaf 100644 --- a/sdk/database/dbplugin/v5/grpc_client.go +++ b/sdk/database/dbplugin/v5/grpc_client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbplugin import ( diff --git a/sdk/database/dbplugin/v5/grpc_client_test.go b/sdk/database/dbplugin/v5/grpc_client_test.go index b187d736d..05ecb960e 100644 --- a/sdk/database/dbplugin/v5/grpc_client_test.go +++ b/sdk/database/dbplugin/v5/grpc_client_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbplugin import ( diff --git a/sdk/database/dbplugin/v5/grpc_database_plugin.go b/sdk/database/dbplugin/v5/grpc_database_plugin.go index 441030df9..b428d4ce0 100644 --- a/sdk/database/dbplugin/v5/grpc_database_plugin.go +++ b/sdk/database/dbplugin/v5/grpc_database_plugin.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbplugin import ( diff --git a/sdk/database/dbplugin/v5/grpc_server.go b/sdk/database/dbplugin/v5/grpc_server.go index ce3be1efb..c98452d40 100644 --- a/sdk/database/dbplugin/v5/grpc_server.go +++ b/sdk/database/dbplugin/v5/grpc_server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbplugin import ( diff --git a/sdk/database/dbplugin/v5/grpc_server_test.go b/sdk/database/dbplugin/v5/grpc_server_test.go index 7399bf557..53d44c7c2 100644 --- a/sdk/database/dbplugin/v5/grpc_server_test.go +++ b/sdk/database/dbplugin/v5/grpc_server_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbplugin import ( diff --git a/sdk/database/dbplugin/v5/marshalling.go b/sdk/database/dbplugin/v5/marshalling.go index e14a21e58..2b3e8cb34 100644 --- a/sdk/database/dbplugin/v5/marshalling.go +++ b/sdk/database/dbplugin/v5/marshalling.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbplugin import ( diff --git a/sdk/database/dbplugin/v5/middleware.go b/sdk/database/dbplugin/v5/middleware.go index 240d64e69..2091e6720 100644 --- a/sdk/database/dbplugin/v5/middleware.go +++ b/sdk/database/dbplugin/v5/middleware.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbplugin import ( diff --git a/sdk/database/dbplugin/v5/middleware_test.go b/sdk/database/dbplugin/v5/middleware_test.go index 5dd97cdb9..a2a76336f 100644 --- a/sdk/database/dbplugin/v5/middleware_test.go +++ b/sdk/database/dbplugin/v5/middleware_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbplugin import ( diff --git a/sdk/database/dbplugin/v5/plugin_client.go b/sdk/database/dbplugin/v5/plugin_client.go index caea00a8f..b4085ead6 100644 --- a/sdk/database/dbplugin/v5/plugin_client.go +++ b/sdk/database/dbplugin/v5/plugin_client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbplugin import ( diff --git a/sdk/database/dbplugin/v5/plugin_client_test.go b/sdk/database/dbplugin/v5/plugin_client_test.go index 903cec65d..10f02b7be 100644 --- a/sdk/database/dbplugin/v5/plugin_client_test.go +++ b/sdk/database/dbplugin/v5/plugin_client_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbplugin import ( diff --git a/sdk/database/dbplugin/v5/plugin_factory.go b/sdk/database/dbplugin/v5/plugin_factory.go index 649f0f3fc..4b158c319 100644 --- a/sdk/database/dbplugin/v5/plugin_factory.go +++ b/sdk/database/dbplugin/v5/plugin_factory.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbplugin import ( diff --git a/sdk/database/dbplugin/v5/plugin_server.go b/sdk/database/dbplugin/v5/plugin_server.go index 090894ae5..216219df1 100644 --- a/sdk/database/dbplugin/v5/plugin_server.go +++ b/sdk/database/dbplugin/v5/plugin_server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbplugin import ( diff --git a/sdk/database/dbplugin/v5/proto/database.pb.go b/sdk/database/dbplugin/v5/proto/database.pb.go index e50f1508d..06af332cd 100644 --- a/sdk/database/dbplugin/v5/proto/database.pb.go +++ b/sdk/database/dbplugin/v5/proto/database.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 diff --git a/sdk/database/dbplugin/v5/proto/database.proto b/sdk/database/dbplugin/v5/proto/database.proto index b4959f709..ee285dcf7 100644 --- a/sdk/database/dbplugin/v5/proto/database.proto +++ b/sdk/database/dbplugin/v5/proto/database.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package dbplugin.v5; diff --git a/sdk/database/dbplugin/v5/testing/test_helpers.go b/sdk/database/dbplugin/v5/testing/test_helpers.go index 55a402c7f..83e4af308 100644 --- a/sdk/database/dbplugin/v5/testing/test_helpers.go +++ b/sdk/database/dbplugin/v5/testing/test_helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbtesting import ( diff --git a/sdk/database/helper/connutil/connutil.go b/sdk/database/helper/connutil/connutil.go index 1749b275a..50582aa81 100644 --- a/sdk/database/helper/connutil/connutil.go +++ b/sdk/database/helper/connutil/connutil.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connutil import ( diff --git a/sdk/database/helper/connutil/sql.go b/sdk/database/helper/connutil/sql.go index 6256ff1a4..d1af4808c 100644 --- a/sdk/database/helper/connutil/sql.go +++ b/sdk/database/helper/connutil/sql.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connutil import ( diff --git a/sdk/database/helper/connutil/sql_test.go b/sdk/database/helper/connutil/sql_test.go index 2ca11b758..9f29d4ae2 100644 --- a/sdk/database/helper/connutil/sql_test.go +++ b/sdk/database/helper/connutil/sql_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connutil import ( diff --git a/sdk/database/helper/credsutil/credsutil.go b/sdk/database/helper/credsutil/credsutil.go index 064552d1f..503999c86 100644 --- a/sdk/database/helper/credsutil/credsutil.go +++ b/sdk/database/helper/credsutil/credsutil.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credsutil import ( diff --git a/sdk/database/helper/credsutil/credsutil_test.go b/sdk/database/helper/credsutil/credsutil_test.go index e094719d0..77e1a2862 100644 --- a/sdk/database/helper/credsutil/credsutil_test.go +++ b/sdk/database/helper/credsutil/credsutil_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credsutil import ( diff --git a/sdk/database/helper/credsutil/sql.go b/sdk/database/helper/credsutil/sql.go index 39fb467a7..2c27adf37 100644 --- a/sdk/database/helper/credsutil/sql.go +++ b/sdk/database/helper/credsutil/sql.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credsutil import ( diff --git a/sdk/database/helper/credsutil/usernames.go b/sdk/database/helper/credsutil/usernames.go index c1e3ccb52..962208ac9 100644 --- a/sdk/database/helper/credsutil/usernames.go +++ b/sdk/database/helper/credsutil/usernames.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credsutil import ( diff --git a/sdk/database/helper/credsutil/usernames_test.go b/sdk/database/helper/credsutil/usernames_test.go index b1e79ce26..a3e883491 100644 --- a/sdk/database/helper/credsutil/usernames_test.go +++ b/sdk/database/helper/credsutil/usernames_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credsutil import ( diff --git a/sdk/database/helper/dbutil/dbutil.go b/sdk/database/helper/dbutil/dbutil.go index 19198bcfd..efc7e01e1 100644 --- a/sdk/database/helper/dbutil/dbutil.go +++ b/sdk/database/helper/dbutil/dbutil.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbutil import ( diff --git a/sdk/database/helper/dbutil/dbutil_test.go b/sdk/database/helper/dbutil/dbutil_test.go index 64ca9924d..797712b4d 100644 --- a/sdk/database/helper/dbutil/dbutil_test.go +++ b/sdk/database/helper/dbutil/dbutil_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbutil import ( diff --git a/sdk/framework/backend.go b/sdk/framework/backend.go index d06e8a489..c0527addf 100644 --- a/sdk/framework/backend.go +++ b/sdk/framework/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework import ( diff --git a/sdk/framework/backend_test.go b/sdk/framework/backend_test.go index fd3d44e94..0b7a20543 100644 --- a/sdk/framework/backend_test.go +++ b/sdk/framework/backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework import ( diff --git a/sdk/framework/field_data.go b/sdk/framework/field_data.go index d9e6fa365..e5f69acdb 100644 --- a/sdk/framework/field_data.go +++ b/sdk/framework/field_data.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework import ( diff --git a/sdk/framework/field_data_test.go b/sdk/framework/field_data_test.go index b152e84fa..078c6fbcd 100644 --- a/sdk/framework/field_data_test.go +++ b/sdk/framework/field_data_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework import ( diff --git a/sdk/framework/field_type.go b/sdk/framework/field_type.go index fa67f454a..d62ffe635 100644 --- a/sdk/framework/field_type.go +++ b/sdk/framework/field_type.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework // FieldType is the enum of types that a field can be. diff --git a/sdk/framework/filter.go b/sdk/framework/filter.go index faaccba2a..b9b99799b 100644 --- a/sdk/framework/filter.go +++ b/sdk/framework/filter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework import ( diff --git a/sdk/framework/identity.go b/sdk/framework/identity.go index ebb2aa4dc..157f3c193 100644 --- a/sdk/framework/identity.go +++ b/sdk/framework/identity.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework import ( diff --git a/sdk/framework/identity_test.go b/sdk/framework/identity_test.go index cb71eefdf..1667fb960 100644 --- a/sdk/framework/identity_test.go +++ b/sdk/framework/identity_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework import ( diff --git a/sdk/framework/lease.go b/sdk/framework/lease.go index 4d0240fbe..24824ca52 100644 --- a/sdk/framework/lease.go +++ b/sdk/framework/lease.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework import ( diff --git a/sdk/framework/lease_test.go b/sdk/framework/lease_test.go index e145c2a82..5d1f9f091 100644 --- a/sdk/framework/lease_test.go +++ b/sdk/framework/lease_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework import ( diff --git a/sdk/framework/openapi_test.go b/sdk/framework/openapi_test.go index 3d5789e9d..648a785fa 100644 --- a/sdk/framework/openapi_test.go +++ b/sdk/framework/openapi_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework import ( diff --git a/sdk/framework/path.go b/sdk/framework/path.go index e6221af92..bf28f4732 100644 --- a/sdk/framework/path.go +++ b/sdk/framework/path.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework import ( diff --git a/sdk/framework/path_map.go b/sdk/framework/path_map.go index 0cba8ea2f..46cf4720e 100644 --- a/sdk/framework/path_map.go +++ b/sdk/framework/path_map.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework import ( diff --git a/sdk/framework/path_map_test.go b/sdk/framework/path_map_test.go index 11e1f37c9..3fe6308cb 100644 --- a/sdk/framework/path_map_test.go +++ b/sdk/framework/path_map_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework import ( diff --git a/sdk/framework/path_struct.go b/sdk/framework/path_struct.go index 2a2848e58..cba855065 100644 --- a/sdk/framework/path_struct.go +++ b/sdk/framework/path_struct.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework import ( diff --git a/sdk/framework/path_struct_test.go b/sdk/framework/path_struct_test.go index 9e81cc2e3..88662af53 100644 --- a/sdk/framework/path_struct_test.go +++ b/sdk/framework/path_struct_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework import ( diff --git a/sdk/framework/path_test.go b/sdk/framework/path_test.go index ca359d1f5..4541930ed 100644 --- a/sdk/framework/path_test.go +++ b/sdk/framework/path_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework import ( diff --git a/sdk/framework/policy_map.go b/sdk/framework/policy_map.go index 7befb3995..94accf88a 100644 --- a/sdk/framework/policy_map.go +++ b/sdk/framework/policy_map.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework import ( diff --git a/sdk/framework/policy_map_test.go b/sdk/framework/policy_map_test.go index 6a88b8051..b785fddc7 100644 --- a/sdk/framework/policy_map_test.go +++ b/sdk/framework/policy_map_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework import ( diff --git a/sdk/framework/secret.go b/sdk/framework/secret.go index 0c8f0dfcc..095bc12b7 100644 --- a/sdk/framework/secret.go +++ b/sdk/framework/secret.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework import ( diff --git a/sdk/framework/secret_test.go b/sdk/framework/secret_test.go index 83af4753b..29058dc84 100644 --- a/sdk/framework/secret_test.go +++ b/sdk/framework/secret_test.go @@ -1 +1,4 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework diff --git a/sdk/framework/template.go b/sdk/framework/template.go index 3abdd624c..d395c8f8d 100644 --- a/sdk/framework/template.go +++ b/sdk/framework/template.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework import ( diff --git a/sdk/framework/testing.go b/sdk/framework/testing.go index a00a3241c..d2035d676 100644 --- a/sdk/framework/testing.go +++ b/sdk/framework/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework import ( diff --git a/sdk/framework/wal.go b/sdk/framework/wal.go index 7e7bb1afa..b090f03e7 100644 --- a/sdk/framework/wal.go +++ b/sdk/framework/wal.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework import ( diff --git a/sdk/framework/wal_test.go b/sdk/framework/wal_test.go index 958be7e79..040749239 100644 --- a/sdk/framework/wal_test.go +++ b/sdk/framework/wal_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package framework import ( diff --git a/sdk/helper/authmetadata/auth_metadata.go b/sdk/helper/authmetadata/auth_metadata.go index 0fd2bd50f..e490ab359 100644 --- a/sdk/helper/authmetadata/auth_metadata.go +++ b/sdk/helper/authmetadata/auth_metadata.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmetadata /* diff --git a/sdk/helper/authmetadata/auth_metadata_acc_test.go b/sdk/helper/authmetadata/auth_metadata_acc_test.go index 39888c69a..189c96009 100644 --- a/sdk/helper/authmetadata/auth_metadata_acc_test.go +++ b/sdk/helper/authmetadata/auth_metadata_acc_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmetadata import ( diff --git a/sdk/helper/authmetadata/auth_metadata_test.go b/sdk/helper/authmetadata/auth_metadata_test.go index 62341ebc8..a82044f9b 100644 --- a/sdk/helper/authmetadata/auth_metadata_test.go +++ b/sdk/helper/authmetadata/auth_metadata_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmetadata import ( diff --git a/sdk/helper/base62/base62.go b/sdk/helper/base62/base62.go index 981face42..7d2c7d5ba 100644 --- a/sdk/helper/base62/base62.go +++ b/sdk/helper/base62/base62.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // DEPRECATED: this has been moved to go-secure-stdlib and will be removed package base62 diff --git a/sdk/helper/certutil/certutil_test.go b/sdk/helper/certutil/certutil_test.go index 9c10f38a8..4ee3d1c4e 100644 --- a/sdk/helper/certutil/certutil_test.go +++ b/sdk/helper/certutil/certutil_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package certutil import ( diff --git a/sdk/helper/certutil/helpers.go b/sdk/helper/certutil/helpers.go index a600c124e..ab1aecd5a 100644 --- a/sdk/helper/certutil/helpers.go +++ b/sdk/helper/certutil/helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package certutil import ( diff --git a/sdk/helper/certutil/types.go b/sdk/helper/certutil/types.go index 8a806c6f8..039ff8a52 100644 --- a/sdk/helper/certutil/types.go +++ b/sdk/helper/certutil/types.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package certutil contains helper functions that are mostly used // with the PKI backend but can be generally useful. Functionality // includes helpers for converting a certificate/private key bundle diff --git a/sdk/helper/cidrutil/cidr.go b/sdk/helper/cidrutil/cidr.go index 7e48c2be5..9d2a41829 100644 --- a/sdk/helper/cidrutil/cidr.go +++ b/sdk/helper/cidrutil/cidr.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cidrutil import ( diff --git a/sdk/helper/cidrutil/cidr_test.go b/sdk/helper/cidrutil/cidr_test.go index 6a8662cdf..e6fc57644 100644 --- a/sdk/helper/cidrutil/cidr_test.go +++ b/sdk/helper/cidrutil/cidr_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cidrutil import ( diff --git a/sdk/helper/compressutil/compress.go b/sdk/helper/compressutil/compress.go index 924f82a2a..9e96d8dd3 100644 --- a/sdk/helper/compressutil/compress.go +++ b/sdk/helper/compressutil/compress.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package compressutil import ( diff --git a/sdk/helper/compressutil/compress_test.go b/sdk/helper/compressutil/compress_test.go index f85f3c935..7d90ce87e 100644 --- a/sdk/helper/compressutil/compress_test.go +++ b/sdk/helper/compressutil/compress_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package compressutil import ( diff --git a/sdk/helper/consts/agent.go b/sdk/helper/consts/agent.go index 92207e3d8..53b8b8e2e 100644 --- a/sdk/helper/consts/agent.go +++ b/sdk/helper/consts/agent.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consts // AgentPathCacheClear is the path that the agent will use as its cache-clear diff --git a/sdk/helper/consts/consts.go b/sdk/helper/consts/consts.go index a4b7c5040..b51191050 100644 --- a/sdk/helper/consts/consts.go +++ b/sdk/helper/consts/consts.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consts const ( diff --git a/sdk/helper/consts/deprecation_status.go b/sdk/helper/consts/deprecation_status.go index 656d6cc99..e72292bee 100644 --- a/sdk/helper/consts/deprecation_status.go +++ b/sdk/helper/consts/deprecation_status.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consts // EnvVaultAllowPendingRemovalMounts allows Pending Removal builtins to be diff --git a/sdk/helper/consts/error.go b/sdk/helper/consts/error.go index 1a9175c63..5bd3f5e6e 100644 --- a/sdk/helper/consts/error.go +++ b/sdk/helper/consts/error.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consts import "errors" diff --git a/sdk/helper/consts/plugin_types.go b/sdk/helper/consts/plugin_types.go index f2815d4fe..6bc14b54f 100644 --- a/sdk/helper/consts/plugin_types.go +++ b/sdk/helper/consts/plugin_types.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consts // NOTE: this file has been copied to diff --git a/sdk/helper/consts/replication.go b/sdk/helper/consts/replication.go index f72c2f47a..2a1511a9a 100644 --- a/sdk/helper/consts/replication.go +++ b/sdk/helper/consts/replication.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consts const ( diff --git a/sdk/helper/consts/token_consts.go b/sdk/helper/consts/token_consts.go index 2b4e0278b..108e7ba42 100644 --- a/sdk/helper/consts/token_consts.go +++ b/sdk/helper/consts/token_consts.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consts const ( diff --git a/sdk/helper/cryptoutil/cryptoutil.go b/sdk/helper/cryptoutil/cryptoutil.go index a37086c64..956dad340 100644 --- a/sdk/helper/cryptoutil/cryptoutil.go +++ b/sdk/helper/cryptoutil/cryptoutil.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cryptoutil import "golang.org/x/crypto/blake2b" diff --git a/sdk/helper/cryptoutil/cryptoutil_test.go b/sdk/helper/cryptoutil/cryptoutil_test.go index a277e4fce..35799e42a 100644 --- a/sdk/helper/cryptoutil/cryptoutil_test.go +++ b/sdk/helper/cryptoutil/cryptoutil_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cryptoutil import "testing" diff --git a/sdk/helper/custommetadata/custom_metadata.go b/sdk/helper/custommetadata/custom_metadata.go index 7d4ff8763..81d4c2703 100644 --- a/sdk/helper/custommetadata/custom_metadata.go +++ b/sdk/helper/custommetadata/custom_metadata.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package custommetadata import ( diff --git a/sdk/helper/custommetadata/custom_metadata_test.go b/sdk/helper/custommetadata/custom_metadata_test.go index e71bd5946..2b25d9912 100644 --- a/sdk/helper/custommetadata/custom_metadata_test.go +++ b/sdk/helper/custommetadata/custom_metadata_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package custommetadata import ( diff --git a/sdk/helper/dbtxn/dbtxn.go b/sdk/helper/dbtxn/dbtxn.go index 133b360e7..12288d5b3 100644 --- a/sdk/helper/dbtxn/dbtxn.go +++ b/sdk/helper/dbtxn/dbtxn.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbtxn import ( diff --git a/sdk/helper/errutil/error.go b/sdk/helper/errutil/error.go index 0b95efb40..1866343b5 100644 --- a/sdk/helper/errutil/error.go +++ b/sdk/helper/errutil/error.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package errutil // UserError represents an error generated due to invalid user input diff --git a/sdk/helper/hclutil/hcl.go b/sdk/helper/hclutil/hcl.go index 0b120367d..a78d82008 100644 --- a/sdk/helper/hclutil/hcl.go +++ b/sdk/helper/hclutil/hcl.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hclutil import ( diff --git a/sdk/helper/identitytpl/templating.go b/sdk/helper/identitytpl/templating.go index 6d84df824..124a27c92 100644 --- a/sdk/helper/identitytpl/templating.go +++ b/sdk/helper/identitytpl/templating.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package identitytpl import ( diff --git a/sdk/helper/identitytpl/templating_test.go b/sdk/helper/identitytpl/templating_test.go index 15bfc8123..d17409e78 100644 --- a/sdk/helper/identitytpl/templating_test.go +++ b/sdk/helper/identitytpl/templating_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package identitytpl import ( diff --git a/sdk/helper/jsonutil/json.go b/sdk/helper/jsonutil/json.go index c03a4f8c8..1abd9fafe 100644 --- a/sdk/helper/jsonutil/json.go +++ b/sdk/helper/jsonutil/json.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package jsonutil import ( diff --git a/sdk/helper/jsonutil/json_test.go b/sdk/helper/jsonutil/json_test.go index dd33f9bf1..10aabf1b9 100644 --- a/sdk/helper/jsonutil/json_test.go +++ b/sdk/helper/jsonutil/json_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package jsonutil import ( diff --git a/sdk/helper/kdf/kdf.go b/sdk/helper/kdf/kdf.go index 9d3e0e858..e9964ba28 100644 --- a/sdk/helper/kdf/kdf.go +++ b/sdk/helper/kdf/kdf.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // This package is used to implement Key Derivation Functions (KDF) // based on the recommendations of NIST SP 800-108. These are useful // for generating unique-per-transaction keys, or situations in which diff --git a/sdk/helper/kdf/kdf_test.go b/sdk/helper/kdf/kdf_test.go index 2148257f3..ed5c0a13d 100644 --- a/sdk/helper/kdf/kdf_test.go +++ b/sdk/helper/kdf/kdf_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kdf import ( diff --git a/sdk/helper/keysutil/cache.go b/sdk/helper/keysutil/cache.go index 7da9c202f..fb55091e4 100644 --- a/sdk/helper/keysutil/cache.go +++ b/sdk/helper/keysutil/cache.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package keysutil type Cache interface { diff --git a/sdk/helper/keysutil/consts.go b/sdk/helper/keysutil/consts.go index e6c657b91..b68423242 100644 --- a/sdk/helper/keysutil/consts.go +++ b/sdk/helper/keysutil/consts.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package keysutil import ( diff --git a/sdk/helper/keysutil/encrypted_key_storage.go b/sdk/helper/keysutil/encrypted_key_storage.go index 90eaaf0bb..7314758bc 100644 --- a/sdk/helper/keysutil/encrypted_key_storage.go +++ b/sdk/helper/keysutil/encrypted_key_storage.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package keysutil import ( diff --git a/sdk/helper/keysutil/encrypted_key_storage_test.go b/sdk/helper/keysutil/encrypted_key_storage_test.go index 2f29d14b7..5147027fc 100644 --- a/sdk/helper/keysutil/encrypted_key_storage_test.go +++ b/sdk/helper/keysutil/encrypted_key_storage_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package keysutil import ( diff --git a/sdk/helper/keysutil/lock_manager.go b/sdk/helper/keysutil/lock_manager.go index 03708e8f8..306dd1693 100644 --- a/sdk/helper/keysutil/lock_manager.go +++ b/sdk/helper/keysutil/lock_manager.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package keysutil import ( diff --git a/sdk/helper/keysutil/managed_key_util.go b/sdk/helper/keysutil/managed_key_util.go index 6647218bf..bb3c0b296 100644 --- a/sdk/helper/keysutil/managed_key_util.go +++ b/sdk/helper/keysutil/managed_key_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package keysutil diff --git a/sdk/helper/keysutil/policy.go b/sdk/helper/keysutil/policy.go index 07b19a4f0..d5620e31c 100644 --- a/sdk/helper/keysutil/policy.go +++ b/sdk/helper/keysutil/policy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package keysutil import ( diff --git a/sdk/helper/keysutil/policy_test.go b/sdk/helper/keysutil/policy_test.go index 2df73971a..daf19a825 100644 --- a/sdk/helper/keysutil/policy_test.go +++ b/sdk/helper/keysutil/policy_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package keysutil import ( diff --git a/sdk/helper/keysutil/transit_lru.go b/sdk/helper/keysutil/transit_lru.go index cd1f6dafe..66ea66dc7 100644 --- a/sdk/helper/keysutil/transit_lru.go +++ b/sdk/helper/keysutil/transit_lru.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package keysutil import lru "github.com/hashicorp/golang-lru" diff --git a/sdk/helper/keysutil/transit_syncmap.go b/sdk/helper/keysutil/transit_syncmap.go index ce9071380..fddcf706b 100644 --- a/sdk/helper/keysutil/transit_syncmap.go +++ b/sdk/helper/keysutil/transit_syncmap.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package keysutil import ( diff --git a/sdk/helper/keysutil/util.go b/sdk/helper/keysutil/util.go index 8fe01badd..94a56d42c 100644 --- a/sdk/helper/keysutil/util.go +++ b/sdk/helper/keysutil/util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package keysutil import ( diff --git a/sdk/helper/ldaputil/client.go b/sdk/helper/ldaputil/client.go index 36f0f3b14..b0e1187d5 100644 --- a/sdk/helper/ldaputil/client.go +++ b/sdk/helper/ldaputil/client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ldaputil import ( diff --git a/sdk/helper/ldaputil/client_test.go b/sdk/helper/ldaputil/client_test.go index c9ae9cd4b..167d50f22 100644 --- a/sdk/helper/ldaputil/client_test.go +++ b/sdk/helper/ldaputil/client_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ldaputil import ( diff --git a/sdk/helper/ldaputil/config.go b/sdk/helper/ldaputil/config.go index 8da5f2225..df4996af7 100644 --- a/sdk/helper/ldaputil/config.go +++ b/sdk/helper/ldaputil/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ldaputil import ( diff --git a/sdk/helper/ldaputil/config_test.go b/sdk/helper/ldaputil/config_test.go index fb6513450..62be2a182 100644 --- a/sdk/helper/ldaputil/config_test.go +++ b/sdk/helper/ldaputil/config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ldaputil import ( diff --git a/sdk/helper/ldaputil/connection.go b/sdk/helper/ldaputil/connection.go index 71c83f2f9..c33ad403f 100644 --- a/sdk/helper/ldaputil/connection.go +++ b/sdk/helper/ldaputil/connection.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ldaputil import ( diff --git a/sdk/helper/ldaputil/ldap.go b/sdk/helper/ldaputil/ldap.go index 82ace0177..f03fa8948 100644 --- a/sdk/helper/ldaputil/ldap.go +++ b/sdk/helper/ldaputil/ldap.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ldaputil import ( diff --git a/sdk/helper/license/feature.go b/sdk/helper/license/feature.go index c7c000a58..b42fcd1fc 100644 --- a/sdk/helper/license/feature.go +++ b/sdk/helper/license/feature.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package license // Features is a bitmask of feature flags diff --git a/sdk/helper/locksutil/locks.go b/sdk/helper/locksutil/locks.go index 35ffcf739..c7538b63b 100644 --- a/sdk/helper/locksutil/locks.go +++ b/sdk/helper/locksutil/locks.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package locksutil import ( diff --git a/sdk/helper/locksutil/locks_test.go b/sdk/helper/locksutil/locks_test.go index 991664463..954a46349 100644 --- a/sdk/helper/locksutil/locks_test.go +++ b/sdk/helper/locksutil/locks_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package locksutil import "testing" diff --git a/sdk/helper/logging/logging.go b/sdk/helper/logging/logging.go index 25de5a781..37dcefa47 100644 --- a/sdk/helper/logging/logging.go +++ b/sdk/helper/logging/logging.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logging import ( diff --git a/sdk/helper/logging/logging_test.go b/sdk/helper/logging/logging_test.go index 91e204b09..16075524b 100644 --- a/sdk/helper/logging/logging_test.go +++ b/sdk/helper/logging/logging_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logging import ( diff --git a/sdk/helper/mlock/mlock.go b/sdk/helper/mlock/mlock.go index 1bbf8a0bb..5820d15af 100644 --- a/sdk/helper/mlock/mlock.go +++ b/sdk/helper/mlock/mlock.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // DEPRECATED: this has been moved to go-secure-stdlib and will be removed package mlock diff --git a/sdk/helper/parseutil/parseutil.go b/sdk/helper/parseutil/parseutil.go index eda539424..5bea8909d 100644 --- a/sdk/helper/parseutil/parseutil.go +++ b/sdk/helper/parseutil/parseutil.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // DEPRECATED: this has been moved to go-secure-stdlib and will be removed package parseutil diff --git a/sdk/helper/password/password.go b/sdk/helper/password/password.go index 84e6b594d..931a72cc8 100644 --- a/sdk/helper/password/password.go +++ b/sdk/helper/password/password.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // DEPRECATED: this has been moved to go-secure-stdlib and will be removed package password diff --git a/sdk/helper/pathmanager/pathmanager.go b/sdk/helper/pathmanager/pathmanager.go index e0e39445b..0d2d60070 100644 --- a/sdk/helper/pathmanager/pathmanager.go +++ b/sdk/helper/pathmanager/pathmanager.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pathmanager import ( diff --git a/sdk/helper/pathmanager/pathmanager_test.go b/sdk/helper/pathmanager/pathmanager_test.go index 7d6207b62..515d83032 100644 --- a/sdk/helper/pathmanager/pathmanager_test.go +++ b/sdk/helper/pathmanager/pathmanager_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pathmanager import ( diff --git a/sdk/helper/pluginutil/env.go b/sdk/helper/pluginutil/env.go index df1fdbeed..1b45ef32d 100644 --- a/sdk/helper/pluginutil/env.go +++ b/sdk/helper/pluginutil/env.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pluginutil import ( diff --git a/sdk/helper/pluginutil/env_test.go b/sdk/helper/pluginutil/env_test.go index 1d04b3275..21f77faba 100644 --- a/sdk/helper/pluginutil/env_test.go +++ b/sdk/helper/pluginutil/env_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pluginutil import ( diff --git a/sdk/helper/pluginutil/multiplexing.go b/sdk/helper/pluginutil/multiplexing.go index 41316ec49..8fc86a4c3 100644 --- a/sdk/helper/pluginutil/multiplexing.go +++ b/sdk/helper/pluginutil/multiplexing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pluginutil import ( diff --git a/sdk/helper/pluginutil/multiplexing.pb.go b/sdk/helper/pluginutil/multiplexing.pb.go index e585febc7..d7663b902 100644 --- a/sdk/helper/pluginutil/multiplexing.pb.go +++ b/sdk/helper/pluginutil/multiplexing.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 diff --git a/sdk/helper/pluginutil/multiplexing.proto b/sdk/helper/pluginutil/multiplexing.proto index aa2438b07..c1a2ca0a4 100644 --- a/sdk/helper/pluginutil/multiplexing.proto +++ b/sdk/helper/pluginutil/multiplexing.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package pluginutil.multiplexing; diff --git a/sdk/helper/pluginutil/multiplexing_test.go b/sdk/helper/pluginutil/multiplexing_test.go index 125a4a120..3f589ffa7 100644 --- a/sdk/helper/pluginutil/multiplexing_test.go +++ b/sdk/helper/pluginutil/multiplexing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pluginutil import ( diff --git a/sdk/helper/pluginutil/run_config.go b/sdk/helper/pluginutil/run_config.go index f344ca979..be34fa9dc 100644 --- a/sdk/helper/pluginutil/run_config.go +++ b/sdk/helper/pluginutil/run_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pluginutil import ( diff --git a/sdk/helper/pluginutil/run_config_test.go b/sdk/helper/pluginutil/run_config_test.go index b817ef955..e64057783 100644 --- a/sdk/helper/pluginutil/run_config_test.go +++ b/sdk/helper/pluginutil/run_config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pluginutil import ( diff --git a/sdk/helper/pluginutil/runner.go b/sdk/helper/pluginutil/runner.go index 886efe21f..977f95d72 100644 --- a/sdk/helper/pluginutil/runner.go +++ b/sdk/helper/pluginutil/runner.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pluginutil import ( diff --git a/sdk/helper/pluginutil/tls.go b/sdk/helper/pluginutil/tls.go index c5fff6d70..21b35d910 100644 --- a/sdk/helper/pluginutil/tls.go +++ b/sdk/helper/pluginutil/tls.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pluginutil import ( diff --git a/sdk/helper/pointerutil/pointer.go b/sdk/helper/pointerutil/pointer.go index 0f26e7dad..b4bfe114c 100644 --- a/sdk/helper/pointerutil/pointer.go +++ b/sdk/helper/pointerutil/pointer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pointerutil import ( diff --git a/sdk/helper/policyutil/policyutil.go b/sdk/helper/policyutil/policyutil.go index 8e5541b18..a5a8082e1 100644 --- a/sdk/helper/policyutil/policyutil.go +++ b/sdk/helper/policyutil/policyutil.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package policyutil import ( diff --git a/sdk/helper/policyutil/policyutil_test.go b/sdk/helper/policyutil/policyutil_test.go index 4b26483f7..2280ba93e 100644 --- a/sdk/helper/policyutil/policyutil_test.go +++ b/sdk/helper/policyutil/policyutil_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package policyutil import "testing" diff --git a/sdk/helper/roottoken/decode.go b/sdk/helper/roottoken/decode.go index cc9300690..9939b67f7 100644 --- a/sdk/helper/roottoken/decode.go +++ b/sdk/helper/roottoken/decode.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package roottoken import ( diff --git a/sdk/helper/roottoken/encode.go b/sdk/helper/roottoken/encode.go index 2537d9397..dbbc90a2a 100644 --- a/sdk/helper/roottoken/encode.go +++ b/sdk/helper/roottoken/encode.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package roottoken import ( diff --git a/sdk/helper/roottoken/encode_test.go b/sdk/helper/roottoken/encode_test.go index 9df26928e..269bf65b0 100644 --- a/sdk/helper/roottoken/encode_test.go +++ b/sdk/helper/roottoken/encode_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package roottoken import ( diff --git a/sdk/helper/roottoken/otp.go b/sdk/helper/roottoken/otp.go index 5a12c4f0a..4445ec52d 100644 --- a/sdk/helper/roottoken/otp.go +++ b/sdk/helper/roottoken/otp.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package roottoken import ( diff --git a/sdk/helper/roottoken/otp_test.go b/sdk/helper/roottoken/otp_test.go index 437e8f3d0..53776ec21 100644 --- a/sdk/helper/roottoken/otp_test.go +++ b/sdk/helper/roottoken/otp_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package roottoken import ( diff --git a/sdk/helper/salt/salt.go b/sdk/helper/salt/salt.go index 50e0cad90..84cbd0355 100644 --- a/sdk/helper/salt/salt.go +++ b/sdk/helper/salt/salt.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package salt import ( diff --git a/sdk/helper/salt/salt_test.go b/sdk/helper/salt/salt_test.go index 99fcb06bd..3aec9a27b 100644 --- a/sdk/helper/salt/salt_test.go +++ b/sdk/helper/salt/salt_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package salt import ( diff --git a/sdk/helper/strutil/strutil.go b/sdk/helper/strutil/strutil.go index 09cc9425c..a9e506942 100644 --- a/sdk/helper/strutil/strutil.go +++ b/sdk/helper/strutil/strutil.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // DEPRECATED: this has been moved to go-secure-stdlib and will be removed package strutil diff --git a/sdk/helper/template/funcs.go b/sdk/helper/template/funcs.go index ee9927fe1..6d68cab3a 100644 --- a/sdk/helper/template/funcs.go +++ b/sdk/helper/template/funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package template import ( diff --git a/sdk/helper/template/funcs_test.go b/sdk/helper/template/funcs_test.go index f682a9675..496511596 100644 --- a/sdk/helper/template/funcs_test.go +++ b/sdk/helper/template/funcs_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package template import ( diff --git a/sdk/helper/template/template.go b/sdk/helper/template/template.go index 2918825b9..dea65f3f5 100644 --- a/sdk/helper/template/template.go +++ b/sdk/helper/template/template.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package template import ( diff --git a/sdk/helper/template/template_test.go b/sdk/helper/template/template_test.go index 715dd5251..2f66bf36f 100644 --- a/sdk/helper/template/template_test.go +++ b/sdk/helper/template/template_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package template import ( diff --git a/sdk/helper/testhelpers/schema/response_validation.go b/sdk/helper/testhelpers/schema/response_validation.go index 7ebe9da9d..febb857ec 100644 --- a/sdk/helper/testhelpers/schema/response_validation.go +++ b/sdk/helper/testhelpers/schema/response_validation.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema import ( diff --git a/sdk/helper/testhelpers/schema/response_validation_test.go b/sdk/helper/testhelpers/schema/response_validation_test.go index d2533b65d..98880d007 100644 --- a/sdk/helper/testhelpers/schema/response_validation_test.go +++ b/sdk/helper/testhelpers/schema/response_validation_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema import ( diff --git a/sdk/helper/tlsutil/tlsutil.go b/sdk/helper/tlsutil/tlsutil.go index e1e9b9484..d91af3679 100644 --- a/sdk/helper/tlsutil/tlsutil.go +++ b/sdk/helper/tlsutil/tlsutil.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // DEPRECATED: this has been moved to go-secure-stdlib and will be removed package tlsutil diff --git a/sdk/helper/tokenutil/tokenutil.go b/sdk/helper/tokenutil/tokenutil.go index 776b40501..0310b9db4 100644 --- a/sdk/helper/tokenutil/tokenutil.go +++ b/sdk/helper/tokenutil/tokenutil.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tokenutil import ( diff --git a/sdk/helper/useragent/useragent.go b/sdk/helper/useragent/useragent.go index 0dc4b2c9e..53569e910 100644 --- a/sdk/helper/useragent/useragent.go +++ b/sdk/helper/useragent/useragent.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package useragent import ( diff --git a/sdk/helper/useragent/useragent_test.go b/sdk/helper/useragent/useragent_test.go index c21b0c947..4677bb62f 100644 --- a/sdk/helper/useragent/useragent_test.go +++ b/sdk/helper/useragent/useragent_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package useragent import ( diff --git a/sdk/helper/wrapping/wrapinfo.go b/sdk/helper/wrapping/wrapinfo.go index 8d8e63340..03a703013 100644 --- a/sdk/helper/wrapping/wrapinfo.go +++ b/sdk/helper/wrapping/wrapinfo.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package wrapping import "time" diff --git a/sdk/helper/xor/xor.go b/sdk/helper/xor/xor.go index a1f1e90bc..098a67317 100644 --- a/sdk/helper/xor/xor.go +++ b/sdk/helper/xor/xor.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xor import ( diff --git a/sdk/helper/xor/xor_test.go b/sdk/helper/xor/xor_test.go index f50f525ce..143345d9a 100644 --- a/sdk/helper/xor/xor_test.go +++ b/sdk/helper/xor/xor_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xor import ( diff --git a/sdk/logical/audit.go b/sdk/logical/audit.go index 8ba70f37e..30c03e611 100644 --- a/sdk/logical/audit.go +++ b/sdk/logical/audit.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical type LogInput struct { diff --git a/sdk/logical/auth.go b/sdk/logical/auth.go index 62707e819..951116ee4 100644 --- a/sdk/logical/auth.go +++ b/sdk/logical/auth.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import ( diff --git a/sdk/logical/connection.go b/sdk/logical/connection.go index 5be863077..e590e6f59 100644 --- a/sdk/logical/connection.go +++ b/sdk/logical/connection.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import ( diff --git a/sdk/logical/controlgroup.go b/sdk/logical/controlgroup.go index 2ed1b0768..e166f00d1 100644 --- a/sdk/logical/controlgroup.go +++ b/sdk/logical/controlgroup.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import ( diff --git a/sdk/logical/error.go b/sdk/logical/error.go index 68c8e1373..5605784b3 100644 --- a/sdk/logical/error.go +++ b/sdk/logical/error.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import "errors" diff --git a/sdk/logical/event.pb.go b/sdk/logical/event.pb.go index 1925c6ae9..22e908d91 100644 --- a/sdk/logical/event.pb.go +++ b/sdk/logical/event.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 diff --git a/sdk/logical/event.proto b/sdk/logical/event.proto index 594bcf1dd..6e36e5e70 100644 --- a/sdk/logical/event.proto +++ b/sdk/logical/event.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; option go_package = "github.com/hashicorp/vault/sdk/logical"; diff --git a/sdk/logical/events.go b/sdk/logical/events.go index e96e6d709..cbd3f7369 100644 --- a/sdk/logical/events.go +++ b/sdk/logical/events.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import ( diff --git a/sdk/logical/identity.pb.go b/sdk/logical/identity.pb.go index 78fb704df..fedc5f5c2 100644 --- a/sdk/logical/identity.pb.go +++ b/sdk/logical/identity.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 diff --git a/sdk/logical/identity.proto b/sdk/logical/identity.proto index 743f85e98..4a1f34137 100644 --- a/sdk/logical/identity.proto +++ b/sdk/logical/identity.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; option go_package = "github.com/hashicorp/vault/sdk/logical"; diff --git a/sdk/logical/lease.go b/sdk/logical/lease.go index 97bbe4f65..e00fb52d6 100644 --- a/sdk/logical/lease.go +++ b/sdk/logical/lease.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import ( diff --git a/sdk/logical/lease_test.go b/sdk/logical/lease_test.go index 050b7db8e..aee2bbdbc 100644 --- a/sdk/logical/lease_test.go +++ b/sdk/logical/lease_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import ( diff --git a/sdk/logical/logical.go b/sdk/logical/logical.go index 315d88929..209904e2f 100644 --- a/sdk/logical/logical.go +++ b/sdk/logical/logical.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import ( diff --git a/sdk/logical/logical_storage.go b/sdk/logical/logical_storage.go index 16b85cd79..b4fbc2b72 100644 --- a/sdk/logical/logical_storage.go +++ b/sdk/logical/logical_storage.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import ( diff --git a/sdk/logical/managed_key.go b/sdk/logical/managed_key.go index eaf4d107c..04727f9d7 100644 --- a/sdk/logical/managed_key.go +++ b/sdk/logical/managed_key.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import ( diff --git a/sdk/logical/plugin.pb.go b/sdk/logical/plugin.pb.go index 5221478de..19b18d89e 100644 --- a/sdk/logical/plugin.pb.go +++ b/sdk/logical/plugin.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 diff --git a/sdk/logical/plugin.proto b/sdk/logical/plugin.proto index f2df6c75d..0eaa3c57c 100644 --- a/sdk/logical/plugin.proto +++ b/sdk/logical/plugin.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; option go_package = "github.com/hashicorp/vault/sdk/logical"; diff --git a/sdk/logical/request.go b/sdk/logical/request.go index d774fd176..c50b7a031 100644 --- a/sdk/logical/request.go +++ b/sdk/logical/request.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import ( diff --git a/sdk/logical/response.go b/sdk/logical/response.go index 7e2a65406..9ea5bf6c5 100644 --- a/sdk/logical/response.go +++ b/sdk/logical/response.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import ( diff --git a/sdk/logical/response_util.go b/sdk/logical/response_util.go index 4a9f61d56..42529eb78 100644 --- a/sdk/logical/response_util.go +++ b/sdk/logical/response_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import ( diff --git a/sdk/logical/response_util_test.go b/sdk/logical/response_util_test.go index 00d70a5c4..d430b961e 100644 --- a/sdk/logical/response_util_test.go +++ b/sdk/logical/response_util_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import ( diff --git a/sdk/logical/secret.go b/sdk/logical/secret.go index a2128d868..e6b4d14d4 100644 --- a/sdk/logical/secret.go +++ b/sdk/logical/secret.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import "fmt" diff --git a/sdk/logical/storage.go b/sdk/logical/storage.go index 062c3adb5..16ba60b94 100644 --- a/sdk/logical/storage.go +++ b/sdk/logical/storage.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import ( diff --git a/sdk/logical/storage_inmem.go b/sdk/logical/storage_inmem.go index 65368a070..62ec58290 100644 --- a/sdk/logical/storage_inmem.go +++ b/sdk/logical/storage_inmem.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import ( diff --git a/sdk/logical/storage_inmem_test.go b/sdk/logical/storage_inmem_test.go index 8e0964fd4..2ed776b20 100644 --- a/sdk/logical/storage_inmem_test.go +++ b/sdk/logical/storage_inmem_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import ( diff --git a/sdk/logical/storage_test.go b/sdk/logical/storage_test.go index 3b96b4dbe..1d6014dd9 100644 --- a/sdk/logical/storage_test.go +++ b/sdk/logical/storage_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import ( diff --git a/sdk/logical/storage_view.go b/sdk/logical/storage_view.go index 2cd07715c..df40dca4f 100644 --- a/sdk/logical/storage_view.go +++ b/sdk/logical/storage_view.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import ( diff --git a/sdk/logical/system_view.go b/sdk/logical/system_view.go index 6a70e06c8..7301c752a 100644 --- a/sdk/logical/system_view.go +++ b/sdk/logical/system_view.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import ( diff --git a/sdk/logical/testing.go b/sdk/logical/testing.go index 8cb41e2e7..a173c7c5f 100644 --- a/sdk/logical/testing.go +++ b/sdk/logical/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import ( diff --git a/sdk/logical/token.go b/sdk/logical/token.go index ebebd4ad9..a27a73a22 100644 --- a/sdk/logical/token.go +++ b/sdk/logical/token.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import ( diff --git a/sdk/logical/token_test.go b/sdk/logical/token_test.go index e44c707a5..641d688b9 100644 --- a/sdk/logical/token_test.go +++ b/sdk/logical/token_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import ( diff --git a/sdk/logical/translate_response.go b/sdk/logical/translate_response.go index de5ea8fdb..ef5ba5f22 100644 --- a/sdk/logical/translate_response.go +++ b/sdk/logical/translate_response.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logical import ( diff --git a/sdk/logical/version.pb.go b/sdk/logical/version.pb.go index 613e80e24..9962824cb 100644 --- a/sdk/logical/version.pb.go +++ b/sdk/logical/version.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 diff --git a/sdk/logical/version.proto b/sdk/logical/version.proto index 345051ae9..860ddc54e 100644 --- a/sdk/logical/version.proto +++ b/sdk/logical/version.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package logical; diff --git a/sdk/physical/cache.go b/sdk/physical/cache.go index af40f5385..cc318a4c0 100644 --- a/sdk/physical/cache.go +++ b/sdk/physical/cache.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package physical import ( diff --git a/sdk/physical/encoding.go b/sdk/physical/encoding.go index dbde84cc6..49e00ae6a 100644 --- a/sdk/physical/encoding.go +++ b/sdk/physical/encoding.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package physical import ( diff --git a/sdk/physical/entry.go b/sdk/physical/entry.go index 389fe6c81..1d907425d 100644 --- a/sdk/physical/entry.go +++ b/sdk/physical/entry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package physical import ( diff --git a/sdk/physical/error.go b/sdk/physical/error.go index b547e4e42..4af7b7d63 100644 --- a/sdk/physical/error.go +++ b/sdk/physical/error.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package physical import ( diff --git a/sdk/physical/file/file.go b/sdk/physical/file/file.go index e5e64e6ef..d7ad9de3a 100644 --- a/sdk/physical/file/file.go +++ b/sdk/physical/file/file.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package file import ( diff --git a/sdk/physical/file/file_test.go b/sdk/physical/file/file_test.go index 724b8a012..14c33094d 100644 --- a/sdk/physical/file/file_test.go +++ b/sdk/physical/file/file_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package file import ( diff --git a/sdk/physical/inmem/cache_test.go b/sdk/physical/inmem/cache_test.go index e6e6dabfe..3014fc176 100644 --- a/sdk/physical/inmem/cache_test.go +++ b/sdk/physical/inmem/cache_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package inmem import ( diff --git a/sdk/physical/inmem/inmem.go b/sdk/physical/inmem/inmem.go index be16b4caa..e4fa1f69b 100644 --- a/sdk/physical/inmem/inmem.go +++ b/sdk/physical/inmem/inmem.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package inmem import ( diff --git a/sdk/physical/inmem/inmem_ha.go b/sdk/physical/inmem/inmem_ha.go index 64fcb3a66..1db26ca74 100644 --- a/sdk/physical/inmem/inmem_ha.go +++ b/sdk/physical/inmem/inmem_ha.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package inmem import ( diff --git a/sdk/physical/inmem/inmem_ha_test.go b/sdk/physical/inmem/inmem_ha_test.go index 850d63a23..bb427a385 100644 --- a/sdk/physical/inmem/inmem_ha_test.go +++ b/sdk/physical/inmem/inmem_ha_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package inmem import ( diff --git a/sdk/physical/inmem/inmem_test.go b/sdk/physical/inmem/inmem_test.go index 678061326..56c029a43 100644 --- a/sdk/physical/inmem/inmem_test.go +++ b/sdk/physical/inmem/inmem_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package inmem import ( diff --git a/sdk/physical/inmem/physical_view_test.go b/sdk/physical/inmem/physical_view_test.go index ea4a3ce24..24b47d7ae 100644 --- a/sdk/physical/inmem/physical_view_test.go +++ b/sdk/physical/inmem/physical_view_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package inmem import ( diff --git a/sdk/physical/inmem/transactions_test.go b/sdk/physical/inmem/transactions_test.go index 7ed3d5949..71a4829f9 100644 --- a/sdk/physical/inmem/transactions_test.go +++ b/sdk/physical/inmem/transactions_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package inmem import ( diff --git a/sdk/physical/latency.go b/sdk/physical/latency.go index 18b2c4c14..82c4052d0 100644 --- a/sdk/physical/latency.go +++ b/sdk/physical/latency.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package physical import ( diff --git a/sdk/physical/physical.go b/sdk/physical/physical.go index 808abd50f..c0e7d2ef8 100644 --- a/sdk/physical/physical.go +++ b/sdk/physical/physical.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package physical import ( diff --git a/sdk/physical/physical_access.go b/sdk/physical/physical_access.go index 7497313af..048ee8385 100644 --- a/sdk/physical/physical_access.go +++ b/sdk/physical/physical_access.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package physical import ( diff --git a/sdk/physical/physical_view.go b/sdk/physical/physical_view.go index 189ac9317..0369e1377 100644 --- a/sdk/physical/physical_view.go +++ b/sdk/physical/physical_view.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package physical import ( diff --git a/sdk/physical/testing.go b/sdk/physical/testing.go index 6e0ddfcc0..0c6a021d3 100644 --- a/sdk/physical/testing.go +++ b/sdk/physical/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package physical import ( diff --git a/sdk/physical/transactions.go b/sdk/physical/transactions.go index a943c6bd9..8d4e33321 100644 --- a/sdk/physical/transactions.go +++ b/sdk/physical/transactions.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package physical import ( diff --git a/sdk/plugin/backend.go b/sdk/plugin/backend.go index 46e3710fd..2da1378ea 100644 --- a/sdk/plugin/backend.go +++ b/sdk/plugin/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/sdk/plugin/grpc_backend.go b/sdk/plugin/grpc_backend.go index a65eeebeb..f0114b946 100644 --- a/sdk/plugin/grpc_backend.go +++ b/sdk/plugin/grpc_backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/sdk/plugin/grpc_backend_client.go b/sdk/plugin/grpc_backend_client.go index 5d2d52812..a343356d1 100644 --- a/sdk/plugin/grpc_backend_client.go +++ b/sdk/plugin/grpc_backend_client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/sdk/plugin/grpc_backend_server.go b/sdk/plugin/grpc_backend_server.go index 267e84c96..3356e463c 100644 --- a/sdk/plugin/grpc_backend_server.go +++ b/sdk/plugin/grpc_backend_server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/sdk/plugin/grpc_backend_test.go b/sdk/plugin/grpc_backend_test.go index 2f665beb0..01a6ea609 100644 --- a/sdk/plugin/grpc_backend_test.go +++ b/sdk/plugin/grpc_backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/sdk/plugin/grpc_events.go b/sdk/plugin/grpc_events.go index 14fad9491..8f08e230d 100644 --- a/sdk/plugin/grpc_events.go +++ b/sdk/plugin/grpc_events.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/sdk/plugin/grpc_storage.go b/sdk/plugin/grpc_storage.go index 6a04b3a97..5c2f0de3f 100644 --- a/sdk/plugin/grpc_storage.go +++ b/sdk/plugin/grpc_storage.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/sdk/plugin/grpc_system.go b/sdk/plugin/grpc_system.go index ede025583..bf4537bd5 100644 --- a/sdk/plugin/grpc_system.go +++ b/sdk/plugin/grpc_system.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/sdk/plugin/grpc_system_test.go b/sdk/plugin/grpc_system_test.go index 7a282608a..19a5ecbaa 100644 --- a/sdk/plugin/grpc_system_test.go +++ b/sdk/plugin/grpc_system_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/sdk/plugin/logger.go b/sdk/plugin/logger.go index ecf6ed01f..1ef4694e9 100644 --- a/sdk/plugin/logger.go +++ b/sdk/plugin/logger.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import hclog "github.com/hashicorp/go-hclog" diff --git a/sdk/plugin/logger_test.go b/sdk/plugin/logger_test.go index a2b8a8015..c47a70b1c 100644 --- a/sdk/plugin/logger_test.go +++ b/sdk/plugin/logger_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/sdk/plugin/middleware.go b/sdk/plugin/middleware.go index 546584ccc..4411c7882 100644 --- a/sdk/plugin/middleware.go +++ b/sdk/plugin/middleware.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/sdk/plugin/mock/backend.go b/sdk/plugin/mock/backend.go index a75b639ef..9b3aa2c85 100644 --- a/sdk/plugin/mock/backend.go +++ b/sdk/plugin/mock/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mock import ( diff --git a/sdk/plugin/mock/backend_test.go b/sdk/plugin/mock/backend_test.go index 15860906d..640eec116 100644 --- a/sdk/plugin/mock/backend_test.go +++ b/sdk/plugin/mock/backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mock import ( diff --git a/sdk/plugin/mock/path_errors.go b/sdk/plugin/mock/path_errors.go index 05ef474a7..f5e5b124f 100644 --- a/sdk/plugin/mock/path_errors.go +++ b/sdk/plugin/mock/path_errors.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mock import ( diff --git a/sdk/plugin/mock/path_internal.go b/sdk/plugin/mock/path_internal.go index 26ede270f..30c2926f5 100644 --- a/sdk/plugin/mock/path_internal.go +++ b/sdk/plugin/mock/path_internal.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mock import ( diff --git a/sdk/plugin/mock/path_kv.go b/sdk/plugin/mock/path_kv.go index 1946b5762..fd8080572 100644 --- a/sdk/plugin/mock/path_kv.go +++ b/sdk/plugin/mock/path_kv.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mock import ( diff --git a/sdk/plugin/mock/path_raw.go b/sdk/plugin/mock/path_raw.go index 55cb7c937..2a4b77fb7 100644 --- a/sdk/plugin/mock/path_raw.go +++ b/sdk/plugin/mock/path_raw.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mock import ( diff --git a/sdk/plugin/mock/path_special.go b/sdk/plugin/mock/path_special.go index 22afa41c6..4223f9105 100644 --- a/sdk/plugin/mock/path_special.go +++ b/sdk/plugin/mock/path_special.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mock import ( diff --git a/sdk/plugin/pb/backend.pb.go b/sdk/plugin/pb/backend.pb.go index b59c2f25e..82bbae2fd 100644 --- a/sdk/plugin/pb/backend.pb.go +++ b/sdk/plugin/pb/backend.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 diff --git a/sdk/plugin/pb/backend.proto b/sdk/plugin/pb/backend.proto index 80a3647ba..ded407788 100644 --- a/sdk/plugin/pb/backend.proto +++ b/sdk/plugin/pb/backend.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package pb; diff --git a/sdk/plugin/pb/translation.go b/sdk/plugin/pb/translation.go index 70bd35a16..92ca9af24 100644 --- a/sdk/plugin/pb/translation.go +++ b/sdk/plugin/pb/translation.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pb import ( diff --git a/sdk/plugin/pb/translation_test.go b/sdk/plugin/pb/translation_test.go index 83cad401e..30979257a 100644 --- a/sdk/plugin/pb/translation_test.go +++ b/sdk/plugin/pb/translation_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pb import ( diff --git a/sdk/plugin/plugin.go b/sdk/plugin/plugin.go index edbffcd69..c8848fb57 100644 --- a/sdk/plugin/plugin.go +++ b/sdk/plugin/plugin.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/sdk/plugin/plugin_v5.go b/sdk/plugin/plugin_v5.go index 2adf020a4..d87996c74 100644 --- a/sdk/plugin/plugin_v5.go +++ b/sdk/plugin/plugin_v5.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/sdk/plugin/serve.go b/sdk/plugin/serve.go index 0da143f76..9ad2b820b 100644 --- a/sdk/plugin/serve.go +++ b/sdk/plugin/serve.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/sdk/plugin/storage_test.go b/sdk/plugin/storage_test.go index 651d36199..61a5deec6 100644 --- a/sdk/plugin/storage_test.go +++ b/sdk/plugin/storage_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/sdk/queue/priority_queue.go b/sdk/queue/priority_queue.go index 399484177..802a53858 100644 --- a/sdk/queue/priority_queue.go +++ b/sdk/queue/priority_queue.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package queue provides Vault plugins with a Priority Queue. It can be used // as an in-memory list of queue.Item sorted by their priority, and offers // methods to find or remove items by their key. Internally it uses diff --git a/sdk/queue/priority_queue_test.go b/sdk/queue/priority_queue_test.go index 928442b52..108a26cc0 100644 --- a/sdk/queue/priority_queue_test.go +++ b/sdk/queue/priority_queue_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package queue import ( diff --git a/serviceregistration/consul/consul_service_registration.go b/serviceregistration/consul/consul_service_registration.go index 79008967a..a49ab4ff6 100644 --- a/serviceregistration/consul/consul_service_registration.go +++ b/serviceregistration/consul/consul_service_registration.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/serviceregistration/consul/consul_service_registration_test.go b/serviceregistration/consul/consul_service_registration_test.go index 21b2b2573..0ced651e0 100644 --- a/serviceregistration/consul/consul_service_registration_test.go +++ b/serviceregistration/consul/consul_service_registration_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package consul import ( diff --git a/serviceregistration/kubernetes/client/client.go b/serviceregistration/kubernetes/client/client.go index 934d3bad9..96d195272 100644 --- a/serviceregistration/kubernetes/client/client.go +++ b/serviceregistration/kubernetes/client/client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package client import ( diff --git a/serviceregistration/kubernetes/client/client_test.go b/serviceregistration/kubernetes/client/client_test.go index 9f0dfad6e..de11dad37 100644 --- a/serviceregistration/kubernetes/client/client_test.go +++ b/serviceregistration/kubernetes/client/client_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package client import ( diff --git a/serviceregistration/kubernetes/client/cmd/kubeclient/main.go b/serviceregistration/kubernetes/client/cmd/kubeclient/main.go index 9eb031a36..7060a063e 100644 --- a/serviceregistration/kubernetes/client/cmd/kubeclient/main.go +++ b/serviceregistration/kubernetes/client/cmd/kubeclient/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main // This code builds a minimal binary of the lightweight kubernetes diff --git a/serviceregistration/kubernetes/client/config.go b/serviceregistration/kubernetes/client/config.go index 4e6a0f458..be98240e2 100644 --- a/serviceregistration/kubernetes/client/config.go +++ b/serviceregistration/kubernetes/client/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package client import ( diff --git a/serviceregistration/kubernetes/retry_handler.go b/serviceregistration/kubernetes/retry_handler.go index 68afa8cdc..46ac18eaf 100644 --- a/serviceregistration/kubernetes/retry_handler.go +++ b/serviceregistration/kubernetes/retry_handler.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kubernetes import ( diff --git a/serviceregistration/kubernetes/retry_handler_test.go b/serviceregistration/kubernetes/retry_handler_test.go index e2be809d0..0dd611139 100644 --- a/serviceregistration/kubernetes/retry_handler_test.go +++ b/serviceregistration/kubernetes/retry_handler_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kubernetes import ( diff --git a/serviceregistration/kubernetes/service_registration.go b/serviceregistration/kubernetes/service_registration.go index f1c9a3c8c..f377cbb98 100644 --- a/serviceregistration/kubernetes/service_registration.go +++ b/serviceregistration/kubernetes/service_registration.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kubernetes import ( diff --git a/serviceregistration/kubernetes/service_registration_test.go b/serviceregistration/kubernetes/service_registration_test.go index a1bf001f1..a6a93c9ce 100644 --- a/serviceregistration/kubernetes/service_registration_test.go +++ b/serviceregistration/kubernetes/service_registration_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kubernetes import ( diff --git a/serviceregistration/kubernetes/testing/testserver.go b/serviceregistration/kubernetes/testing/testserver.go index 4f406eb68..6ceb94018 100644 --- a/serviceregistration/kubernetes/testing/testserver.go +++ b/serviceregistration/kubernetes/testing/testserver.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testing import ( diff --git a/serviceregistration/service_registration.go b/serviceregistration/service_registration.go index 5dc67af2b..79f5b20d1 100644 --- a/serviceregistration/service_registration.go +++ b/serviceregistration/service_registration.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package serviceregistration /* diff --git a/shamir/shamir.go b/shamir/shamir.go index 22e3c337d..d9c0271a7 100644 --- a/shamir/shamir.go +++ b/shamir/shamir.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package shamir import ( diff --git a/shamir/shamir_test.go b/shamir/shamir_test.go index 90a7c371c..940a34ecf 100644 --- a/shamir/shamir_test.go +++ b/shamir/shamir_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package shamir import ( diff --git a/tools/godoctests/main.go b/tools/godoctests/main.go index 3eba55670..caa6ca0b9 100644 --- a/tools/godoctests/main.go +++ b/tools/godoctests/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/tools/godoctests/pkg/analyzer/analyzer.go b/tools/godoctests/pkg/analyzer/analyzer.go index 8903f5ea5..38ed37d93 100644 --- a/tools/godoctests/pkg/analyzer/analyzer.go +++ b/tools/godoctests/pkg/analyzer/analyzer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package analyzer import ( diff --git a/tools/godoctests/pkg/analyzer/analyzer_test.go b/tools/godoctests/pkg/analyzer/analyzer_test.go index d7c80f2df..df1bfafd4 100644 --- a/tools/godoctests/pkg/analyzer/analyzer_test.go +++ b/tools/godoctests/pkg/analyzer/analyzer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package analyzer import ( diff --git a/tools/godoctests/pkg/analyzer/testdata/funcs.go b/tools/godoctests/pkg/analyzer/testdata/funcs.go index e6f7deab1..e9d5fead6 100644 --- a/tools/godoctests/pkg/analyzer/testdata/funcs.go +++ b/tools/godoctests/pkg/analyzer/testdata/funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testdata import "testing" diff --git a/tools/semgrep/ci/atomic.yml b/tools/semgrep/ci/atomic.yml index 2fea38bd7..1d6b2a9da 100644 --- a/tools/semgrep/ci/atomic.yml +++ b/tools/semgrep/ci/atomic.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: atomics-64bit-safety patterns: diff --git a/tools/semgrep/ci/bad-multierror-append.yml b/tools/semgrep/ci/bad-multierror-append.yml index 86b637577..bebb20013 100644 --- a/tools/semgrep/ci/bad-multierror-append.yml +++ b/tools/semgrep/ci/bad-multierror-append.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: bad-multierror-append patterns: diff --git a/tools/semgrep/ci/bad-nil-guard.yml b/tools/semgrep/ci/bad-nil-guard.yml index f5fd122e8..70003690f 100644 --- a/tools/semgrep/ci/bad-nil-guard.yml +++ b/tools/semgrep/ci/bad-nil-guard.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: bad-nil-guard patterns: diff --git a/tools/semgrep/ci/error-shadowing.yml b/tools/semgrep/ci/error-shadowing.yml index 8362df5f7..43ea1a3eb 100644 --- a/tools/semgrep/ci/error-shadowing.yml +++ b/tools/semgrep/ci/error-shadowing.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: error-shadow-check-types patterns: diff --git a/tools/semgrep/ci/fmt-printf.yml b/tools/semgrep/ci/fmt-printf.yml index 18777cabe..fc6e82444 100644 --- a/tools/semgrep/ci/fmt-printf.yml +++ b/tools/semgrep/ci/fmt-printf.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: fmt.Printf languages: [go] diff --git a/tools/semgrep/ci/hashsum.yml b/tools/semgrep/ci/hashsum.yml index 47dfc02a9..82765a12a 100644 --- a/tools/semgrep/ci/hashsum.yml +++ b/tools/semgrep/ci/hashsum.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: hash-sum-without-write patterns: diff --git a/tools/semgrep/ci/hmac-bytes.yml b/tools/semgrep/ci/hmac-bytes.yml index 629a8fe6c..d8da27706 100644 --- a/tools/semgrep/ci/hmac-bytes.yml +++ b/tools/semgrep/ci/hmac-bytes.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: use-hmac-equal patterns: diff --git a/tools/semgrep/ci/hmac-hash.yml b/tools/semgrep/ci/hmac-hash.yml index 625d271c1..2b03883c4 100644 --- a/tools/semgrep/ci/hmac-hash.yml +++ b/tools/semgrep/ci/hmac-hash.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: hmac-needs-new patterns: diff --git a/tools/semgrep/ci/logger-format-string.yml b/tools/semgrep/ci/logger-format-string.yml index bb1b83e20..14cb6cd42 100644 --- a/tools/semgrep/ci/logger-format-string.yml +++ b/tools/semgrep/ci/logger-format-string.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: logger-used-with-format-string patterns: diff --git a/tools/semgrep/ci/loop-time-after.yml b/tools/semgrep/ci/loop-time-after.yml index 08586bb6b..e3a5183a1 100644 --- a/tools/semgrep/ci/loop-time-after.yml +++ b/tools/semgrep/ci/loop-time-after.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: loop-time-after pattern: | diff --git a/tools/semgrep/ci/loopclosure.yml b/tools/semgrep/ci/loopclosure.yml index 967376127..88ab134c5 100644 --- a/tools/semgrep/ci/loopclosure.yml +++ b/tools/semgrep/ci/loopclosure.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: loopclosure patterns: diff --git a/tools/semgrep/ci/no-nil-check.yml b/tools/semgrep/ci/no-nil-check.yml index c39bbb542..0b1f1ce37 100644 --- a/tools/semgrep/ci/no-nil-check.yml +++ b/tools/semgrep/ci/no-nil-check.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: nil-check-logical-storage patterns: diff --git a/tools/semgrep/ci/oddifsequence.yml b/tools/semgrep/ci/oddifsequence.yml index bee36d06f..77b71b6a2 100644 --- a/tools/semgrep/ci/oddifsequence.yml +++ b/tools/semgrep/ci/oddifsequence.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: odd-sequence-ifs patterns: diff --git a/tools/semgrep/ci/return-nil-error.yml b/tools/semgrep/ci/return-nil-error.yml index 0b6f7f677..a91e4eaec 100644 --- a/tools/semgrep/ci/return-nil-error.yml +++ b/tools/semgrep/ci/return-nil-error.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: return-nil patterns: diff --git a/tools/semgrep/ci/return-nil.yml b/tools/semgrep/ci/return-nil.yml index 18910c4a5..2a6447cef 100644 --- a/tools/semgrep/ci/return-nil.yml +++ b/tools/semgrep/ci/return-nil.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: hc-return-nil patterns: diff --git a/tools/semgrep/ci/wrongerrcall.yml b/tools/semgrep/ci/wrongerrcall.yml index 5a1a4d37a..315e26d5f 100644 --- a/tools/semgrep/ci/wrongerrcall.yml +++ b/tools/semgrep/ci/wrongerrcall.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: maybe-wrong-err patterns: diff --git a/tools/semgrep/ci/wronglock.yml b/tools/semgrep/ci/wronglock.yml index 5f8422ce4..126a5446a 100644 --- a/tools/semgrep/ci/wronglock.yml +++ b/tools/semgrep/ci/wronglock.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: wrong-lock-unlock patterns: diff --git a/tools/semgrep/hostport.yml b/tools/semgrep/hostport.yml index c47510e88..28613ecd9 100644 --- a/tools/semgrep/hostport.yml +++ b/tools/semgrep/hostport.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # https://github.com/golang/go/issues/28308, from @stapelberg rules: - id: sprintf-host-port diff --git a/tools/semgrep/joinpath.yml b/tools/semgrep/joinpath.yml index 173aba0ab..ec27127bf 100644 --- a/tools/semgrep/joinpath.yml +++ b/tools/semgrep/joinpath.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: use-strings-join-path patterns: diff --git a/tools/semgrep/lock-not-unlocked-on-return.yml b/tools/semgrep/lock-not-unlocked-on-return.yml index 2d097f1aa..6482b7194 100644 --- a/tools/semgrep/lock-not-unlocked-on-return.yml +++ b/tools/semgrep/lock-not-unlocked-on-return.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: lock_not_unlocked message: | diff --git a/tools/semgrep/logger-sprintf.yml b/tools/semgrep/logger-sprintf.yml index 3f58ba18b..7d2f48bcd 100644 --- a/tools/semgrep/logger-sprintf.yml +++ b/tools/semgrep/logger-sprintf.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: logger-used-with-sprintf patterns: diff --git a/tools/semgrep/paths-with-callbacks-and-operations.yml b/tools/semgrep/paths-with-callbacks-and-operations.yml index 08e9c1ec1..e29cbab65 100644 --- a/tools/semgrep/paths-with-callbacks-and-operations.yml +++ b/tools/semgrep/paths-with-callbacks-and-operations.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: path-has-both-callbacks-and-operations patterns: diff --git a/tools/semgrep/paths-with-callbacks.yml b/tools/semgrep/paths-with-callbacks.yml index 3a122cc6d..9049a1d37 100644 --- a/tools/semgrep/paths-with-callbacks.yml +++ b/tools/semgrep/paths-with-callbacks.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: uses-path-callbacks patterns: diff --git a/tools/semgrep/physical-storage.yml b/tools/semgrep/physical-storage.yml index 970c77693..e7e978cc7 100644 --- a/tools/semgrep/physical-storage.yml +++ b/tools/semgrep/physical-storage.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: physical-storage-bypass-encryption patterns: diff --git a/tools/semgrep/replication-has-state.yml b/tools/semgrep/replication-has-state.yml index 416a59e6a..7868e3280 100644 --- a/tools/semgrep/replication-has-state.yml +++ b/tools/semgrep/replication-has-state.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: replication-state-should-use-IsPerfSecondary patterns: diff --git a/tools/semgrep/self-equals.yml b/tools/semgrep/self-equals.yml index 7cc5243f2..ae7c1ff8c 100644 --- a/tools/semgrep/self-equals.yml +++ b/tools/semgrep/self-equals.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + rules: - id: self-equals patterns: diff --git a/tools/tools.go b/tools/tools.go index 5f81033df..59a6d9625 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build tools // This file ensures tool dependencies are kept in sync. This is the diff --git a/ui/.eslintrc.js b/ui/.eslintrc.js index 79b54b4ee..bb4548319 100644 --- a/ui/.eslintrc.js +++ b/ui/.eslintrc.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-disable no-undef */ 'use strict'; diff --git a/ui/.github/workflows/ci.yml b/ui/.github/workflows/ci.yml index 6287d3264..ba4e3f710 100644 --- a/ui/.github/workflows/ci.yml +++ b/ui/.github/workflows/ci.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + name: CI on: diff --git a/ui/.prettierrc.js b/ui/.prettierrc.js index 8f507fd9b..8c776351a 100644 --- a/ui/.prettierrc.js +++ b/ui/.prettierrc.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + 'use strict'; module.exports = { diff --git a/ui/.template-lintrc.js b/ui/.template-lintrc.js index e4e51b09a..354052189 100644 --- a/ui/.template-lintrc.js +++ b/ui/.template-lintrc.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + 'use strict'; const fs = require('fs'); diff --git a/ui/.yarn/releases/yarn-1.19.1.js b/ui/.yarn/releases/yarn-1.19.1.js index 3907b8732..f848ec523 100755 --- a/ui/.yarn/releases/yarn-1.19.1.js +++ b/ui/.yarn/releases/yarn-1.19.1.js @@ -1,4 +1,9 @@ #!/usr/bin/env node +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache diff --git a/ui/.yarn/releases/yarn-1.22.19.js b/ui/.yarn/releases/yarn-1.22.19.js index 9632b8c94..273fa956d 100755 --- a/ui/.yarn/releases/yarn-1.22.19.js +++ b/ui/.yarn/releases/yarn-1.22.19.js @@ -1,4 +1,9 @@ #!/usr/bin/env node +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + module.exports = /******/ (function (modules) { // webpackBootstrap /******/ // The module cache diff --git a/ui/app/adapters/application.js b/ui/app/adapters/application.js index fc12d067a..ae92adc6b 100644 --- a/ui/app/adapters/application.js +++ b/ui/app/adapters/application.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AdapterError from '@ember-data/adapter/error'; import RESTAdapter from '@ember-data/adapter/rest'; import { inject as service } from '@ember/service'; diff --git a/ui/app/adapters/auth-config/_base.js b/ui/app/adapters/auth-config/_base.js index f89dfb06b..e202647d7 100644 --- a/ui/app/adapters/auth-config/_base.js +++ b/ui/app/adapters/auth-config/_base.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from '../application'; export default ApplicationAdapter.extend({ diff --git a/ui/app/adapters/auth-config/aws/client.js b/ui/app/adapters/auth-config/aws/client.js index 6d61a851d..cb29038c9 100644 --- a/ui/app/adapters/auth-config/aws/client.js +++ b/ui/app/adapters/auth-config/aws/client.js @@ -1,2 +1,7 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AuthConfig from '../_base'; export default AuthConfig.extend(); diff --git a/ui/app/adapters/auth-config/aws/identity-accesslist.js b/ui/app/adapters/auth-config/aws/identity-accesslist.js index 6d61a851d..cb29038c9 100644 --- a/ui/app/adapters/auth-config/aws/identity-accesslist.js +++ b/ui/app/adapters/auth-config/aws/identity-accesslist.js @@ -1,2 +1,7 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AuthConfig from '../_base'; export default AuthConfig.extend(); diff --git a/ui/app/adapters/auth-config/aws/roletag-denylist.js b/ui/app/adapters/auth-config/aws/roletag-denylist.js index 6d61a851d..cb29038c9 100644 --- a/ui/app/adapters/auth-config/aws/roletag-denylist.js +++ b/ui/app/adapters/auth-config/aws/roletag-denylist.js @@ -1,2 +1,7 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AuthConfig from '../_base'; export default AuthConfig.extend(); diff --git a/ui/app/adapters/auth-config/azure.js b/ui/app/adapters/auth-config/azure.js index e43cb2ea8..542c43fd5 100644 --- a/ui/app/adapters/auth-config/azure.js +++ b/ui/app/adapters/auth-config/azure.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AuthConfig from './_base'; export default AuthConfig.extend(); diff --git a/ui/app/adapters/auth-config/gcp.js b/ui/app/adapters/auth-config/gcp.js index e43cb2ea8..542c43fd5 100644 --- a/ui/app/adapters/auth-config/gcp.js +++ b/ui/app/adapters/auth-config/gcp.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AuthConfig from './_base'; export default AuthConfig.extend(); diff --git a/ui/app/adapters/auth-config/github.js b/ui/app/adapters/auth-config/github.js index e43cb2ea8..542c43fd5 100644 --- a/ui/app/adapters/auth-config/github.js +++ b/ui/app/adapters/auth-config/github.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AuthConfig from './_base'; export default AuthConfig.extend(); diff --git a/ui/app/adapters/auth-config/jwt.js b/ui/app/adapters/auth-config/jwt.js index 21f5624ac..d01ba80b1 100644 --- a/ui/app/adapters/auth-config/jwt.js +++ b/ui/app/adapters/auth-config/jwt.js @@ -1,2 +1,7 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AuthConfig from './_base'; export default AuthConfig.extend(); diff --git a/ui/app/adapters/auth-config/kubernetes.js b/ui/app/adapters/auth-config/kubernetes.js index e43cb2ea8..542c43fd5 100644 --- a/ui/app/adapters/auth-config/kubernetes.js +++ b/ui/app/adapters/auth-config/kubernetes.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AuthConfig from './_base'; export default AuthConfig.extend(); diff --git a/ui/app/adapters/auth-config/ldap.js b/ui/app/adapters/auth-config/ldap.js index e43cb2ea8..542c43fd5 100644 --- a/ui/app/adapters/auth-config/ldap.js +++ b/ui/app/adapters/auth-config/ldap.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AuthConfig from './_base'; export default AuthConfig.extend(); diff --git a/ui/app/adapters/auth-config/oidc.js b/ui/app/adapters/auth-config/oidc.js index 21f5624ac..d01ba80b1 100644 --- a/ui/app/adapters/auth-config/oidc.js +++ b/ui/app/adapters/auth-config/oidc.js @@ -1,2 +1,7 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AuthConfig from './_base'; export default AuthConfig.extend(); diff --git a/ui/app/adapters/auth-config/okta.js b/ui/app/adapters/auth-config/okta.js index e43cb2ea8..542c43fd5 100644 --- a/ui/app/adapters/auth-config/okta.js +++ b/ui/app/adapters/auth-config/okta.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AuthConfig from './_base'; export default AuthConfig.extend(); diff --git a/ui/app/adapters/auth-config/radius.js b/ui/app/adapters/auth-config/radius.js index e43cb2ea8..542c43fd5 100644 --- a/ui/app/adapters/auth-config/radius.js +++ b/ui/app/adapters/auth-config/radius.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AuthConfig from './_base'; export default AuthConfig.extend(); diff --git a/ui/app/adapters/auth-method.js b/ui/app/adapters/auth-method.js index 2d722f577..ff73a8040 100644 --- a/ui/app/adapters/auth-method.js +++ b/ui/app/adapters/auth-method.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AdapterError from '@ember-data/adapter/error'; import { assign } from '@ember/polyfills'; import { set } from '@ember/object'; diff --git a/ui/app/adapters/aws-credential.js b/ui/app/adapters/aws-credential.js index 463411a1e..e0a2b87aa 100644 --- a/ui/app/adapters/aws-credential.js +++ b/ui/app/adapters/aws-credential.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from './application'; export default ApplicationAdapter.extend({ diff --git a/ui/app/adapters/capabilities.js b/ui/app/adapters/capabilities.js index 51144d0f8..b60055444 100644 --- a/ui/app/adapters/capabilities.js +++ b/ui/app/adapters/capabilities.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AdapterError from '@ember-data/adapter/error'; import { set } from '@ember/object'; import ApplicationAdapter from './application'; diff --git a/ui/app/adapters/clients/activity.js b/ui/app/adapters/clients/activity.js index f191a285a..6b68f470e 100644 --- a/ui/app/adapters/clients/activity.js +++ b/ui/app/adapters/clients/activity.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from '../application'; import { getUnixTime } from 'date-fns'; diff --git a/ui/app/adapters/clients/config.js b/ui/app/adapters/clients/config.js index d5594f56b..696d9f9b7 100644 --- a/ui/app/adapters/clients/config.js +++ b/ui/app/adapters/clients/config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Application from '../application'; export default Application.extend({ diff --git a/ui/app/adapters/clients/version-history.js b/ui/app/adapters/clients/version-history.js index 2387a8322..eab2f3257 100644 --- a/ui/app/adapters/clients/version-history.js +++ b/ui/app/adapters/clients/version-history.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from '../application'; export default class VersionHistoryAdapter extends ApplicationAdapter { diff --git a/ui/app/adapters/cluster.js b/ui/app/adapters/cluster.js index 79332d3ab..c750b6596 100644 --- a/ui/app/adapters/cluster.js +++ b/ui/app/adapters/cluster.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AdapterError from '@ember-data/adapter/error'; import { inject as service } from '@ember/service'; import { assign } from '@ember/polyfills'; diff --git a/ui/app/adapters/console.js b/ui/app/adapters/console.js index 473f2ce42..86b649283 100644 --- a/ui/app/adapters/console.js +++ b/ui/app/adapters/console.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from './application'; export default ApplicationAdapter.extend({ diff --git a/ui/app/adapters/control-group-config.js b/ui/app/adapters/control-group-config.js index 07150202c..0ea88dc7f 100644 --- a/ui/app/adapters/control-group-config.js +++ b/ui/app/adapters/control-group-config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from './application'; export default ApplicationAdapter.extend({ diff --git a/ui/app/adapters/control-group.js b/ui/app/adapters/control-group.js index 07cae1d73..33d47dd91 100644 --- a/ui/app/adapters/control-group.js +++ b/ui/app/adapters/control-group.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from './application'; export default ApplicationAdapter.extend({ diff --git a/ui/app/adapters/database/connection.js b/ui/app/adapters/database/connection.js index 1946cf6cf..602b038dd 100644 --- a/ui/app/adapters/database/connection.js +++ b/ui/app/adapters/database/connection.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from '../application'; export default ApplicationAdapter.extend({ diff --git a/ui/app/adapters/database/credential.js b/ui/app/adapters/database/credential.js index b3652c2ff..516e0d431 100644 --- a/ui/app/adapters/database/credential.js +++ b/ui/app/adapters/database/credential.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { allSettled } from 'rsvp'; import ApplicationAdapter from '../application'; import ControlGroupError from 'vault/lib/control-group-error'; diff --git a/ui/app/adapters/database/role.js b/ui/app/adapters/database/role.js index a95efb802..aa868147b 100644 --- a/ui/app/adapters/database/role.js +++ b/ui/app/adapters/database/role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { assign } from '@ember/polyfills'; import { assert } from '@ember/debug'; import ControlGroupError from 'vault/lib/control-group-error'; diff --git a/ui/app/adapters/generated-item-list.js b/ui/app/adapters/generated-item-list.js index 472d582c9..6cddea355 100644 --- a/ui/app/adapters/generated-item-list.js +++ b/ui/app/adapters/generated-item-list.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { assign } from '@ember/polyfills'; import ApplicationAdapter from './application'; import { task } from 'ember-concurrency'; diff --git a/ui/app/adapters/identity/base.js b/ui/app/adapters/identity/base.js index 6a6ed9fd2..2e4a86461 100644 --- a/ui/app/adapters/identity/base.js +++ b/ui/app/adapters/identity/base.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapater from '../application'; export default ApplicationAdapater.extend({ diff --git a/ui/app/adapters/identity/entity-alias.js b/ui/app/adapters/identity/entity-alias.js index 5f9b19fc1..acc9d064c 100644 --- a/ui/app/adapters/identity/entity-alias.js +++ b/ui/app/adapters/identity/entity-alias.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import IdentityAdapter from './base'; export default IdentityAdapter.extend(); diff --git a/ui/app/adapters/identity/entity-merge.js b/ui/app/adapters/identity/entity-merge.js index 9705bc7b3..8a0a43fba 100644 --- a/ui/app/adapters/identity/entity-merge.js +++ b/ui/app/adapters/identity/entity-merge.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import IdentityAdapter from './base'; export default IdentityAdapter.extend({ diff --git a/ui/app/adapters/identity/entity.js b/ui/app/adapters/identity/entity.js index 1686a69dd..d8e38d7c4 100644 --- a/ui/app/adapters/identity/entity.js +++ b/ui/app/adapters/identity/entity.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import IdentityAdapter from './base'; export default IdentityAdapter.extend({ diff --git a/ui/app/adapters/identity/group-alias.js b/ui/app/adapters/identity/group-alias.js index 5f9b19fc1..acc9d064c 100644 --- a/ui/app/adapters/identity/group-alias.js +++ b/ui/app/adapters/identity/group-alias.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import IdentityAdapter from './base'; export default IdentityAdapter.extend(); diff --git a/ui/app/adapters/identity/group.js b/ui/app/adapters/identity/group.js index 791079419..2c7c4406b 100644 --- a/ui/app/adapters/identity/group.js +++ b/ui/app/adapters/identity/group.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import IdentityAdapter from './base'; export default IdentityAdapter.extend({ diff --git a/ui/app/adapters/keymgmt/key.js b/ui/app/adapters/keymgmt/key.js index 17f0283d2..9c5585db4 100644 --- a/ui/app/adapters/keymgmt/key.js +++ b/ui/app/adapters/keymgmt/key.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from '../application'; import { encodePath } from 'vault/utils/path-encoding-helpers'; import ControlGroupError from '../../lib/control-group-error'; diff --git a/ui/app/adapters/keymgmt/provider.js b/ui/app/adapters/keymgmt/provider.js index 3612e8a01..8d64be6a3 100644 --- a/ui/app/adapters/keymgmt/provider.js +++ b/ui/app/adapters/keymgmt/provider.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from '../application'; import { all } from 'rsvp'; diff --git a/ui/app/adapters/kmip/base.js b/ui/app/adapters/kmip/base.js index d413219aa..be9b0d478 100644 --- a/ui/app/adapters/kmip/base.js +++ b/ui/app/adapters/kmip/base.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from '../application'; import { encodePath } from 'vault/utils/path-encoding-helpers'; diff --git a/ui/app/adapters/kmip/ca.js b/ui/app/adapters/kmip/ca.js index ee8c7473e..bb88a125b 100644 --- a/ui/app/adapters/kmip/ca.js +++ b/ui/app/adapters/kmip/ca.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import BaseAdapter from './base'; export default BaseAdapter.extend({ diff --git a/ui/app/adapters/kmip/config.js b/ui/app/adapters/kmip/config.js index 8f4452e51..34f177db8 100644 --- a/ui/app/adapters/kmip/config.js +++ b/ui/app/adapters/kmip/config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import BaseAdapter from './base'; export default BaseAdapter.extend({ diff --git a/ui/app/adapters/kmip/credential.js b/ui/app/adapters/kmip/credential.js index 741aa3e90..a7f354602 100644 --- a/ui/app/adapters/kmip/credential.js +++ b/ui/app/adapters/kmip/credential.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import BaseAdapter from './base'; export default BaseAdapter.extend({ diff --git a/ui/app/adapters/kmip/role.js b/ui/app/adapters/kmip/role.js index 4f19aad46..f9c159585 100644 --- a/ui/app/adapters/kmip/role.js +++ b/ui/app/adapters/kmip/role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import BaseAdapter from './base'; import { decamelize } from '@ember/string'; import { getProperties } from '@ember/object'; diff --git a/ui/app/adapters/kmip/scope.js b/ui/app/adapters/kmip/scope.js index 96a6dcb9b..abd77c358 100644 --- a/ui/app/adapters/kmip/scope.js +++ b/ui/app/adapters/kmip/scope.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import BaseAdapter from './base'; export default BaseAdapter.extend({ diff --git a/ui/app/adapters/kubernetes/config.js b/ui/app/adapters/kubernetes/config.js index 9bf4585f9..d40dbed4b 100644 --- a/ui/app/adapters/kubernetes/config.js +++ b/ui/app/adapters/kubernetes/config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from 'vault/adapters/application'; import { encodePath } from 'vault/utils/path-encoding-helpers'; diff --git a/ui/app/adapters/kubernetes/role.js b/ui/app/adapters/kubernetes/role.js index 301ae6419..71673c391 100644 --- a/ui/app/adapters/kubernetes/role.js +++ b/ui/app/adapters/kubernetes/role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import NamedPathAdapter from 'vault/adapters/named-path'; import { encodePath } from 'vault/utils/path-encoding-helpers'; diff --git a/ui/app/adapters/lease.js b/ui/app/adapters/lease.js index 5311671fc..a1a59037a 100644 --- a/ui/app/adapters/lease.js +++ b/ui/app/adapters/lease.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from './application'; import { encodePath } from 'vault/utils/path-encoding-helpers'; diff --git a/ui/app/adapters/license.js b/ui/app/adapters/license.js index 6470f969c..12db6b084 100644 --- a/ui/app/adapters/license.js +++ b/ui/app/adapters/license.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ClusterAdapter from './cluster'; export default ClusterAdapter.extend({ diff --git a/ui/app/adapters/mfa-login-enforcement.js b/ui/app/adapters/mfa-login-enforcement.js index 5276df84c..8817d8d88 100644 --- a/ui/app/adapters/mfa-login-enforcement.js +++ b/ui/app/adapters/mfa-login-enforcement.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from './application'; export default class KeymgmtKeyAdapter extends ApplicationAdapter { diff --git a/ui/app/adapters/mfa-method.js b/ui/app/adapters/mfa-method.js index 87651dcb7..03bb988ff 100644 --- a/ui/app/adapters/mfa-method.js +++ b/ui/app/adapters/mfa-method.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from './application'; export default class MfaMethodAdapter extends ApplicationAdapter { diff --git a/ui/app/adapters/mfa-setup.js b/ui/app/adapters/mfa-setup.js index 5e39390c9..b94ecfaf8 100644 --- a/ui/app/adapters/mfa-setup.js +++ b/ui/app/adapters/mfa-setup.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from './application'; export default class MfaSetupAdapter extends ApplicationAdapter { diff --git a/ui/app/adapters/named-path.js b/ui/app/adapters/named-path.js index 63c93e5b8..421f02481 100644 --- a/ui/app/adapters/named-path.js +++ b/ui/app/adapters/named-path.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * base adapter for resources that are saved to a path whose unique identifier is name * save requests are made to the same endpoint and the resource is either created if not found or updated diff --git a/ui/app/adapters/namespace.js b/ui/app/adapters/namespace.js index ff8eff59b..64e1df530 100644 --- a/ui/app/adapters/namespace.js +++ b/ui/app/adapters/namespace.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from './application'; export default ApplicationAdapter.extend({ diff --git a/ui/app/adapters/node.js b/ui/app/adapters/node.js index c0a6b722e..545500bd1 100644 --- a/ui/app/adapters/node.js +++ b/ui/app/adapters/node.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from './application'; export default ApplicationAdapter.extend(); diff --git a/ui/app/adapters/oidc/assignment.js b/ui/app/adapters/oidc/assignment.js index 0c78f6492..ccb0aef1f 100644 --- a/ui/app/adapters/oidc/assignment.js +++ b/ui/app/adapters/oidc/assignment.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import NamedPathAdapter from '../named-path'; export default class OidcAssignmentAdapter extends NamedPathAdapter { diff --git a/ui/app/adapters/oidc/client.js b/ui/app/adapters/oidc/client.js index 3331b6d7e..6e9446af2 100644 --- a/ui/app/adapters/oidc/client.js +++ b/ui/app/adapters/oidc/client.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import NamedPathAdapter from '../named-path'; export default class OidcClientAdapter extends NamedPathAdapter { diff --git a/ui/app/adapters/oidc/key.js b/ui/app/adapters/oidc/key.js index 0b7561ed0..c559ff16a 100644 --- a/ui/app/adapters/oidc/key.js +++ b/ui/app/adapters/oidc/key.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import NamedPathAdapter from '../named-path'; export default class OidcKeyAdapter extends NamedPathAdapter { diff --git a/ui/app/adapters/oidc/provider.js b/ui/app/adapters/oidc/provider.js index 064e56968..1987b545a 100644 --- a/ui/app/adapters/oidc/provider.js +++ b/ui/app/adapters/oidc/provider.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import NamedPathAdapter from '../named-path'; export default class OidcProviderAdapter extends NamedPathAdapter { diff --git a/ui/app/adapters/oidc/scope.js b/ui/app/adapters/oidc/scope.js index af69799d8..8232fc77a 100644 --- a/ui/app/adapters/oidc/scope.js +++ b/ui/app/adapters/oidc/scope.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import NamedPathAdapter from '../named-path'; export default class OidcScopeAdapter extends NamedPathAdapter { diff --git a/ui/app/adapters/path-filter-config.js b/ui/app/adapters/path-filter-config.js index 8f703e40a..8cd89cff1 100644 --- a/ui/app/adapters/path-filter-config.js +++ b/ui/app/adapters/path-filter-config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from './application'; export default ApplicationAdapter.extend({ diff --git a/ui/app/adapters/permissions.js b/ui/app/adapters/permissions.js index c79a20737..930821dbd 100644 --- a/ui/app/adapters/permissions.js +++ b/ui/app/adapters/permissions.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from './application'; export default ApplicationAdapter.extend({ diff --git a/ui/app/adapters/pki-ca-certificate-sign.js b/ui/app/adapters/pki-ca-certificate-sign.js index fedb0b7d6..a26d40d2e 100644 --- a/ui/app/adapters/pki-ca-certificate-sign.js +++ b/ui/app/adapters/pki-ca-certificate-sign.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Adapter from './pki'; export default Adapter.extend({ diff --git a/ui/app/adapters/pki-ca-certificate.js b/ui/app/adapters/pki-ca-certificate.js index db681f644..4306019a9 100644 --- a/ui/app/adapters/pki-ca-certificate.js +++ b/ui/app/adapters/pki-ca-certificate.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { parsePkiCert } from 'vault/utils/parse-pki-cert'; import ApplicationAdapter from './application'; diff --git a/ui/app/adapters/pki-certificate-sign.js b/ui/app/adapters/pki-certificate-sign.js index 1acdbfb81..3a8976144 100644 --- a/ui/app/adapters/pki-certificate-sign.js +++ b/ui/app/adapters/pki-certificate-sign.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Adapter from './pki'; export default Adapter.extend({ diff --git a/ui/app/adapters/pki.js b/ui/app/adapters/pki.js index 1c4c348e2..60f858cf8 100644 --- a/ui/app/adapters/pki.js +++ b/ui/app/adapters/pki.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { assert } from '@ember/debug'; import ApplicationAdapter from './application'; diff --git a/ui/app/adapters/pki/action.js b/ui/app/adapters/pki/action.js index d54ef4341..5c99c7a95 100644 --- a/ui/app/adapters/pki/action.js +++ b/ui/app/adapters/pki/action.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { assert } from '@ember/debug'; import { encodePath } from 'vault/utils/path-encoding-helpers'; import ApplicationAdapter from '../application'; diff --git a/ui/app/adapters/pki/cert.js b/ui/app/adapters/pki/cert.js index ca80b9f7f..7175f4056 100644 --- a/ui/app/adapters/pki/cert.js +++ b/ui/app/adapters/pki/cert.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { assign } from '@ember/polyfills'; import Adapter from '../pki'; diff --git a/ui/app/adapters/pki/certificate/base.js b/ui/app/adapters/pki/certificate/base.js index b36bb1732..159b2abbf 100644 --- a/ui/app/adapters/pki/certificate/base.js +++ b/ui/app/adapters/pki/certificate/base.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { encodePath } from 'vault/utils/path-encoding-helpers'; import ApplicationAdapter from '../../application'; diff --git a/ui/app/adapters/pki/certificate/generate.js b/ui/app/adapters/pki/certificate/generate.js index 589d25347..db12c04ee 100644 --- a/ui/app/adapters/pki/certificate/generate.js +++ b/ui/app/adapters/pki/certificate/generate.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { encodePath } from 'vault/utils/path-encoding-helpers'; import PkiCertificateBaseAdapter from './base'; diff --git a/ui/app/adapters/pki/certificate/sign.js b/ui/app/adapters/pki/certificate/sign.js index de68dc815..595afde77 100644 --- a/ui/app/adapters/pki/certificate/sign.js +++ b/ui/app/adapters/pki/certificate/sign.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { encodePath } from 'vault/utils/path-encoding-helpers'; import PkiCertificateBaseAdapter from './base'; diff --git a/ui/app/adapters/pki/issuer.js b/ui/app/adapters/pki/issuer.js index f33253f3a..cc1d10fbf 100644 --- a/ui/app/adapters/pki/issuer.js +++ b/ui/app/adapters/pki/issuer.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from '../application'; import { encodePath } from 'vault/utils/path-encoding-helpers'; diff --git a/ui/app/adapters/pki/key.js b/ui/app/adapters/pki/key.js index a999a28cd..30e52a78b 100644 --- a/ui/app/adapters/pki/key.js +++ b/ui/app/adapters/pki/key.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from '../application'; import { encodePath } from 'vault/utils/path-encoding-helpers'; export default class PkiKeyAdapter extends ApplicationAdapter { diff --git a/ui/app/adapters/pki/pki-config.js b/ui/app/adapters/pki/pki-config.js index 203b1b0af..bfea1ccbe 100644 --- a/ui/app/adapters/pki/pki-config.js +++ b/ui/app/adapters/pki/pki-config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AdapterError from '@ember-data/adapter/error'; import { hash, resolve } from 'rsvp'; import { capitalize } from '@ember/string'; diff --git a/ui/app/adapters/pki/pki-role.js b/ui/app/adapters/pki/pki-role.js index 199ca0804..4aba01177 100644 --- a/ui/app/adapters/pki/pki-role.js +++ b/ui/app/adapters/pki/pki-role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { assign } from '@ember/polyfills'; import ApplicationAdapter from '../application'; import { encodePath } from 'vault/utils/path-encoding-helpers'; diff --git a/ui/app/adapters/pki/role.js b/ui/app/adapters/pki/role.js index 064ed7343..378488177 100644 --- a/ui/app/adapters/pki/role.js +++ b/ui/app/adapters/pki/role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from '../application'; import { assign } from '@ember/polyfills'; import { encodePath } from 'vault/utils/path-encoding-helpers'; diff --git a/ui/app/adapters/pki/sign-intermediate.js b/ui/app/adapters/pki/sign-intermediate.js index 15144487b..9dfdb4a5a 100644 --- a/ui/app/adapters/pki/sign-intermediate.js +++ b/ui/app/adapters/pki/sign-intermediate.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { encodePath } from 'vault/utils/path-encoding-helpers'; import ApplicationAdapter from '../application'; diff --git a/ui/app/adapters/pki/urls.js b/ui/app/adapters/pki/urls.js index c75f3212c..457fa3923 100644 --- a/ui/app/adapters/pki/urls.js +++ b/ui/app/adapters/pki/urls.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { encodePath } from 'vault/utils/path-encoding-helpers'; import ApplicationAdapter from '../application'; diff --git a/ui/app/adapters/policy.js b/ui/app/adapters/policy.js index baac35825..ddd2358a9 100644 --- a/ui/app/adapters/policy.js +++ b/ui/app/adapters/policy.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { assign } from '@ember/polyfills'; import ApplicationAdapter from './application'; diff --git a/ui/app/adapters/policy/acl.js b/ui/app/adapters/policy/acl.js index ea0f1a321..360088796 100644 --- a/ui/app/adapters/policy/acl.js +++ b/ui/app/adapters/policy/acl.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import PolicyAdapter from '../policy'; export default PolicyAdapter.extend(); diff --git a/ui/app/adapters/policy/egp.js b/ui/app/adapters/policy/egp.js index ea0f1a321..360088796 100644 --- a/ui/app/adapters/policy/egp.js +++ b/ui/app/adapters/policy/egp.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import PolicyAdapter from '../policy'; export default PolicyAdapter.extend(); diff --git a/ui/app/adapters/policy/rgp.js b/ui/app/adapters/policy/rgp.js index ea0f1a321..360088796 100644 --- a/ui/app/adapters/policy/rgp.js +++ b/ui/app/adapters/policy/rgp.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import PolicyAdapter from '../policy'; export default PolicyAdapter.extend(); diff --git a/ui/app/adapters/raft-join.js b/ui/app/adapters/raft-join.js index f89deb6f2..3d1de1c50 100644 --- a/ui/app/adapters/raft-join.js +++ b/ui/app/adapters/raft-join.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from './application'; export default ApplicationAdapter.extend({ diff --git a/ui/app/adapters/replication-mode.js b/ui/app/adapters/replication-mode.js index 7d721abeb..a568a58da 100644 --- a/ui/app/adapters/replication-mode.js +++ b/ui/app/adapters/replication-mode.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from './application'; export default ApplicationAdapter.extend({ diff --git a/ui/app/adapters/role-aws.js b/ui/app/adapters/role-aws.js index de64be4e1..a1d6a1e3a 100644 --- a/ui/app/adapters/role-aws.js +++ b/ui/app/adapters/role-aws.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from './application'; import { encodePath } from 'vault/utils/path-encoding-helpers'; diff --git a/ui/app/adapters/role-jwt.js b/ui/app/adapters/role-jwt.js index 547490177..3b6a7a7d7 100644 --- a/ui/app/adapters/role-jwt.js +++ b/ui/app/adapters/role-jwt.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from './application'; import { inject as service } from '@ember/service'; import { encodePath } from 'vault/utils/path-encoding-helpers'; diff --git a/ui/app/adapters/role-ssh.js b/ui/app/adapters/role-ssh.js index a7e86ffde..6b8cf7200 100644 --- a/ui/app/adapters/role-ssh.js +++ b/ui/app/adapters/role-ssh.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { assign } from '@ember/polyfills'; import { resolve, allSettled } from 'rsvp'; import ApplicationAdapter from './application'; diff --git a/ui/app/adapters/secret-engine.js b/ui/app/adapters/secret-engine.js index dd0c14738..9361393f5 100644 --- a/ui/app/adapters/secret-engine.js +++ b/ui/app/adapters/secret-engine.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { assign } from '@ember/polyfills'; import ApplicationAdapter from './application'; import { encodePath } from 'vault/utils/path-encoding-helpers'; diff --git a/ui/app/adapters/secret-v2-version.js b/ui/app/adapters/secret-v2-version.js index a5d3089a4..1f7b63df7 100644 --- a/ui/app/adapters/secret-v2-version.js +++ b/ui/app/adapters/secret-v2-version.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-disable */ import AdapterError from '@ember-data/adapter/error'; diff --git a/ui/app/adapters/secret-v2.js b/ui/app/adapters/secret-v2.js index 517f83d77..f2e60beec 100644 --- a/ui/app/adapters/secret-v2.js +++ b/ui/app/adapters/secret-v2.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-disable */ import { isEmpty } from '@ember/utils'; import ApplicationAdapter from './application'; diff --git a/ui/app/adapters/secret.js b/ui/app/adapters/secret.js index 6a21fdb83..047da8c6d 100644 --- a/ui/app/adapters/secret.js +++ b/ui/app/adapters/secret.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { isEmpty } from '@ember/utils'; import ApplicationAdapter from './application'; import { encodePath } from 'vault/utils/path-encoding-helpers'; diff --git a/ui/app/adapters/server.js b/ui/app/adapters/server.js index 658932a23..91b01953b 100644 --- a/ui/app/adapters/server.js +++ b/ui/app/adapters/server.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from './application'; const fetchUrl = '/v1/sys/storage/raft/configuration'; diff --git a/ui/app/adapters/ssh-otp-credential.js b/ui/app/adapters/ssh-otp-credential.js index 99b13e38a..502828589 100644 --- a/ui/app/adapters/ssh-otp-credential.js +++ b/ui/app/adapters/ssh-otp-credential.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import SSHAdapter from './ssh'; export default SSHAdapter.extend({ diff --git a/ui/app/adapters/ssh-sign.js b/ui/app/adapters/ssh-sign.js index a5e8cbdcd..ad67ca557 100644 --- a/ui/app/adapters/ssh-sign.js +++ b/ui/app/adapters/ssh-sign.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import SSHAdapter from './ssh'; export default SSHAdapter.extend({ diff --git a/ui/app/adapters/ssh.js b/ui/app/adapters/ssh.js index 9267030a0..96f96f0cb 100644 --- a/ui/app/adapters/ssh.js +++ b/ui/app/adapters/ssh.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { assert } from '@ember/debug'; import ApplicationAdapter from './application'; diff --git a/ui/app/adapters/tools.js b/ui/app/adapters/tools.js index e0ad38ac1..9cb5efe18 100644 --- a/ui/app/adapters/tools.js +++ b/ui/app/adapters/tools.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from './application'; const WRAPPING_ENDPOINTS = ['lookup', 'wrap', 'unwrap', 'rewrap']; diff --git a/ui/app/adapters/transform.js b/ui/app/adapters/transform.js index 31df25afa..4fdd67983 100644 --- a/ui/app/adapters/transform.js +++ b/ui/app/adapters/transform.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { assign } from '@ember/polyfills'; import { allSettled } from 'rsvp'; import ApplicationAdapter from './application'; diff --git a/ui/app/adapters/transform/alphabet.js b/ui/app/adapters/transform/alphabet.js index d703adccd..f6fd1176d 100644 --- a/ui/app/adapters/transform/alphabet.js +++ b/ui/app/adapters/transform/alphabet.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import BaseAdapter from './base'; export default BaseAdapter.extend({ diff --git a/ui/app/adapters/transform/base.js b/ui/app/adapters/transform/base.js index 5e9ea52af..ee6fa4035 100644 --- a/ui/app/adapters/transform/base.js +++ b/ui/app/adapters/transform/base.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from '../application'; import { encodePath } from 'vault/utils/path-encoding-helpers'; diff --git a/ui/app/adapters/transform/role.js b/ui/app/adapters/transform/role.js index 2ccef954c..ecb6e9385 100644 --- a/ui/app/adapters/transform/role.js +++ b/ui/app/adapters/transform/role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import BaseAdapter from './base'; export default BaseAdapter.extend({ diff --git a/ui/app/adapters/transform/template.js b/ui/app/adapters/transform/template.js index 7649f2e9c..0bc5140c5 100644 --- a/ui/app/adapters/transform/template.js +++ b/ui/app/adapters/transform/template.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import BaseAdapter from './base'; export default BaseAdapter.extend({ diff --git a/ui/app/adapters/transform/transformation.js b/ui/app/adapters/transform/transformation.js index c0bda8af7..21c6e09d1 100644 --- a/ui/app/adapters/transform/transformation.js +++ b/ui/app/adapters/transform/transformation.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import BaseAdapter from './base'; export default BaseAdapter.extend({ diff --git a/ui/app/adapters/transit-key.js b/ui/app/adapters/transit-key.js index 9c174235f..5ca4d92cf 100644 --- a/ui/app/adapters/transit-key.js +++ b/ui/app/adapters/transit-key.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationAdapter from './application'; import { pluralize } from 'ember-inflector'; import { encodePath } from 'vault/utils/path-encoding-helpers'; diff --git a/ui/app/app.js b/ui/app/app.js index 115474cda..6ff5b818f 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Application from '@ember/application'; import Resolver from 'ember-resolver'; import loadInitializers from 'ember-load-initializers'; diff --git a/ui/app/breakpoints.js b/ui/app/breakpoints.js index 6e89b27b0..0be612d5d 100644 --- a/ui/app/breakpoints.js +++ b/ui/app/breakpoints.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + //https://github.com/jgthms/bulma/blob/6ad2e3df0589e5d6ff7a9c03ee1c78a546bedeaf/sass/utilities/initial-variables.sass#L48-L59 //https://github.com/jgthms/bulma/blob/6ad2e3df0589e5d6ff7a9c03ee1c78a546bedeaf/sass/utilities/mixins.sass#L71-L130 export default { diff --git a/ui/app/components/alert-popup.js b/ui/app/components/alert-popup.js index 14c05c7b3..406d4e927 100644 --- a/ui/app/components/alert-popup.js +++ b/ui/app/components/alert-popup.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; /** diff --git a/ui/app/components/alphabet-edit.js b/ui/app/components/alphabet-edit.js index 548e2dd85..87e36f887 100644 --- a/ui/app/components/alphabet-edit.js +++ b/ui/app/components/alphabet-edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import TransformBase from './transform-edit-base'; export default TransformBase.extend({}); diff --git a/ui/app/components/auth-config-form/config.js b/ui/app/components/auth-config-form/config.js index bb0c2bc77..e514ff6e1 100644 --- a/ui/app/components/auth-config-form/config.js +++ b/ui/app/components/auth-config-form/config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AdapterError from '@ember-data/adapter/error'; import { inject as service } from '@ember/service'; import Component from '@ember/component'; diff --git a/ui/app/components/auth-config-form/options.js b/ui/app/components/auth-config-form/options.js index b5d5fed67..e8cac73d7 100644 --- a/ui/app/components/auth-config-form/options.js +++ b/ui/app/components/auth-config-form/options.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AdapterError from '@ember-data/adapter/error'; import AuthConfigComponent from './config'; import { inject as service } from '@ember/service'; diff --git a/ui/app/components/auth-form-options.js b/ui/app/components/auth-form-options.js index 557064773..34319e25f 100644 --- a/ui/app/components/auth-form-options.js +++ b/ui/app/components/auth-form-options.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; export default Component.extend({}); diff --git a/ui/app/components/auth-form.js b/ui/app/components/auth-form.js index 3eb77e9ea..2fb882a4a 100644 --- a/ui/app/components/auth-form.js +++ b/ui/app/components/auth-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Ember from 'ember'; import { next } from '@ember/runloop'; import { inject as service } from '@ember/service'; diff --git a/ui/app/components/auth-info.js b/ui/app/components/auth-info.js index 37430e69b..a7879e2c1 100644 --- a/ui/app/components/auth-info.js +++ b/ui/app/components/auth-info.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; import { later } from '@ember/runloop'; diff --git a/ui/app/components/auth-jwt.js b/ui/app/components/auth-jwt.js index 031011232..72f4eac85 100644 --- a/ui/app/components/auth-jwt.js +++ b/ui/app/components/auth-jwt.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Ember from 'ember'; import { inject as service } from '@ember/service'; // ARG NOTE: Once you remove outer-html after glimmerizing you can remove the outer-html component diff --git a/ui/app/components/b64-toggle.js b/ui/app/components/b64-toggle.js index 89bb35bd3..eb2a011d4 100644 --- a/ui/app/components/b64-toggle.js +++ b/ui/app/components/b64-toggle.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { equal } from '@ember/object/computed'; import { isBlank } from '@ember/utils'; import Component from '@ember/component'; diff --git a/ui/app/components/basic-dropdown/trigger.js b/ui/app/components/basic-dropdown/trigger.js index 2d3272397..afacad91f 100644 --- a/ui/app/components/basic-dropdown/trigger.js +++ b/ui/app/components/basic-dropdown/trigger.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Trigger from 'ember-basic-dropdown/components/basic-dropdown/trigger'; export default Trigger.extend({ diff --git a/ui/app/components/calendar-widget.js b/ui/app/components/calendar-widget.js index 981677e10..d67ec74e5 100644 --- a/ui/app/components/calendar-widget.js +++ b/ui/app/components/calendar-widget.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/app/components/clients/attribution.js b/ui/app/components/clients/attribution.js index 54a70dd9f..e057fde70 100644 --- a/ui/app/components/clients/attribution.js +++ b/ui/app/components/clients/attribution.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/app/components/clients/config.js b/ui/app/components/clients/config.js index 265038e7c..74da5ad7b 100644 --- a/ui/app/components/clients/config.js +++ b/ui/app/components/clients/config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module ClientsConfig * ClientsConfig components are used to show and edit the client count config information. diff --git a/ui/app/components/clients/dashboard.js b/ui/app/components/clients/dashboard.js index a37077ff8..bca48015b 100644 --- a/ui/app/components/clients/dashboard.js +++ b/ui/app/components/clients/dashboard.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; diff --git a/ui/app/components/clients/horizontal-bar-chart.js b/ui/app/components/clients/horizontal-bar-chart.js index da7e9c43f..84aa91749 100644 --- a/ui/app/components/clients/horizontal-bar-chart.js +++ b/ui/app/components/clients/horizontal-bar-chart.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { stack } from 'd3-shape'; diff --git a/ui/app/components/clients/line-chart.js b/ui/app/components/clients/line-chart.js index ba0ce4d90..07ff80460 100644 --- a/ui/app/components/clients/line-chart.js +++ b/ui/app/components/clients/line-chart.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/app/components/clients/monthly-usage.js b/ui/app/components/clients/monthly-usage.js index 6cdd99bc7..bebccaf86 100644 --- a/ui/app/components/clients/monthly-usage.js +++ b/ui/app/components/clients/monthly-usage.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { calculateAverage } from 'vault/utils/chart-helpers'; diff --git a/ui/app/components/clients/running-total.js b/ui/app/components/clients/running-total.js index 320bffc40..5413111fe 100644 --- a/ui/app/components/clients/running-total.js +++ b/ui/app/components/clients/running-total.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { calculateAverage } from 'vault/utils/chart-helpers'; diff --git a/ui/app/components/clients/vertical-bar-chart.js b/ui/app/components/clients/vertical-bar-chart.js index d8d57e821..a0b51f206 100644 --- a/ui/app/components/clients/vertical-bar-chart.js +++ b/ui/app/components/clients/vertical-bar-chart.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/app/components/cluster-info.js b/ui/app/components/cluster-info.js index e2f45efc2..ff76296d0 100644 --- a/ui/app/components/cluster-info.js +++ b/ui/app/components/cluster-info.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Component from '@glimmer/component'; diff --git a/ui/app/components/configure-aws-secret.js b/ui/app/components/configure-aws-secret.js index bad358b75..849ed3432 100644 --- a/ui/app/components/configure-aws-secret.js +++ b/ui/app/components/configure-aws-secret.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; diff --git a/ui/app/components/configure-ssh-secret.js b/ui/app/components/configure-ssh-secret.js index 961bbe426..d4474a494 100644 --- a/ui/app/components/configure-ssh-secret.js +++ b/ui/app/components/configure-ssh-secret.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; diff --git a/ui/app/components/console/command-input.js b/ui/app/components/console/command-input.js index 10aa19ef8..62da66249 100644 --- a/ui/app/components/console/command-input.js +++ b/ui/app/components/console/command-input.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import keys from 'vault/lib/keycodes'; diff --git a/ui/app/components/console/log-help.js b/ui/app/components/console/log-help.js index 557064773..34319e25f 100644 --- a/ui/app/components/console/log-help.js +++ b/ui/app/components/console/log-help.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; export default Component.extend({}); diff --git a/ui/app/components/console/log-json.js b/ui/app/components/console/log-json.js index a176c260e..78d4d342d 100644 --- a/ui/app/components/console/log-json.js +++ b/ui/app/components/console/log-json.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; export default Component.extend({ diff --git a/ui/app/components/console/log-list.js b/ui/app/components/console/log-list.js index 28e226b39..cdbe8c3c9 100644 --- a/ui/app/components/console/log-list.js +++ b/ui/app/components/console/log-list.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { reads } from '@ember/object/computed'; import Component from '@ember/component'; diff --git a/ui/app/components/console/log-object.js b/ui/app/components/console/log-object.js index f380c4f51..3a256d362 100644 --- a/ui/app/components/console/log-object.js +++ b/ui/app/components/console/log-object.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { capitalize } from '@ember/string'; import Component from '@ember/component'; import { computed } from '@ember/object'; diff --git a/ui/app/components/console/log-text.js b/ui/app/components/console/log-text.js index ebd80a51e..d0b700430 100644 --- a/ui/app/components/console/log-text.js +++ b/ui/app/components/console/log-text.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; export default Component.extend({ diff --git a/ui/app/components/console/output-log.js b/ui/app/components/console/output-log.js index c2993f582..16e6b15f2 100644 --- a/ui/app/components/console/output-log.js +++ b/ui/app/components/console/output-log.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; export default Component.extend({ diff --git a/ui/app/components/console/ui-panel.js b/ui/app/components/console/ui-panel.js index bbe2c07aa..3b2d39458 100644 --- a/ui/app/components/console/ui-panel.js +++ b/ui/app/components/console/ui-panel.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { alias, or } from '@ember/object/computed'; import Component from '@ember/component'; diff --git a/ui/app/components/control-group-success.js b/ui/app/components/control-group-success.js index 23c0cc1f7..be586f242 100644 --- a/ui/app/components/control-group-success.js +++ b/ui/app/components/control-group-success.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Component from '@ember/component'; import { task } from 'ember-concurrency'; diff --git a/ui/app/components/control-group.js b/ui/app/components/control-group.js index 83461b324..64de0562f 100644 --- a/ui/app/components/control-group.js +++ b/ui/app/components/control-group.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { alias, or } from '@ember/object/computed'; import Component from '@ember/component'; diff --git a/ui/app/components/database-connection.js b/ui/app/components/database-connection.js index ea32bcc77..b396e35c5 100644 --- a/ui/app/components/database-connection.js +++ b/ui/app/components/database-connection.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/app/components/database-role-edit.js b/ui/app/components/database-role-edit.js index 70e8077fa..8f0c00031 100644 --- a/ui/app/components/database-role-edit.js +++ b/ui/app/components/database-role-edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; import { action } from '@ember/object'; diff --git a/ui/app/components/database-role-setting-form.js b/ui/app/components/database-role-setting-form.js index 5da535665..c45b2d47a 100644 --- a/ui/app/components/database-role-setting-form.js +++ b/ui/app/components/database-role-setting-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { getStatementFields, getRoleFields } from '../utils/database-helpers'; diff --git a/ui/app/components/date-dropdown.js b/ui/app/components/date-dropdown.js index 20b957a3f..b21f8627f 100644 --- a/ui/app/components/date-dropdown.js +++ b/ui/app/components/date-dropdown.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/app/components/diff-version-selector.js b/ui/app/components/diff-version-selector.js index eafdcad41..8daed6d32 100644 --- a/ui/app/components/diff-version-selector.js +++ b/ui/app/components/diff-version-selector.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-disable no-undef */ import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; diff --git a/ui/app/components/file-to-array-buffer.js b/ui/app/components/file-to-array-buffer.js index c27180fed..bdb14f4fd 100644 --- a/ui/app/components/file-to-array-buffer.js +++ b/ui/app/components/file-to-array-buffer.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import filesize from 'filesize'; diff --git a/ui/app/components/flash-message.js b/ui/app/components/flash-message.js index 96836d684..fc6ca31ed 100644 --- a/ui/app/components/flash-message.js +++ b/ui/app/components/flash-message.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import FlashMessage from 'ember-cli-flash/components/flash-message'; export default class FlashMessageComponent extends FlashMessage { diff --git a/ui/app/components/generate-credentials-database.js b/ui/app/components/generate-credentials-database.js index 5cead9e9d..042b4623f 100644 --- a/ui/app/components/generate-credentials-database.js +++ b/ui/app/components/generate-credentials-database.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module GenerateCredentialsDatabase * GenerateCredentialsDatabase component is used on the credentials route for the Database metrics. diff --git a/ui/app/components/generate-credentials.js b/ui/app/components/generate-credentials.js index 7d832a1d2..055d67878 100644 --- a/ui/app/components/generate-credentials.js +++ b/ui/app/components/generate-credentials.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { computed, set } from '@ember/object'; import Component from '@ember/component'; diff --git a/ui/app/components/generated-item-list.js b/ui/app/components/generated-item-list.js index f8db8d888..7a25dfd84 100644 --- a/ui/app/components/generated-item-list.js +++ b/ui/app/components/generated-item-list.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Component from '@glimmer/component'; import { action } from '@ember/object'; diff --git a/ui/app/components/generated-item.js b/ui/app/components/generated-item.js index ef939a6ac..008810b7f 100644 --- a/ui/app/components/generated-item.js +++ b/ui/app/components/generated-item.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AdapterError from '@ember-data/adapter/error'; import { inject as service } from '@ember/service'; import Component from '@ember/component'; diff --git a/ui/app/components/get-credentials-card.js b/ui/app/components/get-credentials-card.js index 7d3c9ca43..60ff42e33 100644 --- a/ui/app/components/get-credentials-card.js +++ b/ui/app/components/get-credentials-card.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module GetCredentialsCard * GetCredentialsCard components are card-like components that display a title, and SearchSelect component that sends you to a credentials route for the selected item. diff --git a/ui/app/components/home-link.js b/ui/app/components/home-link.js index 6d406c0d2..545b8c97f 100644 --- a/ui/app/components/home-link.js +++ b/ui/app/components/home-link.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; /** diff --git a/ui/app/components/hover-copy-button.js b/ui/app/components/hover-copy-button.js index fc2a6705e..862e79c0b 100644 --- a/ui/app/components/hover-copy-button.js +++ b/ui/app/components/hover-copy-button.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/app/components/identity/_popup-base.js b/ui/app/components/identity/_popup-base.js index d8f621132..6d84afdff 100644 --- a/ui/app/components/identity/_popup-base.js +++ b/ui/app/components/identity/_popup-base.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { assert } from '@ember/debug'; import Component from '@ember/component'; diff --git a/ui/app/components/identity/edit-form.js b/ui/app/components/identity/edit-form.js index b71898b3c..1668fc8af 100644 --- a/ui/app/components/identity/edit-form.js +++ b/ui/app/components/identity/edit-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Component from '@ember/component'; import { computed } from '@ember/object'; diff --git a/ui/app/components/identity/entity-nav.js b/ui/app/components/identity/entity-nav.js index 557064773..34319e25f 100644 --- a/ui/app/components/identity/entity-nav.js +++ b/ui/app/components/identity/entity-nav.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; export default Component.extend({}); diff --git a/ui/app/components/identity/item-details.js b/ui/app/components/identity/item-details.js index be4495673..d1661d90c 100644 --- a/ui/app/components/identity/item-details.js +++ b/ui/app/components/identity/item-details.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Component from '@ember/component'; diff --git a/ui/app/components/identity/lookup-input.js b/ui/app/components/identity/lookup-input.js index 857359371..4c2eb523f 100644 --- a/ui/app/components/identity/lookup-input.js +++ b/ui/app/components/identity/lookup-input.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Component from '@ember/component'; import { task } from 'ember-concurrency'; diff --git a/ui/app/components/identity/popup-alias.js b/ui/app/components/identity/popup-alias.js index b0830fe67..b69bd5d83 100644 --- a/ui/app/components/identity/popup-alias.js +++ b/ui/app/components/identity/popup-alias.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Base from './_popup-base'; export default Base.extend({ diff --git a/ui/app/components/identity/popup-members.js b/ui/app/components/identity/popup-members.js index a6feb3a26..9703ef89e 100644 --- a/ui/app/components/identity/popup-members.js +++ b/ui/app/components/identity/popup-members.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { alias } from '@ember/object/computed'; import { computed } from '@ember/object'; import Base from './_popup-base'; diff --git a/ui/app/components/identity/popup-metadata.js b/ui/app/components/identity/popup-metadata.js index 8a4fc31db..899f5565e 100644 --- a/ui/app/components/identity/popup-metadata.js +++ b/ui/app/components/identity/popup-metadata.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Base from './_popup-base'; import { computed } from '@ember/object'; import { alias } from '@ember/object/computed'; diff --git a/ui/app/components/identity/popup-policy.js b/ui/app/components/identity/popup-policy.js index 0536e3638..c5a38c1b0 100644 --- a/ui/app/components/identity/popup-policy.js +++ b/ui/app/components/identity/popup-policy.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { alias } from '@ember/object/computed'; import { computed } from '@ember/object'; import Base from './_popup-base'; diff --git a/ui/app/components/key-version-select.js b/ui/app/components/key-version-select.js index 479865264..8f027b69f 100644 --- a/ui/app/components/key-version-select.js +++ b/ui/app/components/key-version-select.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; export default Component.extend({ diff --git a/ui/app/components/keymgmt/distribute.js b/ui/app/components/keymgmt/distribute.js index 798a39435..3a3aaa56f 100644 --- a/ui/app/components/keymgmt/distribute.js +++ b/ui/app/components/keymgmt/distribute.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; diff --git a/ui/app/components/keymgmt/key-edit.js b/ui/app/components/keymgmt/key-edit.js index 50a1e2cd1..df03f39b5 100644 --- a/ui/app/components/keymgmt/key-edit.js +++ b/ui/app/components/keymgmt/key-edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; import { action } from '@ember/object'; diff --git a/ui/app/components/keymgmt/provider-edit.js b/ui/app/components/keymgmt/provider-edit.js index a83c96c80..1efdb0e56 100644 --- a/ui/app/components/keymgmt/provider-edit.js +++ b/ui/app/components/keymgmt/provider-edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; import { action } from '@ember/object'; diff --git a/ui/app/components/license-banners.js b/ui/app/components/license-banners.js index 2839a3a29..c09b28859 100644 --- a/ui/app/components/license-banners.js +++ b/ui/app/components/license-banners.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/app/components/license-info.js b/ui/app/components/license-info.js index 1062fe1ea..d1bca6543 100644 --- a/ui/app/components/license-info.js +++ b/ui/app/components/license-info.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { allFeatures } from 'vault/helpers/all-features'; /** diff --git a/ui/app/components/link-status.js b/ui/app/components/link-status.js index f7493ed4b..cb46f01ab 100644 --- a/ui/app/components/link-status.js +++ b/ui/app/components/link-status.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; diff --git a/ui/app/components/logo-edition.js b/ui/app/components/logo-edition.js index 0e2733fac..3d348e94f 100644 --- a/ui/app/components/logo-edition.js +++ b/ui/app/components/logo-edition.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Component from '@ember/component'; diff --git a/ui/app/components/menu-sidebar.js b/ui/app/components/menu-sidebar.js index 819ff0a81..bf2aec93e 100644 --- a/ui/app/components/menu-sidebar.js +++ b/ui/app/components/menu-sidebar.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; export default Component.extend({ diff --git a/ui/app/components/mfa/method-form.js b/ui/app/components/mfa/method-form.js index 63cf929b5..74aa47df2 100644 --- a/ui/app/components/mfa/method-form.js +++ b/ui/app/components/mfa/method-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/app/components/mfa/mfa-form.js b/ui/app/components/mfa/mfa-form.js index c73fb1197..8f231ed17 100644 --- a/ui/app/components/mfa/mfa-form.js +++ b/ui/app/components/mfa/mfa-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/app/components/mfa/mfa-login-enforcement-form.js b/ui/app/components/mfa/mfa-login-enforcement-form.js index 44a8c33cb..95e9757ce 100644 --- a/ui/app/components/mfa/mfa-login-enforcement-form.js +++ b/ui/app/components/mfa/mfa-login-enforcement-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; import { action } from '@ember/object'; diff --git a/ui/app/components/mfa/mfa-login-enforcement-header.js b/ui/app/components/mfa/mfa-login-enforcement-header.js index 5b3449cef..4e0430542 100644 --- a/ui/app/components/mfa/mfa-login-enforcement-header.js +++ b/ui/app/components/mfa/mfa-login-enforcement-header.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; import { inject as service } from '@ember/service'; diff --git a/ui/app/components/mfa/mfa-setup-step-one.js b/ui/app/components/mfa/mfa-setup-step-one.js index dfdafdb03..6edfef62d 100644 --- a/ui/app/components/mfa/mfa-setup-step-one.js +++ b/ui/app/components/mfa/mfa-setup-step-one.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; import { action } from '@ember/object'; diff --git a/ui/app/components/mfa/mfa-setup-step-two.js b/ui/app/components/mfa/mfa-setup-step-two.js index 97ddd8b56..d589ae4bb 100644 --- a/ui/app/components/mfa/mfa-setup-step-two.js +++ b/ui/app/components/mfa/mfa-setup-step-two.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; import { action } from '@ember/object'; diff --git a/ui/app/components/modal-form/oidc-assignment-template.js b/ui/app/components/modal-form/oidc-assignment-template.js index f99bbbd62..cbc839fc7 100644 --- a/ui/app/components/modal-form/oidc-assignment-template.js +++ b/ui/app/components/modal-form/oidc-assignment-template.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; diff --git a/ui/app/components/modal-form/policy-template.js b/ui/app/components/modal-form/policy-template.js index 62736b32b..e88fcb60b 100644 --- a/ui/app/components/modal-form/policy-template.js +++ b/ui/app/components/modal-form/policy-template.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; diff --git a/ui/app/components/mount-accessor-select.js b/ui/app/components/mount-accessor-select.js index c86c5075b..c18f2c5d6 100644 --- a/ui/app/components/mount-accessor-select.js +++ b/ui/app/components/mount-accessor-select.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; import { task } from 'ember-concurrency'; diff --git a/ui/app/components/mount-backend-form.js b/ui/app/components/mount-backend-form.js index 585c91a17..e33b89ece 100644 --- a/ui/app/components/mount-backend-form.js +++ b/ui/app/components/mount-backend-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; import { inject as service } from '@ember/service'; diff --git a/ui/app/components/mount-backend/type-form.js b/ui/app/components/mount-backend/type-form.js index d66d31ebc..b58f4f8e6 100644 --- a/ui/app/components/mount-backend/type-form.js +++ b/ui/app/components/mount-backend/type-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; import { methods } from 'vault/helpers/mountable-auth-methods'; diff --git a/ui/app/components/namespace-link.js b/ui/app/components/namespace-link.js index 2e8d65a01..3f2e2ca88 100644 --- a/ui/app/components/namespace-link.js +++ b/ui/app/components/namespace-link.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { alias } from '@ember/object/computed'; import Component from '@ember/component'; diff --git a/ui/app/components/namespace-picker.js b/ui/app/components/namespace-picker.js index b671a0785..91fb11fe1 100644 --- a/ui/app/components/namespace-picker.js +++ b/ui/app/components/namespace-picker.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { alias, gt } from '@ember/object/computed'; import Component from '@ember/component'; diff --git a/ui/app/components/nav-header.js b/ui/app/components/nav-header.js index 0d59d4a4b..721dbc4e4 100644 --- a/ui/app/components/nav-header.js +++ b/ui/app/components/nav-header.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import { inject as service } from '@ember/service'; import { computed } from '@ember/object'; diff --git a/ui/app/components/nav-header/home.js b/ui/app/components/nav-header/home.js index 479865264..8f027b69f 100644 --- a/ui/app/components/nav-header/home.js +++ b/ui/app/components/nav-header/home.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; export default Component.extend({ diff --git a/ui/app/components/nav-header/items.js b/ui/app/components/nav-header/items.js index 479865264..8f027b69f 100644 --- a/ui/app/components/nav-header/items.js +++ b/ui/app/components/nav-header/items.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; export default Component.extend({ diff --git a/ui/app/components/nav-header/main.js b/ui/app/components/nav-header/main.js index 479865264..8f027b69f 100644 --- a/ui/app/components/nav-header/main.js +++ b/ui/app/components/nav-header/main.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; export default Component.extend({ diff --git a/ui/app/components/not-found.js b/ui/app/components/not-found.js index 9304562f6..b176c76fb 100644 --- a/ui/app/components/not-found.js +++ b/ui/app/components/not-found.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { alias } from '@ember/object/computed'; import Component from '@ember/component'; diff --git a/ui/app/components/oidc-consent-block.js b/ui/app/components/oidc-consent-block.js index 30794ce5c..bf4853833 100644 --- a/ui/app/components/oidc-consent-block.js +++ b/ui/app/components/oidc-consent-block.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module OidcConsentBlock * OidcConsentBlock components are used to show the consent form for the OIDC Authorization Code Flow diff --git a/ui/app/components/oidc/assignment-form.js b/ui/app/components/oidc/assignment-form.js index 3906d2816..8b895bf66 100644 --- a/ui/app/components/oidc/assignment-form.js +++ b/ui/app/components/oidc/assignment-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; diff --git a/ui/app/components/oidc/client-form.js b/ui/app/components/oidc/client-form.js index 166234277..4ca887bee 100644 --- a/ui/app/components/oidc/client-form.js +++ b/ui/app/components/oidc/client-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; diff --git a/ui/app/components/oidc/key-form.js b/ui/app/components/oidc/key-form.js index 3fe518cf0..a2650f5f5 100644 --- a/ui/app/components/oidc/key-form.js +++ b/ui/app/components/oidc/key-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; diff --git a/ui/app/components/oidc/provider-form.js b/ui/app/components/oidc/provider-form.js index a2fd2ad21..6eacb3a9c 100644 --- a/ui/app/components/oidc/provider-form.js +++ b/ui/app/components/oidc/provider-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; diff --git a/ui/app/components/oidc/scope-form.js b/ui/app/components/oidc/scope-form.js index 0e1c3a939..0d8679ad1 100644 --- a/ui/app/components/oidc/scope-form.js +++ b/ui/app/components/oidc/scope-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; import { action } from '@ember/object'; diff --git a/ui/app/components/outer-html.js b/ui/app/components/outer-html.js index 096229835..9b9d307a1 100644 --- a/ui/app/components/outer-html.js +++ b/ui/app/components/outer-html.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // THIS COMPONENT IS ONLY FOR EXTENDING // You should use this component if you want to use outerHTML symantics // in your components - this is the default for upcoming Glimmer components diff --git a/ui/app/components/pagination-controls.js b/ui/app/components/pagination-controls.js index de52c5e8d..18d185c70 100644 --- a/ui/app/components/pagination-controls.js +++ b/ui/app/components/pagination-controls.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; import { action } from '@ember/object'; diff --git a/ui/app/components/pgp-file.js b/ui/app/components/pgp-file.js index e3f51cf47..b0b4d2641 100644 --- a/ui/app/components/pgp-file.js +++ b/ui/app/components/pgp-file.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import { set } from '@ember/object'; import { task } from 'ember-concurrency'; diff --git a/ui/app/components/pgp-list.js b/ui/app/components/pgp-list.js index 005f387ae..a5633a242 100644 --- a/ui/app/components/pgp-list.js +++ b/ui/app/components/pgp-list.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; export default Component.extend({ diff --git a/ui/app/components/pki/config-pki-ca.js b/ui/app/components/pki/config-pki-ca.js index 223b89286..a9023784a 100644 --- a/ui/app/components/pki/config-pki-ca.js +++ b/ui/app/components/pki/config-pki-ca.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { not } from '@ember/object/computed'; import Component from '@ember/component'; diff --git a/ui/app/components/pki/config-pki.js b/ui/app/components/pki/config-pki.js index d528cb0af..0c3ef79ec 100644 --- a/ui/app/components/pki/config-pki.js +++ b/ui/app/components/pki/config-pki.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Component from '@ember/component'; import { get } from '@ember/object'; diff --git a/ui/app/components/pki/pki-cert-popup.js b/ui/app/components/pki/pki-cert-popup.js index 49237e4b6..b3ed039aa 100644 --- a/ui/app/components/pki/pki-cert-popup.js +++ b/ui/app/components/pki/pki-cert-popup.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; diff --git a/ui/app/components/pki/pki-cert-show.js b/ui/app/components/pki/pki-cert-show.js index 0c743eb15..da0e0a14f 100644 --- a/ui/app/components/pki/pki-cert-show.js +++ b/ui/app/components/pki/pki-cert-show.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import RoleEdit from '../role-edit'; export default RoleEdit.extend({ diff --git a/ui/app/components/pki/role-pki-edit.js b/ui/app/components/pki/role-pki-edit.js index 357b00cc2..53e31524d 100644 --- a/ui/app/components/pki/role-pki-edit.js +++ b/ui/app/components/pki/role-pki-edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import RoleEdit from '../role-edit'; export default RoleEdit.extend({ diff --git a/ui/app/components/policy-form.js b/ui/app/components/policy-form.js index b8f3c199e..64f11c719 100644 --- a/ui/app/components/policy-form.js +++ b/ui/app/components/policy-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; diff --git a/ui/app/components/radial-progress.js b/ui/app/components/radial-progress.js index 74a6615c2..54a5cdaef 100644 --- a/ui/app/components/radial-progress.js +++ b/ui/app/components/radial-progress.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import { computed } from '@ember/object'; diff --git a/ui/app/components/raft-join.js b/ui/app/components/raft-join.js index 67b7acae1..408a60a10 100644 --- a/ui/app/components/raft-join.js +++ b/ui/app/components/raft-join.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; /** diff --git a/ui/app/components/raft-storage-overview.js b/ui/app/components/raft-storage-overview.js index 16e8dec10..1a631ba89 100644 --- a/ui/app/components/raft-storage-overview.js +++ b/ui/app/components/raft-storage-overview.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import { getOwner } from '@ember/application'; import config from '../config/environment'; diff --git a/ui/app/components/raft-storage-restore.js b/ui/app/components/raft-storage-restore.js index 4dd31deda..37f0a6f83 100644 --- a/ui/app/components/raft-storage-restore.js +++ b/ui/app/components/raft-storage-restore.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import { task } from 'ember-concurrency'; import { getOwner } from '@ember/application'; diff --git a/ui/app/components/regex-validator.js b/ui/app/components/regex-validator.js index 5f769e4f4..601813230 100644 --- a/ui/app/components/regex-validator.js +++ b/ui/app/components/regex-validator.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module RegexValidator * RegexValidator components are used to provide input forms for regex values, along with a toggle-able validation input which does not get saved to the model. diff --git a/ui/app/components/role-aws-edit.js b/ui/app/components/role-aws-edit.js index 1dfc62a0e..a8fb0401b 100644 --- a/ui/app/components/role-aws-edit.js +++ b/ui/app/components/role-aws-edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { isBlank } from '@ember/utils'; import { set } from '@ember/object'; import RoleEdit from './role-edit'; diff --git a/ui/app/components/role-edit.js b/ui/app/components/role-edit.js index c24fb3ee0..e5345f6a5 100644 --- a/ui/app/components/role-edit.js +++ b/ui/app/components/role-edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { or } from '@ember/object/computed'; import { isBlank } from '@ember/utils'; diff --git a/ui/app/components/role-ssh-edit.js b/ui/app/components/role-ssh-edit.js index ccfc789fa..763adad61 100644 --- a/ui/app/components/role-ssh-edit.js +++ b/ui/app/components/role-ssh-edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import RoleEdit from './role-edit'; export default RoleEdit.extend({ diff --git a/ui/app/components/secret-create-or-update.js b/ui/app/components/secret-create-or-update.js index 7e93fd0eb..47aedac95 100644 --- a/ui/app/components/secret-create-or-update.js +++ b/ui/app/components/secret-create-or-update.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module SecretCreateOrUpdate * SecretCreateOrUpdate component displays either the form for creating a new secret or creating a new version of the secret diff --git a/ui/app/components/secret-delete-menu.js b/ui/app/components/secret-delete-menu.js index a23db76cc..82a4e8133 100644 --- a/ui/app/components/secret-delete-menu.js +++ b/ui/app/components/secret-delete-menu.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint ember/no-computed-properties-in-native-classes: 'warn' */ import Ember from 'ember'; import { inject as service } from '@ember/service'; diff --git a/ui/app/components/secret-edit-metadata.js b/ui/app/components/secret-edit-metadata.js index 8b34326e7..470d529d3 100644 --- a/ui/app/components/secret-edit-metadata.js +++ b/ui/app/components/secret-edit-metadata.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; diff --git a/ui/app/components/secret-edit-toolbar.js b/ui/app/components/secret-edit-toolbar.js index b953c2545..85b5f9a21 100644 --- a/ui/app/components/secret-edit-toolbar.js +++ b/ui/app/components/secret-edit-toolbar.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module SecretEditToolbar * SecretEditToolbar component is the toolbar component displaying the JSON toggle and the actions like delete in the show mode. diff --git a/ui/app/components/secret-edit.js b/ui/app/components/secret-edit.js index 1818bbade..a2739389b 100644 --- a/ui/app/components/secret-edit.js +++ b/ui/app/components/secret-edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint ember/no-computed-properties-in-native-classes: 'warn' */ /** * @module SecretEdit diff --git a/ui/app/components/secret-link.js b/ui/app/components/secret-link.js index 15a1ec41a..6efa8a7ab 100644 --- a/ui/app/components/secret-link.js +++ b/ui/app/components/secret-link.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { encodePath } from 'vault/utils/path-encoding-helpers'; diff --git a/ui/app/components/secret-list/database-list-item.js b/ui/app/components/secret-list/database-list-item.js index acb05947b..7b21d9ca7 100644 --- a/ui/app/components/secret-list/database-list-item.js +++ b/ui/app/components/secret-list/database-list-item.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module DatabaseListItem * DatabaseListItem components are used for the list items for the Database Secret Engines for Roles. diff --git a/ui/app/components/secret-list/transform-list-item.js b/ui/app/components/secret-list/transform-list-item.js index f9c3e0ff8..b050b000c 100644 --- a/ui/app/components/secret-list/transform-list-item.js +++ b/ui/app/components/secret-list/transform-list-item.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module TransformListItem * TransformListItem components are used for the list items for the Transform Secret Engines for all but Transformations. diff --git a/ui/app/components/secret-version-menu.js b/ui/app/components/secret-version-menu.js index d718e5a30..ae21dfd45 100644 --- a/ui/app/components/secret-version-menu.js +++ b/ui/app/components/secret-version-menu.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; diff --git a/ui/app/components/section-tabs.js b/ui/app/components/section-tabs.js index 56969c79c..ab5682c5d 100644 --- a/ui/app/components/section-tabs.js +++ b/ui/app/components/section-tabs.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; const SectionTabs = Component.extend({ diff --git a/ui/app/components/selectable-card.js b/ui/app/components/selectable-card.js index abe19949c..f2a5bd42f 100644 --- a/ui/app/components/selectable-card.js +++ b/ui/app/components/selectable-card.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; /** diff --git a/ui/app/components/shamir-progress.js b/ui/app/components/shamir-progress.js index c4f5cb6b8..29f8aba6c 100644 --- a/ui/app/components/shamir-progress.js +++ b/ui/app/components/shamir-progress.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import { computed } from '@ember/object'; diff --git a/ui/app/components/splash-page.js b/ui/app/components/splash-page.js index e5560f76d..8ac6ff62e 100644 --- a/ui/app/components/splash-page.js +++ b/ui/app/components/splash-page.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module SplashPage * SplashPage component is used as a landing page with a box horizontally and center aligned on the page. It's used as the login landing page. diff --git a/ui/app/components/splash-page/splash-content.js b/ui/app/components/splash-page/splash-content.js index 479865264..8f027b69f 100644 --- a/ui/app/components/splash-page/splash-content.js +++ b/ui/app/components/splash-page/splash-content.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; export default Component.extend({ diff --git a/ui/app/components/splash-page/splash-footer.js b/ui/app/components/splash-page/splash-footer.js index 479865264..8f027b69f 100644 --- a/ui/app/components/splash-page/splash-footer.js +++ b/ui/app/components/splash-page/splash-footer.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; export default Component.extend({ diff --git a/ui/app/components/splash-page/splash-header.js b/ui/app/components/splash-page/splash-header.js index 479865264..8f027b69f 100644 --- a/ui/app/components/splash-page/splash-header.js +++ b/ui/app/components/splash-page/splash-header.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; export default Component.extend({ diff --git a/ui/app/components/status-menu.js b/ui/app/components/status-menu.js index e489157f3..1536c2c11 100644 --- a/ui/app/components/status-menu.js +++ b/ui/app/components/status-menu.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; diff --git a/ui/app/components/token-expire-warning.js b/ui/app/components/token-expire-warning.js index 11989790c..50f35b2dc 100644 --- a/ui/app/components/token-expire-warning.js +++ b/ui/app/components/token-expire-warning.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; diff --git a/ui/app/components/tool-actions-form.js b/ui/app/components/tool-actions-form.js index f7189224d..8b7d6b72c 100644 --- a/ui/app/components/tool-actions-form.js +++ b/ui/app/components/tool-actions-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { match } from '@ember/object/computed'; import { assign } from '@ember/polyfills'; import { inject as service } from '@ember/service'; diff --git a/ui/app/components/tool-hash.js b/ui/app/components/tool-hash.js index 7d1f9e316..8d1c49fe1 100644 --- a/ui/app/components/tool-hash.js +++ b/ui/app/components/tool-hash.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; diff --git a/ui/app/components/tool-lookup.js b/ui/app/components/tool-lookup.js index a9220f86d..a5c909b28 100644 --- a/ui/app/components/tool-lookup.js +++ b/ui/app/components/tool-lookup.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; diff --git a/ui/app/components/tool-random.js b/ui/app/components/tool-random.js index c3e876e81..c2f6a2577 100644 --- a/ui/app/components/tool-random.js +++ b/ui/app/components/tool-random.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; diff --git a/ui/app/components/tool-rewrap.js b/ui/app/components/tool-rewrap.js index c711b2ac1..49913d507 100644 --- a/ui/app/components/tool-rewrap.js +++ b/ui/app/components/tool-rewrap.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; diff --git a/ui/app/components/tool-unwrap.js b/ui/app/components/tool-unwrap.js index acfafc94c..6700087d0 100644 --- a/ui/app/components/tool-unwrap.js +++ b/ui/app/components/tool-unwrap.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; diff --git a/ui/app/components/tool-wrap.js b/ui/app/components/tool-wrap.js index 360cfcaff..902a2a7ae 100644 --- a/ui/app/components/tool-wrap.js +++ b/ui/app/components/tool-wrap.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/app/components/toolbar-secret-link.js b/ui/app/components/toolbar-secret-link.js index 44a1348ca..4bf7de9a0 100644 --- a/ui/app/components/toolbar-secret-link.js +++ b/ui/app/components/toolbar-secret-link.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; /** * @module ToolbarSecretLink diff --git a/ui/app/components/transform-advanced-templating.js b/ui/app/components/transform-advanced-templating.js index 762130dc3..b56cbf821 100644 --- a/ui/app/components/transform-advanced-templating.js +++ b/ui/app/components/transform-advanced-templating.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; import { action, set } from '@ember/object'; diff --git a/ui/app/components/transform-create-form.js b/ui/app/components/transform-create-form.js index 12fadca2e..838c78f21 100644 --- a/ui/app/components/transform-create-form.js +++ b/ui/app/components/transform-create-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import TransformationEdit from './transformation-edit'; export default TransformationEdit.extend({}); diff --git a/ui/app/components/transform-edit-base.js b/ui/app/components/transform-edit-base.js index 252b8ac3e..4fb47b485 100644 --- a/ui/app/components/transform-edit-base.js +++ b/ui/app/components/transform-edit-base.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { or } from '@ember/object/computed'; import { isBlank } from '@ember/utils'; diff --git a/ui/app/components/transform-edit-form.js b/ui/app/components/transform-edit-form.js index 12fadca2e..838c78f21 100644 --- a/ui/app/components/transform-edit-form.js +++ b/ui/app/components/transform-edit-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import TransformationEdit from './transformation-edit'; export default TransformationEdit.extend({}); diff --git a/ui/app/components/transform-role-edit.js b/ui/app/components/transform-role-edit.js index cdc1f5d44..923ded538 100644 --- a/ui/app/components/transform-role-edit.js +++ b/ui/app/components/transform-role-edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import TransformBase, { addToList, removeFromList } from './transform-edit-base'; import { inject as service } from '@ember/service'; diff --git a/ui/app/components/transform-show-transformation.js b/ui/app/components/transform-show-transformation.js index 4aedf8a4e..9c7a0bede 100644 --- a/ui/app/components/transform-show-transformation.js +++ b/ui/app/components/transform-show-transformation.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import TransformBase from './transform-edit-base'; import { computed } from '@ember/object'; diff --git a/ui/app/components/transform-template-edit.js b/ui/app/components/transform-template-edit.js index 548e2dd85..87e36f887 100644 --- a/ui/app/components/transform-template-edit.js +++ b/ui/app/components/transform-template-edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import TransformBase from './transform-edit-base'; export default TransformBase.extend({}); diff --git a/ui/app/components/transformation-edit.js b/ui/app/components/transformation-edit.js index 0e736bc26..260dabf38 100644 --- a/ui/app/components/transformation-edit.js +++ b/ui/app/components/transformation-edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import TransformBase, { addToList, removeFromList } from './transform-edit-base'; import { inject as service } from '@ember/service'; diff --git a/ui/app/components/transit-edit.js b/ui/app/components/transit-edit.js index a0f390534..ee0c1a884 100644 --- a/ui/app/components/transit-edit.js +++ b/ui/app/components/transit-edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { or } from '@ember/object/computed'; import { isBlank } from '@ember/utils'; diff --git a/ui/app/components/transit-key-action/export.js b/ui/app/components/transit-key-action/export.js index 5f26aceee..e76a8b9ed 100644 --- a/ui/app/components/transit-key-action/export.js +++ b/ui/app/components/transit-key-action/export.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/app/components/transit-key-actions.js b/ui/app/components/transit-key-actions.js index ddfddfb3b..39f61a955 100644 --- a/ui/app/components/transit-key-actions.js +++ b/ui/app/components/transit-key-actions.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { assign } from '@ember/polyfills'; import { copy } from 'ember-copy'; import { assert } from '@ember/debug'; diff --git a/ui/app/components/ui-wizard.js b/ui/app/components/ui-wizard.js index 009654952..85d0d8ff0 100644 --- a/ui/app/components/ui-wizard.js +++ b/ui/app/components/ui-wizard.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { alias, or } from '@ember/object/computed'; import Component from '@ember/component'; diff --git a/ui/app/components/wizard-content.js b/ui/app/components/wizard-content.js index 92fae5c91..40615ed05 100644 --- a/ui/app/components/wizard-content.js +++ b/ui/app/components/wizard-content.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { alias, reads } from '@ember/object/computed'; import { inject as service } from '@ember/service'; import Component from '@ember/component'; diff --git a/ui/app/components/wizard/features-selection.js b/ui/app/components/wizard/features-selection.js index b44f5831b..944b1d9c7 100644 --- a/ui/app/components/wizard/features-selection.js +++ b/ui/app/components/wizard/features-selection.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { or, not } from '@ember/object/computed'; import { inject as service } from '@ember/service'; import Component from '@ember/component'; diff --git a/ui/app/components/wizard/mounts-wizard.js b/ui/app/components/wizard/mounts-wizard.js index afb8d8de2..8dc5c62ed 100644 --- a/ui/app/components/wizard/mounts-wizard.js +++ b/ui/app/components/wizard/mounts-wizard.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { alias, equal } from '@ember/object/computed'; import Component from '@ember/component'; diff --git a/ui/app/components/wizard/secrets-keymgmt.js b/ui/app/components/wizard/secrets-keymgmt.js index 7ea5db24b..aedcc128b 100644 --- a/ui/app/components/wizard/secrets-keymgmt.js +++ b/ui/app/components/wizard/secrets-keymgmt.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; export default class WizardSecretsKeymgmtComponent extends Component { diff --git a/ui/app/components/wrap-ttl.js b/ui/app/components/wrap-ttl.js index 8f40b6886..b05620e44 100644 --- a/ui/app/components/wrap-ttl.js +++ b/ui/app/components/wrap-ttl.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { assert } from '@ember/debug'; import Component from '@glimmer/component'; import { action } from '@ember/object'; diff --git a/ui/app/config/environment.d.ts b/ui/app/config/environment.d.ts index a8f92b9fe..d7110d08e 100644 --- a/ui/app/config/environment.d.ts +++ b/ui/app/config/environment.d.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * Type declarations for * import config from 'my-app/config/environment' diff --git a/ui/app/controllers/application.js b/ui/app/controllers/application.js index 45f22ce9d..d170dadda 100644 --- a/ui/app/controllers/application.js +++ b/ui/app/controllers/application.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Controller from '@ember/controller'; import { computed } from '@ember/object'; diff --git a/ui/app/controllers/vault.js b/ui/app/controllers/vault.js index fc2b868a9..b7cb98ba3 100644 --- a/ui/app/controllers/vault.js +++ b/ui/app/controllers/vault.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Controller from '@ember/controller'; import { computed } from '@ember/object'; diff --git a/ui/app/controllers/vault/cluster.js b/ui/app/controllers/vault/cluster.js index cd33af43b..8d7b6181a 100644 --- a/ui/app/controllers/vault/cluster.js +++ b/ui/app/controllers/vault/cluster.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-disable ember/no-observers */ import { inject as service } from '@ember/service'; import { alias } from '@ember/object/computed'; diff --git a/ui/app/controllers/vault/cluster/access/control-groups-configure.js b/ui/app/controllers/vault/cluster/access/control-groups-configure.js index 847ad46ca..bd31e0529 100644 --- a/ui/app/controllers/vault/cluster/access/control-groups-configure.js +++ b/ui/app/controllers/vault/cluster/access/control-groups-configure.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; export default Controller.extend({ diff --git a/ui/app/controllers/vault/cluster/access/identity/aliases/add.js b/ui/app/controllers/vault/cluster/access/identity/aliases/add.js index e22b4416a..48e62da10 100644 --- a/ui/app/controllers/vault/cluster/access/identity/aliases/add.js +++ b/ui/app/controllers/vault/cluster/access/identity/aliases/add.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import CreateController from '../create'; export default CreateController.extend({ diff --git a/ui/app/controllers/vault/cluster/access/identity/aliases/edit.js b/ui/app/controllers/vault/cluster/access/identity/aliases/edit.js index dc06915f0..a55ba46aa 100644 --- a/ui/app/controllers/vault/cluster/access/identity/aliases/edit.js +++ b/ui/app/controllers/vault/cluster/access/identity/aliases/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import CreateController from './add'; export default CreateController.extend(); diff --git a/ui/app/controllers/vault/cluster/access/identity/aliases/index.js b/ui/app/controllers/vault/cluster/access/identity/aliases/index.js index 7c7ef6ddd..a15868b4d 100644 --- a/ui/app/controllers/vault/cluster/access/identity/aliases/index.js +++ b/ui/app/controllers/vault/cluster/access/identity/aliases/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import ListController from 'core/mixins/list-controller'; diff --git a/ui/app/controllers/vault/cluster/access/identity/create.js b/ui/app/controllers/vault/cluster/access/identity/create.js index bf12cb67b..e4add3a24 100644 --- a/ui/app/controllers/vault/cluster/access/identity/create.js +++ b/ui/app/controllers/vault/cluster/access/identity/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { task } from 'ember-concurrency'; diff --git a/ui/app/controllers/vault/cluster/access/identity/edit.js b/ui/app/controllers/vault/cluster/access/identity/edit.js index 43916a858..543c64376 100644 --- a/ui/app/controllers/vault/cluster/access/identity/edit.js +++ b/ui/app/controllers/vault/cluster/access/identity/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import CreateController from './create'; export default CreateController.extend(); diff --git a/ui/app/controllers/vault/cluster/access/identity/index.js b/ui/app/controllers/vault/cluster/access/identity/index.js index f9d9f7877..85d175702 100644 --- a/ui/app/controllers/vault/cluster/access/identity/index.js +++ b/ui/app/controllers/vault/cluster/access/identity/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Controller from '@ember/controller'; import ListController from 'core/mixins/list-controller'; diff --git a/ui/app/controllers/vault/cluster/access/identity/merge.js b/ui/app/controllers/vault/cluster/access/identity/merge.js index 43916a858..543c64376 100644 --- a/ui/app/controllers/vault/cluster/access/identity/merge.js +++ b/ui/app/controllers/vault/cluster/access/identity/merge.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import CreateController from './create'; export default CreateController.extend(); diff --git a/ui/app/controllers/vault/cluster/access/leases/index.js b/ui/app/controllers/vault/cluster/access/leases/index.js index 001ce0451..1eaa337a8 100644 --- a/ui/app/controllers/vault/cluster/access/leases/index.js +++ b/ui/app/controllers/vault/cluster/access/leases/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; export default Controller.extend({ diff --git a/ui/app/controllers/vault/cluster/access/leases/list-root.js b/ui/app/controllers/vault/cluster/access/leases/list-root.js index ea1fedd0a..eb7ed18e3 100644 --- a/ui/app/controllers/vault/cluster/access/leases/list-root.js +++ b/ui/app/controllers/vault/cluster/access/leases/list-root.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from './list'; diff --git a/ui/app/controllers/vault/cluster/access/leases/list.js b/ui/app/controllers/vault/cluster/access/leases/list.js index f2a598b43..42ff83a51 100644 --- a/ui/app/controllers/vault/cluster/access/leases/list.js +++ b/ui/app/controllers/vault/cluster/access/leases/list.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { computed } from '@ember/object'; import Controller, { inject as controller } from '@ember/controller'; diff --git a/ui/app/controllers/vault/cluster/access/leases/show.js b/ui/app/controllers/vault/cluster/access/leases/show.js index 5ce78487c..8d5ce7957 100644 --- a/ui/app/controllers/vault/cluster/access/leases/show.js +++ b/ui/app/controllers/vault/cluster/access/leases/show.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { next } from '@ember/runloop'; import { inject as service } from '@ember/service'; import { computed } from '@ember/object'; diff --git a/ui/app/controllers/vault/cluster/access/method/item/list.js b/ui/app/controllers/vault/cluster/access/method/item/list.js index a89b15a65..92dd35783 100644 --- a/ui/app/controllers/vault/cluster/access/method/item/list.js +++ b/ui/app/controllers/vault/cluster/access/method/item/list.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import ListController from 'vault/mixins/list-controller'; diff --git a/ui/app/controllers/vault/cluster/access/methods.js b/ui/app/controllers/vault/cluster/access/methods.js index 4ed040933..b05c40d06 100644 --- a/ui/app/controllers/vault/cluster/access/methods.js +++ b/ui/app/controllers/vault/cluster/access/methods.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { task } from 'ember-concurrency'; import { inject as service } from '@ember/service'; diff --git a/ui/app/controllers/vault/cluster/access/mfa/enforcements/enforcement/index.js b/ui/app/controllers/vault/cluster/access/mfa/enforcements/enforcement/index.js index 202c988c3..7bb9125a9 100644 --- a/ui/app/controllers/vault/cluster/access/mfa/enforcements/enforcement/index.js +++ b/ui/app/controllers/vault/cluster/access/mfa/enforcements/enforcement/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { tracked } from '@glimmer/tracking'; import { action } from '@ember/object'; diff --git a/ui/app/controllers/vault/cluster/access/mfa/enforcements/index.js b/ui/app/controllers/vault/cluster/access/mfa/enforcements/index.js index a7fae5de3..cb43614a3 100644 --- a/ui/app/controllers/vault/cluster/access/mfa/enforcements/index.js +++ b/ui/app/controllers/vault/cluster/access/mfa/enforcements/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; export default class MfaEnforcementListController extends Controller { diff --git a/ui/app/controllers/vault/cluster/access/mfa/methods.js b/ui/app/controllers/vault/cluster/access/mfa/methods.js index d36d77aba..0303c754e 100644 --- a/ui/app/controllers/vault/cluster/access/mfa/methods.js +++ b/ui/app/controllers/vault/cluster/access/mfa/methods.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; export default class MfaMethodsListController extends Controller { diff --git a/ui/app/controllers/vault/cluster/access/mfa/methods/create.js b/ui/app/controllers/vault/cluster/access/mfa/methods/create.js index dd6e24281..9070d1aa5 100644 --- a/ui/app/controllers/vault/cluster/access/mfa/methods/create.js +++ b/ui/app/controllers/vault/cluster/access/mfa/methods/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { inject as service } from '@ember/service'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/app/controllers/vault/cluster/access/mfa/methods/method/index.js b/ui/app/controllers/vault/cluster/access/mfa/methods/method/index.js index cce625543..021148afd 100644 --- a/ui/app/controllers/vault/cluster/access/mfa/methods/method/index.js +++ b/ui/app/controllers/vault/cluster/access/mfa/methods/method/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { inject as service } from '@ember/service'; import { action } from '@ember/object'; diff --git a/ui/app/controllers/vault/cluster/access/namespaces/create.js b/ui/app/controllers/vault/cluster/access/namespaces/create.js index 1f410dd2d..6710ecfd7 100644 --- a/ui/app/controllers/vault/cluster/access/namespaces/create.js +++ b/ui/app/controllers/vault/cluster/access/namespaces/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Controller from '@ember/controller'; export default Controller.extend({ diff --git a/ui/app/controllers/vault/cluster/access/namespaces/index.js b/ui/app/controllers/vault/cluster/access/namespaces/index.js index c2b6041da..8454f2544 100644 --- a/ui/app/controllers/vault/cluster/access/namespaces/index.js +++ b/ui/app/controllers/vault/cluster/access/namespaces/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { alias } from '@ember/object/computed'; import Controller from '@ember/controller'; diff --git a/ui/app/controllers/vault/cluster/access/oidc.js b/ui/app/controllers/vault/cluster/access/oidc.js index c6ef6dd70..28e06f16d 100644 --- a/ui/app/controllers/vault/cluster/access/oidc.js +++ b/ui/app/controllers/vault/cluster/access/oidc.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { inject as service } from '@ember/service'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/app/controllers/vault/cluster/access/oidc/assignments/assignment/details.js b/ui/app/controllers/vault/cluster/access/oidc/assignments/assignment/details.js index bf21dc72f..b01cf1deb 100644 --- a/ui/app/controllers/vault/cluster/access/oidc/assignments/assignment/details.js +++ b/ui/app/controllers/vault/cluster/access/oidc/assignments/assignment/details.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; diff --git a/ui/app/controllers/vault/cluster/access/oidc/clients/client.js b/ui/app/controllers/vault/cluster/access/oidc/clients/client.js index 4e3e0c148..3aeabef59 100644 --- a/ui/app/controllers/vault/cluster/access/oidc/clients/client.js +++ b/ui/app/controllers/vault/cluster/access/oidc/clients/client.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { inject as service } from '@ember/service'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/app/controllers/vault/cluster/access/oidc/clients/client/details.js b/ui/app/controllers/vault/cluster/access/oidc/clients/client/details.js index 55a8b296e..ddf5ff9a4 100644 --- a/ui/app/controllers/vault/cluster/access/oidc/clients/client/details.js +++ b/ui/app/controllers/vault/cluster/access/oidc/clients/client/details.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; diff --git a/ui/app/controllers/vault/cluster/access/oidc/keys/key.js b/ui/app/controllers/vault/cluster/access/oidc/keys/key.js index 1658fda3a..63e06e2be 100644 --- a/ui/app/controllers/vault/cluster/access/oidc/keys/key.js +++ b/ui/app/controllers/vault/cluster/access/oidc/keys/key.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { inject as service } from '@ember/service'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/app/controllers/vault/cluster/access/oidc/keys/key/details.js b/ui/app/controllers/vault/cluster/access/oidc/keys/key/details.js index 562df3aa6..642337f5f 100644 --- a/ui/app/controllers/vault/cluster/access/oidc/keys/key/details.js +++ b/ui/app/controllers/vault/cluster/access/oidc/keys/key/details.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; diff --git a/ui/app/controllers/vault/cluster/access/oidc/providers/provider.js b/ui/app/controllers/vault/cluster/access/oidc/providers/provider.js index a0b1b295b..20876717e 100644 --- a/ui/app/controllers/vault/cluster/access/oidc/providers/provider.js +++ b/ui/app/controllers/vault/cluster/access/oidc/providers/provider.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { inject as service } from '@ember/service'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/app/controllers/vault/cluster/access/oidc/providers/provider/details.js b/ui/app/controllers/vault/cluster/access/oidc/providers/provider/details.js index 6a15ef2e3..2e493d424 100644 --- a/ui/app/controllers/vault/cluster/access/oidc/providers/provider/details.js +++ b/ui/app/controllers/vault/cluster/access/oidc/providers/provider/details.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; diff --git a/ui/app/controllers/vault/cluster/access/oidc/scopes/scope/details.js b/ui/app/controllers/vault/cluster/access/oidc/scopes/scope/details.js index 1934ae082..48946336c 100644 --- a/ui/app/controllers/vault/cluster/access/oidc/scopes/scope/details.js +++ b/ui/app/controllers/vault/cluster/access/oidc/scopes/scope/details.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; diff --git a/ui/app/controllers/vault/cluster/auth.js b/ui/app/controllers/vault/cluster/auth.js index 9d37d1d6f..9095f4934 100644 --- a/ui/app/controllers/vault/cluster/auth.js +++ b/ui/app/controllers/vault/cluster/auth.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { alias } from '@ember/object/computed'; import Controller, { inject as controller } from '@ember/controller'; diff --git a/ui/app/controllers/vault/cluster/clients.js b/ui/app/controllers/vault/cluster/clients.js index 7892c9356..04fdebd10 100644 --- a/ui/app/controllers/vault/cluster/clients.js +++ b/ui/app/controllers/vault/cluster/clients.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; export default class ClientsController extends Controller {} diff --git a/ui/app/controllers/vault/cluster/init.js b/ui/app/controllers/vault/cluster/init.js index 4707bb071..3ff942987 100644 --- a/ui/app/controllers/vault/cluster/init.js +++ b/ui/app/controllers/vault/cluster/init.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { computed } from '@ember/object'; import Controller from '@ember/controller'; diff --git a/ui/app/controllers/vault/cluster/mfa-setup.js b/ui/app/controllers/vault/cluster/mfa-setup.js index 54c250cc1..1dc60312a 100644 --- a/ui/app/controllers/vault/cluster/mfa-setup.js +++ b/ui/app/controllers/vault/cluster/mfa-setup.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { inject as service } from '@ember/service'; import { action } from '@ember/object'; diff --git a/ui/app/controllers/vault/cluster/oidc-callback.js b/ui/app/controllers/vault/cluster/oidc-callback.js index aef72bb20..ebf00f50f 100644 --- a/ui/app/controllers/vault/cluster/oidc-callback.js +++ b/ui/app/controllers/vault/cluster/oidc-callback.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; export default Controller.extend({ diff --git a/ui/app/controllers/vault/cluster/oidc-provider-ns.js b/ui/app/controllers/vault/cluster/oidc-provider-ns.js index d3825446c..dd5c512bd 100644 --- a/ui/app/controllers/vault/cluster/oidc-provider-ns.js +++ b/ui/app/controllers/vault/cluster/oidc-provider-ns.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import VaultClusterOidcProviderController from './oidc-provider'; // Use same params as the base oidc-provider route diff --git a/ui/app/controllers/vault/cluster/oidc-provider.js b/ui/app/controllers/vault/cluster/oidc-provider.js index cd92bfcfc..cd0434cf8 100644 --- a/ui/app/controllers/vault/cluster/oidc-provider.js +++ b/ui/app/controllers/vault/cluster/oidc-provider.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; export default class VaultClusterOidcProviderController extends Controller { diff --git a/ui/app/controllers/vault/cluster/policies/index.js b/ui/app/controllers/vault/cluster/policies/index.js index e8d617f75..0b0633ed2 100644 --- a/ui/app/controllers/vault/cluster/policies/index.js +++ b/ui/app/controllers/vault/cluster/policies/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { computed } from '@ember/object'; import Controller from '@ember/controller'; diff --git a/ui/app/controllers/vault/cluster/policy/edit.js b/ui/app/controllers/vault/cluster/policy/edit.js index dd5deff9b..ce438f49d 100644 --- a/ui/app/controllers/vault/cluster/policy/edit.js +++ b/ui/app/controllers/vault/cluster/policy/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; diff --git a/ui/app/controllers/vault/cluster/replication-dr-promote/index.js b/ui/app/controllers/vault/cluster/replication-dr-promote/index.js index 0adb652d4..f067e115f 100644 --- a/ui/app/controllers/vault/cluster/replication-dr-promote/index.js +++ b/ui/app/controllers/vault/cluster/replication-dr-promote/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; export default Controller.extend({ diff --git a/ui/app/controllers/vault/cluster/secrets/backend.js b/ui/app/controllers/vault/cluster/secrets/backend.js index adace5240..3f917d1fd 100644 --- a/ui/app/controllers/vault/cluster/secrets/backend.js +++ b/ui/app/controllers/vault/cluster/secrets/backend.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; export default Controller.extend({ diff --git a/ui/app/controllers/vault/cluster/secrets/backend/actions-root.js b/ui/app/controllers/vault/cluster/secrets/backend/actions-root.js index 0b230db57..fa0c2d6b1 100644 --- a/ui/app/controllers/vault/cluster/secrets/backend/actions-root.js +++ b/ui/app/controllers/vault/cluster/secrets/backend/actions-root.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from './actions'; diff --git a/ui/app/controllers/vault/cluster/secrets/backend/actions.js b/ui/app/controllers/vault/cluster/secrets/backend/actions.js index b272f7ca4..654bb1d2a 100644 --- a/ui/app/controllers/vault/cluster/secrets/backend/actions.js +++ b/ui/app/controllers/vault/cluster/secrets/backend/actions.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import BackendCrumbMixin from 'vault/mixins/backend-crumb'; diff --git a/ui/app/controllers/vault/cluster/secrets/backend/configuration.js b/ui/app/controllers/vault/cluster/secrets/backend/configuration.js index 84f7cdeac..8dbc58b41 100644 --- a/ui/app/controllers/vault/cluster/secrets/backend/configuration.js +++ b/ui/app/controllers/vault/cluster/secrets/backend/configuration.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { computed } from '@ember/object'; import Controller from '@ember/controller'; diff --git a/ui/app/controllers/vault/cluster/secrets/backend/create-root.js b/ui/app/controllers/vault/cluster/secrets/backend/create-root.js index 28d5c8ccc..42b317642 100644 --- a/ui/app/controllers/vault/cluster/secrets/backend/create-root.js +++ b/ui/app/controllers/vault/cluster/secrets/backend/create-root.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from './create'; diff --git a/ui/app/controllers/vault/cluster/secrets/backend/create.js b/ui/app/controllers/vault/cluster/secrets/backend/create.js index 5002b9b30..df469c3c9 100644 --- a/ui/app/controllers/vault/cluster/secrets/backend/create.js +++ b/ui/app/controllers/vault/cluster/secrets/backend/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller, { inject as controller } from '@ember/controller'; import BackendCrumbMixin from 'vault/mixins/backend-crumb'; diff --git a/ui/app/controllers/vault/cluster/secrets/backend/credentials-root.js b/ui/app/controllers/vault/cluster/secrets/backend/credentials-root.js index cbf926c3a..2f652b386 100644 --- a/ui/app/controllers/vault/cluster/secrets/backend/credentials-root.js +++ b/ui/app/controllers/vault/cluster/secrets/backend/credentials-root.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from './credentials'; diff --git a/ui/app/controllers/vault/cluster/secrets/backend/credentials.js b/ui/app/controllers/vault/cluster/secrets/backend/credentials.js index 9c6455a0d..1a10c49f0 100644 --- a/ui/app/controllers/vault/cluster/secrets/backend/credentials.js +++ b/ui/app/controllers/vault/cluster/secrets/backend/credentials.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; export default Controller.extend({ diff --git a/ui/app/controllers/vault/cluster/secrets/backend/diff.js b/ui/app/controllers/vault/cluster/secrets/backend/diff.js index 752bb56aa..cdc0fb6c4 100644 --- a/ui/app/controllers/vault/cluster/secrets/backend/diff.js +++ b/ui/app/controllers/vault/cluster/secrets/backend/diff.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import BackendCrumbMixin from 'vault/mixins/backend-crumb'; diff --git a/ui/app/controllers/vault/cluster/secrets/backend/edit-root.js b/ui/app/controllers/vault/cluster/secrets/backend/edit-root.js index 58cfd6a1c..fa2cc7757 100644 --- a/ui/app/controllers/vault/cluster/secrets/backend/edit-root.js +++ b/ui/app/controllers/vault/cluster/secrets/backend/edit-root.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from './edit'; diff --git a/ui/app/controllers/vault/cluster/secrets/backend/edit.js b/ui/app/controllers/vault/cluster/secrets/backend/edit.js index 8f9730847..687e7fc1a 100644 --- a/ui/app/controllers/vault/cluster/secrets/backend/edit.js +++ b/ui/app/controllers/vault/cluster/secrets/backend/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller, { inject as controller } from '@ember/controller'; import BackendCrumbMixin from 'vault/mixins/backend-crumb'; diff --git a/ui/app/controllers/vault/cluster/secrets/backend/list-root.js b/ui/app/controllers/vault/cluster/secrets/backend/list-root.js index ea1fedd0a..eb7ed18e3 100644 --- a/ui/app/controllers/vault/cluster/secrets/backend/list-root.js +++ b/ui/app/controllers/vault/cluster/secrets/backend/list-root.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from './list'; diff --git a/ui/app/controllers/vault/cluster/secrets/backend/list.js b/ui/app/controllers/vault/cluster/secrets/backend/list.js index e5fa92a32..8033b34ef 100644 --- a/ui/app/controllers/vault/cluster/secrets/backend/list.js +++ b/ui/app/controllers/vault/cluster/secrets/backend/list.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { or } from '@ember/object/computed'; import { computed } from '@ember/object'; import { inject as service } from '@ember/service'; diff --git a/ui/app/controllers/vault/cluster/secrets/backend/metadata.js b/ui/app/controllers/vault/cluster/secrets/backend/metadata.js index d97faf541..7cd5d568c 100644 --- a/ui/app/controllers/vault/cluster/secrets/backend/metadata.js +++ b/ui/app/controllers/vault/cluster/secrets/backend/metadata.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import BackendCrumbMixin from 'vault/mixins/backend-crumb'; import { action } from '@ember/object'; diff --git a/ui/app/controllers/vault/cluster/secrets/backend/show-root.js b/ui/app/controllers/vault/cluster/secrets/backend/show-root.js index 98bd0c1a0..95e384863 100644 --- a/ui/app/controllers/vault/cluster/secrets/backend/show-root.js +++ b/ui/app/controllers/vault/cluster/secrets/backend/show-root.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from './show'; diff --git a/ui/app/controllers/vault/cluster/secrets/backend/show.js b/ui/app/controllers/vault/cluster/secrets/backend/show.js index 79925aa3b..4689ca61c 100644 --- a/ui/app/controllers/vault/cluster/secrets/backend/show.js +++ b/ui/app/controllers/vault/cluster/secrets/backend/show.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller, { inject as controller } from '@ember/controller'; import BackendCrumbMixin from 'vault/mixins/backend-crumb'; diff --git a/ui/app/controllers/vault/cluster/secrets/backend/sign-root.js b/ui/app/controllers/vault/cluster/secrets/backend/sign-root.js index d034c1595..316a201c0 100644 --- a/ui/app/controllers/vault/cluster/secrets/backend/sign-root.js +++ b/ui/app/controllers/vault/cluster/secrets/backend/sign-root.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from './sign'; diff --git a/ui/app/controllers/vault/cluster/secrets/backend/sign.js b/ui/app/controllers/vault/cluster/secrets/backend/sign.js index 5c5aeae28..cb1ff2ae7 100644 --- a/ui/app/controllers/vault/cluster/secrets/backend/sign.js +++ b/ui/app/controllers/vault/cluster/secrets/backend/sign.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Controller from '@ember/controller'; import { set } from '@ember/object'; diff --git a/ui/app/controllers/vault/cluster/secrets/backends.js b/ui/app/controllers/vault/cluster/secrets/backends.js index 95b173d2b..fd1ef17c7 100644 --- a/ui/app/controllers/vault/cluster/secrets/backends.js +++ b/ui/app/controllers/vault/cluster/secrets/backends.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { filterBy } from '@ember/object/computed'; import { computed } from '@ember/object'; import Controller from '@ember/controller'; diff --git a/ui/app/controllers/vault/cluster/settings.js b/ui/app/controllers/vault/cluster/settings.js index 40a25dbb2..089202784 100644 --- a/ui/app/controllers/vault/cluster/settings.js +++ b/ui/app/controllers/vault/cluster/settings.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Controller from '@ember/controller'; export default Controller.extend({ diff --git a/ui/app/controllers/vault/cluster/settings/auth/enable.js b/ui/app/controllers/vault/cluster/settings/auth/enable.js index da57dddab..ac4d29168 100644 --- a/ui/app/controllers/vault/cluster/settings/auth/enable.js +++ b/ui/app/controllers/vault/cluster/settings/auth/enable.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; export default Controller.extend({ diff --git a/ui/app/controllers/vault/cluster/settings/configure-secret-backend.js b/ui/app/controllers/vault/cluster/settings/configure-secret-backend.js index 69829cffd..2da0bbf1d 100644 --- a/ui/app/controllers/vault/cluster/settings/configure-secret-backend.js +++ b/ui/app/controllers/vault/cluster/settings/configure-secret-backend.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { isPresent } from '@ember/utils'; import { inject as service } from '@ember/service'; import Controller from '@ember/controller'; diff --git a/ui/app/controllers/vault/cluster/settings/mount-secret-backend.js b/ui/app/controllers/vault/cluster/settings/mount-secret-backend.js index 0991ac9f3..72e2eb8e5 100644 --- a/ui/app/controllers/vault/cluster/settings/mount-secret-backend.js +++ b/ui/app/controllers/vault/cluster/settings/mount-secret-backend.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Controller from '@ember/controller'; import { supportedSecretBackends } from 'vault/helpers/supported-secret-backends'; diff --git a/ui/app/controllers/vault/cluster/settings/seal.js b/ui/app/controllers/vault/cluster/settings/seal.js index c7fc3dc1d..419138f88 100644 --- a/ui/app/controllers/vault/cluster/settings/seal.js +++ b/ui/app/controllers/vault/cluster/settings/seal.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Controller from '@ember/controller'; diff --git a/ui/app/controllers/vault/cluster/unseal.js b/ui/app/controllers/vault/cluster/unseal.js index ea5d4a8ce..a59fcde85 100644 --- a/ui/app/controllers/vault/cluster/unseal.js +++ b/ui/app/controllers/vault/cluster/unseal.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; export default Controller.extend({ diff --git a/ui/app/decorators/model-form-fields.js b/ui/app/decorators/model-form-fields.js index d85b4528c..e9f89b994 100644 --- a/ui/app/decorators/model-form-fields.js +++ b/ui/app/decorators/model-form-fields.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import fieldToAttrs, { expandAttributeMeta } from 'vault/utils/field-to-attrs'; import Model from '@ember-data/model'; diff --git a/ui/app/decorators/model-validations.js b/ui/app/decorators/model-validations.js index 91fc0ff8e..800ce32ed 100644 --- a/ui/app/decorators/model-validations.js +++ b/ui/app/decorators/model-validations.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-disable no-console */ import validators from 'vault/utils/validators'; import { get } from '@ember/object'; diff --git a/ui/app/helpers/-date-base.js b/ui/app/helpers/-date-base.js index 4ca8dad2a..401595df6 100644 --- a/ui/app/helpers/-date-base.js +++ b/ui/app/helpers/-date-base.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { run } from '@ember/runloop'; import Helper from '@ember/component/helper'; import Ember from 'ember'; diff --git a/ui/app/helpers/add-to-array.js b/ui/app/helpers/add-to-array.js index 07968d275..99dd685a9 100644 --- a/ui/app/helpers/add-to-array.js +++ b/ui/app/helpers/add-to-array.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; import { assert } from '@ember/debug'; diff --git a/ui/app/helpers/add.js b/ui/app/helpers/add.js index df06eeb39..2258df8d4 100644 --- a/ui/app/helpers/add.js +++ b/ui/app/helpers/add.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; export function add(params) { diff --git a/ui/app/helpers/all-features.js b/ui/app/helpers/all-features.js index addbefdd1..79124785a 100644 --- a/ui/app/helpers/all-features.js +++ b/ui/app/helpers/all-features.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; const ALL_FEATURES = [ diff --git a/ui/app/helpers/await.js b/ui/app/helpers/await.js index 711276c28..ffa61076e 100644 --- a/ui/app/helpers/await.js +++ b/ui/app/helpers/await.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Helper from '@ember/component/helper'; import { Promise } from 'rsvp'; diff --git a/ui/app/helpers/aws-regions.js b/ui/app/helpers/aws-regions.js index 90e187ba1..75e03623d 100644 --- a/ui/app/helpers/aws-regions.js +++ b/ui/app/helpers/aws-regions.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; //list from http://docs.aws.amazon.com/general/latest/gr/rande.html#sts_region diff --git a/ui/app/helpers/coerce-eq.js b/ui/app/helpers/coerce-eq.js index fb11338c0..62d2e3f74 100644 --- a/ui/app/helpers/coerce-eq.js +++ b/ui/app/helpers/coerce-eq.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /*jshint eqeqeq: false */ import { helper as buildHelper } from '@ember/component/helper'; diff --git a/ui/app/helpers/date-from-now.js b/ui/app/helpers/date-from-now.js index 98c1e9bf4..6d39fbd97 100644 --- a/ui/app/helpers/date-from-now.js +++ b/ui/app/helpers/date-from-now.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper } from '@ember/component/helper'; import { formatDistanceToNow } from 'date-fns'; diff --git a/ui/app/helpers/filter-wildcard.js b/ui/app/helpers/filter-wildcard.js index d9421d57c..3d63a1be8 100644 --- a/ui/app/helpers/filter-wildcard.js +++ b/ui/app/helpers/filter-wildcard.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; export function filterWildcard([string, array]) { diff --git a/ui/app/helpers/has-permission.js b/ui/app/helpers/has-permission.js index b4a64c97c..50871d06d 100644 --- a/ui/app/helpers/has-permission.js +++ b/ui/app/helpers/has-permission.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-disable ember/no-observers */ import Helper from '@ember/component/helper'; import { inject as service } from '@ember/service'; diff --git a/ui/app/helpers/is-after.js b/ui/app/helpers/is-after.js index 4916659d7..9584b45e6 100644 --- a/ui/app/helpers/is-after.js +++ b/ui/app/helpers/is-after.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import DateBase from './-date-base'; import { isAfter } from 'date-fns'; diff --git a/ui/app/helpers/is-before.js b/ui/app/helpers/is-before.js index 334c3c962..e7d3ef8cb 100644 --- a/ui/app/helpers/is-before.js +++ b/ui/app/helpers/is-before.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import DateBase from './-date-base'; import { isBefore } from 'date-fns'; diff --git a/ui/app/helpers/is-empty-value.js b/ui/app/helpers/is-empty-value.js index 6f3de8abd..6c033d0ac 100644 --- a/ui/app/helpers/is-empty-value.js +++ b/ui/app/helpers/is-empty-value.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper } from '@ember/component/helper'; export default helper(function isEmptyValue([value], { hasDefault = false }) { diff --git a/ui/app/helpers/is-wildcard-string.js b/ui/app/helpers/is-wildcard-string.js index f10357414..4f40c46ec 100644 --- a/ui/app/helpers/is-wildcard-string.js +++ b/ui/app/helpers/is-wildcard-string.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; export function isWildcardString([string]) { diff --git a/ui/app/helpers/jsonify.js b/ui/app/helpers/jsonify.js index ce01a4a3d..d6e8168c5 100644 --- a/ui/app/helpers/jsonify.js +++ b/ui/app/helpers/jsonify.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; export function jsonify([target]) { diff --git a/ui/app/helpers/mountable-auth-methods.js b/ui/app/helpers/mountable-auth-methods.js index 6fac2c1e2..d3b16e275 100644 --- a/ui/app/helpers/mountable-auth-methods.js +++ b/ui/app/helpers/mountable-auth-methods.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; const MOUNTABLE_AUTH_METHODS = [ diff --git a/ui/app/helpers/mountable-secret-engines.js b/ui/app/helpers/mountable-secret-engines.js index 9851483fd..a771f4bd9 100644 --- a/ui/app/helpers/mountable-secret-engines.js +++ b/ui/app/helpers/mountable-secret-engines.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; const ENTERPRISE_SECRET_ENGINES = [ diff --git a/ui/app/helpers/multi-line-join.js b/ui/app/helpers/multi-line-join.js index 9607d4e60..12c1d6fe0 100644 --- a/ui/app/helpers/multi-line-join.js +++ b/ui/app/helpers/multi-line-join.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; export function multiLineJoin([arr]) { diff --git a/ui/app/helpers/nav-to-route.js b/ui/app/helpers/nav-to-route.js index 9eb816c8c..e86728aff 100644 --- a/ui/app/helpers/nav-to-route.js +++ b/ui/app/helpers/nav-to-route.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Helper from '@ember/component/helper'; diff --git a/ui/app/helpers/now.js b/ui/app/helpers/now.js index 0cffa8075..15b468717 100644 --- a/ui/app/helpers/now.js +++ b/ui/app/helpers/now.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import DateBase from './-date-base'; export default DateBase.extend({ diff --git a/ui/app/helpers/number-to-word.js b/ui/app/helpers/number-to-word.js index 7369ecabd..b09299057 100644 --- a/ui/app/helpers/number-to-word.js +++ b/ui/app/helpers/number-to-word.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper } from '@ember/component/helper'; export function numberToWord(number, capitalize) { diff --git a/ui/app/helpers/remove-from-array.js b/ui/app/helpers/remove-from-array.js index 4e0fd77de..0774ca281 100644 --- a/ui/app/helpers/remove-from-array.js +++ b/ui/app/helpers/remove-from-array.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; import { assert } from '@ember/debug'; diff --git a/ui/app/helpers/route-params-for.js b/ui/app/helpers/route-params-for.js index 14afe697b..81326e9d8 100644 --- a/ui/app/helpers/route-params-for.js +++ b/ui/app/helpers/route-params-for.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Helper from '@ember/component/helper'; import { inject as service } from '@ember/service'; diff --git a/ui/app/helpers/secret-query-params.js b/ui/app/helpers/secret-query-params.js index 04cb90c75..50767b212 100644 --- a/ui/app/helpers/secret-query-params.js +++ b/ui/app/helpers/secret-query-params.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper } from '@ember/component/helper'; export function secretQueryParams([backendType, type = ''], { asQueryParams }) { diff --git a/ui/app/helpers/sha2-digest-sizes.js b/ui/app/helpers/sha2-digest-sizes.js index 99bd6f171..b6b77233d 100644 --- a/ui/app/helpers/sha2-digest-sizes.js +++ b/ui/app/helpers/sha2-digest-sizes.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; const SHA2_DIGEST_SIZES = ['sha2-224', 'sha2-256', 'sha2-384', 'sha2-512']; diff --git a/ui/app/helpers/split-object.js b/ui/app/helpers/split-object.js index eb73accd4..b7ba32643 100644 --- a/ui/app/helpers/split-object.js +++ b/ui/app/helpers/split-object.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module SplitObject * SplitObject helper takes in a class of data as the first param and an array of keys that you want to split into another object as the second param. diff --git a/ui/app/helpers/stringify.js b/ui/app/helpers/stringify.js index d51441f0f..ddf34f745 100644 --- a/ui/app/helpers/stringify.js +++ b/ui/app/helpers/stringify.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; export function stringify([target], { skipFormat }) { diff --git a/ui/app/helpers/sub.js b/ui/app/helpers/sub.js index 990f3bdbe..3e4d0728e 100644 --- a/ui/app/helpers/sub.js +++ b/ui/app/helpers/sub.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper } from '@ember/component/helper'; export default helper(function ([a, ...toSubtract]) { diff --git a/ui/app/helpers/supported-auth-backends.js b/ui/app/helpers/supported-auth-backends.js index 51365dc8e..b66b0f3ca 100644 --- a/ui/app/helpers/supported-auth-backends.js +++ b/ui/app/helpers/supported-auth-backends.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; const SUPPORTED_AUTH_BACKENDS = [ diff --git a/ui/app/helpers/supported-managed-auth-backends.js b/ui/app/helpers/supported-managed-auth-backends.js index 695a6b2f5..7aef3f6a1 100644 --- a/ui/app/helpers/supported-managed-auth-backends.js +++ b/ui/app/helpers/supported-managed-auth-backends.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; const MANAGED_AUTH_BACKENDS = ['cert', 'userpass', 'ldap', 'okta', 'radius']; diff --git a/ui/app/helpers/supported-secret-backends.js b/ui/app/helpers/supported-secret-backends.js index b8eb71340..efe5864a5 100644 --- a/ui/app/helpers/supported-secret-backends.js +++ b/ui/app/helpers/supported-secret-backends.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; const SUPPORTED_SECRET_BACKENDS = [ diff --git a/ui/app/helpers/tabs-for-auth-section.js b/ui/app/helpers/tabs-for-auth-section.js index 9911c8015..bcb6b3468 100644 --- a/ui/app/helpers/tabs-for-auth-section.js +++ b/ui/app/helpers/tabs-for-auth-section.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; import { pluralize } from 'ember-inflector'; import { capitalize } from '@ember/string'; diff --git a/ui/app/helpers/tabs-for-identity-show.js b/ui/app/helpers/tabs-for-identity-show.js index f51c6ded7..40a33958f 100644 --- a/ui/app/helpers/tabs-for-identity-show.js +++ b/ui/app/helpers/tabs-for-identity-show.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; export const TABS = { diff --git a/ui/app/helpers/to-label.js b/ui/app/helpers/to-label.js index b784f8ef8..b4af0687b 100644 --- a/ui/app/helpers/to-label.js +++ b/ui/app/helpers/to-label.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; import { capitalize } from 'vault/helpers/capitalize'; import { humanize } from 'vault/helpers/humanize'; diff --git a/ui/app/helpers/tools-actions.js b/ui/app/helpers/tools-actions.js index 32f36cf2d..3e6574cee 100644 --- a/ui/app/helpers/tools-actions.js +++ b/ui/app/helpers/tools-actions.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; const TOOLS_ACTIONS = ['wrap', 'lookup', 'unwrap', 'rewrap', 'random', 'hash']; diff --git a/ui/app/helpers/wizard-constants.js b/ui/app/helpers/wizard-constants.js index 5ac056897..5fa2ce30d 100644 --- a/ui/app/helpers/wizard-constants.js +++ b/ui/app/helpers/wizard-constants.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import TutorialMachineConfig from 'vault/machines/tutorial-machine'; import SecretsMachineConfig from 'vault/machines/secrets-machine'; import PoliciesMachineConfig from 'vault/machines/policies-machine'; diff --git a/ui/app/index.html b/ui/app/index.html index 34c88af97..ef62456b6 100644 --- a/ui/app/index.html +++ b/ui/app/index.html @@ -1,4 +1,9 @@ + + diff --git a/ui/app/initializers/deprecation-filter.js b/ui/app/initializers/deprecation-filter.js index 53e80d00a..905c610ae 100644 --- a/ui/app/initializers/deprecation-filter.js +++ b/ui/app/initializers/deprecation-filter.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { registerDeprecationHandler } from '@ember/debug'; // https://guides.emberjs.com/release/configuring-ember/handling-deprecations/#toc_filtering-deprecations diff --git a/ui/app/initializers/disable-ember-inspector.js b/ui/app/initializers/disable-ember-inspector.js index 739e10b7c..825e6d7d2 100644 --- a/ui/app/initializers/disable-ember-inspector.js +++ b/ui/app/initializers/disable-ember-inspector.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import config from '../config/environment'; export default { diff --git a/ui/app/initializers/ember-data-identifiers.js b/ui/app/initializers/ember-data-identifiers.js index c22c2af7f..22733cfad 100644 --- a/ui/app/initializers/ember-data-identifiers.js +++ b/ui/app/initializers/ember-data-identifiers.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { setIdentifierGenerationMethod } from '@ember-data/store'; import { dasherize } from '@ember/string'; import { v4 as uuidv4 } from 'uuid'; diff --git a/ui/app/initializers/enable-engines.js b/ui/app/initializers/enable-engines.js index 1c4408db7..d27ed7af8 100644 --- a/ui/app/initializers/enable-engines.js +++ b/ui/app/initializers/enable-engines.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import config from '../config/environment'; export function initialize(/* application */) { diff --git a/ui/app/instance-initializers/track-csp-event.js b/ui/app/instance-initializers/track-csp-event.js index a1ac104ec..c5225f225 100644 --- a/ui/app/instance-initializers/track-csp-event.js +++ b/ui/app/instance-initializers/track-csp-event.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export function initialize(appInstance) { const service = appInstance.lookup('service:csp-event'); service.attach(); diff --git a/ui/app/lib/arg-tokenizer.js b/ui/app/lib/arg-tokenizer.js index 4a36d0c6f..9ee9cb22f 100644 --- a/ui/app/lib/arg-tokenizer.js +++ b/ui/app/lib/arg-tokenizer.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // taken from https://github.com/yargs/yargs-parser/blob/v13.1.0/lib/tokenize-arg-string.js to get around import issue // take an un-split argv string and tokenize it. export default function (argString) { diff --git a/ui/app/lib/attach-capabilities.js b/ui/app/lib/attach-capabilities.js index 5dccbdc59..b275a7568 100644 --- a/ui/app/lib/attach-capabilities.js +++ b/ui/app/lib/attach-capabilities.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { belongsTo } from '@ember-data/model'; import { assert, debug } from '@ember/debug'; import { typeOf } from '@ember/utils'; diff --git a/ui/app/lib/console-helpers.js b/ui/app/lib/console-helpers.js index baa8a71ba..6a3b943d6 100644 --- a/ui/app/lib/console-helpers.js +++ b/ui/app/lib/console-helpers.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import keys from 'vault/lib/keycodes'; import argTokenizer from './arg-tokenizer'; import { parse } from 'shell-quote'; diff --git a/ui/app/lib/control-group-error.js b/ui/app/lib/control-group-error.js index 655c7de01..9a27ced53 100644 --- a/ui/app/lib/control-group-error.js +++ b/ui/app/lib/control-group-error.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AdapterError from '@ember-data/adapter/error'; export default class ControlGroupError extends AdapterError { diff --git a/ui/app/lib/key-utils.js b/ui/app/lib/key-utils.js index a1016036e..e62903718 100644 --- a/ui/app/lib/key-utils.js +++ b/ui/app/lib/key-utils.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + function keyIsFolder(key) { return key ? !!key.match(/\/$/) : false; } diff --git a/ui/app/lib/keycodes.js b/ui/app/lib/keycodes.js index 872468021..66164d350 100644 --- a/ui/app/lib/keycodes.js +++ b/ui/app/lib/keycodes.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // a map of keyCode for use in keyboard event handlers export default { ENTER: 13, diff --git a/ui/app/lib/kv-object.js b/ui/app/lib/kv-object.js index 80e71a745..3df5c1ea2 100644 --- a/ui/app/lib/kv-object.js +++ b/ui/app/lib/kv-object.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ArrayProxy from '@ember/array/proxy'; import { typeOf } from '@ember/utils'; import { guidFor } from '@ember/object/internals'; diff --git a/ui/app/lib/local-storage.js b/ui/app/lib/local-storage.js index 5447118e3..57300aea2 100644 --- a/ui/app/lib/local-storage.js +++ b/ui/app/lib/local-storage.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export default { getItem(key) { var item = window.localStorage.getItem(key); diff --git a/ui/app/lib/memory-storage.js b/ui/app/lib/memory-storage.js index 9d76039db..372871923 100644 --- a/ui/app/lib/memory-storage.js +++ b/ui/app/lib/memory-storage.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + const cache = {}; export default { diff --git a/ui/app/lib/path-to-tree.js b/ui/app/lib/path-to-tree.js index 884d6e51a..9359c48aa 100644 --- a/ui/app/lib/path-to-tree.js +++ b/ui/app/lib/path-to-tree.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import flat from 'flat'; import deepmerge from 'deepmerge'; diff --git a/ui/app/lib/route-paths.js b/ui/app/lib/route-paths.js index 221a6401c..e0125ae0e 100644 --- a/ui/app/lib/route-paths.js +++ b/ui/app/lib/route-paths.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export const INIT = 'vault.cluster.init'; export const UNSEAL = 'vault.cluster.unseal'; export const AUTH = 'vault.cluster.auth'; diff --git a/ui/app/lib/token-storage.js b/ui/app/lib/token-storage.js index a50a5a1c3..f96e0f51c 100644 --- a/ui/app/lib/token-storage.js +++ b/ui/app/lib/token-storage.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import localStorageWrapper from './local-storage'; import memoryStorage from './memory-storage'; diff --git a/ui/app/machines/auth-machine.js b/ui/app/machines/auth-machine.js index 6ee82dd08..e04041817 100644 --- a/ui/app/machines/auth-machine.js +++ b/ui/app/machines/auth-machine.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export default { key: 'auth', initial: 'idle', diff --git a/ui/app/machines/policies-machine.js b/ui/app/machines/policies-machine.js index fce6140dc..db7c94e81 100644 --- a/ui/app/machines/policies-machine.js +++ b/ui/app/machines/policies-machine.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export default { key: 'policies', initial: 'idle', diff --git a/ui/app/machines/replication-machine.js b/ui/app/machines/replication-machine.js index 99bf8b273..5816ce5d6 100644 --- a/ui/app/machines/replication-machine.js +++ b/ui/app/machines/replication-machine.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export default { key: 'replication', initial: 'setup', diff --git a/ui/app/machines/secrets-machine.js b/ui/app/machines/secrets-machine.js index 8e399112b..e8e9353b9 100644 --- a/ui/app/machines/secrets-machine.js +++ b/ui/app/machines/secrets-machine.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { supportedSecretBackends } from 'vault/helpers/supported-secret-backends'; const supportedBackends = supportedSecretBackends(); diff --git a/ui/app/machines/tools-machine.js b/ui/app/machines/tools-machine.js index 67b2734ec..64643b646 100644 --- a/ui/app/machines/tools-machine.js +++ b/ui/app/machines/tools-machine.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export default { key: 'tools', initial: 'wrap', diff --git a/ui/app/machines/tutorial-machine.js b/ui/app/machines/tutorial-machine.js index 9c66d5e9c..0519f029a 100644 --- a/ui/app/machines/tutorial-machine.js +++ b/ui/app/machines/tutorial-machine.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export default { key: 'tutorial', initial: 'idle', diff --git a/ui/app/macros/identity-capabilities.js b/ui/app/macros/identity-capabilities.js index 91bb68d67..da70c00fe 100644 --- a/ui/app/macros/identity-capabilities.js +++ b/ui/app/macros/identity-capabilities.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import lazyCapabilities, { apiPath } from 'vault/macros/lazy-capabilities'; export default function () { diff --git a/ui/app/macros/lazy-capabilities.js b/ui/app/macros/lazy-capabilities.js index 85ab1f98e..fa5d26597 100644 --- a/ui/app/macros/lazy-capabilities.js +++ b/ui/app/macros/lazy-capabilities.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // usage: // // import lazyCapabilities, { apiPath } from 'vault/macros/lazy-capabilities'; diff --git a/ui/app/macros/maybe-query-record.js b/ui/app/macros/maybe-query-record.js index 8e1a7fdac..94cc36992 100644 --- a/ui/app/macros/maybe-query-record.js +++ b/ui/app/macros/maybe-query-record.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { computed } from '@ember/object'; import ObjectProxy from '@ember/object/proxy'; import PromiseProxyMixin from '@ember/object/promise-proxy-mixin'; diff --git a/ui/app/mixins/backend-crumb.js b/ui/app/mixins/backend-crumb.js index 1f82d2d72..57d81c8c3 100644 --- a/ui/app/mixins/backend-crumb.js +++ b/ui/app/mixins/backend-crumb.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { computed } from '@ember/object'; import Mixin from '@ember/object/mixin'; diff --git a/ui/app/mixins/cluster-route.js b/ui/app/mixins/cluster-route.js index a43818725..6cb3a96dd 100644 --- a/ui/app/mixins/cluster-route.js +++ b/ui/app/mixins/cluster-route.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Mixin from '@ember/object/mixin'; import RSVP from 'rsvp'; diff --git a/ui/app/mixins/focus-on-insert.js b/ui/app/mixins/focus-on-insert.js index 5b989ed52..08b271671 100644 --- a/ui/app/mixins/focus-on-insert.js +++ b/ui/app/mixins/focus-on-insert.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { schedule } from '@ember/runloop'; import { on } from '@ember/object/evented'; import Mixin from '@ember/object/mixin'; diff --git a/ui/app/mixins/key-mixin.js b/ui/app/mixins/key-mixin.js index 9a88470db..f9d9aafb6 100644 --- a/ui/app/mixins/key-mixin.js +++ b/ui/app/mixins/key-mixin.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { computed } from '@ember/object'; import Mixin from '@ember/object/mixin'; import utils from 'vault/lib/key-utils'; diff --git a/ui/app/mixins/model-boundary-route.js b/ui/app/mixins/model-boundary-route.js index 6461ef9fa..3d639d7c8 100644 --- a/ui/app/mixins/model-boundary-route.js +++ b/ui/app/mixins/model-boundary-route.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // meant for use mixed-in to a Route file // // When a route is deactivated, this mixin clears the Ember Data store of diff --git a/ui/app/mixins/unload-model-route.js b/ui/app/mixins/unload-model-route.js index 6657b371f..62375a426 100644 --- a/ui/app/mixins/unload-model-route.js +++ b/ui/app/mixins/unload-model-route.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Mixin from '@ember/object/mixin'; import removeRecord from 'vault/utils/remove-record'; diff --git a/ui/app/mixins/unsaved-model-route.js b/ui/app/mixins/unsaved-model-route.js index 5c6b33a06..717504dca 100644 --- a/ui/app/mixins/unsaved-model-route.js +++ b/ui/app/mixins/unsaved-model-route.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Mixin from '@ember/object/mixin'; // this mixin relies on `unload-model-route` also being used diff --git a/ui/app/mixins/with-nav-to-nearest-ancestor.js b/ui/app/mixins/with-nav-to-nearest-ancestor.js index 335137bc7..b7cc39a19 100644 --- a/ui/app/mixins/with-nav-to-nearest-ancestor.js +++ b/ui/app/mixins/with-nav-to-nearest-ancestor.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Mixin from '@ember/object/mixin'; import utils from 'vault/lib/key-utils'; import { task } from 'ember-concurrency'; diff --git a/ui/app/models/auth-config.js b/ui/app/models/auth-config.js index 49c576316..273330761 100644 --- a/ui/app/models/auth-config.js +++ b/ui/app/models/auth-config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { belongsTo } from '@ember-data/model'; export default Model.extend({ diff --git a/ui/app/models/auth-config/approle.js b/ui/app/models/auth-config/approle.js index 66657e064..099e01ada 100644 --- a/ui/app/models/auth-config/approle.js +++ b/ui/app/models/auth-config/approle.js @@ -1,2 +1,7 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AuthConfig from '../auth-config'; export default AuthConfig.extend({}); diff --git a/ui/app/models/auth-config/aws/client.js b/ui/app/models/auth-config/aws/client.js index 37b73167c..6a94c5c91 100644 --- a/ui/app/models/auth-config/aws/client.js +++ b/ui/app/models/auth-config/aws/client.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import AuthConfig from '../../auth-config'; diff --git a/ui/app/models/auth-config/aws/identity-accesslist.js b/ui/app/models/auth-config/aws/identity-accesslist.js index a9c065da7..687b730dd 100644 --- a/ui/app/models/auth-config/aws/identity-accesslist.js +++ b/ui/app/models/auth-config/aws/identity-accesslist.js @@ -1,2 +1,7 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Tidy from './tidy'; export default Tidy.extend(); diff --git a/ui/app/models/auth-config/aws/roletag-denylist.js b/ui/app/models/auth-config/aws/roletag-denylist.js index a9c065da7..687b730dd 100644 --- a/ui/app/models/auth-config/aws/roletag-denylist.js +++ b/ui/app/models/auth-config/aws/roletag-denylist.js @@ -1,2 +1,7 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Tidy from './tidy'; export default Tidy.extend(); diff --git a/ui/app/models/auth-config/aws/tidy.js b/ui/app/models/auth-config/aws/tidy.js index c395901ae..e6a837771 100644 --- a/ui/app/models/auth-config/aws/tidy.js +++ b/ui/app/models/auth-config/aws/tidy.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import { expandAttributeMeta } from 'vault/utils/field-to-attrs'; diff --git a/ui/app/models/auth-config/azure.js b/ui/app/models/auth-config/azure.js index 72f5b2678..8c2633b2e 100644 --- a/ui/app/models/auth-config/azure.js +++ b/ui/app/models/auth-config/azure.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import AuthConfig from '../auth-config'; diff --git a/ui/app/models/auth-config/cert.js b/ui/app/models/auth-config/cert.js index 66657e064..099e01ada 100644 --- a/ui/app/models/auth-config/cert.js +++ b/ui/app/models/auth-config/cert.js @@ -1,2 +1,7 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AuthConfig from '../auth-config'; export default AuthConfig.extend({}); diff --git a/ui/app/models/auth-config/gcp.js b/ui/app/models/auth-config/gcp.js index c1fb0b18b..3b87616f5 100644 --- a/ui/app/models/auth-config/gcp.js +++ b/ui/app/models/auth-config/gcp.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import AuthConfig from '../auth-config'; diff --git a/ui/app/models/auth-config/github.js b/ui/app/models/auth-config/github.js index 5dc48cd06..76d8b9f5a 100644 --- a/ui/app/models/auth-config/github.js +++ b/ui/app/models/auth-config/github.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import AuthConfig from '../auth-config'; diff --git a/ui/app/models/auth-config/jwt.js b/ui/app/models/auth-config/jwt.js index 7018e7e7e..e1e0db56b 100644 --- a/ui/app/models/auth-config/jwt.js +++ b/ui/app/models/auth-config/jwt.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import AuthConfig from '../auth-config'; diff --git a/ui/app/models/auth-config/kubernetes.js b/ui/app/models/auth-config/kubernetes.js index e9312c416..9a1ccc05b 100644 --- a/ui/app/models/auth-config/kubernetes.js +++ b/ui/app/models/auth-config/kubernetes.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attr } from '@ember-data/model'; import { computed } from '@ember/object'; diff --git a/ui/app/models/auth-config/ldap.js b/ui/app/models/auth-config/ldap.js index a7b68774a..a5fb4ca04 100644 --- a/ui/app/models/auth-config/ldap.js +++ b/ui/app/models/auth-config/ldap.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attr } from '@ember-data/model'; import { computed } from '@ember/object'; diff --git a/ui/app/models/auth-config/oidc.js b/ui/app/models/auth-config/oidc.js index 819ee0d1e..0cc4da744 100644 --- a/ui/app/models/auth-config/oidc.js +++ b/ui/app/models/auth-config/oidc.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from './jwt'; diff --git a/ui/app/models/auth-config/okta.js b/ui/app/models/auth-config/okta.js index a8024e83a..44aa8c851 100644 --- a/ui/app/models/auth-config/okta.js +++ b/ui/app/models/auth-config/okta.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import AuthConfig from '../auth-config'; diff --git a/ui/app/models/auth-config/radius.js b/ui/app/models/auth-config/radius.js index db098c965..96752f12d 100644 --- a/ui/app/models/auth-config/radius.js +++ b/ui/app/models/auth-config/radius.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import AuthConfig from '../auth-config'; diff --git a/ui/app/models/auth-config/userpass.js b/ui/app/models/auth-config/userpass.js index 66657e064..099e01ada 100644 --- a/ui/app/models/auth-config/userpass.js +++ b/ui/app/models/auth-config/userpass.js @@ -1,2 +1,7 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AuthConfig from '../auth-config'; export default AuthConfig.extend({}); diff --git a/ui/app/models/auth-method.js b/ui/app/models/auth-method.js index 87b02be4c..0a7288771 100644 --- a/ui/app/models/auth-method.js +++ b/ui/app/models/auth-method.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { belongsTo, hasMany, attr } from '@ember-data/model'; import { alias } from '@ember/object/computed'; // eslint-disable-line import { computed } from '@ember/object'; // eslint-disable-line diff --git a/ui/app/models/aws-credential.js b/ui/app/models/aws-credential.js index 45471335a..1c8051f07 100644 --- a/ui/app/models/aws-credential.js +++ b/ui/app/models/aws-credential.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import { expandAttributeMeta } from 'vault/utils/field-to-attrs'; diff --git a/ui/app/models/capabilities.js b/ui/app/models/capabilities.js index 920eebf93..cdd7b3449 100644 --- a/ui/app/models/capabilities.js +++ b/ui/app/models/capabilities.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // This model represents the capabilities on a given `path` // `path` is also the primaryId // https://www.vaultproject.io/docs/concepts/policies.html#capabilities diff --git a/ui/app/models/clients/activity.js b/ui/app/models/clients/activity.js index e599a52db..4f80ef41a 100644 --- a/ui/app/models/clients/activity.js +++ b/ui/app/models/clients/activity.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; export default class Activity extends Model { @attr('array') byMonth; diff --git a/ui/app/models/clients/config.js b/ui/app/models/clients/config.js index c261847d9..0462f6042 100644 --- a/ui/app/models/clients/config.js +++ b/ui/app/models/clients/config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import attachCapabilities from 'vault/lib/attach-capabilities'; diff --git a/ui/app/models/clients/version-history.js b/ui/app/models/clients/version-history.js index 6c15ac3be..fae00d275 100644 --- a/ui/app/models/clients/version-history.js +++ b/ui/app/models/clients/version-history.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; export default class VersionHistoryModel extends Model { @attr('string') version; diff --git a/ui/app/models/cluster.js b/ui/app/models/cluster.js index 3e4c282a3..0a8600a0d 100644 --- a/ui/app/models/cluster.js +++ b/ui/app/models/cluster.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr, belongsTo, hasMany } from '@ember-data/model'; import { inject as service } from '@ember/service'; import { alias, and, equal, gte, not, or } from '@ember/object/computed'; diff --git a/ui/app/models/control-group-config.js b/ui/app/models/control-group-config.js index a2dcf507f..31257263b 100644 --- a/ui/app/models/control-group-config.js +++ b/ui/app/models/control-group-config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { alias } from '@ember/object/computed'; import { computed } from '@ember/object'; diff --git a/ui/app/models/control-group.js b/ui/app/models/control-group.js index 054f6e331..f6d4efb55 100644 --- a/ui/app/models/control-group.js +++ b/ui/app/models/control-group.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { hasMany, belongsTo, attr } from '@ember-data/model'; import { alias } from '@ember/object/computed'; import lazyCapabilities, { apiPath } from 'vault/macros/lazy-capabilities'; diff --git a/ui/app/models/database/connection.js b/ui/app/models/database/connection.js index 9ce113e20..a0ae34c41 100644 --- a/ui/app/models/database/connection.js +++ b/ui/app/models/database/connection.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import { alias, or } from '@ember/object/computed'; diff --git a/ui/app/models/database/credential.js b/ui/app/models/database/credential.js index 080a738c4..110fa4e41 100644 --- a/ui/app/models/database/credential.js +++ b/ui/app/models/database/credential.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; export default Model.extend({ diff --git a/ui/app/models/database/role.js b/ui/app/models/database/role.js index b9690e9cf..3fd022a38 100644 --- a/ui/app/models/database/role.js +++ b/ui/app/models/database/role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import { alias } from '@ember/object/computed'; diff --git a/ui/app/models/identity/_base.js b/ui/app/models/identity/_base.js index ec7d8bb7e..37971c255 100644 --- a/ui/app/models/identity/_base.js +++ b/ui/app/models/identity/_base.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model from '@ember-data/model'; import { assert } from '@ember/debug'; import { computed } from '@ember/object'; diff --git a/ui/app/models/identity/entity-alias.js b/ui/app/models/identity/entity-alias.js index db2d5d966..825dd9a5b 100644 --- a/ui/app/models/identity/entity-alias.js +++ b/ui/app/models/identity/entity-alias.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { belongsTo, attr } from '@ember-data/model'; import { computed } from '@ember/object'; import { alias } from '@ember/object/computed'; diff --git a/ui/app/models/identity/entity-merge.js b/ui/app/models/identity/entity-merge.js index cc6967669..2d6771e87 100644 --- a/ui/app/models/identity/entity-merge.js +++ b/ui/app/models/identity/entity-merge.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import IdentityModel from './_base'; diff --git a/ui/app/models/identity/entity.js b/ui/app/models/identity/entity.js index d56fde95e..bb22e11cf 100644 --- a/ui/app/models/identity/entity.js +++ b/ui/app/models/identity/entity.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { hasMany, attr } from '@ember-data/model'; import { computed } from '@ember/object'; import { alias } from '@ember/object/computed'; diff --git a/ui/app/models/identity/group-alias.js b/ui/app/models/identity/group-alias.js index fa8c6c3a0..b5ed78506 100644 --- a/ui/app/models/identity/group-alias.js +++ b/ui/app/models/identity/group-alias.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { belongsTo, attr } from '@ember-data/model'; import { computed } from '@ember/object'; import { alias } from '@ember/object/computed'; diff --git a/ui/app/models/identity/group.js b/ui/app/models/identity/group.js index 42da7de7f..7a14ffab1 100644 --- a/ui/app/models/identity/group.js +++ b/ui/app/models/identity/group.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { belongsTo, attr } from '@ember-data/model'; import { alias } from '@ember/object/computed'; import { computed } from '@ember/object'; diff --git a/ui/app/models/keymgmt/key.js b/ui/app/models/keymgmt/key.js index ff570c215..264f21d79 100644 --- a/ui/app/models/keymgmt/key.js +++ b/ui/app/models/keymgmt/key.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { expandAttributeMeta } from 'vault/utils/field-to-attrs'; import lazyCapabilities, { apiPath } from 'vault/macros/lazy-capabilities'; diff --git a/ui/app/models/keymgmt/provider.js b/ui/app/models/keymgmt/provider.js index 266d85768..7c605a900 100644 --- a/ui/app/models/keymgmt/provider.js +++ b/ui/app/models/keymgmt/provider.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { tracked } from '@glimmer/tracking'; import { expandAttributeMeta } from 'vault/utils/field-to-attrs'; diff --git a/ui/app/models/kmip/ca.js b/ui/app/models/kmip/ca.js index 7ef8847e9..731d614a7 100644 --- a/ui/app/models/kmip/ca.js +++ b/ui/app/models/kmip/ca.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { belongsTo, attr } from '@ember-data/model'; export default Model.extend({ diff --git a/ui/app/models/kmip/config.js b/ui/app/models/kmip/config.js index 67b1cd3b5..5ddfc8a48 100644 --- a/ui/app/models/kmip/config.js +++ b/ui/app/models/kmip/config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { belongsTo } from '@ember-data/model'; import { computed } from '@ember/object'; import { combineFieldGroups } from 'vault/utils/openapi-to-attrs'; diff --git a/ui/app/models/kmip/credential.js b/ui/app/models/kmip/credential.js index 58b11212b..99ec2c95a 100644 --- a/ui/app/models/kmip/credential.js +++ b/ui/app/models/kmip/credential.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import fieldToAttrs from 'vault/utils/field-to-attrs'; import { computed } from '@ember/object'; diff --git a/ui/app/models/kmip/role.js b/ui/app/models/kmip/role.js index 767b31d11..5be47a428 100644 --- a/ui/app/models/kmip/role.js +++ b/ui/app/models/kmip/role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import fieldToAttrs, { expandAttributeMeta } from 'vault/utils/field-to-attrs'; diff --git a/ui/app/models/kmip/scope.js b/ui/app/models/kmip/scope.js index e853f9797..aa1e185cd 100644 --- a/ui/app/models/kmip/scope.js +++ b/ui/app/models/kmip/scope.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import apiPath from 'vault/utils/api-path'; diff --git a/ui/app/models/kubernetes/config.js b/ui/app/models/kubernetes/config.js index 25b409d1f..bd557098d 100644 --- a/ui/app/models/kubernetes/config.js +++ b/ui/app/models/kubernetes/config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { withFormFields } from 'vault/decorators/model-form-fields'; import { withModelValidations } from 'vault/decorators/model-validations'; diff --git a/ui/app/models/kubernetes/role.js b/ui/app/models/kubernetes/role.js index 6e8af9c26..03473e74f 100644 --- a/ui/app/models/kubernetes/role.js +++ b/ui/app/models/kubernetes/role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { withModelValidations } from 'vault/decorators/model-validations'; import { withFormFields } from 'vault/decorators/model-form-fields'; diff --git a/ui/app/models/lease.js b/ui/app/models/lease.js index f288d6fde..4acb8d6bf 100644 --- a/ui/app/models/lease.js +++ b/ui/app/models/lease.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { match } from '@ember/object/computed'; import KeyMixin from 'vault/mixins/key-mixin'; diff --git a/ui/app/models/license.js b/ui/app/models/license.js index 7631302b6..6818645e8 100644 --- a/ui/app/models/license.js +++ b/ui/app/models/license.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; /* sample response diff --git a/ui/app/models/mfa-login-enforcement.js b/ui/app/models/mfa-login-enforcement.js index 966bd7730..f49c1437b 100644 --- a/ui/app/models/mfa-login-enforcement.js +++ b/ui/app/models/mfa-login-enforcement.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr, hasMany } from '@ember-data/model'; import ArrayProxy from '@ember/array/proxy'; import PromiseProxyMixin from '@ember/object/promise-proxy-mixin'; diff --git a/ui/app/models/mfa-method.js b/ui/app/models/mfa-method.js index 473ed6837..d8f3a02d4 100644 --- a/ui/app/models/mfa-method.js +++ b/ui/app/models/mfa-method.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { capitalize } from '@ember/string'; import { expandAttributeMeta } from 'vault/utils/field-to-attrs'; diff --git a/ui/app/models/mount-config.js b/ui/app/models/mount-config.js index b2de642e9..bb3567c87 100644 --- a/ui/app/models/mount-config.js +++ b/ui/app/models/mount-config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; export default class MountConfigModel extends Model { diff --git a/ui/app/models/namespace.js b/ui/app/models/namespace.js index 3dfc915c6..205d934a0 100644 --- a/ui/app/models/namespace.js +++ b/ui/app/models/namespace.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import { expandAttributeMeta } from 'vault/utils/field-to-attrs'; diff --git a/ui/app/models/node.js b/ui/app/models/node.js index efc9bd60a..cc74e57b1 100644 --- a/ui/app/models/node.js +++ b/ui/app/models/node.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { alias, and, equal } from '@ember/object/computed'; diff --git a/ui/app/models/oidc/assignment.js b/ui/app/models/oidc/assignment.js index 45cbe519c..8077c6638 100644 --- a/ui/app/models/oidc/assignment.js +++ b/ui/app/models/oidc/assignment.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import lazyCapabilities, { apiPath } from 'vault/macros/lazy-capabilities'; import { withModelValidations } from 'vault/decorators/model-validations'; diff --git a/ui/app/models/oidc/client.js b/ui/app/models/oidc/client.js index 7622dccde..09a11c4df 100644 --- a/ui/app/models/oidc/client.js +++ b/ui/app/models/oidc/client.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import lazyCapabilities, { apiPath } from 'vault/macros/lazy-capabilities'; import { expandAttributeMeta } from 'vault/utils/field-to-attrs'; diff --git a/ui/app/models/oidc/key.js b/ui/app/models/oidc/key.js index 6c90be486..3c8762eaa 100644 --- a/ui/app/models/oidc/key.js +++ b/ui/app/models/oidc/key.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import lazyCapabilities, { apiPath } from 'vault/macros/lazy-capabilities'; import { expandAttributeMeta } from 'vault/utils/field-to-attrs'; diff --git a/ui/app/models/oidc/provider.js b/ui/app/models/oidc/provider.js index e3937d687..a08dd79f9 100644 --- a/ui/app/models/oidc/provider.js +++ b/ui/app/models/oidc/provider.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import lazyCapabilities, { apiPath } from 'vault/macros/lazy-capabilities'; import { expandAttributeMeta } from 'vault/utils/field-to-attrs'; diff --git a/ui/app/models/oidc/scope.js b/ui/app/models/oidc/scope.js index d15ed52ee..4526bbd25 100644 --- a/ui/app/models/oidc/scope.js +++ b/ui/app/models/oidc/scope.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import lazyCapabilities, { apiPath } from 'vault/macros/lazy-capabilities'; import { expandAttributeMeta } from 'vault/utils/field-to-attrs'; diff --git a/ui/app/models/path-filter-config.js b/ui/app/models/path-filter-config.js index e306fac76..31dfcecab 100644 --- a/ui/app/models/path-filter-config.js +++ b/ui/app/models/path-filter-config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; export default Model.extend({ diff --git a/ui/app/models/pki-ca-certificate-sign.js b/ui/app/models/pki-ca-certificate-sign.js index 84f5b7335..3f5e9b8d6 100644 --- a/ui/app/models/pki-ca-certificate-sign.js +++ b/ui/app/models/pki-ca-certificate-sign.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attr } from '@ember-data/model'; import { copy } from 'ember-copy'; import { computed } from '@ember/object'; diff --git a/ui/app/models/pki-ca-certificate.js b/ui/app/models/pki-ca-certificate.js index c79f4ab29..78a34df8f 100644 --- a/ui/app/models/pki-ca-certificate.js +++ b/ui/app/models/pki-ca-certificate.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import Certificate from './pki/cert'; diff --git a/ui/app/models/pki-certificate-sign.js b/ui/app/models/pki-certificate-sign.js index afc937f89..14c0563d3 100644 --- a/ui/app/models/pki-certificate-sign.js +++ b/ui/app/models/pki-certificate-sign.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attr } from '@ember-data/model'; import { copy } from 'ember-copy'; import { computed } from '@ember/object'; diff --git a/ui/app/models/pki/action.js b/ui/app/models/pki/action.js index 1f2a98b7c..8bd370dba 100644 --- a/ui/app/models/pki/action.js +++ b/ui/app/models/pki/action.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { inject as service } from '@ember/service'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/app/models/pki/cert.js b/ui/app/models/pki/cert.js index 66ec7c5db..920b9fa8b 100644 --- a/ui/app/models/pki/cert.js +++ b/ui/app/models/pki/cert.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { alias } from '@ember/object/computed'; import { computed } from '@ember/object'; diff --git a/ui/app/models/pki/certificate/base.js b/ui/app/models/pki/certificate/base.js index 83fca751e..a8cc56c3b 100644 --- a/ui/app/models/pki/certificate/base.js +++ b/ui/app/models/pki/certificate/base.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { assert } from '@ember/debug'; import { service } from '@ember/service'; diff --git a/ui/app/models/pki/certificate/generate.js b/ui/app/models/pki/certificate/generate.js index 4a36c90fd..d5f7e30d8 100644 --- a/ui/app/models/pki/certificate/generate.js +++ b/ui/app/models/pki/certificate/generate.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attr } from '@ember-data/model'; import { withFormFields } from 'vault/decorators/model-form-fields'; import PkiCertificateBaseModel from './base'; diff --git a/ui/app/models/pki/certificate/sign.js b/ui/app/models/pki/certificate/sign.js index 430c99573..307d70389 100644 --- a/ui/app/models/pki/certificate/sign.js +++ b/ui/app/models/pki/certificate/sign.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attr } from '@ember-data/model'; import { withFormFields } from 'vault/decorators/model-form-fields'; import PkiCertificateBaseModel from './base'; diff --git a/ui/app/models/pki/issuer.js b/ui/app/models/pki/issuer.js index 6f219eacc..0d2748bfc 100644 --- a/ui/app/models/pki/issuer.js +++ b/ui/app/models/pki/issuer.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { withFormFields } from 'vault/decorators/model-form-fields'; import lazyCapabilities, { apiPath } from 'vault/macros/lazy-capabilities'; diff --git a/ui/app/models/pki/key.js b/ui/app/models/pki/key.js index cdd5f15af..331c01336 100644 --- a/ui/app/models/pki/key.js +++ b/ui/app/models/pki/key.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { inject as service } from '@ember/service'; import lazyCapabilities, { apiPath } from 'vault/macros/lazy-capabilities'; diff --git a/ui/app/models/pki/pki-config.js b/ui/app/models/pki/pki-config.js index 4a7379884..6070e97e4 100644 --- a/ui/app/models/pki/pki-config.js +++ b/ui/app/models/pki/pki-config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import { expandAttributeMeta } from 'vault/utils/field-to-attrs'; diff --git a/ui/app/models/pki/pki-role.js b/ui/app/models/pki/pki-role.js index 265037a30..8d9a11832 100644 --- a/ui/app/models/pki/pki-role.js +++ b/ui/app/models/pki/pki-role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { alias } from '@ember/object/computed'; import { computed } from '@ember/object'; diff --git a/ui/app/models/pki/role.js b/ui/app/models/pki/role.js index bb3d45478..b4afd4305 100644 --- a/ui/app/models/pki/role.js +++ b/ui/app/models/pki/role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import lazyCapabilities, { apiPath } from 'vault/macros/lazy-capabilities'; import { withModelValidations } from 'vault/decorators/model-validations'; diff --git a/ui/app/models/pki/sign-intermediate.js b/ui/app/models/pki/sign-intermediate.js index 1dc6d7be0..a36f662c9 100644 --- a/ui/app/models/pki/sign-intermediate.js +++ b/ui/app/models/pki/sign-intermediate.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attr } from '@ember-data/model'; import { withFormFields } from 'vault/decorators/model-form-fields'; import { withModelValidations } from 'vault/decorators/model-validations'; diff --git a/ui/app/models/pki/urls.js b/ui/app/models/pki/urls.js index 96e51542b..528f1286d 100644 --- a/ui/app/models/pki/urls.js +++ b/ui/app/models/pki/urls.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { withFormFields } from 'vault/decorators/model-form-fields'; import lazyCapabilities, { apiPath } from 'vault/macros/lazy-capabilities'; diff --git a/ui/app/models/policy.js b/ui/app/models/policy.js index 842155d17..c180ba6e9 100644 --- a/ui/app/models/policy.js +++ b/ui/app/models/policy.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { alias } from '@ember/object/computed'; import { computed } from '@ember/object'; diff --git a/ui/app/models/policy/acl.js b/ui/app/models/policy/acl.js index fd700b574..9e37dd88a 100644 --- a/ui/app/models/policy/acl.js +++ b/ui/app/models/policy/acl.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import PolicyModel from '../policy'; export default PolicyModel.extend(); diff --git a/ui/app/models/policy/egp.js b/ui/app/models/policy/egp.js index 255bd66a7..af6fc849a 100644 --- a/ui/app/models/policy/egp.js +++ b/ui/app/models/policy/egp.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attr } from '@ember-data/model'; import { computed } from '@ember/object'; diff --git a/ui/app/models/policy/rgp.js b/ui/app/models/policy/rgp.js index 9fb930323..33829a6e9 100644 --- a/ui/app/models/policy/rgp.js +++ b/ui/app/models/policy/rgp.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attr } from '@ember-data/model'; import { computed } from '@ember/object'; diff --git a/ui/app/models/raft-join.js b/ui/app/models/raft-join.js index 4fae1b94c..374a5aab7 100644 --- a/ui/app/models/raft-join.js +++ b/ui/app/models/raft-join.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { expandAttributeMeta } from 'vault/utils/field-to-attrs'; import { computed } from '@ember/object'; diff --git a/ui/app/models/replication-attributes.js b/ui/app/models/replication-attributes.js index 99d113d12..749e6c4f3 100644 --- a/ui/app/models/replication-attributes.js +++ b/ui/app/models/replication-attributes.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { match, not } from '@ember/object/computed'; import { computed } from '@ember/object'; diff --git a/ui/app/models/replication-mode.js b/ui/app/models/replication-mode.js index b00a688b0..d12520749 100644 --- a/ui/app/models/replication-mode.js +++ b/ui/app/models/replication-mode.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; /* sample response diff --git a/ui/app/models/role-aws.js b/ui/app/models/role-aws.js index 8d2496739..cb8003472 100644 --- a/ui/app/models/role-aws.js +++ b/ui/app/models/role-aws.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { alias } from '@ember/object/computed'; import { computed } from '@ember/object'; diff --git a/ui/app/models/role-jwt.js b/ui/app/models/role-jwt.js index 6de28f121..467f2e1e2 100644 --- a/ui/app/models/role-jwt.js +++ b/ui/app/models/role-jwt.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import parseURL from 'core/utils/parse-url'; diff --git a/ui/app/models/role-ssh.js b/ui/app/models/role-ssh.js index cff2c4c67..f66e3b93b 100644 --- a/ui/app/models/role-ssh.js +++ b/ui/app/models/role-ssh.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { alias } from '@ember/object/computed'; import { computed } from '@ember/object'; diff --git a/ui/app/models/secret-engine.js b/ui/app/models/secret-engine.js index b0251c46a..8cf3fafb2 100644 --- a/ui/app/models/secret-engine.js +++ b/ui/app/models/secret-engine.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr, belongsTo } from '@ember-data/model'; import { computed } from '@ember/object'; // eslint-disable-line import { equal } from '@ember/object/computed'; // eslint-disable-line diff --git a/ui/app/models/secret-v2-version.js b/ui/app/models/secret-v2-version.js index f413148f2..58402531b 100644 --- a/ui/app/models/secret-v2-version.js +++ b/ui/app/models/secret-v2-version.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { belongsTo, attr } from '@ember-data/model'; import SecretModel from './secret'; diff --git a/ui/app/models/secret-v2.js b/ui/app/models/secret-v2.js index c4945fcce..21ae5af59 100644 --- a/ui/app/models/secret-v2.js +++ b/ui/app/models/secret-v2.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { belongsTo, hasMany, attr } from '@ember-data/model'; import { computed } from '@ember/object'; // eslint-disable-line import { alias } from '@ember/object/computed'; // eslint-disable-line diff --git a/ui/app/models/secret.js b/ui/app/models/secret.js index 86c528b26..83c06782b 100644 --- a/ui/app/models/secret.js +++ b/ui/app/models/secret.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import { alias } from '@ember/object/computed'; diff --git a/ui/app/models/server.js b/ui/app/models/server.js index 62dc72727..ba612f1cf 100644 --- a/ui/app/models/server.js +++ b/ui/app/models/server.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; //{"node_id":"1249bfbc-b234-96f3-0c66-07078ac3e16e","address":"127.0.0.1:8201","leader":true,"protocol_version":"3","voter":true} diff --git a/ui/app/models/ssh-otp-credential.js b/ui/app/models/ssh-otp-credential.js index 8b5ed9fee..b7044aa48 100644 --- a/ui/app/models/ssh-otp-credential.js +++ b/ui/app/models/ssh-otp-credential.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { reads } from '@ember/object/computed'; import Model, { attr } from '@ember-data/model'; import { computed } from '@ember/object'; diff --git a/ui/app/models/ssh-sign.js b/ui/app/models/ssh-sign.js index 95377db37..1937479da 100644 --- a/ui/app/models/ssh-sign.js +++ b/ui/app/models/ssh-sign.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import { expandAttributeMeta } from 'vault/utils/field-to-attrs'; diff --git a/ui/app/models/test-form-model.js b/ui/app/models/test-form-model.js index ccf6d2e7a..8d47285d9 100644 --- a/ui/app/models/test-form-model.js +++ b/ui/app/models/test-form-model.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // this model is just used for integration tests // diff --git a/ui/app/models/transform.js b/ui/app/models/transform.js index 893c5a09a..043f0430d 100644 --- a/ui/app/models/transform.js +++ b/ui/app/models/transform.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import { apiPath } from 'vault/macros/lazy-capabilities'; diff --git a/ui/app/models/transform/alphabet.js b/ui/app/models/transform/alphabet.js index 2d9530b62..8f7f66178 100644 --- a/ui/app/models/transform/alphabet.js +++ b/ui/app/models/transform/alphabet.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import { apiPath } from 'vault/macros/lazy-capabilities'; diff --git a/ui/app/models/transform/role.js b/ui/app/models/transform/role.js index f750586fe..daee45312 100644 --- a/ui/app/models/transform/role.js +++ b/ui/app/models/transform/role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import { apiPath } from 'vault/macros/lazy-capabilities'; diff --git a/ui/app/models/transform/template.js b/ui/app/models/transform/template.js index f88438e30..0716d67e0 100644 --- a/ui/app/models/transform/template.js +++ b/ui/app/models/transform/template.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { computed } from '@ember/object'; import { apiPath } from 'vault/macros/lazy-capabilities'; diff --git a/ui/app/models/transit-key.js b/ui/app/models/transit-key.js index d50f56451..01e92b3c8 100644 --- a/ui/app/models/transit-key.js +++ b/ui/app/models/transit-key.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model, { attr } from '@ember-data/model'; import { alias } from '@ember/object/computed'; import { set, get, computed } from '@ember/object'; diff --git a/ui/app/router.js b/ui/app/router.js index 12f68aba4..1ac717569 100644 --- a/ui/app/router.js +++ b/ui/app/router.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import EmberRouter from '@ember/routing/router'; import config from 'vault/config/environment'; diff --git a/ui/app/routes/application.js b/ui/app/routes/application.js index c5baa0a05..5ac7b0ea1 100644 --- a/ui/app/routes/application.js +++ b/ui/app/routes/application.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Route from '@ember/routing/route'; import ControlGroupError from 'vault/lib/control-group-error'; diff --git a/ui/app/routes/loading.js b/ui/app/routes/loading.js index ad5294e83..3818725d7 100644 --- a/ui/app/routes/loading.js +++ b/ui/app/routes/loading.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default Route.extend({ diff --git a/ui/app/routes/vault.js b/ui/app/routes/vault.js index 1e14d0c66..625a74b21 100644 --- a/ui/app/routes/vault.js +++ b/ui/app/routes/vault.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { later } from '@ember/runloop'; import { Promise } from 'rsvp'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster.js b/ui/app/routes/vault/cluster.js index 4a115fefe..b12ab3564 100644 --- a/ui/app/routes/vault/cluster.js +++ b/ui/app/routes/vault/cluster.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { computed } from '@ember/object'; import { reject } from 'rsvp'; diff --git a/ui/app/routes/vault/cluster/access.js b/ui/app/routes/vault/cluster/access.js index e4b6db7a4..5c1e44f44 100644 --- a/ui/app/routes/vault/cluster/access.js +++ b/ui/app/routes/vault/cluster/access.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { computed } from '@ember/object'; import Route from '@ember/routing/route'; import ClusterRoute from 'vault/mixins/cluster-route'; diff --git a/ui/app/routes/vault/cluster/access/control-group-accessor.js b/ui/app/routes/vault/cluster/access/control-group-accessor.js index 06f0f7f27..fffa2819b 100644 --- a/ui/app/routes/vault/cluster/access/control-group-accessor.js +++ b/ui/app/routes/vault/cluster/access/control-group-accessor.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Route from '@ember/routing/route'; import UnloadModel from 'vault/mixins/unload-model-route'; diff --git a/ui/app/routes/vault/cluster/access/control-groups-configure.js b/ui/app/routes/vault/cluster/access/control-groups-configure.js index 19fba46eb..9b6bd6f81 100644 --- a/ui/app/routes/vault/cluster/access/control-groups-configure.js +++ b/ui/app/routes/vault/cluster/access/control-groups-configure.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Route from '@ember/routing/route'; import UnloadModel from 'vault/mixins/unload-model-route'; diff --git a/ui/app/routes/vault/cluster/access/control-groups.js b/ui/app/routes/vault/cluster/access/control-groups.js index 3d0ba9475..bf6b119e4 100644 --- a/ui/app/routes/vault/cluster/access/control-groups.js +++ b/ui/app/routes/vault/cluster/access/control-groups.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Route from '@ember/routing/route'; import UnloadModel from 'vault/mixins/unload-model-route'; diff --git a/ui/app/routes/vault/cluster/access/identity.js b/ui/app/routes/vault/cluster/access/identity.js index 5c07e9435..eabdc0089 100644 --- a/ui/app/routes/vault/cluster/access/identity.js +++ b/ui/app/routes/vault/cluster/access/identity.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AdapterError from '@ember-data/adapter/error'; import { set } from '@ember/object'; import Route from '@ember/routing/route'; diff --git a/ui/app/routes/vault/cluster/access/identity/aliases/add.js b/ui/app/routes/vault/cluster/access/identity/aliases/add.js index 41f257745..1d9b0064c 100644 --- a/ui/app/routes/vault/cluster/access/identity/aliases/add.js +++ b/ui/app/routes/vault/cluster/access/identity/aliases/add.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import UnloadModelRoute from 'vault/mixins/unload-model-route'; import UnsavedModelRoute from 'vault/mixins/unsaved-model-route'; diff --git a/ui/app/routes/vault/cluster/access/identity/aliases/edit.js b/ui/app/routes/vault/cluster/access/identity/aliases/edit.js index 1c3187d39..308b9eda9 100644 --- a/ui/app/routes/vault/cluster/access/identity/aliases/edit.js +++ b/ui/app/routes/vault/cluster/access/identity/aliases/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import UnloadModelRoute from 'vault/mixins/unload-model-route'; import UnsavedModelRoute from 'vault/mixins/unsaved-model-route'; diff --git a/ui/app/routes/vault/cluster/access/identity/aliases/index.js b/ui/app/routes/vault/cluster/access/identity/aliases/index.js index a20d14480..3455935e5 100644 --- a/ui/app/routes/vault/cluster/access/identity/aliases/index.js +++ b/ui/app/routes/vault/cluster/access/identity/aliases/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import ListRoute from 'core/mixins/list-route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/identity/aliases/show.js b/ui/app/routes/vault/cluster/access/identity/aliases/show.js index ef7b5c35c..074bdf4f6 100644 --- a/ui/app/routes/vault/cluster/access/identity/aliases/show.js +++ b/ui/app/routes/vault/cluster/access/identity/aliases/show.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AdapterError from '@ember-data/adapter/error'; import { hash } from 'rsvp'; import { set } from '@ember/object'; diff --git a/ui/app/routes/vault/cluster/access/identity/create.js b/ui/app/routes/vault/cluster/access/identity/create.js index c6d156cf0..6b7df568f 100644 --- a/ui/app/routes/vault/cluster/access/identity/create.js +++ b/ui/app/routes/vault/cluster/access/identity/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import UnloadModelRoute from 'vault/mixins/unload-model-route'; import UnsavedModelRoute from 'vault/mixins/unsaved-model-route'; diff --git a/ui/app/routes/vault/cluster/access/identity/edit.js b/ui/app/routes/vault/cluster/access/identity/edit.js index cd2aec8f8..712772010 100644 --- a/ui/app/routes/vault/cluster/access/identity/edit.js +++ b/ui/app/routes/vault/cluster/access/identity/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import UnloadModelRoute from 'vault/mixins/unload-model-route'; import UnsavedModelRoute from 'vault/mixins/unsaved-model-route'; diff --git a/ui/app/routes/vault/cluster/access/identity/index.js b/ui/app/routes/vault/cluster/access/identity/index.js index 541493204..f709021cd 100644 --- a/ui/app/routes/vault/cluster/access/identity/index.js +++ b/ui/app/routes/vault/cluster/access/identity/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import ListRoute from 'core/mixins/list-route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/identity/merge.js b/ui/app/routes/vault/cluster/access/identity/merge.js index 5dca80d1e..c61d33f92 100644 --- a/ui/app/routes/vault/cluster/access/identity/merge.js +++ b/ui/app/routes/vault/cluster/access/identity/merge.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import UnloadModelRoute from 'vault/mixins/unload-model-route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/identity/show.js b/ui/app/routes/vault/cluster/access/identity/show.js index 9bd1db632..5a4e36e89 100644 --- a/ui/app/routes/vault/cluster/access/identity/show.js +++ b/ui/app/routes/vault/cluster/access/identity/show.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AdapterError from '@ember-data/adapter/error'; import { next } from '@ember/runloop'; import { hash } from 'rsvp'; diff --git a/ui/app/routes/vault/cluster/access/leases.js b/ui/app/routes/vault/cluster/access/leases.js index 3a95c8807..39d599afb 100644 --- a/ui/app/routes/vault/cluster/access/leases.js +++ b/ui/app/routes/vault/cluster/access/leases.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import ClusterRoute from 'vault/mixins/cluster-route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/leases/index.js b/ui/app/routes/vault/cluster/access/leases/index.js index ae716fd52..01e74e28c 100644 --- a/ui/app/routes/vault/cluster/access/leases/index.js +++ b/ui/app/routes/vault/cluster/access/leases/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default Route.extend({ diff --git a/ui/app/routes/vault/cluster/access/leases/list-root.js b/ui/app/routes/vault/cluster/access/leases/list-root.js index ea1fedd0a..eb7ed18e3 100644 --- a/ui/app/routes/vault/cluster/access/leases/list-root.js +++ b/ui/app/routes/vault/cluster/access/leases/list-root.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from './list'; diff --git a/ui/app/routes/vault/cluster/access/leases/list.js b/ui/app/routes/vault/cluster/access/leases/list.js index 56f4f7bc1..c6f951d84 100644 --- a/ui/app/routes/vault/cluster/access/leases/list.js +++ b/ui/app/routes/vault/cluster/access/leases/list.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { set } from '@ember/object'; import { hash } from 'rsvp'; import Route from '@ember/routing/route'; diff --git a/ui/app/routes/vault/cluster/access/leases/show.js b/ui/app/routes/vault/cluster/access/leases/show.js index 6c1cc3c40..b8035e565 100644 --- a/ui/app/routes/vault/cluster/access/leases/show.js +++ b/ui/app/routes/vault/cluster/access/leases/show.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { set } from '@ember/object'; import { hash } from 'rsvp'; import Route from '@ember/routing/route'; diff --git a/ui/app/routes/vault/cluster/access/method.js b/ui/app/routes/vault/cluster/access/method.js index 4d2cee673..ade257b2e 100644 --- a/ui/app/routes/vault/cluster/access/method.js +++ b/ui/app/routes/vault/cluster/access/method.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AdapterError from '@ember-data/adapter/error'; import { set } from '@ember/object'; import Route from '@ember/routing/route'; diff --git a/ui/app/routes/vault/cluster/access/method/index.js b/ui/app/routes/vault/cluster/access/method/index.js index 356fdef7b..b5a5c658d 100644 --- a/ui/app/routes/vault/cluster/access/method/index.js +++ b/ui/app/routes/vault/cluster/access/method/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { tabsForAuthSection } from 'vault/helpers/tabs-for-auth-section'; export default Route.extend({ diff --git a/ui/app/routes/vault/cluster/access/method/item.js b/ui/app/routes/vault/cluster/access/method/item.js index f0416d8ab..e39b52c3d 100644 --- a/ui/app/routes/vault/cluster/access/method/item.js +++ b/ui/app/routes/vault/cluster/access/method/item.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Route from '@ember/routing/route'; import { singularize } from 'ember-inflector'; diff --git a/ui/app/routes/vault/cluster/access/method/item/create.js b/ui/app/routes/vault/cluster/access/method/item/create.js index d4e28837f..32da7a3aa 100644 --- a/ui/app/routes/vault/cluster/access/method/item/create.js +++ b/ui/app/routes/vault/cluster/access/method/item/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import UnloadModelRoute from 'vault/mixins/unload-model-route'; import UnsavedModelRoute from 'vault/mixins/unsaved-model-route'; diff --git a/ui/app/routes/vault/cluster/access/method/item/edit.js b/ui/app/routes/vault/cluster/access/method/item/edit.js index 4efa08722..fcf4a5fd1 100644 --- a/ui/app/routes/vault/cluster/access/method/item/edit.js +++ b/ui/app/routes/vault/cluster/access/method/item/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import UnloadModelRoute from 'vault/mixins/unload-model-route'; import UnsavedModelRoute from 'vault/mixins/unsaved-model-route'; diff --git a/ui/app/routes/vault/cluster/access/method/item/list.js b/ui/app/routes/vault/cluster/access/method/item/list.js index 8ae1ef613..65f43d778 100644 --- a/ui/app/routes/vault/cluster/access/method/item/list.js +++ b/ui/app/routes/vault/cluster/access/method/item/list.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Route from '@ember/routing/route'; import { singularize } from 'ember-inflector'; diff --git a/ui/app/routes/vault/cluster/access/method/item/show.js b/ui/app/routes/vault/cluster/access/method/item/show.js index dce900bf8..5617d078a 100644 --- a/ui/app/routes/vault/cluster/access/method/item/show.js +++ b/ui/app/routes/vault/cluster/access/method/item/show.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { singularize } from 'ember-inflector'; import { inject as service } from '@ember/service'; import Route from '@ember/routing/route'; diff --git a/ui/app/routes/vault/cluster/access/method/section.js b/ui/app/routes/vault/cluster/access/method/section.js index 5a5a29c25..fa6539f18 100644 --- a/ui/app/routes/vault/cluster/access/method/section.js +++ b/ui/app/routes/vault/cluster/access/method/section.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AdapterError from '@ember-data/adapter/error'; import { set } from '@ember/object'; import Route from '@ember/routing/route'; diff --git a/ui/app/routes/vault/cluster/access/methods.js b/ui/app/routes/vault/cluster/access/methods.js index e3582e21c..e776b2dd4 100644 --- a/ui/app/routes/vault/cluster/access/methods.js +++ b/ui/app/routes/vault/cluster/access/methods.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/mfa/enforcements/create.js b/ui/app/routes/vault/cluster/access/mfa/enforcements/create.js index 6823de352..26e4e3520 100644 --- a/ui/app/routes/vault/cluster/access/mfa/enforcements/create.js +++ b/ui/app/routes/vault/cluster/access/mfa/enforcements/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/mfa/enforcements/enforcement.js b/ui/app/routes/vault/cluster/access/mfa/enforcements/enforcement.js index b03366b30..130196534 100644 --- a/ui/app/routes/vault/cluster/access/mfa/enforcements/enforcement.js +++ b/ui/app/routes/vault/cluster/access/mfa/enforcements/enforcement.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/mfa/enforcements/enforcement/edit.js b/ui/app/routes/vault/cluster/access/mfa/enforcements/enforcement/edit.js index 1655c46c7..6a27d545c 100644 --- a/ui/app/routes/vault/cluster/access/mfa/enforcements/enforcement/edit.js +++ b/ui/app/routes/vault/cluster/access/mfa/enforcements/enforcement/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default class MfaLoginEnforcementEditRoute extends Route {} diff --git a/ui/app/routes/vault/cluster/access/mfa/enforcements/index.js b/ui/app/routes/vault/cluster/access/mfa/enforcements/index.js index 98221325d..7b656fdc2 100644 --- a/ui/app/routes/vault/cluster/access/mfa/enforcements/index.js +++ b/ui/app/routes/vault/cluster/access/mfa/enforcements/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/mfa/index.js b/ui/app/routes/vault/cluster/access/mfa/index.js index 54f6f0837..ef12533aa 100644 --- a/ui/app/routes/vault/cluster/access/mfa/index.js +++ b/ui/app/routes/vault/cluster/access/mfa/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/mfa/methods/create.js b/ui/app/routes/vault/cluster/access/mfa/methods/create.js index 8802e86ab..f5c3ced04 100644 --- a/ui/app/routes/vault/cluster/access/mfa/methods/create.js +++ b/ui/app/routes/vault/cluster/access/mfa/methods/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default class MfaLoginEnforcementCreateRoute extends Route { diff --git a/ui/app/routes/vault/cluster/access/mfa/methods/index.js b/ui/app/routes/vault/cluster/access/mfa/methods/index.js index 12f53e2b2..7be2c2dba 100644 --- a/ui/app/routes/vault/cluster/access/mfa/methods/index.js +++ b/ui/app/routes/vault/cluster/access/mfa/methods/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/mfa/methods/method.js b/ui/app/routes/vault/cluster/access/mfa/methods/method.js index 8f7aa7ae1..f518efadd 100644 --- a/ui/app/routes/vault/cluster/access/mfa/methods/method.js +++ b/ui/app/routes/vault/cluster/access/mfa/methods/method.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { hash } from 'rsvp'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/mfa/methods/method/edit.js b/ui/app/routes/vault/cluster/access/mfa/methods/method/edit.js index cd3d72b67..4dcdd876f 100644 --- a/ui/app/routes/vault/cluster/access/mfa/methods/method/edit.js +++ b/ui/app/routes/vault/cluster/access/mfa/methods/method/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default class MfaMethodEditRoute extends Route {} diff --git a/ui/app/routes/vault/cluster/access/namespaces/create.js b/ui/app/routes/vault/cluster/access/namespaces/create.js index 6af39cdd0..14aee2519 100644 --- a/ui/app/routes/vault/cluster/access/namespaces/create.js +++ b/ui/app/routes/vault/cluster/access/namespaces/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Route from '@ember/routing/route'; import UnloadModel from 'vault/mixins/unload-model-route'; diff --git a/ui/app/routes/vault/cluster/access/namespaces/index.js b/ui/app/routes/vault/cluster/access/namespaces/index.js index 8e2ebd5fe..f662de65f 100644 --- a/ui/app/routes/vault/cluster/access/namespaces/index.js +++ b/ui/app/routes/vault/cluster/access/namespaces/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Route from '@ember/routing/route'; import UnloadModel from 'vault/mixins/unload-model-route'; diff --git a/ui/app/routes/vault/cluster/access/oidc.js b/ui/app/routes/vault/cluster/access/oidc.js index 18903d49e..4683b3a63 100644 --- a/ui/app/routes/vault/cluster/access/oidc.js +++ b/ui/app/routes/vault/cluster/access/oidc.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default class OidcConfigureRoute extends Route {} diff --git a/ui/app/routes/vault/cluster/access/oidc/assignments/assignment.js b/ui/app/routes/vault/cluster/access/oidc/assignments/assignment.js index ce93c068c..0dc5133cf 100644 --- a/ui/app/routes/vault/cluster/access/oidc/assignments/assignment.js +++ b/ui/app/routes/vault/cluster/access/oidc/assignments/assignment.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/oidc/assignments/assignment/details.js b/ui/app/routes/vault/cluster/access/oidc/assignments/assignment/details.js index bdc58a723..9f353a808 100644 --- a/ui/app/routes/vault/cluster/access/oidc/assignments/assignment/details.js +++ b/ui/app/routes/vault/cluster/access/oidc/assignments/assignment/details.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default class OidcAssignmentDetailsRoute extends Route {} diff --git a/ui/app/routes/vault/cluster/access/oidc/assignments/assignment/edit.js b/ui/app/routes/vault/cluster/access/oidc/assignments/assignment/edit.js index e4dd299a2..94f96b465 100644 --- a/ui/app/routes/vault/cluster/access/oidc/assignments/assignment/edit.js +++ b/ui/app/routes/vault/cluster/access/oidc/assignments/assignment/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default class OidcAssignmentEditRoute extends Route {} diff --git a/ui/app/routes/vault/cluster/access/oidc/assignments/create.js b/ui/app/routes/vault/cluster/access/oidc/assignments/create.js index 3122b298f..fc650930f 100644 --- a/ui/app/routes/vault/cluster/access/oidc/assignments/create.js +++ b/ui/app/routes/vault/cluster/access/oidc/assignments/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/oidc/assignments/index.js b/ui/app/routes/vault/cluster/access/oidc/assignments/index.js index 7161621b2..3c25c9540 100644 --- a/ui/app/routes/vault/cluster/access/oidc/assignments/index.js +++ b/ui/app/routes/vault/cluster/access/oidc/assignments/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/oidc/clients/client.js b/ui/app/routes/vault/cluster/access/oidc/clients/client.js index 58a062d81..cd90870a3 100644 --- a/ui/app/routes/vault/cluster/access/oidc/clients/client.js +++ b/ui/app/routes/vault/cluster/access/oidc/clients/client.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/oidc/clients/client/details.js b/ui/app/routes/vault/cluster/access/oidc/clients/client/details.js index db38b6058..c02c28ea4 100644 --- a/ui/app/routes/vault/cluster/access/oidc/clients/client/details.js +++ b/ui/app/routes/vault/cluster/access/oidc/clients/client/details.js @@ -1,2 +1,7 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default class OidcClientDetailsRoute extends Route {} diff --git a/ui/app/routes/vault/cluster/access/oidc/clients/client/edit.js b/ui/app/routes/vault/cluster/access/oidc/clients/client/edit.js index fd4e7a5bb..a2aee447e 100644 --- a/ui/app/routes/vault/cluster/access/oidc/clients/client/edit.js +++ b/ui/app/routes/vault/cluster/access/oidc/clients/client/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default class OidcClientEditRoute extends Route {} diff --git a/ui/app/routes/vault/cluster/access/oidc/clients/client/providers.js b/ui/app/routes/vault/cluster/access/oidc/clients/client/providers.js index d6c99553f..26f77b3bd 100644 --- a/ui/app/routes/vault/cluster/access/oidc/clients/client/providers.js +++ b/ui/app/routes/vault/cluster/access/oidc/clients/client/providers.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/oidc/clients/create.js b/ui/app/routes/vault/cluster/access/oidc/clients/create.js index 163a5d06d..317ec6944 100644 --- a/ui/app/routes/vault/cluster/access/oidc/clients/create.js +++ b/ui/app/routes/vault/cluster/access/oidc/clients/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/oidc/clients/index.js b/ui/app/routes/vault/cluster/access/oidc/clients/index.js index c2f4607b0..4f932de5d 100644 --- a/ui/app/routes/vault/cluster/access/oidc/clients/index.js +++ b/ui/app/routes/vault/cluster/access/oidc/clients/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; export default class OidcClientsRoute extends Route { diff --git a/ui/app/routes/vault/cluster/access/oidc/index.js b/ui/app/routes/vault/cluster/access/oidc/index.js index 716f6aa3b..a85a4d6ab 100644 --- a/ui/app/routes/vault/cluster/access/oidc/index.js +++ b/ui/app/routes/vault/cluster/access/oidc/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/oidc/keys/create.js b/ui/app/routes/vault/cluster/access/oidc/keys/create.js index a8fdea0bb..c34f8c8fc 100644 --- a/ui/app/routes/vault/cluster/access/oidc/keys/create.js +++ b/ui/app/routes/vault/cluster/access/oidc/keys/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/oidc/keys/index.js b/ui/app/routes/vault/cluster/access/oidc/keys/index.js index c0bfcb7a7..4e0d8355c 100644 --- a/ui/app/routes/vault/cluster/access/oidc/keys/index.js +++ b/ui/app/routes/vault/cluster/access/oidc/keys/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/oidc/keys/key.js b/ui/app/routes/vault/cluster/access/oidc/keys/key.js index 79b56ac2e..84d8865d9 100644 --- a/ui/app/routes/vault/cluster/access/oidc/keys/key.js +++ b/ui/app/routes/vault/cluster/access/oidc/keys/key.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/oidc/keys/key/clients.js b/ui/app/routes/vault/cluster/access/oidc/keys/key/clients.js index eee5d7e5e..f295cfd70 100644 --- a/ui/app/routes/vault/cluster/access/oidc/keys/key/clients.js +++ b/ui/app/routes/vault/cluster/access/oidc/keys/key/clients.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/oidc/keys/key/details.js b/ui/app/routes/vault/cluster/access/oidc/keys/key/details.js index df05a168c..6762ec30f 100644 --- a/ui/app/routes/vault/cluster/access/oidc/keys/key/details.js +++ b/ui/app/routes/vault/cluster/access/oidc/keys/key/details.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default class OidcKeyDetailsRoute extends Route {} diff --git a/ui/app/routes/vault/cluster/access/oidc/keys/key/edit.js b/ui/app/routes/vault/cluster/access/oidc/keys/key/edit.js index c86f197c3..f21031e3f 100644 --- a/ui/app/routes/vault/cluster/access/oidc/keys/key/edit.js +++ b/ui/app/routes/vault/cluster/access/oidc/keys/key/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default class OidcKeyEditRoute extends Route {} diff --git a/ui/app/routes/vault/cluster/access/oidc/providers/create.js b/ui/app/routes/vault/cluster/access/oidc/providers/create.js index 7f0908e43..f4d1a36ad 100644 --- a/ui/app/routes/vault/cluster/access/oidc/providers/create.js +++ b/ui/app/routes/vault/cluster/access/oidc/providers/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/oidc/providers/index.js b/ui/app/routes/vault/cluster/access/oidc/providers/index.js index 6314f0a81..5b172e34f 100644 --- a/ui/app/routes/vault/cluster/access/oidc/providers/index.js +++ b/ui/app/routes/vault/cluster/access/oidc/providers/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/oidc/providers/provider.js b/ui/app/routes/vault/cluster/access/oidc/providers/provider.js index c8d4625b1..d658ca39a 100644 --- a/ui/app/routes/vault/cluster/access/oidc/providers/provider.js +++ b/ui/app/routes/vault/cluster/access/oidc/providers/provider.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/oidc/providers/provider/clients.js b/ui/app/routes/vault/cluster/access/oidc/providers/provider/clients.js index 7d1ca0590..c7d98a0bd 100644 --- a/ui/app/routes/vault/cluster/access/oidc/providers/provider/clients.js +++ b/ui/app/routes/vault/cluster/access/oidc/providers/provider/clients.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/oidc/providers/provider/details.js b/ui/app/routes/vault/cluster/access/oidc/providers/provider/details.js index af4d1077d..9faa77b17 100644 --- a/ui/app/routes/vault/cluster/access/oidc/providers/provider/details.js +++ b/ui/app/routes/vault/cluster/access/oidc/providers/provider/details.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default class OidcProviderDetailsRoute extends Route {} diff --git a/ui/app/routes/vault/cluster/access/oidc/providers/provider/edit.js b/ui/app/routes/vault/cluster/access/oidc/providers/provider/edit.js index 365b2328e..ad1e9fc13 100644 --- a/ui/app/routes/vault/cluster/access/oidc/providers/provider/edit.js +++ b/ui/app/routes/vault/cluster/access/oidc/providers/provider/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default class OidcProviderEditRoute extends Route {} diff --git a/ui/app/routes/vault/cluster/access/oidc/scopes/create.js b/ui/app/routes/vault/cluster/access/oidc/scopes/create.js index 25b8ece90..65c1a5d64 100644 --- a/ui/app/routes/vault/cluster/access/oidc/scopes/create.js +++ b/ui/app/routes/vault/cluster/access/oidc/scopes/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/oidc/scopes/index.js b/ui/app/routes/vault/cluster/access/oidc/scopes/index.js index aa6b872af..64383c7df 100644 --- a/ui/app/routes/vault/cluster/access/oidc/scopes/index.js +++ b/ui/app/routes/vault/cluster/access/oidc/scopes/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/oidc/scopes/scope.js b/ui/app/routes/vault/cluster/access/oidc/scopes/scope.js index ba90b37a9..e3ad2260f 100644 --- a/ui/app/routes/vault/cluster/access/oidc/scopes/scope.js +++ b/ui/app/routes/vault/cluster/access/oidc/scopes/scope.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/access/oidc/scopes/scope/details.js b/ui/app/routes/vault/cluster/access/oidc/scopes/scope/details.js index 6047afcfc..5973918c9 100644 --- a/ui/app/routes/vault/cluster/access/oidc/scopes/scope/details.js +++ b/ui/app/routes/vault/cluster/access/oidc/scopes/scope/details.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default class OidcScopeDetailsRoute extends Route {} diff --git a/ui/app/routes/vault/cluster/access/oidc/scopes/scope/edit.js b/ui/app/routes/vault/cluster/access/oidc/scopes/scope/edit.js index fc8b61fc0..0140ac9e4 100644 --- a/ui/app/routes/vault/cluster/access/oidc/scopes/scope/edit.js +++ b/ui/app/routes/vault/cluster/access/oidc/scopes/scope/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default class OidcScopeEditRoute extends Route {} diff --git a/ui/app/routes/vault/cluster/auth.js b/ui/app/routes/vault/cluster/auth.js index 7bf2e80f9..d20c249b3 100644 --- a/ui/app/routes/vault/cluster/auth.js +++ b/ui/app/routes/vault/cluster/auth.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import ClusterRouteBase from './cluster-route-base'; import config from 'vault/config/environment'; diff --git a/ui/app/routes/vault/cluster/clients.js b/ui/app/routes/vault/cluster/clients.js index c7af00950..44ee11fc0 100644 --- a/ui/app/routes/vault/cluster/clients.js +++ b/ui/app/routes/vault/cluster/clients.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { hash } from 'rsvp'; import { action } from '@ember/object'; diff --git a/ui/app/routes/vault/cluster/clients/config.js b/ui/app/routes/vault/cluster/clients/config.js index b6bc3ef98..b1046dbcd 100644 --- a/ui/app/routes/vault/cluster/clients/config.js +++ b/ui/app/routes/vault/cluster/clients/config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/clients/dashboard.js b/ui/app/routes/vault/cluster/clients/dashboard.js index 3968d6b84..a9782f65b 100644 --- a/ui/app/routes/vault/cluster/clients/dashboard.js +++ b/ui/app/routes/vault/cluster/clients/dashboard.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import getStorage from 'vault/lib/token-storage'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/clients/edit.js b/ui/app/routes/vault/cluster/clients/edit.js index 6029e449c..d296d9aa1 100644 --- a/ui/app/routes/vault/cluster/clients/edit.js +++ b/ui/app/routes/vault/cluster/clients/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/cluster-route-base.js b/ui/app/routes/vault/cluster/cluster-route-base.js index d4387968d..30972254a 100644 --- a/ui/app/routes/vault/cluster/cluster-route-base.js +++ b/ui/app/routes/vault/cluster/cluster-route-base.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // this is the base route for // all of the CLUSTER_ROUTES that are states before you can use vault // diff --git a/ui/app/routes/vault/cluster/index.js b/ui/app/routes/vault/cluster/index.js index 13f8d4911..2397a7e34 100644 --- a/ui/app/routes/vault/cluster/index.js +++ b/ui/app/routes/vault/cluster/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default Route.extend({ diff --git a/ui/app/routes/vault/cluster/init.js b/ui/app/routes/vault/cluster/init.js index 1495fc503..cca869128 100644 --- a/ui/app/routes/vault/cluster/init.js +++ b/ui/app/routes/vault/cluster/init.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ClusterRoute from './cluster-route-base'; export default ClusterRoute.extend({}); diff --git a/ui/app/routes/vault/cluster/license.js b/ui/app/routes/vault/cluster/license.js index 80ebba1e3..a295df6a1 100644 --- a/ui/app/routes/vault/cluster/license.js +++ b/ui/app/routes/vault/cluster/license.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import ClusterRoute from 'vault/mixins/cluster-route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/logout.js b/ui/app/routes/vault/cluster/logout.js index 11913ffa4..18ff383ba 100644 --- a/ui/app/routes/vault/cluster/logout.js +++ b/ui/app/routes/vault/cluster/logout.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Ember from 'ember'; import { computed } from '@ember/object'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/mfa-setup.js b/ui/app/routes/vault/cluster/mfa-setup.js index e8f10fa09..b8aa955a6 100644 --- a/ui/app/routes/vault/cluster/mfa-setup.js +++ b/ui/app/routes/vault/cluster/mfa-setup.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default class MfaSetupRoute extends Route {} diff --git a/ui/app/routes/vault/cluster/oidc-callback.js b/ui/app/routes/vault/cluster/oidc-callback.js index c7fa09918..5d8dd2750 100644 --- a/ui/app/routes/vault/cluster/oidc-callback.js +++ b/ui/app/routes/vault/cluster/oidc-callback.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default Route.extend({ diff --git a/ui/app/routes/vault/cluster/oidc-provider-ns.js b/ui/app/routes/vault/cluster/oidc-provider-ns.js index cee41094b..d056e4e2e 100644 --- a/ui/app/routes/vault/cluster/oidc-provider-ns.js +++ b/ui/app/routes/vault/cluster/oidc-provider-ns.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import VaultClusterOidcProviderRoute from './oidc-provider'; export default class VaultClusterOidcProviderNsRoute extends VaultClusterOidcProviderRoute {} diff --git a/ui/app/routes/vault/cluster/oidc-provider.js b/ui/app/routes/vault/cluster/oidc-provider.js index 8dcfe1257..849d07e79 100644 --- a/ui/app/routes/vault/cluster/oidc-provider.js +++ b/ui/app/routes/vault/cluster/oidc-provider.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Ember from 'ember'; import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/policies.js b/ui/app/routes/vault/cluster/policies.js index da72c00aa..aead6a479 100644 --- a/ui/app/routes/vault/cluster/policies.js +++ b/ui/app/routes/vault/cluster/policies.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Route from '@ember/routing/route'; import ClusterRoute from 'vault/mixins/cluster-route'; diff --git a/ui/app/routes/vault/cluster/policies/create.js b/ui/app/routes/vault/cluster/policies/create.js index c4256b052..a16840df4 100644 --- a/ui/app/routes/vault/cluster/policies/create.js +++ b/ui/app/routes/vault/cluster/policies/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Route from '@ember/routing/route'; import UnloadModelRoute from 'vault/mixins/unload-model-route'; diff --git a/ui/app/routes/vault/cluster/policies/index.js b/ui/app/routes/vault/cluster/policies/index.js index 7650e8bc8..f088a4dd3 100644 --- a/ui/app/routes/vault/cluster/policies/index.js +++ b/ui/app/routes/vault/cluster/policies/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Route from '@ember/routing/route'; import ClusterRoute from 'vault/mixins/cluster-route'; diff --git a/ui/app/routes/vault/cluster/policy.js b/ui/app/routes/vault/cluster/policy.js index 3d017ac97..1241f7824 100644 --- a/ui/app/routes/vault/cluster/policy.js +++ b/ui/app/routes/vault/cluster/policy.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Route from '@ember/routing/route'; import ClusterRoute from 'vault/mixins/cluster-route'; diff --git a/ui/app/routes/vault/cluster/policy/edit.js b/ui/app/routes/vault/cluster/policy/edit.js index b5a186dd9..ddc0f5a7f 100644 --- a/ui/app/routes/vault/cluster/policy/edit.js +++ b/ui/app/routes/vault/cluster/policy/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import UnsavedModelRoute from 'vault/mixins/unsaved-model-route'; import ShowRoute from './show'; diff --git a/ui/app/routes/vault/cluster/policy/index.js b/ui/app/routes/vault/cluster/policy/index.js index 47b03d9db..76c71e777 100644 --- a/ui/app/routes/vault/cluster/policy/index.js +++ b/ui/app/routes/vault/cluster/policy/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default Route.extend({ diff --git a/ui/app/routes/vault/cluster/policy/show.js b/ui/app/routes/vault/cluster/policy/show.js index e6d1e9ac2..8194b1a3b 100644 --- a/ui/app/routes/vault/cluster/policy/show.js +++ b/ui/app/routes/vault/cluster/policy/show.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { hash } from 'rsvp'; import Route from '@ember/routing/route'; import UnloadModelRoute from 'vault/mixins/unload-model-route'; diff --git a/ui/app/routes/vault/cluster/redirect.js b/ui/app/routes/vault/cluster/redirect.js index 2f58ddfd2..f80e63865 100644 --- a/ui/app/routes/vault/cluster/redirect.js +++ b/ui/app/routes/vault/cluster/redirect.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; import { AUTH, CLUSTER } from 'vault/lib/route-paths'; diff --git a/ui/app/routes/vault/cluster/replication-dr-promote/details.js b/ui/app/routes/vault/cluster/replication-dr-promote/details.js index 99614cc98..4f504a580 100644 --- a/ui/app/routes/vault/cluster/replication-dr-promote/details.js +++ b/ui/app/routes/vault/cluster/replication-dr-promote/details.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Base from '../cluster-route-base'; diff --git a/ui/app/routes/vault/cluster/replication-dr-promote/index.js b/ui/app/routes/vault/cluster/replication-dr-promote/index.js index 99614cc98..4f504a580 100644 --- a/ui/app/routes/vault/cluster/replication-dr-promote/index.js +++ b/ui/app/routes/vault/cluster/replication-dr-promote/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Base from '../cluster-route-base'; diff --git a/ui/app/routes/vault/cluster/secrets.js b/ui/app/routes/vault/cluster/secrets.js index e0b62295b..d2ddd1e4b 100644 --- a/ui/app/routes/vault/cluster/secrets.js +++ b/ui/app/routes/vault/cluster/secrets.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import ClusterRoute from 'vault/mixins/cluster-route'; diff --git a/ui/app/routes/vault/cluster/secrets/backend.js b/ui/app/routes/vault/cluster/secrets/backend.js index cfa02e890..99a97b4a0 100644 --- a/ui/app/routes/vault/cluster/secrets/backend.js +++ b/ui/app/routes/vault/cluster/secrets/backend.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Route from '@ember/routing/route'; export default Route.extend({ diff --git a/ui/app/routes/vault/cluster/secrets/backend/actions.js b/ui/app/routes/vault/cluster/secrets/backend/actions.js index a33e06d93..cc9e12f1b 100644 --- a/ui/app/routes/vault/cluster/secrets/backend/actions.js +++ b/ui/app/routes/vault/cluster/secrets/backend/actions.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import EditBase from './secret-edit'; import utils from 'vault/lib/key-utils'; diff --git a/ui/app/routes/vault/cluster/secrets/backend/configuration.js b/ui/app/routes/vault/cluster/secrets/backend/configuration.js index a2f32af08..0e3f591a1 100644 --- a/ui/app/routes/vault/cluster/secrets/backend/configuration.js +++ b/ui/app/routes/vault/cluster/secrets/backend/configuration.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Route from '@ember/routing/route'; diff --git a/ui/app/routes/vault/cluster/secrets/backend/create-root.js b/ui/app/routes/vault/cluster/secrets/backend/create-root.js index ebaa2585b..db5b8a89f 100644 --- a/ui/app/routes/vault/cluster/secrets/backend/create-root.js +++ b/ui/app/routes/vault/cluster/secrets/backend/create-root.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { hash } from 'rsvp'; import { inject as service } from '@ember/service'; import EditBase from './secret-edit'; diff --git a/ui/app/routes/vault/cluster/secrets/backend/create.js b/ui/app/routes/vault/cluster/secrets/backend/create.js index ca6b495db..5a4e62a87 100644 --- a/ui/app/routes/vault/cluster/secrets/backend/create.js +++ b/ui/app/routes/vault/cluster/secrets/backend/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default Route.extend({ diff --git a/ui/app/routes/vault/cluster/secrets/backend/credentials-root.js b/ui/app/routes/vault/cluster/secrets/backend/credentials-root.js index cbf926c3a..2f652b386 100644 --- a/ui/app/routes/vault/cluster/secrets/backend/credentials-root.js +++ b/ui/app/routes/vault/cluster/secrets/backend/credentials-root.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from './credentials'; diff --git a/ui/app/routes/vault/cluster/secrets/backend/credentials.js b/ui/app/routes/vault/cluster/secrets/backend/credentials.js index 0c6aa060c..87b825afe 100644 --- a/ui/app/routes/vault/cluster/secrets/backend/credentials.js +++ b/ui/app/routes/vault/cluster/secrets/backend/credentials.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { resolve } from 'rsvp'; import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/secrets/backend/diff.js b/ui/app/routes/vault/cluster/secrets/backend/diff.js index b94c833ad..294480106 100644 --- a/ui/app/routes/vault/cluster/secrets/backend/diff.js +++ b/ui/app/routes/vault/cluster/secrets/backend/diff.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/secrets/backend/edit-metadata.js b/ui/app/routes/vault/cluster/secrets/backend/edit-metadata.js index 2d033069d..9d46a72a8 100644 --- a/ui/app/routes/vault/cluster/secrets/backend/edit-metadata.js +++ b/ui/app/routes/vault/cluster/secrets/backend/edit-metadata.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Metadata from './metadata'; export default class EditMetadataRoute extends Metadata {} diff --git a/ui/app/routes/vault/cluster/secrets/backend/edit-root.js b/ui/app/routes/vault/cluster/secrets/backend/edit-root.js index 58cfd6a1c..fa2cc7757 100644 --- a/ui/app/routes/vault/cluster/secrets/backend/edit-root.js +++ b/ui/app/routes/vault/cluster/secrets/backend/edit-root.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from './edit'; diff --git a/ui/app/routes/vault/cluster/secrets/backend/edit.js b/ui/app/routes/vault/cluster/secrets/backend/edit.js index 1f4f74734..1d353ae10 100644 --- a/ui/app/routes/vault/cluster/secrets/backend/edit.js +++ b/ui/app/routes/vault/cluster/secrets/backend/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import EditBase from './secret-edit'; export default EditBase.extend({ diff --git a/ui/app/routes/vault/cluster/secrets/backend/index.js b/ui/app/routes/vault/cluster/secrets/backend/index.js index d370ba08e..56a271b7c 100644 --- a/ui/app/routes/vault/cluster/secrets/backend/index.js +++ b/ui/app/routes/vault/cluster/secrets/backend/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default Route.extend({ diff --git a/ui/app/routes/vault/cluster/secrets/backend/list-root.js b/ui/app/routes/vault/cluster/secrets/backend/list-root.js index ea1fedd0a..eb7ed18e3 100644 --- a/ui/app/routes/vault/cluster/secrets/backend/list-root.js +++ b/ui/app/routes/vault/cluster/secrets/backend/list-root.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from './list'; diff --git a/ui/app/routes/vault/cluster/secrets/backend/list.js b/ui/app/routes/vault/cluster/secrets/backend/list.js index b753d7d56..e2a6c9360 100644 --- a/ui/app/routes/vault/cluster/secrets/backend/list.js +++ b/ui/app/routes/vault/cluster/secrets/backend/list.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { set } from '@ember/object'; import { hash, all } from 'rsvp'; import Route from '@ember/routing/route'; diff --git a/ui/app/routes/vault/cluster/secrets/backend/metadata.js b/ui/app/routes/vault/cluster/secrets/backend/metadata.js index ab3658c01..935ad97a9 100644 --- a/ui/app/routes/vault/cluster/secrets/backend/metadata.js +++ b/ui/app/routes/vault/cluster/secrets/backend/metadata.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/secrets/backend/overview.js b/ui/app/routes/vault/cluster/secrets/backend/overview.js index 688dd30c1..a4bfb9925 100644 --- a/ui/app/routes/vault/cluster/secrets/backend/overview.js +++ b/ui/app/routes/vault/cluster/secrets/backend/overview.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { hash } from 'rsvp'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/secrets/backend/secret-edit.js b/ui/app/routes/vault/cluster/secrets/backend/secret-edit.js index 22d488605..afe82c82c 100644 --- a/ui/app/routes/vault/cluster/secrets/backend/secret-edit.js +++ b/ui/app/routes/vault/cluster/secrets/backend/secret-edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AdapterError from '@ember-data/adapter/error'; import { set } from '@ember/object'; import { resolve } from 'rsvp'; diff --git a/ui/app/routes/vault/cluster/secrets/backend/show-root.js b/ui/app/routes/vault/cluster/secrets/backend/show-root.js index 98bd0c1a0..95e384863 100644 --- a/ui/app/routes/vault/cluster/secrets/backend/show-root.js +++ b/ui/app/routes/vault/cluster/secrets/backend/show-root.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from './show'; diff --git a/ui/app/routes/vault/cluster/secrets/backend/show.js b/ui/app/routes/vault/cluster/secrets/backend/show.js index 1f4f74734..1d353ae10 100644 --- a/ui/app/routes/vault/cluster/secrets/backend/show.js +++ b/ui/app/routes/vault/cluster/secrets/backend/show.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import EditBase from './secret-edit'; export default EditBase.extend({ diff --git a/ui/app/routes/vault/cluster/secrets/backend/sign-root.js b/ui/app/routes/vault/cluster/secrets/backend/sign-root.js index d034c1595..316a201c0 100644 --- a/ui/app/routes/vault/cluster/secrets/backend/sign-root.js +++ b/ui/app/routes/vault/cluster/secrets/backend/sign-root.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from './sign'; diff --git a/ui/app/routes/vault/cluster/secrets/backend/sign.js b/ui/app/routes/vault/cluster/secrets/backend/sign.js index ab8e653d4..2072949bb 100644 --- a/ui/app/routes/vault/cluster/secrets/backend/sign.js +++ b/ui/app/routes/vault/cluster/secrets/backend/sign.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import UnloadModel from 'vault/mixins/unload-model-route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/secrets/backend/versions-root.js b/ui/app/routes/vault/cluster/secrets/backend/versions-root.js index 69de93ac8..e8cbcb638 100644 --- a/ui/app/routes/vault/cluster/secrets/backend/versions-root.js +++ b/ui/app/routes/vault/cluster/secrets/backend/versions-root.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from './version'; diff --git a/ui/app/routes/vault/cluster/secrets/backend/versions.js b/ui/app/routes/vault/cluster/secrets/backend/versions.js index c0114f7c0..dbe5ff25d 100644 --- a/ui/app/routes/vault/cluster/secrets/backend/versions.js +++ b/ui/app/routes/vault/cluster/secrets/backend/versions.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import utils from 'vault/lib/key-utils'; import UnloadModelRoute from 'vault/mixins/unload-model-route'; diff --git a/ui/app/routes/vault/cluster/secrets/backends.js b/ui/app/routes/vault/cluster/secrets/backends.js index ac89684df..192132f81 100644 --- a/ui/app/routes/vault/cluster/secrets/backends.js +++ b/ui/app/routes/vault/cluster/secrets/backends.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/settings.js b/ui/app/routes/vault/cluster/settings.js index 669017080..18878a4d5 100644 --- a/ui/app/routes/vault/cluster/settings.js +++ b/ui/app/routes/vault/cluster/settings.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import ClusterRoute from 'vault/mixins/cluster-route'; diff --git a/ui/app/routes/vault/cluster/settings/auth/configure.js b/ui/app/routes/vault/cluster/settings/auth/configure.js index 84fffe42c..e974c0ed3 100644 --- a/ui/app/routes/vault/cluster/settings/auth/configure.js +++ b/ui/app/routes/vault/cluster/settings/auth/configure.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/settings/auth/configure/index.js b/ui/app/routes/vault/cluster/settings/auth/configure/index.js index 1ef0d9cd5..518787956 100644 --- a/ui/app/routes/vault/cluster/settings/auth/configure/index.js +++ b/ui/app/routes/vault/cluster/settings/auth/configure/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { tabsForAuthSection } from 'vault/helpers/tabs-for-auth-section'; diff --git a/ui/app/routes/vault/cluster/settings/auth/configure/section.js b/ui/app/routes/vault/cluster/settings/auth/configure/section.js index e704fcda2..15a5a5937 100644 --- a/ui/app/routes/vault/cluster/settings/auth/configure/section.js +++ b/ui/app/routes/vault/cluster/settings/auth/configure/section.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AdapterError from '@ember-data/adapter/error'; import { inject as service } from '@ember/service'; import { set } from '@ember/object'; diff --git a/ui/app/routes/vault/cluster/settings/auth/enable.js b/ui/app/routes/vault/cluster/settings/auth/enable.js index dd04991e8..356ac5ebe 100644 --- a/ui/app/routes/vault/cluster/settings/auth/enable.js +++ b/ui/app/routes/vault/cluster/settings/auth/enable.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/settings/auth/index.js b/ui/app/routes/vault/cluster/settings/auth/index.js index 798b2f1cf..ed754a455 100644 --- a/ui/app/routes/vault/cluster/settings/auth/index.js +++ b/ui/app/routes/vault/cluster/settings/auth/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default Route.extend({ diff --git a/ui/app/routes/vault/cluster/settings/configure-secret-backend.js b/ui/app/routes/vault/cluster/settings/configure-secret-backend.js index 6b3b98fd3..5ed19570b 100644 --- a/ui/app/routes/vault/cluster/settings/configure-secret-backend.js +++ b/ui/app/routes/vault/cluster/settings/configure-secret-backend.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AdapterError from '@ember-data/adapter/error'; import { set } from '@ember/object'; import Route from '@ember/routing/route'; diff --git a/ui/app/routes/vault/cluster/settings/configure-secret-backend/index.js b/ui/app/routes/vault/cluster/settings/configure-secret-backend/index.js index 9023f5e4c..adca40347 100644 --- a/ui/app/routes/vault/cluster/settings/configure-secret-backend/index.js +++ b/ui/app/routes/vault/cluster/settings/configure-secret-backend/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default Route.extend({ diff --git a/ui/app/routes/vault/cluster/settings/configure-secret-backend/section.js b/ui/app/routes/vault/cluster/settings/configure-secret-backend/section.js index 42ea3e18c..5e0798516 100644 --- a/ui/app/routes/vault/cluster/settings/configure-secret-backend/section.js +++ b/ui/app/routes/vault/cluster/settings/configure-secret-backend/section.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AdapterError from '@ember-data/adapter/error'; import { set } from '@ember/object'; import Route from '@ember/routing/route'; diff --git a/ui/app/routes/vault/cluster/settings/index.js b/ui/app/routes/vault/cluster/settings/index.js index 5b6928fe6..0a66a79bf 100644 --- a/ui/app/routes/vault/cluster/settings/index.js +++ b/ui/app/routes/vault/cluster/settings/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default Route.extend({ diff --git a/ui/app/routes/vault/cluster/settings/mount-secret-backend.js b/ui/app/routes/vault/cluster/settings/mount-secret-backend.js index 1cb8188a2..de9b16d1a 100644 --- a/ui/app/routes/vault/cluster/settings/mount-secret-backend.js +++ b/ui/app/routes/vault/cluster/settings/mount-secret-backend.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/settings/seal.js b/ui/app/routes/vault/cluster/settings/seal.js index 37ac426f1..67a51c190 100644 --- a/ui/app/routes/vault/cluster/settings/seal.js +++ b/ui/app/routes/vault/cluster/settings/seal.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { hash } from 'rsvp'; import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/storage.js b/ui/app/routes/vault/cluster/storage.js index d927df3b3..e6750917d 100644 --- a/ui/app/routes/vault/cluster/storage.js +++ b/ui/app/routes/vault/cluster/storage.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import ClusterRoute from 'vault/mixins/cluster-route'; import { inject as service } from '@ember/service'; diff --git a/ui/app/routes/vault/cluster/tools.js b/ui/app/routes/vault/cluster/tools.js index b44d690a2..f4ec532eb 100644 --- a/ui/app/routes/vault/cluster/tools.js +++ b/ui/app/routes/vault/cluster/tools.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import ClusterRoute from 'vault/mixins/cluster-route'; diff --git a/ui/app/routes/vault/cluster/tools/index.js b/ui/app/routes/vault/cluster/tools/index.js index 6256b28ee..0d93b7188 100644 --- a/ui/app/routes/vault/cluster/tools/index.js +++ b/ui/app/routes/vault/cluster/tools/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Route from '@ember/routing/route'; import { toolsActions } from 'vault/helpers/tools-actions'; diff --git a/ui/app/routes/vault/cluster/tools/tool.js b/ui/app/routes/vault/cluster/tools/tool.js index 0c5ecfde7..948d46bdd 100644 --- a/ui/app/routes/vault/cluster/tools/tool.js +++ b/ui/app/routes/vault/cluster/tools/tool.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { toolsActions } from 'vault/helpers/tools-actions'; diff --git a/ui/app/routes/vault/cluster/unseal.js b/ui/app/routes/vault/cluster/unseal.js index 1495fc503..cca869128 100644 --- a/ui/app/routes/vault/cluster/unseal.js +++ b/ui/app/routes/vault/cluster/unseal.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ClusterRoute from './cluster-route-base'; export default ClusterRoute.extend({}); diff --git a/ui/app/serializers/application.js b/ui/app/serializers/application.js index 1e1055a6d..80ba21078 100644 --- a/ui/app/serializers/application.js +++ b/ui/app/serializers/application.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import JSONSerializer from '@ember-data/serializer/json'; import { isNone, isBlank } from '@ember/utils'; import { assign } from '@ember/polyfills'; diff --git a/ui/app/serializers/auth-method.js b/ui/app/serializers/auth-method.js index e6ed6d63f..ecb776798 100644 --- a/ui/app/serializers/auth-method.js +++ b/ui/app/serializers/auth-method.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from './application'; import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest'; diff --git a/ui/app/serializers/capabilities.js b/ui/app/serializers/capabilities.js index f25f45a1f..3b8577a45 100644 --- a/ui/app/serializers/capabilities.js +++ b/ui/app/serializers/capabilities.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from './application'; export default ApplicationSerializer.extend({ diff --git a/ui/app/serializers/clients/activity.js b/ui/app/serializers/clients/activity.js index 0fdbb7ba0..f3baec4d3 100644 --- a/ui/app/serializers/clients/activity.js +++ b/ui/app/serializers/clients/activity.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from '../application'; import { formatISO } from 'date-fns'; import { formatByMonths, formatByNamespace, homogenizeClientNaming } from 'core/utils/client-count-utils'; diff --git a/ui/app/serializers/clients/config.js b/ui/app/serializers/clients/config.js index 50bcb6331..00b84ed2e 100644 --- a/ui/app/serializers/clients/config.js +++ b/ui/app/serializers/clients/config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from '../application'; export default ApplicationSerializer.extend({ diff --git a/ui/app/serializers/clients/version-history.js b/ui/app/serializers/clients/version-history.js index ab378d1e1..afe1565bc 100644 --- a/ui/app/serializers/clients/version-history.js +++ b/ui/app/serializers/clients/version-history.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from '../application'; export default class VersionHistorySerializer extends ApplicationSerializer { diff --git a/ui/app/serializers/cluster.js b/ui/app/serializers/cluster.js index d30fec821..f87bb33e8 100644 --- a/ui/app/serializers/cluster.js +++ b/ui/app/serializers/cluster.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import RESTSerializer, { EmbeddedRecordsMixin } from '@ember-data/serializer/rest'; import { assign } from '@ember/polyfills'; import { decamelize } from '@ember/string'; diff --git a/ui/app/serializers/config.js b/ui/app/serializers/config.js index 383d274b9..4d615922a 100644 --- a/ui/app/serializers/config.js +++ b/ui/app/serializers/config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import RESTSerializer from '@ember-data/serializer/rest'; import { assign } from '@ember/polyfills'; import { decamelize } from '@ember/string'; diff --git a/ui/app/serializers/control-group.js b/ui/app/serializers/control-group.js index 1046e6cd9..abe6033f3 100644 --- a/ui/app/serializers/control-group.js +++ b/ui/app/serializers/control-group.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest'; import ApplicationSerializer from './application'; diff --git a/ui/app/serializers/database/connection.js b/ui/app/serializers/database/connection.js index 3720a8e23..200601549 100644 --- a/ui/app/serializers/database/connection.js +++ b/ui/app/serializers/database/connection.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import RESTSerializer from '@ember-data/serializer/rest'; import { AVAILABLE_PLUGIN_TYPES } from '../../utils/database-helpers'; diff --git a/ui/app/serializers/database/credential.js b/ui/app/serializers/database/credential.js index 250873e41..a3c0f6bd2 100644 --- a/ui/app/serializers/database/credential.js +++ b/ui/app/serializers/database/credential.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import RESTSerializer from '@ember-data/serializer/rest'; export default RESTSerializer.extend({ diff --git a/ui/app/serializers/database/role.js b/ui/app/serializers/database/role.js index 1ca5b3e9e..f5513c77f 100644 --- a/ui/app/serializers/database/role.js +++ b/ui/app/serializers/database/role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import RESTSerializer from '@ember-data/serializer/rest'; export default RESTSerializer.extend({ diff --git a/ui/app/serializers/identity/_base.js b/ui/app/serializers/identity/_base.js index 89efa631a..4d9fd80c4 100644 --- a/ui/app/serializers/identity/_base.js +++ b/ui/app/serializers/identity/_base.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { assign } from '@ember/polyfills'; import ApplicationSerializer from '../application'; diff --git a/ui/app/serializers/identity/entity-alias.js b/ui/app/serializers/identity/entity-alias.js index c7246dba8..a0087fddd 100644 --- a/ui/app/serializers/identity/entity-alias.js +++ b/ui/app/serializers/identity/entity-alias.js @@ -1,2 +1,7 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import IdentitySerializer from './_base'; export default IdentitySerializer.extend(); diff --git a/ui/app/serializers/identity/entity.js b/ui/app/serializers/identity/entity.js index 7dcea71ee..20694a9fd 100644 --- a/ui/app/serializers/identity/entity.js +++ b/ui/app/serializers/identity/entity.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest'; import IdentitySerializer from './_base'; diff --git a/ui/app/serializers/identity/group-alias.js b/ui/app/serializers/identity/group-alias.js index c7246dba8..a0087fddd 100644 --- a/ui/app/serializers/identity/group-alias.js +++ b/ui/app/serializers/identity/group-alias.js @@ -1,2 +1,7 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import IdentitySerializer from './_base'; export default IdentitySerializer.extend(); diff --git a/ui/app/serializers/identity/group.js b/ui/app/serializers/identity/group.js index 80683139b..7429e2677 100644 --- a/ui/app/serializers/identity/group.js +++ b/ui/app/serializers/identity/group.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest'; import IdentitySerializer from './_base'; diff --git a/ui/app/serializers/keymgmt/key.js b/ui/app/serializers/keymgmt/key.js index 4500e74e6..576a2842e 100644 --- a/ui/app/serializers/keymgmt/key.js +++ b/ui/app/serializers/keymgmt/key.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from '../application'; export default class KeymgmtKeySerializer extends ApplicationSerializer { diff --git a/ui/app/serializers/keymgmt/provider.js b/ui/app/serializers/keymgmt/provider.js index d558079b3..d65de5c19 100644 --- a/ui/app/serializers/keymgmt/provider.js +++ b/ui/app/serializers/keymgmt/provider.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from '../application'; export default class KeymgmtProviderSerializer extends ApplicationSerializer { diff --git a/ui/app/serializers/kubernetes/config.js b/ui/app/serializers/kubernetes/config.js index 3de98f8a2..fe732f037 100644 --- a/ui/app/serializers/kubernetes/config.js +++ b/ui/app/serializers/kubernetes/config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from '../application'; export default class KubernetesConfigSerializer extends ApplicationSerializer { diff --git a/ui/app/serializers/kubernetes/role.js b/ui/app/serializers/kubernetes/role.js index dd6d2b1d6..580b4c60c 100644 --- a/ui/app/serializers/kubernetes/role.js +++ b/ui/app/serializers/kubernetes/role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from '../application'; export default class KubernetesConfigSerializer extends ApplicationSerializer { diff --git a/ui/app/serializers/lease.js b/ui/app/serializers/lease.js index c6c268b25..cfa86144f 100644 --- a/ui/app/serializers/lease.js +++ b/ui/app/serializers/lease.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import RESTSerializer from '@ember-data/serializer/rest'; import { decamelize } from '@ember/string'; diff --git a/ui/app/serializers/license.js b/ui/app/serializers/license.js index 189ab03b4..42c078adc 100644 --- a/ui/app/serializers/license.js +++ b/ui/app/serializers/license.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from './application'; export default ApplicationSerializer.extend({ diff --git a/ui/app/serializers/mfa-login-enforcement.js b/ui/app/serializers/mfa-login-enforcement.js index 3deb9a305..bf71cb4f1 100644 --- a/ui/app/serializers/mfa-login-enforcement.js +++ b/ui/app/serializers/mfa-login-enforcement.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from './application'; export default class MfaLoginEnforcementSerializer extends ApplicationSerializer { diff --git a/ui/app/serializers/mfa-method.js b/ui/app/serializers/mfa-method.js index 8356047e5..693e00647 100644 --- a/ui/app/serializers/mfa-method.js +++ b/ui/app/serializers/mfa-method.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from './application'; export default class KeymgmtKeySerializer extends ApplicationSerializer { diff --git a/ui/app/serializers/mount-config.js b/ui/app/serializers/mount-config.js index 16289da25..32fbf4c10 100644 --- a/ui/app/serializers/mount-config.js +++ b/ui/app/serializers/mount-config.js @@ -1,2 +1,7 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from './application'; export default ApplicationSerializer.extend(); diff --git a/ui/app/serializers/namespace.js b/ui/app/serializers/namespace.js index 9b8172fb4..ed75185c8 100644 --- a/ui/app/serializers/namespace.js +++ b/ui/app/serializers/namespace.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from './application'; export default ApplicationSerializer.extend({ diff --git a/ui/app/serializers/node.js b/ui/app/serializers/node.js index 35be4ee90..e7586bae9 100644 --- a/ui/app/serializers/node.js +++ b/ui/app/serializers/node.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import RESTSerializer, { EmbeddedRecordsMixin } from '@ember-data/serializer/rest'; import { assign } from '@ember/polyfills'; import { decamelize } from '@ember/string'; diff --git a/ui/app/serializers/oidc/assignment.js b/ui/app/serializers/oidc/assignment.js index 1a7693d6c..096d7c16e 100644 --- a/ui/app/serializers/oidc/assignment.js +++ b/ui/app/serializers/oidc/assignment.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from '../application'; export default class OidcAssignmentSerializer extends ApplicationSerializer { diff --git a/ui/app/serializers/oidc/client.js b/ui/app/serializers/oidc/client.js index 784d56cc8..4cdc95277 100644 --- a/ui/app/serializers/oidc/client.js +++ b/ui/app/serializers/oidc/client.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from '../application'; export default class OidcClientSerializer extends ApplicationSerializer { diff --git a/ui/app/serializers/oidc/key.js b/ui/app/serializers/oidc/key.js index bf2890f40..49625d75f 100644 --- a/ui/app/serializers/oidc/key.js +++ b/ui/app/serializers/oidc/key.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from '../application'; export default class OidcKeySerializer extends ApplicationSerializer { diff --git a/ui/app/serializers/oidc/provider.js b/ui/app/serializers/oidc/provider.js index da0b35e29..14dd3c2bc 100644 --- a/ui/app/serializers/oidc/provider.js +++ b/ui/app/serializers/oidc/provider.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from '../application'; export default class OidcProviderSerializer extends ApplicationSerializer { diff --git a/ui/app/serializers/oidc/scope.js b/ui/app/serializers/oidc/scope.js index 17c7c0202..0d829bb79 100644 --- a/ui/app/serializers/oidc/scope.js +++ b/ui/app/serializers/oidc/scope.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from '../application'; export default class OidcScopeSerializer extends ApplicationSerializer { diff --git a/ui/app/serializers/path-filter-config.js b/ui/app/serializers/path-filter-config.js index edf2d5778..d6c335c1b 100644 --- a/ui/app/serializers/path-filter-config.js +++ b/ui/app/serializers/path-filter-config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import RESTSerializer from '@ember-data/serializer/rest'; import { decamelize } from '@ember/string'; diff --git a/ui/app/serializers/pki/action.js b/ui/app/serializers/pki/action.js index c2a4c4971..bdc0fd7e3 100644 --- a/ui/app/serializers/pki/action.js +++ b/ui/app/serializers/pki/action.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { underscore } from '@ember/string'; import { keyParamsByType } from 'pki/utils/action-params'; import ApplicationSerializer from '../application'; diff --git a/ui/app/serializers/pki/cert.js b/ui/app/serializers/pki/cert.js index 4e2f4e934..289b697cf 100644 --- a/ui/app/serializers/pki/cert.js +++ b/ui/app/serializers/pki/cert.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import RESTSerializer from '@ember-data/serializer/rest'; import { isNone, isBlank } from '@ember/utils'; import { assign } from '@ember/polyfills'; diff --git a/ui/app/serializers/pki/certificate.js b/ui/app/serializers/pki/certificate.js index 2792618ff..7a90df041 100644 --- a/ui/app/serializers/pki/certificate.js +++ b/ui/app/serializers/pki/certificate.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import CertSerializer from './cert'; export default class PkiCertificateSerializer extends CertSerializer {} diff --git a/ui/app/serializers/pki/certificate/base.js b/ui/app/serializers/pki/certificate/base.js index 2da71e6d2..7bb8bdde6 100644 --- a/ui/app/serializers/pki/certificate/base.js +++ b/ui/app/serializers/pki/certificate/base.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { parseCertificate } from 'vault/utils/parse-pki-cert'; import ApplicationSerializer from '../../application'; diff --git a/ui/app/serializers/pki/certificate/generate.js b/ui/app/serializers/pki/certificate/generate.js index 332504f67..b729e3d36 100644 --- a/ui/app/serializers/pki/certificate/generate.js +++ b/ui/app/serializers/pki/certificate/generate.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import PkiCertificateBaseSerializer from './base'; export default class PkiCertificateGenerateSerializer extends PkiCertificateBaseSerializer {} diff --git a/ui/app/serializers/pki/certificate/sign.js b/ui/app/serializers/pki/certificate/sign.js index 332504f67..b729e3d36 100644 --- a/ui/app/serializers/pki/certificate/sign.js +++ b/ui/app/serializers/pki/certificate/sign.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import PkiCertificateBaseSerializer from './base'; export default class PkiCertificateGenerateSerializer extends PkiCertificateBaseSerializer {} diff --git a/ui/app/serializers/pki/issuer.js b/ui/app/serializers/pki/issuer.js index 5223a4b1d..c0ab2dd6b 100644 --- a/ui/app/serializers/pki/issuer.js +++ b/ui/app/serializers/pki/issuer.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { parseCertificate } from 'vault/utils/parse-pki-cert'; import ApplicationSerializer from '../application'; diff --git a/ui/app/serializers/pki/key.js b/ui/app/serializers/pki/key.js index da3c75b17..ff7519fa1 100644 --- a/ui/app/serializers/pki/key.js +++ b/ui/app/serializers/pki/key.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from '../application'; export default class PkiKeySerializer extends ApplicationSerializer { diff --git a/ui/app/serializers/pki/pki-config.js b/ui/app/serializers/pki/pki-config.js index 383d274b9..4d615922a 100644 --- a/ui/app/serializers/pki/pki-config.js +++ b/ui/app/serializers/pki/pki-config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import RESTSerializer from '@ember-data/serializer/rest'; import { assign } from '@ember/polyfills'; import { decamelize } from '@ember/string'; diff --git a/ui/app/serializers/pki/pki-role.js b/ui/app/serializers/pki/pki-role.js index 9366ee82b..dd5f81ba6 100644 --- a/ui/app/serializers/pki/pki-role.js +++ b/ui/app/serializers/pki/pki-role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import RoleSerializer from '../role'; export default RoleSerializer.extend(); diff --git a/ui/app/serializers/pki/role.js b/ui/app/serializers/pki/role.js index 6ec668aeb..5ee82a51c 100644 --- a/ui/app/serializers/pki/role.js +++ b/ui/app/serializers/pki/role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from '../application'; export default class PkiRoleSerializer extends ApplicationSerializer { diff --git a/ui/app/serializers/policy.js b/ui/app/serializers/policy.js index 6e39dd45c..9427c6347 100644 --- a/ui/app/serializers/policy.js +++ b/ui/app/serializers/policy.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from './application'; export default ApplicationSerializer.extend({ diff --git a/ui/app/serializers/policy/acl.js b/ui/app/serializers/policy/acl.js index ea1e2c990..60237e0f3 100644 --- a/ui/app/serializers/policy/acl.js +++ b/ui/app/serializers/policy/acl.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import PolicySerializer from '../policy'; export default PolicySerializer.extend(); diff --git a/ui/app/serializers/policy/egp.js b/ui/app/serializers/policy/egp.js index ea1e2c990..60237e0f3 100644 --- a/ui/app/serializers/policy/egp.js +++ b/ui/app/serializers/policy/egp.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import PolicySerializer from '../policy'; export default PolicySerializer.extend(); diff --git a/ui/app/serializers/policy/rgp.js b/ui/app/serializers/policy/rgp.js index ea1e2c990..60237e0f3 100644 --- a/ui/app/serializers/policy/rgp.js +++ b/ui/app/serializers/policy/rgp.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import PolicySerializer from '../policy'; export default PolicySerializer.extend(); diff --git a/ui/app/serializers/replication-attributes.js b/ui/app/serializers/replication-attributes.js index 8a72a7587..bb973ff76 100644 --- a/ui/app/serializers/replication-attributes.js +++ b/ui/app/serializers/replication-attributes.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import RESTSerializer from '@ember-data/serializer/rest'; import { decamelize } from '@ember/string'; diff --git a/ui/app/serializers/replication-mode.js b/ui/app/serializers/replication-mode.js index 2e6e9210b..b06730356 100644 --- a/ui/app/serializers/replication-mode.js +++ b/ui/app/serializers/replication-mode.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from './application'; export default ApplicationSerializer.extend({ diff --git a/ui/app/serializers/role-aws.js b/ui/app/serializers/role-aws.js index 9cb84f622..4d35ccde2 100644 --- a/ui/app/serializers/role-aws.js +++ b/ui/app/serializers/role-aws.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from './application'; export default ApplicationSerializer.extend({ diff --git a/ui/app/serializers/role-ssh.js b/ui/app/serializers/role-ssh.js index d36af6b2f..b7eb493f4 100644 --- a/ui/app/serializers/role-ssh.js +++ b/ui/app/serializers/role-ssh.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import RoleSerializer from './role'; export default RoleSerializer.extend(); diff --git a/ui/app/serializers/role.js b/ui/app/serializers/role.js index 19d1dda55..77ed54801 100644 --- a/ui/app/serializers/role.js +++ b/ui/app/serializers/role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from './application'; export default ApplicationSerializer.extend({ diff --git a/ui/app/serializers/secret-engine.js b/ui/app/serializers/secret-engine.js index 4c15f0121..f6e537d27 100644 --- a/ui/app/serializers/secret-engine.js +++ b/ui/app/serializers/secret-engine.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { assign } from '@ember/polyfills'; import ApplicationSerializer from './application'; import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest'; diff --git a/ui/app/serializers/secret-v2-version.js b/ui/app/serializers/secret-v2-version.js index 97224cc11..df1098263 100644 --- a/ui/app/serializers/secret-v2-version.js +++ b/ui/app/serializers/secret-v2-version.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { get } from '@ember/object'; import { assign } from '@ember/polyfills'; import ApplicationSerializer from './application'; diff --git a/ui/app/serializers/secret-v2.js b/ui/app/serializers/secret-v2.js index 591ef8e61..7540ed22c 100644 --- a/ui/app/serializers/secret-v2.js +++ b/ui/app/serializers/secret-v2.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest'; import ApplicationSerializer from './application'; diff --git a/ui/app/serializers/secret.js b/ui/app/serializers/secret.js index 34ea8a519..895602e24 100644 --- a/ui/app/serializers/secret.js +++ b/ui/app/serializers/secret.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { get } from '@ember/object'; import ApplicationSerializer from './application'; diff --git a/ui/app/serializers/server.js b/ui/app/serializers/server.js index cce0ca2f9..0b5d41b06 100644 --- a/ui/app/serializers/server.js +++ b/ui/app/serializers/server.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from './application'; export default ApplicationSerializer.extend({ diff --git a/ui/app/serializers/ssh.js b/ui/app/serializers/ssh.js index 42d4c56ec..06622f984 100644 --- a/ui/app/serializers/ssh.js +++ b/ui/app/serializers/ssh.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import RESTSerializer from '@ember-data/serializer/rest'; import { isNone, isBlank } from '@ember/utils'; import { assign } from '@ember/polyfills'; diff --git a/ui/app/serializers/transform.js b/ui/app/serializers/transform.js index 2b4a1bc23..6ea968c5f 100644 --- a/ui/app/serializers/transform.js +++ b/ui/app/serializers/transform.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from './application'; export default ApplicationSerializer.extend({ diff --git a/ui/app/serializers/transform/alphabet.js b/ui/app/serializers/transform/alphabet.js index a29a3a5c1..c7be724ae 100644 --- a/ui/app/serializers/transform/alphabet.js +++ b/ui/app/serializers/transform/alphabet.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from '../application'; export default ApplicationSerializer.extend({ diff --git a/ui/app/serializers/transform/role.js b/ui/app/serializers/transform/role.js index 48e199f8d..6369f9955 100644 --- a/ui/app/serializers/transform/role.js +++ b/ui/app/serializers/transform/role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from '../application'; export default ApplicationSerializer.extend({ diff --git a/ui/app/serializers/transform/template.js b/ui/app/serializers/transform/template.js index c94c1157f..3a8d94cd5 100644 --- a/ui/app/serializers/transform/template.js +++ b/ui/app/serializers/transform/template.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ApplicationSerializer from '../application'; export default ApplicationSerializer.extend({ diff --git a/ui/app/serializers/transit-key.js b/ui/app/serializers/transit-key.js index aa062c34b..f0799e2fe 100644 --- a/ui/app/serializers/transit-key.js +++ b/ui/app/serializers/transit-key.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import RESTSerializer from '@ember-data/serializer/rest'; import { assign } from '@ember/polyfills'; import { decamelize } from '@ember/string'; diff --git a/ui/app/services/auth.js b/ui/app/services/auth.js index 88c506197..95edabe96 100644 --- a/ui/app/services/auth.js +++ b/ui/app/services/auth.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Ember from 'ember'; import { resolve, reject } from 'rsvp'; import { assign } from '@ember/polyfills'; diff --git a/ui/app/services/console.js b/ui/app/services/console.js index cfca52695..0d02fa3b4 100644 --- a/ui/app/services/console.js +++ b/ui/app/services/console.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // Low level service that allows users to input paths to make requests to vault // this service provides the UI synecdote to the cli commands read, write, delete, and list import { filterBy } from '@ember/object/computed'; diff --git a/ui/app/services/control-group.js b/ui/app/services/control-group.js index f51872c66..61cf7a107 100644 --- a/ui/app/services/control-group.js +++ b/ui/app/services/control-group.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Service, { inject as service } from '@ember/service'; import RSVP from 'rsvp'; import ControlGroupError from 'vault/lib/control-group-error'; diff --git a/ui/app/services/csp-event.js b/ui/app/services/csp-event.js index 961b53650..54d87928e 100644 --- a/ui/app/services/csp-event.js +++ b/ui/app/services/csp-event.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /*eslint-disable no-constant-condition*/ import { computed } from '@ember/object'; diff --git a/ui/app/services/current-cluster.js b/ui/app/services/current-cluster.js index 688896aee..2aa61b52c 100644 --- a/ui/app/services/current-cluster.js +++ b/ui/app/services/current-cluster.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Service from '@ember/service'; export default Service.extend({ diff --git a/ui/app/services/download.ts b/ui/app/services/download.ts index 7cfbb19b4..8ef948e18 100644 --- a/ui/app/services/download.ts +++ b/ui/app/services/download.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Service from '@ember/service'; interface Extensions { diff --git a/ui/app/services/feature-flag.js b/ui/app/services/feature-flag.js index fb1c85a0e..dd00d5d24 100644 --- a/ui/app/services/feature-flag.js +++ b/ui/app/services/feature-flag.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Service from '@ember/service'; const FLAGS = { diff --git a/ui/app/services/flash-messages.ts b/ui/app/services/flash-messages.ts index a2de0a1a7..a3aa8d44b 100644 --- a/ui/app/services/flash-messages.ts +++ b/ui/app/services/flash-messages.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import FlashMessages from 'ember-cli-flash/services/flash-messages'; export default class FlashMessageService extends FlashMessages { diff --git a/ui/app/services/namespace.js b/ui/app/services/namespace.js index e4f4172b1..02926dd5f 100644 --- a/ui/app/services/namespace.js +++ b/ui/app/services/namespace.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { alias, equal } from '@ember/object/computed'; import Service, { inject as service } from '@ember/service'; import { task } from 'ember-concurrency'; diff --git a/ui/app/services/path-help.js b/ui/app/services/path-help.js index b295b25a6..d4aca10a5 100644 --- a/ui/app/services/path-help.js +++ b/ui/app/services/path-help.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* This service is used to pull an OpenAPI document describing the shape of data at a specific path to hydrate a model with attrs it diff --git a/ui/app/services/permissions.js b/ui/app/services/permissions.js index 8d1b03f08..284c10d7c 100644 --- a/ui/app/services/permissions.js +++ b/ui/app/services/permissions.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Service, { inject as service } from '@ember/service'; import { task } from 'ember-concurrency'; diff --git a/ui/app/services/replication-mode.js b/ui/app/services/replication-mode.js index 0be6405c9..25316f827 100644 --- a/ui/app/services/replication-mode.js +++ b/ui/app/services/replication-mode.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Service from '@ember/service'; export default Service.extend({ diff --git a/ui/app/services/secret-mount-path.js b/ui/app/services/secret-mount-path.js index 8a65f639d..a29239078 100644 --- a/ui/app/services/secret-mount-path.js +++ b/ui/app/services/secret-mount-path.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Service from '@ember/service'; // this service tracks the path of the currently viewed secret mount diff --git a/ui/app/services/store.js b/ui/app/services/store.js index 91dac53f2..5d0579fac 100644 --- a/ui/app/services/store.js +++ b/ui/app/services/store.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Store from '@ember-data/store'; import { schedule } from '@ember/runloop'; import { copy } from 'ember-copy'; diff --git a/ui/app/services/version.js b/ui/app/services/version.js index 682940ddf..035e15700 100644 --- a/ui/app/services/version.js +++ b/ui/app/services/version.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { readOnly, match, not } from '@ember/object/computed'; import Service, { inject as service } from '@ember/service'; import { computed } from '@ember/object'; diff --git a/ui/app/services/wizard.js b/ui/app/services/wizard.js index 79296f126..c245f035e 100644 --- a/ui/app/services/wizard.js +++ b/ui/app/services/wizard.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { next } from '@ember/runloop'; import { typeOf } from '@ember/utils'; import Service, { inject as service } from '@ember/service'; diff --git a/ui/app/styles/app.scss b/ui/app/styles/app.scss index 765038eaa..4194a3da4 100644 --- a/ui/app/styles/app.scss +++ b/ui/app/styles/app.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + @import 'ember-basic-dropdown'; @import 'ember-power-select'; @import './core'; diff --git a/ui/app/styles/components/action-block.scss b/ui/app/styles/components/action-block.scss index 895a77697..cb30da11b 100644 --- a/ui/app/styles/components/action-block.scss +++ b/ui/app/styles/components/action-block.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + @mixin stacked-grid { grid-template-columns: 1fr; grid-row: 1/1; diff --git a/ui/app/styles/components/auth-buttons.scss b/ui/app/styles/components/auth-buttons.scss index 452fb2fe1..c0e1b98d6 100644 --- a/ui/app/styles/components/auth-buttons.scss +++ b/ui/app/styles/components/auth-buttons.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .auth-button-tile { height: 31px; width: 31px; diff --git a/ui/app/styles/components/auth-form.scss b/ui/app/styles/components/auth-form.scss index 5bba10431..155e85b21 100644 --- a/ui/app/styles/components/auth-form.scss +++ b/ui/app/styles/components/auth-form.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .auth-form { @extend .box; @extend .is-bottomless; diff --git a/ui/app/styles/components/b64-toggle.scss b/ui/app/styles/components/b64-toggle.scss index 676e9365e..ea9164b6d 100644 --- a/ui/app/styles/components/b64-toggle.scss +++ b/ui/app/styles/components/b64-toggle.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .b64-toggle { padding: 0.75rem; font-size: $size-9; diff --git a/ui/app/styles/components/box-label.scss b/ui/app/styles/components/box-label.scss index 4899b6f12..e0ce730d2 100644 --- a/ui/app/styles/components/box-label.scss +++ b/ui/app/styles/components/box-label.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + label.box-label { cursor: pointer; } diff --git a/ui/app/styles/components/box-radio.scss b/ui/app/styles/components/box-radio.scss index ce786104e..19d6e48d6 100644 --- a/ui/app/styles/components/box-radio.scss +++ b/ui/app/styles/components/box-radio.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .box-radio-container { display: flex; flex-wrap: wrap; diff --git a/ui/app/styles/components/calendar-widget.scss b/ui/app/styles/components/calendar-widget.scss index be6c13b7b..c039e3ad3 100644 --- a/ui/app/styles/components/calendar-widget.scss +++ b/ui/app/styles/components/calendar-widget.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + $dark-gray: #535f73; .calendar-content { diff --git a/ui/app/styles/components/codemirror.scss b/ui/app/styles/components/codemirror.scss index dfc856387..917b6db71 100644 --- a/ui/app/styles/components/codemirror.scss +++ b/ui/app/styles/components/codemirror.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + $light-grey: #dde3e7; $light-gray: #a4a4a4; $light-grey-blue: #6c7b81; diff --git a/ui/app/styles/components/confirm.scss b/ui/app/styles/components/confirm.scss index 9e80017ae..cb0873132 100644 --- a/ui/app/styles/components/confirm.scss +++ b/ui/app/styles/components/confirm.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .confirm-wrapper { position: relative; overflow: hidden; diff --git a/ui/app/styles/components/console-ui-panel.scss b/ui/app/styles/components/console-ui-panel.scss index 1542dcaec..b581e6f96 100644 --- a/ui/app/styles/components/console-ui-panel.scss +++ b/ui/app/styles/components/console-ui-panel.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .console-ui-panel { background: linear-gradient(to right, #191a1c, #1b212d); height: 0; diff --git a/ui/app/styles/components/control-group.scss b/ui/app/styles/components/control-group.scss index 8419369ca..6fbe244a6 100644 --- a/ui/app/styles/components/control-group.scss +++ b/ui/app/styles/components/control-group.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .control-group, .control-group-success { @extend .box; diff --git a/ui/app/styles/components/diff-version-selector.scss b/ui/app/styles/components/diff-version-selector.scss index 13c1d2345..a9432f190 100644 --- a/ui/app/styles/components/diff-version-selector.scss +++ b/ui/app/styles/components/diff-version-selector.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .visual-diff { background-color: black; diff --git a/ui/app/styles/components/doc-link.scss b/ui/app/styles/components/doc-link.scss index dd0371171..a0ca05e90 100644 --- a/ui/app/styles/components/doc-link.scss +++ b/ui/app/styles/components/doc-link.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .doc-link { color: $link; text-decoration: none; diff --git a/ui/app/styles/components/empty-state.scss b/ui/app/styles/components/empty-state.scss index f45663eb4..2bfd5d625 100644 --- a/ui/app/styles/components/empty-state.scss +++ b/ui/app/styles/components/empty-state.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .empty-state { align-items: center; color: $grey; diff --git a/ui/app/styles/components/env-banner.scss b/ui/app/styles/components/env-banner.scss index 607abd244..cfe17b691 100644 --- a/ui/app/styles/components/env-banner.scss +++ b/ui/app/styles/components/env-banner.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .env-banner { align-self: center; border-radius: 3rem; diff --git a/ui/app/styles/components/features-selection.scss b/ui/app/styles/components/features-selection.scss index b7bac9633..ac5904db0 100644 --- a/ui/app/styles/components/features-selection.scss +++ b/ui/app/styles/components/features-selection.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .feature-header { font-size: $size-6; font-weight: $font-weight-semibold; diff --git a/ui/app/styles/components/form-section.scss b/ui/app/styles/components/form-section.scss index 3d6a94a40..d5c733369 100644 --- a/ui/app/styles/components/form-section.scss +++ b/ui/app/styles/components/form-section.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .form-section { padding: 1.75rem 0; box-shadow: 0 -1px 0 0 rgba($black, 0.1); diff --git a/ui/app/styles/components/global-flash.scss b/ui/app/styles/components/global-flash.scss index f74d45537..1b5f77fc4 100644 --- a/ui/app/styles/components/global-flash.scss +++ b/ui/app/styles/components/global-flash.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .global-flash { bottom: 0; left: $spacing-s; diff --git a/ui/app/styles/components/hover-copy-button.scss b/ui/app/styles/components/hover-copy-button.scss index 2d45dace4..bfe748a30 100644 --- a/ui/app/styles/components/hover-copy-button.scss +++ b/ui/app/styles/components/hover-copy-button.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .has-copy-button { position: relative; color: $grey; diff --git a/ui/app/styles/components/icon.scss b/ui/app/styles/components/icon.scss index c97c63ed6..fc39c3075 100644 --- a/ui/app/styles/components/icon.scss +++ b/ui/app/styles/components/icon.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .hs-icon { flex: 0 0 auto; display: inline-flex; diff --git a/ui/app/styles/components/info-table-row.scss b/ui/app/styles/components/info-table-row.scss index cca12ceee..885464eba 100644 --- a/ui/app/styles/components/info-table-row.scss +++ b/ui/app/styles/components/info-table-row.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .info-table-row { box-shadow: 0 1px 0 $grey-light; margin: 0; diff --git a/ui/app/styles/components/info-table.scss b/ui/app/styles/components/info-table.scss index 00d9678a1..408612639 100644 --- a/ui/app/styles/components/info-table.scss +++ b/ui/app/styles/components/info-table.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .info-table { &.vlt-table td { padding-top: 0px; diff --git a/ui/app/styles/components/init-illustration.scss b/ui/app/styles/components/init-illustration.scss index 1f18018b8..c7f14ee50 100644 --- a/ui/app/styles/components/init-illustration.scss +++ b/ui/app/styles/components/init-illustration.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .init-box { position: relative; z-index: 10; diff --git a/ui/app/styles/components/input-hint.scss b/ui/app/styles/components/input-hint.scss index 6e9e688e2..c1baa3cec 100644 --- a/ui/app/styles/components/input-hint.scss +++ b/ui/app/styles/components/input-hint.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .input-hint { padding: 0 $size-9; font-size: $size-8; diff --git a/ui/app/styles/components/kmip-role-edit.scss b/ui/app/styles/components/kmip-role-edit.scss index 5e4c34ad3..9b80b3ffa 100644 --- a/ui/app/styles/components/kmip-role-edit.scss +++ b/ui/app/styles/components/kmip-role-edit.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .kmip-allowed-operations-header { @extend .title; @extend .is-6; diff --git a/ui/app/styles/components/known-secondaries-card.scss b/ui/app/styles/components/known-secondaries-card.scss index 63f1025be..cb21c7c99 100644 --- a/ui/app/styles/components/known-secondaries-card.scss +++ b/ui/app/styles/components/known-secondaries-card.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .selectable-card.secondaries { grid-column: 2/3; grid-row: 1/3; diff --git a/ui/app/styles/components/license-banners.scss b/ui/app/styles/components/license-banners.scss index 2c12f1800..665beeec5 100644 --- a/ui/app/styles/components/license-banners.scss +++ b/ui/app/styles/components/license-banners.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .license-banner-wrapper { width: 100%; max-width: 1344px; diff --git a/ui/app/styles/components/linkable-item.scss b/ui/app/styles/components/linkable-item.scss index e7142c216..e531bc2f1 100644 --- a/ui/app/styles/components/linkable-item.scss +++ b/ui/app/styles/components/linkable-item.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .linkable-item { display: grid; grid-template-columns: minmax(0, 1fr) 50px 35px; diff --git a/ui/app/styles/components/linked-block.scss b/ui/app/styles/components/linked-block.scss index 2c86ba24c..a5b40abf0 100644 --- a/ui/app/styles/components/linked-block.scss +++ b/ui/app/styles/components/linked-block.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .linked-block { cursor: pointer; } diff --git a/ui/app/styles/components/list-item-row.scss b/ui/app/styles/components/list-item-row.scss index 9bdc702f3..48fda6877 100644 --- a/ui/app/styles/components/list-item-row.scss +++ b/ui/app/styles/components/list-item-row.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .list-item-row { @extend .box; @extend .is-sideless; diff --git a/ui/app/styles/components/list-pagination.scss b/ui/app/styles/components/list-pagination.scss index 4f2d28ec1..a338d97e4 100644 --- a/ui/app/styles/components/list-pagination.scss +++ b/ui/app/styles/components/list-pagination.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .list-pagination { @extend .has-slim-padding; position: relative; diff --git a/ui/app/styles/components/loader.scss b/ui/app/styles/components/loader.scss index df2121b17..51495cfa3 100644 --- a/ui/app/styles/components/loader.scss +++ b/ui/app/styles/components/loader.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .loader-inner-page { height: 60vh; } diff --git a/ui/app/styles/components/login-form.scss b/ui/app/styles/components/login-form.scss index 2740bf944..a04229b01 100644 --- a/ui/app/styles/components/login-form.scss +++ b/ui/app/styles/components/login-form.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .login-form { box-shadow: $box-shadow, $box-shadow-high; overflow: auto; diff --git a/ui/app/styles/components/masked-input.scss b/ui/app/styles/components/masked-input.scss index 32f6c5aac..a8044598c 100644 --- a/ui/app/styles/components/masked-input.scss +++ b/ui/app/styles/components/masked-input.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .masked-font { color: $ui-gray-300; } diff --git a/ui/app/styles/components/modal.scss b/ui/app/styles/components/modal.scss index 5037e44ec..58bfbcdb5 100644 --- a/ui/app/styles/components/modal.scss +++ b/ui/app/styles/components/modal.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .modal-background { background: rgba(235, 238, 242, 0.9); } diff --git a/ui/app/styles/components/namespace-picker.scss b/ui/app/styles/components/namespace-picker.scss index 596bad2f3..b2d54c247 100644 --- a/ui/app/styles/components/namespace-picker.scss +++ b/ui/app/styles/components/namespace-picker.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .namespace-picker { position: relative; color: $white; diff --git a/ui/app/styles/components/namespace-reminder.scss b/ui/app/styles/components/namespace-reminder.scss index d5503069e..462f92e3f 100644 --- a/ui/app/styles/components/namespace-reminder.scss +++ b/ui/app/styles/components/namespace-reminder.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .namespace-reminder { color: $grey; margin: 0 0 $size-6 0; diff --git a/ui/app/styles/components/navigate-input.scss b/ui/app/styles/components/navigate-input.scss index 471e85177..c0e20102f 100644 --- a/ui/app/styles/components/navigate-input.scss +++ b/ui/app/styles/components/navigate-input.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .search-icon { position: absolute; top: 6px; diff --git a/ui/app/styles/components/page-header.scss b/ui/app/styles/components/page-header.scss index e4fdbf785..1d3571c08 100644 --- a/ui/app/styles/components/page-header.scss +++ b/ui/app/styles/components/page-header.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .page-header { padding-bottom: $size-10; padding-top: $size-4; diff --git a/ui/app/styles/components/popup-menu.scss b/ui/app/styles/components/popup-menu.scss index 2c78604e8..43188a0b7 100644 --- a/ui/app/styles/components/popup-menu.scss +++ b/ui/app/styles/components/popup-menu.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .popup-menu-content, .ember-power-select-options { border-radius: 2px; diff --git a/ui/app/styles/components/radial-progress.scss b/ui/app/styles/components/radial-progress.scss index 4f17bd6cd..1a065307e 100644 --- a/ui/app/styles/components/radial-progress.scss +++ b/ui/app/styles/components/radial-progress.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .radial-progress { transform: rotate(-90deg) translateX(-20%); } diff --git a/ui/app/styles/components/radio-card.scss b/ui/app/styles/components/radio-card.scss index aadce36b6..1bf70e211 100644 --- a/ui/app/styles/components/radio-card.scss +++ b/ui/app/styles/components/radio-card.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .radio-card-selector { display: flex; margin-bottom: $spacing-xs; diff --git a/ui/app/styles/components/raft-join.scss b/ui/app/styles/components/raft-join.scss index 942df4b46..a2209f93b 100644 --- a/ui/app/styles/components/raft-join.scss +++ b/ui/app/styles/components/raft-join.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .raft-join .field { margin-bottom: 0; } diff --git a/ui/app/styles/components/read-more.scss b/ui/app/styles/components/read-more.scss index a7ea33f90..2e678a683 100644 --- a/ui/app/styles/components/read-more.scss +++ b/ui/app/styles/components/read-more.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .linkable-item-seemore { grid-column: 2; grid-row: 1; diff --git a/ui/app/styles/components/regex-validator.scss b/ui/app/styles/components/regex-validator.scss index 2f3213335..ab9c68d0b 100644 --- a/ui/app/styles/components/regex-validator.scss +++ b/ui/app/styles/components/regex-validator.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .regex-label-wrapper { display: flex; align-items: flex-end; diff --git a/ui/app/styles/components/replication-dashboard.scss b/ui/app/styles/components/replication-dashboard.scss index 3cca15c76..ab21adee3 100644 --- a/ui/app/styles/components/replication-dashboard.scss +++ b/ui/app/styles/components/replication-dashboard.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .replication-dashboard { box-shadow: none; diff --git a/ui/app/styles/components/replication-header.scss b/ui/app/styles/components/replication-header.scss index 7a9342630..aaa10541f 100644 --- a/ui/app/styles/components/replication-header.scss +++ b/ui/app/styles/components/replication-header.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .replication-header { .tabs-container { margin-bottom: $spacing-l; diff --git a/ui/app/styles/components/replication-mode-summary.scss b/ui/app/styles/components/replication-mode-summary.scss index 27ba8a577..d1cb2cb1d 100644 --- a/ui/app/styles/components/replication-mode-summary.scss +++ b/ui/app/styles/components/replication-mode-summary.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .replication-description { flex-shrink: 1; diff --git a/ui/app/styles/components/replication-page.scss b/ui/app/styles/components/replication-page.scss index 8a4f13353..e81f480e8 100644 --- a/ui/app/styles/components/replication-page.scss +++ b/ui/app/styles/components/replication-page.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .replication-page { .empty-state { background: none; diff --git a/ui/app/styles/components/replication-primary-card.scss b/ui/app/styles/components/replication-primary-card.scss index 8cf99be14..e0c9787f3 100644 --- a/ui/app/styles/components/replication-primary-card.scss +++ b/ui/app/styles/components/replication-primary-card.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .replication { .selectable-card { display: initial; diff --git a/ui/app/styles/components/replication-summary.scss b/ui/app/styles/components/replication-summary.scss index a28ea92d2..6ab7be62d 100644 --- a/ui/app/styles/components/replication-summary.scss +++ b/ui/app/styles/components/replication-summary.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .replication { .toolbar { border-top: 0px; diff --git a/ui/app/styles/components/role-item.scss b/ui/app/styles/components/role-item.scss index 9663deba0..67c876bcf 100644 --- a/ui/app/styles/components/role-item.scss +++ b/ui/app/styles/components/role-item.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .role-item-details { float: left; margin-left: 8px; diff --git a/ui/app/styles/components/search-select.scss b/ui/app/styles/components/search-select.scss index 95594757f..7d925edc4 100644 --- a/ui/app/styles/components/search-select.scss +++ b/ui/app/styles/components/search-select.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .ember-power-select-dropdown { background: transparent; box-shadow: none; diff --git a/ui/app/styles/components/selectable-card-container.scss b/ui/app/styles/components/selectable-card-container.scss index af4f7afee..0c98498ba 100644 --- a/ui/app/styles/components/selectable-card-container.scss +++ b/ui/app/styles/components/selectable-card-container.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .selectable-card-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); diff --git a/ui/app/styles/components/selectable-card.scss b/ui/app/styles/components/selectable-card.scss index 4b5ae9d31..64d867cc6 100644 --- a/ui/app/styles/components/selectable-card.scss +++ b/ui/app/styles/components/selectable-card.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .selectable-card { box-shadow: 0 0 0 1px rgba($grey-dark, 0.3); display: flex; diff --git a/ui/app/styles/components/shamir-modal-flow.scss b/ui/app/styles/components/shamir-modal-flow.scss index d9ec1e280..f7f70d5e5 100644 --- a/ui/app/styles/components/shamir-modal-flow.scss +++ b/ui/app/styles/components/shamir-modal-flow.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .field-title { font-weight: 700; font-size: $size-7; diff --git a/ui/app/styles/components/shamir-progress.scss b/ui/app/styles/components/shamir-progress.scss index 1169b45a4..599fa044d 100644 --- a/ui/app/styles/components/shamir-progress.scss +++ b/ui/app/styles/components/shamir-progress.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .shamir-progress { .shamir-progress-progress { display: inline-block; diff --git a/ui/app/styles/components/sidebar.scss b/ui/app/styles/components/sidebar.scss index 6a5003834..4976d8144 100644 --- a/ui/app/styles/components/sidebar.scss +++ b/ui/app/styles/components/sidebar.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .is-sidebar { border-right: $base-border; display: flex; diff --git a/ui/app/styles/components/splash-page.scss b/ui/app/styles/components/splash-page.scss index 637bfd5fa..fbfdd85f2 100644 --- a/ui/app/styles/components/splash-page.scss +++ b/ui/app/styles/components/splash-page.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .navbar-brand .splash-page-logo { padding: $spacing-xs $spacing-s $spacing-xs $spacing-l; diff --git a/ui/app/styles/components/stat-text.scss b/ui/app/styles/components/stat-text.scss index abe206db1..5fbf8b45b 100644 --- a/ui/app/styles/components/stat-text.scss +++ b/ui/app/styles/components/stat-text.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .stat-text-container { line-height: normal; max-height: 100%; diff --git a/ui/app/styles/components/status-menu.scss b/ui/app/styles/components/status-menu.scss index 11560c93e..bdb17c6cc 100644 --- a/ui/app/styles/components/status-menu.scss +++ b/ui/app/styles/components/status-menu.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .status-indicator-button { &[data-status='good'] { .status-indicator-color { diff --git a/ui/app/styles/components/tabs.scss b/ui/app/styles/components/tabs.scss index 088f77865..2b6341f17 100644 --- a/ui/app/styles/components/tabs.scss +++ b/ui/app/styles/components/tabs.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .page-header + .tabs-container { box-shadow: none; } diff --git a/ui/app/styles/components/text-file.scss b/ui/app/styles/components/text-file.scss index f7dd0f8f7..081beb2e5 100644 --- a/ui/app/styles/components/text-file.scss +++ b/ui/app/styles/components/text-file.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .text-file { .has-icon-right { display: flex; diff --git a/ui/app/styles/components/token-expire-warning.scss b/ui/app/styles/components/token-expire-warning.scss index 844e71bbc..ca439660c 100644 --- a/ui/app/styles/components/token-expire-warning.scss +++ b/ui/app/styles/components/token-expire-warning.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .token-expire-warning { position: absolute; z-index: 200; diff --git a/ui/app/styles/components/tool-tip.scss b/ui/app/styles/components/tool-tip.scss index 3f3bf5d3e..94a029a69 100644 --- a/ui/app/styles/components/tool-tip.scss +++ b/ui/app/styles/components/tool-tip.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .tool-tip { font-size: $size-7; text-transform: none; diff --git a/ui/app/styles/components/toolbar.scss b/ui/app/styles/components/toolbar.scss index 2f53edd8e..130d25853 100644 --- a/ui/app/styles/components/toolbar.scss +++ b/ui/app/styles/components/toolbar.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .tabs-container + .toolbar { border-top: 0; } diff --git a/ui/app/styles/components/transform-edit.scss b/ui/app/styles/components/transform-edit.scss index 3d6cb8903..4c189a328 100644 --- a/ui/app/styles/components/transform-edit.scss +++ b/ui/app/styles/components/transform-edit.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .copy-text { background: $ui-gray-010; diff --git a/ui/app/styles/components/transit-card.scss b/ui/app/styles/components/transit-card.scss index 82a6628ca..f10d527ca 100644 --- a/ui/app/styles/components/transit-card.scss +++ b/ui/app/styles/components/transit-card.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .transit-card-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 0.2fr)); diff --git a/ui/app/styles/components/ttl-picker.scss b/ui/app/styles/components/ttl-picker.scss index 2b5041a41..0a69524c7 100644 --- a/ui/app/styles/components/ttl-picker.scss +++ b/ui/app/styles/components/ttl-picker.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .ttl-show-picker { padding: 0.5rem 0 1.6rem 2.4rem; } diff --git a/ui/app/styles/components/ui-wizard.scss b/ui/app/styles/components/ui-wizard.scss index 3dd3397b5..8f083a830 100644 --- a/ui/app/styles/components/ui-wizard.scss +++ b/ui/app/styles/components/ui-wizard.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .ui-wizard-container { display: flex; flex-direction: column; diff --git a/ui/app/styles/components/unseal-warning.scss b/ui/app/styles/components/unseal-warning.scss index 8a65b54df..f40f320ac 100644 --- a/ui/app/styles/components/unseal-warning.scss +++ b/ui/app/styles/components/unseal-warning.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .unseal-warning.message { margin: -1px -1px 0; } diff --git a/ui/app/styles/components/vault-loading.scss b/ui/app/styles/components/vault-loading.scss index 0785f5ba8..a038a9689 100644 --- a/ui/app/styles/components/vault-loading.scss +++ b/ui/app/styles/components/vault-loading.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + @keyframes vault-loading-animation { 0%, 70%, diff --git a/ui/app/styles/components/vlt-radio.scss b/ui/app/styles/components/vlt-radio.scss index bda8e560d..972e63fcb 100644 --- a/ui/app/styles/components/vlt-radio.scss +++ b/ui/app/styles/components/vlt-radio.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .vlt-radio { position: relative; input[type='radio'] { diff --git a/ui/app/styles/components/vlt-table.scss b/ui/app/styles/components/vlt-table.scss index c55633de6..24dc68bd3 100644 --- a/ui/app/styles/components/vlt-table.scss +++ b/ui/app/styles/components/vlt-table.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .vlt-table { .is-collapsed { visibility: collapse; diff --git a/ui/app/styles/core.scss b/ui/app/styles/core.scss index b93ae859d..f788e07ba 100644 --- a/ui/app/styles/core.scss +++ b/ui/app/styles/core.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // Start with Structure & Bulma variables as a foundation @import './utils/colors'; @import './utils/spacing'; diff --git a/ui/app/styles/core/alert-banner.scss b/ui/app/styles/core/alert-banner.scss index 9ab82281c..57ed20c7a 100644 --- a/ui/app/styles/core/alert-banner.scss +++ b/ui/app/styles/core/alert-banner.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .alert-banner-message-body { border: 0; margin-top: $spacing-xxs; diff --git a/ui/app/styles/core/box.scss b/ui/app/styles/core/box.scss index fc7cec98c..70c2935d9 100644 --- a/ui/app/styles/core/box.scss +++ b/ui/app/styles/core/box.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .box { box-shadow: 0 0 0 1px rgba($grey-dark, 0.3); diff --git a/ui/app/styles/core/breadcrumb.scss b/ui/app/styles/core/breadcrumb.scss index cef86dfd5..8d20a496d 100644 --- a/ui/app/styles/core/breadcrumb.scss +++ b/ui/app/styles/core/breadcrumb.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .breadcrumb { -ms-user-select: text; -webkit-user-select: text; diff --git a/ui/app/styles/core/bulma-radio-checkboxes.scss b/ui/app/styles/core/bulma-radio-checkboxes.scss index d41699356..0dd96de6a 100644 --- a/ui/app/styles/core/bulma-radio-checkboxes.scss +++ b/ui/app/styles/core/bulma-radio-checkboxes.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + @import '../sass-svg-uri/svg-uri'; .b-checkbox input[type='checkbox']:checked + label::before { diff --git a/ui/app/styles/core/buttons.scss b/ui/app/styles/core/buttons.scss index 2d8cf8ffb..b9a8ca242 100644 --- a/ui/app/styles/core/buttons.scss +++ b/ui/app/styles/core/buttons.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + $button-box-shadow-standard: 0 3px 1px 0 rgba($black, 0.12); .button { diff --git a/ui/app/styles/core/charts.scss b/ui/app/styles/core/charts.scss index be73b2d0d..0d95a980b 100644 --- a/ui/app/styles/core/charts.scss +++ b/ui/app/styles/core/charts.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .chart-wrapper { border: $light-border; border-radius: $radius-large; diff --git a/ui/app/styles/core/footer.scss b/ui/app/styles/core/footer.scss index e3f3a3d79..49aa90c27 100644 --- a/ui/app/styles/core/footer.scss +++ b/ui/app/styles/core/footer.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .footer { background-color: transparent; border-top: $base-border; diff --git a/ui/app/styles/core/forms.scss b/ui/app/styles/core/forms.scss index aeece3b51..5a0c471d4 100644 --- a/ui/app/styles/core/forms.scss +++ b/ui/app/styles/core/forms.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + form { margin: 0; } diff --git a/ui/app/styles/core/generic.scss b/ui/app/styles/core/generic.scss index 8349d0fcb..9dc8804c5 100644 --- a/ui/app/styles/core/generic.scss +++ b/ui/app/styles/core/generic.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // seriously ? yes. seriously. a { text-decoration: underline; diff --git a/ui/app/styles/core/helpers.scss b/ui/app/styles/core/helpers.scss index 03f03334f..525364ea1 100644 --- a/ui/app/styles/core/helpers.scss +++ b/ui/app/styles/core/helpers.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .is-invisible { visibility: hidden; } diff --git a/ui/app/styles/core/hero.scss b/ui/app/styles/core/hero.scss index bf040a64f..1a308f850 100644 --- a/ui/app/styles/core/hero.scss +++ b/ui/app/styles/core/hero.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .hero-body { padding: 3rem 2rem 1rem; diff --git a/ui/app/styles/core/layout.scss b/ui/app/styles/core/layout.scss index 2a12adb2c..d40dbc169 100644 --- a/ui/app/styles/core/layout.scss +++ b/ui/app/styles/core/layout.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .ember-application > .ember-view { display: flex; flex-direction: column; diff --git a/ui/app/styles/core/level.scss b/ui/app/styles/core/level.scss index ffe88fb49..8bfb47116 100644 --- a/ui/app/styles/core/level.scss +++ b/ui/app/styles/core/level.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .level:not(:last-child) { @include vault-block; } diff --git a/ui/app/styles/core/lists.scss b/ui/app/styles/core/lists.scss index 44f6f08d7..91f2ad7fe 100644 --- a/ui/app/styles/core/lists.scss +++ b/ui/app/styles/core/lists.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .sep { display: inline-flex; align-items: center; diff --git a/ui/app/styles/core/menu.scss b/ui/app/styles/core/menu.scss index f970ade36..914cb6329 100644 --- a/ui/app/styles/core/menu.scss +++ b/ui/app/styles/core/menu.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .column .menu-list a { border-radius: 0; border-right: 0 solid transparent; diff --git a/ui/app/styles/core/message.scss b/ui/app/styles/core/message.scss index 197d7cdb5..d864ca498 100644 --- a/ui/app/styles/core/message.scss +++ b/ui/app/styles/core/message.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .message { background: $blue-010; border: 1px solid $blue-100; diff --git a/ui/app/styles/core/navbar.scss b/ui/app/styles/core/navbar.scss index 48d9cc7d1..8d6b582aa 100644 --- a/ui/app/styles/core/navbar.scss +++ b/ui/app/styles/core/navbar.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .navbar { left: 0; position: fixed; diff --git a/ui/app/styles/core/notification.scss b/ui/app/styles/core/notification.scss index 187e864b7..d987ddb27 100644 --- a/ui/app/styles/core/notification.scss +++ b/ui/app/styles/core/notification.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .notification { padding: $spacing-m $spacing-m $spacing-m $spacing-s; diff --git a/ui/app/styles/core/progress.scss b/ui/app/styles/core/progress.scss index ceb4f8e98..4c1e7900b 100644 --- a/ui/app/styles/core/progress.scss +++ b/ui/app/styles/core/progress.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .progress { -webkit-appearance: none; -moz-appearance: none; diff --git a/ui/app/styles/core/select.scss b/ui/app/styles/core/select.scss index 449bf9fb6..b4d3fc54c 100644 --- a/ui/app/styles/core/select.scss +++ b/ui/app/styles/core/select.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .select select { text-rendering: auto !important; } diff --git a/ui/app/styles/core/switch.scss b/ui/app/styles/core/switch.scss index 7163ab4f3..efd849422 100644 --- a/ui/app/styles/core/switch.scss +++ b/ui/app/styles/core/switch.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .switch[type='checkbox'] { &.is-small { + label { diff --git a/ui/app/styles/core/tables.scss b/ui/app/styles/core/tables.scss index 6d6d6c120..9d09aac3d 100644 --- a/ui/app/styles/core/tables.scss +++ b/ui/app/styles/core/tables.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .table { thead, .thead { diff --git a/ui/app/styles/core/tags.scss b/ui/app/styles/core/tags.scss index 3d8691c03..d0221fa00 100644 --- a/ui/app/styles/core/tags.scss +++ b/ui/app/styles/core/tags.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .tag:not(body) { background-color: $ui-gray-100; border-radius: 2px; diff --git a/ui/app/styles/core/title.scss b/ui/app/styles/core/title.scss index 0c6195e76..4fdda1a92 100644 --- a/ui/app/styles/core/title.scss +++ b/ui/app/styles/core/title.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .title:not(:last-child), .subtitle:not(:last-child) { display: block; diff --git a/ui/app/styles/core/toggle.scss b/ui/app/styles/core/toggle.scss index 1dbe5a2bb..6ac53efb8 100644 --- a/ui/app/styles/core/toggle.scss +++ b/ui/app/styles/core/toggle.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* COPIED FROM BULMA/SWITCH */ .toggle[type='checkbox'] { outline: 0; diff --git a/ui/app/styles/utils/_bulma_variables.scss b/ui/app/styles/utils/_bulma_variables.scss index cecde527c..104a15a93 100644 --- a/ui/app/styles/utils/_bulma_variables.scss +++ b/ui/app/styles/utils/_bulma_variables.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // Color overrides $light: $grey-lightest; $primary: $grey-dark; diff --git a/ui/app/styles/utils/_colors.scss b/ui/app/styles/utils/_colors.scss index 49c3ae66b..c7d530235 100644 --- a/ui/app/styles/utils/_colors.scss +++ b/ui/app/styles/utils/_colors.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // Colors that will eventually be in Structure package // Vault Gray diff --git a/ui/app/styles/utils/_spacing.scss b/ui/app/styles/utils/_spacing.scss index 029266d9c..87c150a1a 100644 --- a/ui/app/styles/utils/_spacing.scss +++ b/ui/app/styles/utils/_spacing.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // Spacing that will eventually be in Structure package $spacing-xxs: 4px; diff --git a/ui/app/styles/utils/animations.scss b/ui/app/styles/utils/animations.scss index 0020823b4..40731346c 100644 --- a/ui/app/styles/utils/animations.scss +++ b/ui/app/styles/utils/animations.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + @mixin keyframes($name) { @-webkit-keyframes #{$name} { @content; diff --git a/ui/app/styles/utils/mixins.scss b/ui/app/styles/utils/mixins.scss index 212a01172..c4867cf45 100644 --- a/ui/app/styles/utils/mixins.scss +++ b/ui/app/styles/utils/mixins.scss @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + @mixin css-arrow( $vertical-direction, $size, diff --git a/ui/app/transforms/array.js b/ui/app/transforms/array.js index 54ad17fbd..3bfd08e80 100644 --- a/ui/app/transforms/array.js +++ b/ui/app/transforms/array.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Transform from '@ember-data/serializer/transform'; import { isArray, A } from '@ember/array'; /* diff --git a/ui/app/transforms/object.js b/ui/app/transforms/object.js index fcf6c3614..49b3c6b2e 100644 --- a/ui/app/transforms/object.js +++ b/ui/app/transforms/object.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Transform from '@ember-data/serializer/transform'; import { typeOf } from '@ember/utils'; /* diff --git a/ui/app/utils/api-path.js b/ui/app/utils/api-path.js index 8dcff1102..2bfa2b8b9 100644 --- a/ui/app/utils/api-path.js +++ b/ui/app/utils/api-path.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { assert } from '@ember/debug'; // This is a tagged template function that will diff --git a/ui/app/utils/chart-helpers.js b/ui/app/utils/chart-helpers.js index 4df56a145..fcc7761f7 100644 --- a/ui/app/utils/chart-helpers.js +++ b/ui/app/utils/chart-helpers.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { format } from 'd3-format'; import { mean } from 'd3-array'; diff --git a/ui/app/utils/clamp.js b/ui/app/utils/clamp.js index b2c60a826..08b99d20f 100644 --- a/ui/app/utils/clamp.js +++ b/ui/app/utils/clamp.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export default function (num, min, max) { let inRangeNumber; if (typeof num !== 'number') { diff --git a/ui/app/utils/database-helpers.js b/ui/app/utils/database-helpers.js index b1a34833b..6ef6c92ca 100644 --- a/ui/app/utils/database-helpers.js +++ b/ui/app/utils/database-helpers.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export const AVAILABLE_PLUGIN_TYPES = [ { value: 'elasticsearch-database-plugin', diff --git a/ui/app/utils/error-message.js b/ui/app/utils/error-message.js index 82614f5a6..ccaa8573e 100644 --- a/ui/app/utils/error-message.js +++ b/ui/app/utils/error-message.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // accepts an error and returns error.errors joined with a comma, error.message or a fallback message export default function (error, fallbackMessage = 'An error occurred, please try again') { if (error instanceof Error && error?.errors) { diff --git a/ui/app/utils/field-to-attrs.js b/ui/app/utils/field-to-attrs.js index 06113f8f6..0f87d2781 100644 --- a/ui/app/utils/field-to-attrs.js +++ b/ui/app/utils/field-to-attrs.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { expandProperties } from '@ember/object/computed'; /* * diff --git a/ui/app/utils/identity-manager.js b/ui/app/utils/identity-manager.js index 4a11c019c..f678c0669 100644 --- a/ui/app/utils/identity-manager.js +++ b/ui/app/utils/identity-manager.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { v4 as uuidv4 } from 'uuid'; // manage a set of unique ids diff --git a/ui/app/utils/openapi-to-attrs.js b/ui/app/utils/openapi-to-attrs.js index 7fd60ceeb..4a8311d8f 100644 --- a/ui/app/utils/openapi-to-attrs.js +++ b/ui/app/utils/openapi-to-attrs.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attr } from '@ember-data/model'; import { assign } from '@ember/polyfills'; import { camelize, capitalize } from '@ember/string'; diff --git a/ui/app/utils/parse-pki-cert-oids.js b/ui/app/utils/parse-pki-cert-oids.js index 715bc5c48..e60928a81 100644 --- a/ui/app/utils/parse-pki-cert-oids.js +++ b/ui/app/utils/parse-pki-cert-oids.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + //* lookup OIDs: http://oid-info.com/basic-search.htm export const SUBJECT_OIDs = { diff --git a/ui/app/utils/parse-pki-cert.js b/ui/app/utils/parse-pki-cert.js index b95976f85..84bbe143d 100644 --- a/ui/app/utils/parse-pki-cert.js +++ b/ui/app/utils/parse-pki-cert.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import * as asn1js from 'asn1js'; import { fromBase64, stringToArrayBuffer } from 'pvutils'; import { Certificate } from 'pkijs'; diff --git a/ui/app/utils/path-encoding-helpers.js b/ui/app/utils/path-encoding-helpers.js index 1e89905b9..2fa650cd3 100644 --- a/ui/app/utils/path-encoding-helpers.js +++ b/ui/app/utils/path-encoding-helpers.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import RouteRecognizer from 'route-recognizer'; const { diff --git a/ui/app/utils/remove-record.js b/ui/app/utils/remove-record.js index b70120a9f..f7095b7bf 100644 --- a/ui/app/utils/remove-record.js +++ b/ui/app/utils/remove-record.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // Unlinks a record from all its relationships and unloads it from // the store. export default function removeRecord(store, record) { diff --git a/ui/app/utils/trim-right.js b/ui/app/utils/trim-right.js index cd1eeb6fb..fc434c920 100644 --- a/ui/app/utils/trim-right.js +++ b/ui/app/utils/trim-right.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // will trim a given set of endings from the end of a string // if isExtension is true, the first char of that string will be escaped // in the regex diff --git a/ui/app/utils/validators.js b/ui/app/utils/validators.js index bc9e633e9..ceab04ef3 100644 --- a/ui/app/utils/validators.js +++ b/ui/app/utils/validators.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { isPresent } from '@ember/utils'; export const presence = (value) => isPresent(value); diff --git a/ui/blueprints/component/files/__root__/__path__/__name__.js b/ui/blueprints/component/files/__root__/__path__/__name__.js index e2409dfef..5ab6717b0 100644 --- a/ui/blueprints/component/files/__root__/__path__/__name__.js +++ b/ui/blueprints/component/files/__root__/__path__/__name__.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; <%= importTemplate %> <%= setComponentTemplate %> diff --git a/ui/blueprints/component/index.js b/ui/blueprints/component/index.js index a626b0b23..8ff3e228c 100644 --- a/ui/blueprints/component/index.js +++ b/ui/blueprints/component/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + 'use strict'; /* eslint-disable node/no-extraneous-require */ /* eslint-disable ember/no-string-prototype-extensions */ diff --git a/ui/config/content-security-policy.js b/ui/config/content-security-policy.js index 5fadd84c8..648475647 100644 --- a/ui/config/content-security-policy.js +++ b/ui/config/content-security-policy.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + module.exports = function (environment) { return { delivery: ['header', 'meta'], diff --git a/ui/config/deprecation-workflow.js b/ui/config/deprecation-workflow.js index 6d129b31a..a6b053a00 100644 --- a/ui/config/deprecation-workflow.js +++ b/ui/config/deprecation-workflow.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* global self */ self.deprecationWorkflow = self.deprecationWorkflow || {}; //self.deprecationWorkflow.config = { diff --git a/ui/config/environment.js b/ui/config/environment.js index bf5d0ab60..b74474443 100644 --- a/ui/config/environment.js +++ b/ui/config/environment.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-env node */ 'use strict'; diff --git a/ui/config/targets.js b/ui/config/targets.js index 9f6cc6396..d92bdaecb 100644 --- a/ui/config/targets.js +++ b/ui/config/targets.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + 'use strict'; const browsers = ['last 1 Chrome versions', 'last 1 Firefox versions', 'last 1 Safari versions']; diff --git a/ui/ember-cli-build.js b/ui/ember-cli-build.js index 7468f378f..1ca97f2c8 100644 --- a/ui/ember-cli-build.js +++ b/ui/ember-cli-build.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-env node */ 'use strict'; diff --git a/ui/lib/.eslintrc.js b/ui/lib/.eslintrc.js index 02fab21e1..eae63673d 100644 --- a/ui/lib/.eslintrc.js +++ b/ui/lib/.eslintrc.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + module.exports = { env: { node: true, diff --git a/ui/lib/core/addon/components/alert-banner.js b/ui/lib/core/addon/components/alert-banner.js index 40e5ff698..4cc8686a7 100644 --- a/ui/lib/core/addon/components/alert-banner.js +++ b/ui/lib/core/addon/components/alert-banner.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { messageTypes } from 'core/helpers/message-types'; import { assert } from '@ember/debug'; diff --git a/ui/lib/core/addon/components/alert-inline.js b/ui/lib/core/addon/components/alert-inline.js index 8c7482b40..9f4fa5453 100644 --- a/ui/lib/core/addon/components/alert-inline.js +++ b/ui/lib/core/addon/components/alert-inline.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { later } from '@ember/runloop'; diff --git a/ui/lib/core/addon/components/autocomplete-input.js b/ui/lib/core/addon/components/autocomplete-input.js index ccd38fcbc..f7a8cb854 100644 --- a/ui/lib/core/addon/components/autocomplete-input.js +++ b/ui/lib/core/addon/components/autocomplete-input.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; diff --git a/ui/lib/core/addon/components/box-radio.js b/ui/lib/core/addon/components/box-radio.js index c365c8672..c01c13ba0 100644 --- a/ui/lib/core/addon/components/box-radio.js +++ b/ui/lib/core/addon/components/box-radio.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module BoxRadio * BoxRadio components are used to display options for a radio selection. diff --git a/ui/lib/core/addon/components/checkbox-grid.ts b/ui/lib/core/addon/components/checkbox-grid.ts index 07f31d1ef..ac2883d19 100644 --- a/ui/lib/core/addon/components/checkbox-grid.ts +++ b/ui/lib/core/addon/components/checkbox-grid.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { HTMLElementEvent } from 'forms'; diff --git a/ui/lib/core/addon/components/chevron.js b/ui/lib/core/addon/components/chevron.js index 53892e846..4b36f1309 100644 --- a/ui/lib/core/addon/components/chevron.js +++ b/ui/lib/core/addon/components/chevron.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module Chevron * `Chevron` components render `Icon` with one of the `chevron-` glyphs. diff --git a/ui/lib/core/addon/components/confirm-action.js b/ui/lib/core/addon/components/confirm-action.js index 9630ce992..715540d26 100644 --- a/ui/lib/core/addon/components/confirm-action.js +++ b/ui/lib/core/addon/components/confirm-action.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { assert } from '@ember/debug'; diff --git a/ui/lib/core/addon/components/confirm.js b/ui/lib/core/addon/components/confirm.js index fba414479..a287b78af 100644 --- a/ui/lib/core/addon/components/confirm.js +++ b/ui/lib/core/addon/components/confirm.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import { computed } from '@ember/object'; import { htmlSafe } from '@ember/template'; diff --git a/ui/lib/core/addon/components/confirm/message.js b/ui/lib/core/addon/components/confirm/message.js index 71ab54531..461b0f37e 100644 --- a/ui/lib/core/addon/components/confirm/message.js +++ b/ui/lib/core/addon/components/confirm/message.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import { computed } from '@ember/object'; import layout from '../../templates/components/confirm/message'; diff --git a/ui/lib/core/addon/components/confirmation-modal.js b/ui/lib/core/addon/components/confirmation-modal.js index 7c935705a..0675129ae 100644 --- a/ui/lib/core/addon/components/confirmation-modal.js +++ b/ui/lib/core/addon/components/confirmation-modal.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; /** * @module ConfirmationModal diff --git a/ui/lib/core/addon/components/doc-link.js b/ui/lib/core/addon/components/doc-link.js index ef3263481..fd211b402 100644 --- a/ui/lib/core/addon/components/doc-link.js +++ b/ui/lib/core/addon/components/doc-link.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ExternalLink from './external-link'; /** diff --git a/ui/lib/core/addon/components/download-button.js b/ui/lib/core/addon/components/download-button.js index 365b7f625..3c651a5b6 100644 --- a/ui/lib/core/addon/components/download-button.js +++ b/ui/lib/core/addon/components/download-button.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/core/addon/components/edit-form.js b/ui/lib/core/addon/components/edit-form.js index cdce64c87..c409fdebc 100644 --- a/ui/lib/core/addon/components/edit-form.js +++ b/ui/lib/core/addon/components/edit-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AdapterError from '@ember-data/adapter/error'; import { inject as service } from '@ember/service'; import Component from '@ember/component'; diff --git a/ui/lib/core/addon/components/empty-state.js b/ui/lib/core/addon/components/empty-state.js index 62b82ec1a..c325643eb 100644 --- a/ui/lib/core/addon/components/empty-state.js +++ b/ui/lib/core/addon/components/empty-state.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import layout from '../templates/components/empty-state'; diff --git a/ui/lib/core/addon/components/external-link.js b/ui/lib/core/addon/components/external-link.js index e9dbe2bd9..d2825af42 100644 --- a/ui/lib/core/addon/components/external-link.js +++ b/ui/lib/core/addon/components/external-link.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; /** diff --git a/ui/lib/core/addon/components/field-group-show.js b/ui/lib/core/addon/components/field-group-show.js index 1d0a71bf0..428b3d2e9 100644 --- a/ui/lib/core/addon/components/field-group-show.js +++ b/ui/lib/core/addon/components/field-group-show.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module FieldGroupShow * FieldGroupShow components are used to... diff --git a/ui/lib/core/addon/components/form-error.js b/ui/lib/core/addon/components/form-error.js index 62378ff10..29adae7de 100644 --- a/ui/lib/core/addon/components/form-error.js +++ b/ui/lib/core/addon/components/form-error.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module FormError * FormError components are used to show an error on a form field that is more compact than the diff --git a/ui/lib/core/addon/components/form-field-groups-loop.js b/ui/lib/core/addon/components/form-field-groups-loop.js index fe3c84e4d..a464c5efb 100644 --- a/ui/lib/core/addon/components/form-field-groups-loop.js +++ b/ui/lib/core/addon/components/form-field-groups-loop.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; /** diff --git a/ui/lib/core/addon/components/form-field-groups.js b/ui/lib/core/addon/components/form-field-groups.js index 0e49af744..54af8717f 100644 --- a/ui/lib/core/addon/components/form-field-groups.js +++ b/ui/lib/core/addon/components/form-field-groups.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; import { action } from '@ember/object'; diff --git a/ui/lib/core/addon/components/form-field-label.js b/ui/lib/core/addon/components/form-field-label.js index 4e0ee35f9..aa40a4a1f 100644 --- a/ui/lib/core/addon/components/form-field-label.js +++ b/ui/lib/core/addon/components/form-field-label.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import templateOnly from '@ember/component/template-only'; /** diff --git a/ui/lib/core/addon/components/form-field.js b/ui/lib/core/addon/components/form-field.js index dfad85ada..18042d418 100644 --- a/ui/lib/core/addon/components/form-field.js +++ b/ui/lib/core/addon/components/form-field.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; import { action } from '@ember/object'; diff --git a/ui/lib/core/addon/components/form-save-buttons.js b/ui/lib/core/addon/components/form-save-buttons.js index 978796de1..9bfa234bb 100644 --- a/ui/lib/core/addon/components/form-save-buttons.js +++ b/ui/lib/core/addon/components/form-save-buttons.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import { computed } from '@ember/object'; import layout from '../templates/components/form-save-buttons'; diff --git a/ui/lib/core/addon/components/icon.js b/ui/lib/core/addon/components/icon.js index cfb4025b2..05e776326 100644 --- a/ui/lib/core/addon/components/icon.js +++ b/ui/lib/core/addon/components/icon.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import { computed } from '@ember/object'; import { assert } from '@ember/debug'; diff --git a/ui/lib/core/addon/components/info-table-item-array.js b/ui/lib/core/addon/components/info-table-item-array.js index 7c4f7dbb2..2b78184c0 100644 --- a/ui/lib/core/addon/components/info-table-item-array.js +++ b/ui/lib/core/addon/components/info-table-item-array.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/core/addon/components/info-table-row.js b/ui/lib/core/addon/components/info-table-row.js index 3d05656d6..9e6b6109b 100644 --- a/ui/lib/core/addon/components/info-table-row.js +++ b/ui/lib/core/addon/components/info-table-row.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { typeOf } from '@ember/utils'; import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/lib/core/addon/components/info-table.js b/ui/lib/core/addon/components/info-table.js index 13959817d..16b811045 100644 --- a/ui/lib/core/addon/components/info-table.js +++ b/ui/lib/core/addon/components/info-table.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import layout from '../templates/components/info-table'; diff --git a/ui/lib/core/addon/components/info-tooltip.js b/ui/lib/core/addon/components/info-tooltip.js index c72fd4874..c88f7fd79 100644 --- a/ui/lib/core/addon/components/info-tooltip.js +++ b/ui/lib/core/addon/components/info-tooltip.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import layout from '../templates/components/info-tooltip'; diff --git a/ui/lib/core/addon/components/input-search.js b/ui/lib/core/addon/components/input-search.js index d90abed33..83eda1f6e 100644 --- a/ui/lib/core/addon/components/input-search.js +++ b/ui/lib/core/addon/components/input-search.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/lib/core/addon/components/json-editor.js b/ui/lib/core/addon/components/json-editor.js index c90541037..831f32c38 100644 --- a/ui/lib/core/addon/components/json-editor.js +++ b/ui/lib/core/addon/components/json-editor.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; diff --git a/ui/lib/core/addon/components/key-value-header.js b/ui/lib/core/addon/components/key-value-header.js index fbc5c3ca0..ff5ebc672 100644 --- a/ui/lib/core/addon/components/key-value-header.js +++ b/ui/lib/core/addon/components/key-value-header.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import utils from 'vault/lib/key-utils'; import { encodePath } from 'vault/utils/path-encoding-helpers'; diff --git a/ui/lib/core/addon/components/kv-object-editor.js b/ui/lib/core/addon/components/kv-object-editor.js index 100aadc36..f95b3dde3 100644 --- a/ui/lib/core/addon/components/kv-object-editor.js +++ b/ui/lib/core/addon/components/kv-object-editor.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; import { isNone } from '@ember/utils'; diff --git a/ui/lib/core/addon/components/layout-loading.js b/ui/lib/core/addon/components/layout-loading.js index 5723895b6..6e1e82c52 100644 --- a/ui/lib/core/addon/components/layout-loading.js +++ b/ui/lib/core/addon/components/layout-loading.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import layout from '../templates/components/layout-loading'; diff --git a/ui/lib/core/addon/components/linkable-item.js b/ui/lib/core/addon/components/linkable-item.js index d55ccbe65..00ea3100c 100644 --- a/ui/lib/core/addon/components/linkable-item.js +++ b/ui/lib/core/addon/components/linkable-item.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import layout from '../templates/components/linkable-item'; import { setComponentTemplate } from '@ember/component'; diff --git a/ui/lib/core/addon/components/linkable-item/content.js b/ui/lib/core/addon/components/linkable-item/content.js index c9449b7aa..5f29692e3 100644 --- a/ui/lib/core/addon/components/linkable-item/content.js +++ b/ui/lib/core/addon/components/linkable-item/content.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import layout from '../../templates/components/linkable-item/content'; import { setComponentTemplate } from '@ember/component'; diff --git a/ui/lib/core/addon/components/linkable-item/menu.js b/ui/lib/core/addon/components/linkable-item/menu.js index aa4a0fc28..acc36b3ee 100644 --- a/ui/lib/core/addon/components/linkable-item/menu.js +++ b/ui/lib/core/addon/components/linkable-item/menu.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import layout from '../../templates/components/linkable-item/menu'; import { setComponentTemplate } from '@ember/component'; diff --git a/ui/lib/core/addon/components/linked-block.js b/ui/lib/core/addon/components/linked-block.js index 2c6ddb1c6..8b413959c 100644 --- a/ui/lib/core/addon/components/linked-block.js +++ b/ui/lib/core/addon/components/linked-block.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; import { action } from '@ember/object'; diff --git a/ui/lib/core/addon/components/list-item.js b/ui/lib/core/addon/components/list-item.js index 336e408ec..0efcc94aa 100644 --- a/ui/lib/core/addon/components/list-item.js +++ b/ui/lib/core/addon/components/list-item.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Component from '@ember/component'; import { task } from 'ember-concurrency'; diff --git a/ui/lib/core/addon/components/list-item/content.js b/ui/lib/core/addon/components/list-item/content.js index 479865264..8f027b69f 100644 --- a/ui/lib/core/addon/components/list-item/content.js +++ b/ui/lib/core/addon/components/list-item/content.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; export default Component.extend({ diff --git a/ui/lib/core/addon/components/list-item/popup-menu.js b/ui/lib/core/addon/components/list-item/popup-menu.js index 467a1a686..17d914f3f 100644 --- a/ui/lib/core/addon/components/list-item/popup-menu.js +++ b/ui/lib/core/addon/components/list-item/popup-menu.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import layout from '../../templates/components/list-item/popup-menu'; diff --git a/ui/lib/core/addon/components/list-pagination.js b/ui/lib/core/addon/components/list-pagination.js index 206936ff1..9701e985e 100644 --- a/ui/lib/core/addon/components/list-pagination.js +++ b/ui/lib/core/addon/components/list-pagination.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { gt } from '@ember/object/computed'; import Component from '@ember/component'; import { computed } from '@ember/object'; diff --git a/ui/lib/core/addon/components/list-view.js b/ui/lib/core/addon/components/list-view.js index 719f14bcb..f7c3825e8 100644 --- a/ui/lib/core/addon/components/list-view.js +++ b/ui/lib/core/addon/components/list-view.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { pluralize } from 'ember-inflector'; diff --git a/ui/lib/core/addon/components/masked-input.js b/ui/lib/core/addon/components/masked-input.js index a31593f4c..72ba2dc54 100644 --- a/ui/lib/core/addon/components/masked-input.js +++ b/ui/lib/core/addon/components/masked-input.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import autosize from 'autosize'; import layout from '../templates/components/masked-input'; diff --git a/ui/lib/core/addon/components/menu-loader.js b/ui/lib/core/addon/components/menu-loader.js index 0710d5369..b8e7cfa50 100644 --- a/ui/lib/core/addon/components/menu-loader.js +++ b/ui/lib/core/addon/components/menu-loader.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module MenuLoader * MenuLoader components are used to show a loading state when fetching data is triggered by opening a diff --git a/ui/lib/core/addon/components/message-error.js b/ui/lib/core/addon/components/message-error.js index 6288bd59e..e6a92317e 100644 --- a/ui/lib/core/addon/components/message-error.js +++ b/ui/lib/core/addon/components/message-error.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import layout from '../templates/components/message-error'; import { setComponentTemplate } from '@ember/component'; diff --git a/ui/lib/core/addon/components/modal.js b/ui/lib/core/addon/components/modal.js index 0be7baaff..d99d723bf 100644 --- a/ui/lib/core/addon/components/modal.js +++ b/ui/lib/core/addon/components/modal.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { messageTypes } from 'core/helpers/message-types'; /** diff --git a/ui/lib/core/addon/components/namespace-reminder.js b/ui/lib/core/addon/components/namespace-reminder.js index 68284344f..41a93c49d 100644 --- a/ui/lib/core/addon/components/namespace-reminder.js +++ b/ui/lib/core/addon/components/namespace-reminder.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { not } from '@ember/object/computed'; import Component from '@ember/component'; diff --git a/ui/lib/core/addon/components/navigate-input.js b/ui/lib/core/addon/components/navigate-input.js index f45ff217a..2a54a2547 100644 --- a/ui/lib/core/addon/components/navigate-input.js +++ b/ui/lib/core/addon/components/navigate-input.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { debounce } from '@ember/runloop'; import { inject as service } from '@ember/service'; import Component from '@glimmer/component'; diff --git a/ui/lib/core/addon/components/object-list-input.js b/ui/lib/core/addon/components/object-list-input.js index 4a02e5f70..96fe49884 100644 --- a/ui/lib/core/addon/components/object-list-input.js +++ b/ui/lib/core/addon/components/object-list-input.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/lib/core/addon/components/page-header-level-left.js b/ui/lib/core/addon/components/page-header-level-left.js index 479865264..8f027b69f 100644 --- a/ui/lib/core/addon/components/page-header-level-left.js +++ b/ui/lib/core/addon/components/page-header-level-left.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; export default Component.extend({ diff --git a/ui/lib/core/addon/components/page-header-level-right.js b/ui/lib/core/addon/components/page-header-level-right.js index 479865264..8f027b69f 100644 --- a/ui/lib/core/addon/components/page-header-level-right.js +++ b/ui/lib/core/addon/components/page-header-level-right.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; export default Component.extend({ diff --git a/ui/lib/core/addon/components/page-header-top.js b/ui/lib/core/addon/components/page-header-top.js index 479865264..8f027b69f 100644 --- a/ui/lib/core/addon/components/page-header-top.js +++ b/ui/lib/core/addon/components/page-header-top.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; export default Component.extend({ diff --git a/ui/lib/core/addon/components/page-header.js b/ui/lib/core/addon/components/page-header.js index 0c6040701..0ae92a5fe 100644 --- a/ui/lib/core/addon/components/page-header.js +++ b/ui/lib/core/addon/components/page-header.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import layout from '../templates/components/page-header'; diff --git a/ui/lib/core/addon/components/page/breadcrumbs.js b/ui/lib/core/addon/components/page/breadcrumbs.js index fddcad759..1e8ad318c 100644 --- a/ui/lib/core/addon/components/page/breadcrumbs.js +++ b/ui/lib/core/addon/components/page/breadcrumbs.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { assert } from '@ember/debug'; diff --git a/ui/lib/core/addon/components/popup-menu.js b/ui/lib/core/addon/components/popup-menu.js index 916cfb843..921425888 100644 --- a/ui/lib/core/addon/components/popup-menu.js +++ b/ui/lib/core/addon/components/popup-menu.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import layout from '../templates/components/popup-menu'; diff --git a/ui/lib/core/addon/components/read-more.js b/ui/lib/core/addon/components/read-more.js index 7b53df2d6..ba259fc2c 100644 --- a/ui/lib/core/addon/components/read-more.js +++ b/ui/lib/core/addon/components/read-more.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import layout from '../templates/components/read-more'; import { setComponentTemplate } from '@ember/component'; diff --git a/ui/lib/core/addon/components/readonly-form-field.js b/ui/lib/core/addon/components/readonly-form-field.js index 181a937dc..5f6ca2b7a 100644 --- a/ui/lib/core/addon/components/readonly-form-field.js +++ b/ui/lib/core/addon/components/readonly-form-field.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module ReadonlyFormField * ReadonlyFormField components are used to... diff --git a/ui/lib/core/addon/components/replication-action-demote.js b/ui/lib/core/addon/components/replication-action-demote.js index 2281722f6..9c07c90b1 100644 --- a/ui/lib/core/addon/components/replication-action-demote.js +++ b/ui/lib/core/addon/components/replication-action-demote.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Actions from 'core/components/replication-actions-single'; import layout from '../templates/components/replication-action-demote'; diff --git a/ui/lib/core/addon/components/replication-action-disable.js b/ui/lib/core/addon/components/replication-action-disable.js index 69ac63563..a0bf58363 100644 --- a/ui/lib/core/addon/components/replication-action-disable.js +++ b/ui/lib/core/addon/components/replication-action-disable.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Actions from 'core/components/replication-actions-single'; import layout from '../templates/components/replication-action-disable'; diff --git a/ui/lib/core/addon/components/replication-action-generate-token.js b/ui/lib/core/addon/components/replication-action-generate-token.js index 5e3fda8b0..15a241128 100644 --- a/ui/lib/core/addon/components/replication-action-generate-token.js +++ b/ui/lib/core/addon/components/replication-action-generate-token.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Actions from './replication-actions-single'; import layout from '../templates/components/replication-action-generate-token'; diff --git a/ui/lib/core/addon/components/replication-action-promote.js b/ui/lib/core/addon/components/replication-action-promote.js index d93f1dda0..48c810152 100644 --- a/ui/lib/core/addon/components/replication-action-promote.js +++ b/ui/lib/core/addon/components/replication-action-promote.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Actions from './replication-actions-single'; import layout from '../templates/components/replication-action-promote'; diff --git a/ui/lib/core/addon/components/replication-action-recover.js b/ui/lib/core/addon/components/replication-action-recover.js index 243c18fe2..3ffe17e8b 100644 --- a/ui/lib/core/addon/components/replication-action-recover.js +++ b/ui/lib/core/addon/components/replication-action-recover.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Actions from 'core/components/replication-actions-single'; import layout from '../templates/components/replication-action-recover'; diff --git a/ui/lib/core/addon/components/replication-action-reindex.js b/ui/lib/core/addon/components/replication-action-reindex.js index b66f44e82..49285c956 100644 --- a/ui/lib/core/addon/components/replication-action-reindex.js +++ b/ui/lib/core/addon/components/replication-action-reindex.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Actions from 'core/components/replication-actions-single'; import layout from '../templates/components/replication-action-reindex'; diff --git a/ui/lib/core/addon/components/replication-action-update-primary.js b/ui/lib/core/addon/components/replication-action-update-primary.js index f10cf4f94..8aff95c87 100644 --- a/ui/lib/core/addon/components/replication-action-update-primary.js +++ b/ui/lib/core/addon/components/replication-action-update-primary.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Actions from './replication-actions-single'; import layout from '../templates/components/replication-action-update-primary'; diff --git a/ui/lib/core/addon/components/replication-actions-single.js b/ui/lib/core/addon/components/replication-actions-single.js index b922c382a..3ecd710f7 100644 --- a/ui/lib/core/addon/components/replication-actions-single.js +++ b/ui/lib/core/addon/components/replication-actions-single.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; export default Component.extend({ diff --git a/ui/lib/core/addon/components/replication-actions.js b/ui/lib/core/addon/components/replication-actions.js index 25d0b7fd5..caf4d1d06 100644 --- a/ui/lib/core/addon/components/replication-actions.js +++ b/ui/lib/core/addon/components/replication-actions.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { alias } from '@ember/object/computed'; import Component from '@ember/component'; import ReplicationActions from 'core/mixins/replication-actions'; diff --git a/ui/lib/core/addon/components/replication-dashboard.js b/ui/lib/core/addon/components/replication-dashboard.js index 1dff19903..ff9e5e8d3 100644 --- a/ui/lib/core/addon/components/replication-dashboard.js +++ b/ui/lib/core/addon/components/replication-dashboard.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import { computed } from '@ember/object'; import { clusterStates } from 'core/helpers/cluster-states'; diff --git a/ui/lib/core/addon/components/replication-header.js b/ui/lib/core/addon/components/replication-header.js index 829950f71..f6c29e456 100644 --- a/ui/lib/core/addon/components/replication-header.js +++ b/ui/lib/core/addon/components/replication-header.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import layout from '../templates/components/replication-header'; diff --git a/ui/lib/core/addon/components/replication-mode-summary.js b/ui/lib/core/addon/components/replication-mode-summary.js index b745c9149..8a7c7147c 100644 --- a/ui/lib/core/addon/components/replication-mode-summary.js +++ b/ui/lib/core/addon/components/replication-mode-summary.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { equal } from '@ember/object/computed'; import { get, computed } from '@ember/object'; diff --git a/ui/lib/core/addon/components/replication-page.js b/ui/lib/core/addon/components/replication-page.js index 890c313fc..89b1a2b34 100644 --- a/ui/lib/core/addon/components/replication-page.js +++ b/ui/lib/core/addon/components/replication-page.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import { computed } from '@ember/object'; import layout from '../templates/components/replication-page'; diff --git a/ui/lib/core/addon/components/replication-secondary-card.js b/ui/lib/core/addon/components/replication-secondary-card.js index a5eab99c3..6d6be25dd 100644 --- a/ui/lib/core/addon/components/replication-secondary-card.js +++ b/ui/lib/core/addon/components/replication-secondary-card.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { equal, reads } from '@ember/object/computed'; import Component from '@ember/component'; import { computed } from '@ember/object'; diff --git a/ui/lib/core/addon/components/replication-summary-card.js b/ui/lib/core/addon/components/replication-summary-card.js index d99ce2fe4..ffab4c31f 100644 --- a/ui/lib/core/addon/components/replication-summary-card.js +++ b/ui/lib/core/addon/components/replication-summary-card.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import { computed } from '@ember/object'; import layout from '../templates/components/replication-summary-card'; diff --git a/ui/lib/core/addon/components/replication-table-rows.js b/ui/lib/core/addon/components/replication-table-rows.js index e3bf1e8f2..fbaa296aa 100644 --- a/ui/lib/core/addon/components/replication-table-rows.js +++ b/ui/lib/core/addon/components/replication-table-rows.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { reads } from '@ember/object/computed'; import Component from '@ember/component'; import { computed } from '@ember/object'; diff --git a/ui/lib/core/addon/components/search-select-placeholder.js b/ui/lib/core/addon/components/search-select-placeholder.js index cf5e49baf..297692d41 100644 --- a/ui/lib/core/addon/components/search-select-placeholder.js +++ b/ui/lib/core/addon/components/search-select-placeholder.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import layout from '../templates/components/search-select-placeholder'; diff --git a/ui/lib/core/addon/components/search-select-with-modal.js b/ui/lib/core/addon/components/search-select-with-modal.js index 74de675ac..77b95a822 100644 --- a/ui/lib/core/addon/components/search-select-with-modal.js +++ b/ui/lib/core/addon/components/search-select-with-modal.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; import { action } from '@ember/object'; diff --git a/ui/lib/core/addon/components/search-select.js b/ui/lib/core/addon/components/search-select.js index ab915dbe7..7380e6d57 100644 --- a/ui/lib/core/addon/components/search-select.js +++ b/ui/lib/core/addon/components/search-select.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; import { task } from 'ember-concurrency'; diff --git a/ui/lib/core/addon/components/secret-list-header-tab.js b/ui/lib/core/addon/components/secret-list-header-tab.js index dcc615afc..93e82c425 100644 --- a/ui/lib/core/addon/components/secret-list-header-tab.js +++ b/ui/lib/core/addon/components/secret-list-header-tab.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module SecretListHeaderTab * SecretListHeaderTab component passes in properties that are used to check capabilities and either display or not display the component. diff --git a/ui/lib/core/addon/components/secret-list-header.js b/ui/lib/core/addon/components/secret-list-header.js index d43b54217..723b0e95e 100644 --- a/ui/lib/core/addon/components/secret-list-header.js +++ b/ui/lib/core/addon/components/secret-list-header.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { action } from '@ember/object'; import { inject as service } from '@ember/service'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/lib/core/addon/components/select.js b/ui/lib/core/addon/components/select.js index 00b4e531c..37eec9631 100644 --- a/ui/lib/core/addon/components/select.js +++ b/ui/lib/core/addon/components/select.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import layout from '../templates/components/select'; diff --git a/ui/lib/core/addon/components/shamir-flow.js b/ui/lib/core/addon/components/shamir-flow.js index 436d59545..734607849 100644 --- a/ui/lib/core/addon/components/shamir-flow.js +++ b/ui/lib/core/addon/components/shamir-flow.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { gt } from '@ember/object/computed'; import { camelize } from '@ember/string'; diff --git a/ui/lib/core/addon/components/shamir-modal-flow.js b/ui/lib/core/addon/components/shamir-modal-flow.js index 4ae6fed50..a36f039b1 100644 --- a/ui/lib/core/addon/components/shamir-modal-flow.js +++ b/ui/lib/core/addon/components/shamir-modal-flow.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module ShamirModalFlow * ShamirModalFlow is an extension of the ShamirFlow component that does the Generate Action Token workflow inside of a Modal. diff --git a/ui/lib/core/addon/components/string-list.js b/ui/lib/core/addon/components/string-list.js index b13de0143..68971add7 100644 --- a/ui/lib/core/addon/components/string-list.js +++ b/ui/lib/core/addon/components/string-list.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ArrayProxy from '@ember/array/proxy'; import Component from '@glimmer/component'; import autosize from 'autosize'; diff --git a/ui/lib/core/addon/components/text-file.js b/ui/lib/core/addon/components/text-file.js index 9b06b31fc..f20bddb9f 100644 --- a/ui/lib/core/addon/components/text-file.js +++ b/ui/lib/core/addon/components/text-file.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/lib/core/addon/components/toggle-button.js b/ui/lib/core/addon/components/toggle-button.js index c9ecc44a7..94ebe89c9 100644 --- a/ui/lib/core/addon/components/toggle-button.js +++ b/ui/lib/core/addon/components/toggle-button.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; /** diff --git a/ui/lib/core/addon/components/toggle.js b/ui/lib/core/addon/components/toggle.js index d40edc6f9..a16b2e3e9 100644 --- a/ui/lib/core/addon/components/toggle.js +++ b/ui/lib/core/addon/components/toggle.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module Toggle * Toggle components are used to indicate boolean values which can be toggled on or off. diff --git a/ui/lib/core/addon/components/tool-tip.js b/ui/lib/core/addon/components/tool-tip.js index 88c893f48..072c8b542 100644 --- a/ui/lib/core/addon/components/tool-tip.js +++ b/ui/lib/core/addon/components/tool-tip.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { debounce } from '@ember/runloop'; diff --git a/ui/lib/core/addon/components/toolbar-actions.js b/ui/lib/core/addon/components/toolbar-actions.js index 1821d14ee..dd3e59b91 100644 --- a/ui/lib/core/addon/components/toolbar-actions.js +++ b/ui/lib/core/addon/components/toolbar-actions.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module ToolbarActions * `ToolbarActions` is a container for toolbar links such as "Add item". diff --git a/ui/lib/core/addon/components/toolbar-filters.js b/ui/lib/core/addon/components/toolbar-filters.js index 400ca6d13..7d5b1a99a 100644 --- a/ui/lib/core/addon/components/toolbar-filters.js +++ b/ui/lib/core/addon/components/toolbar-filters.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module ToolbarFilters * `ToolbarFilters` components are containers for Toolbar filters and toggles. diff --git a/ui/lib/core/addon/components/toolbar-link.js b/ui/lib/core/addon/components/toolbar-link.js index ab6e34167..b80144344 100644 --- a/ui/lib/core/addon/components/toolbar-link.js +++ b/ui/lib/core/addon/components/toolbar-link.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; /** * @module ToolbarLink diff --git a/ui/lib/core/addon/components/toolbar.js b/ui/lib/core/addon/components/toolbar.js index dd57c446d..9afabbb04 100644 --- a/ui/lib/core/addon/components/toolbar.js +++ b/ui/lib/core/addon/components/toolbar.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module Toolbar * `Toolbar` components are containers for Toolbar actions. diff --git a/ui/lib/core/addon/components/ttl-picker.js b/ui/lib/core/addon/components/ttl-picker.js index 41554087d..a4f29e4c7 100644 --- a/ui/lib/core/addon/components/ttl-picker.js +++ b/ui/lib/core/addon/components/ttl-picker.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module TtlPicker * TtlPicker components are used to enable and select duration values such as TTL. diff --git a/ui/lib/core/addon/components/upgrade-page.js b/ui/lib/core/addon/components/upgrade-page.js index 88e2ed4d9..9e564fd94 100644 --- a/ui/lib/core/addon/components/upgrade-page.js +++ b/ui/lib/core/addon/components/upgrade-page.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import { computed } from '@ember/object'; import layout from '../templates/components/upgrade-page'; diff --git a/ui/lib/core/addon/components/vault-logo-spinner.js b/ui/lib/core/addon/components/vault-logo-spinner.js index 270837619..e1a4d1195 100644 --- a/ui/lib/core/addon/components/vault-logo-spinner.js +++ b/ui/lib/core/addon/components/vault-logo-spinner.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import layout from '../templates/components/vault-logo-spinner'; diff --git a/ui/lib/core/addon/decorators/confirm-leave.js b/ui/lib/core/addon/decorators/confirm-leave.js index 3573626fa..77d236023 100644 --- a/ui/lib/core/addon/decorators/confirm-leave.js +++ b/ui/lib/core/addon/decorators/confirm-leave.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { action } from '@ember/object'; import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/core/addon/helpers/changelog-url-for.js b/ui/lib/core/addon/helpers/changelog-url-for.js index 9eb31ee83..fc7171b29 100644 --- a/ui/lib/core/addon/helpers/changelog-url-for.js +++ b/ui/lib/core/addon/helpers/changelog-url-for.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper } from '@ember/component/helper'; /* diff --git a/ui/lib/core/addon/helpers/cluster-states.js b/ui/lib/core/addon/helpers/cluster-states.js index 014e5d224..6bfa38583 100644 --- a/ui/lib/core/addon/helpers/cluster-states.js +++ b/ui/lib/core/addon/helpers/cluster-states.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; // A hash of cluster states to ensure that the status menu and replication dashboards diff --git a/ui/lib/core/addon/helpers/date-format.js b/ui/lib/core/addon/helpers/date-format.js index d0471d9f8..f5b0c772c 100644 --- a/ui/lib/core/addon/helpers/date-format.js +++ b/ui/lib/core/addon/helpers/date-format.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper } from '@ember/component/helper'; import { format, parseISO } from 'date-fns'; diff --git a/ui/lib/core/addon/helpers/format-duration.js b/ui/lib/core/addon/helpers/format-duration.js index 6a20792f6..739437f92 100644 --- a/ui/lib/core/addon/helpers/format-duration.js +++ b/ui/lib/core/addon/helpers/format-duration.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper } from '@ember/component/helper'; import { formatDuration, intervalToDuration } from 'date-fns'; diff --git a/ui/lib/core/addon/helpers/format-number.js b/ui/lib/core/addon/helpers/format-number.js index 51bad2971..f0f0567a0 100644 --- a/ui/lib/core/addon/helpers/format-number.js +++ b/ui/lib/core/addon/helpers/format-number.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper } from '@ember/component/helper'; export function formatNumber([value]) { diff --git a/ui/lib/core/addon/helpers/has-feature.js b/ui/lib/core/addon/helpers/has-feature.js index 02afb86ae..77c192b6e 100644 --- a/ui/lib/core/addon/helpers/has-feature.js +++ b/ui/lib/core/addon/helpers/has-feature.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-disable ember/no-observers */ import { inject as service } from '@ember/service'; import { assert } from '@ember/debug'; diff --git a/ui/lib/core/addon/helpers/img-path.js b/ui/lib/core/addon/helpers/img-path.js index 3a806bb20..86f0e013f 100644 --- a/ui/lib/core/addon/helpers/img-path.js +++ b/ui/lib/core/addon/helpers/img-path.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper } from '@ember/component/helper'; import ENV from 'vault/config/environment'; diff --git a/ui/lib/core/addon/helpers/is-active-route.js b/ui/lib/core/addon/helpers/is-active-route.js index 9151b5a58..b101b42fd 100644 --- a/ui/lib/core/addon/helpers/is-active-route.js +++ b/ui/lib/core/addon/helpers/is-active-route.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-disable ember/no-observers */ import { inject as service } from '@ember/service'; import { isArray } from '@ember/array'; diff --git a/ui/lib/core/addon/helpers/is-version.js b/ui/lib/core/addon/helpers/is-version.js index a9bb0fd6e..82bd768a9 100644 --- a/ui/lib/core/addon/helpers/is-version.js +++ b/ui/lib/core/addon/helpers/is-version.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-disable ember/no-observers */ import { inject as service } from '@ember/service'; import { assert } from '@ember/debug'; diff --git a/ui/lib/core/addon/helpers/message-types.js b/ui/lib/core/addon/helpers/message-types.js index f1f6018a9..cf8a13612 100644 --- a/ui/lib/core/addon/helpers/message-types.js +++ b/ui/lib/core/addon/helpers/message-types.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; import { assert } from '@ember/debug'; diff --git a/ui/lib/core/addon/helpers/options-for-backend.js b/ui/lib/core/addon/helpers/options-for-backend.js index b413f6304..f4b781c2f 100644 --- a/ui/lib/core/addon/helpers/options-for-backend.js +++ b/ui/lib/core/addon/helpers/options-for-backend.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; import { capitalize } from '@ember/string'; diff --git a/ui/lib/core/addon/helpers/path-or-array.js b/ui/lib/core/addon/helpers/path-or-array.js index 3d037e1ef..ba157e29f 100644 --- a/ui/lib/core/addon/helpers/path-or-array.js +++ b/ui/lib/core/addon/helpers/path-or-array.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; export function pathOrArray([maybeArray, target]) { diff --git a/ui/lib/core/addon/helpers/replication-action-for-mode.js b/ui/lib/core/addon/helpers/replication-action-for-mode.js index d560871f4..0289fa811 100644 --- a/ui/lib/core/addon/helpers/replication-action-for-mode.js +++ b/ui/lib/core/addon/helpers/replication-action-for-mode.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; import { get } from '@ember/object'; const ACTIONS = { diff --git a/ui/lib/core/addon/helpers/replication-mode-description.js b/ui/lib/core/addon/helpers/replication-mode-description.js index 669415695..a6c9262b0 100644 --- a/ui/lib/core/addon/helpers/replication-mode-description.js +++ b/ui/lib/core/addon/helpers/replication-mode-description.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { helper as buildHelper } from '@ember/component/helper'; const REPLICATION_MODE_DESCRIPTIONS = { diff --git a/ui/lib/core/addon/helpers/set-flash-message.js b/ui/lib/core/addon/helpers/set-flash-message.js index b20a7544e..20abeb638 100644 --- a/ui/lib/core/addon/helpers/set-flash-message.js +++ b/ui/lib/core/addon/helpers/set-flash-message.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Helper from '@ember/component/helper'; diff --git a/ui/lib/core/addon/mixins/list-controller.js b/ui/lib/core/addon/mixins/list-controller.js index 1f25e40b1..c83000182 100644 --- a/ui/lib/core/addon/mixins/list-controller.js +++ b/ui/lib/core/addon/mixins/list-controller.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { computed } from '@ember/object'; import Mixin from '@ember/object/mixin'; import escapeStringRegexp from 'escape-string-regexp'; diff --git a/ui/lib/core/addon/mixins/list-route.js b/ui/lib/core/addon/mixins/list-route.js index 8f6bbc428..724b9516a 100644 --- a/ui/lib/core/addon/mixins/list-route.js +++ b/ui/lib/core/addon/mixins/list-route.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Mixin from '@ember/object/mixin'; export default Mixin.create({ diff --git a/ui/lib/core/addon/mixins/replication-actions.js b/ui/lib/core/addon/mixins/replication-actions.js index 16c1a6e6f..c326f17f2 100644 --- a/ui/lib/core/addon/mixins/replication-actions.js +++ b/ui/lib/core/addon/mixins/replication-actions.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { or } from '@ember/object/computed'; import { isPresent } from '@ember/utils'; diff --git a/ui/lib/core/addon/modifiers/code-mirror.js b/ui/lib/core/addon/modifiers/code-mirror.js index d1a310410..edce3247c 100644 --- a/ui/lib/core/addon/modifiers/code-mirror.js +++ b/ui/lib/core/addon/modifiers/code-mirror.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { action } from '@ember/object'; import { bind } from '@ember/runloop'; import codemirror from 'codemirror'; diff --git a/ui/lib/core/addon/utils/b64.js b/ui/lib/core/addon/utils/b64.js index edffd57d8..eb65fa057 100644 --- a/ui/lib/core/addon/utils/b64.js +++ b/ui/lib/core/addon/utils/b64.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-disable no-undef */ import base64js from 'base64-js'; diff --git a/ui/lib/core/addon/utils/client-count-utils.js b/ui/lib/core/addon/utils/client-count-utils.js index 141ab13ef..f8b04faa2 100644 --- a/ui/lib/core/addon/utils/client-count-utils.js +++ b/ui/lib/core/addon/utils/client-count-utils.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { parseAPITimestamp } from 'core/utils/date-formatters'; import { compareAsc } from 'date-fns'; diff --git a/ui/lib/core/addon/utils/common-prefix.js b/ui/lib/core/addon/utils/common-prefix.js index 888ee559e..89cb1b709 100644 --- a/ui/lib/core/addon/utils/common-prefix.js +++ b/ui/lib/core/addon/utils/common-prefix.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export default function (arr = [], attribute = 'id') { if (!arr.length) { return ''; diff --git a/ui/lib/core/addon/utils/date-formatters.js b/ui/lib/core/addon/utils/date-formatters.js index fd9fac8f4..f4baeb7f6 100644 --- a/ui/lib/core/addon/utils/date-formatters.js +++ b/ui/lib/core/addon/utils/date-formatters.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { format, parseISO } from 'date-fns'; export const ARRAY_OF_MONTHS = [ diff --git a/ui/lib/core/addon/utils/duration-utils.ts b/ui/lib/core/addon/utils/duration-utils.ts index 80c2108a3..75cf790a5 100644 --- a/ui/lib/core/addon/utils/duration-utils.ts +++ b/ui/lib/core/addon/utils/duration-utils.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * These utils are used for managing Duration type values * (eg. '30m', '365d'). Most often used in the context of TTLs diff --git a/ui/lib/core/addon/utils/parse-url.js b/ui/lib/core/addon/utils/parse-url.js index 9ccb28f19..c026ce8ce 100644 --- a/ui/lib/core/addon/utils/parse-url.js +++ b/ui/lib/core/addon/utils/parse-url.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // adapted from https://gist.github.com/jed/964849 const fn = (function (anchor) { return function (url) { diff --git a/ui/lib/core/addon/utils/search-select-has-many.js b/ui/lib/core/addon/utils/search-select-has-many.js index b4aa9bbc3..44357e89e 100644 --- a/ui/lib/core/addon/utils/search-select-has-many.js +++ b/ui/lib/core/addon/utils/search-select-has-many.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * Util to add/remove models in a hasMany relationship via the search-select component * diff --git a/ui/lib/core/app/components/alert-banner.js b/ui/lib/core/app/components/alert-banner.js index 64985f13c..1c1902106 100644 --- a/ui/lib/core/app/components/alert-banner.js +++ b/ui/lib/core/app/components/alert-banner.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/alert-banner'; diff --git a/ui/lib/core/app/components/alert-inline.js b/ui/lib/core/app/components/alert-inline.js index c0de083f8..3dcc0b205 100644 --- a/ui/lib/core/app/components/alert-inline.js +++ b/ui/lib/core/app/components/alert-inline.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/alert-inline'; diff --git a/ui/lib/core/app/components/autocomplete-input.js b/ui/lib/core/app/components/autocomplete-input.js index 969b2694f..d43dd48fc 100644 --- a/ui/lib/core/app/components/autocomplete-input.js +++ b/ui/lib/core/app/components/autocomplete-input.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/autocomplete-input'; diff --git a/ui/lib/core/app/components/box-radio.js b/ui/lib/core/app/components/box-radio.js index 44286f902..8687b9a75 100644 --- a/ui/lib/core/app/components/box-radio.js +++ b/ui/lib/core/app/components/box-radio.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/box-radio'; diff --git a/ui/lib/core/app/components/checkbox-grid.js b/ui/lib/core/app/components/checkbox-grid.js index 33aaed1cd..3dba09bf8 100644 --- a/ui/lib/core/app/components/checkbox-grid.js +++ b/ui/lib/core/app/components/checkbox-grid.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/checkbox-grid'; diff --git a/ui/lib/core/app/components/chevron.js b/ui/lib/core/app/components/chevron.js index 803db39f8..7857437fb 100644 --- a/ui/lib/core/app/components/chevron.js +++ b/ui/lib/core/app/components/chevron.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/chevron'; diff --git a/ui/lib/core/app/components/confirm-action.js b/ui/lib/core/app/components/confirm-action.js index 595245493..31cabe8c0 100644 --- a/ui/lib/core/app/components/confirm-action.js +++ b/ui/lib/core/app/components/confirm-action.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/confirm-action'; diff --git a/ui/lib/core/app/components/confirm.js b/ui/lib/core/app/components/confirm.js index 58f22e40f..6cd42fcde 100644 --- a/ui/lib/core/app/components/confirm.js +++ b/ui/lib/core/app/components/confirm.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/confirm'; diff --git a/ui/lib/core/app/components/confirm/message.js b/ui/lib/core/app/components/confirm/message.js index 5d6b1e2b5..ca9d777d3 100644 --- a/ui/lib/core/app/components/confirm/message.js +++ b/ui/lib/core/app/components/confirm/message.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/confirm/message'; diff --git a/ui/lib/core/app/components/confirmation-modal.js b/ui/lib/core/app/components/confirmation-modal.js index 9cfcc6021..462d091e0 100644 --- a/ui/lib/core/app/components/confirmation-modal.js +++ b/ui/lib/core/app/components/confirmation-modal.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/confirmation-modal'; diff --git a/ui/lib/core/app/components/doc-link.js b/ui/lib/core/app/components/doc-link.js index d495e84f1..bccc3a9ea 100644 --- a/ui/lib/core/app/components/doc-link.js +++ b/ui/lib/core/app/components/doc-link.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/doc-link'; diff --git a/ui/lib/core/app/components/download-button.js b/ui/lib/core/app/components/download-button.js index f0d49046c..e6d8a1de4 100644 --- a/ui/lib/core/app/components/download-button.js +++ b/ui/lib/core/app/components/download-button.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/download-button'; diff --git a/ui/lib/core/app/components/edit-form.js b/ui/lib/core/app/components/edit-form.js index 912355721..cb7fde5fc 100644 --- a/ui/lib/core/app/components/edit-form.js +++ b/ui/lib/core/app/components/edit-form.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/edit-form'; diff --git a/ui/lib/core/app/components/empty-state.js b/ui/lib/core/app/components/empty-state.js index 5ec2afae9..1cf1d1be2 100644 --- a/ui/lib/core/app/components/empty-state.js +++ b/ui/lib/core/app/components/empty-state.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/empty-state'; diff --git a/ui/lib/core/app/components/external-link.js b/ui/lib/core/app/components/external-link.js index 2208dadf0..41ee56f72 100644 --- a/ui/lib/core/app/components/external-link.js +++ b/ui/lib/core/app/components/external-link.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/external-link'; diff --git a/ui/lib/core/app/components/field-group-show.js b/ui/lib/core/app/components/field-group-show.js index c081c09c1..8ba070327 100644 --- a/ui/lib/core/app/components/field-group-show.js +++ b/ui/lib/core/app/components/field-group-show.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/field-group-show'; diff --git a/ui/lib/core/app/components/form-error.js b/ui/lib/core/app/components/form-error.js index c227ba885..888dfe914 100644 --- a/ui/lib/core/app/components/form-error.js +++ b/ui/lib/core/app/components/form-error.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/form-error'; diff --git a/ui/lib/core/app/components/form-field-groups-loop.js b/ui/lib/core/app/components/form-field-groups-loop.js index a3935ebc5..4ae3f9f94 100644 --- a/ui/lib/core/app/components/form-field-groups-loop.js +++ b/ui/lib/core/app/components/form-field-groups-loop.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/form-field-groups-loop'; diff --git a/ui/lib/core/app/components/form-field-groups.js b/ui/lib/core/app/components/form-field-groups.js index 188b5dee4..2bd6d9647 100644 --- a/ui/lib/core/app/components/form-field-groups.js +++ b/ui/lib/core/app/components/form-field-groups.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/form-field-groups'; diff --git a/ui/lib/core/app/components/form-field-label.js b/ui/lib/core/app/components/form-field-label.js index 22b4835af..69ca6ae1a 100644 --- a/ui/lib/core/app/components/form-field-label.js +++ b/ui/lib/core/app/components/form-field-label.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/form-field-label'; diff --git a/ui/lib/core/app/components/form-field.js b/ui/lib/core/app/components/form-field.js index e1a443b6f..a9f71d9c2 100644 --- a/ui/lib/core/app/components/form-field.js +++ b/ui/lib/core/app/components/form-field.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/form-field'; diff --git a/ui/lib/core/app/components/form-save-buttons.js b/ui/lib/core/app/components/form-save-buttons.js index 95359d60c..c82d77eeb 100644 --- a/ui/lib/core/app/components/form-save-buttons.js +++ b/ui/lib/core/app/components/form-save-buttons.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/form-save-buttons'; diff --git a/ui/lib/core/app/components/icon.js b/ui/lib/core/app/components/icon.js index 456ada2c3..00b2e20d3 100644 --- a/ui/lib/core/app/components/icon.js +++ b/ui/lib/core/app/components/icon.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/icon'; diff --git a/ui/lib/core/app/components/info-table-item-array.js b/ui/lib/core/app/components/info-table-item-array.js index f5b4973ca..759c0fe6d 100644 --- a/ui/lib/core/app/components/info-table-item-array.js +++ b/ui/lib/core/app/components/info-table-item-array.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/info-table-item-array'; diff --git a/ui/lib/core/app/components/info-table-row.js b/ui/lib/core/app/components/info-table-row.js index 318bcafc2..d84451e14 100644 --- a/ui/lib/core/app/components/info-table-row.js +++ b/ui/lib/core/app/components/info-table-row.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/info-table-row'; diff --git a/ui/lib/core/app/components/info-table.js b/ui/lib/core/app/components/info-table.js index 246a31e31..cb86bc6c2 100644 --- a/ui/lib/core/app/components/info-table.js +++ b/ui/lib/core/app/components/info-table.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/info-table'; diff --git a/ui/lib/core/app/components/info-tooltip.js b/ui/lib/core/app/components/info-tooltip.js index f60c56421..ec815ef30 100644 --- a/ui/lib/core/app/components/info-tooltip.js +++ b/ui/lib/core/app/components/info-tooltip.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/info-tooltip'; diff --git a/ui/lib/core/app/components/input-search.js b/ui/lib/core/app/components/input-search.js index a8e61ffbd..c105e1387 100644 --- a/ui/lib/core/app/components/input-search.js +++ b/ui/lib/core/app/components/input-search.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/input-search'; diff --git a/ui/lib/core/app/components/json-editor.js b/ui/lib/core/app/components/json-editor.js index e54908d81..a22814bd1 100644 --- a/ui/lib/core/app/components/json-editor.js +++ b/ui/lib/core/app/components/json-editor.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/json-editor'; diff --git a/ui/lib/core/app/components/key-value-header.js b/ui/lib/core/app/components/key-value-header.js index af86eb02a..572b28fb8 100644 --- a/ui/lib/core/app/components/key-value-header.js +++ b/ui/lib/core/app/components/key-value-header.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/key-value-header'; diff --git a/ui/lib/core/app/components/kv-object-editor.js b/ui/lib/core/app/components/kv-object-editor.js index ee0152796..6c27b86ee 100644 --- a/ui/lib/core/app/components/kv-object-editor.js +++ b/ui/lib/core/app/components/kv-object-editor.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/kv-object-editor'; diff --git a/ui/lib/core/app/components/layout-loading.js b/ui/lib/core/app/components/layout-loading.js index ebdfe539c..5ce95baf9 100644 --- a/ui/lib/core/app/components/layout-loading.js +++ b/ui/lib/core/app/components/layout-loading.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/layout-loading'; diff --git a/ui/lib/core/app/components/linkable-item.js b/ui/lib/core/app/components/linkable-item.js index d0405c829..628caf891 100644 --- a/ui/lib/core/app/components/linkable-item.js +++ b/ui/lib/core/app/components/linkable-item.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/linkable-item'; diff --git a/ui/lib/core/app/components/linkable-item/content.js b/ui/lib/core/app/components/linkable-item/content.js index 996f144d6..b44c617b9 100644 --- a/ui/lib/core/app/components/linkable-item/content.js +++ b/ui/lib/core/app/components/linkable-item/content.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/linkable-item/content'; diff --git a/ui/lib/core/app/components/linkable-item/menu.js b/ui/lib/core/app/components/linkable-item/menu.js index c95fca8ea..706e41ecd 100644 --- a/ui/lib/core/app/components/linkable-item/menu.js +++ b/ui/lib/core/app/components/linkable-item/menu.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/linkable-item/menu'; diff --git a/ui/lib/core/app/components/linked-block.js b/ui/lib/core/app/components/linked-block.js index 04a77b618..d8952e926 100644 --- a/ui/lib/core/app/components/linked-block.js +++ b/ui/lib/core/app/components/linked-block.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/linked-block'; diff --git a/ui/lib/core/app/components/list-item.js b/ui/lib/core/app/components/list-item.js index 8498eaadd..394a62ecd 100644 --- a/ui/lib/core/app/components/list-item.js +++ b/ui/lib/core/app/components/list-item.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/list-item'; diff --git a/ui/lib/core/app/components/list-item/content.js b/ui/lib/core/app/components/list-item/content.js index 2976bd9c4..9cd7d1b82 100644 --- a/ui/lib/core/app/components/list-item/content.js +++ b/ui/lib/core/app/components/list-item/content.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/list-item/content'; diff --git a/ui/lib/core/app/components/list-item/popup-menu.js b/ui/lib/core/app/components/list-item/popup-menu.js index e0017879a..ade982a89 100644 --- a/ui/lib/core/app/components/list-item/popup-menu.js +++ b/ui/lib/core/app/components/list-item/popup-menu.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/list-item/popup-menu'; diff --git a/ui/lib/core/app/components/list-pagination.js b/ui/lib/core/app/components/list-pagination.js index 87760c2e8..ad33536e0 100644 --- a/ui/lib/core/app/components/list-pagination.js +++ b/ui/lib/core/app/components/list-pagination.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/list-pagination'; diff --git a/ui/lib/core/app/components/list-view.js b/ui/lib/core/app/components/list-view.js index d2f2b145c..63a72b7a6 100644 --- a/ui/lib/core/app/components/list-view.js +++ b/ui/lib/core/app/components/list-view.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/list-view'; diff --git a/ui/lib/core/app/components/masked-input.js b/ui/lib/core/app/components/masked-input.js index 1cd0be541..63406158b 100644 --- a/ui/lib/core/app/components/masked-input.js +++ b/ui/lib/core/app/components/masked-input.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/masked-input'; diff --git a/ui/lib/core/app/components/menu-loader.js b/ui/lib/core/app/components/menu-loader.js index c357979e2..dde98f2e7 100644 --- a/ui/lib/core/app/components/menu-loader.js +++ b/ui/lib/core/app/components/menu-loader.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/menu-loader'; diff --git a/ui/lib/core/app/components/message-error.js b/ui/lib/core/app/components/message-error.js index f1aa6ebda..f332f18ce 100644 --- a/ui/lib/core/app/components/message-error.js +++ b/ui/lib/core/app/components/message-error.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/message-error'; diff --git a/ui/lib/core/app/components/modal.js b/ui/lib/core/app/components/modal.js index 730887225..b09d9f3a0 100644 --- a/ui/lib/core/app/components/modal.js +++ b/ui/lib/core/app/components/modal.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/modal'; diff --git a/ui/lib/core/app/components/namespace-reminder.js b/ui/lib/core/app/components/namespace-reminder.js index 4e400178d..afd95f705 100644 --- a/ui/lib/core/app/components/namespace-reminder.js +++ b/ui/lib/core/app/components/namespace-reminder.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/namespace-reminder'; diff --git a/ui/lib/core/app/components/navigate-input.js b/ui/lib/core/app/components/navigate-input.js index d81c0e805..7599fe6bc 100644 --- a/ui/lib/core/app/components/navigate-input.js +++ b/ui/lib/core/app/components/navigate-input.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/navigate-input'; diff --git a/ui/lib/core/app/components/object-list-input.js b/ui/lib/core/app/components/object-list-input.js index 294732dff..2cb717113 100644 --- a/ui/lib/core/app/components/object-list-input.js +++ b/ui/lib/core/app/components/object-list-input.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/object-list-input'; diff --git a/ui/lib/core/app/components/overview-card.js b/ui/lib/core/app/components/overview-card.js index 922f63480..e9534f8b6 100644 --- a/ui/lib/core/app/components/overview-card.js +++ b/ui/lib/core/app/components/overview-card.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/overview-card'; diff --git a/ui/lib/core/app/components/page-header-level-left.js b/ui/lib/core/app/components/page-header-level-left.js index 4d219df1e..0416f938c 100644 --- a/ui/lib/core/app/components/page-header-level-left.js +++ b/ui/lib/core/app/components/page-header-level-left.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/page-header-level-left'; diff --git a/ui/lib/core/app/components/page-header-level-right.js b/ui/lib/core/app/components/page-header-level-right.js index 3eb8615b7..48e183eea 100644 --- a/ui/lib/core/app/components/page-header-level-right.js +++ b/ui/lib/core/app/components/page-header-level-right.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/page-header-level-right'; diff --git a/ui/lib/core/app/components/page-header-top.js b/ui/lib/core/app/components/page-header-top.js index c7bf111a7..65879fd5f 100644 --- a/ui/lib/core/app/components/page-header-top.js +++ b/ui/lib/core/app/components/page-header-top.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/page-header-top'; diff --git a/ui/lib/core/app/components/page-header.js b/ui/lib/core/app/components/page-header.js index ce908e6c7..9da47802f 100644 --- a/ui/lib/core/app/components/page-header.js +++ b/ui/lib/core/app/components/page-header.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/page-header'; diff --git a/ui/lib/core/app/components/page/breadcrumbs.js b/ui/lib/core/app/components/page/breadcrumbs.js index 32f23541b..8cb68fca7 100644 --- a/ui/lib/core/app/components/page/breadcrumbs.js +++ b/ui/lib/core/app/components/page/breadcrumbs.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/page/breadcrumbs'; diff --git a/ui/lib/core/app/components/page/error.js b/ui/lib/core/app/components/page/error.js index 6ff28f624..2109403cf 100644 --- a/ui/lib/core/app/components/page/error.js +++ b/ui/lib/core/app/components/page/error.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/page/error'; diff --git a/ui/lib/core/app/components/popup-menu.js b/ui/lib/core/app/components/popup-menu.js index ea03c2430..4bfd26f05 100644 --- a/ui/lib/core/app/components/popup-menu.js +++ b/ui/lib/core/app/components/popup-menu.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/popup-menu'; diff --git a/ui/lib/core/app/components/radio-button.js b/ui/lib/core/app/components/radio-button.js index 226a997c7..889658004 100644 --- a/ui/lib/core/app/components/radio-button.js +++ b/ui/lib/core/app/components/radio-button.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/radio-button'; diff --git a/ui/lib/core/app/components/radio-card.js b/ui/lib/core/app/components/radio-card.js index 570652563..c03e99f80 100644 --- a/ui/lib/core/app/components/radio-card.js +++ b/ui/lib/core/app/components/radio-card.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/radio-card'; diff --git a/ui/lib/core/app/components/read-more.js b/ui/lib/core/app/components/read-more.js index cac58b44a..cbeb2e319 100644 --- a/ui/lib/core/app/components/read-more.js +++ b/ui/lib/core/app/components/read-more.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/read-more'; diff --git a/ui/lib/core/app/components/readonly-form-field.js b/ui/lib/core/app/components/readonly-form-field.js index a3527dea0..c0b28a4ca 100644 --- a/ui/lib/core/app/components/readonly-form-field.js +++ b/ui/lib/core/app/components/readonly-form-field.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/readonly-form-field'; diff --git a/ui/lib/core/app/components/replication-action-demote.js b/ui/lib/core/app/components/replication-action-demote.js index 064b3d459..e5bc52981 100644 --- a/ui/lib/core/app/components/replication-action-demote.js +++ b/ui/lib/core/app/components/replication-action-demote.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/replication-action-demote'; diff --git a/ui/lib/core/app/components/replication-action-disable.js b/ui/lib/core/app/components/replication-action-disable.js index 64bd793ee..41b2421bb 100644 --- a/ui/lib/core/app/components/replication-action-disable.js +++ b/ui/lib/core/app/components/replication-action-disable.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/replication-action-disable'; diff --git a/ui/lib/core/app/components/replication-action-generate-token.js b/ui/lib/core/app/components/replication-action-generate-token.js index cfb9a56c6..50f18ee3d 100644 --- a/ui/lib/core/app/components/replication-action-generate-token.js +++ b/ui/lib/core/app/components/replication-action-generate-token.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/replication-action-generate-token'; diff --git a/ui/lib/core/app/components/replication-action-promote.js b/ui/lib/core/app/components/replication-action-promote.js index 89344dad4..cacd12811 100644 --- a/ui/lib/core/app/components/replication-action-promote.js +++ b/ui/lib/core/app/components/replication-action-promote.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/replication-action-promote'; diff --git a/ui/lib/core/app/components/replication-action-recover.js b/ui/lib/core/app/components/replication-action-recover.js index bb7563b7e..9b799e400 100644 --- a/ui/lib/core/app/components/replication-action-recover.js +++ b/ui/lib/core/app/components/replication-action-recover.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/replication-action-recover'; diff --git a/ui/lib/core/app/components/replication-action-reindex.js b/ui/lib/core/app/components/replication-action-reindex.js index 27ebd4ba5..bd4164632 100644 --- a/ui/lib/core/app/components/replication-action-reindex.js +++ b/ui/lib/core/app/components/replication-action-reindex.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/replication-action-reindex'; diff --git a/ui/lib/core/app/components/replication-action-update-primary.js b/ui/lib/core/app/components/replication-action-update-primary.js index 82eadbef0..878ac61e8 100644 --- a/ui/lib/core/app/components/replication-action-update-primary.js +++ b/ui/lib/core/app/components/replication-action-update-primary.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/replication-action-update-primary'; diff --git a/ui/lib/core/app/components/replication-actions-single.js b/ui/lib/core/app/components/replication-actions-single.js index 65a99d5c3..0a705b69b 100644 --- a/ui/lib/core/app/components/replication-actions-single.js +++ b/ui/lib/core/app/components/replication-actions-single.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/replication-actions-single'; diff --git a/ui/lib/core/app/components/replication-actions.js b/ui/lib/core/app/components/replication-actions.js index debe69531..b3faec73b 100644 --- a/ui/lib/core/app/components/replication-actions.js +++ b/ui/lib/core/app/components/replication-actions.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/replication-actions'; diff --git a/ui/lib/core/app/components/replication-dashboard.js b/ui/lib/core/app/components/replication-dashboard.js index 4eb3a05db..45697ac2c 100644 --- a/ui/lib/core/app/components/replication-dashboard.js +++ b/ui/lib/core/app/components/replication-dashboard.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/replication-dashboard'; diff --git a/ui/lib/core/app/components/replication-header.js b/ui/lib/core/app/components/replication-header.js index 1d351dd02..ba6976c2a 100644 --- a/ui/lib/core/app/components/replication-header.js +++ b/ui/lib/core/app/components/replication-header.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/replication-header'; diff --git a/ui/lib/core/app/components/replication-mode-summary.js b/ui/lib/core/app/components/replication-mode-summary.js index fbe45992d..787dc4e78 100644 --- a/ui/lib/core/app/components/replication-mode-summary.js +++ b/ui/lib/core/app/components/replication-mode-summary.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/replication-mode-summary'; diff --git a/ui/lib/core/app/components/replication-page.js b/ui/lib/core/app/components/replication-page.js index 7d3472e19..d0aa22e86 100644 --- a/ui/lib/core/app/components/replication-page.js +++ b/ui/lib/core/app/components/replication-page.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/replication-page'; diff --git a/ui/lib/core/app/components/replication-secondary-card.js b/ui/lib/core/app/components/replication-secondary-card.js index c59635a6e..63d770466 100644 --- a/ui/lib/core/app/components/replication-secondary-card.js +++ b/ui/lib/core/app/components/replication-secondary-card.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/replication-secondary-card'; diff --git a/ui/lib/core/app/components/replication-summary-card.js b/ui/lib/core/app/components/replication-summary-card.js index 41ee0173f..52e8d81b6 100644 --- a/ui/lib/core/app/components/replication-summary-card.js +++ b/ui/lib/core/app/components/replication-summary-card.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/replication-summary-card'; diff --git a/ui/lib/core/app/components/replication-table-rows.js b/ui/lib/core/app/components/replication-table-rows.js index 3835a992b..50cbc9445 100644 --- a/ui/lib/core/app/components/replication-table-rows.js +++ b/ui/lib/core/app/components/replication-table-rows.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/replication-table-rows'; diff --git a/ui/lib/core/app/components/search-select-placeholder.js b/ui/lib/core/app/components/search-select-placeholder.js index bbf9dc53e..d15c191be 100644 --- a/ui/lib/core/app/components/search-select-placeholder.js +++ b/ui/lib/core/app/components/search-select-placeholder.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/search-select-placeholder'; diff --git a/ui/lib/core/app/components/search-select-with-modal.js b/ui/lib/core/app/components/search-select-with-modal.js index 8dcfa0c58..b6788f2f2 100644 --- a/ui/lib/core/app/components/search-select-with-modal.js +++ b/ui/lib/core/app/components/search-select-with-modal.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/search-select-with-modal'; diff --git a/ui/lib/core/app/components/search-select.js b/ui/lib/core/app/components/search-select.js index 4311c237c..92454fe8e 100644 --- a/ui/lib/core/app/components/search-select.js +++ b/ui/lib/core/app/components/search-select.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/search-select'; diff --git a/ui/lib/core/app/components/secret-list-header-tab.js b/ui/lib/core/app/components/secret-list-header-tab.js index fe2874d34..d3d4fb8a4 100644 --- a/ui/lib/core/app/components/secret-list-header-tab.js +++ b/ui/lib/core/app/components/secret-list-header-tab.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/secret-list-header-tab'; diff --git a/ui/lib/core/app/components/secret-list-header.js b/ui/lib/core/app/components/secret-list-header.js index ed151c7b9..0d8c259ae 100644 --- a/ui/lib/core/app/components/secret-list-header.js +++ b/ui/lib/core/app/components/secret-list-header.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/secret-list-header'; diff --git a/ui/lib/core/app/components/select.js b/ui/lib/core/app/components/select.js index 9d12b31ea..d56bd4813 100644 --- a/ui/lib/core/app/components/select.js +++ b/ui/lib/core/app/components/select.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/select'; diff --git a/ui/lib/core/app/components/shamir-flow.js b/ui/lib/core/app/components/shamir-flow.js index e7ef071bb..86f7cfad4 100644 --- a/ui/lib/core/app/components/shamir-flow.js +++ b/ui/lib/core/app/components/shamir-flow.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/shamir-flow'; diff --git a/ui/lib/core/app/components/shamir-modal-flow.js b/ui/lib/core/app/components/shamir-modal-flow.js index 16669241c..f7e78e549 100644 --- a/ui/lib/core/app/components/shamir-modal-flow.js +++ b/ui/lib/core/app/components/shamir-modal-flow.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/shamir-modal-flow'; diff --git a/ui/lib/core/app/components/stat-text.js b/ui/lib/core/app/components/stat-text.js index a15c6b560..73b1bff77 100644 --- a/ui/lib/core/app/components/stat-text.js +++ b/ui/lib/core/app/components/stat-text.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/stat-text'; diff --git a/ui/lib/core/app/components/string-list.js b/ui/lib/core/app/components/string-list.js index 1c05052cd..dfb96ba0c 100644 --- a/ui/lib/core/app/components/string-list.js +++ b/ui/lib/core/app/components/string-list.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/string-list'; diff --git a/ui/lib/core/app/components/text-file.js b/ui/lib/core/app/components/text-file.js index c7237a773..b82fab4f4 100644 --- a/ui/lib/core/app/components/text-file.js +++ b/ui/lib/core/app/components/text-file.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/text-file'; diff --git a/ui/lib/core/app/components/toggle-button.js b/ui/lib/core/app/components/toggle-button.js index c32726659..f902dbce5 100644 --- a/ui/lib/core/app/components/toggle-button.js +++ b/ui/lib/core/app/components/toggle-button.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/toggle-button'; diff --git a/ui/lib/core/app/components/toggle.js b/ui/lib/core/app/components/toggle.js index 36e3784c9..7f9b913a6 100644 --- a/ui/lib/core/app/components/toggle.js +++ b/ui/lib/core/app/components/toggle.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/toggle'; diff --git a/ui/lib/core/app/components/tool-tip.js b/ui/lib/core/app/components/tool-tip.js index 03985964d..d95d8939e 100644 --- a/ui/lib/core/app/components/tool-tip.js +++ b/ui/lib/core/app/components/tool-tip.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/tool-tip'; diff --git a/ui/lib/core/app/components/toolbar-actions.js b/ui/lib/core/app/components/toolbar-actions.js index 82d1f80d2..b180df259 100644 --- a/ui/lib/core/app/components/toolbar-actions.js +++ b/ui/lib/core/app/components/toolbar-actions.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/toolbar-actions'; diff --git a/ui/lib/core/app/components/toolbar-filters.js b/ui/lib/core/app/components/toolbar-filters.js index f83c9e1f6..80530a4c1 100644 --- a/ui/lib/core/app/components/toolbar-filters.js +++ b/ui/lib/core/app/components/toolbar-filters.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/toolbar-filters'; diff --git a/ui/lib/core/app/components/toolbar-link.js b/ui/lib/core/app/components/toolbar-link.js index b26f45409..c031b1bbc 100644 --- a/ui/lib/core/app/components/toolbar-link.js +++ b/ui/lib/core/app/components/toolbar-link.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/toolbar-link'; diff --git a/ui/lib/core/app/components/toolbar.js b/ui/lib/core/app/components/toolbar.js index c2273a27e..3db94e5c6 100644 --- a/ui/lib/core/app/components/toolbar.js +++ b/ui/lib/core/app/components/toolbar.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/toolbar'; diff --git a/ui/lib/core/app/components/ttl-picker.js b/ui/lib/core/app/components/ttl-picker.js index bd9cd6441..3f365aad2 100644 --- a/ui/lib/core/app/components/ttl-picker.js +++ b/ui/lib/core/app/components/ttl-picker.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/ttl-picker'; diff --git a/ui/lib/core/app/components/upgrade-page.js b/ui/lib/core/app/components/upgrade-page.js index bf9f0e794..30ea01bac 100644 --- a/ui/lib/core/app/components/upgrade-page.js +++ b/ui/lib/core/app/components/upgrade-page.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/upgrade-page'; diff --git a/ui/lib/core/app/components/vault-logo-spinner.js b/ui/lib/core/app/components/vault-logo-spinner.js index f6b77c9de..ed78505ea 100644 --- a/ui/lib/core/app/components/vault-logo-spinner.js +++ b/ui/lib/core/app/components/vault-logo-spinner.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/components/vault-logo-spinner'; diff --git a/ui/lib/core/app/decorators/confirm-leave.js b/ui/lib/core/app/decorators/confirm-leave.js index 3208d604b..3742b5823 100644 --- a/ui/lib/core/app/decorators/confirm-leave.js +++ b/ui/lib/core/app/decorators/confirm-leave.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { withConfirmLeave } from 'core/decorators/confirm-leave'; diff --git a/ui/lib/core/app/helpers/changelog-url-for.js b/ui/lib/core/app/helpers/changelog-url-for.js index 75934aff3..bbe5f926e 100644 --- a/ui/lib/core/app/helpers/changelog-url-for.js +++ b/ui/lib/core/app/helpers/changelog-url-for.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default, changelogUrlFor } from 'core/helpers/changelog-url-for'; diff --git a/ui/lib/core/app/helpers/cluster-states.js b/ui/lib/core/app/helpers/cluster-states.js index 97887155a..669755178 100644 --- a/ui/lib/core/app/helpers/cluster-states.js +++ b/ui/lib/core/app/helpers/cluster-states.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default, clusterStates, CLUSTER_STATES } from 'core/helpers/cluster-states'; diff --git a/ui/lib/core/app/helpers/date-format.js b/ui/lib/core/app/helpers/date-format.js index a9d25fc47..ec0827aba 100644 --- a/ui/lib/core/app/helpers/date-format.js +++ b/ui/lib/core/app/helpers/date-format.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/helpers/date-format'; diff --git a/ui/lib/core/app/helpers/format-duration.js b/ui/lib/core/app/helpers/format-duration.js index 425737298..944e08562 100644 --- a/ui/lib/core/app/helpers/format-duration.js +++ b/ui/lib/core/app/helpers/format-duration.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/helpers/format-duration'; diff --git a/ui/lib/core/app/helpers/format-number.js b/ui/lib/core/app/helpers/format-number.js index 3d26913f1..f2ecf017e 100644 --- a/ui/lib/core/app/helpers/format-number.js +++ b/ui/lib/core/app/helpers/format-number.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default, formatNumber } from 'core/helpers/format-number'; diff --git a/ui/lib/core/app/helpers/has-feature.js b/ui/lib/core/app/helpers/has-feature.js index c5a79021c..6db9dcdc5 100644 --- a/ui/lib/core/app/helpers/has-feature.js +++ b/ui/lib/core/app/helpers/has-feature.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/helpers/has-feature'; diff --git a/ui/lib/core/app/helpers/img-path.js b/ui/lib/core/app/helpers/img-path.js index f26d4233d..f605ab187 100644 --- a/ui/lib/core/app/helpers/img-path.js +++ b/ui/lib/core/app/helpers/img-path.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/helpers/img-path'; diff --git a/ui/lib/core/app/helpers/is-active-route.js b/ui/lib/core/app/helpers/is-active-route.js index da955ae25..b74fdb1cc 100644 --- a/ui/lib/core/app/helpers/is-active-route.js +++ b/ui/lib/core/app/helpers/is-active-route.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default, isActiveRoute } from 'core/helpers/is-active-route'; diff --git a/ui/lib/core/app/helpers/is-version.js b/ui/lib/core/app/helpers/is-version.js index 59c893149..4efefd676 100644 --- a/ui/lib/core/app/helpers/is-version.js +++ b/ui/lib/core/app/helpers/is-version.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/helpers/is-version'; diff --git a/ui/lib/core/app/helpers/message-types.js b/ui/lib/core/app/helpers/message-types.js index a2ebe3356..ddda52225 100644 --- a/ui/lib/core/app/helpers/message-types.js +++ b/ui/lib/core/app/helpers/message-types.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default, messageTypes, MESSAGE_TYPES } from 'core/helpers/message-types'; diff --git a/ui/lib/core/app/helpers/options-for-backend.js b/ui/lib/core/app/helpers/options-for-backend.js index c31004620..72bccad74 100644 --- a/ui/lib/core/app/helpers/options-for-backend.js +++ b/ui/lib/core/app/helpers/options-for-backend.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/helpers/options-for-backend'; diff --git a/ui/lib/core/app/helpers/path-or-array.js b/ui/lib/core/app/helpers/path-or-array.js index 67628b392..28f551416 100644 --- a/ui/lib/core/app/helpers/path-or-array.js +++ b/ui/lib/core/app/helpers/path-or-array.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/helpers/path-or-array'; diff --git a/ui/lib/core/app/helpers/replication-action-for-mode.js b/ui/lib/core/app/helpers/replication-action-for-mode.js index ae5d3dac4..48354e1b7 100644 --- a/ui/lib/core/app/helpers/replication-action-for-mode.js +++ b/ui/lib/core/app/helpers/replication-action-for-mode.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/helpers/replication-action-for-mode'; diff --git a/ui/lib/core/app/helpers/replication-mode-description.js b/ui/lib/core/app/helpers/replication-mode-description.js index 40186c1a7..3cddde049 100644 --- a/ui/lib/core/app/helpers/replication-mode-description.js +++ b/ui/lib/core/app/helpers/replication-mode-description.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default, replicationModeDescription, diff --git a/ui/lib/core/app/helpers/set-flash-message.js b/ui/lib/core/app/helpers/set-flash-message.js index 2e1442757..9dcf0ae17 100644 --- a/ui/lib/core/app/helpers/set-flash-message.js +++ b/ui/lib/core/app/helpers/set-flash-message.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default, setFlashMessage } from 'core/helpers/set-flash-message'; diff --git a/ui/lib/core/app/mixins/list-controller.js b/ui/lib/core/app/mixins/list-controller.js index df5268454..be874a6a4 100644 --- a/ui/lib/core/app/mixins/list-controller.js +++ b/ui/lib/core/app/mixins/list-controller.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/mixins/list-controller'; diff --git a/ui/lib/core/app/mixins/list-route.js b/ui/lib/core/app/mixins/list-route.js index 9118b4ca3..849ae696c 100644 --- a/ui/lib/core/app/mixins/list-route.js +++ b/ui/lib/core/app/mixins/list-route.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/mixins/list-route'; diff --git a/ui/lib/core/app/mixins/replication-actions.js b/ui/lib/core/app/mixins/replication-actions.js index 6ba429de1..7810a5e1a 100644 --- a/ui/lib/core/app/mixins/replication-actions.js +++ b/ui/lib/core/app/mixins/replication-actions.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/mixins/replication-actions'; diff --git a/ui/lib/core/app/modifiers/code-mirror.js b/ui/lib/core/app/modifiers/code-mirror.js index 5d772783c..aabcfe7d3 100644 --- a/ui/lib/core/app/modifiers/code-mirror.js +++ b/ui/lib/core/app/modifiers/code-mirror.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from 'core/modifiers/code-mirror'; diff --git a/ui/lib/core/app/utils/b64.js b/ui/lib/core/app/utils/b64.js index cf7ae9479..c816e997d 100644 --- a/ui/lib/core/app/utils/b64.js +++ b/ui/lib/core/app/utils/b64.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { encodeString, decodeString } from 'core/utils/b64'; diff --git a/ui/lib/core/icon-mappings.js b/ui/lib/core/icon-mappings.js index 3d11821f4..667a6556b 100644 --- a/ui/lib/core/icon-mappings.js +++ b/ui/lib/core/icon-mappings.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // icons that exist in the public folder which are not part of the Structure set // values represent match to icon in Flight set with null representing no match export const localIconMap = { diff --git a/ui/lib/core/index.js b/ui/lib/core/index.js index 6a1128351..26adfef9e 100644 --- a/ui/lib/core/index.js +++ b/ui/lib/core/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-disable */ module.exports = { diff --git a/ui/lib/css/index.js b/ui/lib/css/index.js index 8ddc07a14..e8dab0dba 100644 --- a/ui/lib/css/index.js +++ b/ui/lib/css/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-env node */ /* eslint-disable node/no-extraneous-require */ 'use strict'; diff --git a/ui/lib/keep-gitkeep/index.js b/ui/lib/keep-gitkeep/index.js index 3907a3b06..63e2b5877 100644 --- a/ui/lib/keep-gitkeep/index.js +++ b/ui/lib/keep-gitkeep/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + 'use strict'; const fs = require('fs'); module.exports = { diff --git a/ui/lib/kmip/addon/components/edit-form-kmip-role.js b/ui/lib/kmip/addon/components/edit-form-kmip-role.js index aad136dfc..a3d27f01d 100644 --- a/ui/lib/kmip/addon/components/edit-form-kmip-role.js +++ b/ui/lib/kmip/addon/components/edit-form-kmip-role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import EditForm from 'core/components/edit-form'; import { computed } from '@ember/object'; import layout from '../templates/components/edit-form-kmip-role'; diff --git a/ui/lib/kmip/addon/components/header-scope.js b/ui/lib/kmip/addon/components/header-scope.js index fb9153aea..7b1403903 100644 --- a/ui/lib/kmip/addon/components/header-scope.js +++ b/ui/lib/kmip/addon/components/header-scope.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import { inject as service } from '@ember/service'; import layout from '../templates/components/header-scope'; diff --git a/ui/lib/kmip/addon/components/kmip-breadcrumb.js b/ui/lib/kmip/addon/components/kmip-breadcrumb.js index 533da3cbf..d2d0f34af 100644 --- a/ui/lib/kmip/addon/components/kmip-breadcrumb.js +++ b/ui/lib/kmip/addon/components/kmip-breadcrumb.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import { inject as service } from '@ember/service'; import layout from '../templates/components/kmip-breadcrumb'; diff --git a/ui/lib/kmip/addon/components/operation-field-display.js b/ui/lib/kmip/addon/components/operation-field-display.js index 26619f88f..5c8928ea0 100644 --- a/ui/lib/kmip/addon/components/operation-field-display.js +++ b/ui/lib/kmip/addon/components/operation-field-display.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * @module OperationFieldDisplay * OperationFieldDisplay components are used on KMIP role show pages to display the allowed operations on that model diff --git a/ui/lib/kmip/addon/controllers/credentials/index.js b/ui/lib/kmip/addon/controllers/credentials/index.js index 247de7697..3c510b6c0 100644 --- a/ui/lib/kmip/addon/controllers/credentials/index.js +++ b/ui/lib/kmip/addon/controllers/credentials/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ListController from 'core/mixins/list-controller'; import Controller from '@ember/controller'; import { computed } from '@ember/object'; diff --git a/ui/lib/kmip/addon/controllers/credentials/show.js b/ui/lib/kmip/addon/controllers/credentials/show.js index 1327edd3a..a9fdaf23b 100644 --- a/ui/lib/kmip/addon/controllers/credentials/show.js +++ b/ui/lib/kmip/addon/controllers/credentials/show.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { inject as service } from '@ember/service'; import { action } from '@ember/object'; diff --git a/ui/lib/kmip/addon/controllers/role.js b/ui/lib/kmip/addon/controllers/role.js index 847c8d554..fd8652b30 100644 --- a/ui/lib/kmip/addon/controllers/role.js +++ b/ui/lib/kmip/addon/controllers/role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { inject as service } from '@ember/service'; import { action } from '@ember/object'; diff --git a/ui/lib/kmip/addon/controllers/scope/roles.js b/ui/lib/kmip/addon/controllers/scope/roles.js index 247de7697..3c510b6c0 100644 --- a/ui/lib/kmip/addon/controllers/scope/roles.js +++ b/ui/lib/kmip/addon/controllers/scope/roles.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ListController from 'core/mixins/list-controller'; import Controller from '@ember/controller'; import { computed } from '@ember/object'; diff --git a/ui/lib/kmip/addon/controllers/scopes/index.js b/ui/lib/kmip/addon/controllers/scopes/index.js index 247de7697..3c510b6c0 100644 --- a/ui/lib/kmip/addon/controllers/scopes/index.js +++ b/ui/lib/kmip/addon/controllers/scopes/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ListController from 'core/mixins/list-controller'; import Controller from '@ember/controller'; import { computed } from '@ember/object'; diff --git a/ui/lib/kmip/addon/engine.js b/ui/lib/kmip/addon/engine.js index 7ff44806b..15f6a3cc2 100644 --- a/ui/lib/kmip/addon/engine.js +++ b/ui/lib/kmip/addon/engine.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Engine from 'ember-engines/engine'; import loadInitializers from 'ember-load-initializers'; import Resolver from './resolver'; diff --git a/ui/lib/kmip/addon/resolver.js b/ui/lib/kmip/addon/resolver.js index 2fb563d6c..9a3b4b378 100644 --- a/ui/lib/kmip/addon/resolver.js +++ b/ui/lib/kmip/addon/resolver.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Resolver from 'ember-resolver'; export default Resolver; diff --git a/ui/lib/kmip/addon/routes.js b/ui/lib/kmip/addon/routes.js index d0a703fc0..e3f238843 100644 --- a/ui/lib/kmip/addon/routes.js +++ b/ui/lib/kmip/addon/routes.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import buildRoutes from 'ember-engines/routes'; export default buildRoutes(function () { diff --git a/ui/lib/kmip/addon/routes/configuration.js b/ui/lib/kmip/addon/routes/configuration.js index 82195edab..fe80f6f1a 100644 --- a/ui/lib/kmip/addon/routes/configuration.js +++ b/ui/lib/kmip/addon/routes/configuration.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; import UnloadModel from 'vault/mixins/unload-model-route'; diff --git a/ui/lib/kmip/addon/routes/configure.js b/ui/lib/kmip/addon/routes/configure.js index 2f229bfae..5baa76d33 100644 --- a/ui/lib/kmip/addon/routes/configure.js +++ b/ui/lib/kmip/addon/routes/configure.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/kmip/addon/routes/credentials/generate.js b/ui/lib/kmip/addon/routes/credentials/generate.js index 3e2c6f8eb..1a5ae5980 100644 --- a/ui/lib/kmip/addon/routes/credentials/generate.js +++ b/ui/lib/kmip/addon/routes/credentials/generate.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/kmip/addon/routes/credentials/index.js b/ui/lib/kmip/addon/routes/credentials/index.js index 4efd38a6f..a386c5d29 100644 --- a/ui/lib/kmip/addon/routes/credentials/index.js +++ b/ui/lib/kmip/addon/routes/credentials/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import ListRoute from 'core/mixins/list-route'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/kmip/addon/routes/credentials/show.js b/ui/lib/kmip/addon/routes/credentials/show.js index bea180ff1..8ce7fef6a 100644 --- a/ui/lib/kmip/addon/routes/credentials/show.js +++ b/ui/lib/kmip/addon/routes/credentials/show.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/kmip/addon/routes/role.js b/ui/lib/kmip/addon/routes/role.js index 004dc1abe..08a768925 100644 --- a/ui/lib/kmip/addon/routes/role.js +++ b/ui/lib/kmip/addon/routes/role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/kmip/addon/routes/role/edit.js b/ui/lib/kmip/addon/routes/role/edit.js index fddb9f7a5..bd911cd41 100644 --- a/ui/lib/kmip/addon/routes/role/edit.js +++ b/ui/lib/kmip/addon/routes/role/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/kmip/addon/routes/scope/roles.js b/ui/lib/kmip/addon/routes/scope/roles.js index 6a67677e2..c3734fb9a 100644 --- a/ui/lib/kmip/addon/routes/scope/roles.js +++ b/ui/lib/kmip/addon/routes/scope/roles.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import ListRoute from 'core/mixins/list-route'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/kmip/addon/routes/scope/roles/create.js b/ui/lib/kmip/addon/routes/scope/roles/create.js index d190c43c4..035a0bac1 100644 --- a/ui/lib/kmip/addon/routes/scope/roles/create.js +++ b/ui/lib/kmip/addon/routes/scope/roles/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/kmip/addon/routes/scopes/create.js b/ui/lib/kmip/addon/routes/scopes/create.js index 59eb83d6c..55533fa87 100644 --- a/ui/lib/kmip/addon/routes/scopes/create.js +++ b/ui/lib/kmip/addon/routes/scopes/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/kmip/addon/routes/scopes/index.js b/ui/lib/kmip/addon/routes/scopes/index.js index 73f21077a..af6cf887a 100644 --- a/ui/lib/kmip/addon/routes/scopes/index.js +++ b/ui/lib/kmip/addon/routes/scopes/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; import ListRoute from 'core/mixins/list-route'; diff --git a/ui/lib/kmip/config/environment.js b/ui/lib/kmip/config/environment.js index 0937f3739..77254ece3 100644 --- a/ui/lib/kmip/config/environment.js +++ b/ui/lib/kmip/config/environment.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-env node */ 'use strict'; diff --git a/ui/lib/kmip/index.js b/ui/lib/kmip/index.js index a20c55d09..7d9c08da3 100644 --- a/ui/lib/kmip/index.js +++ b/ui/lib/kmip/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-env node */ /* eslint-disable ember/avoid-leaking-state-in-ember-objects */ /* eslint-disable node/no-extraneous-require */ diff --git a/ui/lib/kubernetes/addon/components/page/configure.js b/ui/lib/kubernetes/addon/components/page/configure.js index 1a4dc2b2a..e1eb5d1f2 100644 --- a/ui/lib/kubernetes/addon/components/page/configure.js +++ b/ui/lib/kubernetes/addon/components/page/configure.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/lib/kubernetes/addon/components/page/credentials.js b/ui/lib/kubernetes/addon/components/page/credentials.js index 584879616..734159fd7 100644 --- a/ui/lib/kubernetes/addon/components/page/credentials.js +++ b/ui/lib/kubernetes/addon/components/page/credentials.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/lib/kubernetes/addon/components/page/overview.js b/ui/lib/kubernetes/addon/components/page/overview.js index a725c1416..b97037230 100644 --- a/ui/lib/kubernetes/addon/components/page/overview.js +++ b/ui/lib/kubernetes/addon/components/page/overview.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/lib/kubernetes/addon/components/page/role/create-and-edit.js b/ui/lib/kubernetes/addon/components/page/role/create-and-edit.js index d02a81d46..f279637e7 100644 --- a/ui/lib/kubernetes/addon/components/page/role/create-and-edit.js +++ b/ui/lib/kubernetes/addon/components/page/role/create-and-edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/lib/kubernetes/addon/components/page/role/details.js b/ui/lib/kubernetes/addon/components/page/role/details.js index b6084b0e1..b3223d93b 100644 --- a/ui/lib/kubernetes/addon/components/page/role/details.js +++ b/ui/lib/kubernetes/addon/components/page/role/details.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/kubernetes/addon/components/page/roles.js b/ui/lib/kubernetes/addon/components/page/roles.js index c77680e50..b0e9ad61e 100644 --- a/ui/lib/kubernetes/addon/components/page/roles.js +++ b/ui/lib/kubernetes/addon/components/page/roles.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; import { action } from '@ember/object'; diff --git a/ui/lib/kubernetes/addon/controllers/roles/index.js b/ui/lib/kubernetes/addon/controllers/roles/index.js index b56cb379b..ae5955762 100644 --- a/ui/lib/kubernetes/addon/controllers/roles/index.js +++ b/ui/lib/kubernetes/addon/controllers/roles/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; export default class KubernetesRolesController extends Controller { diff --git a/ui/lib/kubernetes/addon/decorators/fetch-config.js b/ui/lib/kubernetes/addon/decorators/fetch-config.js index 9337d5d53..a5e8adecf 100644 --- a/ui/lib/kubernetes/addon/decorators/fetch-config.js +++ b/ui/lib/kubernetes/addon/decorators/fetch-config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; /** diff --git a/ui/lib/kubernetes/addon/engine.js b/ui/lib/kubernetes/addon/engine.js index 051e082b8..686f412ff 100644 --- a/ui/lib/kubernetes/addon/engine.js +++ b/ui/lib/kubernetes/addon/engine.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Engine from '@ember/engine'; import loadInitializers from 'ember-load-initializers'; diff --git a/ui/lib/kubernetes/addon/routes.js b/ui/lib/kubernetes/addon/routes.js index 291b32c6b..36d86c60c 100644 --- a/ui/lib/kubernetes/addon/routes.js +++ b/ui/lib/kubernetes/addon/routes.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import buildRoutes from 'ember-engines/routes'; export default buildRoutes(function () { diff --git a/ui/lib/kubernetes/addon/routes/configuration.js b/ui/lib/kubernetes/addon/routes/configuration.js index a265e8d84..2fffbdfee 100644 --- a/ui/lib/kubernetes/addon/routes/configuration.js +++ b/ui/lib/kubernetes/addon/routes/configuration.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; import { withConfig } from '../decorators/fetch-config'; diff --git a/ui/lib/kubernetes/addon/routes/configure.js b/ui/lib/kubernetes/addon/routes/configure.js index e728ff88c..ea00f0a7e 100644 --- a/ui/lib/kubernetes/addon/routes/configure.js +++ b/ui/lib/kubernetes/addon/routes/configure.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; import { withConfig } from '../decorators/fetch-config'; diff --git a/ui/lib/kubernetes/addon/routes/error.js b/ui/lib/kubernetes/addon/routes/error.js index 09bb49e3f..49987ed18 100644 --- a/ui/lib/kubernetes/addon/routes/error.js +++ b/ui/lib/kubernetes/addon/routes/error.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/kubernetes/addon/routes/index.js b/ui/lib/kubernetes/addon/routes/index.js index 3cc0c89da..f2619548a 100644 --- a/ui/lib/kubernetes/addon/routes/index.js +++ b/ui/lib/kubernetes/addon/routes/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/kubernetes/addon/routes/overview.js b/ui/lib/kubernetes/addon/routes/overview.js index e86d1368e..7a478cd90 100644 --- a/ui/lib/kubernetes/addon/routes/overview.js +++ b/ui/lib/kubernetes/addon/routes/overview.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; import { withConfig } from 'kubernetes/decorators/fetch-config'; diff --git a/ui/lib/kubernetes/addon/routes/roles/create.js b/ui/lib/kubernetes/addon/routes/roles/create.js index 9fd86f043..5a434a654 100644 --- a/ui/lib/kubernetes/addon/routes/roles/create.js +++ b/ui/lib/kubernetes/addon/routes/roles/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/kubernetes/addon/routes/roles/index.js b/ui/lib/kubernetes/addon/routes/roles/index.js index 5cd426ba3..7023ad36b 100644 --- a/ui/lib/kubernetes/addon/routes/roles/index.js +++ b/ui/lib/kubernetes/addon/routes/roles/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; import { withConfig } from 'kubernetes/decorators/fetch-config'; diff --git a/ui/lib/kubernetes/addon/routes/roles/role/credentials.js b/ui/lib/kubernetes/addon/routes/roles/role/credentials.js index 0827dd836..910ab51d1 100644 --- a/ui/lib/kubernetes/addon/routes/roles/role/credentials.js +++ b/ui/lib/kubernetes/addon/routes/roles/role/credentials.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; export default class KubernetesRoleCredentialsRoute extends Route { diff --git a/ui/lib/kubernetes/addon/routes/roles/role/details.js b/ui/lib/kubernetes/addon/routes/roles/role/details.js index a2969104d..bc3335293 100644 --- a/ui/lib/kubernetes/addon/routes/roles/role/details.js +++ b/ui/lib/kubernetes/addon/routes/roles/role/details.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/kubernetes/addon/routes/roles/role/edit.js b/ui/lib/kubernetes/addon/routes/roles/role/edit.js index 008ca9be6..fa6acdb0c 100644 --- a/ui/lib/kubernetes/addon/routes/roles/role/edit.js +++ b/ui/lib/kubernetes/addon/routes/roles/role/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/kubernetes/addon/routes/roles/role/index.js b/ui/lib/kubernetes/addon/routes/roles/role/index.js index 2f08bd2bc..48b484f1f 100644 --- a/ui/lib/kubernetes/addon/routes/roles/role/index.js +++ b/ui/lib/kubernetes/addon/routes/roles/role/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/kubernetes/addon/utils/generated-role-rules.js b/ui/lib/kubernetes/addon/utils/generated-role-rules.js index 4a89578de..b6383859d 100644 --- a/ui/lib/kubernetes/addon/utils/generated-role-rules.js +++ b/ui/lib/kubernetes/addon/utils/generated-role-rules.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + const example = `# The below is an example that you can use as a starting point. # # rules: diff --git a/ui/lib/kubernetes/config/environment.js b/ui/lib/kubernetes/config/environment.js index f7521fb50..8c5c7a7eb 100644 --- a/ui/lib/kubernetes/config/environment.js +++ b/ui/lib/kubernetes/config/environment.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-env node */ 'use strict'; diff --git a/ui/lib/kubernetes/index.js b/ui/lib/kubernetes/index.js index aebbb0b83..660b12f27 100644 --- a/ui/lib/kubernetes/index.js +++ b/ui/lib/kubernetes/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-env node */ /* eslint-disable node/no-extraneous-require */ 'use strict'; diff --git a/ui/lib/open-api-explorer/addon/components/swagger-ui.js b/ui/lib/open-api-explorer/addon/components/swagger-ui.js index 69e579fa6..9ecc938cc 100644 --- a/ui/lib/open-api-explorer/addon/components/swagger-ui.js +++ b/ui/lib/open-api-explorer/addon/components/swagger-ui.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import { inject as service } from '@ember/service'; import parseURL from 'core/utils/parse-url'; diff --git a/ui/lib/open-api-explorer/addon/controllers/index.js b/ui/lib/open-api-explorer/addon/controllers/index.js index 704157fa8..413c837f7 100644 --- a/ui/lib/open-api-explorer/addon/controllers/index.js +++ b/ui/lib/open-api-explorer/addon/controllers/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; export default Controller.extend({ diff --git a/ui/lib/open-api-explorer/addon/engine.js b/ui/lib/open-api-explorer/addon/engine.js index 9555408ea..4cd7c42df 100644 --- a/ui/lib/open-api-explorer/addon/engine.js +++ b/ui/lib/open-api-explorer/addon/engine.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Engine from 'ember-engines/engine'; import loadInitializers from 'ember-load-initializers'; import Resolver from './resolver'; diff --git a/ui/lib/open-api-explorer/addon/resolver.js b/ui/lib/open-api-explorer/addon/resolver.js index 2fb563d6c..9a3b4b378 100644 --- a/ui/lib/open-api-explorer/addon/resolver.js +++ b/ui/lib/open-api-explorer/addon/resolver.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Resolver from 'ember-resolver'; export default Resolver; diff --git a/ui/lib/open-api-explorer/addon/routes.js b/ui/lib/open-api-explorer/addon/routes.js index 98597f491..e626a00b4 100644 --- a/ui/lib/open-api-explorer/addon/routes.js +++ b/ui/lib/open-api-explorer/addon/routes.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import buildRoutes from 'ember-engines/routes'; export default buildRoutes(function () { diff --git a/ui/lib/open-api-explorer/addon/routes/index.js b/ui/lib/open-api-explorer/addon/routes/index.js index 277ae87c3..9b8ec81e6 100644 --- a/ui/lib/open-api-explorer/addon/routes/index.js +++ b/ui/lib/open-api-explorer/addon/routes/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/open-api-explorer/addon/styles/addon.css b/ui/lib/open-api-explorer/addon/styles/addon.css index 25d1d8689..1dfe71809 100644 --- a/ui/lib/open-api-explorer/addon/styles/addon.css +++ b/ui/lib/open-api-explorer/addon/styles/addon.css @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .swagger-ember .swagger-ui .wrapper { padding: 0; } diff --git a/ui/lib/open-api-explorer/config/environment.js b/ui/lib/open-api-explorer/config/environment.js index 3504ee516..5b109d068 100644 --- a/ui/lib/open-api-explorer/config/environment.js +++ b/ui/lib/open-api-explorer/config/environment.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-env node */ 'use strict'; diff --git a/ui/lib/open-api-explorer/index.js b/ui/lib/open-api-explorer/index.js index cc218a605..1d3bcd42e 100644 --- a/ui/lib/open-api-explorer/index.js +++ b/ui/lib/open-api-explorer/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-env node */ /* eslint-disable ember/avoid-leaking-state-in-ember-objects */ /* eslint-disable node/no-extraneous-require */ diff --git a/ui/lib/pki/addon/components/page/pki-certificate-details.ts b/ui/lib/pki/addon/components/page/pki-certificate-details.ts index c3860892b..4dcbfc3a9 100644 --- a/ui/lib/pki/addon/components/page/pki-certificate-details.ts +++ b/ui/lib/pki/addon/components/page/pki-certificate-details.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { service } from '@ember/service'; import { action } from '@ember/object'; diff --git a/ui/lib/pki/addon/components/page/pki-issuer-edit.ts b/ui/lib/pki/addon/components/page/pki-issuer-edit.ts index 76e9daeaa..6cef16de4 100644 --- a/ui/lib/pki/addon/components/page/pki-issuer-edit.ts +++ b/ui/lib/pki/addon/components/page/pki-issuer-edit.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/pki/addon/components/page/pki-key-details.ts b/ui/lib/pki/addon/components/page/pki-key-details.ts index 578510690..c164b6cb4 100644 --- a/ui/lib/pki/addon/components/page/pki-key-details.ts +++ b/ui/lib/pki/addon/components/page/pki-key-details.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { action } from '@ember/object'; import Component from '@glimmer/component'; import RouterService from '@ember/routing/router-service'; diff --git a/ui/lib/pki/addon/components/page/pki-overview.ts b/ui/lib/pki/addon/components/page/pki-overview.ts index fbe8a00cb..2b261372e 100644 --- a/ui/lib/pki/addon/components/page/pki-overview.ts +++ b/ui/lib/pki/addon/components/page/pki-overview.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { action } from '@ember/object'; import { tracked } from '@glimmer/tracking'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/pki/addon/components/page/pki-role-details.ts b/ui/lib/pki/addon/components/page/pki-role-details.ts index b1e02c8cc..2e9a27f9a 100644 --- a/ui/lib/pki/addon/components/page/pki-role-details.ts +++ b/ui/lib/pki/addon/components/page/pki-role-details.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { action } from '@ember/object'; import RouterService from '@ember/routing/router-service'; import Component from '@glimmer/component'; diff --git a/ui/lib/pki/addon/components/pki-configure-form.ts b/ui/lib/pki/addon/components/pki-configure-form.ts index 1650bb732..19e21a368 100644 --- a/ui/lib/pki/addon/components/pki-configure-form.ts +++ b/ui/lib/pki/addon/components/pki-configure-form.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; // TYPES diff --git a/ui/lib/pki/addon/components/pki-generate-csr.ts b/ui/lib/pki/addon/components/pki-generate-csr.ts index ef8795cbf..e8fc40a15 100644 --- a/ui/lib/pki/addon/components/pki-generate-csr.ts +++ b/ui/lib/pki/addon/components/pki-generate-csr.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/pki/addon/components/pki-generate-root.js b/ui/lib/pki/addon/components/pki-generate-root.js index fdb15e217..8f6743144 100644 --- a/ui/lib/pki/addon/components/pki-generate-root.js +++ b/ui/lib/pki/addon/components/pki-generate-root.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { action } from '@ember/object'; import { service } from '@ember/service'; import { waitFor } from '@ember/test-waiters'; diff --git a/ui/lib/pki/addon/components/pki-generate-toggle-groups.ts b/ui/lib/pki/addon/components/pki-generate-toggle-groups.ts index 1c8a4d3a4..09fe46286 100644 --- a/ui/lib/pki/addon/components/pki-generate-toggle-groups.ts +++ b/ui/lib/pki/addon/components/pki-generate-toggle-groups.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; import { action } from '@ember/object'; diff --git a/ui/lib/pki/addon/components/pki-import-pem-bundle.ts b/ui/lib/pki/addon/components/pki-import-pem-bundle.ts index e09a9efed..b68e8cb68 100644 --- a/ui/lib/pki/addon/components/pki-import-pem-bundle.ts +++ b/ui/lib/pki/addon/components/pki-import-pem-bundle.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { action } from '@ember/object'; import Component from '@glimmer/component'; import FlashMessageService from 'vault/services/flash-messages'; diff --git a/ui/lib/pki/addon/components/pki-issuer-cross-sign.js b/ui/lib/pki/addon/components/pki-issuer-cross-sign.js index b461214b0..66cb1507c 100644 --- a/ui/lib/pki/addon/components/pki-issuer-cross-sign.js +++ b/ui/lib/pki/addon/components/pki-issuer-cross-sign.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { task } from 'ember-concurrency'; diff --git a/ui/lib/pki/addon/components/pki-key-form.js b/ui/lib/pki/addon/components/pki-key-form.js index a26371b01..07e8d1ab0 100644 --- a/ui/lib/pki/addon/components/pki-key-form.js +++ b/ui/lib/pki/addon/components/pki-key-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; import { task } from 'ember-concurrency'; diff --git a/ui/lib/pki/addon/components/pki-key-import.js b/ui/lib/pki/addon/components/pki-key-import.js index fa3eb8b4b..804141bc9 100644 --- a/ui/lib/pki/addon/components/pki-key-import.js +++ b/ui/lib/pki/addon/components/pki-key-import.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { action } from '@ember/object'; import Component from '@glimmer/component'; import { task } from 'ember-concurrency'; diff --git a/ui/lib/pki/addon/components/pki-key-parameters.js b/ui/lib/pki/addon/components/pki-key-parameters.js index 191763662..ef6f33cf6 100644 --- a/ui/lib/pki/addon/components/pki-key-parameters.js +++ b/ui/lib/pki/addon/components/pki-key-parameters.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; diff --git a/ui/lib/pki/addon/components/pki-key-usage.ts b/ui/lib/pki/addon/components/pki-key-usage.ts index 619acd8e9..bf1c989c5 100644 --- a/ui/lib/pki/addon/components/pki-key-usage.ts +++ b/ui/lib/pki/addon/components/pki-key-usage.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; diff --git a/ui/lib/pki/addon/components/pki-not-valid-after-form.ts b/ui/lib/pki/addon/components/pki-not-valid-after-form.ts index d979138ef..86bef8baa 100644 --- a/ui/lib/pki/addon/components/pki-not-valid-after-form.ts +++ b/ui/lib/pki/addon/components/pki-not-valid-after-form.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/lib/pki/addon/components/pki-role-form.js b/ui/lib/pki/addon/components/pki-role-form.js index 607dfd491..365f9281b 100644 --- a/ui/lib/pki/addon/components/pki-role-form.js +++ b/ui/lib/pki/addon/components/pki-role-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; import { task } from 'ember-concurrency'; diff --git a/ui/lib/pki/addon/components/pki-role-generate.ts b/ui/lib/pki/addon/components/pki-role-generate.ts index 99cc3e164..a4ee5df51 100644 --- a/ui/lib/pki/addon/components/pki-role-generate.ts +++ b/ui/lib/pki/addon/components/pki-role-generate.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@glimmer/component'; import { action } from '@ember/object'; import { task } from 'ember-concurrency'; diff --git a/ui/lib/pki/addon/components/pki-sign-intermediate-form.ts b/ui/lib/pki/addon/components/pki-sign-intermediate-form.ts index f3ff46bc9..a8da2ca80 100644 --- a/ui/lib/pki/addon/components/pki-sign-intermediate-form.ts +++ b/ui/lib/pki/addon/components/pki-sign-intermediate-form.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { action } from '@ember/object'; import { service } from '@ember/service'; import { waitFor } from '@ember/test-waiters'; diff --git a/ui/lib/pki/addon/controllers/certificates/index.js b/ui/lib/pki/addon/controllers/certificates/index.js index 545402d6a..6c5242276 100644 --- a/ui/lib/pki/addon/controllers/certificates/index.js +++ b/ui/lib/pki/addon/controllers/certificates/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { getOwner } from '@ember/application'; import { action } from '@ember/object'; diff --git a/ui/lib/pki/addon/controllers/issuers/index.js b/ui/lib/pki/addon/controllers/issuers/index.js index 381e7d107..80de13bf3 100644 --- a/ui/lib/pki/addon/controllers/issuers/index.js +++ b/ui/lib/pki/addon/controllers/issuers/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { action } from '@ember/object'; import { next } from '@ember/runloop'; diff --git a/ui/lib/pki/addon/controllers/keys/index.js b/ui/lib/pki/addon/controllers/keys/index.js index 792031c9b..2f9dc8186 100644 --- a/ui/lib/pki/addon/controllers/keys/index.js +++ b/ui/lib/pki/addon/controllers/keys/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { getOwner } from '@ember/application'; diff --git a/ui/lib/pki/addon/controllers/roles/index.js b/ui/lib/pki/addon/controllers/roles/index.js index a399d8838..74d634204 100644 --- a/ui/lib/pki/addon/controllers/roles/index.js +++ b/ui/lib/pki/addon/controllers/roles/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { getOwner } from '@ember/application'; diff --git a/ui/lib/pki/addon/controllers/roles/role/generate.js b/ui/lib/pki/addon/controllers/roles/role/generate.js index 7f44d2767..5b198bd8f 100644 --- a/ui/lib/pki/addon/controllers/roles/role/generate.js +++ b/ui/lib/pki/addon/controllers/roles/role/generate.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { action } from '@ember/object'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/lib/pki/addon/controllers/roles/role/sign.js b/ui/lib/pki/addon/controllers/roles/role/sign.js index feac9019c..f3cceb6f6 100644 --- a/ui/lib/pki/addon/controllers/roles/role/sign.js +++ b/ui/lib/pki/addon/controllers/roles/role/sign.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '@ember/controller'; import { action } from '@ember/object'; import { tracked } from '@glimmer/tracking'; diff --git a/ui/lib/pki/addon/decorators/check-config.js b/ui/lib/pki/addon/decorators/check-config.js index e453be267..867658c24 100644 --- a/ui/lib/pki/addon/decorators/check-config.js +++ b/ui/lib/pki/addon/decorators/check-config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; /** diff --git a/ui/lib/pki/addon/engine.js b/ui/lib/pki/addon/engine.js index 35f29061c..928f39904 100644 --- a/ui/lib/pki/addon/engine.js +++ b/ui/lib/pki/addon/engine.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Engine from '@ember/engine'; import loadInitializers from 'ember-load-initializers'; diff --git a/ui/lib/pki/addon/routes.js b/ui/lib/pki/addon/routes.js index 25c9e0b69..f3498f0da 100644 --- a/ui/lib/pki/addon/routes.js +++ b/ui/lib/pki/addon/routes.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import buildRoutes from 'ember-engines/routes'; export default buildRoutes(function () { diff --git a/ui/lib/pki/addon/routes/application.js b/ui/lib/pki/addon/routes/application.js index e85a3d973..2e2896aac 100644 --- a/ui/lib/pki/addon/routes/application.js +++ b/ui/lib/pki/addon/routes/application.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/pki/addon/routes/certificates/certificate/details.js b/ui/lib/pki/addon/routes/certificates/certificate/details.js index bc7d10fbe..6466bbb8c 100644 --- a/ui/lib/pki/addon/routes/certificates/certificate/details.js +++ b/ui/lib/pki/addon/routes/certificates/certificate/details.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/pki/addon/routes/certificates/index.js b/ui/lib/pki/addon/routes/certificates/index.js index 786d44d15..a0c047811 100644 --- a/ui/lib/pki/addon/routes/certificates/index.js +++ b/ui/lib/pki/addon/routes/certificates/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; import { withConfig } from 'pki/decorators/check-config'; diff --git a/ui/lib/pki/addon/routes/configuration.js b/ui/lib/pki/addon/routes/configuration.js index c7a5d12c7..bc3444257 100644 --- a/ui/lib/pki/addon/routes/configuration.js +++ b/ui/lib/pki/addon/routes/configuration.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default class PkiConfigurationRoute extends Route {} diff --git a/ui/lib/pki/addon/routes/configuration/create.js b/ui/lib/pki/addon/routes/configuration/create.js index c3936b157..f78a5b4bb 100644 --- a/ui/lib/pki/addon/routes/configuration/create.js +++ b/ui/lib/pki/addon/routes/configuration/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; import { withConfirmLeave } from 'core/decorators/confirm-leave'; diff --git a/ui/lib/pki/addon/routes/configuration/edit.js b/ui/lib/pki/addon/routes/configuration/edit.js index addf3c20c..73311105e 100644 --- a/ui/lib/pki/addon/routes/configuration/edit.js +++ b/ui/lib/pki/addon/routes/configuration/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default class PkiConfigurationEditRoute extends Route {} diff --git a/ui/lib/pki/addon/routes/configuration/index.js b/ui/lib/pki/addon/routes/configuration/index.js index fe5c5eba7..eddd1a317 100644 --- a/ui/lib/pki/addon/routes/configuration/index.js +++ b/ui/lib/pki/addon/routes/configuration/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default class ConfigurationIndexRoute extends Route {} diff --git a/ui/lib/pki/addon/routes/configuration/tidy.js b/ui/lib/pki/addon/routes/configuration/tidy.js index a01d30d45..76c4fa0cb 100644 --- a/ui/lib/pki/addon/routes/configuration/tidy.js +++ b/ui/lib/pki/addon/routes/configuration/tidy.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; export default class PkiConfigurationTidyRoute extends Route {} diff --git a/ui/lib/pki/addon/routes/error.js b/ui/lib/pki/addon/routes/error.js index fce2202a2..c6be6271d 100644 --- a/ui/lib/pki/addon/routes/error.js +++ b/ui/lib/pki/addon/routes/error.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/pki/addon/routes/index.js b/ui/lib/pki/addon/routes/index.js index c928aa93f..4e0b5918f 100644 --- a/ui/lib/pki/addon/routes/index.js +++ b/ui/lib/pki/addon/routes/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/pki/addon/routes/issuers/generate-intermediate.js b/ui/lib/pki/addon/routes/issuers/generate-intermediate.js index 7e7c2e02a..6a5d4bc9b 100644 --- a/ui/lib/pki/addon/routes/issuers/generate-intermediate.js +++ b/ui/lib/pki/addon/routes/issuers/generate-intermediate.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { withConfirmLeave } from 'core/decorators/confirm-leave'; import PkiIssuersIndexRoute from '.'; diff --git a/ui/lib/pki/addon/routes/issuers/generate-root.js b/ui/lib/pki/addon/routes/issuers/generate-root.js index bb4daec41..bc40f6963 100644 --- a/ui/lib/pki/addon/routes/issuers/generate-root.js +++ b/ui/lib/pki/addon/routes/issuers/generate-root.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; import { withConfirmLeave } from 'core/decorators/confirm-leave'; diff --git a/ui/lib/pki/addon/routes/issuers/import.js b/ui/lib/pki/addon/routes/issuers/import.js index 5c4280b38..d0eddde8e 100644 --- a/ui/lib/pki/addon/routes/issuers/import.js +++ b/ui/lib/pki/addon/routes/issuers/import.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import PkiIssuersIndexRoute from '.'; import { inject as service } from '@ember/service'; import { withConfirmLeave } from 'core/decorators/confirm-leave'; diff --git a/ui/lib/pki/addon/routes/issuers/index.js b/ui/lib/pki/addon/routes/issuers/index.js index 5f85e76fe..ea6b6f147 100644 --- a/ui/lib/pki/addon/routes/issuers/index.js +++ b/ui/lib/pki/addon/routes/issuers/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/pki/addon/routes/issuers/issuer/cross-sign.js b/ui/lib/pki/addon/routes/issuers/issuer/cross-sign.js index 78d8c2173..c49d104f0 100644 --- a/ui/lib/pki/addon/routes/issuers/issuer/cross-sign.js +++ b/ui/lib/pki/addon/routes/issuers/issuer/cross-sign.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import PkiIssuerIndexRoute from './index'; import { withConfirmLeave } from 'core/decorators/confirm-leave'; diff --git a/ui/lib/pki/addon/routes/issuers/issuer/details.js b/ui/lib/pki/addon/routes/issuers/issuer/details.js index 23e3e2a3d..542801bfa 100644 --- a/ui/lib/pki/addon/routes/issuers/issuer/details.js +++ b/ui/lib/pki/addon/routes/issuers/issuer/details.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import PkiIssuerIndexRoute from './index'; export default class PkiIssuerDetailsRoute extends PkiIssuerIndexRoute { diff --git a/ui/lib/pki/addon/routes/issuers/issuer/edit.js b/ui/lib/pki/addon/routes/issuers/issuer/edit.js index 8ea8118fd..83a269162 100644 --- a/ui/lib/pki/addon/routes/issuers/issuer/edit.js +++ b/ui/lib/pki/addon/routes/issuers/issuer/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; import { withConfirmLeave } from 'core/decorators/confirm-leave'; diff --git a/ui/lib/pki/addon/routes/issuers/issuer/index.js b/ui/lib/pki/addon/routes/issuers/issuer/index.js index 9dc51d7a8..50474ac65 100644 --- a/ui/lib/pki/addon/routes/issuers/issuer/index.js +++ b/ui/lib/pki/addon/routes/issuers/issuer/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import PkiIssuersListRoute from '../index'; // Single issuer index route extends issuers list route diff --git a/ui/lib/pki/addon/routes/issuers/issuer/sign.js b/ui/lib/pki/addon/routes/issuers/issuer/sign.js index ce74780bf..2d0d2f955 100644 --- a/ui/lib/pki/addon/routes/issuers/issuer/sign.js +++ b/ui/lib/pki/addon/routes/issuers/issuer/sign.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { service } from '@ember/service'; import { withConfirmLeave } from 'core/decorators/confirm-leave'; diff --git a/ui/lib/pki/addon/routes/keys/create.js b/ui/lib/pki/addon/routes/keys/create.js index 6874caa48..a1a29d0a5 100644 --- a/ui/lib/pki/addon/routes/keys/create.js +++ b/ui/lib/pki/addon/routes/keys/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import PkiKeysIndexRoute from '.'; import { inject as service } from '@ember/service'; import { withConfirmLeave } from 'core/decorators/confirm-leave'; diff --git a/ui/lib/pki/addon/routes/keys/import.js b/ui/lib/pki/addon/routes/keys/import.js index dac4e2e4f..e1cc252ac 100644 --- a/ui/lib/pki/addon/routes/keys/import.js +++ b/ui/lib/pki/addon/routes/keys/import.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import PkiKeysIndexRoute from '.'; import { inject as service } from '@ember/service'; import { withConfirmLeave } from 'core/decorators/confirm-leave'; diff --git a/ui/lib/pki/addon/routes/keys/index.js b/ui/lib/pki/addon/routes/keys/index.js index eea7a5e33..aad877373 100644 --- a/ui/lib/pki/addon/routes/keys/index.js +++ b/ui/lib/pki/addon/routes/keys/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; import { withConfig } from 'pki/decorators/check-config'; diff --git a/ui/lib/pki/addon/routes/keys/key.js b/ui/lib/pki/addon/routes/keys/key.js index d61ec6baf..598907def 100644 --- a/ui/lib/pki/addon/routes/keys/key.js +++ b/ui/lib/pki/addon/routes/keys/key.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import PkiKeysIndexRoute from './index'; export default class PkiKeyRoute extends PkiKeysIndexRoute { diff --git a/ui/lib/pki/addon/routes/keys/key/details.js b/ui/lib/pki/addon/routes/keys/key/details.js index 85d0e9e88..dbc68f22c 100644 --- a/ui/lib/pki/addon/routes/keys/key/details.js +++ b/ui/lib/pki/addon/routes/keys/key/details.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import PkiKeyRoute from '../key'; export default class PkiKeyDetailsRoute extends PkiKeyRoute { diff --git a/ui/lib/pki/addon/routes/keys/key/edit.js b/ui/lib/pki/addon/routes/keys/key/edit.js index 5d7748694..f1d3c9ff4 100644 --- a/ui/lib/pki/addon/routes/keys/key/edit.js +++ b/ui/lib/pki/addon/routes/keys/key/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { withConfirmLeave } from 'core/decorators/confirm-leave'; import PkiKeyRoute from '../key'; diff --git a/ui/lib/pki/addon/routes/overview.js b/ui/lib/pki/addon/routes/overview.js index a83f1fd40..fb486939b 100644 --- a/ui/lib/pki/addon/routes/overview.js +++ b/ui/lib/pki/addon/routes/overview.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; import { withConfig } from 'pki/decorators/check-config'; diff --git a/ui/lib/pki/addon/routes/roles/create.js b/ui/lib/pki/addon/routes/roles/create.js index a9c31d8d2..47838509d 100644 --- a/ui/lib/pki/addon/routes/roles/create.js +++ b/ui/lib/pki/addon/routes/roles/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; import { withConfirmLeave } from 'core/decorators/confirm-leave'; diff --git a/ui/lib/pki/addon/routes/roles/index.js b/ui/lib/pki/addon/routes/roles/index.js index 3a4765cc1..24109616c 100644 --- a/ui/lib/pki/addon/routes/roles/index.js +++ b/ui/lib/pki/addon/routes/roles/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; import { withConfig } from 'pki/decorators/check-config'; diff --git a/ui/lib/pki/addon/routes/roles/role/details.js b/ui/lib/pki/addon/routes/roles/role/details.js index f7ee17383..25e77d947 100644 --- a/ui/lib/pki/addon/routes/roles/role/details.js +++ b/ui/lib/pki/addon/routes/roles/role/details.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/pki/addon/routes/roles/role/edit.js b/ui/lib/pki/addon/routes/roles/role/edit.js index cfd94817a..ccb25db21 100644 --- a/ui/lib/pki/addon/routes/roles/role/edit.js +++ b/ui/lib/pki/addon/routes/roles/role/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; import { withConfirmLeave } from 'core/decorators/confirm-leave'; diff --git a/ui/lib/pki/addon/routes/roles/role/generate.js b/ui/lib/pki/addon/routes/roles/role/generate.js index 66209e5ef..5a71d9958 100644 --- a/ui/lib/pki/addon/routes/roles/role/generate.js +++ b/ui/lib/pki/addon/routes/roles/role/generate.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; import { withConfirmLeave } from 'core/decorators/confirm-leave'; diff --git a/ui/lib/pki/addon/routes/roles/role/sign.js b/ui/lib/pki/addon/routes/roles/role/sign.js index 3aa16571a..bea1a55b9 100644 --- a/ui/lib/pki/addon/routes/roles/role/sign.js +++ b/ui/lib/pki/addon/routes/roles/role/sign.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; import { withConfirmLeave } from 'core/decorators/confirm-leave'; diff --git a/ui/lib/pki/addon/utils/action-params.js b/ui/lib/pki/addon/utils/action-params.js index 45553f926..a57d0dd16 100644 --- a/ui/lib/pki/addon/utils/action-params.js +++ b/ui/lib/pki/addon/utils/action-params.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * keyParamsByType * @param {string} type - refers to `type` attribute on the pki/action model. Should be one of 'exported', 'internal', 'existing', 'kms' diff --git a/ui/lib/pki/app/utils/action-params.js b/ui/lib/pki/app/utils/action-params.js index d4225655d..a40217fce 100644 --- a/ui/lib/pki/app/utils/action-params.js +++ b/ui/lib/pki/app/utils/action-params.js @@ -1,2 +1,7 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // Necessary so that the pki-generate-root component tests work export { keyParamsByType } from 'pki/utils/action-params'; diff --git a/ui/lib/pki/config/environment.js b/ui/lib/pki/config/environment.js index c5c80e647..9f6cf1170 100644 --- a/ui/lib/pki/config/environment.js +++ b/ui/lib/pki/config/environment.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-env node */ 'use strict'; diff --git a/ui/lib/pki/index.js b/ui/lib/pki/index.js index 29837b151..afe3b9833 100644 --- a/ui/lib/pki/index.js +++ b/ui/lib/pki/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-disable node/no-extraneous-require */ const { buildEngine } = require('ember-engines/lib/engine-addon'); diff --git a/ui/lib/replication/addon/.eslintrc.js b/ui/lib/replication/addon/.eslintrc.js index 3735f9a59..fdcd34bad 100644 --- a/ui/lib/replication/addon/.eslintrc.js +++ b/ui/lib/replication/addon/.eslintrc.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-disable no-undef */ module.exports = { env: { diff --git a/ui/lib/replication/addon/components/known-secondaries-card.js b/ui/lib/replication/addon/components/known-secondaries-card.js index 922796e64..4594b718c 100644 --- a/ui/lib/replication/addon/components/known-secondaries-card.js +++ b/ui/lib/replication/addon/components/known-secondaries-card.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; /** diff --git a/ui/lib/replication/addon/components/known-secondaries-table.js b/ui/lib/replication/addon/components/known-secondaries-table.js index 8b975e8c9..07f529aae 100644 --- a/ui/lib/replication/addon/components/known-secondaries-table.js +++ b/ui/lib/replication/addon/components/known-secondaries-table.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; /** diff --git a/ui/lib/replication/addon/components/path-filter-config-list.js b/ui/lib/replication/addon/components/path-filter-config-list.js index c7c54a0bd..68af82b2b 100644 --- a/ui/lib/replication/addon/components/path-filter-config-list.js +++ b/ui/lib/replication/addon/components/path-filter-config-list.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import { set, computed } from '@ember/object'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/replication/addon/components/replication-primary-card.js b/ui/lib/replication/addon/components/replication-primary-card.js index 70d9fede4..3a60dd325 100644 --- a/ui/lib/replication/addon/components/replication-primary-card.js +++ b/ui/lib/replication/addon/components/replication-primary-card.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Component from '@ember/component'; import { computed } from '@ember/object'; import { clusterStates } from 'core/helpers/cluster-states'; diff --git a/ui/lib/replication/addon/components/replication-summary.js b/ui/lib/replication/addon/components/replication-summary.js index 4addef571..416cfb604 100644 --- a/ui/lib/replication/addon/components/replication-summary.js +++ b/ui/lib/replication/addon/components/replication-summary.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { alias } from '@ember/object/computed'; import { computed } from '@ember/object'; diff --git a/ui/lib/replication/addon/controllers/application.js b/ui/lib/replication/addon/controllers/application.js index dd833f153..2891b9918 100644 --- a/ui/lib/replication/addon/controllers/application.js +++ b/ui/lib/replication/addon/controllers/application.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { isPresent } from '@ember/utils'; import { alias } from '@ember/object/computed'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/replication/addon/controllers/index.js b/ui/lib/replication/addon/controllers/index.js index 4966bce8f..8e32ad30f 100644 --- a/ui/lib/replication/addon/controllers/index.js +++ b/ui/lib/replication/addon/controllers/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from './replication-mode'; export default Controller.extend(); diff --git a/ui/lib/replication/addon/controllers/mode.js b/ui/lib/replication/addon/controllers/mode.js index 4966bce8f..8e32ad30f 100644 --- a/ui/lib/replication/addon/controllers/mode.js +++ b/ui/lib/replication/addon/controllers/mode.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from './replication-mode'; export default Controller.extend(); diff --git a/ui/lib/replication/addon/controllers/mode/index.js b/ui/lib/replication/addon/controllers/mode/index.js index b0d0fc2ee..2c0729bf1 100644 --- a/ui/lib/replication/addon/controllers/mode/index.js +++ b/ui/lib/replication/addon/controllers/mode/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '../replication-mode'; export default Controller.extend(); diff --git a/ui/lib/replication/addon/controllers/mode/manage.js b/ui/lib/replication/addon/controllers/mode/manage.js index b0d0fc2ee..2c0729bf1 100644 --- a/ui/lib/replication/addon/controllers/mode/manage.js +++ b/ui/lib/replication/addon/controllers/mode/manage.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '../replication-mode'; export default Controller.extend(); diff --git a/ui/lib/replication/addon/controllers/mode/secondaries.js b/ui/lib/replication/addon/controllers/mode/secondaries.js index b0d0fc2ee..2c0729bf1 100644 --- a/ui/lib/replication/addon/controllers/mode/secondaries.js +++ b/ui/lib/replication/addon/controllers/mode/secondaries.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Controller from '../replication-mode'; export default Controller.extend(); diff --git a/ui/lib/replication/addon/controllers/mode/secondaries/add.js b/ui/lib/replication/addon/controllers/mode/secondaries/add.js index 56644333c..3cc5e4a5c 100644 --- a/ui/lib/replication/addon/controllers/mode/secondaries/add.js +++ b/ui/lib/replication/addon/controllers/mode/secondaries/add.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ReplicationController from 'replication/controllers/application'; export default ReplicationController.extend({ diff --git a/ui/lib/replication/addon/controllers/mode/secondaries/config-create.js b/ui/lib/replication/addon/controllers/mode/secondaries/config-create.js index 092ead178..cec4b84e3 100644 --- a/ui/lib/replication/addon/controllers/mode/secondaries/config-create.js +++ b/ui/lib/replication/addon/controllers/mode/secondaries/config-create.js @@ -1 +1,6 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export { default } from './config-edit'; diff --git a/ui/lib/replication/addon/controllers/mode/secondaries/config-edit.js b/ui/lib/replication/addon/controllers/mode/secondaries/config-edit.js index fa5b4b39a..ebd8366b7 100644 --- a/ui/lib/replication/addon/controllers/mode/secondaries/config-edit.js +++ b/ui/lib/replication/addon/controllers/mode/secondaries/config-edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { alias } from '@ember/object/computed'; import { inject as service } from '@ember/service'; import Controller from '@ember/controller'; diff --git a/ui/lib/replication/addon/controllers/mode/secondaries/config-show.js b/ui/lib/replication/addon/controllers/mode/secondaries/config-show.js index b5b82ad76..1cff207dc 100644 --- a/ui/lib/replication/addon/controllers/mode/secondaries/config-show.js +++ b/ui/lib/replication/addon/controllers/mode/secondaries/config-show.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { alias } from '@ember/object/computed'; import { inject as service } from '@ember/service'; import Controller from '@ember/controller'; diff --git a/ui/lib/replication/addon/controllers/mode/secondaries/index.js b/ui/lib/replication/addon/controllers/mode/secondaries/index.js index 6a8088720..cb0fcc128 100644 --- a/ui/lib/replication/addon/controllers/mode/secondaries/index.js +++ b/ui/lib/replication/addon/controllers/mode/secondaries/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ReplicationController from 'replication/controllers/application'; export default ReplicationController.extend(); diff --git a/ui/lib/replication/addon/controllers/mode/secondaries/revoke.js b/ui/lib/replication/addon/controllers/mode/secondaries/revoke.js index 6a8088720..cb0fcc128 100644 --- a/ui/lib/replication/addon/controllers/mode/secondaries/revoke.js +++ b/ui/lib/replication/addon/controllers/mode/secondaries/revoke.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ReplicationController from 'replication/controllers/application'; export default ReplicationController.extend(); diff --git a/ui/lib/replication/addon/controllers/replication-mode.js b/ui/lib/replication/addon/controllers/replication-mode.js index c44dda45c..39302ddce 100644 --- a/ui/lib/replication/addon/controllers/replication-mode.js +++ b/ui/lib/replication/addon/controllers/replication-mode.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { alias } from '@ember/object/computed'; import { inject as service } from '@ember/service'; import Controller from '@ember/controller'; diff --git a/ui/lib/replication/addon/engine.js b/ui/lib/replication/addon/engine.js index 26906b1c7..0c5177182 100644 --- a/ui/lib/replication/addon/engine.js +++ b/ui/lib/replication/addon/engine.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Engine from 'ember-engines/engine'; import loadInitializers from 'ember-load-initializers'; import Resolver from './resolver'; diff --git a/ui/lib/replication/addon/resolver.js b/ui/lib/replication/addon/resolver.js index 2fb563d6c..9a3b4b378 100644 --- a/ui/lib/replication/addon/resolver.js +++ b/ui/lib/replication/addon/resolver.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Resolver from 'ember-resolver'; export default Resolver; diff --git a/ui/lib/replication/addon/routes.js b/ui/lib/replication/addon/routes.js index 05ceec781..e0cffab19 100644 --- a/ui/lib/replication/addon/routes.js +++ b/ui/lib/replication/addon/routes.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import buildRoutes from 'ember-engines/routes'; export default buildRoutes(function () { diff --git a/ui/lib/replication/addon/routes/application.js b/ui/lib/replication/addon/routes/application.js index 8c6fb9914..bc1b41be0 100644 --- a/ui/lib/replication/addon/routes/application.js +++ b/ui/lib/replication/addon/routes/application.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { setProperties } from '@ember/object'; import { hash } from 'rsvp'; diff --git a/ui/lib/replication/addon/routes/index.js b/ui/lib/replication/addon/routes/index.js index ebc58f383..3bedf2ae6 100644 --- a/ui/lib/replication/addon/routes/index.js +++ b/ui/lib/replication/addon/routes/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import Route from '@ember/routing/route'; diff --git a/ui/lib/replication/addon/routes/mode.js b/ui/lib/replication/addon/routes/mode.js index abf970c1a..014ab5d94 100644 --- a/ui/lib/replication/addon/routes/mode.js +++ b/ui/lib/replication/addon/routes/mode.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { inject as service } from '@ember/service'; import { hash } from 'rsvp'; import { setProperties } from '@ember/object'; diff --git a/ui/lib/replication/addon/routes/mode/index.js b/ui/lib/replication/addon/routes/mode/index.js index 7f064887e..0f74690e5 100644 --- a/ui/lib/replication/addon/routes/mode/index.js +++ b/ui/lib/replication/addon/routes/mode/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { setProperties } from '@ember/object'; import { hash } from 'rsvp'; import Route from '@ember/routing/route'; diff --git a/ui/lib/replication/addon/routes/mode/manage.js b/ui/lib/replication/addon/routes/mode/manage.js index cfa5e8452..db037b404 100644 --- a/ui/lib/replication/addon/routes/mode/manage.js +++ b/ui/lib/replication/addon/routes/mode/manage.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { camelize } from '@ember/string'; import { all } from 'rsvp'; import { inject as service } from '@ember/service'; diff --git a/ui/lib/replication/addon/routes/mode/secondaries.js b/ui/lib/replication/addon/routes/mode/secondaries.js index 7f064887e..0f74690e5 100644 --- a/ui/lib/replication/addon/routes/mode/secondaries.js +++ b/ui/lib/replication/addon/routes/mode/secondaries.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { setProperties } from '@ember/object'; import { hash } from 'rsvp'; import Route from '@ember/routing/route'; diff --git a/ui/lib/replication/addon/routes/mode/secondaries/add.js b/ui/lib/replication/addon/routes/mode/secondaries/add.js index 467ebe29f..741c8a173 100644 --- a/ui/lib/replication/addon/routes/mode/secondaries/add.js +++ b/ui/lib/replication/addon/routes/mode/secondaries/add.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Base from '../../replication-base'; export default Base.extend({ diff --git a/ui/lib/replication/addon/routes/mode/secondaries/config-create.js b/ui/lib/replication/addon/routes/mode/secondaries/config-create.js index c664542ac..ef51e9763 100644 --- a/ui/lib/replication/addon/routes/mode/secondaries/config-create.js +++ b/ui/lib/replication/addon/routes/mode/secondaries/config-create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { hash } from 'rsvp'; import { inject as service } from '@ember/service'; import Base from '../../replication-base'; diff --git a/ui/lib/replication/addon/routes/mode/secondaries/config-edit.js b/ui/lib/replication/addon/routes/mode/secondaries/config-edit.js index b84f47726..a208e9d27 100644 --- a/ui/lib/replication/addon/routes/mode/secondaries/config-edit.js +++ b/ui/lib/replication/addon/routes/mode/secondaries/config-edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { hash } from 'rsvp'; import Base from '../../replication-base'; diff --git a/ui/lib/replication/addon/routes/mode/secondaries/config-show.js b/ui/lib/replication/addon/routes/mode/secondaries/config-show.js index e57e0fb2f..b08568367 100644 --- a/ui/lib/replication/addon/routes/mode/secondaries/config-show.js +++ b/ui/lib/replication/addon/routes/mode/secondaries/config-show.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { hash, resolve } from 'rsvp'; import Base from '../../replication-base'; diff --git a/ui/lib/replication/addon/routes/mode/secondaries/revoke.js b/ui/lib/replication/addon/routes/mode/secondaries/revoke.js index ef21ea863..923499d6a 100644 --- a/ui/lib/replication/addon/routes/mode/secondaries/revoke.js +++ b/ui/lib/replication/addon/routes/mode/secondaries/revoke.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Base from '../../replication-base'; export default Base.extend({ diff --git a/ui/lib/replication/addon/routes/replication-base.js b/ui/lib/replication/addon/routes/replication-base.js index b6599b926..c4e68b17b 100644 --- a/ui/lib/replication/addon/routes/replication-base.js +++ b/ui/lib/replication/addon/routes/replication-base.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { alias } from '@ember/object/computed'; import { inject as service } from '@ember/service'; import Route from '@ember/routing/route'; diff --git a/ui/lib/replication/addon/utils/decode-config-from-jwt.js b/ui/lib/replication/addon/utils/decode-config-from-jwt.js index 4cf9496ec..c4ddca304 100644 --- a/ui/lib/replication/addon/utils/decode-config-from-jwt.js +++ b/ui/lib/replication/addon/utils/decode-config-from-jwt.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { decodeString } from 'core/utils/b64'; /* diff --git a/ui/lib/replication/config/environment.js b/ui/lib/replication/config/environment.js index 32b7bfaf9..35de50e6a 100644 --- a/ui/lib/replication/config/environment.js +++ b/ui/lib/replication/config/environment.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-env node */ 'use strict'; diff --git a/ui/lib/replication/index.js b/ui/lib/replication/index.js index e8bb7caf4..5260ac2c8 100644 --- a/ui/lib/replication/index.js +++ b/ui/lib/replication/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-env node */ /* eslint-disable ember/avoid-leaking-state-in-ember-objects */ /* eslint-disable node/no-extraneous-require */ diff --git a/ui/lib/service-worker-authenticated-download/index.js b/ui/lib/service-worker-authenticated-download/index.js index bbec17dec..c7a9c04c1 100644 --- a/ui/lib/service-worker-authenticated-download/index.js +++ b/ui/lib/service-worker-authenticated-download/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + 'use strict'; module.exports = { diff --git a/ui/lib/service-worker-authenticated-download/service-worker-registration/index.js b/ui/lib/service-worker-authenticated-download/service-worker-registration/index.js index 6236505e0..06630e626 100644 --- a/ui/lib/service-worker-authenticated-download/service-worker-registration/index.js +++ b/ui/lib/service-worker-authenticated-download/service-worker-registration/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { addSuccessHandler } from 'ember-service-worker/service-worker-registration'; addSuccessHandler(function (registration) { diff --git a/ui/lib/service-worker-authenticated-download/service-worker/index.js b/ui/lib/service-worker-authenticated-download/service-worker/index.js index d4df8abb6..ef719ff2b 100644 --- a/ui/lib/service-worker-authenticated-download/service-worker/index.js +++ b/ui/lib/service-worker-authenticated-download/service-worker/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { createUrlRegEx, urlMatchesAnyPattern } from 'ember-service-worker/service-worker/url-utils'; var patterns = ['/v1/sys/storage/raft/snapshot']; diff --git a/ui/mirage/config.js b/ui/mirage/config.js index c6eacb581..1ce4dea9a 100644 --- a/ui/mirage/config.js +++ b/ui/mirage/config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ENV from 'vault/config/environment'; import handlers from './handlers'; diff --git a/ui/mirage/factories/configuration.js b/ui/mirage/factories/configuration.js index a64f83092..df07dc81c 100644 --- a/ui/mirage/factories/configuration.js +++ b/ui/mirage/factories/configuration.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Factory, trait } from 'ember-cli-mirage'; export default Factory.extend({ diff --git a/ui/mirage/factories/feature.js b/ui/mirage/factories/feature.js index 832aee5ed..69935f61d 100644 --- a/ui/mirage/factories/feature.js +++ b/ui/mirage/factories/feature.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Factory } from 'ember-cli-mirage'; export default Factory.extend({ diff --git a/ui/mirage/factories/kubernetes-config.js b/ui/mirage/factories/kubernetes-config.js index 08c5f7851..1c99abf5e 100644 --- a/ui/mirage/factories/kubernetes-config.js +++ b/ui/mirage/factories/kubernetes-config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Factory } from 'ember-cli-mirage'; export default Factory.extend({ diff --git a/ui/mirage/factories/kubernetes-role.js b/ui/mirage/factories/kubernetes-role.js index 7e2f8cb89..9b9f7c593 100644 --- a/ui/mirage/factories/kubernetes-role.js +++ b/ui/mirage/factories/kubernetes-role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Factory, trait } from 'ember-cli-mirage'; const generated_role_rules = `rules: diff --git a/ui/mirage/factories/mfa-duo-method.js b/ui/mirage/factories/mfa-duo-method.js index 9f8d132c2..25d98b1d3 100644 --- a/ui/mirage/factories/mfa-duo-method.js +++ b/ui/mirage/factories/mfa-duo-method.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Factory } from 'ember-cli-mirage'; export default Factory.extend({ diff --git a/ui/mirage/factories/mfa-login-enforcement.js b/ui/mirage/factories/mfa-login-enforcement.js index ca62a991f..aaa03323c 100644 --- a/ui/mirage/factories/mfa-login-enforcement.js +++ b/ui/mirage/factories/mfa-login-enforcement.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Factory } from 'ember-cli-mirage'; export default Factory.extend({ diff --git a/ui/mirage/factories/mfa-method.js b/ui/mirage/factories/mfa-method.js index e4857dbf4..e807b3d66 100644 --- a/ui/mirage/factories/mfa-method.js +++ b/ui/mirage/factories/mfa-method.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Factory } from 'ember-cli-mirage'; export default Factory.extend({ diff --git a/ui/mirage/factories/mfa-okta-method.js b/ui/mirage/factories/mfa-okta-method.js index 2bf495066..cd60f65d5 100644 --- a/ui/mirage/factories/mfa-okta-method.js +++ b/ui/mirage/factories/mfa-okta-method.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Factory } from 'ember-cli-mirage'; export default Factory.extend({ diff --git a/ui/mirage/factories/mfa-pingid-method.js b/ui/mirage/factories/mfa-pingid-method.js index 947d3640d..3d3e63a41 100644 --- a/ui/mirage/factories/mfa-pingid-method.js +++ b/ui/mirage/factories/mfa-pingid-method.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Factory } from 'ember-cli-mirage'; export default Factory.extend({ diff --git a/ui/mirage/factories/mfa-totp-method.js b/ui/mirage/factories/mfa-totp-method.js index 9b82a2b31..86eb1b2d0 100644 --- a/ui/mirage/factories/mfa-totp-method.js +++ b/ui/mirage/factories/mfa-totp-method.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Factory } from 'ember-cli-mirage'; export default Factory.extend({ diff --git a/ui/mirage/factories/secret-engine.js b/ui/mirage/factories/secret-engine.js index 57f5c0908..0039379e0 100644 --- a/ui/mirage/factories/secret-engine.js +++ b/ui/mirage/factories/secret-engine.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Factory } from 'ember-cli-mirage'; export default Factory.extend({ diff --git a/ui/mirage/factories/server.js b/ui/mirage/factories/server.js index 2d9100b4d..5e03f76a6 100644 --- a/ui/mirage/factories/server.js +++ b/ui/mirage/factories/server.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Factory } from 'ember-cli-mirage'; export default Factory.extend({ diff --git a/ui/mirage/handlers/base.js b/ui/mirage/handlers/base.js index 98810f600..ba27ea8fc 100644 --- a/ui/mirage/handlers/base.js +++ b/ui/mirage/handlers/base.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // base handlers used in mirage config when a specific handler is not specified const EXPIRY_DATE = '2021-05-12T23:20:50.52Z'; diff --git a/ui/mirage/handlers/clients.js b/ui/mirage/handlers/clients.js index 46d22b74e..f66d3ac21 100644 --- a/ui/mirage/handlers/clients.js +++ b/ui/mirage/handlers/clients.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { isBefore, startOfMonth, diff --git a/ui/mirage/handlers/db.js b/ui/mirage/handlers/db.js index ca4ee390a..920bb3db4 100644 --- a/ui/mirage/handlers/db.js +++ b/ui/mirage/handlers/db.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export default function (server) { server.get('/database/static-roles', function () { return { diff --git a/ui/mirage/handlers/hcp-link.js b/ui/mirage/handlers/hcp-link.js index 3d4953c16..58f989591 100644 --- a/ui/mirage/handlers/hcp-link.js +++ b/ui/mirage/handlers/hcp-link.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export const statuses = [ 'connected', 'disconnected since 2022-09-21T11:25:02.196835-07:00; error: unable to establish a connection with HCP', diff --git a/ui/mirage/handlers/index.js b/ui/mirage/handlers/index.js index 38c506ef0..d7c652c81 100644 --- a/ui/mirage/handlers/index.js +++ b/ui/mirage/handlers/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // add all handlers here // individual lookup done in mirage config import base from './base'; diff --git a/ui/mirage/handlers/kms.js b/ui/mirage/handlers/kms.js index 10850ffd5..3d7118279 100644 --- a/ui/mirage/handlers/kms.js +++ b/ui/mirage/handlers/kms.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export default function (server) { server.get('keymgmt/key?list=true', function () { return { diff --git a/ui/mirage/handlers/kubernetes.js b/ui/mirage/handlers/kubernetes.js index e9b5c6a2b..a646519fc 100644 --- a/ui/mirage/handlers/kubernetes.js +++ b/ui/mirage/handlers/kubernetes.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Response } from 'miragejs'; export default function (server) { diff --git a/ui/mirage/handlers/mfa-config.js b/ui/mirage/handlers/mfa-config.js index b6a6626eb..6771692b5 100644 --- a/ui/mirage/handlers/mfa-config.js +++ b/ui/mirage/handlers/mfa-config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Response } from 'miragejs'; export default function (server) { diff --git a/ui/mirage/handlers/mfa-login.js b/ui/mirage/handlers/mfa-login.js index ca34ba9ba..b409e253b 100644 --- a/ui/mirage/handlers/mfa-login.js +++ b/ui/mirage/handlers/mfa-login.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Response } from 'miragejs'; import Ember from 'ember'; import fetch from 'fetch'; diff --git a/ui/mirage/handlers/oidc-config.js b/ui/mirage/handlers/oidc-config.js index be139c241..11c3a3b16 100644 --- a/ui/mirage/handlers/oidc-config.js +++ b/ui/mirage/handlers/oidc-config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export default function (server) { // ENTITY SEARCH SELECT server.get('/identity/entity/id', () => ({ diff --git a/ui/mirage/identity-managers/application.js b/ui/mirage/identity-managers/application.js index 435d5bd6b..a71912f71 100644 --- a/ui/mirage/identity-managers/application.js +++ b/ui/mirage/identity-managers/application.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import IdentityManager from 'vault/utils/identity-manager'; // to more closely match the Vault backend this will return UUIDs as identifiers for records in mirage export default IdentityManager; diff --git a/ui/mirage/models/feature.js b/ui/mirage/models/feature.js index 4f84f3bd7..cc93d1998 100644 --- a/ui/mirage/models/feature.js +++ b/ui/mirage/models/feature.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Model } from 'ember-cli-mirage'; export default Model.extend({ diff --git a/ui/mirage/scenarios/default.js b/ui/mirage/scenarios/default.js index 810caf5c0..cafa0e83a 100644 --- a/ui/mirage/scenarios/default.js +++ b/ui/mirage/scenarios/default.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ENV from 'vault/config/environment'; const { handler } = ENV['ember-cli-mirage']; import kubernetesScenario from './kubernetes'; diff --git a/ui/mirage/scenarios/kubernetes.js b/ui/mirage/scenarios/kubernetes.js index 710a06e5f..bc30ae732 100644 --- a/ui/mirage/scenarios/kubernetes.js +++ b/ui/mirage/scenarios/kubernetes.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export default function (server, shouldConfigureRoles = true) { server.create('kubernetes-config', { path: 'kubernetes' }); if (shouldConfigureRoles) { diff --git a/ui/mirage/serializers/application.js b/ui/mirage/serializers/application.js index 42feb0e47..4620ee530 100644 --- a/ui/mirage/serializers/application.js +++ b/ui/mirage/serializers/application.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { JSONAPISerializer } from 'ember-cli-mirage'; export default JSONAPISerializer.extend({ diff --git a/ui/scripts/codemods/dropdown-transform.js b/ui/scripts/codemods/dropdown-transform.js index 701847864..43715da55 100644 --- a/ui/scripts/codemods/dropdown-transform.js +++ b/ui/scripts/codemods/dropdown-transform.js @@ -1,4 +1,9 @@ #!/usr/bin/env node +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-env node */ /** diff --git a/ui/scripts/codemods/icon-transform.js b/ui/scripts/codemods/icon-transform.js index e39604e54..4c1b3082f 100644 --- a/ui/scripts/codemods/icon-transform.js +++ b/ui/scripts/codemods/icon-transform.js @@ -1,4 +1,9 @@ #!/usr/bin/env node +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-env node */ /** * Codemod to transform Icon component to new API to accomodate FlightIcon diff --git a/ui/scripts/codemods/inject-service.js b/ui/scripts/codemods/inject-service.js index 6c25c0a49..206492edc 100644 --- a/ui/scripts/codemods/inject-service.js +++ b/ui/scripts/codemods/inject-service.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import babylonParser from './jscodeshift-babylon-parser'; // use babylon parser with decorators-legacy plugin diff --git a/ui/scripts/codemods/jscodeshift-babylon-parser.js b/ui/scripts/codemods/jscodeshift-babylon-parser.js index e1f1bee97..42f3b5e3e 100644 --- a/ui/scripts/codemods/jscodeshift-babylon-parser.js +++ b/ui/scripts/codemods/jscodeshift-babylon-parser.js @@ -1,4 +1,9 @@ #!/usr/bin/env node +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-env node */ // Read more: https://github.com/facebook/jscodeshift#parser diff --git a/ui/scripts/codemods/linkto-with-on-modifier.js b/ui/scripts/codemods/linkto-with-on-modifier.js index d5386c37b..dc8c4e918 100644 --- a/ui/scripts/codemods/linkto-with-on-modifier.js +++ b/ui/scripts/codemods/linkto-with-on-modifier.js @@ -1,4 +1,9 @@ #!/usr/bin/env node +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-env node */ // print to console all files that include LinkTo elements using the {{on modifier}} diff --git a/ui/scripts/codemods/no-quoteless-attributes.js b/ui/scripts/codemods/no-quoteless-attributes.js index 69c234842..1e28a8b41 100644 --- a/ui/scripts/codemods/no-quoteless-attributes.js +++ b/ui/scripts/codemods/no-quoteless-attributes.js @@ -1,4 +1,9 @@ #!/usr/bin/env node +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-env node */ /** diff --git a/ui/scripts/codemods/transform-deprecated-args.js b/ui/scripts/codemods/transform-deprecated-args.js index a13120c56..352cced2c 100644 --- a/ui/scripts/codemods/transform-deprecated-args.js +++ b/ui/scripts/codemods/transform-deprecated-args.js @@ -1,4 +1,9 @@ #!/usr/bin/env node +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-env node */ /** * Codemod to convert args to attributes for Input and TextArea built in components diff --git a/ui/scripts/enos-test-ember.js b/ui/scripts/enos-test-ember.js index 6415a4891..1965c3c1e 100755 --- a/ui/scripts/enos-test-ember.js +++ b/ui/scripts/enos-test-ember.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-env node */ /* eslint-disable no-console */ diff --git a/ui/scripts/gen-story-md.js b/ui/scripts/gen-story-md.js index a1cf6059d..63a4593cc 100755 --- a/ui/scripts/gen-story-md.js +++ b/ui/scripts/gen-story-md.js @@ -1,4 +1,9 @@ #!/usr/bin/env node +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-disable */ // run this script via yarn in the ui directory: // yarn gen-story-md some-component diff --git a/ui/scripts/list-templates.js b/ui/scripts/list-templates.js index bda10af90..3cbae37da 100755 --- a/ui/scripts/list-templates.js +++ b/ui/scripts/list-templates.js @@ -1,4 +1,9 @@ #!/usr/bin/env node +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-disable */ // We need an array in this format for all of the files diff --git a/ui/scripts/start-vault.js b/ui/scripts/start-vault.js index d5ad78e49..f069f8dfa 100755 --- a/ui/scripts/start-vault.js +++ b/ui/scripts/start-vault.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-env node */ /* eslint-disable no-console */ /* eslint-disable no-process-exit */ diff --git a/ui/scripts/test-helper.js b/ui/scripts/test-helper.js index e5bb84634..8ff4961f4 100644 --- a/ui/scripts/test-helper.js +++ b/ui/scripts/test-helper.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-env node */ /* eslint-disable no-console */ diff --git a/ui/testem.enos.js b/ui/testem.enos.js index 5bc427277..c76635c12 100644 --- a/ui/testem.enos.js +++ b/ui/testem.enos.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-env node */ 'use strict'; diff --git a/ui/testem.js b/ui/testem.js index ccf0228f4..81aa185a5 100644 --- a/ui/testem.js +++ b/ui/testem.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + 'use strict'; module.exports = { diff --git a/ui/tests/.eslintrc.js b/ui/tests/.eslintrc.js index dbd2a5460..8c897a3ce 100644 --- a/ui/tests/.eslintrc.js +++ b/ui/tests/.eslintrc.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-disable no-undef */ module.exports = { env: { diff --git a/ui/tests/acceptance/access/identity/_shared-alias-tests.js b/ui/tests/acceptance/access/identity/_shared-alias-tests.js index 64b6ac702..5cadcb945 100644 --- a/ui/tests/acceptance/access/identity/_shared-alias-tests.js +++ b/ui/tests/acceptance/access/identity/_shared-alias-tests.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentRouteName, settled } from '@ember/test-helpers'; import page from 'vault/tests/pages/access/identity/aliases/add'; import aliasIndexPage from 'vault/tests/pages/access/identity/aliases/index'; diff --git a/ui/tests/acceptance/access/identity/_shared-tests.js b/ui/tests/acceptance/access/identity/_shared-tests.js index 56430c9ab..b667e59da 100644 --- a/ui/tests/acceptance/access/identity/_shared-tests.js +++ b/ui/tests/acceptance/access/identity/_shared-tests.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { settled, currentRouteName, click, waitUntil, find } from '@ember/test-helpers'; import { selectChoose, clickTrigger } from 'ember-power-select/test-support/helpers'; import page from 'vault/tests/pages/access/identity/create'; diff --git a/ui/tests/acceptance/access/identity/entities/aliases/create-test.js b/ui/tests/acceptance/access/identity/entities/aliases/create-test.js index bea4555eb..bcc3f1585 100644 --- a/ui/tests/acceptance/access/identity/entities/aliases/create-test.js +++ b/ui/tests/acceptance/access/identity/entities/aliases/create-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { settled } from '@ember/test-helpers'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/access/identity/entities/create-test.js b/ui/tests/acceptance/access/identity/entities/create-test.js index 85c3657fc..86589f136 100644 --- a/ui/tests/acceptance/access/identity/entities/create-test.js +++ b/ui/tests/acceptance/access/identity/entities/create-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentRouteName } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/access/identity/entities/index-test.js b/ui/tests/acceptance/access/identity/entities/index-test.js index c6015ba0d..79dbbfe31 100644 --- a/ui/tests/acceptance/access/identity/entities/index-test.js +++ b/ui/tests/acceptance/access/identity/entities/index-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentRouteName } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/access/identity/groups/aliases/create-test.js b/ui/tests/acceptance/access/identity/groups/aliases/create-test.js index 202dace26..e00f9b5fd 100644 --- a/ui/tests/acceptance/access/identity/groups/aliases/create-test.js +++ b/ui/tests/acceptance/access/identity/groups/aliases/create-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { settled } from '@ember/test-helpers'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/access/identity/groups/create-test.js b/ui/tests/acceptance/access/identity/groups/create-test.js index 07506e790..4e54bec85 100644 --- a/ui/tests/acceptance/access/identity/groups/create-test.js +++ b/ui/tests/acceptance/access/identity/groups/create-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentRouteName } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/access/methods-test.js b/ui/tests/acceptance/access/methods-test.js index 364baa3c1..a1f3d2ffb 100644 --- a/ui/tests/acceptance/access/methods-test.js +++ b/ui/tests/acceptance/access/methods-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentRouteName } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/access/namespaces/index-test.js b/ui/tests/acceptance/access/namespaces/index-test.js index 8dd0a274e..6a756a188 100644 --- a/ui/tests/acceptance/access/namespaces/index-test.js +++ b/ui/tests/acceptance/access/namespaces/index-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentRouteName } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/api-explorer/index-test.js b/ui/tests/acceptance/api-explorer/index-test.js index daebfe894..1307110b9 100644 --- a/ui/tests/acceptance/api-explorer/index-test.js +++ b/ui/tests/acceptance/api-explorer/index-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { find, fillIn, visit, waitUntil } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/auth-list-test.js b/ui/tests/acceptance/auth-list-test.js index 42e646a7f..a4e40da40 100644 --- a/ui/tests/acceptance/auth-list-test.js +++ b/ui/tests/acceptance/auth-list-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint qunit/no-conditional-assertions: "warn" */ import { click, diff --git a/ui/tests/acceptance/auth-test.js b/ui/tests/acceptance/auth-test.js index 1228a797b..15f99f18f 100644 --- a/ui/tests/acceptance/auth-test.js +++ b/ui/tests/acceptance/auth-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint qunit/no-conditional-assertions: "warn" */ import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/aws-test.js b/ui/tests/acceptance/aws-test.js index d2532860a..4b57e1b1b 100644 --- a/ui/tests/acceptance/aws-test.js +++ b/ui/tests/acceptance/aws-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { click, fillIn, findAll, currentURL, find, settled, waitUntil } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/client-dashboard-test.js b/ui/tests/acceptance/client-dashboard-test.js index 1964497ab..eb25edf4c 100644 --- a/ui/tests/acceptance/client-dashboard-test.js +++ b/ui/tests/acceptance/client-dashboard-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { visit, currentURL, click, findAll, find, settled } from '@ember/test-helpers'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/cluster-test.js b/ui/tests/acceptance/cluster-test.js index bca59ffe3..03b02b768 100644 --- a/ui/tests/acceptance/cluster-test.js +++ b/ui/tests/acceptance/cluster-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create } from 'ember-cli-page-object'; import { settled, click } from '@ember/test-helpers'; import { module, test } from 'qunit'; diff --git a/ui/tests/acceptance/console-test.js b/ui/tests/acceptance/console-test.js index 684a90aa9..7d058c118 100644 --- a/ui/tests/acceptance/console-test.js +++ b/ui/tests/acceptance/console-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { settled, waitUntil } from '@ember/test-helpers'; import { create } from 'ember-cli-page-object'; diff --git a/ui/tests/acceptance/enterprise-control-groups-test.js b/ui/tests/acceptance/enterprise-control-groups-test.js index fccafad8d..f5307acc5 100644 --- a/ui/tests/acceptance/enterprise-control-groups-test.js +++ b/ui/tests/acceptance/enterprise-control-groups-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { settled, currentURL, currentRouteName, visit, waitUntil } from '@ember/test-helpers'; import { module, test, skip } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/enterprise-kmip-test.js b/ui/tests/acceptance/enterprise-kmip-test.js index ea794d98f..18df8b42a 100644 --- a/ui/tests/acceptance/enterprise-kmip-test.js +++ b/ui/tests/acceptance/enterprise-kmip-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentURL, currentRouteName, settled, fillIn, waitUntil, find } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/enterprise-kmse-test.js b/ui/tests/acceptance/enterprise-kmse-test.js index 1795105ba..2b61129d8 100644 --- a/ui/tests/acceptance/enterprise-kmse-test.js +++ b/ui/tests/acceptance/enterprise-kmse-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; import { click, fillIn } from '@ember/test-helpers'; diff --git a/ui/tests/acceptance/enterprise-license-banner-test.js b/ui/tests/acceptance/enterprise-license-banner-test.js index ffd0315e2..881dac320 100644 --- a/ui/tests/acceptance/enterprise-license-banner-test.js +++ b/ui/tests/acceptance/enterprise-license-banner-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { visit } from '@ember/test-helpers'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/enterprise-namespaces-test.js b/ui/tests/acceptance/enterprise-namespaces-test.js index 947821bcd..af4009db5 100644 --- a/ui/tests/acceptance/enterprise-namespaces-test.js +++ b/ui/tests/acceptance/enterprise-namespaces-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { click, settled, visit, fillIn, currentURL } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/enterprise-replication-test.js b/ui/tests/acceptance/enterprise-replication-test.js index 2087ab078..96f0fa9c2 100644 --- a/ui/tests/acceptance/enterprise-replication-test.js +++ b/ui/tests/acceptance/enterprise-replication-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { clickTrigger } from 'ember-power-select/test-support/helpers'; import { click, fillIn, findAll, currentURL, find, visit, settled, waitUntil } from '@ember/test-helpers'; import { module, test } from 'qunit'; diff --git a/ui/tests/acceptance/enterprise-transform-test.js b/ui/tests/acceptance/enterprise-transform-test.js index a5a683043..6122473d1 100644 --- a/ui/tests/acceptance/enterprise-transform-test.js +++ b/ui/tests/acceptance/enterprise-transform-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; import { currentURL, click, settled } from '@ember/test-helpers'; diff --git a/ui/tests/acceptance/init-test.js b/ui/tests/acceptance/init-test.js index 3f72fcc24..327770c02 100644 --- a/ui/tests/acceptance/init-test.js +++ b/ui/tests/acceptance/init-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/jwt-auth-method-test.js b/ui/tests/acceptance/jwt-auth-method-test.js index 008709b34..166f0f9aa 100644 --- a/ui/tests/acceptance/jwt-auth-method-test.js +++ b/ui/tests/acceptance/jwt-auth-method-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; import { click, visit, fillIn } from '@ember/test-helpers'; diff --git a/ui/tests/acceptance/leases-test.js b/ui/tests/acceptance/leases-test.js index 26111641b..b2f969bb8 100644 --- a/ui/tests/acceptance/leases-test.js +++ b/ui/tests/acceptance/leases-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { click, currentRouteName, visit } from '@ember/test-helpers'; // TESTS HERE ARE SKIPPED // running vault with -dev-leased-kv flag lets you run some of these tests diff --git a/ui/tests/acceptance/managed-namespace-test.js b/ui/tests/acceptance/managed-namespace-test.js index 74203f85c..6f6bb4061 100644 --- a/ui/tests/acceptance/managed-namespace-test.js +++ b/ui/tests/acceptance/managed-namespace-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { currentURL, visit, fillIn } from '@ember/test-helpers'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/mfa-login-enforcement-test.js b/ui/tests/acceptance/mfa-login-enforcement-test.js index 6ec2b2431..c8b4d97a8 100644 --- a/ui/tests/acceptance/mfa-login-enforcement-test.js +++ b/ui/tests/acceptance/mfa-login-enforcement-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; import { click, currentRouteName, fillIn, visit } from '@ember/test-helpers'; diff --git a/ui/tests/acceptance/mfa-login-test.js b/ui/tests/acceptance/mfa-login-test.js index 595b33863..e30ca5952 100644 --- a/ui/tests/acceptance/mfa-login-test.js +++ b/ui/tests/acceptance/mfa-login-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; import { click, currentRouteName, fillIn, visit, waitUntil, find } from '@ember/test-helpers'; diff --git a/ui/tests/acceptance/mfa-method-test.js b/ui/tests/acceptance/mfa-method-test.js index b69b3c514..c3834a8a6 100644 --- a/ui/tests/acceptance/mfa-method-test.js +++ b/ui/tests/acceptance/mfa-method-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; import { click, currentRouteName, currentURL, fillIn, visit } from '@ember/test-helpers'; diff --git a/ui/tests/acceptance/mfa-setup-test.js b/ui/tests/acceptance/mfa-setup-test.js index 2a9d6662a..ca2c02197 100644 --- a/ui/tests/acceptance/mfa-setup-test.js +++ b/ui/tests/acceptance/mfa-setup-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { create } from 'ember-cli-page-object'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/not-found-test.js b/ui/tests/acceptance/not-found-test.js index cda752501..bfeda741b 100644 --- a/ui/tests/acceptance/not-found-test.js +++ b/ui/tests/acceptance/not-found-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { findAll, visit } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/oidc-auth-method-test.js b/ui/tests/acceptance/oidc-auth-method-test.js index 628eb2669..7143a02ab 100644 --- a/ui/tests/acceptance/oidc-auth-method-test.js +++ b/ui/tests/acceptance/oidc-auth-method-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; import { click, fillIn, find, waitUntil } from '@ember/test-helpers'; diff --git a/ui/tests/acceptance/oidc-config/clients-assignments-test.js b/ui/tests/acceptance/oidc-config/clients-assignments-test.js index 5e71ef5cb..b774dadd6 100644 --- a/ui/tests/acceptance/oidc-config/clients-assignments-test.js +++ b/ui/tests/acceptance/oidc-config/clients-assignments-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { visit, currentURL, click, fillIn, findAll, currentRouteName } from '@ember/test-helpers'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/oidc-config/clients-keys-test.js b/ui/tests/acceptance/oidc-config/clients-keys-test.js index 0c43859e8..2e9704758 100644 --- a/ui/tests/acceptance/oidc-config/clients-keys-test.js +++ b/ui/tests/acceptance/oidc-config/clients-keys-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { visit, click, fillIn, findAll, currentRouteName } from '@ember/test-helpers'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/oidc-config/providers-scopes-test.js b/ui/tests/acceptance/oidc-config/providers-scopes-test.js index a356616ae..845453031 100644 --- a/ui/tests/acceptance/oidc-config/providers-scopes-test.js +++ b/ui/tests/acceptance/oidc-config/providers-scopes-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { visit, currentURL, click, fillIn, findAll, currentRouteName } from '@ember/test-helpers'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/oidc-provider-test.js b/ui/tests/acceptance/oidc-provider-test.js index 6d7a22e43..4a296acc4 100644 --- a/ui/tests/acceptance/oidc-provider-test.js +++ b/ui/tests/acceptance/oidc-provider-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create } from 'ember-cli-page-object'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/pki-engine-route-cleanupt-test.js b/ui/tests/acceptance/pki-engine-route-cleanupt-test.js index fb6c3c347..975719484 100644 --- a/ui/tests/acceptance/pki-engine-route-cleanupt-test.js +++ b/ui/tests/acceptance/pki-engine-route-cleanupt-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; import authPage from 'vault/tests/pages/auth'; diff --git a/ui/tests/acceptance/pki/pki-engine-workflow-test.js b/ui/tests/acceptance/pki/pki-engine-workflow-test.js index 0e777cc4c..85b327772 100644 --- a/ui/tests/acceptance/pki/pki-engine-workflow-test.js +++ b/ui/tests/acceptance/pki/pki-engine-workflow-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; import authPage from 'vault/tests/pages/auth'; diff --git a/ui/tests/acceptance/pki/pki-overview-test.js b/ui/tests/acceptance/pki/pki-overview-test.js index 150d9fd1e..3612fbeb7 100644 --- a/ui/tests/acceptance/pki/pki-overview-test.js +++ b/ui/tests/acceptance/pki/pki-overview-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; import authPage from 'vault/tests/pages/auth'; diff --git a/ui/tests/acceptance/policies-acl-old-test.js b/ui/tests/acceptance/policies-acl-old-test.js index ed3a45779..c6ec56470 100644 --- a/ui/tests/acceptance/policies-acl-old-test.js +++ b/ui/tests/acceptance/policies-acl-old-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { click, fillIn, find, currentURL, waitUntil } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/policies-test.js b/ui/tests/acceptance/policies-test.js index 8d95ef5f3..5e545bb2b 100644 --- a/ui/tests/acceptance/policies-test.js +++ b/ui/tests/acceptance/policies-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentURL, currentRouteName, visit } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/policies/index-test.js b/ui/tests/acceptance/policies/index-test.js index 65cbde00a..7e6019406 100644 --- a/ui/tests/acceptance/policies/index-test.js +++ b/ui/tests/acceptance/policies/index-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentURL, currentRouteName, settled } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/policy-test.js b/ui/tests/acceptance/policy-test.js index 44266bd1e..4df25804d 100644 --- a/ui/tests/acceptance/policy-test.js +++ b/ui/tests/acceptance/policy-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentURL, currentRouteName, visit } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/policy/edit-test.js b/ui/tests/acceptance/policy/edit-test.js index 849fd06ff..b67e03e56 100644 --- a/ui/tests/acceptance/policy/edit-test.js +++ b/ui/tests/acceptance/policy/edit-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentURL } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/policy/show-test.js b/ui/tests/acceptance/policy/show-test.js index 5b20826b0..6b1032d0f 100644 --- a/ui/tests/acceptance/policy/show-test.js +++ b/ui/tests/acceptance/policy/show-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentURL } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/raft-storage-test.js b/ui/tests/acceptance/raft-storage-test.js index 7f80f25f7..1209d762b 100644 --- a/ui/tests/acceptance/raft-storage-test.js +++ b/ui/tests/acceptance/raft-storage-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; import { setupMirage } from 'ember-cli-mirage/test-support'; diff --git a/ui/tests/acceptance/redirect-to-test.js b/ui/tests/acceptance/redirect-to-test.js index 4438db551..a5f1680a0 100644 --- a/ui/tests/acceptance/redirect-to-test.js +++ b/ui/tests/acceptance/redirect-to-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentURL, visit as _visit, settled } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/secrets/backend/alicloud/secret-test.js b/ui/tests/acceptance/secrets/backend/alicloud/secret-test.js index 1b01d1a1d..b39781998 100644 --- a/ui/tests/acceptance/secrets/backend/alicloud/secret-test.js +++ b/ui/tests/acceptance/secrets/backend/alicloud/secret-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentRouteName, settled } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/secrets/backend/cubbyhole/secret-test.js b/ui/tests/acceptance/secrets/backend/cubbyhole/secret-test.js index 188dc89a0..db51924d4 100644 --- a/ui/tests/acceptance/secrets/backend/cubbyhole/secret-test.js +++ b/ui/tests/acceptance/secrets/backend/cubbyhole/secret-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentRouteName, settled } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/secrets/backend/database/secret-test.js b/ui/tests/acceptance/secrets/backend/database/secret-test.js index c57e0ce8e..6a4ee538e 100644 --- a/ui/tests/acceptance/secrets/backend/database/secret-test.js +++ b/ui/tests/acceptance/secrets/backend/database/secret-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; import { currentURL, settled, click, visit, fillIn, typeIn } from '@ember/test-helpers'; diff --git a/ui/tests/acceptance/secrets/backend/engines-test.js b/ui/tests/acceptance/secrets/backend/engines-test.js index 2a5a0feba..217653aa7 100644 --- a/ui/tests/acceptance/secrets/backend/engines-test.js +++ b/ui/tests/acceptance/secrets/backend/engines-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentRouteName, settled } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/secrets/backend/gcpkms/secrets-test.js b/ui/tests/acceptance/secrets/backend/gcpkms/secrets-test.js index ff8eb0aaa..eaf9214a4 100644 --- a/ui/tests/acceptance/secrets/backend/gcpkms/secrets-test.js +++ b/ui/tests/acceptance/secrets/backend/gcpkms/secrets-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentRouteName, settled } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/secrets/backend/generic/secret-test.js b/ui/tests/acceptance/secrets/backend/generic/secret-test.js index 9a1a745a8..87a477377 100644 --- a/ui/tests/acceptance/secrets/backend/generic/secret-test.js +++ b/ui/tests/acceptance/secrets/backend/generic/secret-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentRouteName } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/secrets/backend/kubernetes/configuration-test.js b/ui/tests/acceptance/secrets/backend/kubernetes/configuration-test.js index e2ec651e6..781b97ee1 100644 --- a/ui/tests/acceptance/secrets/backend/kubernetes/configuration-test.js +++ b/ui/tests/acceptance/secrets/backend/kubernetes/configuration-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; import { setupMirage } from 'ember-cli-mirage/test-support'; diff --git a/ui/tests/acceptance/secrets/backend/kubernetes/credentials-test.js b/ui/tests/acceptance/secrets/backend/kubernetes/credentials-test.js index cf79ee5b9..05e9e1147 100644 --- a/ui/tests/acceptance/secrets/backend/kubernetes/credentials-test.js +++ b/ui/tests/acceptance/secrets/backend/kubernetes/credentials-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; import { setupMirage } from 'ember-cli-mirage/test-support'; diff --git a/ui/tests/acceptance/secrets/backend/kubernetes/overview-test.js b/ui/tests/acceptance/secrets/backend/kubernetes/overview-test.js index cfad67930..42e18ed87 100644 --- a/ui/tests/acceptance/secrets/backend/kubernetes/overview-test.js +++ b/ui/tests/acceptance/secrets/backend/kubernetes/overview-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; import { setupMirage } from 'ember-cli-mirage/test-support'; diff --git a/ui/tests/acceptance/secrets/backend/kubernetes/roles-test.js b/ui/tests/acceptance/secrets/backend/kubernetes/roles-test.js index ac50bfc84..efcba9fed 100644 --- a/ui/tests/acceptance/secrets/backend/kubernetes/roles-test.js +++ b/ui/tests/acceptance/secrets/backend/kubernetes/roles-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; import { setupMirage } from 'ember-cli-mirage/test-support'; diff --git a/ui/tests/acceptance/secrets/backend/kv/diff-test.js b/ui/tests/acceptance/secrets/backend/kv/diff-test.js index ee7212147..d5ba2e3aa 100644 --- a/ui/tests/acceptance/secrets/backend/kv/diff-test.js +++ b/ui/tests/acceptance/secrets/backend/kv/diff-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { click, settled, fillIn } from '@ember/test-helpers'; import { create } from 'ember-cli-page-object'; import { module, test } from 'qunit'; diff --git a/ui/tests/acceptance/secrets/backend/kv/secret-test.js b/ui/tests/acceptance/secrets/backend/kv/secret-test.js index 90c430d91..7bd262cc2 100644 --- a/ui/tests/acceptance/secrets/backend/kv/secret-test.js +++ b/ui/tests/acceptance/secrets/backend/kv/secret-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { click, visit, diff --git a/ui/tests/acceptance/secrets/backend/pki/cert-test.js b/ui/tests/acceptance/secrets/backend/pki/cert-test.js index 6a4828d98..a3372de21 100644 --- a/ui/tests/acceptance/secrets/backend/pki/cert-test.js +++ b/ui/tests/acceptance/secrets/backend/pki/cert-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentRouteName, currentURL, settled } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/secrets/backend/pki/list-test.js b/ui/tests/acceptance/secrets/backend/pki/list-test.js index 71e13c9d4..1c48f5534 100644 --- a/ui/tests/acceptance/secrets/backend/pki/list-test.js +++ b/ui/tests/acceptance/secrets/backend/pki/list-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { click, currentRouteName, settled } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/secrets/backend/pki/role-test.js b/ui/tests/acceptance/secrets/backend/pki/role-test.js index 400773862..f048cf0c3 100644 --- a/ui/tests/acceptance/secrets/backend/pki/role-test.js +++ b/ui/tests/acceptance/secrets/backend/pki/role-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentRouteName, settled, visit, waitUntil } from '@ember/test-helpers'; import { module, test, skip } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/secrets/backend/ssh/role-test.js b/ui/tests/acceptance/secrets/backend/ssh/role-test.js index a6c48f7f2..52c92890a 100644 --- a/ui/tests/acceptance/secrets/backend/ssh/role-test.js +++ b/ui/tests/acceptance/secrets/backend/ssh/role-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentRouteName, settled } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/settings-test.js b/ui/tests/acceptance/settings-test.js index 9fc5cbe28..b31e24b10 100644 --- a/ui/tests/acceptance/settings-test.js +++ b/ui/tests/acceptance/settings-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentURL, find, visit, settled } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/settings/auth/configure/index-test.js b/ui/tests/acceptance/settings/auth/configure/index-test.js index 728bb59e8..8c76df97b 100644 --- a/ui/tests/acceptance/settings/auth/configure/index-test.js +++ b/ui/tests/acceptance/settings/auth/configure/index-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentURL, currentRouteName } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/settings/auth/configure/section-test.js b/ui/tests/acceptance/settings/auth/configure/section-test.js index 0807bc8c0..f1baac4f0 100644 --- a/ui/tests/acceptance/settings/auth/configure/section-test.js +++ b/ui/tests/acceptance/settings/auth/configure/section-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; import { create } from 'ember-cli-page-object'; diff --git a/ui/tests/acceptance/settings/auth/enable-test.js b/ui/tests/acceptance/settings/auth/enable-test.js index 94169a2e5..899e9ebfd 100644 --- a/ui/tests/acceptance/settings/auth/enable-test.js +++ b/ui/tests/acceptance/settings/auth/enable-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentRouteName, settled } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/settings/configure-secret-backends/configure-ssh-secret-test.js b/ui/tests/acceptance/settings/configure-secret-backends/configure-ssh-secret-test.js index 5ab3d3801..449638cb8 100644 --- a/ui/tests/acceptance/settings/configure-secret-backends/configure-ssh-secret-test.js +++ b/ui/tests/acceptance/settings/configure-secret-backends/configure-ssh-secret-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { click, settled } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/settings/configure-secret-backends/pki/index-test.js b/ui/tests/acceptance/settings/configure-secret-backends/pki/index-test.js index 0453ca948..5133abe97 100644 --- a/ui/tests/acceptance/settings/configure-secret-backends/pki/index-test.js +++ b/ui/tests/acceptance/settings/configure-secret-backends/pki/index-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentRouteName, settled } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/settings/configure-secret-backends/pki/section-cert-test.js b/ui/tests/acceptance/settings/configure-secret-backends/pki/section-cert-test.js index d56932512..229b702bb 100644 --- a/ui/tests/acceptance/settings/configure-secret-backends/pki/section-cert-test.js +++ b/ui/tests/acceptance/settings/configure-secret-backends/pki/section-cert-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentRouteName, settled, click } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/settings/configure-secret-backends/pki/section-crl-test.js b/ui/tests/acceptance/settings/configure-secret-backends/pki/section-crl-test.js index ac0d131a7..df13f9aa2 100644 --- a/ui/tests/acceptance/settings/configure-secret-backends/pki/section-crl-test.js +++ b/ui/tests/acceptance/settings/configure-secret-backends/pki/section-crl-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentRouteName, settled } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/settings/configure-secret-backends/pki/section-tidy-test.js b/ui/tests/acceptance/settings/configure-secret-backends/pki/section-tidy-test.js index 858c4de6d..8112f62f1 100644 --- a/ui/tests/acceptance/settings/configure-secret-backends/pki/section-tidy-test.js +++ b/ui/tests/acceptance/settings/configure-secret-backends/pki/section-tidy-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentRouteName, settled } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/settings/configure-secret-backends/pki/section-urls-test.js b/ui/tests/acceptance/settings/configure-secret-backends/pki/section-urls-test.js index 3cfa5f59f..8adf87dbc 100644 --- a/ui/tests/acceptance/settings/configure-secret-backends/pki/section-urls-test.js +++ b/ui/tests/acceptance/settings/configure-secret-backends/pki/section-urls-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentRouteName, settled, find, waitUntil } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/settings/mount-secret-backend-test.js b/ui/tests/acceptance/settings/mount-secret-backend-test.js index cf8329e24..701499a61 100644 --- a/ui/tests/acceptance/settings/mount-secret-backend-test.js +++ b/ui/tests/acceptance/settings/mount-secret-backend-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { currentRouteName, currentURL, settled } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/ssh-test.js b/ui/tests/acceptance/ssh-test.js index a3a6270c5..fb093b652 100644 --- a/ui/tests/acceptance/ssh-test.js +++ b/ui/tests/acceptance/ssh-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { click, fillIn, findAll, currentURL, find, settled, waitUntil } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/tools-test.js b/ui/tests/acceptance/tools-test.js index 08289beb2..4f5e72145 100644 --- a/ui/tests/acceptance/tools-test.js +++ b/ui/tests/acceptance/tools-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { click, fillIn, find, findAll, currentURL, visit, settled, waitUntil } from '@ember/test-helpers'; import Pretender from 'pretender'; import { module, test } from 'qunit'; diff --git a/ui/tests/acceptance/transit-test.js b/ui/tests/acceptance/transit-test.js index 855d7f75f..22b811750 100644 --- a/ui/tests/acceptance/transit-test.js +++ b/ui/tests/acceptance/transit-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { click, fillIn, find, currentURL, settled, visit, waitUntil, findAll } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/unseal-test.js b/ui/tests/acceptance/unseal-test.js index 14e65e155..8663224ef 100644 --- a/ui/tests/acceptance/unseal-test.js +++ b/ui/tests/acceptance/unseal-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { click, currentRouteName, currentURL, fillIn, settled, visit } from '@ember/test-helpers'; import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; diff --git a/ui/tests/acceptance/wrapped-token-test.js b/ui/tests/acceptance/wrapped-token-test.js index 26df1941e..fe6b7f1cc 100644 --- a/ui/tests/acceptance/wrapped-token-test.js +++ b/ui/tests/acceptance/wrapped-token-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; import { settled, currentURL, visit } from '@ember/test-helpers'; diff --git a/ui/tests/helpers/clients.js b/ui/tests/helpers/clients.js index 5ce8aec17..811ea43bf 100644 --- a/ui/tests/helpers/clients.js +++ b/ui/tests/helpers/clients.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Response } from 'miragejs'; /** Scenarios diff --git a/ui/tests/helpers/codemirror.js b/ui/tests/helpers/codemirror.js index 1bfa141f7..0c01c77e3 100644 --- a/ui/tests/helpers/codemirror.js +++ b/ui/tests/helpers/codemirror.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + const invariant = (truthy, error) => { if (!truthy) throw new Error(error); }; diff --git a/ui/tests/helpers/components/ttl-picker.js b/ui/tests/helpers/components/ttl-picker.js index 5ab52efee..a6000227d 100644 --- a/ui/tests/helpers/components/ttl-picker.js +++ b/ui/tests/helpers/components/ttl-picker.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + const selectors = { ttlFormGroup: '[data-test-ttl-inputs]', toggle: '[data-test-ttl-toggle]', diff --git a/ui/tests/helpers/flash-message.js b/ui/tests/helpers/flash-message.js index 56646e876..f98432d4e 100644 --- a/ui/tests/helpers/flash-message.js +++ b/ui/tests/helpers/flash-message.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import FlashObject from 'ember-cli-flash/flash/object'; FlashObject.reopen({ init() {} }); diff --git a/ui/tests/helpers/index.js b/ui/tests/helpers/index.js index 7f70de80f..a223051d6 100644 --- a/ui/tests/helpers/index.js +++ b/ui/tests/helpers/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { setupApplicationTest as upstreamSetupApplicationTest, setupRenderingTest as upstreamSetupRenderingTest, diff --git a/ui/tests/helpers/kubernetes/overview.js b/ui/tests/helpers/kubernetes/overview.js index 859ba65ac..49b647b30 100644 --- a/ui/tests/helpers/kubernetes/overview.js +++ b/ui/tests/helpers/kubernetes/overview.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export const SELECTORS = { rolesCardTitle: '[data-test-selectable-card="Roles"] .title', rolesCardSubTitle: '[data-test-selectable-card-container="Roles"] p', diff --git a/ui/tests/helpers/mirage-to-models.js b/ui/tests/helpers/mirage-to-models.js index 23009a080..cf7576a49 100644 --- a/ui/tests/helpers/mirage-to-models.js +++ b/ui/tests/helpers/mirage-to-models.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { getContext } from '@ember/test-helpers'; export default (data) => { diff --git a/ui/tests/helpers/noop-all-api-requests.js b/ui/tests/helpers/noop-all-api-requests.js index 9cc33c0ac..fbf0dd278 100644 --- a/ui/tests/helpers/noop-all-api-requests.js +++ b/ui/tests/helpers/noop-all-api-requests.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Pretender from 'pretender'; import { noopStub } from './stubs'; diff --git a/ui/tests/helpers/oidc-config.js b/ui/tests/helpers/oidc-config.js index 5b6c94c6c..03ae0d2a2 100644 --- a/ui/tests/helpers/oidc-config.js +++ b/ui/tests/helpers/oidc-config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Response } from 'miragejs'; export const OIDC_BASE_URL = `/vault/access/oidc`; diff --git a/ui/tests/helpers/oidc-window-stub.js b/ui/tests/helpers/oidc-window-stub.js index f318da4cf..17d7fb07d 100644 --- a/ui/tests/helpers/oidc-window-stub.js +++ b/ui/tests/helpers/oidc-window-stub.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import EmberObject, { computed } from '@ember/object'; import Evented from '@ember/object/evented'; diff --git a/ui/tests/helpers/pki.js b/ui/tests/helpers/pki.js index f0aeac38b..c91dbaebd 100644 --- a/ui/tests/helpers/pki.js +++ b/ui/tests/helpers/pki.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export const SELECTORS = { caChain: '[data-test-value-div="CA chain"] [data-test-masked-input]', certificate: '[data-test-value-div="Certificate"] [data-test-masked-input]', diff --git a/ui/tests/helpers/pki/overview.js b/ui/tests/helpers/pki/overview.js index 10fcf8973..69931372b 100644 --- a/ui/tests/helpers/pki/overview.js +++ b/ui/tests/helpers/pki/overview.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export const SELECTORS = { issuersCardTitle: '[data-test-selectable-card-container="Issuers"] h3', issuersCardSubtitle: '[data-test-selectable-card-container="Issuers"] p', diff --git a/ui/tests/helpers/pki/page/pki-keys.js b/ui/tests/helpers/pki/page/pki-keys.js index 5b68acd3a..fbbd9c1f8 100644 --- a/ui/tests/helpers/pki/page/pki-keys.js +++ b/ui/tests/helpers/pki/page/pki-keys.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export const SELECTORS = { // key index importKey: '[data-test-pki-key-import]', diff --git a/ui/tests/helpers/pki/page/pki-role-details.js b/ui/tests/helpers/pki/page/pki-role-details.js index 248ae7531..88f5b48dc 100644 --- a/ui/tests/helpers/pki/page/pki-role-details.js +++ b/ui/tests/helpers/pki/page/pki-role-details.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export const SELECTORS = { issuerLabel: '[data-test-row-label="Issuer"]', noStoreValue: '[data-test-value-div="Store in storage backend"]', diff --git a/ui/tests/helpers/pki/pki-configure-form.js b/ui/tests/helpers/pki/pki-configure-form.js index 65d124be7..ccdfdfe4a 100644 --- a/ui/tests/helpers/pki/pki-configure-form.js +++ b/ui/tests/helpers/pki/pki-configure-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { SELECTORS as GENERATE_ROOT } from './pki-generate-root'; export const SELECTORS = { diff --git a/ui/tests/helpers/pki/pki-generate-root.js b/ui/tests/helpers/pki/pki-generate-root.js index f8adcf40e..fd15d27ac 100644 --- a/ui/tests/helpers/pki/pki-generate-root.js +++ b/ui/tests/helpers/pki/pki-generate-root.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export const SELECTORS = { mainSectionTitle: '[data-test-generate-root-title="Root parameters"]', urlSectionTitle: '[data-test-generate-root-title="Issuer URLs"]', diff --git a/ui/tests/helpers/pki/pki-issuer-details.js b/ui/tests/helpers/pki/pki-issuer-details.js index a71c45524..1e1f06e74 100644 --- a/ui/tests/helpers/pki/pki-issuer-details.js +++ b/ui/tests/helpers/pki/pki-issuer-details.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export const SELECTORS = { defaultGroup: '[data-test-details-group="default"]', urlsGroup: '[data-test-details-group="Issuer URLs"]', diff --git a/ui/tests/helpers/pki/pki-key-form.js b/ui/tests/helpers/pki/pki-key-form.js index b0dff25a6..71ecd80af 100644 --- a/ui/tests/helpers/pki/pki-key-form.js +++ b/ui/tests/helpers/pki/pki-key-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export const SELECTORS = { keyCreateButton: '[data-test-pki-key-save]', keyCancelButton: '[data-test-pki-key-cancel]', diff --git a/ui/tests/helpers/pki/pki-not-valid-after-form.js b/ui/tests/helpers/pki/pki-not-valid-after-form.js index 2e8036e87..6a22272f7 100644 --- a/ui/tests/helpers/pki/pki-not-valid-after-form.js +++ b/ui/tests/helpers/pki/pki-not-valid-after-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export const SELECTORS = { radioTtl: '[data-test-radio-button="ttl"]', radioTtlLabel: '[data-test-radio-label="ttl"]', diff --git a/ui/tests/helpers/pki/pki-role-form.js b/ui/tests/helpers/pki/pki-role-form.js index 9f361ea55..145f5f05b 100644 --- a/ui/tests/helpers/pki/pki-role-form.js +++ b/ui/tests/helpers/pki/pki-role-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export const PKI_BASE_URL = `/vault/cluster/secrets/backend/pki/roles`; export const SELECTORS = { diff --git a/ui/tests/helpers/pki/pki-role-generate.js b/ui/tests/helpers/pki/pki-role-generate.js index 7db8a7f63..e7af1b2eb 100644 --- a/ui/tests/helpers/pki/pki-role-generate.js +++ b/ui/tests/helpers/pki/pki-role-generate.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export const SELECTORS = { form: '[data-test-pki-generate-cert-form]', commonNameField: '[data-test-input="commonName"]', diff --git a/ui/tests/helpers/pki/pki-run-commands.js b/ui/tests/helpers/pki/pki-run-commands.js index 3dd8cd8d8..c99748d62 100644 --- a/ui/tests/helpers/pki/pki-run-commands.js +++ b/ui/tests/helpers/pki/pki-run-commands.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import consoleClass from 'vault/tests/pages/components/console/ui-panel'; import { create } from 'ember-cli-page-object'; diff --git a/ui/tests/helpers/pki/values.js b/ui/tests/helpers/pki/values.js index bc4c19fb9..939de6b8e 100644 --- a/ui/tests/helpers/pki/values.js +++ b/ui/tests/helpers/pki/values.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // Expires Jan 10, 2033 export const rootPem = `-----BEGIN CERTIFICATE----- MIIDezCCAmOgAwIBAgIUTBbQcZijQsmd0rjd6COikPsrGyowDQYJKoZIhvcNAQEL diff --git a/ui/tests/helpers/pki/workflow.js b/ui/tests/helpers/pki/workflow.js index e9fb6f9e8..aa9ba85e4 100644 --- a/ui/tests/helpers/pki/workflow.js +++ b/ui/tests/helpers/pki/workflow.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { SELECTORS as ROLEFORM } from './pki-role-form'; import { SELECTORS as GENERATECERT } from './pki-role-generate'; import { SELECTORS as KEYFORM } from './pki-key-form'; diff --git a/ui/tests/helpers/policy-generator/pki.js b/ui/tests/helpers/policy-generator/pki.js index 1fdb459e9..f1630b57d 100644 --- a/ui/tests/helpers/policy-generator/pki.js +++ b/ui/tests/helpers/policy-generator/pki.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { singularize } from 'ember-inflector'; export const adminPolicy = (mountPath) => { diff --git a/ui/tests/helpers/poll-cluster.js b/ui/tests/helpers/poll-cluster.js index 01b7cf7ec..a4bb708c1 100644 --- a/ui/tests/helpers/poll-cluster.js +++ b/ui/tests/helpers/poll-cluster.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { settled } from '@ember/test-helpers'; export async function pollCluster(owner) { diff --git a/ui/tests/helpers/stubs.js b/ui/tests/helpers/stubs.js index a3dccfb46..ece48eddf 100644 --- a/ui/tests/helpers/stubs.js +++ b/ui/tests/helpers/stubs.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export function capabilitiesStub(requestPath, capabilitiesArray) { // sample of capabilitiesArray: ['read', 'update'] return { diff --git a/ui/tests/helpers/wait-for-error.js b/ui/tests/helpers/wait-for-error.js index 7be1c5775..5ebda46f0 100644 --- a/ui/tests/helpers/wait-for-error.js +++ b/ui/tests/helpers/wait-for-error.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { waitUntil } from '@ember/test-helpers'; import Ember from 'ember'; diff --git a/ui/tests/index.html b/ui/tests/index.html index 250561e7c..b8c5799e9 100644 --- a/ui/tests/index.html +++ b/ui/tests/index.html @@ -1,4 +1,9 @@ + + diff --git a/ui/tests/integration/components/alert-inline-test.js b/ui/tests/integration/components/alert-inline-test.js index 334c5f8ad..c0aad2443 100644 --- a/ui/tests/integration/components/alert-inline-test.js +++ b/ui/tests/integration/components/alert-inline-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, settled, find, waitUntil } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/auth-config-form/options-test.js b/ui/tests/integration/components/auth-config-form/options-test.js index 36a9b6f9c..24ddaf6e9 100644 --- a/ui/tests/integration/components/auth-config-form/options-test.js +++ b/ui/tests/integration/components/auth-config-form/options-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { resolve } from 'rsvp'; import EmberObject from '@ember/object'; import { module, test } from 'qunit'; diff --git a/ui/tests/integration/components/auth-form-test.js b/ui/tests/integration/components/auth-form-test.js index af5df8b78..b8cd73df3 100644 --- a/ui/tests/integration/components/auth-form-test.js +++ b/ui/tests/integration/components/auth-form-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { later, _cancelTimers as cancelTimers } from '@ember/runloop'; import EmberObject from '@ember/object'; import { resolve } from 'rsvp'; diff --git a/ui/tests/integration/components/auth-jwt-test.js b/ui/tests/integration/components/auth-jwt-test.js index fb4e1891a..6c114d907 100644 --- a/ui/tests/integration/components/auth-jwt-test.js +++ b/ui/tests/integration/components/auth-jwt-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { _cancelTimers as cancelTimers } from '@ember/runloop'; import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; diff --git a/ui/tests/integration/components/autocomplete-input-test.js b/ui/tests/integration/components/autocomplete-input-test.js index 71399067c..051dd1732 100644 --- a/ui/tests/integration/components/autocomplete-input-test.js +++ b/ui/tests/integration/components/autocomplete-input-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { click, fillIn, triggerEvent, typeIn, render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/b64-toggle-test.js b/ui/tests/integration/components/b64-toggle-test.js index b494de57a..6a9a6f81d 100644 --- a/ui/tests/integration/components/b64-toggle-test.js +++ b/ui/tests/integration/components/b64-toggle-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click, find } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/box-radio-test.js b/ui/tests/integration/components/box-radio-test.js index 2ea8656a3..9cf26bb36 100644 --- a/ui/tests/integration/components/box-radio-test.js +++ b/ui/tests/integration/components/box-radio-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import sinon from 'sinon'; diff --git a/ui/tests/integration/components/calendar-widget-test.js b/ui/tests/integration/components/calendar-widget-test.js index f0187bf9b..8869feeb4 100644 --- a/ui/tests/integration/components/calendar-widget-test.js +++ b/ui/tests/integration/components/calendar-widget-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click, findAll, find } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/checkbox-grid-test.js b/ui/tests/integration/components/checkbox-grid-test.js index b1fb756b4..d31b7eb95 100644 --- a/ui/tests/integration/components/checkbox-grid-test.js +++ b/ui/tests/integration/components/checkbox-grid-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/chevron-test.js b/ui/tests/integration/components/chevron-test.js index e16d0049a..e654f85f6 100644 --- a/ui/tests/integration/components/chevron-test.js +++ b/ui/tests/integration/components/chevron-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/clients/attribution-test.js b/ui/tests/integration/components/clients/attribution-test.js index 7edf87a76..40cde9585 100644 --- a/ui/tests/integration/components/clients/attribution-test.js +++ b/ui/tests/integration/components/clients/attribution-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/clients/config-test.js b/ui/tests/integration/components/clients/config-test.js index c82b08353..9f69f3804 100644 --- a/ui/tests/integration/components/clients/config-test.js +++ b/ui/tests/integration/components/clients/config-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, find, click } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/clients/horizontal-bar-chart-test.js b/ui/tests/integration/components/clients/horizontal-bar-chart-test.js index 8f726b84e..31f1c4da7 100644 --- a/ui/tests/integration/components/clients/horizontal-bar-chart-test.js +++ b/ui/tests/integration/components/clients/horizontal-bar-chart-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { findAll, render, triggerEvent } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/clients/line-chart-test.js b/ui/tests/integration/components/clients/line-chart-test.js index 930b24367..f72ace1dc 100644 --- a/ui/tests/integration/components/clients/line-chart-test.js +++ b/ui/tests/integration/components/clients/line-chart-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { find, render, findAll, triggerEvent } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/clients/monthly-usage-test.js b/ui/tests/integration/components/clients/monthly-usage-test.js index f20bb8463..8d5c52a12 100644 --- a/ui/tests/integration/components/clients/monthly-usage-test.js +++ b/ui/tests/integration/components/clients/monthly-usage-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/clients/running-total-test.js b/ui/tests/integration/components/clients/running-total-test.js index 04700e0d8..e2845ecf2 100644 --- a/ui/tests/integration/components/clients/running-total-test.js +++ b/ui/tests/integration/components/clients/running-total-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/clients/usage-stats-test.js b/ui/tests/integration/components/clients/usage-stats-test.js index c0b1043f5..f77697523 100644 --- a/ui/tests/integration/components/clients/usage-stats-test.js +++ b/ui/tests/integration/components/clients/usage-stats-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/clients/vertical-bar-chart-test.js b/ui/tests/integration/components/clients/vertical-bar-chart-test.js index 58831c872..2300b91b1 100644 --- a/ui/tests/integration/components/clients/vertical-bar-chart-test.js +++ b/ui/tests/integration/components/clients/vertical-bar-chart-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, findAll, find, triggerEvent } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/confirm-action-test.js b/ui/tests/integration/components/confirm-action-test.js index c665e6ae1..9b30c3326 100644 --- a/ui/tests/integration/components/confirm-action-test.js +++ b/ui/tests/integration/components/confirm-action-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/confirm-test.js b/ui/tests/integration/components/confirm-test.js index 3a814abb5..f172f5b46 100644 --- a/ui/tests/integration/components/confirm-test.js +++ b/ui/tests/integration/components/confirm-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/confirmation-modal-test.js b/ui/tests/integration/components/confirmation-modal-test.js index 47e90ea89..76d79e189 100644 --- a/ui/tests/integration/components/confirmation-modal-test.js +++ b/ui/tests/integration/components/confirmation-modal-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import sinon from 'sinon'; diff --git a/ui/tests/integration/components/console/log-command-test.js b/ui/tests/integration/components/console/log-command-test.js index f448dde8c..f13f8b676 100644 --- a/ui/tests/integration/components/console/log-command-test.js +++ b/ui/tests/integration/components/console/log-command-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/console/log-error-test.js b/ui/tests/integration/components/console/log-error-test.js index c62dc23a9..36c65be76 100644 --- a/ui/tests/integration/components/console/log-error-test.js +++ b/ui/tests/integration/components/console/log-error-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/console/log-json-test.js b/ui/tests/integration/components/console/log-json-test.js index 4d2911bf5..e759c079a 100644 --- a/ui/tests/integration/components/console/log-json-test.js +++ b/ui/tests/integration/components/console/log-json-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, find } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/console/log-list-test.js b/ui/tests/integration/components/console/log-list-test.js index 678019254..e47ac1322 100644 --- a/ui/tests/integration/components/console/log-list-test.js +++ b/ui/tests/integration/components/console/log-list-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/console/log-object-test.js b/ui/tests/integration/components/console/log-object-test.js index b88095791..b36431172 100644 --- a/ui/tests/integration/components/console/log-object-test.js +++ b/ui/tests/integration/components/console/log-object-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/console/log-text-test.js b/ui/tests/integration/components/console/log-text-test.js index c860094f2..c27bdc460 100644 --- a/ui/tests/integration/components/console/log-text-test.js +++ b/ui/tests/integration/components/console/log-text-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/console/ui-panel-test.js b/ui/tests/integration/components/console/ui-panel-test.js index 2b218355e..d64f12d68 100644 --- a/ui/tests/integration/components/console/ui-panel-test.js +++ b/ui/tests/integration/components/console/ui-panel-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, settled } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/control-group-success-test.js b/ui/tests/integration/components/control-group-success-test.js index c46cd16d7..857c91206 100644 --- a/ui/tests/integration/components/control-group-success-test.js +++ b/ui/tests/integration/components/control-group-success-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { later, run, _cancelTimers as cancelTimers } from '@ember/runloop'; import { resolve } from 'rsvp'; import Service from '@ember/service'; diff --git a/ui/tests/integration/components/control-group-test.js b/ui/tests/integration/components/control-group-test.js index b9f4f8a60..49a0b1749 100644 --- a/ui/tests/integration/components/control-group-test.js +++ b/ui/tests/integration/components/control-group-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Service from '@ember/service'; import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; diff --git a/ui/tests/integration/components/database-role-edit-test.js b/ui/tests/integration/components/database-role-edit-test.js index 15304619f..d0e9a431c 100644 --- a/ui/tests/integration/components/database-role-edit-test.js +++ b/ui/tests/integration/components/database-role-edit-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/database-role-setting-form-test.js b/ui/tests/integration/components/database-role-setting-form-test.js index 139448fa2..39bfbb94c 100644 --- a/ui/tests/integration/components/database-role-setting-form-test.js +++ b/ui/tests/integration/components/database-role-setting-form-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import EmberObject from '@ember/object'; import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; diff --git a/ui/tests/integration/components/date-dropdown-test.js b/ui/tests/integration/components/date-dropdown-test.js index 7ab6c81ff..059d8c2bd 100644 --- a/ui/tests/integration/components/date-dropdown-test.js +++ b/ui/tests/integration/components/date-dropdown-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { click, find, findAll, render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/diff-version-selector-test.js b/ui/tests/integration/components/diff-version-selector-test.js index 6145b3cf9..3ecce5972 100644 --- a/ui/tests/integration/components/diff-version-selector-test.js +++ b/ui/tests/integration/components/diff-version-selector-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import EmberObject from '@ember/object'; import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; diff --git a/ui/tests/integration/components/edit-form-kmip-role-test.js b/ui/tests/integration/components/edit-form-kmip-role-test.js index 9fc988518..f92ba4f68 100644 --- a/ui/tests/integration/components/edit-form-kmip-role-test.js +++ b/ui/tests/integration/components/edit-form-kmip-role-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { later, run, _cancelTimers as cancelTimers } from '@ember/runloop'; import { resolve } from 'rsvp'; import EmberObject, { computed } from '@ember/object'; diff --git a/ui/tests/integration/components/edit-form-test.js b/ui/tests/integration/components/edit-form-test.js index 0dd87ac18..6e54781b2 100644 --- a/ui/tests/integration/components/edit-form-test.js +++ b/ui/tests/integration/components/edit-form-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { later, run, _cancelTimers as cancelTimers } from '@ember/runloop'; import { resolve } from 'rsvp'; import EmberObject from '@ember/object'; diff --git a/ui/tests/integration/components/empty-state-test.js b/ui/tests/integration/components/empty-state-test.js index 537890a6c..e3cef83dd 100644 --- a/ui/tests/integration/components/empty-state-test.js +++ b/ui/tests/integration/components/empty-state-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/features-selection-test.js b/ui/tests/integration/components/features-selection-test.js index e91b9734a..8cc67cccb 100644 --- a/ui/tests/integration/components/features-selection-test.js +++ b/ui/tests/integration/components/features-selection-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/form-error-test.js b/ui/tests/integration/components/form-error-test.js index 3a7d1db08..c847c3f43 100644 --- a/ui/tests/integration/components/form-error-test.js +++ b/ui/tests/integration/components/form-error-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/form-field-label-test.js b/ui/tests/integration/components/form-field-label-test.js index 0598dc843..3b45c165d 100644 --- a/ui/tests/integration/components/form-field-label-test.js +++ b/ui/tests/integration/components/form-field-label-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/form-field-test.js b/ui/tests/integration/components/form-field-test.js index af367d609..68e765140 100644 --- a/ui/tests/integration/components/form-field-test.js +++ b/ui/tests/integration/components/form-field-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import EmberObject from '@ember/object'; import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; diff --git a/ui/tests/integration/components/get-credentials-card-test.js b/ui/tests/integration/components/get-credentials-card-test.js index 23c07cd54..61d1e4b7a 100644 --- a/ui/tests/integration/components/get-credentials-card-test.js +++ b/ui/tests/integration/components/get-credentials-card-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import Service from '@ember/service'; diff --git a/ui/tests/integration/components/hover-copy-button-test.js b/ui/tests/integration/components/hover-copy-button-test.js index 1d6d74690..568fd813b 100644 --- a/ui/tests/integration/components/hover-copy-button-test.js +++ b/ui/tests/integration/components/hover-copy-button-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, settled } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/icon-test.js b/ui/tests/integration/components/icon-test.js index 6b70ab4bf..ccb58a1c7 100644 --- a/ui/tests/integration/components/icon-test.js +++ b/ui/tests/integration/components/icon-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/identity/item-details-test.js b/ui/tests/integration/components/identity/item-details-test.js index cef93efd7..5ddaef99d 100644 --- a/ui/tests/integration/components/identity/item-details-test.js +++ b/ui/tests/integration/components/identity/item-details-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { resolve } from 'rsvp'; import EmberObject from '@ember/object'; import { module, test } from 'qunit'; diff --git a/ui/tests/integration/components/info-table-item-array-test.js b/ui/tests/integration/components/info-table-item-array-test.js index ab2fc4bdb..9e7c35478 100644 --- a/ui/tests/integration/components/info-table-item-array-test.js +++ b/ui/tests/integration/components/info-table-item-array-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import Service from '@ember/service'; import { setupRenderingTest } from 'ember-qunit'; diff --git a/ui/tests/integration/components/info-table-row-test.js b/ui/tests/integration/components/info-table-row-test.js index 598a2a508..1cf8b102e 100644 --- a/ui/tests/integration/components/info-table-row-test.js +++ b/ui/tests/integration/components/info-table-row-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { resolve } from 'rsvp'; import Service from '@ember/service'; diff --git a/ui/tests/integration/components/info-table-test.js b/ui/tests/integration/components/info-table-test.js index 9399d780c..54cdb3b2c 100644 --- a/ui/tests/integration/components/info-table-test.js +++ b/ui/tests/integration/components/info-table-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/json-editor-test.js b/ui/tests/integration/components/json-editor-test.js index 97713e361..582e700b6 100644 --- a/ui/tests/integration/components/json-editor-test.js +++ b/ui/tests/integration/components/json-editor-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { create } from 'ember-cli-page-object'; diff --git a/ui/tests/integration/components/keymgmt/distribute-test.js b/ui/tests/integration/components/keymgmt/distribute-test.js index aa62c0886..5e193c3dc 100644 --- a/ui/tests/integration/components/keymgmt/distribute-test.js +++ b/ui/tests/integration/components/keymgmt/distribute-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import Pretender from 'pretender'; diff --git a/ui/tests/integration/components/keymgmt/key-edit-test.js b/ui/tests/integration/components/keymgmt/key-edit-test.js index 8972897e9..e72973ab8 100644 --- a/ui/tests/integration/components/keymgmt/key-edit-test.js +++ b/ui/tests/integration/components/keymgmt/key-edit-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import EmberObject from '@ember/object'; import { setupRenderingTest } from 'ember-qunit'; diff --git a/ui/tests/integration/components/keymgmt/provider-edit-test.js b/ui/tests/integration/components/keymgmt/provider-edit-test.js index 285008d9c..1a420730f 100644 --- a/ui/tests/integration/components/keymgmt/provider-edit-test.js +++ b/ui/tests/integration/components/keymgmt/provider-edit-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/known-secondaries-card-test.js b/ui/tests/integration/components/known-secondaries-card-test.js index 2dc68a8eb..ef6353636 100644 --- a/ui/tests/integration/components/known-secondaries-card-test.js +++ b/ui/tests/integration/components/known-secondaries-card-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/known-secondaries-table-test.js b/ui/tests/integration/components/known-secondaries-table-test.js index cc5210af6..da6dbd77f 100644 --- a/ui/tests/integration/components/known-secondaries-table-test.js +++ b/ui/tests/integration/components/known-secondaries-table-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint qunit/no-conditional-assertions: "warn" */ import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; diff --git a/ui/tests/integration/components/kubernetes/config-cta-test.js b/ui/tests/integration/components/kubernetes/config-cta-test.js index cbd9161aa..9ce85853c 100644 --- a/ui/tests/integration/components/kubernetes/config-cta-test.js +++ b/ui/tests/integration/components/kubernetes/config-cta-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { setupEngine } from 'ember-engines/test-support'; diff --git a/ui/tests/integration/components/kubernetes/page/configuration-test.js b/ui/tests/integration/components/kubernetes/page/configuration-test.js index b76dcbb52..25cd99d57 100644 --- a/ui/tests/integration/components/kubernetes/page/configuration-test.js +++ b/ui/tests/integration/components/kubernetes/page/configuration-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { setupEngine } from 'ember-engines/test-support'; diff --git a/ui/tests/integration/components/kubernetes/page/configure-test.js b/ui/tests/integration/components/kubernetes/page/configure-test.js index 439907e7f..419acbe68 100644 --- a/ui/tests/integration/components/kubernetes/page/configure-test.js +++ b/ui/tests/integration/components/kubernetes/page/configure-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { setupEngine } from 'ember-engines/test-support'; diff --git a/ui/tests/integration/components/kubernetes/page/credentials-test.js b/ui/tests/integration/components/kubernetes/page/credentials-test.js index 19f38cb4a..916d01d25 100644 --- a/ui/tests/integration/components/kubernetes/page/credentials-test.js +++ b/ui/tests/integration/components/kubernetes/page/credentials-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { setupEngine } from 'ember-engines/test-support'; diff --git a/ui/tests/integration/components/kubernetes/page/overview-test.js b/ui/tests/integration/components/kubernetes/page/overview-test.js index 202493efa..d9a7ea5d7 100644 --- a/ui/tests/integration/components/kubernetes/page/overview-test.js +++ b/ui/tests/integration/components/kubernetes/page/overview-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { setupEngine } from 'ember-engines/test-support'; diff --git a/ui/tests/integration/components/kubernetes/page/role/create-and-edit-test.js b/ui/tests/integration/components/kubernetes/page/role/create-and-edit-test.js index 6bf0f99a5..a3de5a95b 100644 --- a/ui/tests/integration/components/kubernetes/page/role/create-and-edit-test.js +++ b/ui/tests/integration/components/kubernetes/page/role/create-and-edit-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { setupEngine } from 'ember-engines/test-support'; diff --git a/ui/tests/integration/components/kubernetes/page/role/details-test.js b/ui/tests/integration/components/kubernetes/page/role/details-test.js index 97ac50c12..0c13d9e68 100644 --- a/ui/tests/integration/components/kubernetes/page/role/details-test.js +++ b/ui/tests/integration/components/kubernetes/page/role/details-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { setupEngine } from 'ember-engines/test-support'; diff --git a/ui/tests/integration/components/kubernetes/page/roles-test.js b/ui/tests/integration/components/kubernetes/page/roles-test.js index f65995bee..642acd0c1 100644 --- a/ui/tests/integration/components/kubernetes/page/roles-test.js +++ b/ui/tests/integration/components/kubernetes/page/roles-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { setupEngine } from 'ember-engines/test-support'; diff --git a/ui/tests/integration/components/kubernetes/tab-page-header-test.js b/ui/tests/integration/components/kubernetes/tab-page-header-test.js index beb90057b..59cee15b6 100644 --- a/ui/tests/integration/components/kubernetes/tab-page-header-test.js +++ b/ui/tests/integration/components/kubernetes/tab-page-header-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { setupEngine } from 'ember-engines/test-support'; diff --git a/ui/tests/integration/components/kv-object-editor-test.js b/ui/tests/integration/components/kv-object-editor-test.js index 60f5471c6..3220acd5d 100644 --- a/ui/tests/integration/components/kv-object-editor-test.js +++ b/ui/tests/integration/components/kv-object-editor-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/license-banners-test.js b/ui/tests/integration/components/license-banners-test.js index d2159a761..f61aedc9f 100644 --- a/ui/tests/integration/components/license-banners-test.js +++ b/ui/tests/integration/components/license-banners-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/license-info-test.js b/ui/tests/integration/components/license-info-test.js index 4ca80e4c7..737ea1024 100644 --- a/ui/tests/integration/components/license-info-test.js +++ b/ui/tests/integration/components/license-info-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { addMinutes } from 'date-fns'; import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; diff --git a/ui/tests/integration/components/link-status-test.js b/ui/tests/integration/components/link-status-test.js index ca262e4a8..864c979ac 100644 --- a/ui/tests/integration/components/link-status-test.js +++ b/ui/tests/integration/components/link-status-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { click, render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/linkable-item-test.js b/ui/tests/integration/components/linkable-item-test.js index 67e68061c..1b376da1a 100644 --- a/ui/tests/integration/components/linkable-item-test.js +++ b/ui/tests/integration/components/linkable-item-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/masked-input-test.js b/ui/tests/integration/components/masked-input-test.js index 74507a12b..933f36c66 100644 --- a/ui/tests/integration/components/masked-input-test.js +++ b/ui/tests/integration/components/masked-input-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, focus, triggerKeyEvent } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/mfa-form-test.js b/ui/tests/integration/components/mfa-form-test.js index 11f9feb55..876678def 100644 --- a/ui/tests/integration/components/mfa-form-test.js +++ b/ui/tests/integration/components/mfa-form-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/mfa-login-enforcement-form-test.js b/ui/tests/integration/components/mfa-login-enforcement-form-test.js index 424f51ddb..1836b036d 100644 --- a/ui/tests/integration/components/mfa-login-enforcement-form-test.js +++ b/ui/tests/integration/components/mfa-login-enforcement-form-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click, fillIn } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/mfa-login-enforcement-header-test.js b/ui/tests/integration/components/mfa-login-enforcement-header-test.js index c26709160..cb3568967 100644 --- a/ui/tests/integration/components/mfa-login-enforcement-header-test.js +++ b/ui/tests/integration/components/mfa-login-enforcement-header-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/mfa-method-list-item-test.js b/ui/tests/integration/components/mfa-method-list-item-test.js index 7f9c6f8c1..14d58db61 100644 --- a/ui/tests/integration/components/mfa-method-list-item-test.js +++ b/ui/tests/integration/components/mfa-method-list-item-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, skip } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/mfa/method-form-test.js b/ui/tests/integration/components/mfa/method-form-test.js index 0ffb4823e..b72759fdf 100644 --- a/ui/tests/integration/components/mfa/method-form-test.js +++ b/ui/tests/integration/components/mfa/method-form-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, fillIn, click } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/modal-test.js b/ui/tests/integration/components/modal-test.js index cefb22b41..fa817b884 100644 --- a/ui/tests/integration/components/modal-test.js +++ b/ui/tests/integration/components/modal-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import sinon from 'sinon'; diff --git a/ui/tests/integration/components/mount-accessor-select-test.js b/ui/tests/integration/components/mount-accessor-select-test.js index da93cb928..40af68fe5 100644 --- a/ui/tests/integration/components/mount-accessor-select-test.js +++ b/ui/tests/integration/components/mount-accessor-select-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click, fillIn } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/mount-backend-form-test.js b/ui/tests/integration/components/mount-backend-form-test.js index 5fdc73574..f26c584bf 100644 --- a/ui/tests/integration/components/mount-backend-form-test.js +++ b/ui/tests/integration/components/mount-backend-form-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { later, _cancelTimers as cancelTimers } from '@ember/runloop'; import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; diff --git a/ui/tests/integration/components/mount-backend/type-form-test.js b/ui/tests/integration/components/mount-backend/type-form-test.js index 74f751bb5..ffccc7e6b 100644 --- a/ui/tests/integration/components/mount-backend/type-form-test.js +++ b/ui/tests/integration/components/mount-backend/type-form-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'vault/tests/helpers'; import { click, render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/nav-header-test.js b/ui/tests/integration/components/nav-header-test.js index 6ed894b33..5bb249bf5 100644 --- a/ui/tests/integration/components/nav-header-test.js +++ b/ui/tests/integration/components/nav-header-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/object-list-input-test.js b/ui/tests/integration/components/object-list-input-test.js index c5d15011a..0dc29bd0c 100644 --- a/ui/tests/integration/components/object-list-input-test.js +++ b/ui/tests/integration/components/object-list-input-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'vault/tests/helpers'; import { click, fillIn, render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/oidc-consent-block-test.js b/ui/tests/integration/components/oidc-consent-block-test.js index 4fbbe4c74..a12d401c3 100644 --- a/ui/tests/integration/components/oidc-consent-block-test.js +++ b/ui/tests/integration/components/oidc-consent-block-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/oidc/assignment-form-test.js b/ui/tests/integration/components/oidc/assignment-form-test.js index 8634998b6..0ea0ea0b5 100644 --- a/ui/tests/integration/components/oidc/assignment-form-test.js +++ b/ui/tests/integration/components/oidc/assignment-form-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, fillIn, click, findAll } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/oidc/client-form-test.js b/ui/tests/integration/components/oidc/client-form-test.js index 99e01157d..8723cd8fc 100644 --- a/ui/tests/integration/components/oidc/client-form-test.js +++ b/ui/tests/integration/components/oidc/client-form-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, fillIn, click, findAll } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/oidc/key-form-test.js b/ui/tests/integration/components/oidc/key-form-test.js index d505e58b7..20d31ee37 100644 --- a/ui/tests/integration/components/oidc/key-form-test.js +++ b/ui/tests/integration/components/oidc/key-form-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, fillIn, click, findAll } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/oidc/provider-form-test.js b/ui/tests/integration/components/oidc/provider-form-test.js index de4a8798a..b2f5efd18 100644 --- a/ui/tests/integration/components/oidc/provider-form-test.js +++ b/ui/tests/integration/components/oidc/provider-form-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, fillIn, click, findAll } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/oidc/scope-form-test.js b/ui/tests/integration/components/oidc/scope-form-test.js index b26f8815e..bdc5d27c8 100644 --- a/ui/tests/integration/components/oidc/scope-form-test.js +++ b/ui/tests/integration/components/oidc/scope-form-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, fillIn, click, findAll } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/okta-number-challenge-test.js b/ui/tests/integration/components/okta-number-challenge-test.js index a11596050..341f3796a 100644 --- a/ui/tests/integration/components/okta-number-challenge-test.js +++ b/ui/tests/integration/components/okta-number-challenge-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/overview-card-test.js b/ui/tests/integration/components/overview-card-test.js index ef4eb4b8f..09cb2b7c7 100644 --- a/ui/tests/integration/components/overview-card-test.js +++ b/ui/tests/integration/components/overview-card-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/page/breadcrumbs-test.js b/ui/tests/integration/components/page/breadcrumbs-test.js index 4d3bcaf76..9b817bcc0 100644 --- a/ui/tests/integration/components/page/breadcrumbs-test.js +++ b/ui/tests/integration/components/page/breadcrumbs-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint-disable ember/no-private-routing-service */ import { module, test } from 'qunit'; import { setupRenderingTest } from 'vault/tests/helpers'; diff --git a/ui/tests/integration/components/page/error-test.js b/ui/tests/integration/components/page/error-test.js index a677a2ddd..062180948 100644 --- a/ui/tests/integration/components/page/error-test.js +++ b/ui/tests/integration/components/page/error-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'vault/tests/helpers'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/pagination-controls-test.js b/ui/tests/integration/components/pagination-controls-test.js index 10ea3eaba..0535b2a74 100644 --- a/ui/tests/integration/components/pagination-controls-test.js +++ b/ui/tests/integration/components/pagination-controls-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/path-filter-config-list-test.js b/ui/tests/integration/components/path-filter-config-list-test.js index 5a7f7371b..f3384ecd7 100644 --- a/ui/tests/integration/components/path-filter-config-list-test.js +++ b/ui/tests/integration/components/path-filter-config-list-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click, findAll } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/pgp-file-test.js b/ui/tests/integration/components/pgp-file-test.js index a4c4f605e..f50233246 100644 --- a/ui/tests/integration/components/pgp-file-test.js +++ b/ui/tests/integration/components/pgp-file-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click, fillIn, triggerEvent, waitUntil } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/pgp-list-test.js b/ui/tests/integration/components/pgp-list-test.js index 8870b5a0f..7828677e0 100644 --- a/ui/tests/integration/components/pgp-list-test.js +++ b/ui/tests/integration/components/pgp-list-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, triggerEvent, waitUntil } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/pki/config-pki-ca-test.js b/ui/tests/integration/components/pki/config-pki-ca-test.js index dc3fa6587..7f67aaa50 100644 --- a/ui/tests/integration/components/pki/config-pki-ca-test.js +++ b/ui/tests/integration/components/pki/config-pki-ca-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { resolve } from 'rsvp'; import EmberObject from '@ember/object'; import Service from '@ember/service'; diff --git a/ui/tests/integration/components/pki/config-pki-test.js b/ui/tests/integration/components/pki/config-pki-test.js index 7d0e9adc4..84f93b52b 100644 --- a/ui/tests/integration/components/pki/config-pki-test.js +++ b/ui/tests/integration/components/pki/config-pki-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { resolve } from 'rsvp'; import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; diff --git a/ui/tests/integration/components/pki/page/pki-certificate-details-test.js b/ui/tests/integration/components/pki/page/pki-certificate-details-test.js index 4bde1237b..c051970ac 100644 --- a/ui/tests/integration/components/pki/page/pki-certificate-details-test.js +++ b/ui/tests/integration/components/pki/page/pki-certificate-details-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { click, render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/pki/page/pki-issuer-edit-test.js b/ui/tests/integration/components/pki/page/pki-issuer-edit-test.js index 07969bab3..991b8e8b6 100644 --- a/ui/tests/integration/components/pki/page/pki-issuer-edit-test.js +++ b/ui/tests/integration/components/pki/page/pki-issuer-edit-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { click, fillIn, render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/pki/page/pki-key-details-test.js b/ui/tests/integration/components/pki/page/pki-key-details-test.js index 21fd25ef4..f4fac85f2 100644 --- a/ui/tests/integration/components/pki/page/pki-key-details-test.js +++ b/ui/tests/integration/components/pki/page/pki-key-details-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { click, render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/pki/page/pki-key-list-test.js b/ui/tests/integration/components/pki/page/pki-key-list-test.js index 7d90d3284..a38ca6d2f 100644 --- a/ui/tests/integration/components/pki/page/pki-key-list-test.js +++ b/ui/tests/integration/components/pki/page/pki-key-list-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { click, render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/pki/page/pki-overview-test.js b/ui/tests/integration/components/pki/page/pki-overview-test.js index b281789cb..00c3d39bc 100644 --- a/ui/tests/integration/components/pki/page/pki-overview-test.js +++ b/ui/tests/integration/components/pki/page/pki-overview-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/pki/page/pki-role-details-test.js b/ui/tests/integration/components/pki/page/pki-role-details-test.js index 863274192..9f3eedc1a 100644 --- a/ui/tests/integration/components/pki/page/pki-role-details-test.js +++ b/ui/tests/integration/components/pki/page/pki-role-details-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/pki/pki-configure-form-test.js b/ui/tests/integration/components/pki/pki-configure-form-test.js index 26a0df444..8f0808695 100644 --- a/ui/tests/integration/components/pki/pki-configure-form-test.js +++ b/ui/tests/integration/components/pki/pki-configure-form-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'vault/tests/helpers'; import { click, render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/pki/pki-generate-csr-test.js b/ui/tests/integration/components/pki/pki-generate-csr-test.js index dcf2c4660..6eb87d9d9 100644 --- a/ui/tests/integration/components/pki/pki-generate-csr-test.js +++ b/ui/tests/integration/components/pki/pki-generate-csr-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'vault/tests/helpers'; import { click, fillIn, render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/pki/pki-generate-root-test.js b/ui/tests/integration/components/pki/pki-generate-root-test.js index d6759e5a4..9b32d635e 100644 --- a/ui/tests/integration/components/pki/pki-generate-root-test.js +++ b/ui/tests/integration/components/pki/pki-generate-root-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'vault/tests/helpers'; import { click, fillIn, render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/pki/pki-generate-toggle-groups-test.js b/ui/tests/integration/components/pki/pki-generate-toggle-groups-test.js index 722cb3ebc..4f612be6d 100644 --- a/ui/tests/integration/components/pki/pki-generate-toggle-groups-test.js +++ b/ui/tests/integration/components/pki/pki-generate-toggle-groups-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'vault/tests/helpers'; import { click, render, settled } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/pki/pki-import-pem-bundle-test.js b/ui/tests/integration/components/pki/pki-import-pem-bundle-test.js index bd85aa1c4..43fba6b34 100644 --- a/ui/tests/integration/components/pki/pki-import-pem-bundle-test.js +++ b/ui/tests/integration/components/pki/pki-import-pem-bundle-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click, fillIn } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/pki/pki-issuer-cross-sign-test.js b/ui/tests/integration/components/pki/pki-issuer-cross-sign-test.js index 06dabdd4d..ccb127b58 100644 --- a/ui/tests/integration/components/pki/pki-issuer-cross-sign-test.js +++ b/ui/tests/integration/components/pki/pki-issuer-cross-sign-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'vault/tests/helpers'; import { click, fillIn, render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/pki/pki-issuer-details-test.js b/ui/tests/integration/components/pki/pki-issuer-details-test.js index c7725cbf4..5ac9fbb00 100644 --- a/ui/tests/integration/components/pki/pki-issuer-details-test.js +++ b/ui/tests/integration/components/pki/pki-issuer-details-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'vault/tests/helpers'; import { render, settled } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/pki/pki-key-form-test.js b/ui/tests/integration/components/pki/pki-key-form-test.js index d3c5dbd07..cbf9140c7 100644 --- a/ui/tests/integration/components/pki/pki-key-form-test.js +++ b/ui/tests/integration/components/pki/pki-key-form-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click, fillIn } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/pki/pki-key-parameters-test.js b/ui/tests/integration/components/pki/pki-key-parameters-test.js index 07ab94be3..949dc705d 100644 --- a/ui/tests/integration/components/pki/pki-key-parameters-test.js +++ b/ui/tests/integration/components/pki/pki-key-parameters-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, fillIn } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/pki/pki-key-usage-test.js b/ui/tests/integration/components/pki/pki-key-usage-test.js index 64122f2bb..0bbe5fa6d 100644 --- a/ui/tests/integration/components/pki/pki-key-usage-test.js +++ b/ui/tests/integration/components/pki/pki-key-usage-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click, findAll } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/pki/pki-not-valid-after-form-test.js b/ui/tests/integration/components/pki/pki-not-valid-after-form-test.js index d6c8f3eb6..c9a62197b 100644 --- a/ui/tests/integration/components/pki/pki-not-valid-after-form-test.js +++ b/ui/tests/integration/components/pki/pki-not-valid-after-form-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click, fillIn } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/pki/pki-role-form-test.js b/ui/tests/integration/components/pki/pki-role-form-test.js index eff647658..bf4545114 100644 --- a/ui/tests/integration/components/pki/pki-role-form-test.js +++ b/ui/tests/integration/components/pki/pki-role-form-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click, fillIn, find } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/pki/pki-role-generate-test.js b/ui/tests/integration/components/pki/pki-role-generate-test.js index 216a0b275..58ab6e30e 100644 --- a/ui/tests/integration/components/pki/pki-role-generate-test.js +++ b/ui/tests/integration/components/pki/pki-role-generate-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, fillIn } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/pki/pki-sign-intermediate-form-test.js b/ui/tests/integration/components/pki/pki-sign-intermediate-form-test.js index b50adbb1e..f728f2ce9 100644 --- a/ui/tests/integration/components/pki/pki-sign-intermediate-form-test.js +++ b/ui/tests/integration/components/pki/pki-sign-intermediate-form-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'vault/tests/helpers'; import { click, fillIn, render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/policy-form-test.js b/ui/tests/integration/components/policy-form-test.js index eec536873..23cff5e93 100644 --- a/ui/tests/integration/components/policy-form-test.js +++ b/ui/tests/integration/components/policy-form-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { click, fillIn, render, triggerEvent } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/radial-progress-test.js b/ui/tests/integration/components/radial-progress-test.js index e6a5b3140..d9fd43960 100644 --- a/ui/tests/integration/components/radial-progress-test.js +++ b/ui/tests/integration/components/radial-progress-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/radio-button-test.js b/ui/tests/integration/components/radio-button-test.js index 9b50f0248..cb181c4e1 100644 --- a/ui/tests/integration/components/radio-button-test.js +++ b/ui/tests/integration/components/radio-button-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { click, render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/raft-join-test.js b/ui/tests/integration/components/raft-join-test.js index fd85ebb24..3d70816f7 100644 --- a/ui/tests/integration/components/raft-join-test.js +++ b/ui/tests/integration/components/raft-join-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { click, render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/raft-storage-overview-test.js b/ui/tests/integration/components/raft-storage-overview-test.js index 54b289439..f20a9744a 100644 --- a/ui/tests/integration/components/raft-storage-overview-test.js +++ b/ui/tests/integration/components/raft-storage-overview-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/raft-storage-restore-test.js b/ui/tests/integration/components/raft-storage-restore-test.js index 47781b98b..dc55eb441 100644 --- a/ui/tests/integration/components/raft-storage-restore-test.js +++ b/ui/tests/integration/components/raft-storage-restore-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { setupMirage } from 'ember-cli-mirage/test-support'; diff --git a/ui/tests/integration/components/read-more-test.js b/ui/tests/integration/components/read-more-test.js index 563d49deb..85bfd1fed 100644 --- a/ui/tests/integration/components/read-more-test.js +++ b/ui/tests/integration/components/read-more-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/readonly-form-field-test.js b/ui/tests/integration/components/readonly-form-field-test.js index 740bac9dc..c23c0b3d5 100644 --- a/ui/tests/integration/components/readonly-form-field-test.js +++ b/ui/tests/integration/components/readonly-form-field-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import EmberObject from '@ember/object'; import { setupRenderingTest } from 'ember-qunit'; diff --git a/ui/tests/integration/components/regex-validator-test.js b/ui/tests/integration/components/regex-validator-test.js index 0256b923f..829e94123 100644 --- a/ui/tests/integration/components/regex-validator-test.js +++ b/ui/tests/integration/components/regex-validator-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import EmberObject from '@ember/object'; import sinon from 'sinon'; import { module, test } from 'qunit'; diff --git a/ui/tests/integration/components/replication-action-generate-token-test.js b/ui/tests/integration/components/replication-action-generate-token-test.js index 5df4f0755..d6af77d06 100644 --- a/ui/tests/integration/components/replication-action-generate-token-test.js +++ b/ui/tests/integration/components/replication-action-generate-token-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/replication-actions-test.js b/ui/tests/integration/components/replication-actions-test.js index 87ac539e8..f7a601fa7 100644 --- a/ui/tests/integration/components/replication-actions-test.js +++ b/ui/tests/integration/components/replication-actions-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { run } from '@ember/runloop'; import { resolve } from 'rsvp'; import Service from '@ember/service'; diff --git a/ui/tests/integration/components/replication-dashboard-test.js b/ui/tests/integration/components/replication-dashboard-test.js index 46c316fc8..1480fad63 100644 --- a/ui/tests/integration/components/replication-dashboard-test.js +++ b/ui/tests/integration/components/replication-dashboard-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/replication-header-test.js b/ui/tests/integration/components/replication-header-test.js index 0be86b3a2..91fdc804c 100644 --- a/ui/tests/integration/components/replication-header-test.js +++ b/ui/tests/integration/components/replication-header-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/replication-page-test.js b/ui/tests/integration/components/replication-page-test.js index cb02cf723..77f77ba85 100644 --- a/ui/tests/integration/components/replication-page-test.js +++ b/ui/tests/integration/components/replication-page-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/replication-primary-card-test.js b/ui/tests/integration/components/replication-primary-card-test.js index e6d784c73..71256de41 100644 --- a/ui/tests/integration/components/replication-primary-card-test.js +++ b/ui/tests/integration/components/replication-primary-card-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/replication-secondary-card-test.js b/ui/tests/integration/components/replication-secondary-card-test.js index 4adce007b..450c48919 100644 --- a/ui/tests/integration/components/replication-secondary-card-test.js +++ b/ui/tests/integration/components/replication-secondary-card-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/replication-summary-card-test.js b/ui/tests/integration/components/replication-summary-card-test.js index f861f118c..7ce51f901 100644 --- a/ui/tests/integration/components/replication-summary-card-test.js +++ b/ui/tests/integration/components/replication-summary-card-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/replication-table-rows-test.js b/ui/tests/integration/components/replication-table-rows-test.js index 09f5511b6..3d3fbc21d 100644 --- a/ui/tests/integration/components/replication-table-rows-test.js +++ b/ui/tests/integration/components/replication-table-rows-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/search-select-test.js b/ui/tests/integration/components/search-select-test.js index 685093159..0f6c03a5e 100644 --- a/ui/tests/integration/components/search-select-test.js +++ b/ui/tests/integration/components/search-select-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { create } from 'ember-cli-page-object'; diff --git a/ui/tests/integration/components/search-select-with-modal-test.js b/ui/tests/integration/components/search-select-with-modal-test.js index 6e7213ad3..1538f9bfd 100644 --- a/ui/tests/integration/components/search-select-with-modal-test.js +++ b/ui/tests/integration/components/search-select-with-modal-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { create } from 'ember-cli-page-object'; diff --git a/ui/tests/integration/components/secret-edit-test.js b/ui/tests/integration/components/secret-edit-test.js index ad34894c2..a81956824 100644 --- a/ui/tests/integration/components/secret-edit-test.js +++ b/ui/tests/integration/components/secret-edit-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, settled } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/secret-list-header-test.js b/ui/tests/integration/components/secret-list-header-test.js index 9f5bb4011..88a2c8754 100644 --- a/ui/tests/integration/components/secret-list-header-test.js +++ b/ui/tests/integration/components/secret-list-header-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/select-test.js b/ui/tests/integration/components/select-test.js index 029746528..4009b07df 100644 --- a/ui/tests/integration/components/select-test.js +++ b/ui/tests/integration/components/select-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, fillIn } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/selectable-card-test.js b/ui/tests/integration/components/selectable-card-test.js index 014ea935b..9dab74db9 100644 --- a/ui/tests/integration/components/selectable-card-test.js +++ b/ui/tests/integration/components/selectable-card-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/shamir-flow-test.js b/ui/tests/integration/components/shamir-flow-test.js index 5e18ae67d..9a79bf1cd 100644 --- a/ui/tests/integration/components/shamir-flow-test.js +++ b/ui/tests/integration/components/shamir-flow-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { run } from '@ember/runloop'; import Service from '@ember/service'; import { resolve } from 'rsvp'; diff --git a/ui/tests/integration/components/shamir-modal-flow-test.js b/ui/tests/integration/components/shamir-modal-flow-test.js index 3fa580269..6b4c77310 100644 --- a/ui/tests/integration/components/shamir-modal-flow-test.js +++ b/ui/tests/integration/components/shamir-modal-flow-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test, skip } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/stat-text-test.js b/ui/tests/integration/components/stat-text-test.js index f850fbf44..b6194c0d1 100644 --- a/ui/tests/integration/components/stat-text-test.js +++ b/ui/tests/integration/components/stat-text-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, settled } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/string-list-test.js b/ui/tests/integration/components/string-list-test.js index e02b2a46d..28be0cf75 100644 --- a/ui/tests/integration/components/string-list-test.js +++ b/ui/tests/integration/components/string-list-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click, fillIn, triggerKeyEvent, triggerEvent } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/text-file-test.js b/ui/tests/integration/components/text-file-test.js index 8922611f6..a5250cd86 100644 --- a/ui/tests/integration/components/text-file-test.js +++ b/ui/tests/integration/components/text-file-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'vault/tests/helpers'; import { click, fillIn, render, triggerEvent } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/toggle-button-test.js b/ui/tests/integration/components/toggle-button-test.js index 35ce58519..51a78d137 100644 --- a/ui/tests/integration/components/toggle-button-test.js +++ b/ui/tests/integration/components/toggle-button-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/toggle-test.js b/ui/tests/integration/components/toggle-test.js index 2dc7dadca..3bb975904 100644 --- a/ui/tests/integration/components/toggle-test.js +++ b/ui/tests/integration/components/toggle-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, findAll } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/token-expire-warning-test.js b/ui/tests/integration/components/token-expire-warning-test.js index b8416b24c..76fa9ffbb 100644 --- a/ui/tests/integration/components/token-expire-warning-test.js +++ b/ui/tests/integration/components/token-expire-warning-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { find, render, waitUntil } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/tool-tip-test.js b/ui/tests/integration/components/tool-tip-test.js index c8d827098..66ec0d99e 100644 --- a/ui/tests/integration/components/tool-tip-test.js +++ b/ui/tests/integration/components/tool-tip-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, triggerEvent } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/toolbar-actions-test.js b/ui/tests/integration/components/toolbar-actions-test.js index b4fecd333..531f7db63 100644 --- a/ui/tests/integration/components/toolbar-actions-test.js +++ b/ui/tests/integration/components/toolbar-actions-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/toolbar-filters-test.js b/ui/tests/integration/components/toolbar-filters-test.js index 0507ff9e5..81d33b4ba 100644 --- a/ui/tests/integration/components/toolbar-filters-test.js +++ b/ui/tests/integration/components/toolbar-filters-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/toolbar-link-test.js b/ui/tests/integration/components/toolbar-link-test.js index fe71db0de..cbf879ce7 100644 --- a/ui/tests/integration/components/toolbar-link-test.js +++ b/ui/tests/integration/components/toolbar-link-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, triggerEvent } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/toolbar-test.js b/ui/tests/integration/components/toolbar-test.js index 5527f1b27..3496e88e6 100644 --- a/ui/tests/integration/components/toolbar-test.js +++ b/ui/tests/integration/components/toolbar-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/transform-advanced-templating-test.js b/ui/tests/integration/components/transform-advanced-templating-test.js index 1435c7507..2483e4474 100644 --- a/ui/tests/integration/components/transform-advanced-templating-test.js +++ b/ui/tests/integration/components/transform-advanced-templating-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { click, fillIn, render, triggerEvent } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/transform-edit-base-test.js b/ui/tests/integration/components/transform-edit-base-test.js index 55b3f63b4..3f8f8d4c6 100644 --- a/ui/tests/integration/components/transform-edit-base-test.js +++ b/ui/tests/integration/components/transform-edit-base-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/transform-list-item-test.js b/ui/tests/integration/components/transform-list-item-test.js index 917106b4b..2be22dfde 100644 --- a/ui/tests/integration/components/transform-list-item-test.js +++ b/ui/tests/integration/components/transform-list-item-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import EmberObject from '@ember/object'; import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; diff --git a/ui/tests/integration/components/transform-role-edit-test.js b/ui/tests/integration/components/transform-role-edit-test.js index ba2a2ebb9..875817302 100644 --- a/ui/tests/integration/components/transform-role-edit-test.js +++ b/ui/tests/integration/components/transform-role-edit-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, skip } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/transit-key-actions-test.js b/ui/tests/integration/components/transit-key-actions-test.js index 6a3926e2d..855d19559 100644 --- a/ui/tests/integration/components/transit-key-actions-test.js +++ b/ui/tests/integration/components/transit-key-actions-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { run } from '@ember/runloop'; import { resolve } from 'rsvp'; import { assign } from '@ember/polyfills'; diff --git a/ui/tests/integration/components/ttl-picker-test.js b/ui/tests/integration/components/ttl-picker-test.js index ad3adb3ec..5914e3615 100644 --- a/ui/tests/integration/components/ttl-picker-test.js +++ b/ui/tests/integration/components/ttl-picker-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click, fillIn } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/upgrade-page-test.js b/ui/tests/integration/components/upgrade-page-test.js index f18ac55bf..2dbe0e243 100644 --- a/ui/tests/integration/components/upgrade-page-test.js +++ b/ui/tests/integration/components/upgrade-page-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/components/wrap-ttl-test.js b/ui/tests/integration/components/wrap-ttl-test.js index 20bc4700d..1af4d2fdb 100644 --- a/ui/tests/integration/components/wrap-ttl-test.js +++ b/ui/tests/integration/components/wrap-ttl-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import Sinon from 'sinon'; import { setupRenderingTest } from 'ember-qunit'; diff --git a/ui/tests/integration/helpers/add-to-array-test.js b/ui/tests/integration/helpers/add-to-array-test.js index 0036f3020..578b3237a 100644 --- a/ui/tests/integration/helpers/add-to-array-test.js +++ b/ui/tests/integration/helpers/add-to-array-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { addToArray } from '../../../helpers/add-to-array'; diff --git a/ui/tests/integration/helpers/changelog-url-for-test.js b/ui/tests/integration/helpers/changelog-url-for-test.js index d3cd705c1..6c6e03fda 100644 --- a/ui/tests/integration/helpers/changelog-url-for-test.js +++ b/ui/tests/integration/helpers/changelog-url-for-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { changelogUrlFor } from '../../../helpers/changelog-url-for'; diff --git a/ui/tests/integration/helpers/date-format-test.js b/ui/tests/integration/helpers/date-format-test.js index e1be50b80..6300736f7 100644 --- a/ui/tests/integration/helpers/date-format-test.js +++ b/ui/tests/integration/helpers/date-format-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/helpers/date-from-now-test.js b/ui/tests/integration/helpers/date-from-now-test.js index 36c55b42f..5b9362317 100644 --- a/ui/tests/integration/helpers/date-from-now-test.js +++ b/ui/tests/integration/helpers/date-from-now-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { subMinutes } from 'date-fns'; import { setupRenderingTest } from 'ember-qunit'; diff --git a/ui/tests/integration/helpers/format-duration-test.js b/ui/tests/integration/helpers/format-duration-test.js index 28df753b9..874fce017 100644 --- a/ui/tests/integration/helpers/format-duration-test.js +++ b/ui/tests/integration/helpers/format-duration-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/helpers/has-feature-test.js b/ui/tests/integration/helpers/has-feature-test.js index 39678fe5d..2aae21d45 100644 --- a/ui/tests/integration/helpers/has-feature-test.js +++ b/ui/tests/integration/helpers/has-feature-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Service from '@ember/service'; import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; diff --git a/ui/tests/integration/helpers/has-permission-test.js b/ui/tests/integration/helpers/has-permission-test.js index 47e7e9a46..8e9adea5c 100644 --- a/ui/tests/integration/helpers/has-permission-test.js +++ b/ui/tests/integration/helpers/has-permission-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/helpers/is-empty-value-test.js b/ui/tests/integration/helpers/is-empty-value-test.js index d7683ef2e..53dbc571a 100644 --- a/ui/tests/integration/helpers/is-empty-value-test.js +++ b/ui/tests/integration/helpers/is-empty-value-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/integration/helpers/remove-from-array-test.js b/ui/tests/integration/helpers/remove-from-array-test.js index 9512d889b..5449aeb7f 100644 --- a/ui/tests/integration/helpers/remove-from-array-test.js +++ b/ui/tests/integration/helpers/remove-from-array-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { removeFromArray } from '../../../helpers/remove-from-array'; diff --git a/ui/tests/integration/services/auth-test.js b/ui/tests/integration/services/auth-test.js index a7d245699..03be916c6 100644 --- a/ui/tests/integration/services/auth-test.js +++ b/ui/tests/integration/services/auth-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { run } from '@ember/runloop'; import { copy } from 'ember-copy'; import { module, test } from 'qunit'; diff --git a/ui/tests/integration/utils/client-count-utils-test.js b/ui/tests/integration/utils/client-count-utils-test.js index 0679bf0bb..f5a7237fd 100644 --- a/ui/tests/integration/utils/client-count-utils-test.js +++ b/ui/tests/integration/utils/client-count-utils-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import { diff --git a/ui/tests/integration/utils/date-formatters-test.js b/ui/tests/integration/utils/date-formatters-test.js index bd454aa23..d3af720a3 100644 --- a/ui/tests/integration/utils/date-formatters-test.js +++ b/ui/tests/integration/utils/date-formatters-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import { format, formatRFC3339, isSameDay, isSameMonth, isSameYear } from 'date-fns'; diff --git a/ui/tests/integration/utils/field-to-attrs-test.js b/ui/tests/integration/utils/field-to-attrs-test.js index 5e4b94a55..0771abc0a 100644 --- a/ui/tests/integration/utils/field-to-attrs-test.js +++ b/ui/tests/integration/utils/field-to-attrs-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { run } from '@ember/runloop'; import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/integration/utils/parse-pki-cert-test.js b/ui/tests/integration/utils/parse-pki-cert-test.js index 82856e2be..a4a9e9379 100644 --- a/ui/tests/integration/utils/parse-pki-cert-test.js +++ b/ui/tests/integration/utils/parse-pki-cert-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import { parseCertificate, parseExtensions, parseSubject, formatValues } from 'vault/utils/parse-pki-cert'; diff --git a/ui/tests/pages/access/identity/aliases/add.js b/ui/tests/pages/access/identity/aliases/add.js index 674bd46c1..c5dd0d107 100644 --- a/ui/tests/pages/access/identity/aliases/add.js +++ b/ui/tests/pages/access/identity/aliases/add.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, visitable } from 'ember-cli-page-object'; import editForm from 'vault/tests/pages/components/identity/edit-form'; diff --git a/ui/tests/pages/access/identity/aliases/index.js b/ui/tests/pages/access/identity/aliases/index.js index 4cb21b1c8..601572422 100644 --- a/ui/tests/pages/access/identity/aliases/index.js +++ b/ui/tests/pages/access/identity/aliases/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, clickable, text, visitable, collection } from 'ember-cli-page-object'; import flashMessage from 'vault/tests/pages/components/flash-message'; diff --git a/ui/tests/pages/access/identity/aliases/show.js b/ui/tests/pages/access/identity/aliases/show.js index d12dc6c33..362614435 100644 --- a/ui/tests/pages/access/identity/aliases/show.js +++ b/ui/tests/pages/access/identity/aliases/show.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, clickable, collection, contains, visitable } from 'ember-cli-page-object'; import flashMessage from 'vault/tests/pages/components/flash-message'; import infoTableRow from 'vault/tests/pages/components/info-table-row'; diff --git a/ui/tests/pages/access/identity/create.js b/ui/tests/pages/access/identity/create.js index eff90395b..6ff4bcc21 100644 --- a/ui/tests/pages/access/identity/create.js +++ b/ui/tests/pages/access/identity/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, visitable } from 'ember-cli-page-object'; import editForm from 'vault/tests/pages/components/identity/edit-form'; diff --git a/ui/tests/pages/access/identity/index.js b/ui/tests/pages/access/identity/index.js index 8259ed384..acc21d679 100644 --- a/ui/tests/pages/access/identity/index.js +++ b/ui/tests/pages/access/identity/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, clickable, text, visitable, collection } from 'ember-cli-page-object'; import flashMessage from 'vault/tests/pages/components/flash-message'; diff --git a/ui/tests/pages/access/identity/show.js b/ui/tests/pages/access/identity/show.js index 12971978a..060bf3a03 100644 --- a/ui/tests/pages/access/identity/show.js +++ b/ui/tests/pages/access/identity/show.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, clickable, collection, contains, visitable } from 'ember-cli-page-object'; import flashMessage from 'vault/tests/pages/components/flash-message'; import infoTableRow from 'vault/tests/pages/components/info-table-row'; diff --git a/ui/tests/pages/access/methods.js b/ui/tests/pages/access/methods.js index d8835dae2..66a088db7 100644 --- a/ui/tests/pages/access/methods.js +++ b/ui/tests/pages/access/methods.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, attribute, visitable, collection, hasClass, text } from 'ember-cli-page-object'; export default create({ diff --git a/ui/tests/pages/access/namespaces/index.js b/ui/tests/pages/access/namespaces/index.js index 8eb174bc4..f67e0d12e 100644 --- a/ui/tests/pages/access/namespaces/index.js +++ b/ui/tests/pages/access/namespaces/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, visitable } from 'ember-cli-page-object'; export default create({ diff --git a/ui/tests/pages/auth.js b/ui/tests/pages/auth.js index 99515e9af..e915fe9ef 100644 --- a/ui/tests/pages/auth.js +++ b/ui/tests/pages/auth.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, visitable, fillable, clickable } from 'ember-cli-page-object'; import { settled } from '@ember/test-helpers'; import VAULT_KEYS from 'vault/tests/helpers/vault-keys'; diff --git a/ui/tests/pages/components/alert-banner.js b/ui/tests/pages/components/alert-banner.js index 069771e56..424d5e8ea 100644 --- a/ui/tests/pages/components/alert-banner.js +++ b/ui/tests/pages/components/alert-banner.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { text } from 'ember-cli-page-object'; export default { diff --git a/ui/tests/pages/components/auth-config-form/options.js b/ui/tests/pages/components/auth-config-form/options.js index 0aef0cc41..3b5d76b54 100644 --- a/ui/tests/pages/components/auth-config-form/options.js +++ b/ui/tests/pages/components/auth-config-form/options.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { clickable, fillable } from 'ember-cli-page-object'; import fields from '../form-field'; diff --git a/ui/tests/pages/components/auth-form.js b/ui/tests/pages/components/auth-form.js index 07d5efc5f..3924dac43 100644 --- a/ui/tests/pages/components/auth-form.js +++ b/ui/tests/pages/components/auth-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { collection, clickable, fillable, text, value, isPresent } from 'ember-cli-page-object'; export default { diff --git a/ui/tests/pages/components/auth-jwt.js b/ui/tests/pages/components/auth-jwt.js index 166cd94c5..6773b19f3 100644 --- a/ui/tests/pages/components/auth-jwt.js +++ b/ui/tests/pages/components/auth-jwt.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { text, isPresent, clickable, fillable } from 'ember-cli-page-object'; export default { diff --git a/ui/tests/pages/components/calendar-widget.js b/ui/tests/pages/components/calendar-widget.js index bbe9c3748..9c71a04f5 100644 --- a/ui/tests/pages/components/calendar-widget.js +++ b/ui/tests/pages/components/calendar-widget.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { clickable, create, isPresent } from 'ember-cli-page-object'; export default create({ diff --git a/ui/tests/pages/components/console/ui-panel.js b/ui/tests/pages/components/console/ui-panel.js index e746080ba..00d2cf03c 100644 --- a/ui/tests/pages/components/console/ui-panel.js +++ b/ui/tests/pages/components/console/ui-panel.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { text, triggerable, clickable, collection, fillable, value, isPresent } from 'ember-cli-page-object'; import { getter } from 'ember-cli-page-object/macros'; import { settled } from '@ember/test-helpers'; diff --git a/ui/tests/pages/components/control-group-success.js b/ui/tests/pages/components/control-group-success.js index f34cc089b..ea3917313 100644 --- a/ui/tests/pages/components/control-group-success.js +++ b/ui/tests/pages/components/control-group-success.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { isPresent, fillable, clickable } from 'ember-cli-page-object'; export default { diff --git a/ui/tests/pages/components/control-group.js b/ui/tests/pages/components/control-group.js index 72ba1c8d0..6e304bed4 100644 --- a/ui/tests/pages/components/control-group.js +++ b/ui/tests/pages/components/control-group.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { isPresent, clickable, text } from 'ember-cli-page-object'; export default { diff --git a/ui/tests/pages/components/edit-form.js b/ui/tests/pages/components/edit-form.js index 259f8099d..00c3bb4e3 100644 --- a/ui/tests/pages/components/edit-form.js +++ b/ui/tests/pages/components/edit-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { clickable, isPresent, text } from 'ember-cli-page-object'; import fields from './form-field'; export default { diff --git a/ui/tests/pages/components/flash-message.js b/ui/tests/pages/components/flash-message.js index 6bf5b4c86..dbf3dd06c 100644 --- a/ui/tests/pages/components/flash-message.js +++ b/ui/tests/pages/components/flash-message.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { waitFor, settled } from '@ember/test-helpers'; import { collection, text, clickable } from 'ember-cli-page-object'; import { getter } from 'ember-cli-page-object/macros'; diff --git a/ui/tests/pages/components/form-field.js b/ui/tests/pages/components/form-field.js index fba064e34..76f72499d 100644 --- a/ui/tests/pages/components/form-field.js +++ b/ui/tests/pages/components/form-field.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attribute, focusable, diff --git a/ui/tests/pages/components/hover-copy-button.js b/ui/tests/pages/components/hover-copy-button.js index aec760d64..644086da5 100644 --- a/ui/tests/pages/components/hover-copy-button.js +++ b/ui/tests/pages/components/hover-copy-button.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attribute, clickable, isVisible, focusable, text } from 'ember-cli-page-object'; import { triggerEvent, focus } from '@ember/test-helpers'; diff --git a/ui/tests/pages/components/identity/edit-form.js b/ui/tests/pages/components/identity/edit-form.js index 90fd8d2a9..c5f50bb7d 100644 --- a/ui/tests/pages/components/identity/edit-form.js +++ b/ui/tests/pages/components/identity/edit-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { clickable, fillable, attribute } from 'ember-cli-page-object'; import { waitFor } from '@ember/test-helpers'; import fields from '../form-field'; diff --git a/ui/tests/pages/components/identity/item-details.js b/ui/tests/pages/components/identity/item-details.js index 9a10b66f7..69f3ad0ad 100644 --- a/ui/tests/pages/components/identity/item-details.js +++ b/ui/tests/pages/components/identity/item-details.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { clickable } from 'ember-cli-page-object'; export default { diff --git a/ui/tests/pages/components/info-table-row.js b/ui/tests/pages/components/info-table-row.js index 9a404f97a..98fe8ff55 100644 --- a/ui/tests/pages/components/info-table-row.js +++ b/ui/tests/pages/components/info-table-row.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { text, isPresent } from 'ember-cli-page-object'; export default { diff --git a/ui/tests/pages/components/json-editor.js b/ui/tests/pages/components/json-editor.js index 1208110cb..7b5b9c1e9 100644 --- a/ui/tests/pages/components/json-editor.js +++ b/ui/tests/pages/components/json-editor.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { isPresent, notHasClass, text } from 'ember-cli-page-object'; export default { diff --git a/ui/tests/pages/components/kv-object-editor.js b/ui/tests/pages/components/kv-object-editor.js index 88ad66cde..9d89d32bd 100644 --- a/ui/tests/pages/components/kv-object-editor.js +++ b/ui/tests/pages/components/kv-object-editor.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { clickable, collection, fillable, isPresent } from 'ember-cli-page-object'; export default { diff --git a/ui/tests/pages/components/license-info.js b/ui/tests/pages/components/license-info.js index 0cb51c578..ba4a7a6e9 100644 --- a/ui/tests/pages/components/license-info.js +++ b/ui/tests/pages/components/license-info.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { text, collection } from 'ember-cli-page-object'; export default { diff --git a/ui/tests/pages/components/list-view.js b/ui/tests/pages/components/list-view.js index 90ef015f4..3055ff6cb 100644 --- a/ui/tests/pages/components/list-view.js +++ b/ui/tests/pages/components/list-view.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { text, isPresent, collection, clickable } from 'ember-cli-page-object'; export default { diff --git a/ui/tests/pages/components/masked-input.js b/ui/tests/pages/components/masked-input.js index 8fca60668..c4894b04f 100644 --- a/ui/tests/pages/components/masked-input.js +++ b/ui/tests/pages/components/masked-input.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { clickable, isPresent } from 'ember-cli-page-object'; export default { diff --git a/ui/tests/pages/components/mount-backend-form.js b/ui/tests/pages/components/mount-backend-form.js index b752c7d58..150363afd 100644 --- a/ui/tests/pages/components/mount-backend-form.js +++ b/ui/tests/pages/components/mount-backend-form.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { clickable, collection, fillable, text, value, attribute } from 'ember-cli-page-object'; import fields from './form-field'; import errorText from './alert-banner'; diff --git a/ui/tests/pages/components/nav-header.js b/ui/tests/pages/components/nav-header.js index de17c2be1..77b8ff2a5 100644 --- a/ui/tests/pages/components/nav-header.js +++ b/ui/tests/pages/components/nav-header.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { text, isPresent } from 'ember-cli-page-object'; export default { diff --git a/ui/tests/pages/components/pki/config-pki-ca.js b/ui/tests/pages/components/pki/config-pki-ca.js index eafb9fdad..9c2d44c90 100644 --- a/ui/tests/pages/components/pki/config-pki-ca.js +++ b/ui/tests/pages/components/pki/config-pki-ca.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { clickable, collection, fillable, text, selectable, isPresent } from 'ember-cli-page-object'; import fields from '../form-field'; diff --git a/ui/tests/pages/components/pki/config-pki.js b/ui/tests/pages/components/pki/config-pki.js index b8ced04c6..2f78a927b 100644 --- a/ui/tests/pages/components/pki/config-pki.js +++ b/ui/tests/pages/components/pki/config-pki.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { clickable, fillable, text, isPresent } from 'ember-cli-page-object'; import fields from '../form-field'; diff --git a/ui/tests/pages/components/radial-progress.js b/ui/tests/pages/components/radial-progress.js index 7d1e1acda..dddad3a73 100644 --- a/ui/tests/pages/components/radial-progress.js +++ b/ui/tests/pages/components/radial-progress.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attribute } from 'ember-cli-page-object'; export default { diff --git a/ui/tests/pages/components/search-select.js b/ui/tests/pages/components/search-select.js index 8e05a5b62..650e2aa01 100644 --- a/ui/tests/pages/components/search-select.js +++ b/ui/tests/pages/components/search-select.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { isPresent, collection, text, clickable } from 'ember-cli-page-object'; export default { diff --git a/ui/tests/pages/components/wizard/features-selection.js b/ui/tests/pages/components/wizard/features-selection.js index caa84ad9c..1f62198b1 100644 --- a/ui/tests/pages/components/wizard/features-selection.js +++ b/ui/tests/pages/components/wizard/features-selection.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { collection, isPresent, property, clickable } from 'ember-cli-page-object'; export default { diff --git a/ui/tests/pages/init.js b/ui/tests/pages/init.js index 86677c8c7..655cb8f64 100644 --- a/ui/tests/pages/init.js +++ b/ui/tests/pages/init.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { text, create, collection, visitable, fillable, clickable } from 'ember-cli-page-object'; export default create({ diff --git a/ui/tests/pages/logout.js b/ui/tests/pages/logout.js index c250cdc9d..024e52412 100644 --- a/ui/tests/pages/logout.js +++ b/ui/tests/pages/logout.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, visitable } from 'ember-cli-page-object'; export default create({ diff --git a/ui/tests/pages/policies/create.js b/ui/tests/pages/policies/create.js index 6cad29919..d9d70673f 100644 --- a/ui/tests/pages/policies/create.js +++ b/ui/tests/pages/policies/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, visitable } from 'ember-cli-page-object'; export default create({ visit: visitable('/vault/policies/create'), diff --git a/ui/tests/pages/policies/index.js b/ui/tests/pages/policies/index.js index 16b99d704..954a47d08 100644 --- a/ui/tests/pages/policies/index.js +++ b/ui/tests/pages/policies/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { text, create, collection, clickable, visitable } from 'ember-cli-page-object'; export default create({ visit: visitable('/vault/policies/:type'), diff --git a/ui/tests/pages/policy/edit.js b/ui/tests/pages/policy/edit.js index 8250b3d72..a63aa83d5 100644 --- a/ui/tests/pages/policy/edit.js +++ b/ui/tests/pages/policy/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { clickable, create, isPresent, visitable } from 'ember-cli-page-object'; export default create({ visit: visitable('/vault/policy/:type/:name/edit'), diff --git a/ui/tests/pages/policy/show.js b/ui/tests/pages/policy/show.js index ef82d4ad0..4e2397bd9 100644 --- a/ui/tests/pages/policy/show.js +++ b/ui/tests/pages/policy/show.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { clickable, create, visitable } from 'ember-cli-page-object'; export default create({ visit: visitable('/vault/policy/:type/:name'), diff --git a/ui/tests/pages/secrets/backend/configuration.js b/ui/tests/pages/secrets/backend/configuration.js index be630bc0e..002512699 100644 --- a/ui/tests/pages/secrets/backend/configuration.js +++ b/ui/tests/pages/secrets/backend/configuration.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, visitable, text } from 'ember-cli-page-object'; export default create({ diff --git a/ui/tests/pages/secrets/backend/create.js b/ui/tests/pages/secrets/backend/create.js index 235499247..94536724e 100644 --- a/ui/tests/pages/secrets/backend/create.js +++ b/ui/tests/pages/secrets/backend/create.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, visitable } from 'ember-cli-page-object'; export const Base = { diff --git a/ui/tests/pages/secrets/backend/credentials.js b/ui/tests/pages/secrets/backend/credentials.js index 9383d6009..a303338fb 100644 --- a/ui/tests/pages/secrets/backend/credentials.js +++ b/ui/tests/pages/secrets/backend/credentials.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, visitable } from 'ember-cli-page-object'; export const Base = { diff --git a/ui/tests/pages/secrets/backend/database/connection.js b/ui/tests/pages/secrets/backend/database/connection.js index ce4eab03e..876ea2257 100644 --- a/ui/tests/pages/secrets/backend/database/connection.js +++ b/ui/tests/pages/secrets/backend/database/connection.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, clickable, fillable, visitable, selectable } from 'ember-cli-page-object'; import ListView from 'vault/tests/pages/components/list-view'; diff --git a/ui/tests/pages/secrets/backend/database/role.js b/ui/tests/pages/secrets/backend/database/role.js index 7f7d270bd..6634f11f9 100644 --- a/ui/tests/pages/secrets/backend/database/role.js +++ b/ui/tests/pages/secrets/backend/database/role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, clickable, fillable, visitable, selectable } from 'ember-cli-page-object'; import ListView from 'vault/tests/pages/components/list-view'; diff --git a/ui/tests/pages/secrets/backend/edit.js b/ui/tests/pages/secrets/backend/edit.js index 029e8cbcb..ee60f8e42 100644 --- a/ui/tests/pages/secrets/backend/edit.js +++ b/ui/tests/pages/secrets/backend/edit.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, visitable } from 'ember-cli-page-object'; export default create({ diff --git a/ui/tests/pages/secrets/backend/kmip/credentials.js b/ui/tests/pages/secrets/backend/kmip/credentials.js index baa03aa8a..8dcb670fc 100644 --- a/ui/tests/pages/secrets/backend/kmip/credentials.js +++ b/ui/tests/pages/secrets/backend/kmip/credentials.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, clickable, visitable } from 'ember-cli-page-object'; import ListView from 'vault/tests/pages/components/list-view'; diff --git a/ui/tests/pages/secrets/backend/kmip/roles.js b/ui/tests/pages/secrets/backend/kmip/roles.js index 7ef92ac8a..954ba1913 100644 --- a/ui/tests/pages/secrets/backend/kmip/roles.js +++ b/ui/tests/pages/secrets/backend/kmip/roles.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, clickable, fillable, visitable } from 'ember-cli-page-object'; import ListView from 'vault/tests/pages/components/list-view'; diff --git a/ui/tests/pages/secrets/backend/kmip/scopes.js b/ui/tests/pages/secrets/backend/kmip/scopes.js index 20506780c..84171ff22 100644 --- a/ui/tests/pages/secrets/backend/kmip/scopes.js +++ b/ui/tests/pages/secrets/backend/kmip/scopes.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, clickable, fillable, visitable } from 'ember-cli-page-object'; import ListView from 'vault/tests/pages/components/list-view'; diff --git a/ui/tests/pages/secrets/backend/kv/edit-secret.js b/ui/tests/pages/secrets/backend/kv/edit-secret.js index de7266ad0..5d5797a21 100644 --- a/ui/tests/pages/secrets/backend/kv/edit-secret.js +++ b/ui/tests/pages/secrets/backend/kv/edit-secret.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Base } from '../create'; import { isPresent, clickable, visitable, create, fillable } from 'ember-cli-page-object'; diff --git a/ui/tests/pages/secrets/backend/kv/show.js b/ui/tests/pages/secrets/backend/kv/show.js index 101d55b6c..09edf0dbf 100644 --- a/ui/tests/pages/secrets/backend/kv/show.js +++ b/ui/tests/pages/secrets/backend/kv/show.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Base } from '../show'; import { create, clickable, collection, isPresent, text } from 'ember-cli-page-object'; diff --git a/ui/tests/pages/secrets/backend/list.js b/ui/tests/pages/secrets/backend/list.js index 70b7c8e3e..0d4054cb5 100644 --- a/ui/tests/pages/secrets/backend/list.js +++ b/ui/tests/pages/secrets/backend/list.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, collection, diff --git a/ui/tests/pages/secrets/backend/pki/edit-role.js b/ui/tests/pages/secrets/backend/pki/edit-role.js index 7c0219c46..6fcddcd68 100644 --- a/ui/tests/pages/secrets/backend/pki/edit-role.js +++ b/ui/tests/pages/secrets/backend/pki/edit-role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Base } from '../create'; import { settled } from '@ember/test-helpers'; import { clickable, visitable, create, fillable } from 'ember-cli-page-object'; diff --git a/ui/tests/pages/secrets/backend/pki/generate-cert.js b/ui/tests/pages/secrets/backend/pki/generate-cert.js index 4b77843bd..c73c026f4 100644 --- a/ui/tests/pages/secrets/backend/pki/generate-cert.js +++ b/ui/tests/pages/secrets/backend/pki/generate-cert.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Base } from '../credentials'; import { clickable, text, value, create, fillable, isPresent } from 'ember-cli-page-object'; diff --git a/ui/tests/pages/secrets/backend/pki/show.js b/ui/tests/pages/secrets/backend/pki/show.js index 901940e09..fe607e61b 100644 --- a/ui/tests/pages/secrets/backend/pki/show.js +++ b/ui/tests/pages/secrets/backend/pki/show.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Base } from '../show'; import { settled } from '@ember/test-helpers'; import { create, clickable, collection, text, isPresent } from 'ember-cli-page-object'; diff --git a/ui/tests/pages/secrets/backend/show.js b/ui/tests/pages/secrets/backend/show.js index 78acd3ae6..ab66cc029 100644 --- a/ui/tests/pages/secrets/backend/show.js +++ b/ui/tests/pages/secrets/backend/show.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, visitable } from 'ember-cli-page-object'; export const Base = { diff --git a/ui/tests/pages/secrets/backend/ssh/edit-role.js b/ui/tests/pages/secrets/backend/ssh/edit-role.js index d48783ea5..c3b3dc1ed 100644 --- a/ui/tests/pages/secrets/backend/ssh/edit-role.js +++ b/ui/tests/pages/secrets/backend/ssh/edit-role.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Base } from '../create'; import { clickable, visitable, create, fillable } from 'ember-cli-page-object'; diff --git a/ui/tests/pages/secrets/backend/ssh/generate-otp.js b/ui/tests/pages/secrets/backend/ssh/generate-otp.js index c173f098f..f5d07ac0c 100644 --- a/ui/tests/pages/secrets/backend/ssh/generate-otp.js +++ b/ui/tests/pages/secrets/backend/ssh/generate-otp.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Base } from '../credentials'; import { clickable, value, create, fillable, isPresent } from 'ember-cli-page-object'; diff --git a/ui/tests/pages/secrets/backend/ssh/show.js b/ui/tests/pages/secrets/backend/ssh/show.js index 2ccc8828f..4b362e0a0 100644 --- a/ui/tests/pages/secrets/backend/ssh/show.js +++ b/ui/tests/pages/secrets/backend/ssh/show.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { Base } from '../show'; import { create, clickable, collection, isPresent } from 'ember-cli-page-object'; diff --git a/ui/tests/pages/secrets/backend/transform/alphabets.js b/ui/tests/pages/secrets/backend/transform/alphabets.js index 51655927b..8d54eb9dc 100644 --- a/ui/tests/pages/secrets/backend/transform/alphabets.js +++ b/ui/tests/pages/secrets/backend/transform/alphabets.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, clickable, fillable, visitable } from 'ember-cli-page-object'; import ListView from 'vault/tests/pages/components/list-view'; diff --git a/ui/tests/pages/secrets/backend/transform/roles.js b/ui/tests/pages/secrets/backend/transform/roles.js index 94f94a046..82b82e584 100644 --- a/ui/tests/pages/secrets/backend/transform/roles.js +++ b/ui/tests/pages/secrets/backend/transform/roles.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, clickable, fillable, visitable } from 'ember-cli-page-object'; import ListView from 'vault/tests/pages/components/list-view'; diff --git a/ui/tests/pages/secrets/backend/transform/templates.js b/ui/tests/pages/secrets/backend/transform/templates.js index 54c16a52b..a2eac09c8 100644 --- a/ui/tests/pages/secrets/backend/transform/templates.js +++ b/ui/tests/pages/secrets/backend/transform/templates.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, clickable, fillable, visitable } from 'ember-cli-page-object'; import ListView from 'vault/tests/pages/components/list-view'; diff --git a/ui/tests/pages/secrets/backend/transform/transformations.js b/ui/tests/pages/secrets/backend/transform/transformations.js index 4a1e45bd1..468730875 100644 --- a/ui/tests/pages/secrets/backend/transform/transformations.js +++ b/ui/tests/pages/secrets/backend/transform/transformations.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, clickable, fillable, visitable } from 'ember-cli-page-object'; import ListView from 'vault/tests/pages/components/list-view'; diff --git a/ui/tests/pages/secrets/backends.js b/ui/tests/pages/secrets/backends.js index 4f6d20a89..f0dc796e4 100644 --- a/ui/tests/pages/secrets/backends.js +++ b/ui/tests/pages/secrets/backends.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, visitable, collection, clickable, text } from 'ember-cli-page-object'; import uiPanel from 'vault/tests/pages/components/console/ui-panel'; diff --git a/ui/tests/pages/settings/auth/configure/index.js b/ui/tests/pages/settings/auth/configure/index.js index 9058ff08d..cd7e6e42f 100644 --- a/ui/tests/pages/settings/auth/configure/index.js +++ b/ui/tests/pages/settings/auth/configure/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, visitable } from 'ember-cli-page-object'; export default create({ diff --git a/ui/tests/pages/settings/auth/configure/section.js b/ui/tests/pages/settings/auth/configure/section.js index 649fe4288..cac92d674 100644 --- a/ui/tests/pages/settings/auth/configure/section.js +++ b/ui/tests/pages/settings/auth/configure/section.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, clickable, visitable, collection } from 'ember-cli-page-object'; import fields from '../../../components/form-field'; import flashMessage from '../../../components/flash-message'; diff --git a/ui/tests/pages/settings/auth/enable.js b/ui/tests/pages/settings/auth/enable.js index 98e8d9ab1..e75e4cc54 100644 --- a/ui/tests/pages/settings/auth/enable.js +++ b/ui/tests/pages/settings/auth/enable.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, visitable } from 'ember-cli-page-object'; import backendForm from '../../components/mount-backend-form'; import flashMessages from '../../components/flash-message'; diff --git a/ui/tests/pages/settings/configure-secret-backends/pki/index.js b/ui/tests/pages/settings/configure-secret-backends/pki/index.js index 4126da388..3a4e9ce60 100644 --- a/ui/tests/pages/settings/configure-secret-backends/pki/index.js +++ b/ui/tests/pages/settings/configure-secret-backends/pki/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, visitable } from 'ember-cli-page-object'; export default create({ diff --git a/ui/tests/pages/settings/configure-secret-backends/pki/section-cert.js b/ui/tests/pages/settings/configure-secret-backends/pki/section-cert.js index d42a23d49..bd49d9754 100644 --- a/ui/tests/pages/settings/configure-secret-backends/pki/section-cert.js +++ b/ui/tests/pages/settings/configure-secret-backends/pki/section-cert.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, visitable } from 'ember-cli-page-object'; import ConfigPKICA from 'vault/tests/pages/components/pki/config-pki-ca'; diff --git a/ui/tests/pages/settings/configure-secret-backends/pki/section.js b/ui/tests/pages/settings/configure-secret-backends/pki/section.js index f3a7a012c..24e96a4b7 100644 --- a/ui/tests/pages/settings/configure-secret-backends/pki/section.js +++ b/ui/tests/pages/settings/configure-secret-backends/pki/section.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, visitable, collection } from 'ember-cli-page-object'; import { getter } from 'ember-cli-page-object/macros'; diff --git a/ui/tests/pages/settings/mount-secret-backend.js b/ui/tests/pages/settings/mount-secret-backend.js index 653387c54..577a84ab4 100644 --- a/ui/tests/pages/settings/mount-secret-backend.js +++ b/ui/tests/pages/settings/mount-secret-backend.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { create, visitable, fillable, clickable } from 'ember-cli-page-object'; import { settled } from '@ember/test-helpers'; import mountForm from 'vault/tests/pages/components/mount-backend-form'; diff --git a/ui/tests/test-helper.js b/ui/tests/test-helper.js index ecd64d86a..e57fea1cb 100644 --- a/ui/tests/test-helper.js +++ b/ui/tests/test-helper.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Application from 'vault/app'; import config from 'vault/config/environment'; import * as QUnit from 'qunit'; diff --git a/ui/tests/unit/adapters/aws-credential-test.js b/ui/tests/unit/adapters/aws-credential-test.js index 93e8b925e..ad5c4867a 100644 --- a/ui/tests/unit/adapters/aws-credential-test.js +++ b/ui/tests/unit/adapters/aws-credential-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import apiStub from 'vault/tests/helpers/noop-all-api-requests'; diff --git a/ui/tests/unit/adapters/capabilities-test.js b/ui/tests/unit/adapters/capabilities-test.js index 27797a084..e64a8a12c 100644 --- a/ui/tests/unit/adapters/capabilities-test.js +++ b/ui/tests/unit/adapters/capabilities-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { resolve } from 'rsvp'; import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/unit/adapters/clients-activity-test.js b/ui/tests/unit/adapters/clients-activity-test.js index 1d67df047..6092db4e5 100644 --- a/ui/tests/unit/adapters/clients-activity-test.js +++ b/ui/tests/unit/adapters/clients-activity-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import { setupMirage } from 'ember-cli-mirage/test-support'; diff --git a/ui/tests/unit/adapters/cluster-test.js b/ui/tests/unit/adapters/cluster-test.js index e754313d4..21b6b2ad9 100644 --- a/ui/tests/unit/adapters/cluster-test.js +++ b/ui/tests/unit/adapters/cluster-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { resolve } from 'rsvp'; import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/unit/adapters/console-test.js b/ui/tests/unit/adapters/console-test.js index e19b522c0..29b2cc842 100644 --- a/ui/tests/unit/adapters/console-test.js +++ b/ui/tests/unit/adapters/console-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/unit/adapters/identity/_test-cases.js b/ui/tests/unit/adapters/identity/_test-cases.js index 2c4a6d2eb..2f0cd928b 100644 --- a/ui/tests/unit/adapters/identity/_test-cases.js +++ b/ui/tests/unit/adapters/identity/_test-cases.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export const storeMVP = { serializerFor() { return { diff --git a/ui/tests/unit/adapters/identity/entity-alias-test.js b/ui/tests/unit/adapters/identity/entity-alias-test.js index 513bc107c..2fa9f4bdd 100644 --- a/ui/tests/unit/adapters/identity/entity-alias-test.js +++ b/ui/tests/unit/adapters/identity/entity-alias-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import testCases from './_test-cases'; diff --git a/ui/tests/unit/adapters/identity/entity-merge-test.js b/ui/tests/unit/adapters/identity/entity-merge-test.js index 3cc9033c2..910ab62b8 100644 --- a/ui/tests/unit/adapters/identity/entity-merge-test.js +++ b/ui/tests/unit/adapters/identity/entity-merge-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Pretender from 'pretender'; import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/unit/adapters/identity/entity-test.js b/ui/tests/unit/adapters/identity/entity-test.js index 106315b2e..25d71e049 100644 --- a/ui/tests/unit/adapters/identity/entity-test.js +++ b/ui/tests/unit/adapters/identity/entity-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import testCases from './_test-cases'; diff --git a/ui/tests/unit/adapters/identity/group-alias-test.js b/ui/tests/unit/adapters/identity/group-alias-test.js index 50d80141a..f179be912 100644 --- a/ui/tests/unit/adapters/identity/group-alias-test.js +++ b/ui/tests/unit/adapters/identity/group-alias-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import testCases from './_test-cases'; diff --git a/ui/tests/unit/adapters/identity/group-test.js b/ui/tests/unit/adapters/identity/group-test.js index 97d996702..cb631278b 100644 --- a/ui/tests/unit/adapters/identity/group-test.js +++ b/ui/tests/unit/adapters/identity/group-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import testCases from './_test-cases'; diff --git a/ui/tests/unit/adapters/kmip/role-test.js b/ui/tests/unit/adapters/kmip/role-test.js index 81d862853..7442eebf5 100644 --- a/ui/tests/unit/adapters/kmip/role-test.js +++ b/ui/tests/unit/adapters/kmip/role-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/unit/adapters/kubernetes/config-test.js b/ui/tests/unit/adapters/kubernetes/config-test.js index a52838198..3bbd295ae 100644 --- a/ui/tests/unit/adapters/kubernetes/config-test.js +++ b/ui/tests/unit/adapters/kubernetes/config-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import { setupMirage } from 'ember-cli-mirage/test-support'; diff --git a/ui/tests/unit/adapters/kubernetes/role-test.js b/ui/tests/unit/adapters/kubernetes/role-test.js index 8a785ea8a..e1c901129 100644 --- a/ui/tests/unit/adapters/kubernetes/role-test.js +++ b/ui/tests/unit/adapters/kubernetes/role-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import { setupMirage } from 'ember-cli-mirage/test-support'; diff --git a/ui/tests/unit/adapters/oidc/assignment-test.js b/ui/tests/unit/adapters/oidc/assignment-test.js index 16780eb36..adcea8499 100644 --- a/ui/tests/unit/adapters/oidc/assignment-test.js +++ b/ui/tests/unit/adapters/oidc/assignment-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import { setupMirage } from 'ember-cli-mirage/test-support'; diff --git a/ui/tests/unit/adapters/oidc/client-test.js b/ui/tests/unit/adapters/oidc/client-test.js index 3430985f8..eada3affa 100644 --- a/ui/tests/unit/adapters/oidc/client-test.js +++ b/ui/tests/unit/adapters/oidc/client-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import { setupMirage } from 'ember-cli-mirage/test-support'; diff --git a/ui/tests/unit/adapters/oidc/key-test.js b/ui/tests/unit/adapters/oidc/key-test.js index 4d8356901..489121994 100644 --- a/ui/tests/unit/adapters/oidc/key-test.js +++ b/ui/tests/unit/adapters/oidc/key-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import { setupMirage } from 'ember-cli-mirage/test-support'; diff --git a/ui/tests/unit/adapters/oidc/provider-test.js b/ui/tests/unit/adapters/oidc/provider-test.js index 0c78b2308..7ad4a31d0 100644 --- a/ui/tests/unit/adapters/oidc/provider-test.js +++ b/ui/tests/unit/adapters/oidc/provider-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import { setupMirage } from 'ember-cli-mirage/test-support'; diff --git a/ui/tests/unit/adapters/oidc/scope-test.js b/ui/tests/unit/adapters/oidc/scope-test.js index e2d51871f..f2ff52cf2 100644 --- a/ui/tests/unit/adapters/oidc/scope-test.js +++ b/ui/tests/unit/adapters/oidc/scope-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import { setupMirage } from 'ember-cli-mirage/test-support'; diff --git a/ui/tests/unit/adapters/oidc/test-helper.js b/ui/tests/unit/adapters/oidc/test-helper.js index a267cfcb7..754834607 100644 --- a/ui/tests/unit/adapters/oidc/test-helper.js +++ b/ui/tests/unit/adapters/oidc/test-helper.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export default (test) => { test('it should make request to correct endpoint on save', async function (assert) { assert.expect(1); diff --git a/ui/tests/unit/adapters/pki/action-test.js b/ui/tests/unit/adapters/pki/action-test.js index 37a224697..2a8e56b88 100644 --- a/ui/tests/unit/adapters/pki/action-test.js +++ b/ui/tests/unit/adapters/pki/action-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'vault/tests/helpers'; import { setupMirage } from 'ember-cli-mirage/test-support'; diff --git a/ui/tests/unit/adapters/pki/certificate/base-test.js b/ui/tests/unit/adapters/pki/certificate/base-test.js index 6cdd0c1cb..76419d942 100644 --- a/ui/tests/unit/adapters/pki/certificate/base-test.js +++ b/ui/tests/unit/adapters/pki/certificate/base-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'vault/tests/helpers'; import { setupMirage } from 'ember-cli-mirage/test-support'; diff --git a/ui/tests/unit/adapters/pki/certificate/generate-test.js b/ui/tests/unit/adapters/pki/certificate/generate-test.js index b809afaa6..59c2fc8f7 100644 --- a/ui/tests/unit/adapters/pki/certificate/generate-test.js +++ b/ui/tests/unit/adapters/pki/certificate/generate-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'vault/tests/helpers'; import { setupMirage } from 'ember-cli-mirage/test-support'; diff --git a/ui/tests/unit/adapters/pki/certificate/sign-test.js b/ui/tests/unit/adapters/pki/certificate/sign-test.js index 1c8652db7..8357fe207 100644 --- a/ui/tests/unit/adapters/pki/certificate/sign-test.js +++ b/ui/tests/unit/adapters/pki/certificate/sign-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'vault/tests/helpers'; import { setupMirage } from 'ember-cli-mirage/test-support'; diff --git a/ui/tests/unit/adapters/pki/key-test.js b/ui/tests/unit/adapters/pki/key-test.js index 2adea524e..70f92ca29 100644 --- a/ui/tests/unit/adapters/pki/key-test.js +++ b/ui/tests/unit/adapters/pki/key-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import { setupMirage } from 'ember-cli-mirage/test-support'; diff --git a/ui/tests/unit/adapters/pki/role-test.js b/ui/tests/unit/adapters/pki/role-test.js index 3ad99a375..04db9c42f 100644 --- a/ui/tests/unit/adapters/pki/role-test.js +++ b/ui/tests/unit/adapters/pki/role-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import { setupMirage } from 'ember-cli-mirage/test-support'; diff --git a/ui/tests/unit/adapters/pki/sign-intermediate-test.js b/ui/tests/unit/adapters/pki/sign-intermediate-test.js index 9e506853f..8d0cc969d 100644 --- a/ui/tests/unit/adapters/pki/sign-intermediate-test.js +++ b/ui/tests/unit/adapters/pki/sign-intermediate-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'vault/tests/helpers'; import { setupMirage } from 'ember-cli-mirage/test-support'; diff --git a/ui/tests/unit/adapters/pki/urls-test.js b/ui/tests/unit/adapters/pki/urls-test.js index 62b2462e3..03a0c6c7d 100644 --- a/ui/tests/unit/adapters/pki/urls-test.js +++ b/ui/tests/unit/adapters/pki/urls-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { resolve } from 'rsvp'; import { setupTest } from 'vault/tests/helpers'; diff --git a/ui/tests/unit/adapters/secret-engine-test.js b/ui/tests/unit/adapters/secret-engine-test.js index 199dd0600..620425485 100644 --- a/ui/tests/unit/adapters/secret-engine-test.js +++ b/ui/tests/unit/adapters/secret-engine-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import apiStub from 'vault/tests/helpers/noop-all-api-requests'; diff --git a/ui/tests/unit/adapters/secret-test.js b/ui/tests/unit/adapters/secret-test.js index 56f251af2..c3d7f8885 100644 --- a/ui/tests/unit/adapters/secret-test.js +++ b/ui/tests/unit/adapters/secret-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { resolve } from 'rsvp'; import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/unit/adapters/secret-v2-test.js b/ui/tests/unit/adapters/secret-v2-test.js index ab5e06678..0503bd194 100644 --- a/ui/tests/unit/adapters/secret-v2-test.js +++ b/ui/tests/unit/adapters/secret-v2-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import apiStub from 'vault/tests/helpers/noop-all-api-requests'; diff --git a/ui/tests/unit/adapters/secret-v2-version-test.js b/ui/tests/unit/adapters/secret-v2-version-test.js index 479ebb5a2..7f328828a 100644 --- a/ui/tests/unit/adapters/secret-v2-version-test.js +++ b/ui/tests/unit/adapters/secret-v2-version-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint qunit/no-conditional-assertions: "warn" */ import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/unit/adapters/tools-test.js b/ui/tests/unit/adapters/tools-test.js index 709090aa2..bded186a0 100644 --- a/ui/tests/unit/adapters/tools-test.js +++ b/ui/tests/unit/adapters/tools-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { resolve } from 'rsvp'; import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/unit/adapters/transit-key-test.js b/ui/tests/unit/adapters/transit-key-test.js index 2599b9956..ef7af8a50 100644 --- a/ui/tests/unit/adapters/transit-key-test.js +++ b/ui/tests/unit/adapters/transit-key-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { resolve } from 'rsvp'; import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/unit/components/auth-form-test.js b/ui/tests/unit/components/auth-form-test.js index d7b07d460..7bd1445fd 100644 --- a/ui/tests/unit/components/auth-form-test.js +++ b/ui/tests/unit/components/auth-form-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import { settled } from '@ember/test-helpers'; diff --git a/ui/tests/unit/components/auth-jwt-test.js b/ui/tests/unit/components/auth-jwt-test.js index 410fdce5a..733b0f279 100644 --- a/ui/tests/unit/components/auth-jwt-test.js +++ b/ui/tests/unit/components/auth-jwt-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import EmberObject from '@ember/object'; diff --git a/ui/tests/unit/components/identity/edit-form-test.js b/ui/tests/unit/components/identity/edit-form-test.js index a9762fe9c..8fdd6e4ec 100644 --- a/ui/tests/unit/components/identity/edit-form-test.js +++ b/ui/tests/unit/components/identity/edit-form-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import EmberObject from '@ember/object'; import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/unit/decorators/model-form-fields-test.js b/ui/tests/unit/decorators/model-form-fields-test.js index 6ac1859df..170db03ae 100644 --- a/ui/tests/unit/decorators/model-form-fields-test.js +++ b/ui/tests/unit/decorators/model-form-fields-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import { withFormFields } from 'vault/decorators/model-form-fields'; diff --git a/ui/tests/unit/decorators/model-validations-test.js b/ui/tests/unit/decorators/model-validations-test.js index 78f328c70..5254c1d02 100644 --- a/ui/tests/unit/decorators/model-validations-test.js +++ b/ui/tests/unit/decorators/model-validations-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import { withModelValidations } from 'vault/decorators/model-validations'; diff --git a/ui/tests/unit/helpers/await-test.js b/ui/tests/unit/helpers/await-test.js index 47e26d510..092afcf4b 100644 --- a/ui/tests/unit/helpers/await-test.js +++ b/ui/tests/unit/helpers/await-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import AwaitHelper from 'vault/helpers/await'; import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/unit/helpers/filter-wildcard-test.js b/ui/tests/unit/helpers/filter-wildcard-test.js index 6767c5f34..17baf0201 100644 --- a/ui/tests/unit/helpers/filter-wildcard-test.js +++ b/ui/tests/unit/helpers/filter-wildcard-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { filterWildcard } from 'vault/helpers/filter-wildcard'; import { module, test } from 'qunit'; diff --git a/ui/tests/unit/helpers/is-wildcard-string-test.js b/ui/tests/unit/helpers/is-wildcard-string-test.js index bbb0ba426..a71857912 100644 --- a/ui/tests/unit/helpers/is-wildcard-string-test.js +++ b/ui/tests/unit/helpers/is-wildcard-string-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { isWildcardString } from 'vault/helpers/is-wildcard-string'; import { module, test } from 'qunit'; diff --git a/ui/tests/unit/lib/attach-capabilities-test.js b/ui/tests/unit/lib/attach-capabilities-test.js index 0bf4f3742..cef31091d 100644 --- a/ui/tests/unit/lib/attach-capabilities-test.js +++ b/ui/tests/unit/lib/attach-capabilities-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model from '@ember-data/model'; import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/unit/lib/console-helpers-test.js b/ui/tests/unit/lib/console-helpers-test.js index f8d648789..8dba3c890 100644 --- a/ui/tests/unit/lib/console-helpers-test.js +++ b/ui/tests/unit/lib/console-helpers-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { parseCommand, diff --git a/ui/tests/unit/lib/kv-object-test.js b/ui/tests/unit/lib/kv-object-test.js index 1d567fb4e..eaaab59aa 100644 --- a/ui/tests/unit/lib/kv-object-test.js +++ b/ui/tests/unit/lib/kv-object-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import KVObject from 'vault/lib/kv-object'; diff --git a/ui/tests/unit/lib/local-storage-test.js b/ui/tests/unit/lib/local-storage-test.js index 9d22fb3fe..7e3b087e3 100644 --- a/ui/tests/unit/lib/local-storage-test.js +++ b/ui/tests/unit/lib/local-storage-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import LocalStorage from 'vault/lib/local-storage'; diff --git a/ui/tests/unit/lib/path-to-tree-test.js b/ui/tests/unit/lib/path-to-tree-test.js index 11966cdbe..2e9bb286d 100644 --- a/ui/tests/unit/lib/path-to-tree-test.js +++ b/ui/tests/unit/lib/path-to-tree-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import pathToTree from 'vault/lib/path-to-tree'; diff --git a/ui/tests/unit/machines/auth-machine-test.js b/ui/tests/unit/machines/auth-machine-test.js index 0fc190962..3e0fdceab 100644 --- a/ui/tests/unit/machines/auth-machine-test.js +++ b/ui/tests/unit/machines/auth-machine-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { Machine } from 'xstate'; import AuthMachineConfig from 'vault/machines/auth-machine'; diff --git a/ui/tests/unit/machines/policies-machine-test.js b/ui/tests/unit/machines/policies-machine-test.js index 2e4831693..afb627cf6 100644 --- a/ui/tests/unit/machines/policies-machine-test.js +++ b/ui/tests/unit/machines/policies-machine-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { Machine } from 'xstate'; import PoliciesMachineConfig from 'vault/machines/policies-machine'; diff --git a/ui/tests/unit/machines/replication-machine-test.js b/ui/tests/unit/machines/replication-machine-test.js index 68bf007cc..cd5a5cf78 100644 --- a/ui/tests/unit/machines/replication-machine-test.js +++ b/ui/tests/unit/machines/replication-machine-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { Machine } from 'xstate'; import ReplicationMachineConfig from 'vault/machines/replication-machine'; diff --git a/ui/tests/unit/machines/secrets-machine-test.js b/ui/tests/unit/machines/secrets-machine-test.js index b549242a0..742d6c124 100644 --- a/ui/tests/unit/machines/secrets-machine-test.js +++ b/ui/tests/unit/machines/secrets-machine-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { Machine } from 'xstate'; import SecretsMachineConfig from 'vault/machines/secrets-machine'; diff --git a/ui/tests/unit/machines/tools-machine-test.js b/ui/tests/unit/machines/tools-machine-test.js index 84dd3c0d9..c8db9fb01 100644 --- a/ui/tests/unit/machines/tools-machine-test.js +++ b/ui/tests/unit/machines/tools-machine-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { Machine } from 'xstate'; import ToolsMachineConfig from 'vault/machines/tools-machine'; diff --git a/ui/tests/unit/machines/tutorial-machine-test.js b/ui/tests/unit/machines/tutorial-machine-test.js index dee8296c6..e7bcd5964 100644 --- a/ui/tests/unit/machines/tutorial-machine-test.js +++ b/ui/tests/unit/machines/tutorial-machine-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { Machine } from 'xstate'; import TutorialMachineConfig from 'vault/machines/tutorial-machine'; diff --git a/ui/tests/unit/mixins/cluster-route-test.js b/ui/tests/unit/mixins/cluster-route-test.js index 28df39d9a..d37b8796d 100644 --- a/ui/tests/unit/mixins/cluster-route-test.js +++ b/ui/tests/unit/mixins/cluster-route-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { assign } from '@ember/polyfills'; import EmberObject from '@ember/object'; import ClusterRouteMixin from 'vault/mixins/cluster-route'; diff --git a/ui/tests/unit/models/capabilities-test.js b/ui/tests/unit/models/capabilities-test.js index 56b6f1e81..136ed97cb 100644 --- a/ui/tests/unit/models/capabilities-test.js +++ b/ui/tests/unit/models/capabilities-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import { SUDO_PATHS, SUDO_PATH_PREFIXES } from 'vault/models/capabilities'; diff --git a/ui/tests/unit/models/role-jwt-test.js b/ui/tests/unit/models/role-jwt-test.js index eedf30543..56bfa0ae6 100644 --- a/ui/tests/unit/models/role-jwt-test.js +++ b/ui/tests/unit/models/role-jwt-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint qunit/no-conditional-assertions: "warn" */ import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/unit/models/secret-engine-test.js b/ui/tests/unit/models/secret-engine-test.js index 89ba6b857..fb2c1cd2b 100644 --- a/ui/tests/unit/models/secret-engine-test.js +++ b/ui/tests/unit/models/secret-engine-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { run } from '@ember/runloop'; import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/unit/models/secret-v2-version-test.js b/ui/tests/unit/models/secret-v2-version-test.js index 8d91a5a15..e181648a8 100644 --- a/ui/tests/unit/models/secret-v2-version-test.js +++ b/ui/tests/unit/models/secret-v2-version-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { run } from '@ember/runloop'; import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/unit/models/transit-key-test.js b/ui/tests/unit/models/transit-key-test.js index 68b455df7..e1f9fef78 100644 --- a/ui/tests/unit/models/transit-key-test.js +++ b/ui/tests/unit/models/transit-key-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { run } from '@ember/runloop'; import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/unit/routes/vault/cluster/oidc-callback-test.js b/ui/tests/unit/routes/vault/cluster/oidc-callback-test.js index 31603ce70..64ed22f3b 100644 --- a/ui/tests/unit/routes/vault/cluster/oidc-callback-test.js +++ b/ui/tests/unit/routes/vault/cluster/oidc-callback-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import sinon from 'sinon'; diff --git a/ui/tests/unit/routes/vault/cluster/redirect-test.js b/ui/tests/unit/routes/vault/cluster/redirect-test.js index c854e0dab..f8b630bf5 100644 --- a/ui/tests/unit/routes/vault/cluster/redirect-test.js +++ b/ui/tests/unit/routes/vault/cluster/redirect-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import sinon from 'sinon'; diff --git a/ui/tests/unit/serializers/cluster-test.js b/ui/tests/unit/serializers/cluster-test.js index daff99c39..be256d508 100644 --- a/ui/tests/unit/serializers/cluster-test.js +++ b/ui/tests/unit/serializers/cluster-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import { validate } from 'uuid'; diff --git a/ui/tests/unit/serializers/mfa-login-enforcement-test.js b/ui/tests/unit/serializers/mfa-login-enforcement-test.js index 248789c14..78cfb57d7 100644 --- a/ui/tests/unit/serializers/mfa-login-enforcement-test.js +++ b/ui/tests/unit/serializers/mfa-login-enforcement-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/unit/serializers/pki/action-test.js b/ui/tests/unit/serializers/pki/action-test.js index d142c2fda..a2d6c638c 100644 --- a/ui/tests/unit/serializers/pki/action-test.js +++ b/ui/tests/unit/serializers/pki/action-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'vault/tests/helpers'; import { rootPem } from 'vault/tests/helpers/pki/values'; diff --git a/ui/tests/unit/serializers/policy-test.js b/ui/tests/unit/serializers/policy-test.js index c5457176d..2a61b6277 100644 --- a/ui/tests/unit/serializers/policy-test.js +++ b/ui/tests/unit/serializers/policy-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/unit/serializers/transit-key-test.js b/ui/tests/unit/serializers/transit-key-test.js index 002ec8742..df121615e 100644 --- a/ui/tests/unit/serializers/transit-key-test.js +++ b/ui/tests/unit/serializers/transit-key-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/unit/services/auth-test.js b/ui/tests/unit/services/auth-test.js index a37377be8..807ad722a 100644 --- a/ui/tests/unit/services/auth-test.js +++ b/ui/tests/unit/services/auth-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/unit/services/console-test.js b/ui/tests/unit/services/console-test.js index b3a1d3eeb..2594a7996 100644 --- a/ui/tests/unit/services/console-test.js +++ b/ui/tests/unit/services/console-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import { sanitizePath, ensureTrailingSlash } from 'vault/services/console'; diff --git a/ui/tests/unit/services/control-group-test.js b/ui/tests/unit/services/control-group-test.js index 13333b137..9edfb21fa 100644 --- a/ui/tests/unit/services/control-group-test.js +++ b/ui/tests/unit/services/control-group-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { set } from '@ember/object'; import Service from '@ember/service'; import { module, test } from 'qunit'; diff --git a/ui/tests/unit/services/feature-flag-test.js b/ui/tests/unit/services/feature-flag-test.js index 3ca5b690e..cb27a1f32 100644 --- a/ui/tests/unit/services/feature-flag-test.js +++ b/ui/tests/unit/services/feature-flag-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/unit/services/path-helper-test.js b/ui/tests/unit/services/path-helper-test.js index a350192c3..cda54dcf2 100644 --- a/ui/tests/unit/services/path-helper-test.js +++ b/ui/tests/unit/services/path-helper-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import { setupMirage } from 'ember-cli-mirage/test-support'; diff --git a/ui/tests/unit/services/permissions-test.js b/ui/tests/unit/services/permissions-test.js index 1cbb197a9..7fe53f92c 100644 --- a/ui/tests/unit/services/permissions-test.js +++ b/ui/tests/unit/services/permissions-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import Pretender from 'pretender'; diff --git a/ui/tests/unit/services/store-test.js b/ui/tests/unit/services/store-test.js index 8022f955d..a5d1e4fac 100644 --- a/ui/tests/unit/services/store-test.js +++ b/ui/tests/unit/services/store-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { resolve } from 'rsvp'; import { run } from '@ember/runloop'; import { module, test } from 'qunit'; diff --git a/ui/tests/unit/services/version-test.js b/ui/tests/unit/services/version-test.js index 177bfe8d2..e9e7d8fed 100644 --- a/ui/tests/unit/services/version-test.js +++ b/ui/tests/unit/services/version-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/unit/services/wizard-test.js b/ui/tests/unit/services/wizard-test.js index 27932df97..92ef78007 100644 --- a/ui/tests/unit/services/wizard-test.js +++ b/ui/tests/unit/services/wizard-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /* eslint qunit/no-conditional-assertions: "warn" */ import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; diff --git a/ui/tests/unit/utils/api-path-test.js b/ui/tests/unit/utils/api-path-test.js index c8d65bddd..9fc7a5bd9 100644 --- a/ui/tests/unit/utils/api-path-test.js +++ b/ui/tests/unit/utils/api-path-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import apiPath from 'vault/utils/api-path'; import { module, test } from 'qunit'; diff --git a/ui/tests/unit/utils/chart-helpers-test.js b/ui/tests/unit/utils/chart-helpers-test.js index 3f1c98710..08e8bc27d 100644 --- a/ui/tests/unit/utils/chart-helpers-test.js +++ b/ui/tests/unit/utils/chart-helpers-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { formatNumbers, formatTooltipNumber, calculateAverage } from 'vault/utils/chart-helpers'; import { module, test } from 'qunit'; diff --git a/ui/tests/unit/utils/common-prefix-test.js b/ui/tests/unit/utils/common-prefix-test.js index 345cdc1de..f1df734ed 100644 --- a/ui/tests/unit/utils/common-prefix-test.js +++ b/ui/tests/unit/utils/common-prefix-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import commonPrefix from 'core/utils/common-prefix'; import { module, test } from 'qunit'; diff --git a/ui/tests/unit/utils/decode-config-from-jwt-test.js b/ui/tests/unit/utils/decode-config-from-jwt-test.js index adfd4218d..999991ce4 100644 --- a/ui/tests/unit/utils/decode-config-from-jwt-test.js +++ b/ui/tests/unit/utils/decode-config-from-jwt-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import decodeConfigFromJWT from 'replication/utils/decode-config-from-jwt'; import { module, test } from 'qunit'; diff --git a/ui/tests/unit/utils/openapi-to-attrs-test.js b/ui/tests/unit/utils/openapi-to-attrs-test.js index 2163cea16..1ac4ba9d8 100644 --- a/ui/tests/unit/utils/openapi-to-attrs-test.js +++ b/ui/tests/unit/utils/openapi-to-attrs-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { attr } from '@ember-data/model'; import { expandOpenApiProps, combineAttributes, combineFieldGroups } from 'vault/utils/openapi-to-attrs'; import { module, test } from 'qunit'; diff --git a/ui/tests/unit/utils/trim-right-test.js b/ui/tests/unit/utils/trim-right-test.js index b7baa6a0b..28550ce06 100644 --- a/ui/tests/unit/utils/trim-right-test.js +++ b/ui/tests/unit/utils/trim-right-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import trimRight from 'vault/utils/trim-right'; import { module, test } from 'qunit'; diff --git a/ui/tests/unit/utils/validators-test.js b/ui/tests/unit/utils/validators-test.js index 40a03a41e..e375d1b9b 100644 --- a/ui/tests/unit/utils/validators-test.js +++ b/ui/tests/unit/utils/validators-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import validators from 'vault/utils/validators'; diff --git a/ui/types/ember-cli-flash/services/flash-messages.d.ts b/ui/types/ember-cli-flash/services/flash-messages.d.ts index ea399b463..409cc0ec7 100644 --- a/ui/types/ember-cli-flash/services/flash-messages.d.ts +++ b/ui/types/ember-cli-flash/services/flash-messages.d.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + declare module 'ember-cli-flash/services/flash-messages' { import Service from '@ember/service'; import FlashObject from 'ember-cli-flash/flash/object'; diff --git a/ui/types/ember-data/types/registries/adapter.d.ts b/ui/types/ember-data/types/registries/adapter.d.ts index dfcb33969..fc98874be 100644 --- a/ui/types/ember-data/types/registries/adapter.d.ts +++ b/ui/types/ember-data/types/registries/adapter.d.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Adapter from 'ember-data/adapter'; import ModelRegistry from 'ember-data/types/registries/model'; diff --git a/ui/types/ember-data/types/registries/model.d.ts b/ui/types/ember-data/types/registries/model.d.ts index 65ec937d9..793ec77d2 100644 --- a/ui/types/ember-data/types/registries/model.d.ts +++ b/ui/types/ember-data/types/registries/model.d.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model from '@ember-data/model'; import PkiActionModel from 'vault/models/pki/action'; import PkiCertificateGenerateModel from 'vault/models/pki/certificate/generate'; diff --git a/ui/types/forms.ts b/ui/types/forms.ts index e84c73543..af7532eba 100644 --- a/ui/types/forms.ts +++ b/ui/types/forms.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + export type HTMLElementEvent = Event & { target: T; currentTarget: T; diff --git a/ui/types/global.d.ts b/ui/types/global.d.ts index 4e3d36a57..ca2678eae 100644 --- a/ui/types/global.d.ts +++ b/ui/types/global.d.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // Types for compiled templates declare module 'vault/templates/*' { import { TemplateFactory } from 'ember-cli-htmlbars'; diff --git a/ui/types/vault/adapters/pki/role.d.ts b/ui/types/vault/adapters/pki/role.d.ts index c06f68c32..02910f653 100644 --- a/ui/types/vault/adapters/pki/role.d.ts +++ b/ui/types/vault/adapters/pki/role.d.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Store from '@ember-data/store'; import { AdapterRegistry } from 'ember-data/adapter'; diff --git a/ui/types/vault/app-types.ts b/ui/types/vault/app-types.ts index 5ac6cf147..e8eb28330 100644 --- a/ui/types/vault/app-types.ts +++ b/ui/types/vault/app-types.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // Type that comes back from expandAttributeMeta export interface FormField { name: string; diff --git a/ui/types/vault/index.d.ts b/ui/types/vault/index.d.ts index d2f5fc1b0..2e6df6e46 100644 --- a/ui/types/vault/index.d.ts +++ b/ui/types/vault/index.d.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Ember from 'ember'; declare global { diff --git a/ui/types/vault/models/capabilities.d.ts b/ui/types/vault/models/capabilities.d.ts index 9bbf14a1a..b0e5b9929 100644 --- a/ui/types/vault/models/capabilities.d.ts +++ b/ui/types/vault/models/capabilities.d.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import ComputedProperty from '@ember/object/computed'; import Model from '@ember-data/model'; diff --git a/ui/types/vault/models/pki/action.d.ts b/ui/types/vault/models/pki/action.d.ts index e630e7fb1..69114943d 100644 --- a/ui/types/vault/models/pki/action.d.ts +++ b/ui/types/vault/models/pki/action.d.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model from '@ember-data/model'; import { FormField, ModelValidations } from 'vault/app-types'; import CapabilitiesModel from '../capabilities'; diff --git a/ui/types/vault/models/pki/certificate/base.d.ts b/ui/types/vault/models/pki/certificate/base.d.ts index 53f37daa6..c0e158b52 100644 --- a/ui/types/vault/models/pki/certificate/base.d.ts +++ b/ui/types/vault/models/pki/certificate/base.d.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model from '@ember-data/model'; export default class PkiCertificateBaseModel extends Model { secretMountPath: class; diff --git a/ui/types/vault/models/pki/certificate/generate.d.ts b/ui/types/vault/models/pki/certificate/generate.d.ts index ed6b3347f..3a372503d 100644 --- a/ui/types/vault/models/pki/certificate/generate.d.ts +++ b/ui/types/vault/models/pki/certificate/generate.d.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import { FormField, FormFieldGroups } from 'vault/app-types'; import PkiCertificateBaseModel from './base'; diff --git a/ui/types/vault/models/pki/certificate/sign-intermediate.d.ts b/ui/types/vault/models/pki/certificate/sign-intermediate.d.ts index 8635f05bd..42ff35b99 100644 --- a/ui/types/vault/models/pki/certificate/sign-intermediate.d.ts +++ b/ui/types/vault/models/pki/certificate/sign-intermediate.d.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import PkiCertificateBaseModel from './base'; import { FormField, FormFieldGroups, ModelValidations } from 'vault/app-types'; export default class PkiCertificateSignIntermediateModel extends PkiCertificateBaseModel { diff --git a/ui/types/vault/models/pki/certificate/sign.d.ts b/ui/types/vault/models/pki/certificate/sign.d.ts index 9405c9c06..64a64485d 100644 --- a/ui/types/vault/models/pki/certificate/sign.d.ts +++ b/ui/types/vault/models/pki/certificate/sign.d.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import PkiCertificateBaseModel from './base'; import { FormField, FormFieldGroups, ModelValidations } from 'vault/app-types'; export default class PkiCertificateSignModel extends PkiCertificateBaseModel { diff --git a/ui/types/vault/models/pki/issuer.d.ts b/ui/types/vault/models/pki/issuer.d.ts index b3a3d9ffd..3550f8d74 100644 --- a/ui/types/vault/models/pki/issuer.d.ts +++ b/ui/types/vault/models/pki/issuer.d.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model from '@ember-data/model'; import { FormField, FormFieldGroups, ModelValidations } from 'vault/app-types'; export default class PkiIssuerModel extends Model { diff --git a/ui/types/vault/utils/field-to-attrs.d.ts b/ui/types/vault/utils/field-to-attrs.d.ts index 1021244cd..7d1bfbf08 100644 --- a/ui/types/vault/utils/field-to-attrs.d.ts +++ b/ui/types/vault/utils/field-to-attrs.d.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import Model from '@ember-data/model'; import { FormField, FormFieldGroups, FormFieldGroupOptions } from 'vault/app-types'; diff --git a/ui/vendor/string-includes.js b/ui/vendor/string-includes.js index 5b9cf4b2e..a7baa2170 100644 --- a/ui/vendor/string-includes.js +++ b/ui/vendor/string-includes.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // By Mozilla Contributors licensed under CC-BY-SA 2.5 (http://creativecommons.org/licenses/by-sa/2.5/) // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/includes#Polyfill if (!String.prototype.includes) { diff --git a/vault/acl.go b/vault/acl.go index 3a3f99a4c..44c82dd1d 100644 --- a/vault/acl.go +++ b/vault/acl.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/acl_test.go b/vault/acl_test.go index 5e621684b..154d26d63 100644 --- a/vault/acl_test.go +++ b/vault/acl_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/acl_util.go b/vault/acl_util.go index e05b15018..4ae90fc5e 100644 --- a/vault/acl_util.go +++ b/vault/acl_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package vault diff --git a/vault/activity/activity_log.pb.go b/vault/activity/activity_log.pb.go index 3e0ce05f0..ae4f00182 100644 --- a/vault/activity/activity_log.pb.go +++ b/vault/activity/activity_log.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 diff --git a/vault/activity/activity_log.proto b/vault/activity/activity_log.proto index 70f7e918c..67310e116 100644 --- a/vault/activity/activity_log.proto +++ b/vault/activity/activity_log.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; option go_package = "github.com/hashicorp/vault/vault/activity"; diff --git a/vault/activity/query.go b/vault/activity/query.go index 6d20e9867..c43f15663 100644 --- a/vault/activity/query.go +++ b/vault/activity/query.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package activity import ( diff --git a/vault/activity/query_test.go b/vault/activity/query_test.go index 3c81ef568..c10ab1bd1 100644 --- a/vault/activity/query_test.go +++ b/vault/activity/query_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package activity import ( diff --git a/vault/activity_log.go b/vault/activity_log.go index 965d34a66..1432ffcf6 100644 --- a/vault/activity_log.go +++ b/vault/activity_log.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/activity_log_test.go b/vault/activity_log_test.go index 1e3ee97d5..afa7fd469 100644 --- a/vault/activity_log_test.go +++ b/vault/activity_log_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/activity_log_testing_util.go b/vault/activity_log_testing_util.go index 14fe56c88..2561fc98b 100644 --- a/vault/activity_log_testing_util.go +++ b/vault/activity_log_testing_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/activity_log_util.go b/vault/activity_log_util.go index 8cfa76a0f..4ada867b8 100644 --- a/vault/activity_log_util.go +++ b/vault/activity_log_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package vault diff --git a/vault/activity_log_util_common.go b/vault/activity_log_util_common.go index acdf51dca..a57f046a2 100644 --- a/vault/activity_log_util_common.go +++ b/vault/activity_log_util_common.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/activity_log_util_common_test.go b/vault/activity_log_util_common_test.go index f0a6ce677..e40e3d6f6 100644 --- a/vault/activity_log_util_common_test.go +++ b/vault/activity_log_util_common_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/audit.go b/vault/audit.go index d8e7ce8cc..b988c092c 100644 --- a/vault/audit.go +++ b/vault/audit.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/audit_broker.go b/vault/audit_broker.go index 7559a5e68..91b2f8de9 100644 --- a/vault/audit_broker.go +++ b/vault/audit_broker.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/audit_test.go b/vault/audit_test.go index de23b4cf4..301869c72 100644 --- a/vault/audit_test.go +++ b/vault/audit_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/audited_headers.go b/vault/audited_headers.go index 4e83d9bff..70c9f467e 100644 --- a/vault/audited_headers.go +++ b/vault/audited_headers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/audited_headers_test.go b/vault/audited_headers_test.go index b1f59f1f5..940197e99 100644 --- a/vault/audited_headers_test.go +++ b/vault/audited_headers_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/auth.go b/vault/auth.go index 5632142aa..e3fc75d5d 100644 --- a/vault/auth.go +++ b/vault/auth.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/auth_test.go b/vault/auth_test.go index c895fc987..c942b30b4 100644 --- a/vault/auth_test.go +++ b/vault/auth_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/barrier.go b/vault/barrier.go index a9b4ab9ae..6048bf6a1 100644 --- a/vault/barrier.go +++ b/vault/barrier.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/barrier_access.go b/vault/barrier_access.go index 84e6e7475..3b53468b5 100644 --- a/vault/barrier_access.go +++ b/vault/barrier_access.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import "context" diff --git a/vault/barrier_aes_gcm.go b/vault/barrier_aes_gcm.go index b6f6d96df..2d7cbef42 100644 --- a/vault/barrier_aes_gcm.go +++ b/vault/barrier_aes_gcm.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/barrier_aes_gcm_test.go b/vault/barrier_aes_gcm_test.go index 92c287291..bdc9250ff 100644 --- a/vault/barrier_aes_gcm_test.go +++ b/vault/barrier_aes_gcm_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/barrier_test.go b/vault/barrier_test.go index 2c66fe748..6e2519d38 100644 --- a/vault/barrier_test.go +++ b/vault/barrier_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/barrier_view.go b/vault/barrier_view.go index 7fa0e7fcf..d6bb4b004 100644 --- a/vault/barrier_view.go +++ b/vault/barrier_view.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/barrier_view_test.go b/vault/barrier_view_test.go index 5179048f8..fc55c9165 100644 --- a/vault/barrier_view_test.go +++ b/vault/barrier_view_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/barrier_view_util.go b/vault/barrier_view_util.go index b96a4af7b..829d4e089 100644 --- a/vault/barrier_view_util.go +++ b/vault/barrier_view_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package vault diff --git a/vault/capabilities.go b/vault/capabilities.go index b070ec7d5..1e023dd9e 100644 --- a/vault/capabilities.go +++ b/vault/capabilities.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/capabilities_test.go b/vault/capabilities_test.go index e3498dc52..9c1570290 100644 --- a/vault/capabilities_test.go +++ b/vault/capabilities_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/cluster.go b/vault/cluster.go index 28060721b..f80d74f52 100644 --- a/vault/cluster.go +++ b/vault/cluster.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/cluster/cluster.go b/vault/cluster/cluster.go index fca8ca896..e83d046e7 100644 --- a/vault/cluster/cluster.go +++ b/vault/cluster/cluster.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/vault/cluster/inmem_layer.go b/vault/cluster/inmem_layer.go index 36053ec96..c2586c4bd 100644 --- a/vault/cluster/inmem_layer.go +++ b/vault/cluster/inmem_layer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/vault/cluster/inmem_layer_test.go b/vault/cluster/inmem_layer_test.go index a1484865a..3a0a52f6c 100644 --- a/vault/cluster/inmem_layer_test.go +++ b/vault/cluster/inmem_layer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/vault/cluster/simulations.go b/vault/cluster/simulations.go index 9411bf362..d30df178c 100644 --- a/vault/cluster/simulations.go +++ b/vault/cluster/simulations.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/vault/cluster/tcp_layer.go b/vault/cluster/tcp_layer.go index 475f7726c..de0fc8025 100644 --- a/vault/cluster/tcp_layer.go +++ b/vault/cluster/tcp_layer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/vault/cluster_test.go b/vault/cluster_test.go index 845259063..c146adbfc 100644 --- a/vault/cluster_test.go +++ b/vault/cluster_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/core.go b/vault/core.go index 45940ae94..ebfb1e042 100644 --- a/vault/core.go +++ b/vault/core.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/core_metrics.go b/vault/core_metrics.go index c6e719fc1..1b695c4f1 100644 --- a/vault/core_metrics.go +++ b/vault/core_metrics.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/core_metrics_test.go b/vault/core_metrics_test.go index 6fb3b179f..07147ad3f 100644 --- a/vault/core_metrics_test.go +++ b/vault/core_metrics_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/core_test.go b/vault/core_test.go index 090f871c9..6fb5f6d17 100644 --- a/vault/core_test.go +++ b/vault/core_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/core_util.go b/vault/core_util.go index 0faeee1b0..7cf66075a 100644 --- a/vault/core_util.go +++ b/vault/core_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package vault diff --git a/vault/core_util_common.go b/vault/core_util_common.go index b934901dc..2b7d4b385 100644 --- a/vault/core_util_common.go +++ b/vault/core_util_common.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/cors.go b/vault/cors.go index 57c0c3698..1e6d795a2 100644 --- a/vault/cors.go +++ b/vault/cors.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/counters.go b/vault/counters.go index aeff6eda8..bfcdadbed 100644 --- a/vault/counters.go +++ b/vault/counters.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/counters_test.go b/vault/counters_test.go index 85d92b10d..a8aa758d7 100644 --- a/vault/counters_test.go +++ b/vault/counters_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/custom_response_headers.go b/vault/custom_response_headers.go index 671b2a73f..f3f519304 100644 --- a/vault/custom_response_headers.go +++ b/vault/custom_response_headers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/custom_response_headers_test.go b/vault/custom_response_headers_test.go index b6fe85ae2..4671f1251 100644 --- a/vault/custom_response_headers_test.go +++ b/vault/custom_response_headers_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/diagnose/constants.go b/vault/diagnose/constants.go index 38071abdc..b1bfa0b06 100644 --- a/vault/diagnose/constants.go +++ b/vault/diagnose/constants.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package diagnose const ( diff --git a/vault/diagnose/file_checks.go b/vault/diagnose/file_checks.go index a38f5164f..acca5f5b4 100644 --- a/vault/diagnose/file_checks.go +++ b/vault/diagnose/file_checks.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package diagnose import ( diff --git a/vault/diagnose/file_checks_test.go b/vault/diagnose/file_checks_test.go index 1afd40dfe..aca467185 100644 --- a/vault/diagnose/file_checks_test.go +++ b/vault/diagnose/file_checks_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package diagnose import ( diff --git a/vault/diagnose/file_checks_unix.go b/vault/diagnose/file_checks_unix.go index bb78398bc..f6e7279de 100644 --- a/vault/diagnose/file_checks_unix.go +++ b/vault/diagnose/file_checks_unix.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !windows package diagnose diff --git a/vault/diagnose/file_checks_windows.go b/vault/diagnose/file_checks_windows.go index dd41353fd..6ac795dbd 100644 --- a/vault/diagnose/file_checks_windows.go +++ b/vault/diagnose/file_checks_windows.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build windows package diagnose diff --git a/vault/diagnose/helpers.go b/vault/diagnose/helpers.go index 28800a3a5..a881f0362 100644 --- a/vault/diagnose/helpers.go +++ b/vault/diagnose/helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package diagnose import ( diff --git a/vault/diagnose/helpers_test.go b/vault/diagnose/helpers_test.go index 8d83e9df2..92f71151d 100644 --- a/vault/diagnose/helpers_test.go +++ b/vault/diagnose/helpers_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package diagnose import ( diff --git a/vault/diagnose/mock_storage_backend.go b/vault/diagnose/mock_storage_backend.go index 8999d9f95..3bfad97dd 100644 --- a/vault/diagnose/mock_storage_backend.go +++ b/vault/diagnose/mock_storage_backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package diagnose import ( diff --git a/vault/diagnose/os_common.go b/vault/diagnose/os_common.go index 258c874e1..d5c4de392 100644 --- a/vault/diagnose/os_common.go +++ b/vault/diagnose/os_common.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !openbsd || !arm package diagnose diff --git a/vault/diagnose/os_openbsd_arm.go b/vault/diagnose/os_openbsd_arm.go index da2aee831..6bb4a990f 100644 --- a/vault/diagnose/os_openbsd_arm.go +++ b/vault/diagnose/os_openbsd_arm.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build openbsd && arm package diagnose diff --git a/vault/diagnose/os_unix.go b/vault/diagnose/os_unix.go index 2334a95fc..4dad013d8 100644 --- a/vault/diagnose/os_unix.go +++ b/vault/diagnose/os_unix.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !windows package diagnose diff --git a/vault/diagnose/os_windows.go b/vault/diagnose/os_windows.go index f863bb131..6a1a3e98c 100644 --- a/vault/diagnose/os_windows.go +++ b/vault/diagnose/os_windows.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build windows package diagnose diff --git a/vault/diagnose/output.go b/vault/diagnose/output.go index 6579bd4d0..719914297 100644 --- a/vault/diagnose/output.go +++ b/vault/diagnose/output.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package diagnose import ( diff --git a/vault/diagnose/raft_checks.go b/vault/diagnose/raft_checks.go index 6d95bf37f..73a101a6b 100644 --- a/vault/diagnose/raft_checks.go +++ b/vault/diagnose/raft_checks.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package diagnose import ( diff --git a/vault/diagnose/storage_checks.go b/vault/diagnose/storage_checks.go index 3c975106a..915cefa3f 100644 --- a/vault/diagnose/storage_checks.go +++ b/vault/diagnose/storage_checks.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package diagnose import ( diff --git a/vault/diagnose/storage_checks_test.go b/vault/diagnose/storage_checks_test.go index 39d9352cd..c10b81542 100644 --- a/vault/diagnose/storage_checks_test.go +++ b/vault/diagnose/storage_checks_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package diagnose import ( diff --git a/vault/diagnose/tls_verification.go b/vault/diagnose/tls_verification.go index 84bed3b21..0e4493e53 100644 --- a/vault/diagnose/tls_verification.go +++ b/vault/diagnose/tls_verification.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package diagnose import ( diff --git a/vault/diagnose/tls_verification_test.go b/vault/diagnose/tls_verification_test.go index a3463aacd..632d05aeb 100644 --- a/vault/diagnose/tls_verification_test.go +++ b/vault/diagnose/tls_verification_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package diagnose import ( diff --git a/vault/dynamic_system_view.go b/vault/dynamic_system_view.go index f6eba118e..8c547b671 100644 --- a/vault/dynamic_system_view.go +++ b/vault/dynamic_system_view.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/dynamic_system_view_test.go b/vault/dynamic_system_view_test.go index 1091f33e3..d7e252e29 100644 --- a/vault/dynamic_system_view_test.go +++ b/vault/dynamic_system_view_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/eventbus/bus.go b/vault/eventbus/bus.go index 917638018..6f66d423b 100644 --- a/vault/eventbus/bus.go +++ b/vault/eventbus/bus.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package eventbus import ( diff --git a/vault/eventbus/bus_test.go b/vault/eventbus/bus_test.go index e0ac46c83..396de6801 100644 --- a/vault/eventbus/bus_test.go +++ b/vault/eventbus/bus_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package eventbus import ( diff --git a/vault/events_test.go b/vault/events_test.go index 97d1968e0..986326f94 100644 --- a/vault/events_test.go +++ b/vault/events_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/expiration.go b/vault/expiration.go index a49fed466..59f773895 100644 --- a/vault/expiration.go +++ b/vault/expiration.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/expiration_integ_test.go b/vault/expiration_integ_test.go index 2e2d54fcc..9570df11a 100644 --- a/vault/expiration_integ_test.go +++ b/vault/expiration_integ_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault_test import ( diff --git a/vault/expiration_test.go b/vault/expiration_test.go index 32276749f..eda7e9ccc 100644 --- a/vault/expiration_test.go +++ b/vault/expiration_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/expiration_testing_util_common.go b/vault/expiration_testing_util_common.go index 7bd47e71d..4ef0a743d 100644 --- a/vault/expiration_testing_util_common.go +++ b/vault/expiration_testing_util_common.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/expiration_util.go b/vault/expiration_util.go index 2170c5c82..c97a43697 100644 --- a/vault/expiration_util.go +++ b/vault/expiration_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package vault diff --git a/vault/external_plugin_test.go b/vault/external_plugin_test.go index 22bb93aa3..756d99ac8 100644 --- a/vault/external_plugin_test.go +++ b/vault/external_plugin_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/external_tests/api/api_integration_test.go b/vault/external_tests/api/api_integration_test.go index f0760fc74..4aaba2809 100644 --- a/vault/external_tests/api/api_integration_test.go +++ b/vault/external_tests/api/api_integration_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/vault/external_tests/api/feature_flag_ext_test.go b/vault/external_tests/api/feature_flag_ext_test.go index 6b042250a..d7ff8e057 100644 --- a/vault/external_tests/api/feature_flag_ext_test.go +++ b/vault/external_tests/api/feature_flag_ext_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/vault/external_tests/api/kv_helpers_test.go b/vault/external_tests/api/kv_helpers_test.go index f005a35d9..fdc465e8f 100644 --- a/vault/external_tests/api/kv_helpers_test.go +++ b/vault/external_tests/api/kv_helpers_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/vault/external_tests/api/renewer_integration_test.go b/vault/external_tests/api/renewer_integration_test.go index 6413eb18e..eb9e8f073 100644 --- a/vault/external_tests/api/renewer_integration_test.go +++ b/vault/external_tests/api/renewer_integration_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/vault/external_tests/api/secret_test.go b/vault/external_tests/api/secret_test.go index c904c0a59..a75e78d79 100644 --- a/vault/external_tests/api/secret_test.go +++ b/vault/external_tests/api/secret_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/vault/external_tests/api/sudo_paths_test.go b/vault/external_tests/api/sudo_paths_test.go index 9d70711a9..0ca470f1d 100644 --- a/vault/external_tests/api/sudo_paths_test.go +++ b/vault/external_tests/api/sudo_paths_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/vault/external_tests/api/sys_rekey_ext_test.go b/vault/external_tests/api/sys_rekey_ext_test.go index 8f60eab9b..5ab128166 100644 --- a/vault/external_tests/api/sys_rekey_ext_test.go +++ b/vault/external_tests/api/sys_rekey_ext_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/vault/external_tests/approle/wrapped_secretid_test.go b/vault/external_tests/approle/wrapped_secretid_test.go index 6a90d5c7b..d5e56f4b2 100644 --- a/vault/external_tests/approle/wrapped_secretid_test.go +++ b/vault/external_tests/approle/wrapped_secretid_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package approle import ( diff --git a/vault/external_tests/expiration/expiration_test.go b/vault/external_tests/expiration/expiration_test.go index 122e11f18..4155c6778 100644 --- a/vault/external_tests/expiration/expiration_test.go +++ b/vault/external_tests/expiration/expiration_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package expiration import ( diff --git a/vault/external_tests/hcp_link/hcp_link_test.go b/vault/external_tests/hcp_link/hcp_link_test.go index 84a101a10..0a32c3246 100644 --- a/vault/external_tests/hcp_link/hcp_link_test.go +++ b/vault/external_tests/hcp_link/hcp_link_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcp_link import ( diff --git a/vault/external_tests/hcp_link/test_helpers.go b/vault/external_tests/hcp_link/test_helpers.go index 4b729b0b0..b3713428e 100644 --- a/vault/external_tests/hcp_link/test_helpers.go +++ b/vault/external_tests/hcp_link/test_helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcp_link import ( diff --git a/vault/external_tests/identity/aliases_test.go b/vault/external_tests/identity/aliases_test.go index 747bd6a6f..26147dd61 100644 --- a/vault/external_tests/identity/aliases_test.go +++ b/vault/external_tests/identity/aliases_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package identity import ( diff --git a/vault/external_tests/identity/entities_test.go b/vault/external_tests/identity/entities_test.go index 3e92ae34e..a0ab4eb2a 100644 --- a/vault/external_tests/identity/entities_test.go +++ b/vault/external_tests/identity/entities_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package identity import ( diff --git a/vault/external_tests/identity/group_aliases_test.go b/vault/external_tests/identity/group_aliases_test.go index b75533b56..d090033d5 100644 --- a/vault/external_tests/identity/group_aliases_test.go +++ b/vault/external_tests/identity/group_aliases_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package identity import ( diff --git a/vault/external_tests/identity/groups_test.go b/vault/external_tests/identity/groups_test.go index 12dd29a51..d79cc128c 100644 --- a/vault/external_tests/identity/groups_test.go +++ b/vault/external_tests/identity/groups_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package identity import ( diff --git a/vault/external_tests/identity/identity_test.go b/vault/external_tests/identity/identity_test.go index 0b97d72e9..f8281234e 100644 --- a/vault/external_tests/identity/identity_test.go +++ b/vault/external_tests/identity/identity_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package identity import ( diff --git a/vault/external_tests/identity/login_mfa_duo_test.go b/vault/external_tests/identity/login_mfa_duo_test.go index e5fb328cd..0ba4b0fd4 100644 --- a/vault/external_tests/identity/login_mfa_duo_test.go +++ b/vault/external_tests/identity/login_mfa_duo_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package identity import ( diff --git a/vault/external_tests/identity/login_mfa_okta_test.go b/vault/external_tests/identity/login_mfa_okta_test.go index 7c5ce3b63..788f614f9 100644 --- a/vault/external_tests/identity/login_mfa_okta_test.go +++ b/vault/external_tests/identity/login_mfa_okta_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package identity import ( diff --git a/vault/external_tests/identity/login_mfa_totp_test.go b/vault/external_tests/identity/login_mfa_totp_test.go index 9c2300589..3244d9259 100644 --- a/vault/external_tests/identity/login_mfa_totp_test.go +++ b/vault/external_tests/identity/login_mfa_totp_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package identity import ( diff --git a/vault/external_tests/identity/oidc_provider_test.go b/vault/external_tests/identity/oidc_provider_test.go index 3b8495660..d86246415 100644 --- a/vault/external_tests/identity/oidc_provider_test.go +++ b/vault/external_tests/identity/oidc_provider_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package identity import ( diff --git a/vault/external_tests/identity/userlockouts_test.go b/vault/external_tests/identity/userlockouts_test.go index 5653776d3..2ff49f180 100644 --- a/vault/external_tests/identity/userlockouts_test.go +++ b/vault/external_tests/identity/userlockouts_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package identity import ( diff --git a/vault/external_tests/kv/kv_patch_test.go b/vault/external_tests/kv/kv_patch_test.go index 2228097ca..4815ca1e5 100644 --- a/vault/external_tests/kv/kv_patch_test.go +++ b/vault/external_tests/kv/kv_patch_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kv import ( diff --git a/vault/external_tests/kv/kv_subkeys_test.go b/vault/external_tests/kv/kv_subkeys_test.go index 116d41a7a..c90641048 100644 --- a/vault/external_tests/kv/kv_subkeys_test.go +++ b/vault/external_tests/kv/kv_subkeys_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kv import ( diff --git a/vault/external_tests/kv/kvv2_upgrade_test.go b/vault/external_tests/kv/kvv2_upgrade_test.go index 3d3eb486f..3650f3da3 100644 --- a/vault/external_tests/kv/kvv2_upgrade_test.go +++ b/vault/external_tests/kv/kvv2_upgrade_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kv import ( diff --git a/vault/external_tests/metrics/core_metrics_int_test.go b/vault/external_tests/metrics/core_metrics_int_test.go index ff0fd87c6..0f57156e6 100644 --- a/vault/external_tests/metrics/core_metrics_int_test.go +++ b/vault/external_tests/metrics/core_metrics_int_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metrics import ( diff --git a/vault/external_tests/mfa/login_mfa_test.go b/vault/external_tests/mfa/login_mfa_test.go index 10b917d1b..39c799d29 100644 --- a/vault/external_tests/mfa/login_mfa_test.go +++ b/vault/external_tests/mfa/login_mfa_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mfa import ( diff --git a/vault/external_tests/misc/recover_from_panic_test.go b/vault/external_tests/misc/recover_from_panic_test.go index 403b589e2..ae3b82cb9 100644 --- a/vault/external_tests/misc/recover_from_panic_test.go +++ b/vault/external_tests/misc/recover_from_panic_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package misc import ( diff --git a/vault/external_tests/misc/recovery_test.go b/vault/external_tests/misc/recovery_test.go index f43fff8d1..8aaa6df72 100644 --- a/vault/external_tests/misc/recovery_test.go +++ b/vault/external_tests/misc/recovery_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package misc import ( diff --git a/vault/external_tests/plugin/external_plugin_test.go b/vault/external_tests/plugin/external_plugin_test.go index cdb6da225..a3ad8b59f 100644 --- a/vault/external_tests/plugin/external_plugin_test.go +++ b/vault/external_tests/plugin/external_plugin_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin_test import ( diff --git a/vault/external_tests/plugin/plugin_test.go b/vault/external_tests/plugin/plugin_test.go index 6c33c2615..e9d1f72f8 100644 --- a/vault/external_tests/plugin/plugin_test.go +++ b/vault/external_tests/plugin/plugin_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin_test import ( diff --git a/vault/external_tests/policy/acl_templating_test.go b/vault/external_tests/policy/acl_templating_test.go index 396222363..712e2be40 100644 --- a/vault/external_tests/policy/acl_templating_test.go +++ b/vault/external_tests/policy/acl_templating_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package policy import ( diff --git a/vault/external_tests/policy/policy_test.go b/vault/external_tests/policy/policy_test.go index 9e9af07fb..0a4ce6c9f 100644 --- a/vault/external_tests/policy/policy_test.go +++ b/vault/external_tests/policy/policy_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package policy import ( diff --git a/vault/external_tests/pprof/pprof_test.go b/vault/external_tests/pprof/pprof_test.go index 7176bc96d..225e609ab 100644 --- a/vault/external_tests/pprof/pprof_test.go +++ b/vault/external_tests/pprof/pprof_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pprof import ( diff --git a/vault/external_tests/quotas/quotas_test.go b/vault/external_tests/quotas/quotas_test.go index b70913169..c06f2440a 100644 --- a/vault/external_tests/quotas/quotas_test.go +++ b/vault/external_tests/quotas/quotas_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package quotas import ( diff --git a/vault/external_tests/raft/raft_autopilot_test.go b/vault/external_tests/raft/raft_autopilot_test.go index c37bcdd8b..8ae9691e9 100644 --- a/vault/external_tests/raft/raft_autopilot_test.go +++ b/vault/external_tests/raft/raft_autopilot_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package rafttests import ( diff --git a/vault/external_tests/raft/raft_test.go b/vault/external_tests/raft/raft_test.go index f14604ee1..4e8f94a83 100644 --- a/vault/external_tests/raft/raft_test.go +++ b/vault/external_tests/raft/raft_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package rafttests import ( diff --git a/vault/external_tests/raftha/raft_ha_test.go b/vault/external_tests/raftha/raft_ha_test.go index 0b33b0f89..92bbfea7b 100644 --- a/vault/external_tests/raftha/raft_ha_test.go +++ b/vault/external_tests/raftha/raft_ha_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package raftha import ( diff --git a/vault/external_tests/response/allowed_response_headers_test.go b/vault/external_tests/response/allowed_response_headers_test.go index 3232b27bf..379c3f86d 100644 --- a/vault/external_tests/response/allowed_response_headers_test.go +++ b/vault/external_tests/response/allowed_response_headers_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package identity import ( diff --git a/vault/external_tests/router/router_ext_test.go b/vault/external_tests/router/router_ext_test.go index bf4018c28..8b9c9d50c 100644 --- a/vault/external_tests/router/router_ext_test.go +++ b/vault/external_tests/router/router_ext_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package router import ( diff --git a/vault/external_tests/sealmigration/seal_migration_pre14_test.go b/vault/external_tests/sealmigration/seal_migration_pre14_test.go index b62ff45cd..ff42b940d 100644 --- a/vault/external_tests/sealmigration/seal_migration_pre14_test.go +++ b/vault/external_tests/sealmigration/seal_migration_pre14_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sealmigration import ( diff --git a/vault/external_tests/sealmigration/seal_migration_test.go b/vault/external_tests/sealmigration/seal_migration_test.go index 8edec949e..a67b0351f 100644 --- a/vault/external_tests/sealmigration/seal_migration_test.go +++ b/vault/external_tests/sealmigration/seal_migration_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sealmigration import ( diff --git a/vault/external_tests/sealmigration/testshared.go b/vault/external_tests/sealmigration/testshared.go index 4cce30449..5981c966b 100644 --- a/vault/external_tests/sealmigration/testshared.go +++ b/vault/external_tests/sealmigration/testshared.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sealmigration import ( diff --git a/vault/external_tests/sealmigrationext/seal_migration_pre14_test.go b/vault/external_tests/sealmigrationext/seal_migration_pre14_test.go index 664998120..8f2ab4236 100644 --- a/vault/external_tests/sealmigrationext/seal_migration_pre14_test.go +++ b/vault/external_tests/sealmigrationext/seal_migration_pre14_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sealmigrationext import ( diff --git a/vault/external_tests/token/batch_token_test.go b/vault/external_tests/token/batch_token_test.go index a344b5eed..68f7e104b 100644 --- a/vault/external_tests/token/batch_token_test.go +++ b/vault/external_tests/token/batch_token_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package token import ( diff --git a/vault/external_tests/token/token_test.go b/vault/external_tests/token/token_test.go index 16cac188c..8ae29051e 100644 --- a/vault/external_tests/token/token_test.go +++ b/vault/external_tests/token/token_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package token import ( diff --git a/vault/forwarded_writer_oss.go b/vault/forwarded_writer_oss.go index 7d44e88e5..6779a4d58 100644 --- a/vault/forwarded_writer_oss.go +++ b/vault/forwarded_writer_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package vault diff --git a/vault/generate_root.go b/vault/generate_root.go index ec530ff96..aab4421da 100644 --- a/vault/generate_root.go +++ b/vault/generate_root.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/generate_root_recovery.go b/vault/generate_root_recovery.go index 9757c42e5..236ec976e 100644 --- a/vault/generate_root_recovery.go +++ b/vault/generate_root_recovery.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/generate_root_test.go b/vault/generate_root_test.go index 7b80d3a44..5c554b9d7 100644 --- a/vault/generate_root_test.go +++ b/vault/generate_root_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/ha.go b/vault/ha.go index 60ff85ba7..fdd6d9b33 100644 --- a/vault/ha.go +++ b/vault/ha.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/ha_test.go b/vault/ha_test.go index 03208b80d..ca2e3801b 100644 --- a/vault/ha_test.go +++ b/vault/ha_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/hcp_link/capabilities/api_capability/api_capability.go b/vault/hcp_link/capabilities/api_capability/api_capability.go index 0000c5f20..3bf9b993b 100644 --- a/vault/hcp_link/capabilities/api_capability/api_capability.go +++ b/vault/hcp_link/capabilities/api_capability/api_capability.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api_capability import ( diff --git a/vault/hcp_link/capabilities/api_capability/api_passthrough.go b/vault/hcp_link/capabilities/api_capability/api_passthrough.go index 55c64840f..2384f7903 100644 --- a/vault/hcp_link/capabilities/api_capability/api_passthrough.go +++ b/vault/hcp_link/capabilities/api_capability/api_passthrough.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api_capability import ( diff --git a/vault/hcp_link/capabilities/api_capability/token_manager.go b/vault/hcp_link/capabilities/api_capability/token_manager.go index 312473c36..ab84da802 100644 --- a/vault/hcp_link/capabilities/api_capability/token_manager.go +++ b/vault/hcp_link/capabilities/api_capability/token_manager.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api_capability import ( diff --git a/vault/hcp_link/capabilities/api_capability/token_manager_test.go b/vault/hcp_link/capabilities/api_capability/token_manager_test.go index 0befd58d8..05a8547d5 100644 --- a/vault/hcp_link/capabilities/api_capability/token_manager_test.go +++ b/vault/hcp_link/capabilities/api_capability/token_manager_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api_capability import ( diff --git a/vault/hcp_link/capabilities/capability.go b/vault/hcp_link/capabilities/capability.go index 3e6791aff..a4e5d704a 100644 --- a/vault/hcp_link/capabilities/capability.go +++ b/vault/hcp_link/capabilities/capability.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package capabilities const ( diff --git a/vault/hcp_link/capabilities/link_control/link_control.go b/vault/hcp_link/capabilities/link_control/link_control.go index 03a661731..e7fc909e0 100644 --- a/vault/hcp_link/capabilities/link_control/link_control.go +++ b/vault/hcp_link/capabilities/link_control/link_control.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package link_control import ( diff --git a/vault/hcp_link/capabilities/meta/meta.go b/vault/hcp_link/capabilities/meta/meta.go index 1cab1aef7..c3ad46a3f 100644 --- a/vault/hcp_link/capabilities/meta/meta.go +++ b/vault/hcp_link/capabilities/meta/meta.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package meta import ( diff --git a/vault/hcp_link/capabilities/node_status/node_status.go b/vault/hcp_link/capabilities/node_status/node_status.go index 7407a9bb8..07840ede0 100644 --- a/vault/hcp_link/capabilities/node_status/node_status.go +++ b/vault/hcp_link/capabilities/node_status/node_status.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package node_status import ( diff --git a/vault/hcp_link/internal/config.go b/vault/hcp_link/internal/config.go index c4e0c66e0..8357eca34 100644 --- a/vault/hcp_link/internal/config.go +++ b/vault/hcp_link/internal/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package internal import ( diff --git a/vault/hcp_link/internal/wrapped_hcpLink.go b/vault/hcp_link/internal/wrapped_hcpLink.go index 19fe4bea1..ea9941f01 100644 --- a/vault/hcp_link/internal/wrapped_hcpLink.go +++ b/vault/hcp_link/internal/wrapped_hcpLink.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package internal import ( diff --git a/vault/hcp_link/link.go b/vault/hcp_link/link.go index cf2c4d72b..834ae6665 100644 --- a/vault/hcp_link/link.go +++ b/vault/hcp_link/link.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcp_link import ( diff --git a/vault/hcp_link/proto/link_control/link_control.pb.go b/vault/hcp_link/proto/link_control/link_control.pb.go index e64a0c795..d6cb866ca 100644 --- a/vault/hcp_link/proto/link_control/link_control.pb.go +++ b/vault/hcp_link/proto/link_control/link_control.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 diff --git a/vault/hcp_link/proto/link_control/link_control.proto b/vault/hcp_link/proto/link_control/link_control.proto index 7a680e2e8..08431edfc 100644 --- a/vault/hcp_link/proto/link_control/link_control.proto +++ b/vault/hcp_link/proto/link_control/link_control.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; option go_package = "github.com/hashicorp/vault/vault/hcp_link/proto/link_control"; diff --git a/vault/hcp_link/proto/meta/meta.pb.go b/vault/hcp_link/proto/meta/meta.pb.go index 3f5b87597..4f251a08b 100644 --- a/vault/hcp_link/proto/meta/meta.pb.go +++ b/vault/hcp_link/proto/meta/meta.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 diff --git a/vault/hcp_link/proto/meta/meta.proto b/vault/hcp_link/proto/meta/meta.proto index 7f4c487c7..4e0613812 100644 --- a/vault/hcp_link/proto/meta/meta.proto +++ b/vault/hcp_link/proto/meta/meta.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; option go_package = "github.com/hashicorp/vault/vault/hcp_link/proto/meta"; diff --git a/vault/hcp_link/proto/node_status/status.pb.go b/vault/hcp_link/proto/node_status/status.pb.go index bab704d3f..1436e465f 100644 --- a/vault/hcp_link/proto/node_status/status.pb.go +++ b/vault/hcp_link/proto/node_status/status.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 diff --git a/vault/hcp_link/proto/node_status/status.proto b/vault/hcp_link/proto/node_status/status.proto index 9a7bdcdc7..618a93beb 100644 --- a/vault/hcp_link/proto/node_status/status.proto +++ b/vault/hcp_link/proto/node_status/status.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; option go_package = "github.com/hashicorp/vault/vault/hcp_link/proto/node_status"; diff --git a/vault/identity_lookup.go b/vault/identity_lookup.go index a85577a7b..fd4d8484f 100644 --- a/vault/identity_lookup.go +++ b/vault/identity_lookup.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/identity_lookup_test.go b/vault/identity_lookup_test.go index c1cbc19dd..80d6bef07 100644 --- a/vault/identity_lookup_test.go +++ b/vault/identity_lookup_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/identity_store.go b/vault/identity_store.go index 363dcae4f..5d6581057 100644 --- a/vault/identity_store.go +++ b/vault/identity_store.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/identity_store_aliases.go b/vault/identity_store_aliases.go index 1fe3c3126..94b6084a2 100644 --- a/vault/identity_store_aliases.go +++ b/vault/identity_store_aliases.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/identity_store_aliases_test.go b/vault/identity_store_aliases_test.go index 6c0f7a0f0..b62aca78a 100644 --- a/vault/identity_store_aliases_test.go +++ b/vault/identity_store_aliases_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/identity_store_entities.go b/vault/identity_store_entities.go index f284dcedd..643dd0e83 100644 --- a/vault/identity_store_entities.go +++ b/vault/identity_store_entities.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/identity_store_entities_test.go b/vault/identity_store_entities_test.go index aefaadcad..179680ccd 100644 --- a/vault/identity_store_entities_test.go +++ b/vault/identity_store_entities_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/identity_store_group_aliases.go b/vault/identity_store_group_aliases.go index 90effd2b1..c6e776906 100644 --- a/vault/identity_store_group_aliases.go +++ b/vault/identity_store_group_aliases.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/identity_store_group_aliases_test.go b/vault/identity_store_group_aliases_test.go index cb6d01df3..7abd4b90d 100644 --- a/vault/identity_store_group_aliases_test.go +++ b/vault/identity_store_group_aliases_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/identity_store_groups.go b/vault/identity_store_groups.go index 224521d8c..bc74e76b5 100644 --- a/vault/identity_store_groups.go +++ b/vault/identity_store_groups.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/identity_store_groups_test.go b/vault/identity_store_groups_test.go index 3407e3a5e..96c6011b4 100644 --- a/vault/identity_store_groups_test.go +++ b/vault/identity_store_groups_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/identity_store_oidc.go b/vault/identity_store_oidc.go index 377af0fd5..06a1dc9df 100644 --- a/vault/identity_store_oidc.go +++ b/vault/identity_store_oidc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/identity_store_oidc_provider.go b/vault/identity_store_oidc_provider.go index 39107f6a5..639f5d38a 100644 --- a/vault/identity_store_oidc_provider.go +++ b/vault/identity_store_oidc_provider.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/identity_store_oidc_provider_test.go b/vault/identity_store_oidc_provider_test.go index a0f3e06e1..b8163083d 100644 --- a/vault/identity_store_oidc_provider_test.go +++ b/vault/identity_store_oidc_provider_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/identity_store_oidc_provider_util.go b/vault/identity_store_oidc_provider_util.go index 8f5f99b16..637875758 100644 --- a/vault/identity_store_oidc_provider_util.go +++ b/vault/identity_store_oidc_provider_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/identity_store_oidc_test.go b/vault/identity_store_oidc_test.go index f7be0e991..ea63b5150 100644 --- a/vault/identity_store_oidc_test.go +++ b/vault/identity_store_oidc_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/identity_store_oidc_util.go b/vault/identity_store_oidc_util.go index 8a959e415..54ab4f1db 100644 --- a/vault/identity_store_oidc_util.go +++ b/vault/identity_store_oidc_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package vault diff --git a/vault/identity_store_oss.go b/vault/identity_store_oss.go index bae17ff49..100e39d41 100644 --- a/vault/identity_store_oss.go +++ b/vault/identity_store_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package vault diff --git a/vault/identity_store_schema.go b/vault/identity_store_schema.go index 186f99c5a..937e0d20e 100644 --- a/vault/identity_store_schema.go +++ b/vault/identity_store_schema.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/identity_store_structs.go b/vault/identity_store_structs.go index bade5f40d..e7c9fb9ac 100644 --- a/vault/identity_store_structs.go +++ b/vault/identity_store_structs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/identity_store_test.go b/vault/identity_store_test.go index 8cc6e4eae..f9dc7cac1 100644 --- a/vault/identity_store_test.go +++ b/vault/identity_store_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/identity_store_upgrade.go b/vault/identity_store_upgrade.go index 2c28925d7..a3c507b47 100644 --- a/vault/identity_store_upgrade.go +++ b/vault/identity_store_upgrade.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/identity_store_util.go b/vault/identity_store_util.go index 2eeef336f..4310fdf6a 100644 --- a/vault/identity_store_util.go +++ b/vault/identity_store_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/init.go b/vault/init.go index e148ef365..1f398b158 100644 --- a/vault/init.go +++ b/vault/init.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/init_test.go b/vault/init_test.go index 079693cff..4b7e62cf9 100644 --- a/vault/init_test.go +++ b/vault/init_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/inspectable.go b/vault/inspectable.go index 9e66c123e..238af5814 100644 --- a/vault/inspectable.go +++ b/vault/inspectable.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault type Inspectable interface { diff --git a/vault/inspectable_test.go b/vault/inspectable_test.go index ff6a1648a..bb09cfcff 100644 --- a/vault/inspectable_test.go +++ b/vault/inspectable_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/keyring.go b/vault/keyring.go index 1add9fbc0..858ce2082 100644 --- a/vault/keyring.go +++ b/vault/keyring.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/keyring_test.go b/vault/keyring_test.go index bb6a50475..fcbff531c 100644 --- a/vault/keyring_test.go +++ b/vault/keyring_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/logical_cubbyhole.go b/vault/logical_cubbyhole.go index 4f869747c..f90b920b9 100644 --- a/vault/logical_cubbyhole.go +++ b/vault/logical_cubbyhole.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/logical_cubbyhole_test.go b/vault/logical_cubbyhole_test.go index d6df986a2..108319fe0 100644 --- a/vault/logical_cubbyhole_test.go +++ b/vault/logical_cubbyhole_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/logical_passthrough.go b/vault/logical_passthrough.go index d67307f36..566b7aa9f 100644 --- a/vault/logical_passthrough.go +++ b/vault/logical_passthrough.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/logical_passthrough_test.go b/vault/logical_passthrough_test.go index 6baba86b4..019db5e1b 100644 --- a/vault/logical_passthrough_test.go +++ b/vault/logical_passthrough_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/logical_raw.go b/vault/logical_raw.go index 827a77c6b..624b6fc03 100644 --- a/vault/logical_raw.go +++ b/vault/logical_raw.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/logical_system.go b/vault/logical_system.go index 87b540919..482af4be9 100644 --- a/vault/logical_system.go +++ b/vault/logical_system.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/logical_system_activity.go b/vault/logical_system_activity.go index 4d743379d..40ded2364 100644 --- a/vault/logical_system_activity.go +++ b/vault/logical_system_activity.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/logical_system_helpers.go b/vault/logical_system_helpers.go index c9f03e567..0bfc5370d 100644 --- a/vault/logical_system_helpers.go +++ b/vault/logical_system_helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/logical_system_integ_test.go b/vault/logical_system_integ_test.go index 3287fdaf0..6bf2a64e1 100644 --- a/vault/logical_system_integ_test.go +++ b/vault/logical_system_integ_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault_test import ( diff --git a/vault/logical_system_paths.go b/vault/logical_system_paths.go index 8da7eacf6..accc2e845 100644 --- a/vault/logical_system_paths.go +++ b/vault/logical_system_paths.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/logical_system_pprof.go b/vault/logical_system_pprof.go index 8e3d87846..3b5f67a3e 100644 --- a/vault/logical_system_pprof.go +++ b/vault/logical_system_pprof.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/logical_system_quotas.go b/vault/logical_system_quotas.go index 3795a026e..af0dfe008 100644 --- a/vault/logical_system_quotas.go +++ b/vault/logical_system_quotas.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/logical_system_raft.go b/vault/logical_system_raft.go index b31c5535e..6faafacec 100644 --- a/vault/logical_system_raft.go +++ b/vault/logical_system_raft.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/logical_system_test.go b/vault/logical_system_test.go index 4647f0ddf..82e0b1d5a 100644 --- a/vault/logical_system_test.go +++ b/vault/logical_system_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/logical_system_user_lockout.go b/vault/logical_system_user_lockout.go index b8663f5be..c255c9de5 100644 --- a/vault/logical_system_user_lockout.go +++ b/vault/logical_system_user_lockout.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/logical_system_util.go b/vault/logical_system_util.go index ba87e243b..f90b4e71e 100644 --- a/vault/logical_system_util.go +++ b/vault/logical_system_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package vault diff --git a/vault/login_mfa.go b/vault/login_mfa.go index 28f126423..2f2ee23af 100644 --- a/vault/login_mfa.go +++ b/vault/login_mfa.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/login_mfa_test.go b/vault/login_mfa_test.go index 823350ecc..45bb1bacd 100644 --- a/vault/login_mfa_test.go +++ b/vault/login_mfa_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/managed_key_registry.go b/vault/managed_key_registry.go index eaf6f5449..42e2015bb 100644 --- a/vault/managed_key_registry.go +++ b/vault/managed_key_registry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package vault diff --git a/vault/mfa_auth_resp_priority_queue.go b/vault/mfa_auth_resp_priority_queue.go index 615b343dc..53c88bef1 100644 --- a/vault/mfa_auth_resp_priority_queue.go +++ b/vault/mfa_auth_resp_priority_queue.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/mfa_auth_resp_priority_queue_test.go b/vault/mfa_auth_resp_priority_queue_test.go index b8930158b..fc3e5a1c5 100644 --- a/vault/mfa_auth_resp_priority_queue_test.go +++ b/vault/mfa_auth_resp_priority_queue_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/mount.go b/vault/mount.go index 2f545fa87..baf41c9f1 100644 --- a/vault/mount.go +++ b/vault/mount.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/mount_test.go b/vault/mount_test.go index 7b45e788e..f73ce3876 100644 --- a/vault/mount_test.go +++ b/vault/mount_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/mount_util.go b/vault/mount_util.go index 4972e70a8..c0ebbdbe4 100644 --- a/vault/mount_util.go +++ b/vault/mount_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package vault diff --git a/vault/mount_util_shared.go b/vault/mount_util_shared.go index 3c20a8e6b..fffd3cb93 100644 --- a/vault/mount_util_shared.go +++ b/vault/mount_util_shared.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/namespaces.go b/vault/namespaces.go index 49339922f..fbff5ee4b 100644 --- a/vault/namespaces.go +++ b/vault/namespaces.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/namespaces_oss.go b/vault/namespaces_oss.go index 90d1dfbdd..13b93372e 100644 --- a/vault/namespaces_oss.go +++ b/vault/namespaces_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package vault diff --git a/vault/password_policy_util.go b/vault/password_policy_util.go index 4db38d1c1..a5cfcb377 100644 --- a/vault/password_policy_util.go +++ b/vault/password_policy_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package vault diff --git a/vault/plugin_catalog.go b/vault/plugin_catalog.go index 19e19ea75..4c81d4500 100644 --- a/vault/plugin_catalog.go +++ b/vault/plugin_catalog.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/plugin_catalog_test.go b/vault/plugin_catalog_test.go index d1b469f05..07587836a 100644 --- a/vault/plugin_catalog_test.go +++ b/vault/plugin_catalog_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/plugin_reload.go b/vault/plugin_reload.go index deae7054f..a2cc7fdbc 100644 --- a/vault/plugin_reload.go +++ b/vault/plugin_reload.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/policy.go b/vault/policy.go index bdd93bffb..f757ab075 100644 --- a/vault/policy.go +++ b/vault/policy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/policy_store.go b/vault/policy_store.go index ea9b322a5..edde91dcc 100644 --- a/vault/policy_store.go +++ b/vault/policy_store.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/policy_store_test.go b/vault/policy_store_test.go index 34eb31553..624f28067 100644 --- a/vault/policy_store_test.go +++ b/vault/policy_store_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/policy_store_util.go b/vault/policy_store_util.go index 75098c1a2..65cd056d8 100644 --- a/vault/policy_store_util.go +++ b/vault/policy_store_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package vault diff --git a/vault/policy_test.go b/vault/policy_test.go index 7f09d7cb2..e7323da14 100644 --- a/vault/policy_test.go +++ b/vault/policy_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/policy_util.go b/vault/policy_util.go index 06c2c709d..5443618f1 100644 --- a/vault/policy_util.go +++ b/vault/policy_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package vault diff --git a/vault/quotas/quotas.go b/vault/quotas/quotas.go index deb2d352f..624b5ccf8 100644 --- a/vault/quotas/quotas.go +++ b/vault/quotas/quotas.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package quotas import ( diff --git a/vault/quotas/quotas_rate_limit.go b/vault/quotas/quotas_rate_limit.go index 4774259a3..bd000e1da 100644 --- a/vault/quotas/quotas_rate_limit.go +++ b/vault/quotas/quotas_rate_limit.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package quotas import ( diff --git a/vault/quotas/quotas_rate_limit_test.go b/vault/quotas/quotas_rate_limit_test.go index a117ee78c..ff5711acf 100644 --- a/vault/quotas/quotas_rate_limit_test.go +++ b/vault/quotas/quotas_rate_limit_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package quotas import ( diff --git a/vault/quotas/quotas_test.go b/vault/quotas/quotas_test.go index 00299859f..4b99a8ee2 100644 --- a/vault/quotas/quotas_test.go +++ b/vault/quotas/quotas_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package quotas import ( diff --git a/vault/quotas/quotas_util.go b/vault/quotas/quotas_util.go index 984e736b6..d9e733b04 100644 --- a/vault/quotas/quotas_util.go +++ b/vault/quotas/quotas_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package quotas diff --git a/vault/raft.go b/vault/raft.go index 8c68c5849..ef38767fb 100644 --- a/vault/raft.go +++ b/vault/raft.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/rekey.go b/vault/rekey.go index 742543a55..b8249e756 100644 --- a/vault/rekey.go +++ b/vault/rekey.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/rekey_test.go b/vault/rekey_test.go index 5224db532..508892d5d 100644 --- a/vault/rekey_test.go +++ b/vault/rekey_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/replication/cluster.go b/vault/replication/cluster.go index a61c174ce..263c8cb4f 100644 --- a/vault/replication/cluster.go +++ b/vault/replication/cluster.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package replication diff --git a/vault/request_forwarding.go b/vault/request_forwarding.go index b68b6a0d6..fbbad12c0 100644 --- a/vault/request_forwarding.go +++ b/vault/request_forwarding.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/request_forwarding_rpc.go b/vault/request_forwarding_rpc.go index 42e4bb462..062ec47be 100644 --- a/vault/request_forwarding_rpc.go +++ b/vault/request_forwarding_rpc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/request_forwarding_rpc_util.go b/vault/request_forwarding_rpc_util.go index 932259bb4..cd1fbc1c1 100644 --- a/vault/request_forwarding_rpc_util.go +++ b/vault/request_forwarding_rpc_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package vault diff --git a/vault/request_forwarding_service.pb.go b/vault/request_forwarding_service.pb.go index d5129992f..005d58899 100644 --- a/vault/request_forwarding_service.pb.go +++ b/vault/request_forwarding_service.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 diff --git a/vault/request_forwarding_service.proto b/vault/request_forwarding_service.proto index 508248a22..367691fb0 100644 --- a/vault/request_forwarding_service.proto +++ b/vault/request_forwarding_service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; option go_package = "github.com/hashicorp/vault/vault"; diff --git a/vault/request_handling.go b/vault/request_handling.go index 164956950..24f23927a 100644 --- a/vault/request_handling.go +++ b/vault/request_handling.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/request_handling_test.go b/vault/request_handling_test.go index cfdea525f..635cf5451 100644 --- a/vault/request_handling_test.go +++ b/vault/request_handling_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/request_handling_util.go b/vault/request_handling_util.go index 2e459898c..c0a52e613 100644 --- a/vault/request_handling_util.go +++ b/vault/request_handling_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package vault diff --git a/vault/rollback.go b/vault/rollback.go index 328b127e4..61d71fd92 100644 --- a/vault/rollback.go +++ b/vault/rollback.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/rollback_test.go b/vault/rollback_test.go index 681101217..8eb457c12 100644 --- a/vault/rollback_test.go +++ b/vault/rollback_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/router.go b/vault/router.go index fe9ab26a1..75ad01d1e 100644 --- a/vault/router.go +++ b/vault/router.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/router_access.go b/vault/router_access.go index 90335d7ab..357e70245 100644 --- a/vault/router_access.go +++ b/vault/router_access.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import "context" diff --git a/vault/router_test.go b/vault/router_test.go index 2a2340a51..bcfedfcc1 100644 --- a/vault/router_test.go +++ b/vault/router_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/router_testing.go b/vault/router_testing.go index db1ff4b15..78f84a6e6 100644 --- a/vault/router_testing.go +++ b/vault/router_testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/seal.go b/vault/seal.go index d8bafc616..1f6120b3f 100644 --- a/vault/seal.go +++ b/vault/seal.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/seal/envelope.go b/vault/seal/envelope.go index b3165e9f7..67d93adbf 100644 --- a/vault/seal/envelope.go +++ b/vault/seal/envelope.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package seal import ( diff --git a/vault/seal/envelope_test.go b/vault/seal/envelope_test.go index 3600ff451..deadecbfa 100644 --- a/vault/seal/envelope_test.go +++ b/vault/seal/envelope_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package seal import ( diff --git a/vault/seal/seal.go b/vault/seal/seal.go index 913bc8227..2741658f7 100644 --- a/vault/seal/seal.go +++ b/vault/seal/seal.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package seal import ( diff --git a/vault/seal/seal_testing.go b/vault/seal/seal_testing.go index fc33e4d9a..99fe2b7ba 100644 --- a/vault/seal/seal_testing.go +++ b/vault/seal/seal_testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package seal import ( diff --git a/vault/seal_access.go b/vault/seal_access.go index cd7b8e417..1d9621a67 100644 --- a/vault/seal_access.go +++ b/vault/seal_access.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/seal_autoseal.go b/vault/seal_autoseal.go index 59afd3596..6a3f4e8ce 100644 --- a/vault/seal_autoseal.go +++ b/vault/seal_autoseal.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/seal_autoseal_test.go b/vault/seal_autoseal_test.go index 6635bfc82..a9e728fce 100644 --- a/vault/seal_autoseal_test.go +++ b/vault/seal_autoseal_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/seal_test.go b/vault/seal_test.go index a174289b2..141bc0072 100644 --- a/vault/seal_test.go +++ b/vault/seal_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/seal_testing.go b/vault/seal_testing.go index 982b44a34..4260136bb 100644 --- a/vault/seal_testing.go +++ b/vault/seal_testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/seal_testing_util.go b/vault/seal_testing_util.go index f4dcc02fb..52e7244cf 100644 --- a/vault/seal_testing_util.go +++ b/vault/seal_testing_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/sealunwrapper.go b/vault/sealunwrapper.go index eb22fb3ef..31fe09073 100644 --- a/vault/sealunwrapper.go +++ b/vault/sealunwrapper.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package vault diff --git a/vault/sealunwrapper_test.go b/vault/sealunwrapper_test.go index 339b9ec5b..c57096f91 100644 --- a/vault/sealunwrapper_test.go +++ b/vault/sealunwrapper_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package vault diff --git a/vault/test_cluster_detect_deadlock.go b/vault/test_cluster_detect_deadlock.go index 154a948f4..ec35ef759 100644 --- a/vault/test_cluster_detect_deadlock.go +++ b/vault/test_cluster_detect_deadlock.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build deadlock package vault diff --git a/vault/test_cluster_do_not_detect_deadlock.go b/vault/test_cluster_do_not_detect_deadlock.go index 06cf1a94a..f365e7ee6 100644 --- a/vault/test_cluster_do_not_detect_deadlock.go +++ b/vault/test_cluster_do_not_detect_deadlock.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !deadlock package vault diff --git a/vault/testing.go b/vault/testing.go index 8cccdfd50..8ef29c139 100644 --- a/vault/testing.go +++ b/vault/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/testing_util.go b/vault/testing_util.go index 30f524177..8987325e8 100644 --- a/vault/testing_util.go +++ b/vault/testing_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package vault diff --git a/vault/token_store.go b/vault/token_store.go index b6d78c30f..818932e90 100644 --- a/vault/token_store.go +++ b/vault/token_store.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/token_store_test.go b/vault/token_store_test.go index 3a41e704e..5495cdae3 100644 --- a/vault/token_store_test.go +++ b/vault/token_store_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/token_store_util.go b/vault/token_store_util.go index d87b08986..85a3b9b26 100644 --- a/vault/token_store_util.go +++ b/vault/token_store_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package vault diff --git a/vault/token_store_util_common.go b/vault/token_store_util_common.go index a10bb83a8..41a87c828 100644 --- a/vault/token_store_util_common.go +++ b/vault/token_store_util_common.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/tokens/token.pb.go b/vault/tokens/token.pb.go index 38b6263d3..b8cbd283d 100644 --- a/vault/tokens/token.pb.go +++ b/vault/tokens/token.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 diff --git a/vault/tokens/token.proto b/vault/tokens/token.proto index ae4364a3a..f64b12404 100644 --- a/vault/tokens/token.proto +++ b/vault/tokens/token.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; option go_package = "github.com/hashicorp/vault/vault/tokens"; diff --git a/vault/ui.go b/vault/ui.go index 408c0e9ac..c2343bca7 100644 --- a/vault/ui.go +++ b/vault/ui.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/ui_test.go b/vault/ui_test.go index f2b2d148f..8c787388b 100644 --- a/vault/ui_test.go +++ b/vault/ui_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/util.go b/vault/util.go index 9e03afd29..56bc8f08e 100644 --- a/vault/util.go +++ b/vault/util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/util_test.go b/vault/util_test.go index 70fe1d78d..a48379a0d 100644 --- a/vault/util_test.go +++ b/vault/util_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import "testing" diff --git a/vault/vault_version_time.go b/vault/vault_version_time.go index 4bcf3a97a..df12d1401 100644 --- a/vault/vault_version_time.go +++ b/vault/vault_version_time.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import "time" diff --git a/vault/version_store.go b/vault/version_store.go index 1eb7e1e1a..ec415bcf2 100644 --- a/vault/version_store.go +++ b/vault/version_store.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/version_store_test.go b/vault/version_store_test.go index f4b3ad13b..73a8a6869 100644 --- a/vault/version_store_test.go +++ b/vault/version_store_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/wrapping.go b/vault/wrapping.go index 850d5ad06..091bab04a 100644 --- a/vault/wrapping.go +++ b/vault/wrapping.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/vault/wrapping_util.go b/vault/wrapping_util.go index fc947e65a..19e80eb45 100644 --- a/vault/wrapping_util.go +++ b/vault/wrapping_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !enterprise package vault diff --git a/version/cgo.go b/version/cgo.go index 5bc93e5bf..89942e78c 100644 --- a/version/cgo.go +++ b/version/cgo.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build cgo package version diff --git a/version/version.go b/version/version.go index 42f0c1a11..2dbcfb41c 100644 --- a/version/version.go +++ b/version/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/version/version_base.go b/version/version_base.go index 4e957d2ee..d1de8649f 100644 --- a/version/version_base.go +++ b/version/version_base.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version var ( diff --git a/website/.eslintrc.js b/website/.eslintrc.js index 720d525e0..eafa067f9 100644 --- a/website/.eslintrc.js +++ b/website/.eslintrc.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + module.exports = { ...require('@hashicorp/platform-cli/config/.eslintrc'), /* Specify overrides here */ diff --git a/website/.stylelintrc.js b/website/.stylelintrc.js index 497a1c999..01d3cc170 100644 --- a/website/.stylelintrc.js +++ b/website/.stylelintrc.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + module.exports = { ...require('@hashicorp/platform-cli/config/stylelint.config'), /* Specify overrides here */ diff --git a/website/Dockerfile b/website/Dockerfile index f8cbf4159..b10579442 100644 --- a/website/Dockerfile +++ b/website/Dockerfile @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + FROM docker.mirror.hashicorp.services/node:14.17.0-alpine RUN apk add --update --no-cache git make g++ automake autoconf libtool nasm libpng-dev diff --git a/website/prettier.config.js b/website/prettier.config.js index 1d1295a32..91268c1e3 100644 --- a/website/prettier.config.js +++ b/website/prettier.config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + module.exports = { ...require('@hashicorp/platform-cli/config/prettier.config') /* Specify overrides here */ diff --git a/website/public/ie-custom-properties.js b/website/public/ie-custom-properties.js index e06d9f6a6..1a99b00ab 100644 --- a/website/public/ie-custom-properties.js +++ b/website/public/ie-custom-properties.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /*! ie11CustomProperties.js v2.6.0 | MIT License | https://git.io/fjXMN */ // c1.onElement helper !(function() { diff --git a/website/redirects.js b/website/redirects.js index e1d1ffa5c..7f6dafd93 100644 --- a/website/redirects.js +++ b/website/redirects.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + module.exports = [ // example redirect: // { diff --git a/website/scripts/should-build.sh b/website/scripts/should-build.sh index 9760f4774..b653682c5 100644 --- a/website/scripts/should-build.sh +++ b/website/scripts/should-build.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + ###################################################### # NOTE: This file is managed by the Digital Team's # diff --git a/website/scripts/website-build.sh b/website/scripts/website-build.sh index bf54ca9d6..c07614092 100755 --- a/website/scripts/website-build.sh +++ b/website/scripts/website-build.sh @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + ###################################################### # NOTE: This file is managed by the Digital Team's # # Terraform configuration @ hashicorp/mktg-terraform # diff --git a/website/scripts/website-start.sh b/website/scripts/website-start.sh index 9ead54c53..402f7499c 100755 --- a/website/scripts/website-start.sh +++ b/website/scripts/website-start.sh @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + ###################################################### # NOTE: This file is managed by the Digital Team's # # Terraform configuration @ hashicorp/mktg-terraform #