From e55c18ed1299e0d36b88e603fa9f12adaf8e75dc 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 38fbc6831210..89ec6dcfbe93 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 7ce217f074d6..c7d0aec4a0b5 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 a725ab97e7b9..b6649864ee03 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 771ef4d925f8..b4e3f136bdfb 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 322091f70ba7..d50633b4e38e 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 9e4b4daa9da4..38d0751f1f77 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 5aec0087e9da..c773eea82c71 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 586fd70e7363..767276bd7b84 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 cce6d3f61edd..0900c7f74e55 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 7d9a08dcebd1..0a13e0418052 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 845e0c7770e2..48e14380b6c9 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 924b451b51d2..1b309b4868e0 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 c5cf749e129d..45529bd95f60 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 502cdfa4e185..3b84dc63e5a7 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 6780c60366e4..3aafe4487963 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 fcda05e9ceda..82b358d28ed1 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 f51003f09445..a33473f5ebdc 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 c1674de870d2..b97f2c7b4251 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 f2aa19b0508d..33c3706cd09a 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 5e99293d7ea3..433fc7298d51 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 c779cce68070..965e13039b2e 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 9399e9b5dba9..23958d835280 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 37c32ceef78b..493a92c8c87c 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 f57c5dc03370..c3d1cb60670b 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 0be4e8ba9b71..335a21200fbf 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 3b72da25b7f4..2b9b8f35a160 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 6f818bcd439f..794e69c61486 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 33c2e5f3225e..4a59d3672507 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 19aadfc71ae1..3a49b69c59b1 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 6d394feaacc1..62460e431db9 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 9041da20ff9d..77a25184f242 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 177ea044bbbf..2d2f742644b1 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 e4ba3153203e..8bf69e0de97a 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 ab38acfbaec2..c1ef7a77989d 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 b8cf01228441..10d26b610f42 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 f2628c695cc2..cdfb4e285e79 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 44a4f6db1f58..f2aa9be1d00c 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 a09d15a14721..b68219570115 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 a5dd93646128..2d6ef842a4b4 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 c2fef86a5fd0..f0e38c17a2b4 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 9f37abc664f7..fdf1a38dd0c1 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 8633c4dfac11..abdccb035835 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 124cd7a68f8e..3e8942953d3a 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 0728117a1e8c..4fe68d8d4ef1 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 4dc71a09844d..ca69630cce5e 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 52be1e7852b9..1980be06ef5b 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 e42808c895c5..7ca12d560bd0 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 58552fc2b3a3..4055da47fcde 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 0988ebcd1fc9..c119f6c3c953 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 37699df266f9..20862fbfdf1d 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 f8b3d3917be4..36d769feaa6b 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 22ba992384b7..a914e03576e8 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 335c21001be2..72c29eaa4261 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 567d103254a7..5c060e5a1509 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 2c4538977155..927dd168e440 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 57545fafdcf9..c3ec522891b5 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 8ea03560386c..2092e2ba2a01 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 80c591f20b5c..d7777712d209 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 6dc9e0803ea1..2d6416d70a1c 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 453720ea7a5a..7b3ddbf8154a 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 3b85013b7eb4..4c759a2decc5 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 0ed882218257..7ba16e66eca2 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 a8e53c01e471..ecf783701ad4 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 f2657e61c503..ac21b8019872 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 a0e31144e562..2842c125514a 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 c45c4917cf11..be159d706763 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 b832e2748290..28510eecc23f 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 c67b80dc4c1e..e61503772fa3 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 d233b09c476c..38117e42a706 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 5fb111887c0d..81ebb3a2509f 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 82d9aab0b7a0..2244087aad58 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 238bd5e468a0..e814412191f3 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 af306a07f312..6310d42fcf46 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 1e2cda4f48cb..e80aa9d8b417 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 096cadb793d9..da4ad2f9b73b 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 d89d59651a92..2b2aa7c3e980 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 953c1c21eaa3..13fd8d4d3743 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 05dea86f6ab5..13fa94806976 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 a74e206ebed4..868914d3b139 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 c02402f5314c..c46f07e64b41 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 a1ba1bd80f94..2be669584648 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 405d40f8efcb..15a8a13d175c 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 f55133cec4c6..a6c2a0f5412e 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 d461a9d495cf..a810c6268a1c 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 05dce2939989..2ee024d9defc 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 98078b7c3aab..3673181472a7 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 4a4f91b08c71..9ddffe4ec7c4 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 7806a1418df8..29bfed0f5613 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 2ac8a4743bcf..573201751c7b 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 fa86886c35b8..295d989f9e2a 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 0522f2a42b76..7a9c5621ed19 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 833f31a6f760..c55ed1e666db 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 8339f53d7eaa..38d8026057f5 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 5641b449af30..35a3d38a0558 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 f0f1b68736b9..83ec18ad40a0 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 4003c05a7217..74f4138184a4 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 e4a703d12ad4..fa31cde83bea 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 bff244099a9a..20352a2deade 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 00921c0c71a9..fb6046195187 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 bc0610c373f8..5395d916cc81 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 df82057e39b5..98c393c3b817 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 9040f8c2b5b4..cd4f8085d13d 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 3b080a5268cb..c65931f7c5be 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 43dd26c25bd0..2c3ef3f8e077 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 817518c50bd8..ad082ace5d43 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 be6f583fc539..4c649e0e9c74 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 1d3bce893cca..2da92fe2e40e 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 ebd8d3c06a80..60d463f085a3 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 212fe36f0f7c..683249e316dc 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 5a2903d415df..9000ea95810a 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 489ff638e2e4..33df709747cd 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 bfafacc3ba81..5a09c6c4e3f4 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 7759c07037bb..a5dcfe659de7 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 7957a6997c26..a5ea9d1d5159 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 3f031267928c..f677f017561e 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 66958008a3e3..c03686e89cbf 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 9b3f87827013..70f2194aa678 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 ff325f4b1be9..7f7366b67937 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 543608968396..5e94db7b915d 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 ac2bb22f129a..e8939b9d67af 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 6a849f1af8aa..dea280c00262 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 c745ad2b3f24..4b97a952b6fa 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 7b063fa5f42a..a1695574f3b6 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 ff8ff5c837f9..079eabbe817f 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 a0d55203224d..c7fce3e33fab 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 f734694781b3..7143f991b922 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 c609e1acd608..e94b355ec130 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 493d20d9df00..4c807d1b40f8 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 282d277fab54..ded8d9ff373e 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 19e919fb1179..8a7db09f2bbd 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 125056234312..0a28b627b8d5 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 940c6d102270..21f7f0fbbe47 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 3666a9004179..58e57a800dda 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 f89c5ab21597..5882fa009619 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 e00404d7ec64..4d32327608a7 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 a622b7d8f962..00bfde6229fa 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 fb8ab4f47492..320230534ae2 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 6ffd60ed1494..2c0262075ad3 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 12a4c7d0f2d9..90243619fc62 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 15927a82a2bb..e365f0307d89 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 b8e824a9d27c..3a63d4cd3555 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 19520aab2f59..8a90a383ef16 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 9455cc0d3df1..b1e649ce9c9d 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 80c9dd8afea7..8bd788dcf8b4 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 567ef8163a8d..6c6c55ca6213 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 ed4b250ce5c7..6f2b79a9aaa0 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 4a470c89616f..3ba1e712d134 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 e73241559a0f..5b80a54cde77 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 13f6da78c495..d2419d9a1908 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 c08992af15c4..e0c70d588a79 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 75edcc32c46d..022f963b7d94 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 9ca1f1243c19..24211f5cad5b 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 59c48e76f28d..bfc2450f4166 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 f69444270f39..e2fde0157fa6 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 1c7c75b2ff33..d68ebe080e08 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 89ce37c7cd6d..12633f8ceb2d 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 f3360f52cfb5..6ea08ee58134 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 bccc6fa516e2..d40f1b56d9e7 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 4ed670032372..499469a0f681 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 707115c567e3..0b1721b15bdb 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 d59599f32620..2f592b21f7b8 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 252b5641cd4f..d802641e237c 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 25baf7f811e8..282e3fa9401d 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 35e0f102c396..e9654b8b4921 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 3ad9066129e2..cd4775582704 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 bb28ecb2364a..772603434940 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 416de6bf18d8..2dcb802e2092 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 45e5294c79d9..1497f918cc49 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 b39691cf8174..5908d1b1424f 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 67303911e5a1..84f68ca996d1 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 a4e18d30eb6d..32e4e290bdc8 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 58ba6b523f9d..a71cad22e59c 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 749b511eb0f9..85642e802a49 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 d2f50d5688e2..df252960a2c2 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 384449212b42..e28b34a016c8 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 7fc93efb87c7..7ed38e93b14b 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 f9ff0225ac98..b7b6ac7489e2 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 84253f379fd8..8e4ba8cc2d5d 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 0f8967576bb7..2e1c670a5397 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 bd5fdc0ebbe0..7f464d2a1145 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 03da06efd9bb..deec6a809ce7 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 17cf54367c25..4a3d09c63995 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 99a03a42721f..b3045a31a1a7 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 33d4d0d99175..eb915b76e92f 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 c8a1ab8f43ed..929e41734f9d 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 de7b5d4690e6..948513b381b1 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 64a88169cbe7..853d6eade7c4 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 aa45dc3766db..efdc178fe3b3 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 83f79db9a4e1..3df8cfa2a9bb 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 092d0927ef1f..e100ae9f244e 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 21be7d05e573..4747a56f4409 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 f41463f60612..9211a8056d52 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 500749730478..7172dadb6910 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 3c017253869e..126f1aa999e7 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 7ec22c5fbd45..a822c017cc31 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 6f7000f58dc5..ab797ed200c9 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 9c5abe1e82e8..34ca5cdc7f93 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 5831dfea772c..5e59fdf2eb12 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 80d839ed55ed..71d24f3abb2e 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 1d4e8a04bf70..28de1eb3f8d9 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 caf79e33d310..27b6f1822651 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 ddba67f6b8bd..5840186305a0 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 b953b2305e3c..05f06bb39024 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 1262980fa806..7a531f6cc26c 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 d90ee6cacb38..d15dce3771a8 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 1f7ca3113366..212a9eb3a800 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 a7c3dd84a896..b28f3fa0228d 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 39c9d90811fc..eb136b4bcf58 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 035350cdbfb1..ca5e1a295519 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 e498fc6b2baf..847ecd1c258b 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 eb83ed5fa16e..9b8a2bc9b8b1 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 7ee9d33b8027..9c56e673fdcc 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 5eb9c1a21c73..b6f1ffea81d5 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 7fce10e26294..ea2cd369e1ad 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 fa7cf647135a..94ce864d965f 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 fd54830a4b77..1e30c660271c 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 669d61d95cdf..f42a535b9587 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 1fd60e30ec57..ac76ce1a8ff3 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 fa513b5017d2..dbb279da768d 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 7568774f39c6..bba0c70dc7c0 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 98e2b826fbca..77e7f29ab128 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 6dbccca014ce..f2f206b7026a 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 e2e362fd5fa3..f75f9ac1d523 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 27ce027c959e..574bcd01af62 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 a6e54678d058..ef33ab0fd057 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 32ddc26856fe..9054ecdc9b1d 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 bea9e30ec7a5..2b5f7a981ec3 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 13eb53006142..afb1bbc79f68 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 4f0b181683a8..a85f307ec49d 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 632cfb38e037..fecccfed209f 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 9f1ad4cf5744..db5cd9a53b8a 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 18f850dbce92..8cf06062890f 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 e57516259fef..ce7d118794c8 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 02a199c5326d..2de4d8d2580e 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 bfb20633896e..dc2eddeb1a04 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 2d5fa7a8f9ae..f71db7e14b4d 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 a9810e816643..22ce6168663e 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 dc061ae99a3f..8f36fe26a795 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 5ae2756f279c..1ef54aecac32 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 ccbd64588592..e0cb96dd67cf 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 9c9b348e2437..fefa452a5d35 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 8c4db1388861..daab17964d3e 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 054241f978a3..95a5f7b6fa95 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 a9f7efde62a6..b39ddb7e1ce4 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 e1df32e87a83..ec89dd449cc8 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 8452c2b019e4..535eeb2a05eb 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 5874b9c94f02..10f45aabb483 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 b482a9c1aca8..7fb32f50039c 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 676e515cb84b..25df513e82c0 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 14df1ff939db..150e5d617d06 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 92109ba74123..0fd527547e21 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 fd446f7a6436..3c6b920681d3 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 1b093d03ce55..db45f2d49ce1 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 e416ba1f5ad5..9f2965be8868 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 9dc418c86ba7..7dbffef24774 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 c7dd02299a11..129c6a923d1b 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 5845c808550e..435a89dc70fa 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 de9c70ee0597..7fb811cb8fcf 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 e6057f261ba0..e76df359e9ed 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 6b7a6a5c7beb..e884f075588e 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 5d28f8543e68..7c804be23713 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 1c70c47c5f21..80814550c753 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 5a6a61e36a76..a494a7b2c255 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 cb41eb61753e..a24d968ad44a 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 722d7bfc992f..9e6201d2c8fe 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 91d0e96e63a2..0df673e2dcde 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 c40831714625..5f2d19c65dad 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 29ab43381329..42e031deceb3 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 3dcf4e981bf3..3c4927bf1f57 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 6d72c2674a2c..a9ea8cb787d3 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 81de70566a43..14623f9e1b4b 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 7ab24c8a6e8a..f6c15c742f4a 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 31301b4ebcae..4f214ee7f275 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 60c4c5aa7413..400a3eed99e7 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 9f3d46c813e4..af88bc595e41 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 e83e8bc614c7..6ba1dfe23324 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 d7cac0bfaec9..f685e9154ea7 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 b0af377a539c..7d778dedd1ce 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 a722f90d3462..4d694204ae5f 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 ed968cbaf979..3c5708a8bb04 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 24ea933ebca6..ad181cf4108b 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 22a0c6c8e878..577e4f98409c 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 075dfc52f220..93b0837092ba 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 5016f3f82789..f1ee1152c041 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 ccc0119defaa..3c86c72c23d4 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 241e4be7690a..1fd2cc5826fc 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 9395d3e22141..fb729e83619b 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 6c0ccffa6856..abcc0672b238 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 6807d276abb8..0e478834d353 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 f100f838c071..330f6ca97d1d 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 142b5c715443..d24555bddca2 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 606b3ae748dd..18032fbef09e 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 00c733913990..11ebcd2ac7cb 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 aee1ce7f1623..b410a00ed853 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 9104e5c6f3af..f4b9237266b7 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 b603321dd03e..754f3993d14b 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 17760653b7b3..625c046d00c8 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 6c426a3bade5..28c656bb8bb6 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 491575138a66..ef9b46834874 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 d28ba60e2b25..d90e055e6cbc 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 9992627c8448..cc2ca5fbf8ef 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 942c37a4a381..9931b1613ba3 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 bf0d1e636b53..7c7902b01fff 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 d1f223810a65..548a5540275d 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 7df1384fefa4..ef052cdbd98f 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 90a8c5679956..2cb62daca51a 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 01bfd41f0db2..8ba08a0afa4b 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 51abe2547aa1..dd735ac45366 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 dddee8f0c9b8..55e6b2cd042c 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 0b6bb572188d..f885d68b7115 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 ec7e7e169c08..9e565c56f69b 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 5ad1ff6bdf41..3f3b3ba7cbac 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 2c3d5f4b86d6..ecb974687251 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 2031c7d99ec5..c236e33d22de 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 b31dfc7188aa..2d0cce30858b 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 454937f16f25..53105e70f739 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 6382d61d210e..075ecd056c53 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 fbeeacda71e4..a9cf8b269696 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 4318e0b01408..08d6ee5f41c0 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 2fd76c12f910..973d60f8dc15 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 651ed42ce0fb..4c33fc80892d 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 d1e31e234df1..fda59fec4824 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 d8b8f8bbff69..2a0698145d33 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 2f45c1c35915..57763529886d 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 77b644590fd0..b6cb6b7c3ead 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 0ce45d518991..dfc97ce4b94c 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 05b62af96afd..119daf807f4c 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 a41772578f0c..2a6f2ae95d43 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 19196013e6d5..13a35879770d 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 7d9814751fd1..7efd5fec487c 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 72e9903f16bb..a70cf601cfe5 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 9eabfa1d8613..b88675067907 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 d2494b499549..d3bbaf529551 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 0b68599df64c..12600427f27f 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 c85728810bf1..9a2a49bd2755 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 af56f37da689..e1ad3dc04b80 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 d7f7f2abe323..86d9438a4946 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 05e2a043d81a..faad5bb939db 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 71cbfb641d82..44d9014560be 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 72eeda828d45..7e2ae8777bdc 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 629714e68ea0..c4dc1e9fe0d3 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 ef13f0aab88c..f750a337b513 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 89c5c3db597f..ed9a7477d6d3 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 e7692997668d..0208f14c5989 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 d8e0a7b56d87..f5c8316d8789 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 2294636e3951..cc8c78d26ed3 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 8d8f9f940f28..dde7c58a0a94 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 42da16191639..283432fc4e57 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 c720b41c4731..b199bf195d53 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 67d4bc3b5d5a..c4dc72837ab6 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 928439dd35de..e69402c7d514 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 3e074da63d90..8755e36793af 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 e648c6e02fc3..8aef39dd4b72 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 5846ac13b3bd..131517fda861 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 3b0d97e15e73..5f1089db1dd7 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 6d44894e64e5..df9cd8e55853 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 51ca37daa231..b5f1d7de569e 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 3e5dce95c299..084012dd4baf 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 3fdde6bb0d13..a9a5797ffc3d 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 204e94ec04f8..af98dd2ca081 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 817cf5fc5ddf..1bbe75637a66 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 aa529dd0a92a..67b7a9ce4fd1 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 c8e6b6b7b494..e4a7171d6db0 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 f2628e4f0309..957934a16619 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 f6dee45090dc..335607c3b0e1 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 04c1d8da092d..4b3303988eed 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 3b903e0b37fe..c4dde5f9a38f 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 037a00b55f08..35782ec3eadc 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 fa8c142bbab3..bbaa7ce1c8ba 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 6e13b985ee65..3dcc552d98b8 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 2bb4bcbc995a..dedf0a9d345d 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 04281a183752..097626c1c28a 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 0a14785871c7..a693a5abb326 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 5ef1dcc026c2..3623007e11ef 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 e679a089729c..63aef9c80b6f 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 60d6ef9dda6d..6c464e7d0080 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 db38aad938ad..b63d644cba8c 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 1a08318db339..6ccf90f2c191 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 da90585a4ac9..468c3f4de7ee 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 6d0d193dad28..2b40cea21322 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 b165a10c1ec1..0ca6a627fc09 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 4d2727037adc..b2f6303ba6ac 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 d7a678ba1f6b..28dd1e348331 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 532b7c763286..9279c828f1da 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 3f7a9a884ce7..eac311b4ad60 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 e6a4c0af3184..9772ff33f61f 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 64610811292a..969b066335d0 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 e3456b3b5c74..a0e51f0bb9b0 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 6fc640c290e0..494dedb261a3 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 e58299ad7b2e..889e7bd413a4 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 3be7951e0c43..80bc5bbbb86b 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 9501342749bb..4425416759dc 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 b9dbdd5499c8..b45192d8b33b 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 5554e72c2de1..d4689f0d555e 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 2703aa8ecd58..96f43de69f2e 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 15ff8f4327f3..a5d5e6a5f74d 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 9508b7164f2b..90ae802e3994 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 45d9b74f9497..145589b78198 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 ff96a32e09e3..50ffe105574d 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 eb278dd014df..2fa21f0ab128 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 28da55f599cf..b3d9edf65db9 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 894c177d5c8a..31ab6c67dba0 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 4cfe3479ed4c..25ccccdfdc4b 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 c30f3cb5a68b..80bacd3a608b 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 34f965c77096..d95c71bf7381 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 29d311ca9b09..4ce62ade334d 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 c5a8579371f4..c37a0866e80c 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 0dd737671449..8932beb75d96 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 3f8d972a32cf..2ad81d3e6408 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 e8ed3a508b9f..5b23461fa4ba 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 1a754e064ec1..4581117a0645 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 aec0b72d1fc9..4efc21a7642a 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 de66f86cc78b..19671b90b211 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 72cb7f3b8246..434b4116542a 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 d6f5a742ef34..c5c057d4187f 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 7fdad303bb56..93aa2bf78faf 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 4162fed0daf7..87b8eee798b2 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 546a528cb2e4..a7da2edc2514 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 577e37d647cd..c59ec5cba334 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 e634174c61ae..a1f0eda04cce 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 ff4d0f2c00fa..0cecc03a11f7 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 68a1fc221b62..cda6b6e5db34 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 084a71a143f2..9327ee3f0ec6 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 87bfacd97ec1..286f498e0051 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 1501fcfe56db..6ce6183120f6 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 ec1ddf2c965a..c8ed72219148 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 af9267ba01cc..4dcd1803389f 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 9ec637be4e0e..f68ae6e49d4f 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 6337c918a698..c3444ed58ef5 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 bacb188021cd..9b2729e69aec 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 6bc1fa8b6a07..3ccd3be61b94 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 230a2dddfab6..f701af4fc387 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 e8cdc2473421..375040198d56 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 ae79293b483a..7d2bf5c2d3a9 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 93e31aad4d73..d3d5d426695a 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 9a491fa4efc2..5c2b3fb79a79 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 5821c1b59f83..8a39837fa721 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 e2c8b328eb02..d1cae7512970 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 5029b8d37641..38b9c2c12207 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 9d8110e2d67c..9112183ea842 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 c13c82520ee6..34c292e74f9b 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 3f1b9f0a198e..087e2ffa010d 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 7a375737161a..cb9696dfb3f1 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 b486418eedef..a3e4e5b99a2a 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 1a2fd91d6c70..252216e21d7f 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 9aad89cdd2aa..429645527a15 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 b3dc1383f676..80486b346b1c 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 5a46d1b93c5c..cebcdfbc5868 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 b09a978c66ae..4ea525753b6c 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 7a2a57f683ae..45c71412bdd5 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 d7176e0aa539..3e0abfb6b9eb 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 55f1d6480161..f40715e6e418 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 5ab7f0449911..77bb926cffdf 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 05f321a95c4c..87fa5afad861 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 d116964a1b50..c2e662a67206 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 d57e0557362e..535181197c6c 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 849aab288e32..c900df6b1aa3 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 e1efa956298d..2e942da66381 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 8dab7ed913ae..767cdd9e4a5f 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 f8398188c4f3..f4d0f47f9612 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 eeec3b8f2c1a..18729533f441 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 849aab288e32..c900df6b1aa3 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 94e8cc827f3c..f312d420c8e7 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 1a63b20480d4..abb1756697fa 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 30d0806c0337..95a36e925a58 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 eb95310cedff..3e490bfbc4c2 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 8c2c6db67400..88da2effcc71 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 922377fc82a9..6e51c91a0e4b 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 6e498f756d39..8c1c6d58282a 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 11393bfb57a6..d77dfb278378 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 5712296924ed..386267e3e801 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 8cddcebd8f10..b4239a5261ed 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 8363cb58f132..8c82a92b6e15 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 d4731cbd90e2..01ec09504544 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 4e6dc41f46a8..2ce3b401ca7e 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 c52140102f1c..bbda08c01b63 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 6b9343aa4ba6..b166dabde418 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 cbafc5a24593..8142a19dd80f 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 84edf6f11e3c..579aae1e86ca 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 5e5cbc62cd7b..b7641cd66403 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 e04f77da263e..2f8352d1b000 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 2f6fe7b70b6d..3a3ce77f1f46 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 12c5a82c5385..064b7a452f69 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 5d37dbefbab1..34435da638c5 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 a4f5b3a0938f..ac22dcc5cd6c 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 5da0e2b9127b..b550890018d4 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 e7ab4aa0017f..72c44e1f97bd 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 0c1cfa19b064..5e4ee234304e 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 ecfb88ae05f9..18ec360309c9 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 0786f5c1d394..e9f0f0b98fe3 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 cf3824f3a4d3..4136ac1eb64f 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 e1140585e954..878239d431e5 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 f2faf5641797..572320fc69ec 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 9749522b4931..1b9f3bd05585 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 839340f0c88d..85089053e186 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 2dfa09115ca7..abe0ce639709 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 fb4720cc17ab..d5f11dff56c1 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 3301421be144..2b64c1762781 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 8d44e0db16d4..6de083d0a86f 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 25999945f99d..14c4b3bdc242 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 fc8374de959c..1eaa0aa352eb 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 d9819ada0260..f774fc09748e 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 c8d21f5c7d0a..edd234e0c57d 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 69177e01fd66..bb16bf97aeea 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 0dbfaa0b2398..2be2d163b64d 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 5dbcce064c8d..934f8b33fd45 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 8acea78f36c4..606de73eef81 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 ddebfcbeda1b..ef9288b0859c 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 0a7e8e4dcd99..44b782f4dbe6 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 9ed7d5d30694..652c3c27efef 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 7d19f086ad58..e7dc4ae78604 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 a2dde2180a84..e5af8525eef3 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 9cbb0af5eee3..c2e6eacf47b6 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 3c47b2b889c4..e2bdb81c1ea2 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 773486107a51..735103bdab60 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 51419b86637a..385bc4ec73ac 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 2970da18e14c..7c7af550dbad 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 e124ac1c0c6d..4a4292ce80b5 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 41ea7be5f5d1..34b6b9ffa930 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 0c0d36f168f2..a83695ee3e8f 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 f8b53d1518f3..25103a14dc5a 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 decf6e9b06f0..2e96f9f2ca07 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 9e591ba64f0d..2af5ab65130a 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 035938efe5aa..877afd27bfee 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 f0fd5d065d8b..dd8abb07f7e6 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 6e3d3e7bce8f..a7a09797f906 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 f4a67f3de594..aabcd8396020 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 3825db0b1c68..72071587dc2d 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 4865d7163125..c15b7b65551e 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 39777d24a953..580e163de1f9 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 60ad8af20cb1..2595dc56a6a5 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 dee93b4bf44a..50cd26441ffa 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 ebed81325875..ee2a771c7a96 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 5b96c8d76c29..20af0f68810f 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 b3f75e0eb05d..af4f0a4d3b62 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 34ef52495cee..73719d583c2f 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 21da8141bc54..40fd57963e79 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 c94c485f4907..f8d128c3fd42 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 ed06a07406f6..541a6e4aea8e 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 b46581fc80b7..3fbc53a96670 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 ef0c4adf6dcd..71f9127887d7 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 b5d41361e9b7..fef151622259 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 1ac47df7e053..f295f462ae50 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 7a56ec699850..e2d27166a04d 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 0ed34992f3a4..787c6795765a 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 1ea27690171d..e5440b3b8888 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 de51c770f5ac..e63e1ebed058 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 78d786f11756..7da6dd2d9847 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 e26d393b16fe..629be7abb42c 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 50884803e5b9..353c97947d96 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 7d7527c7e082..bb2aef0b37ba 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 cdacaab391bb..5e42d31d1f9a 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 48d164591b1b..2bdc45ebe57a 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 2ce9c2deea5d..a6fb2040eedb 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 406163b355cb..42f4fc485865 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 1cff1cda5d58..bb5306e05418 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 1984fb97d7ad..6b3834fb0c9e 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 c971aed52208..511de757061d 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 bd8e856baa20..8450a058f994 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 dca555fd0326..1734d1adcbf1 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 89d3550eaf9b..2fdda6e4a62f 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 34fb09927ce5..83c55c23856d 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 568aa3a5f857..0c9b780abef7 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 4fa7ba5ac68d..882955e2bd57 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 e858794b621c..615684b0df49 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 6fed74d33964..9d07369c877d 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 6b07b5dfe38c..59722ab2eff0 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 9f2b05051766..4097704da2c4 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 632fe1a286a3..dd5d66e88573 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 2172576dbd6f..b0834c78c71d 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 5555b9c71a89..d10c9ebc3203 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 45cbca02518b..2ac115cd2e0e 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 9c2a60143284..8282dd296ff5 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 057a787c4e28..c5c93fc965c2 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 3a9dd786ab5f..bcf5f6dd7d15 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 3afbcd42adb2..3b68afe52bea 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 c4ab37910555..4350311aff32 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 cff16f21c6fe..5cb97b0ed6f3 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 8920340752d5..db5e3f25aad5 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 11ffdb4bea26..3de4881ffc51 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 3b15c520294c..58f4f9152332 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 5196b1c79a0a..5acea825a74b 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 a952802cc469..008ded9fdb8d 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 8313ec33487c..e6fad922bf35 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 5cc7b6fbc67b..bdbd34b0f710 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 0d782619a832..a0aec415f820 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 830c9cc30770..ac1837c66616 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 90ea608a7316..8b8eab569c8e 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 76f6cc174c41..29ef79fc2d8c 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 c72c6a174f2c..ef53ce528635 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 4de63200f5ce..536c29c58eee 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 13eb95ed0093..aad41d66b795 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 aa3b32d0d8b3..c24b812b911a 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 1fc90eff7cb5..5efd5ecf198b 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 1aa58c38ac76..261041e2331a 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 8a79e56fcfb3..028f0d391c6c 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 b1b6680507f1..070184bd91b4 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 c00086740c0b..5213d06377ef 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 78ca51c4d19a..38bfa52e95a3 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 30352abbb4e5..c8bc23254c29 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 01ee159d8256..3d41d8e88147 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 3c6597decb6c..13fbe2181822 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 e6309258973f..7545b82da71a 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 b790cfb0bc07..0cc722c98d91 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 702395753da8..18bc6e92eb55 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 48fec344c741..57b196992c94 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 38f4a764d4d5..77e829147afb 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 7d1f52fa8c9b..60df834d739a 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 a5d18929368b..5c79c35b1050 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 605c4e32e28f..7dfd257e8065 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 98d710ea536e..ee18736633a5 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 3ae6f6bc8b31..2a4a6dc699a8 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 ad1bb439fc7d..a79f7bff8406 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 bf78ea49c233..5abddb7c980d 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 99834b9d48bc..2c9a1a0363e3 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 ece541683be1..6665e8bdbf8c 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 b4489718efbe..1436ab2ddfae 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 3b0dfe3de2b5..080f5853def5 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 ec02873587df..06647d727824 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 e015fb0e32f7..412a00cd20e6 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 01cb9136286b..9f8fbb0f6dc4 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 d4bd1fbe4389..986313a3201b 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 5d3fda46ae6c..01e8bbb21322 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 d292626d020a..3d2843091484 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 34107dbb5953..8720b78ce7cb 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 1462e354c559..11d7da87d895 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 4a839c5fae3a..0d9a5f336295 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 8a530dc75e0f..99f188aae78f 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 466ab84142b4..57e14a827edc 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 2c80112ec3fa..4e82c15da98e 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 6f7e837474fa..84b516cf6294 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 5e3b04287736..036c6ebae09f 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 3755d6cbfd0d..6067adca7904 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 496b0a7b52c4..2abbb0ad2234 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 c15bff811a1d..dde0e5800528 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 08285aa34717..570cfe447e69 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 369ec3215d66..f52665fd08b1 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 86722d2e84dd..43e150f7e37f 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 dea2c97178da..bfa2d893f18f 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 93117a856b66..fbe07794d297 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 8cdd06d38408..32d9140900a5 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 867b17a03c01..cb4d19603ba4 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 1df42091ccc3..8db538a298c5 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 8edb77ea86f7..9a4cd5886287 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 b4bdd7a6243d..410e64465618 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 1f540a5c6ab0..41f3bcee66a6 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 688bcf09cef3..eaf4fe8a9f23 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 b9f3ee2a91ac..f37e488ed686 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 8ae5eae4a64e..89770fa44851 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 8c56a2c1f0ed..c44245ccda81 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 af3cf337a468..d44f789f5150 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 7fd881aac1bb..fe16fdaaca91 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 3aa491a1bd10..58f9e6271105 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 2de5a8e8ab76..c62c58080691 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 87b38ec59e9d..d494c193387a 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 4c6659cf3770..852c0c0f1d24 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 928449344cb6..e485f04d322b 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 cee6ae00d1a0..b5a864f12c9f 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 5ac09cc80338..3f8986a5b6b1 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 cf0a5009f626..ca55a4bf7317 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 fc078ffd437f..86b329f1063d 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 f74f3f1f3b29..b05644e46d4f 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 bcd13fc5f71f..1fa9555ba9c2 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 c48977c4af93..921014cec538 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 93d06d78864f..f1b0e5ebfa04 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 8e4bbbff83e6..edae76558f37 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 6e2e2df487cc..e9d2e5b7c677 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 a28618eec93a..eccd5c1f0014 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 ae3c663869fe..2e95fdd1430d 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 319d539c1546..e527a07d1bfb 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 5ff39723e204..646fda924505 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 ee0c6e53d97c..08c350cbd088 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 59ffdf0bfb3d..289aae134a4f 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 76fa9a21d0f8..199fb74a9663 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 2c822de9d4fd..008cd59766da 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 7912c10643d9..75a91791327c 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 2ae92ff6947e..89ed5215b6da 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 53e85df0fdb9..7b5bfc12c98e 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 70defe54ead7..19766978c733 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 31777c5d5ae9..4f226444bea8 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 8cd7c066b8ce..f091749176b5 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 538414bc50fa..81ff2b3e1993 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 c8db7dc9ddc2..8294ef1934db 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 dace6ac951d6..19ac0a674dbc 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 efe5aeedd3ef..862af23e0b2d 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 3487c5d0d79f..17b85529e12d 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 4a8ec877aa0f..fbe7ab414fa5 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 f366a6133b10..7a174f34eb9c 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 37ac32340590..bfd48f7b026c 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 06e63bec281f..320167226c20 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 47a61c5fe094..8d782a524577 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 567c8956d630..d7c7da713bd7 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 a7e98dce9180..39ce3bf1b880 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 127e54a6ac67..93984b3c33dd 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 998620f0964a..90a8fe8ed973 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 1aeee5bf6729..95b60e34071a 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 458e3bbece7a..b74adcd6af7b 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 153fbeb2cdc0..3aabaa179bbe 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 bf8fa3d59378..74753e29d333 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 eabc559f3f1b..25b8a7ce791f 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 a15f1b7122db..2e25ee6f2806 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 7338923525b1..ebeb7753386d 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 5380568c2510..11c4300b4160 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 f64670e03a55..4a08ddf78ad0 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 581710f565a7..54245d05151a 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 5b3aeb54b21c..99a8e03d66de 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 94535b43829a..f0327f2e61ec 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 63fa3cfe6a80..ff72cd6dbc5a 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 feefc6092aac..3570b9a59bb2 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 51f5a5ec8800..121b855138c3 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 78acbd3e7b92..19b89565ab5c 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 dbba4b40e88c..29b601c4bfaa 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 5ebf6111413e..6d73cf2cb32d 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 b1bf62ddfedf..f4d555c5c2ca 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 3740b58f7c67..d5ea772eb476 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 e5254a294795..91eaf121ccde 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 7f357b7f2a96..439dfa58a6c0 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 47146c717c17..171a07dd7a99 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 f538ede1ba4a..0ef439a8037e 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 38ad47524169..2a53289bf4c5 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 7b1dbfd56faa..4d9cdf7cba1a 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 1023284e09e5..96b93318ffda 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 b620f3c7e75f..be49453da03f 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 3b3c64c7e0af..3f5b2460822f 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 f8b5d7734be2..b53673c35395 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 c2f868c2f146..bc458da53a25 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 11aa099232f9..9ae5b408d647 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 deded2ddf170..9e1ac5e10bd6 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 a3f70540bf4d..0b903ee6e0ee 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 c23a434744ba..7cb585b39b5c 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 7917dc1b79c3..6fdd13381843 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 cfbc28db8fdd..a8e3c7a605c6 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 6faecaab73fb..bc5a71e13a58 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 f7629bdd02d2..a634b162ebc5 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 5c967e3ef926..afb195d55383 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 f9669258460b..422351febc33 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 3b6a9abf290a..cda9e2a2da93 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 d92186f2642d..e28c1bcb1ae4 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 a51c27b37a86..0c0edcfce22b 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 fc25b760e77c..1a909e3b48a4 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 667570cb0c1c..a80e385b3d6c 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 a4f1f3df0139..6f7fe9e4771c 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 04e55f646cb1..4fc70e9ebf09 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 814dd1c825f9..055f12259e46 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 0dee4b483603..4cbd4fa4644c 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 eda6641276f1..c191f139b35b 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 34f6a72f61ea..a038c2ae6290 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 edaebeb13c05..1cf516a1aaf3 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 1ce87a684153..42f07d2e8519 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 4ffdd17a62fc..8e71543ea24f 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 d5d9c8f4f334..7bf3196fc8d5 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 e5e5af373e7a..6553a2b0a45a 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 344e3de0d247..837865a9ae2f 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 770adfcf3d48..0b7c61974256 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 e34a72c578d1..5731945ae78f 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 31de773909c9..164acd29cc80 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 7d46bdeabe16..267fc5cecdc5 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 20af230a5b30..7b15275283bc 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 ff559e40d447..c8ce76326a7b 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 83f5f8907291..12557a4b3060 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 b49dd93343cc..d95c8890eaf3 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 c5f35721ee9e..aeb4faa9bef3 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 18f3abae56f6..e68359c82008 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 93465931b789..e95ff3558047 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 725f1276a052..85da0840c84a 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 093765630d66..f7e359c06f13 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 874db49129af..14b0f2765834 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 a8dc2f03ea7a..1efee5ebff06 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 1fd11b1e9f84..b80eec5d7d2b 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 55284a29d1bc..24161399a2c9 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 e027b3f7c97b..3f5636527661 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 88d6fa20fb2c..7a61487b5a25 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 c958d4d55af6..29d9292018cf 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 f6eb72101bb3..48ccc27ac261 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 7f66e9d4a0d8..6ff8898301a1 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 9b4b3050161f..602bc198c997 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 56e72f835f2b..795545b69635 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 d13c032048ff..e01c03fa00bb 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 7b38f7dc7689..272fe01d11c2 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 53ff0787de28..1f920e7806eb 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 4a06418b027c..608edff51778 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 8c0215250a7f..e24d65d7259f 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 5e5503ba8b9f..e9b17227b0bf 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 56d3deb96354..b2dfbae425d9 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 69bd56788868..c011a4bf4d7b 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 0f59e9ffcb6c..ede21e62a9cf 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 3daa2bae60ff..2cc93b8a3504 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 03aab4c79af2..9b76d391c854 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 6089d0d30573..50a567704925 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 804f1e66bfa4..c5ce812d90b2 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 858318e4cd5c..e6ff37270bd5 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 3aab3449f368..3fb53bc51777 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 a42333932267..6aafd9a3819f 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 d4ba89910df9..ba980d59d076 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 09c86d7bae4e..7baba3344006 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 73a68363d84d..57ab9aa415b2 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 6cc7efd6bd9b..a80d83ca98c3 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 26cb20dac4d6..bfb69a2bdac0 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 9301b55037d0..f277c57e29f0 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 8a7de6032dac..6049fec23573 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 bf683b67f7a5..1f46c92c9502 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 a6c81672eae3..610ecf3cf7db 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 717f275ffa73..f2b5e9b5ef61 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 77335e6ad8f8..6fba448e2d5b 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 5a188695c5e4..3b576ed70087 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 0c88cc7910f0..b03b4b48027e 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 ecbd7fd63e59..65a43f891b5b 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 d157c7b92650..d63af4452c80 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 17853fea900c..17f565a7443d 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 2a0cf2be3484..7e3d7a774315 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 20931e0c0343..a3c254fcc5c0 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 18f1222ffab6..ad9215e33b12 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 fb8983f21842..86bf9d5e3642 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 6093b8b1066d..68f47d19dd71 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 b55975578c61..3508ff0cc39c 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 4cb8e58a592b..2e6afa215e9e 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 cffa44b17a00..1e125763a16d 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 7688c843b08e..c7ee686e3823 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 385a3af55704..64f1bbd8d7d6 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 fbba304bd7cb..49a4a15e24c0 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 d0749c669a90..29376aa86556 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 917888eb1cbf..fc763fd4e91a 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 6921d772ea46..74a561f11bd8 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 1878ebeb7259..72f4f4700354 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 b624dad80fbb..d085c7a06928 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 e9867d7fa0fb..55fa6f1da6b9 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 38f17fbc9e79..366497d08475 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 7bba75ba68d8..d960b7840e3e 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 804b934591f1..27824dc7676b 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 363ce7185845..5786502cbcdd 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 42ab38aa572b..7d4337801def 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 faccb7085870..ce5796096771 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 b85d4da12473..f6b8a278dce7 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 6c06d5de792e..c39f24e1fa2e 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 693abf97910f..8decaaa77848 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 3d2d1fe97506..a799ebc66f3f 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 d5c439a9b264..514969cf5098 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 ed487831a3c0..58940a8551bd 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 01caeaba4c15..5606b8988352 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 7bba75ba68d8..d960b7840e3e 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 854c52f9ea69..4e5f293f9084 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 c5da14daf770..5a351679b2e2 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 1b645272abe7..a1358b3e293d 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 df0d1fb87600..86045db0bc25 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 0ab4617e1630..f27de68534e8 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 001a53278a27..cb112020b390 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 5444508de303..42a097641642 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 e022a62c3966..708813faa454 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 ebc517030ba1..0f0df3865c7a 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 827b2e773415..c100c45ddd97 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 778354e7deea..7b641ce98f95 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 dcb251358fd3..d627e2454028 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 360e9d79d6a8..98b2d21fdda6 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 f1d33d9c0337..a0da72249e1f 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 6d967ee30d5e..ab49f76ba820 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 474c255a7a59..75e998eb3f27 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 679729f3f5a3..d15699c4b966 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 1fac54b94d2c..3be3ca8897f7 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 2af426232e46..0e051bdf48cf 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 abe4924cebe7..887d030a7899 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 f84cb929f878..e7cf7e9564ed 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 807cf01aea7f..c2db5c57b9bb 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 47797dcf9cb0..b353fa8a58a8 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 6fe00a93de29..b3f77de5041c 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 d0ebb1f067ca..af935578781a 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 07e65bf197f9..5502212d5151 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 e424aa44406c..127be64499cf 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 5c36dae336f5..d64a6c16ed36 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 aa6853643056..fc6b007a3509 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 6643c8b62662..850ea5366c1e 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 3c434ba97276..cd25a01c8d02 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 ca03ea6f6f29..b1d050af2959 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 1dd5d9014710..129288a3cd21 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 2721144c345e..9d6b0c0056ef 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 7181acefff02..6b9930a838e8 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 ded9c3cc7007..44df4496ab9e 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 e1172d7158f6..3187ac69fbf0 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 8a881bb4b56d..853c9cbc3c2f 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 d150d8f7efc4..5c095c58caf8 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 57a97f9ddd1b..fbb360a38da4 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 d7bc72f23c24..1ef6207a37eb 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 b335ee45efce..26ac75c91291 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 5703326d1a51..32986072cba7 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 bcd7e1cc3055..2ec23a107332 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 7eaf5d1bf7f4..344f0d8077d7 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 c856ca4c92c5..717d90735fd0 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 5761ea1d7474..ec308dd8bbaf 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 0b615295cea6..45d15418a632 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 aefc75ec117a..c69c253ba4c1 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 9e80f456c3b5..88b4e7a00d42 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 3fd210235171..ba5df7488580 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 77b700dfd04a..c17a094b5552 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 0e32060810be..2d3e81c2161a 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 62b357cc897b..98b6392c580c 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 9c0feac15c83..06dcde604e61 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 8a24a58c34ad..b4d3da5937f0 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 e52a8a2fe338..3b6514e9ad2f 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 22b9928fd3c4..8675f7030658 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 2a9f7ee7aae6..9632d014a549 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 1e865b499f62..10e07e583f98 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 56eabb6c81e5..6de7d9f0d031 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 a0ddde25bd43..97552d4cc4c6 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 46e90196d15e..4b94f601d92d 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 eb522def1912..538430e64ccc 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 1f65acd94d90..8061795947d8 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 75c7662fc765..dc9a6198af25 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 d90314782294..3d6638a4a766 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 f5179ba4e408..e655a9084dd6 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 a3c3f68a1e3f..eb563140374b 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 06ae27111a8a..a3b04cec11ae 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 2fc88aa5f3ed..b083d52e74e3 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 da75149dc488..b8234385ef03 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 f72e1d9605d6..7973d57926a2 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 4d4e0aec1d0c..bf579d0382c2 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 8f1376a18004..7624257919de 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 de92639afbee..836123543222 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 0af2b89e989b..192646a15f4d 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 d35afb57d900..25c11e0b0753 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 ca5d8a2941c0..afbec28fa262 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 8f01458afe1a..dbe1655e90dc 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 c54893b17dbb..0f53744adc1e 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 9a28be715679..a7769f08e018 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 d4bbf10b4846..1f8af4f4c20b 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 f6d8c7b99422..a587aa70b699 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 7431f5648182..57dbab0da60c 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 decade25b9af..65eb853be246 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 2c2bc4b940f2..4f65e62c848d 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 0f32206842ad..91b4c0ff20d7 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 0ea7525eb0f5..a34d715acf34 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 8043f01ad617..a9bff4c0f06c 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 93d84a8ddd08..9417e9ca8233 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 86153f17e258..a0cae986aadc 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 e876d54f1557..1efac27bedfd 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 efeabc5d5658..30ff1783a776 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 9cbb2cdc2daf..0f602e22ad15 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 f37584781627..1179e4dbdcef 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 0ad0e9d876cf..f471249d756a 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 9971714e04e3..83165a997bb6 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 de85c7e4628e..cfc2e1109655 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 1b817ddad192..f8f17fedb361 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 67deb3bee1cd..e3df058e1165 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 c0fb2c386677..b65809b46109 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 490e2fa08bba..28ecf0eee571 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 0133a351b99d..06e1e0177782 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 c1226a5547f9..04a5b79dbec8 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 442b46b90447..fd4c4c2f9988 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 59b99859ebae..f14db6b9c8bf 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 febd11966a35..8c3316bc91ab 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 c49a591ce9c6..bb60c498797d 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 c31ca5bdc372..302bd9e16847 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 0869c97e7d98..193fe3ff8420 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 414a3f05c81b..95579633b509 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 5d2b3645b853..e26c810be677 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 554013d6af49..c7a8027cd2ce 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 e107bc994338..79d114b4d9cc 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 ec6402d5eb2f..9ea25d44d589 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 b2571b451d9b..b24e4bf231c8 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 3faa3f5d8db2..7d59899fd9e5 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 c10a9055ed00..be97698d1216 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 729ce10b2fc6..2a3460205798 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 ba9b0a8f70b0..6356dee18a04 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 fdb20973e003..b0f06d6b9f26 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 3184db8aa5c6..c5e82c8c1e5a 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 59cdb8143043..f8af5a5eb920 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 9bc89f9af7e5..5bb9316b15be 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 efdcf5c302f5..334df734e24e 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 3d7060650b4f..21297aaf21f5 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 fead5b4ffe65..05cc800c91e8 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 18aa00879826..e85df503b0a1 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 93371df02878..5b68d3275874 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 171053742993..bfa17ae266e7 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 621930eb66f2..c51d29a55de9 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 af4e7da14962..8307ff73a485 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 4633d523bea5..2e69f3a27d7a 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 cc2448b2bc90..ad76107afbf4 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 0afd42f60351..6dd58b96d37d 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 4edfaf4f8572..7efb0a11ef98 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 13d65750d4ce..b03b5180d022 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 899136f16c9a..71953e48e57d 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 b84bbf961e5a..42692d01f6a6 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 7d7984b17495..42f41e860313 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 db94ecc94a2f..846db21da17a 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 51b35cb16319..37e14980d94c 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 1051dd1405a4..cb23ad9fb54b 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 ed83970d17af..26ba503e9b6d 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 b248c0294fda..15b405f790e3 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 79be91f7a6f1..f634be2f39b8 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 5a4096bfc74b..9f2d74b72f10 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 2969ce21546a..d6aa8b088f8a 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 c4288a4b5513..b0330a9444bc 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 01bfd54b5387..f1abf10b4cb0 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 82b47f07e1e7..8be498e5107d 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 c238689536c3..e9a006704492 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 60a7e4246776..c79c1f5d07f1 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 4087f6fc0d92..f4d5aa629262 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 a9daabdda43e..c2d437abf279 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 912d50fdec3b..fc55e9b52c73 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 47ec99f294b7..bfea5ddbb4ae 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 bf342e11ebf7..a45208648862 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 257a5a0184c5..ff9fd2b55668 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 a65d3cf908bc..89daab7d4024 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 5cef2d2061fe..b9ccdbd5ba22 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 b2fa40a30c8e..30852772177c 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 cb0cf32942c9..795a7ba60101 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 b64dd3d26034..9eb8077b8923 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 cc1b3e1c20f2..85b46cdd3fbf 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 c401f9491087..b60a594942c7 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 1989a09d9860..e1b4daf3991e 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 552a32cbdd93..d96e18383ac7 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 74cfeeaef072..7e8c311e624f 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 8c204584aeb7..289379a84cb6 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 e5eaa78be972..072fcd60ea04 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 d3debcde6bab..b5ce0a1a3581 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 b7060c6671e4..89bc62acc265 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 ecc2a3b8fce8..0c3f5e2a286d 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 350906563b18..51cc2c0e0181 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 34c4b12cf19c..a91a0514ffd0 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 49565b41e235..244fe4177257 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 7ec6fb6131aa..64085f1e38b6 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 ec9a67dd1c58..d02c26a9521e 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 692aef0d8287..5e51ce7d0fe3 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 6b12a26f3bfe..6da2e7dc7f88 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 52c77151ac8e..e4b137c10290 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 164a3d25f664..b0d85be6d173 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 58873bfb12aa..2ec4ffc30c51 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 0071ab030cd8..3bd0a009dda8 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 3ad0e810a2c5..2f4a29a49e06 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 08361af49339..889121837e27 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 11ece32795b7..9f654b7febda 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 db2da6f7f3b1..7f953e4d449a 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 36e25f82114a..dbd7796315a6 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 a1f2bb8bd347..b3f29d4dd5e6 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 68ef11b9e2f5..9761ec16c98c 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 af313a382b2b..756841e724f7 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 b38156f38ebc..bdf3ebaf9d20 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 de64d708c68f..93c92c539835 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 ae3059462bef..905916bef628 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 4953c4244ce8..620db9d733ff 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 d3c066f70c84..11d9376248c5 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 8c2ce21e5001..6b39c4401af3 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 974b3a7b7e40..3292b7f2407b 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 a254be71c211..6b069ca37ced 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 012417282e5f..2bb819b34fd8 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 e8770a1bfac8..167347b4f700 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 b5b7f3b981f8..5d428c419a9c 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 ae33a258164b..074297ef3183 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 7c113d987950..5f2218514ec0 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 6844a5321d6a..1ab1e85bb7ac 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 428aad4f7da3..1e00ebe5d90c 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 d1cec653a628..c05dc8397653 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 786340326927..eaef4dd7a1f3 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 81597c7008e0..dfc28a257c55 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 24f491b65d1d..5d32828e70f9 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 26796d02cc72..cb8fc8bb746c 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 4a26c44fb868..c991bd230480 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 9bb3970a6c32..95153991e766 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 6ba24b7c9098..e1ad0df9c297 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 b4c8923cc3ee..f714efa54f3b 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 c7f94844ef3c..fc2ccf238266 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 f4c2ec11ad34..99777229f0d4 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 05cb061e7e9b..3fd4bb948713 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 1e9f830901c4..f0e5fcc04270 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 b9257bb6c2b2..19bf6858338b 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 a46c3bb1f553..fd8d6b6ca853 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 2db3034e588b..b808f9e6522c 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 614a6ec8e571..025018124984 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 2b5b634156b3..24b968e6b96b 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 ea28dbf199eb..5418f6643f6c 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 803086e483e2..da7d76596b6f 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 4bc30e62d829..940e8bfcfb2c 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 77620770db3e..270eb493d5ee 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 dda74711dcb5..aaeb808171ab 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 ccf51b23b264..df76308ddb5a 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 d5ab42cbe86a..db05441c684d 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 d3d9d653c576..54af0a783e20 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 6095713be5d2..9a4edb45dcdc 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 3c2afa593aed..6219727e1907 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 bc8a8651f8f9..0417bd98773b 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 4c4c79a2cb8e..36398339dfcf 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 b323ccd344d4..81aab224ac24 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 1a76656f29a8..2adec8293a69 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 40f3da6d5643..d32d14b3b00a 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 ad292da4f6b7..1b098bd34405 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 eb158a993d8a..fe884491dbf5 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 20392a21c688..a004c8335763 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 84c2ab149db2..fc9261a55027 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 e9fe7bc059a5..9466d0a70845 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 385074d917cb..38f935cdebd5 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 1f22465d0810..39b617546a87 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 70abfda98293..244330ad1a58 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 390dc63f8dfc..f44089f9f76f 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 d840b22a36c8..b17dbc4c1693 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 31b01300e16f..b0a16ce85a37 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 71c30b310068..ce7c47fdcc9d 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 86fc139ed92d..9c54b0494ae7 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 abf11b7c1aae..feb132bb4728 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 18c2bbf50a4d..591c65cf710a 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 1058a6e21026..1007e6640cb5 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 5bb8d4a31c1b..f17a552b54c9 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 486d448febf7..57a838a69743 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 71150a698c63..a2de6314dd6f 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 550d5cf4d14e..4b2c12522314 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 56305b2fbf7d..03f984f56039 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 c6fe75d5ebfd..ecd6aa8234e7 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 4fc2734e50b1..283ca0969f0f 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 b5d1f6b9ff42..4a3f5bdf4961 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 3a8e45d98190..2e4e762a7469 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 8e1b91e77793..cdd59e731da9 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 4caab730faa7..332ba35d79ba 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 390683d3695f..cfb0770144ab 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 8db52c53ab0e..67d50fe71b14 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 65c85ae3e454..bbcb683322a5 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 f447b0355eb0..fc40a7722865 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 29bb3928ab81..225882f7575b 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 86373e91629e..b13c7e4a57c4 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 ed4c883440ca..a70133066750 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 15d1ab35076d..5dec40aba5d9 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 ccb1641ea299..7694d82f5cab 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 d88c01eed594..c4b89b8cdc14 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 4ea13e2a3986..b7774c61eaa8 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 a3f333ef4240..64f83e6b8daa 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 c2d9953ce3f4..a8882812665e 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 e80a6ce5573f..ba0e382f0977 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 299dd8e0a98d..88ac74d59498 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 4481053c6c52..1507aad830c1 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 1c000dc04824..2e62838b4a90 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 15f80f33e318..73d0ce32c543 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 34570fba678f..bd496dfac64b 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 cebcdb0a4a82..68d9c953f819 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 0f8ba8fd6e8e..3472c8d53981 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 ed154f8bcdaf..90d8e495cbaf 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 51a26f832266..d826eaadca75 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 6f6f2b1e7014..ea6847911f2b 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 35e610a47d25..2835e1f17d96 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 0b1d189ef6e5..bb3d136e10eb 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 c9662e796c56..6e5c51fe9352 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 40efb4c08910..a1eea0febc08 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 e9e1fd33789a..0cb8e0af3552 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 ee2c5c547ba9..139e41dfad98 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 723b788199f7..b84e0d4637b4 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 7aa4f8986dbd..d116be0ba34e 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 49a818b393cc..dad39ad4c95b 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 d484dd316cb5..4b7c1c46b114 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 2155d44c8aba..d616bfe35b32 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 0e569c5a9fae..8f8af160fefd 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 28204ad2bd66..e52ac9b63033 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 c004a4e94882..e4448bf73ab7 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 4ee0903642e0..8a91d1b50c7f 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 de549261fd60..8118fa06171b 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 ec8b42290d30..7a3260935b7c 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 72f7bb878e16..a63ed27d5eb3 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 3f99c1d65a00..e2f4ba0fc59f 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 71fdead51f23..481996968866 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 cc64d3c3b5f4..17e148d7496d 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 2057c36c08d4..9ec568b66db4 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 bca437c369a6..987cc1af2f81 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 67c108883489..6a3c1dbe07d4 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 a9a6964ea210..b9f18c543386 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 c8f6c5fa1e3f..bfc94f75fd31 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 4a8225e52b3b..f216319a6c13 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 4ecdac51bcbd..f250a6e77a77 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 deb04ab9c4e4..9f9388b1cf2b 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 348fb6bd4d43..4686c3b13f11 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 529e4d22fb09..2ce3872c597f 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 30dd5fdd7cff..fe68659eca63 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 6cb511b89f8e..4026fbc693da 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 dcfda3bc0576..da051069d3dd 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 a12828f503b8..be5842136bb6 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 37a81a660012..2a57b5746ec6 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 7915732b4d00..7c7a4c27b3b7 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 2292490d88a7..385c5f0b69ff 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 208debe519de..5c5979213166 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 eacf18fabe8c..a3f0bc7ef56e 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 6b1505aff194..56640b2f7b13 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 ea6b9839a77e..8aeba0b36bdc 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 db47c71dd310..0260ec20d216 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 3c7eab5af357..07e0165ffe49 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 75b5fd9babb2..f543167d4a3b 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 6a350212c5f5..44f4844a2230 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 8a9cbeb39ba9..a268f3712072 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 8d2f796eeab3..7fcd9b0b6487 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 ce39569d4858..11ce30a73f33 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 24992183e4b2..af264587b6cd 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 2c3c63121192..7553139d17f3 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 7100f84d9fae..d846dd5f9f4c 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 1856389cc6cf..6b6df7a910b9 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 585f89786cf7..6c0eb62f5450 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 ad80496d1578..7f5d49e534de 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 504399c3ff38..d631383a0193 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 9531696cee56..edd1b52f1039 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 e9891b059e1c..fc605d4fdd99 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 6208badf4bc8..ceb6ec6ee73d 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 3b72da25b7f4..2b9b8f35a160 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 2ee5b12d09d5..2316ae4502d2 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 574f4d7167c9..5c58f178558b 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 6f55260099f2..7ee7422581e5 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 4b081674806b..a2cbc6cc3f27 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 41f6dfd7a158..6dc7407320ca 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 324d6bce7e02..f9684f570bba 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 35f0fecdf1b5..f491b7e69bc4 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 ae87fd8d6a5b..2a300f3bc846 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 c30c86d0c910..265b46b6108a 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 36d347151c88..62964c7d15d6 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 d8c208099b36..ed2925278989 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 29c806113844..d7cabafefe29 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 fbae626df397..3740ef59c3b8 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 29f2f1f898b8..0b01454123c8 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 4949384baf56..bf96a3bba4d9 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 6207f0f39f7f..d6e9b3f67118 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 b73bd6858dca..24b0115c6339 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 cfddfcd578ef..68a63faaf7ca 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 b187d736d80e..05ecb960e60a 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 441030df93e0..b428d4ce06ef 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 ce3be1efb7c6..c98452d40b11 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 7399bf55789b..53d44c7c2a65 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 e14a21e58335..2b3e8cb346ac 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 240d64e6915e..2091e672084a 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 5dd97cdb9e5a..a2a76336fb7d 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 caea00a8fdaf..b4085ead6cb9 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 903cec65dcbd..10f02b7bec25 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 649f0f3fc944..4b158c319e26 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 090894ae5521..216219df1d7f 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 e50f1508da44..06af332cd2a8 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 b4959f709e1f..ee285dcf7c50 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 55a402c7fe3c..83e4af3089ce 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 1749b275a260..50582aa8196a 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 6256ff1a4cf0..d1af4808cb44 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 2ca11b758986..9f29d4ae2c5a 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 064552d1fa9f..503999c868b3 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 e094719d0797..77e1a2862f3c 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 39fb467a79bf..2c27adf37cc1 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 c1e3ccb5298e..962208ac9a66 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 b1e79ce26d6e..a3e883491fc2 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 19198bcfdddd..efc7e01e13f0 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 64ca9924d390..797712b4d902 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 d06e8a489d5b..c0527addf999 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 fd3d44e94c71..0b7a2054373d 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 d9e6fa365f1d..e5f69acdb81a 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 b152e84fa0f2..078c6fbcd5b8 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 fa67f454af2f..d62ffe6359bb 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 faaccba2a864..b9b99799b916 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 ebb2aa4dcc6c..157f3c193cf4 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 cb71eefdf9d8..1667fb960636 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 4d0240fbe7fd..24824ca52a24 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 e145c2a82b78..5d1f9f091bbc 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 3d5789e9dca9..648a785fa969 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 e6221af92d52..bf28f47322fa 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 0cba8ea2fb16..46cf4720e96e 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 11e1f37c9d54..3fe6308cbcd2 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 2a2848e58508..cba855065ea2 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 9e81cc2e301c..88662af5300d 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 ca359d1f5776..4541930ed591 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 7befb399545c..94accf88ae74 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 6a88b8051185..b785fddc783c 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 0c8f0dfcccdf..095bc12b7246 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 83af4753b6d9..29058dc84e3a 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 3abdd624c55e..d395c8f8dbd5 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 a00a3241cf82..d2035d676f0c 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 7e7bb1afa959..b090f03e7bf3 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 958be7e79ecd..040749239c88 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 0fd2bd50f830..e490ab359aba 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 39888c69a16c..189c960098d3 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 62341ebc85fb..a82044f9bc43 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 981face425d4..7d2c7d5ba158 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 9c10f38a818a..4ee3d1c4e016 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 a600c124ee9c..ab1aecd5a0a4 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 8a806c6f8654..039ff8a52291 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 7e48c2be5034..9d2a41829c4c 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 6a8662cdf17f..e6fc5764452f 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 924f82a2a1ba..9e96d8dd32ec 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 f85f3c935ba1..7d90ce87e982 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 92207e3d818b..53b8b8e2e76e 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 a4b7c5040422..b51191050748 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 656d6cc992a7..e72292bee6c3 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 1a9175c6392d..5bd3f5e6e261 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 f2815d4fede0..6bc14b54f716 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 f72c2f47aee2..2a1511a9a933 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 2b4e0278bf28..108e7ba42d78 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 a37086c645d8..956dad340878 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 a277e4fcee40..35799e42a2ea 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 7d4ff8763d11..81d4c27035d2 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 e71bd59462fe..2b25d991203c 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 133b360e73e8..12288d5b37c8 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 0b95efb40e3a..1866343b5183 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 0b120367d5a6..a78d820087d4 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 6d84df8241de..124a27c920c3 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 15bfc812387c..d17409e78ae6 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 c03a4f8c8d14..1abd9fafebdc 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 dd33f9bf179a..10aabf1b93ea 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 9d3e0e858585..e9964ba28c4f 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 2148257f357c..ed5c0a13d36b 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 7da9c202fa58..fb55091e40a8 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 e6c657b9115e..b68423242321 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 90eaaf0bbae1..7314758bc167 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 2f29d14b7ad7..5147027fc883 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 03708e8f840a..306dd1693878 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 6647218bf6cd..bb3c0b2968b7 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 07b19a4f0b5b..d5620e31c1c8 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 2df73971a2b1..daf19a8258a7 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 cd1f6dafe693..66ea66dc74e2 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 ce9071380a99..fddcf706b2f1 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 8fe01badd165..94a56d42c573 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 36f0f3b14b32..b0e1187d56d8 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 c9ae9cd4baa5..167d50f22d62 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 8da5f2225a9d..df4996af7511 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 fb651345035d..62be2a182fd6 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 71c83f2f9b3a..c33ad403f78e 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 82ace01773cc..f03fa8948460 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 c7c000a58a30..b42fcd1fc1a1 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 35ffcf739d9d..c7538b63b4f7 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 991664463777..954a46349ea7 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 25de5a781316..37dcefa47783 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 91e204b097ed..16075524b0b8 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 1bbf8a0bbbf8..5820d15af3c1 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 eda539424f2d..5bea8909de14 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 84e6b594d55d..931a72cc8bc3 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 e0e39445b2a5..0d2d60070f78 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 7d6207b625e6..515d830324f1 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 df1fdbeede93..1b45ef32dca2 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 1d04b327524e..21f77faba6e6 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 41316ec49df2..8fc86a4c36c9 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 e585febc7914..d7663b90215f 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 aa2438b070ff..c1a2ca0a4aa4 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 125a4a120c62..3f589ffa7cd9 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 f344ca979931..be34fa9dc09b 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 b817ef9551be..e64057783ad0 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 886efe21f1a0..977f95d72208 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 c5fff6d701ed..21b35d910e79 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 0f26e7dad660..b4bfe114cfdf 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 8e5541b1868f..a5a8082e13c2 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 4b26483f716a..2280ba93eed8 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 cc9300690a4a..9939b67f72f4 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 2537d9397906..dbbc90a2afa3 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 9df26928e294..269bf65b0472 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 5a12c4f0ae86..4445ec52dc65 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 437e8f3d0f22..53776ec21c8b 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 50e0cad90a60..84cbd03556c2 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 99fcb06bd053..3aec9a27b499 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 09cc9425cb1d..a9e506942af5 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 ee9927fe15cb..6d68cab3a7e4 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 f682a96753f2..4965115960ee 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 2918825b978e..dea65f3f5ed3 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 715dd52519e8..2f66bf36fe03 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 7ebe9da9d168..febb857ecea0 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 d2533b65de5b..98880d007606 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 e1e9b9484bf4..d91af3679e2e 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 776b40501ed4..0310b9db4602 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 0dc4b2c9e999..53569e910a87 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 c21b0c9475c1..4677bb62face 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 8d8e63340f95..03a703013008 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 a1f1e90bc156..098a67317855 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 f50f525ce639..143345d9a5bd 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 8ba70f37e01a..30c03e6113ac 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 62707e81959a..951116ee4be2 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 5be863077079..e590e6f59acc 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 2ed1b07688d9..e166f00d1f88 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 68c8e1373202..5605784b3e13 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 1925c6ae9870..22e908d91a34 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 594bcf1dde09..6e36e5e70f9a 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 e96e6d709005..cbd3f7369024 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 78fb704df044..fedc5f5c202c 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 743f85e983f4..4a1f3413750d 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 97bbe4f6582b..e00fb52d64b1 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 050b7db8e92b..aee2bbdbcb3b 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 315d889295b6..209904e2ff33 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 16b85cd797e0..b4fbc2b72fdb 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 eaf4d107c89c..04727f9d7f42 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 5221478de6bc..19b18d89e186 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 f2df6c75d97c..0eaa3c57c849 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 d774fd176b4a..c50b7a031d0a 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 7e2a65406dd5..9ea5bf6c5727 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 4a9f61d563f6..42529eb78ef2 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 00d70a5c4a2e..d430b961e8d2 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 a2128d868994..e6b4d14d4732 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 062c3adb59af..16ba60b94875 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 65368a070fe4..62ec58290a4b 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 8e0964fd4af8..2ed776b20c38 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 3b96b4dbef34..1d6014dd9769 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 2cd07715c2ae..df40dca4fc53 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 6a70e06c879d..7301c752a162 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 8cb41e2e7c58..a173c7c5f7b2 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 ebebd4ad9ca7..a27a73a22dc2 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 e44c707a5165..641d688b9dd1 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 de5ea8fdbe21..ef5ba5f22072 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 613e80e24e11..9962824cbb15 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 345051ae9de9..860ddc54e270 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 af40f5385957..cc318a4c0eb5 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 dbde84cc6dc4..49e00ae6ace5 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 389fe6c81c14..1d907425dc08 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 b547e4e4288d..4af7b7d639fc 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 e5e64e6efa41..d7ad9de3a2b0 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 724b8a012a66..14c33094dec4 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 e6e6dabfe376..3014fc1768da 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 be16b4caa12f..e4fa1f69ba23 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 64fcb3a66dce..1db26ca7461f 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 850d63a230be..bb427a385e99 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 678061326a21..56c029a43303 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 ea4a3ce24f18..24b47d7ae7ec 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 7ed3d5949241..71a4829f9664 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 18b2c4c1451b..82c4052d0204 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 808abd50fcd8..c0e7d2ef8895 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 7497313afca2..048ee8385667 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 189ac93172a5..0369e13778a0 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 6e0ddfcc0eae..0c6a021d3d23 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 a943c6bd95ef..8d4e33321e2c 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 46e3710fdbac..2da1378eaa91 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 a65eeebeb432..f0114b946579 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 5d2d52812b30..a343356d19d8 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 267e84c965c1..3356e463c8ad 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 2f665beb044a..01a6ea609f7d 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 14fad9491e50..8f08e230d5f0 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 6a04b3a97687..5c2f0de3f4f0 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 ede025583c2d..bf4537bd58f7 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 7a282608ab39..19a5ecbaaeea 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 ecf6ed01f158..1ef4694e9b8f 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 a2b8a80155cd..c47a70b1c579 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 546584ccc736..4411c788297b 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 a75b639ef653..9b3aa2c851e2 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 15860906d4a7..640eec11643d 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 05ef474a7eaf..f5e5b124fcb2 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 26ede270fac2..30c2926f5cfa 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 1946b5762496..fd8080572cd4 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 55cb7c937408..2a4b77fb731a 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 22afa41c6dae..4223f91053dc 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 b59c2f25ec46..82bbae2fd230 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 80a3647bafab..ded407788a72 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 70bd35a16205..92ca9af24285 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 83cad401e553..30979257acc1 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 edbffcd6983a..c8848fb57114 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 2adf020a48ee..d87996c7455d 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 0da143f769b8..9ad2b820bb7e 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 651d36199042..61a5deec6720 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 3994841773e6..802a538587b3 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 928442b5246b..108a26cc0edc 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 79008967a569..a49ab4ff63f7 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 21b2b2573b53..0ced651e0242 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 934d3bad908c..96d195272453 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 9f0dfad6e9a4..de11dad37e23 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 9eb031a362c6..7060a063e2d7 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 4e6a0f45848c..be98240e2195 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 68afa8cdc576..46ac18eafddd 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 e2be809d0a09..0dd61113923e 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 f1c9a3c8ce40..f377cbb9874e 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 a1bf001f1642..a6a93c9ceeee 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 4f406eb6871b..6ceb94018625 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 5dc67af2bee1..79f5b20d1883 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 22e3c337dcb1..d9c0271a7098 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 90a7c371c294..940a34ecf167 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 3eba556704a1..caa6ca0b9370 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 8903f5ea5fb1..38ed37d933a6 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 d7c80f2df7f5..df1bfafd4632 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 e6f7deab17e1..e9d5fead6744 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 2fea38bd77b4..1d6b2a9da799 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 86b637577d9d..bebb20013f39 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 f5fd122e8c96..70003690f72f 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 8362df5f7a7e..43ea1a3eb9fd 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 18777cabeffc..fc6e824446a0 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 47dfc02a98c4..82765a12a262 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 629a8fe6c5b5..d8da277064a2 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 625d271c18b4..2b03883c4a51 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 bb1b83e209bc..14cb6cd4276c 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 08586bb6b60c..e3a5183a1fd6 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 967376127db8..88ab134c5dff 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 c39bbb5420f8..0b1f1ce37205 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 bee36d06fad2..77b71b6a2a63 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 0b6f7f677c65..a91e4eaecd6d 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 18910c4a5fbb..2a6447cef710 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 5a1a4d37af8d..315e26d5f2d0 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 5f8422ce46ca..126a5446a4fd 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 c47510e8814b..28613ecd9036 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 173aba0ab0a0..ec27127bfa03 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 2d097f1aa0ff..6482b7194599 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 3f58ba18ba8f..7d2f48bcdc3e 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 08e9c1ec1e39..e29cbab65baf 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 3a122cc6d9e4..9049a1d370a3 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 970c77693ed3..e7e978cc75a9 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 416a59e6af6a..7868e328087e 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 7cc5243f2b07..ae7c1ff8c93c 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 5f81033df61c..59a6d962529d 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 79b54b4eed05..bb4548319848 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 6287d32644de..ba4e3f71006a 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 8f507fd9b33d..8c776351a454 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 e4e51b09aa4b..3540521890a8 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 3907b87325d0..f848ec523aa8 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 9632b8c94d35..273fa956dbd5 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 fc12d067a195..ae92adc6baef 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 f89dfb06be34..e202647d7e0b 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 6d61a851d666..cb29038c9c47 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 6d61a851d666..cb29038c9c47 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 6d61a851d666..cb29038c9c47 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 e43cb2ea860f..542c43fd5a68 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 e43cb2ea860f..542c43fd5a68 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 e43cb2ea860f..542c43fd5a68 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 21f5624ac4d0..d01ba80b192d 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 e43cb2ea860f..542c43fd5a68 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 e43cb2ea860f..542c43fd5a68 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 21f5624ac4d0..d01ba80b192d 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 e43cb2ea860f..542c43fd5a68 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 e43cb2ea860f..542c43fd5a68 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 2d722f5777fe..ff73a804048b 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 463411a1ee57..e0a2b87aacbd 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 51144d0f8ff1..b600554442ac 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 f191a285a889..6b68f470edc9 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 d5594f56b4fd..696d9f9b7d16 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 2387a8322605..eab2f3257afc 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 79332d3ab2ef..c750b6596ba5 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 473f2ce424ab..86b649283c27 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 07150202c294..0ea88dc7f9b4 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 07cae1d735c2..33d47dd9194c 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 1946cf6cfc27..602b038dd578 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 b3652c2ff76e..516e0d431f84 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 a95efb802e54..aa868147b48c 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 472d582c91a1..6cddea355504 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 6a6ed9fd2de6..2e4a86461806 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 5f9b19fc13b4..acc9d064c4cb 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 9705bc7b3ebe..8a0a43fbaee7 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 1686a69dda65..d8e38d7c46a9 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 5f9b19fc13b4..acc9d064c4cb 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 791079419a28..2c7c4406b1bb 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 17f0283d2a1f..9c5585db409d 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 3612e8a019f9..8d64be6a39d0 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 d413219aa7f4..be9b0d478933 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 ee8c7473e1bc..bb88a125b0bf 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 8f4452e515e3..34f177db88b1 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 741aa3e90236..a7f354602a56 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 4f19aad46ce3..f9c159585083 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 96a6dcb9bd32..abd77c358c84 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 9bf4585f9f83..d40dbed4baa1 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 301ae6419888..71673c39164c 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 5311671fc166..a1a59037a727 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 6470f969c557..12db6b084818 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 5276df84c994..8817d8d88610 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 87651dcb776a..03bb988ff06d 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 5e39390c9e47..b94ecfaf8537 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 63c93e5b836f..421f02481803 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 ff8eff59bf26..64e1df53091f 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 c0a6b722e279..545500bd1a35 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 0c78f6492471..ccb0aef1fba1 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 3331b6d7efca..6e9446af2e4f 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 0b7561ed023d..c559ff16a0a7 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 064e569685a5..1987b545a8a8 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 af69799d8719..8232fc77ad50 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 8f703e40a37a..8cd89cff1d27 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 c79a20737126..930821dbd180 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 fedb0b7d6115..a26d40d2eee3 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 db681f644d30..4306019a9380 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 1acdbfb8192b..3a8976144892 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 1c4c348e2203..60f858cf854b 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 d54ef4341fd9..5c99c7a95317 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 ca80b9f7fbf9..7175f4056280 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 b36bb173204e..159b2abbfa3c 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 589d25347385..db12c04ee6fa 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 de68dc815552..595afde7745b 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 f33253f3af47..cc1d10fbf45a 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 a999a28cde0a..30e52a78ba59 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 203b1b0afbeb..bfea1ccbe68e 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 199ca0804ff3..4aba0117796d 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 064ed7343945..37848817726d 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 15144487b1d7..9dfdb4a5ac76 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 c75f3212c000..457fa392364d 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 baac35825954..ddd2358a9fdf 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 ea0f1a321bfc..360088796c37 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 ea0f1a321bfc..360088796c37 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 ea0f1a321bfc..360088796c37 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 f89deb6f22ea..3d1de1c503f2 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 7d721abeb394..a568a58da143 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 de64be4e1120..a1d6a1e3a3fd 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 5474901771ca..3b6a7a7d7882 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 a7e86ffdebe6..6b8cf72004a7 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 dd0c14738d47..9361393f5399 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 a5d3089a4128..1f7b63df7b6b 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 517f83d77d36..f2e60beec23a 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 6a21fdb83c89..047da8c6d5e1 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 658932a23c27..91b01953bcbf 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 99b13e38ac16..502828589a0a 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 a5e8cbdcd737..ad67ca55798a 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 9267030a0b08..96f96f0cbc51 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 e0ad38ac15c7..9cb5efe189e9 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 31df25afa4df..4fdd67983d5c 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 d703adccd7a0..f6fd1176d9d3 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 5e9ea52afb05..ee6fa4035fac 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 2ccef954c99d..ecb6e9385cfb 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 7649f2e9ce29..0bc5140c5b6e 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 c0bda8af7e4e..21c6e09d1188 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 9c174235fe14..5ca4d92cf847 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 115474cda763..6ff5b818f58f 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 6e89b27b05d6..0be612d5d570 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 14c05c7b30ce..406d4e927053 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 548e2dd85c34..87e36f88701a 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 bb0c2bc77be4..e514ff6e17af 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 b5d5fed67d29..e8cac73d7f67 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 55706477346c..34319e25f735 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 3eb77e9ea171..2fb882a4acf7 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 37430e69bebb..a7879e2c15a2 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 031011232149..72f4eac8554c 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 89bb35bd3b1e..eb2a011d40de 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 2d3272397fce..afacad91fa39 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 981677e1070b..d67ec74e59ec 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 54a70dd9f45d..e057fde70487 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 265038e7ce47..74da5ad7ba60 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 a37077ff86fb..bca48015ba76 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 da7e9c43f54d..84aa917492a5 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 ba0ce4d906a2..07ff8046004d 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 6cdd99bc7995..bebccaf86975 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 320bffc40e4f..5413111fe38a 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 d8d57e821eb7..a0b51f206d2c 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 e2f45efc28e2..ff76296d0886 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 bad358b751bb..849ed34327e7 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 961bbe4267e8..d4474a494925 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 10aa19ef80f2..62da662493d1 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 55706477346c..34319e25f735 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 a176c260ede1..78d4d342d130 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 28e226b39cd8..cdbe8c3c99a3 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 f380c4f5125d..3a256d362aab 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 ebd80a51ec19..d0b700430ead 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 c2993f582d5d..16e6b15f2536 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 bbe2c07aa445..3b2d39458459 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 23c0cc1f782c..be586f242a64 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 83461b324e0a..64de0562f34a 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 ea32bcc77b9a..b396e35c537e 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 70e8077faf56..8f0c0003100a 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 5da5356653e8..c45b2d47a389 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 20b957a3f38f..b21f8627f88b 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 eafdcad417e9..8daed6d3298c 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 c27180fedc53..bdb14f4fd9c0 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 96836d684c06..fc6ca31ed29a 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 5cead9e9d31b..042b4623f955 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 7d832a1d2cd6..055d67878bad 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 f8db8d888901..7a25dfd84df1 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 ef939a6ac7fb..008810b7f501 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 7d3c9ca43f9b..60ff42e33509 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 6d406c0d247d..545b8c97fa86 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 fc2a6705e276..862e79c0beb2 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 d8f621132513..6d84afdff6ca 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 b71898b3cb31..1668fc8afe69 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 55706477346c..34319e25f735 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 be4495673f56..d1661d90c368 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 857359371767..4c2eb523f22c 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 b0830fe67c9e..b69bd5d83649 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 a6feb3a26539..9703ef89ee7c 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 8a4fc31db99f..899f5565e221 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 0536e3638dc6..c5a38c1b0dcc 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 4798652642ba..8f027b69f0e0 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 798a39435644..3a3aaa56f9df 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 50a1e2cd1df0..df03f39b5220 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 a83c96c8021d..1efdb0e56a1f 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 2839a3a29421..c09b28859596 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 1062fe1ead22..d1bca654390a 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 f7493ed4b57c..cb46f01ab617 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 0e2733facd46..3d348e94f682 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 819ff0a81614..bf2aec93ed89 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 63cf929b5e9b..74aa47df21c0 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 c73fb1197a05..8f231ed17f73 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 44a8c33cb91b..95e9757cef45 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 5b3449cef6d0..4e0430542f46 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 dfdafdb0312b..6edfef62d66f 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 97ddd8b56b9c..d589ae4bb590 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 f99bbbd620b0..cbc839fc7f6f 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 62736b32b360..e88fcb60bfc7 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 c86c5075b84b..c18f2c5d6981 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 585c91a17633..e33b89ece982 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 d66d31ebc3c2..b58f4f8e67cc 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 2e8d65a01922..3f2e2ca88238 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 b671a078542b..91fb11fe1502 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 0d59d4a4bbb4..721dbc4e4eeb 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 4798652642ba..8f027b69f0e0 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 4798652642ba..8f027b69f0e0 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 4798652642ba..8f027b69f0e0 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 9304562f6d07..b176c76fb881 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 30794ce5c4be..bf4853833306 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 3906d2816ea1..8b895bf6651f 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 16623427762c..4ca887bee54e 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 3fe518cf0608..a2650f5f5aba 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 a2fd2ad21f2d..6eacb3a9c950 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 0e1c3a939695..0d8679ad1f03 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 096229835337..9b9d307a1f8c 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 de52c5e8da0d..18d185c706ca 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 e3f51cf47132..b0b4d2641ed3 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 005f387ae0ca..a5633a242386 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 223b8928686a..a9023784ab0f 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 d528cb0af4c1..0c3ef79ec12c 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 49237e4b6471..b3ed039aabff 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 0c743eb15181..da0e0a14fc06 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 357b00cc2acf..53e31524d17e 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 b8f3c199e7ca..64f11c71972e 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 74a6615c2ae5..54a5cdaef6fa 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 67b7acae1f9c..408a60a10ca0 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 16e8dec105d2..1a631ba89ad7 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 4dd31dedac97..37f0a6f83d76 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 5f769e4f4cad..60181323053c 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 1dfc62a0e0cd..a8fb0401b3f8 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 c24fb3ee0166..e5345f6a5420 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 ccfc789fa90d..763adad610a8 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 7e93fd0eb82c..47aedac9556b 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 a23db76ccb8b..82a4e8133c55 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 8b34326e71cc..470d529d334e 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 b953c2545155..85b5f9a2106f 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 1818bbadec84..a2739389bd53 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 15a1ec41a2d2..6efa8a7abe75 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 acb05947b351..7b21d9ca76de 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 f9c3e0ff84a8..b050b000cbcc 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 d718e5a30c33..ae21dfd454ba 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 56969c79cbef..ab5682c5d9fd 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 abe19949c5f2..f2a5bd42fff5 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 c4f5cb6b8bea..29f8aba6c68b 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 e5560f76dcf5..8ac6ff62e69f 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 4798652642ba..8f027b69f0e0 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 4798652642ba..8f027b69f0e0 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 4798652642ba..8f027b69f0e0 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 e489157f3fbb..1536c2c11d2f 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 11989790c871..50f35b2dcd81 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 f7189224d9ee..8b7d6b72c682 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 7d1f9e316b00..8d1c49fe16be 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 a9220f86de92..a5c909b28cd8 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 c3e876e8152b..c2f6a257735d 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 c711b2ac1982..49913d507f48 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 acfafc94ccd0..6700087d0eb3 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 360cfcaff7ac..902a2a7ae562 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 44a1348ca673..4bf7de9a03a9 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 762130dc3144..b56cbf821d58 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 12fadca2e76f..838c78f2140d 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 252b8ac3e04b..4fb47b4853d3 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 12fadca2e76f..838c78f2140d 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 cdc1f5d440f0..923ded5387a6 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 4aedf8a4e5de..9c7a0bede1e1 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 548e2dd85c34..87e36f88701a 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 0e736bc264bf..260dabf385cc 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 a0f39053462f..ee0c1a88409b 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 5f26aceee014..e76a8b9ed5dc 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 ddfddfb3b4f4..39f61a955c4a 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 009654952e69..85d0d8ff0043 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 92fae5c9122e..40615ed056d0 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 b44f5831b4cb..944b1d9c7091 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 afb8d8de2c76..8dc5c62edfcd 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 7ea5db24bf48..aedcc128b46e 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 8f40b688679a..b05620e44716 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 a8f92b9feb9f..d7110d08e149 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 45f22ce9d1dd..d170dadda529 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 fc2b868a936e..b7cb98ba317e 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 cd33af43b01f..8d7b6181a3ae 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 847ad46ca25d..bd31e0529166 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 e22b4416a845..48e62da10a46 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 dc06915f03b3..a55ba46aa1d1 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 7c7ef6dddab4..a15868b4d61c 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 bf12cb67b279..e4add3a24f1c 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 43916a85850b..543c64376ebb 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 f9d9f7877e14..85d17570201c 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 43916a85850b..543c64376ebb 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 001ce04510ee..1eaa337a8065 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 ea1fedd0a52f..eb7ed18e3103 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 f2a598b43ba1..42ff83a51851 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 5ce78487c642..8d5ce795765e 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 a89b15a6500d..92dd3578347e 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 4ed0409331ac..b05c40d062f2 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 202c988c390e..7bb9125a9cac 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 a7fae5de3c3d..cb43614a3672 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 d36d77abab86..0303c754ed45 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 dd6e242819f5..9070d1aa570b 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 cce625543fa0..021148afd396 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 1f410dd2d909..6710ecfd77bc 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 c2b6041daf25..8454f2544463 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 c6ef6dd706f3..28e06f16dcb5 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 bf21dc72f8b5..b01cf1deb8dd 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 4e3e0c148990..3aeabef594e0 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 55a8b296ee49..ddf5ff9a4b17 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 1658fda3a6d3..63e06e2bed3b 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 562df3aa65d0..642337f5fe79 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 a0b1b295b908..20876717ea03 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 6a15ef2e3fb7..2e493d4247ca 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 1934ae082e5c..48946336c66b 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 9d37d1d6f758..9095f4934d54 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 7892c93569fa..04fdebd10fb1 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 4707bb071d88..3ff942987306 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 54c250cc1718..1dc60312a2ee 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 aef72bb20cee..ebf00f50ff24 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 d3825446c929..dd5c512bd105 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 cd92bfcfc653..cd0434cf8363 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 e8d617f755e2..0b0633ed2312 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 dd5deff9bfcc..ce438f49de46 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 0adb652d4f54..f067e115fbc3 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 adace5240740..3f917d1fd1ca 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 0b230db57416..fa0c2d6b1cbf 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 b272f7ca4836..654bb1d2a24a 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 84f7cdeac41b..8dbc58b4142f 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 28d5c8ccc5fd..42b31764287a 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 5002b9b30d3f..df469c3c9a7c 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 cbf926c3a54e..2f652b3864a4 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 9c6455a0d90c..1a10c49f0712 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 752bb56aa28b..cdc0fb6c404a 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 58cfd6a1cd78..fa2cc7757f33 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 8f973084722c..687e7fc1a45c 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 ea1fedd0a52f..eb7ed18e3103 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 e5fa92a32dcd..8033b34ef217 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 d97faf541775..7cd5d568cdaa 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 98bd0c1a0c14..95e38486328e 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 79925aa3be7f..4689ca61c045 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 d034c1595211..316a201c0178 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 5c5aeae28e14..cb1ff2ae7c9e 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 95b173d2bcf6..fd1ef17c794d 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 40a25dbb2a1f..089202784ae3 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 da57dddab4b5..ac4d29168959 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 69829cffdb05..2da0bbf1d214 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 0991ac9f33af..72e2eb8e5544 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 c7fc3dc1d694..419138f88e5e 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 ea5d4a8ce6a2..a59fcde85645 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 d85b4528cdaa..e9f89b9947dc 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 91fc0ff8ed89..800ce32ed967 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 4ca8dad2a5af..401595df6ed6 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 07968d275a8a..99dd685a98a2 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 df06eeb39e07..2258df8d4020 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 addbefdd19c9..79124785af24 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 711276c28a4c..ffa61076e82d 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 90e187ba17e9..75e03623d56a 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 fb11338c0720..62d2e3f74455 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 98c1e9bf4016..6d39fbd9758b 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 d9421d57cf5f..3d63a1be82cb 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 b4a64c97cdeb..50871d06d4d9 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 4916659d78cb..9584b45e636c 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 334c3c9626b2..e7d3ef8cbd91 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 6f3de8abd149..6c033d0aca7d 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 f10357414685..4f40c46ec61e 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 ce01a4a3d05c..d6e8168c5a67 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 6fac2c1e2659..d3b16e2753c1 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 9851483fd03d..a771f4bd993f 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 9607d4e60570..12c1d6fe08bf 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 9eb816c8c315..e86728aff908 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 0cffa80759f8..15b4687172d0 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 7369ecabd7ad..b0929905780c 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 4e0fd77de115..0774ca281149 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 14afe697bcc7..81326e9d8cef 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 04cb90c752e5..50767b212786 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 99bd6f171e42..b6b77233df1a 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 eb73accd484b..b7ba32643bb0 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 d51441f0f969..ddf34f745144 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 990f3bdbee94..3e4d0728ed23 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 51365dc8ec6a..b66b0f3caa1b 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 695a6b2f57f0..7aef3f6a1a2a 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 b8eb71340318..efe5864a5bd0 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 9911c80152f8..bcb6b3468ef7 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 f51c6ded7469..40a33958fb11 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 b784f8ef826a..b4af0687b16a 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 32f36cf2db90..3e6574ceee7a 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 5ac05689789d..5fa2ce30dc6c 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 34c88af97628..ef62456b6014 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 53e80d00aea1..905c610ae55d 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 739e10b7caff..825e6d7d236b 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 c22c2af7fe63..22733cfad271 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 1c4408db735c..d27ed7af8e38 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 a1ac104ec08f..c5225f225e9d 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 4a36d0c6f985..9ee9cb22fa39 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 5dccbdc59e14..b275a7568719 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 baa8a71ba92a..6a3b943d6a17 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 655c7de012ad..9a27ced53d77 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 a1016036e831..e62903718155 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 872468021f4f..66164d350e26 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 80e71a745ed9..3df5c1ea2d81 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 5447118e3281..57300aea2b43 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 9d76039dbf61..372871923cea 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 884d6e51a65e..9359c48aacdc 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 221a6401ce64..e0125ae0e577 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 a50a5a1c348b..f96e0f51c7cb 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 6ee82dd08a62..e04041817930 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 fce6140dc4dc..db7c94e8105b 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 99bf8b273575..5816ce5d65b5 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 8e399112bfdc..e8e9353b9137 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 67b2734eca9f..64643b64632d 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 9c66d5e9c16b..0519f029ae56 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 91bb68d67bcc..da70c00fe59b 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 85ab1f98e3d0..fa5d26597c22 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 8e1a7fdacecf..94cc36992317 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 1f82d2d72193..57d81c8c3005 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 a43818725384..6cb3a96ddaed 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 5b989ed52638..08b2716718e3 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 9a88470db51e..f9d9aafb61c0 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 6461ef9fa4c4..3d639d7c84aa 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 6657b371fa6f..62375a426579 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 5c6b33a06b97..717504dca623 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 335137bc7278..b7cc39a19de9 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 49c576316457..273330761d20 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 66657e064b15..099e01adadcf 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 37b73167c6cf..6a94c5c9176d 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 a9c065da7327..687b730dd5ba 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 a9c065da7327..687b730dd5ba 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 c395901aef02..e6a83777125b 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 72f5b2678c78..8c2633b2e88e 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 66657e064b15..099e01adadcf 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 c1fb0b18bcec..3b87616f5792 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 5dc48cd06a44..76d8b9f5a118 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 7018e7e7e83d..e1e0db56b7e7 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 e9312c4163c5..9a1ccc05ba0b 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 a7b68774a365..a5fb4ca04a71 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 819ee0d1e192..0cc4da74486b 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 a8024e83a696..44aa8c8514d1 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 db098c9652bb..96752f12d178 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 66657e064b15..099e01adadcf 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 87b02be4c6c9..0a7288771356 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 45471335a4f4..1c8051f0738e 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 920eebf931a0..cdd7b3449b14 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 e599a52db5c5..4f80ef41a666 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 c261847d9c49..0462f6042f4c 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 6c15ac3bef40..fae00d275532 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 3e4c282a35e4..0a8600a0db8a 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 a2dcf507f85d..31257263bcf4 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 054f6e331d7d..f6d4efb55057 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 9ce113e20bce..a0ae34c410eb 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 080a738c4d25..110fa4e413cd 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 b9690e9cf34a..3fd022a38742 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 ec7d8bb7ef2b..37971c255441 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 db2d5d966d91..825dd9a5b0a0 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 cc6967669304..2d6771e8735f 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 d56fde95ec59..bb22e11cf47b 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 fa8c6c3a0367..b5ed78506c7e 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 42da7de7f5fa..7a14ffab1233 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 ff570c2153f3..264f21d79dac 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 266d85768a62..7c605a9007ab 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 7ef8847e9801..731d614a7644 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 67b1cd3b5612..5ddfc8a4880b 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 58b11212b51d..99ec2c95a586 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 767b31d112da..5be47a428bd5 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 e853f9797b5e..aa1e185cd03b 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 25b409d1fba4..bd557098d9e0 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 6e8af9c26a03..03473e74f293 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 f288d6fde0d8..4acb8d6bf07d 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 7631302b635e..6818645e89f9 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 966bd773024f..f49c1437b9e4 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 473ed683740d..d8f3a02d406f 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 b2de642e946e..bb3567c87431 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 3dfc915c61da..205d934a01b7 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 efc9bd60a93c..cc74e57b1f9c 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 45cbe519cd96..8077c66383ad 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 7622dccde767..09a11c4df2f6 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 6c90be486058..3c8762eaae4e 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 e3937d68722e..a08dd79f9a51 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 d15ed52eeb5c..4526bbd2552c 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 e306fac7664b..31dfcecabdd6 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 84f5b73355f3..3f5e9b8d6e86 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 c79f4ab29716..78a34df8f103 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 afc937f89cb7..14c0563d32bf 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 1f2a98b7c84c..8bd370dbaa7e 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 66ec7c5dbadb..920b9fa8b137 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 83fca751e485..a8cc56c3b580 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 4a36c90fde59..d5f7e30d8b5c 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 430c99573020..307d703897af 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 6f219eacc58e..0d2748bfc576 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 cdd5f15af562..331c01336309 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 4a73798842fd..6070e97e42b8 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 265037a30dce..8d9a11832bd7 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 bb3d45478aab..b4afd4305f89 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 1dc6d7be038a..a36f662c9dee 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 96e51542bc67..528f1286da97 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 842155d1738a..c180ba6e9ee9 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 fd700b574237..9e37dd88ac25 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 255bd66a7331..af6fc849afba 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 9fb9303233ae..33829a6e9f97 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 4fae1b94cd30..374a5aab7397 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 99d113d123c5..749e6c4f389b 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 b00a688b0cd6..d12520749ce2 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 8d2496739bf8..cb8003472b23 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 6de28f121204..467f2e1e220b 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 cff2c4c67673..f66e3b93b2e0 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 b0251c46a32b..8cf3fafb2040 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 f413148f26d5..58402531b418 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 c4945fcce131..21ae5af591d4 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 86c528b26fe4..83c06782b1b0 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 62dc72727be0..ba612f1cfa7e 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 8b5ed9fee935..b7044aa48ddf 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 95377db3715c..1937479dac69 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 ccf6d2e7a3cc..8d47285d93ac 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 893c5a09a063..043f0430df9d 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 2d9530b6238b..8f7f661787fc 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 f750586fef6c..daee45312ffa 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 f88438e305bf..0716d67e0850 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 d50f56451457..01e92b3c80a7 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 12f68aba4028..1ac7175691cf 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 c5baa0a055b3..5ac7b0ea1bcd 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 ad5294e83bcb..3818725d7081 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 1e14d0c66276..625a74b21482 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 4a115fefed80..b12ab35644a1 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 e4b6db7a4cd0..5c1e44f44582 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 06f0f7f2783d..fffa2819b088 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 19fba46eb035..9b6bd6f81458 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 3d0ba9475700..bf6b119e4798 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 5c07e943594e..eabdc0089045 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 41f257745210..1d9b0064cc88 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 1c3187d39b67..308b9eda983c 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 a20d144806a9..3455935e5b7e 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 ef7b5c35c5d0..074bdf4f64a3 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 c6d156cf0a85..6b7df568fd1c 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 cd2aec8f878f..712772010477 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 5414932046bc..f709021cd2aa 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 5dca80d1e7b6..c61d33f9260f 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 9bd1db6320c6..5a4e36e89cfa 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 3a95c88070f0..39d599afb674 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 ae716fd52d58..01e74e28c23c 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 ea1fedd0a52f..eb7ed18e3103 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 56f4f7bc142a..c6f951d8447e 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 6c1cc3c4095d..b8035e565b3a 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 4d2cee6738dc..ade257b2e40d 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 356fdef7ba8a..b5a5c658d8c1 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 f0416d8ab119..e39b52c3d06e 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 d4e28837f2e6..32da7a3aaf08 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 4efa0872237a..fcf4a5fd1c4d 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 8ae1ef61359d..65f43d7784ee 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 dce900bf85d0..5617d078a379 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 5a5a29c25ccb..fa6539f1894e 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 e3582e21c216..e776b2dd4460 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 6823de3527d2..26e4e3520d0d 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 b03366b30cd8..1301965343c4 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 1655c46c71ae..6a27d545ccfc 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 98221325d767..7b656fdc2a77 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 54f6f08377c2..ef12533aab28 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 8802e86ab10c..f5c3ced04c50 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 12f53e2b2fbf..7be2c2dba3dc 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 8f7aa7ae166d..f518efaddcf9 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 cd3d72b6700b..4dcdd876f410 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 6af39cdd0c69..14aee2519776 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 8e2ebd5fe465..f662de65f763 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 18903d49eb9d..4683b3a63895 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 ce93c068cc52..0dc5133cf5b0 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 bdc58a72308e..9f353a808cfd 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 e4dd299a2169..94f96b4659a0 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 3122b298ff74..fc650930fc3a 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 7161621b23c7..3c25c95405b4 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 58a062d81875..cd90870a32cc 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 db38b60589a9..c02c28ea4880 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 fd4e7a5bb8cf..a2aee447ebc7 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 d6c99553f32c..26f77b3bd56f 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 163a5d06dbc9..317ec6944bab 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 c2f4607b0a86..4f932de5d62d 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 716f6aa3bcce..a85a4d6abf83 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 a8fdea0bb49a..c34f8c8fc805 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 c0bfcb7a71c7..4e0d8355c568 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 79b56ac2e181..84d8865d9386 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 eee5d7e5e8dd..f295cfd7061a 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 df05a168c427..6762ec30f7b6 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 c86f197c3f2b..f21031e3f7d5 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 7f0908e43fec..f4d1a36ad9d3 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 6314f0a810e2..5b172e34f855 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 c8d4625b1771..d658ca39a3cc 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 7d1ca059031b..c7d98a0bd4d4 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 af4d1077d2d1..9faa77b17832 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 365b2328e2a0..ad1e9fc13052 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 25b8ece90d8b..65c1a5d64427 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 aa6b872af8e4..64383c7dfdfe 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 ba90b37a9837..e3ad2260fece 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 6047afcfc3c0..5973918c9129 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 fc8b61fc087e..0140ac9e4a62 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 7bf2e80f933c..d20c249b3f1d 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 c7af00950c1e..44ee11fc0a94 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 b6bc3ef98e31..b1046dbcd86d 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 3968d6b84979..a9782f65b972 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 6029e449c2bd..d296d9aa13c9 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 d4387968d7fb..30972254a06d 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 13f8d4911392..2397a7e34d57 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 1495fc503fc3..cca869128b6b 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 80ebba1e323c..a295df6a1b9e 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 11913ffa43a9..18ff383ba049 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 e8f10fa096ac..b8aa955a6e65 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 c7fa09918c81..5d8dd27507e8 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 cee41094b21c..d056e4e2ee3a 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 8dcfe1257855..849d07e7998a 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 da72c00aa40c..aead6a4790c6 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 c4256b05260b..a16840df4684 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 7650e8bc8336..f088a4dd38c7 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 3d017ac9741d..1241f7824060 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 b5a186dd986a..ddc0f5a7f46d 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 47b03d9db695..76c71e777a88 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 e6d1e9ac2b68..8194b1a3bfe4 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 2f58ddfd2e40..f80e638655dc 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 99614cc980de..4f504a580c52 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 99614cc980de..4f504a580c52 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 e0b62295b1a1..d2ddd1e4beb1 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 cfa02e89069a..99a97b4a07c1 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 a33e06d93fb4..cc9e12f1bbb9 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 a2f32af08834..0e3f591a1eff 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 ebaa2585b2fc..db5b8a89f43d 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 ca6b495db0e0..5a4e62a8732d 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 cbf926c3a54e..2f652b3864a4 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 0c6aa060cdc3..87b825afed09 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 b94c833ad506..294480106b39 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 2d033069d3d1..9d46a72a869b 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 58cfd6a1cd78..fa2cc7757f33 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 1f4f74734085..1d353ae10ec2 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 d370ba08e5c9..56a271b7cb1c 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 ea1fedd0a52f..eb7ed18e3103 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 b753d7d56bb5..e2a6c9360660 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 ab3658c015de..935ad97a9168 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 688dd30c1bd9..a4bfb9925d79 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 22d48860570a..afe82c82c3c9 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 98bd0c1a0c14..95e38486328e 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 1f4f74734085..1d353ae10ec2 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 d034c1595211..316a201c0178 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 ab8e653d49f8..2072949bbee4 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 69de93ac8a8a..e8cbcb638864 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 c0114f7c043a..dbe5ff25dda2 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 ac89684df9dd..192132f8152d 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 669017080b75..18878a4d5cb6 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 84fffe42cddf..e974c0ed3d5d 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 1ef0d9cd50f9..51878795646d 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 e704fcda2033..15a5a5937662 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 dd04991e86e0..356ac5ebe88a 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 798b2f1cf2cf..ed754a4555d1 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 6b3b98fd35b0..5ed19570b635 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 9023f5e4c970..adca40347fe3 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 42ea3e18c66b..5e0798516f12 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 5b6928fe6113..0a66a79bf0c1 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 1cb8188a2d72..de9b16d1ad36 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 37ac426f11f0..67a51c1903bf 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 d927df3b3c2e..e6750917da9c 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 b44d690a2843..f4ec532ebf4d 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 6256b28ee676..0d93b7188262 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 0c5ecfde7af6..948d46bddf25 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 1495fc503fc3..cca869128b6b 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 1e1055a6d9ea..80ba21078309 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 e6ed6d63f610..ecb77679865a 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 f25f45a1f600..3b8577a454b1 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 0fdbb7ba08d5..f3baec4d3efa 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 50bcb6331f2a..00b84ed2e566 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 ab378d1e13a7..afe1565bc55d 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 d30fec821652..f87bb33e81c1 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 383d274b9870..4d615922a633 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 1046e6cd96fc..abe6033f3dfd 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 3720a8e23819..200601549523 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 250873e418c6..a3c0f6bd20fa 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 1ca5b3e9ef56..f5513c77fc36 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 89efa631a446..4d9fd80c4fbd 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 c7246dba8a23..a0087fddd0da 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 7dcea71eee25..20694a9fdda4 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 c7246dba8a23..a0087fddd0da 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 80683139b45c..7429e26773f9 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 4500e74e6fff..576a2842e08b 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 d558079b3ba7..d65de5c19edf 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 3de98f8a2f61..fe732f0374ee 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 dd6d2b1d6b85..580b4c60cd6c 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 c6c268b25f3e..cfa86144fe45 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 189ab03b4021..42c078adc6e9 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 3deb9a305e1a..bf71cb4f1e8b 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 8356047e5e3f..693e0064719a 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 16289da2584c..32fbf4c102b6 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 9b8172fb4d20..ed75185c898c 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 35be4ee906d2..e7586bae96bf 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 1a7693d6c99c..096d7c16eed1 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 784d56cc852b..4cdc9527795e 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 bf2890f4004b..49625d75f30b 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 da0b35e2945a..14dd3c2bc8d2 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 17c7c0202952..0d829bb795f2 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 edf2d5778270..d6c335c1b3cf 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 c2a4c4971242..bdc0fd7e3529 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 4e2f4e9346ec..289b697cf5c4 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 2792618ffa82..7a90df041ba9 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 2da71e6d2387..7bb8bdde6200 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 332504f672ce..b729e3d36a39 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 332504f672ce..b729e3d36a39 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 5223a4b1d545..c0ab2dd6b205 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 da3c75b17b55..ff7519fa1365 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 383d274b9870..4d615922a633 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 9366ee82b1db..dd5f81ba6c1e 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 6ec668aebf15..5ee82a51c094 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 6e39dd45ce63..9427c6347086 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 ea1e2c990244..60237e0f3c7f 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 ea1e2c990244..60237e0f3c7f 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 ea1e2c990244..60237e0f3c7f 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 8a72a7587470..bb973ff7692d 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 2e6e9210bf9f..b06730356b51 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 9cb84f622109..4d35ccde2679 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 d36af6b2f38b..b7eb493f4c88 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 19d1dda55481..77ed54801324 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 4c15f0121a9f..f6e537d2784d 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 97224cc11cfd..df1098263558 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 591ef8e61dd7..7540ed22c615 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 34ea8a519b7a..895602e24053 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 cce0ca2f913a..0b5d41b0640b 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 42d4c56ec1af..06622f984ee9 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 2b4a1bc237c7..6ea968c5fe67 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 a29a3a5c1dfc..c7be724aeb5d 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 48e199f8dca6..6369f9955578 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 c94c1157f4d0..3a8d94cd5d25 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 aa062c34b917..f0799e2fea6c 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 88c5061970c8..95edabe9643f 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 cfca52695e70..0d02fa3b4a70 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 f51872c66657..61cf7a107442 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 961b53650858..54d87928e2b4 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 688896aee7a5..2aa61b52c697 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 7cfbb19b41e2..8ef948e18126 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 fb1c85a0ecbc..dd00d5d24597 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 a2de0a1a705f..a3aa8d44b1f8 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 e4f4172b1fca..02926dd5fccb 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 b295b25a67fb..d4aca10a5326 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 8d1b03f08b51..284c10d7ca06 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 0be6405c9580..25316f827df9 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 8a65f639d79a..a29239078d89 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 91dac53f2d1a..5d0579facfe0 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 682940ddfef0..035e15700849 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 79296f126c71..c245f035e132 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 765038eaa9ed..4194a3da43dd 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 895a776973d7..cb30da11b05f 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 452fb2fe1235..c0e1b98d6691 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 5bba1043107f..155e85b21834 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 676e9365e463..ea9164b6d913 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 4899b6f12309..e0ce730d2f86 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 ce786104e537..19d6e48d6a38 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 be6c13b7bb11..c039e3ad3d89 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 dfc8563873c8..917b6db717de 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 9e80017ae91e..cb0873132a65 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 1542dcaec7ad..b581e6f96e72 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 8419369ca516..6fbe244a66aa 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 13c1d2345c72..a9432f190059 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 dd037117147f..a0ca05e90c98 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 f45663eb450f..2bfd5d625325 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 607abd2447fb..cfe17b691618 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 b7bac96337bd..ac5904db0548 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 3d6a94a403af..d5c7333694a2 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 f74d4553788c..1b5f77fc4275 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 2d45dace4a09..bfe748a30433 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 c97c63ed6795..fc39c30757bd 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 cca12ceeedc5..885464eba5b3 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 00d9678a13d2..408612639ccc 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 1f18018b8c1d..c7f14ee50e12 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 6e9e688e2912..c1baa3cec048 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 5e4c34ad3aed..9b80b3ffa032 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 63f1025be2f2..cb21c7c990cb 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 2c12f180099a..665beeec5bd8 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 e7142c216225..e531bc2f1f38 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 2c86ba24c1f9..a5b40abf0fa2 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 9bdc702f3e9b..48fda6877d64 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 4f2d28ec175f..a338d97e4334 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 df2121b170c6..51495cfa3db3 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 2740bf9446c5..a04229b01fbc 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 32f6c5aac90b..a8044598c680 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 5037e44ec091..58bfbcdb5856 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 596bad2f32e2..b2d54c247ae6 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 d5503069e738..462f92e3fc66 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 471e851770ac..c0e20102fb8b 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 e4fdbf7853f2..1d3571c08a0b 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 2c78604e8948..43188a0b788f 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 4f17bd6cd215..1a065307e00c 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 aadce36b6e13..1bf70e2114d1 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 942df4b46552..a2209f93bf25 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 a7ea33f9097a..2e678a683df5 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 2f321333521f..ab9c68d0b3b4 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 3cca15c76a63..ab21adee37d2 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 7a93426306da..aaa10541fa01 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 27ba8a577026..d1cb2cb1d5ba 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 8a4f1335367e..e81f480e87ba 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 8cf99be14e84..e0c9787f338d 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 a28ea92d26da..6ab7be62db3b 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 9663deba0bcc..67c876bcfeb1 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 95594757f2b2..7d925edc4db5 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 af4f7afee4aa..0c98498ba300 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 4b5ae9d3155c..64d867cc678b 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 d9ec1e280264..f7f70d5e52cf 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 1169b45a4db7..599fa044d6cc 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 6a50038348b9..4976d81441aa 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 637bfd5fa4bb..fbfdd85f2113 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 abe206db17bf..5fbf8b45be0c 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 11560c93ed78..bdb17c6cc728 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 088f77865ff5..2b6341f17d3e 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 f7dd0f8f7a3e..081beb2e5870 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 844e71bbc83e..ca439660ca4b 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 3f3bf5d3e374..94a029a69efd 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 2f53edd8edf3..130d2585312f 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 3d6cb8903e0f..4c189a328a49 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 82a6628caee4..f10d527ca034 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 2b5041a41a23..0a69524c7a4d 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 3dd3397b57a0..8f083a8309e8 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 8a65b54df8f2..f40f320ac4e4 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 0785f5ba8e0b..a038a9689c1f 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 bda8e560d9a5..972e63fcbcee 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 c55633de6906..24dc68bd3b85 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 b93ae859de43..f788e07ba505 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 9ab82281c1f2..57ed20c7a2f4 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 fc7cec98cfce..70c2935d9772 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 cef86dfd5eaf..8d20a496d591 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 d41699356b12..0dd96de6ae89 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 2d8cf8ffb1e8..b9a8ca242c91 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 be73b2d0db9e..0d95a980beb0 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 e3f3a3d79eea..49aa90c27b24 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 aeece3b5119e..5a0c471d4bdf 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 8349d0fcbfd7..9dc8804c5238 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 03f03334f3cc..525364ea159f 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 bf040a64fb4b..1a308f850da7 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 2a12adb2c616..d40dbc1693da 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 ffe88fb49b4d..8bfb4711631e 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 44f6f08d71dd..91f2ad7fe9ae 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 f970ade367e9..914cb6329f2d 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 197d7cdb59a0..d864ca4987e7 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 48d9cc7d1f72..8d6b582aadda 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 187e864b7f95..d987ddb27efb 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 ceb4f8e9827e..4c1e7900b936 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 449bf9fb6a05..b4d3fc54cec3 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 7163ab4f39b8..efd84942279f 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 6d6d6c1203d9..9d09aac3ddf0 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 3d8691c0326e..d0221fa0016f 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 0c6195e76706..4fdda1a926fa 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 1dbe5a2bb60d..6ac53efb8a4f 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 cecde527cbb4..104a15a93d43 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 49c3ae66b7c3..c7d530235723 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 029266d9c6e5..87c150a1a24c 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 0020823b4584..40731346ce21 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 212a011727bf..c4867cf451ef 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 54ad17fbd69b..3bfd08e80b23 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 fcf6c3614ec7..49b3c6b2e3de 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 8dcff11026fa..2bfa2b8b93ce 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 4df56a145dee..fcc7761f7f5a 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 b2c60a826a6f..08b99d20f620 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 b1a34833b5fd..6ef6c92cae07 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 82614f5a6b68..ccaa8573e2b0 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 06113f8f6e60..0f87d2781959 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 4a11c019cdfa..f678c06691d0 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 7fd60ceebc2e..4a8311d8ff53 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 715bc5c48d8f..e60928a815c9 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 b95976f85dc3..84bbe143d0ec 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 1e89905b9d99..2fa650cd3749 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 b70120a9f627..f7095b7bfcea 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 cd1eeb6fb0ad..fc434c92037f 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 bc9e633e9804..ceab04ef396f 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 e2409dfef8e8..5ab6717b0b9c 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 a626b0b23a21..8ff3e228c6e7 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 5fadd84c8c63..648475647fc6 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 6d129b31a07f..a6b053a00ae0 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 bf5d0ab6074e..b744744435eb 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 9f6cc639666e..d92bdaecb815 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 7468f378f4f2..1ca97f2c8b19 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 02fab21e154c..eae63673d65a 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 40e5ff698622..4cc8686a7777 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 8c7482b40999..9f4fa5453f59 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 ccd38fcbcbef..f7a8cb8541d2 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 c365c8672bb2..c01c13ba0bc6 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 07f31d1efa9d..ac2883d1905c 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 53892e846174..4b36f1309aff 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 9630ce992fcd..715540d267a8 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 fba414479e96..a287b78afa42 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 71ab54531f5e..461b0f37e160 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 7c935705a406..0675129aedd3 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 ef326348111d..fd211b402e3c 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 365b7f6253de..3c651a5b6971 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 cdce64c87881..c409fdebc39a 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 62b82ec1af65..c325643ebbbf 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 e9dbe2bd9d97..d2825af424fb 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 1d0a71bf035e..428b3d2e993c 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 62378ff10d3d..29adae7de876 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 fe3c84e4d186..a464c5efb0e2 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 0e49af744eac..54af8717ffe5 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 4e0ee35f9875..aa40a4a1f3bf 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 dfad85ada089..18042d418a7c 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 978796de1f3d..9bfa234bb1c9 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 cfb4025b2c5e..05e776326ab8 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 7c4f7dbb240a..2b78184c0edf 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 3d05656d6d90..9e6b6109b02a 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 13959817d403..16b8110454e8 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 c72fd4874a6b..c88f7fd7955b 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 d90abed33984..83eda1f6e0f1 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 c905410376a6..831f32c385f1 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 fbc5c3ca08fd..ff5ebc672eec 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 100aadc36e4b..f95b3dde3035 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 5723895b6898..6e1e82c5225a 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 d55ccbe65e1e..00ea3100c840 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 c9449b7aa62c..5f29692e3bba 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 aa4a0fc283cc..acc36b3eec34 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 2c6ddb1c68ef..8b413959cbfb 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 336e408ecb84..0efcc94aa3e9 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 4798652642ba..8f027b69f0e0 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 467a1a68604d..17d914f3f1f9 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 206936ff1f92..9701e985ea82 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 719f14bcbe7a..f7c3825e8ded 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 a31593f4c27f..72ba2dc5455f 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 0710d5369332..b8e7cfa50fc0 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 6288bd59edbd..e6a92317eb91 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 0be7baaff8dc..d99d723bf601 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 68284344fa4a..41a93c49d8f9 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 f45ff217a508..2a54a2547216 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 4a02e5f70163..96fe49884750 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 4798652642ba..8f027b69f0e0 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 4798652642ba..8f027b69f0e0 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 4798652642ba..8f027b69f0e0 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 0c6040701b05..0ae92a5fec60 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 fddcad759849..1e8ad318c0c3 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 916cfb8439a5..921425888b28 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 7b53df2d6815..ba259fc2cf8b 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 181a937dcced..5f6ca2b7ac52 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 2281722f6e50..9c07c90b1ea8 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 69ac63563ca7..a0bf58363c13 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 5e3fda8b0398..15a241128549 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 d93f1dda055c..48c810152be9 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 243c18fe2ce4..3ffe17e8bad5 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 b66f44e82b56..49285c956274 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 f10cf4f94f71..8aff95c87425 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 b922c382a9ae..3ecd710f7190 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 25d0b7fd56ef..caf4d1d0629c 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 1dff19903253..ff9e5e8d3c05 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 829950f71c67..f6c29e4569ab 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 b745c9149ea1..8a7c7147c2aa 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 890c313fce2d..89b1a2b340c8 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 a5eab99c3a07..6d6be25dddee 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 d99ce2fe4959..ffab4c31fb05 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 e3bf1e8f2feb..fbaa296aa544 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 cf5e49baff5f..297692d4144d 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 74de675ac481..77b95a8223e6 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 ab915dbe75c0..7380e6d57b5d 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 dcc615afca09..93e82c4254c0 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 d43b542175b2..723b0e95e7b3 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 00b4e531c6f9..37eec9631b9f 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 436d595455f4..7346078493f6 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 4ae6fed508e4..a36f039b129d 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 b13de0143b3e..68971add7fc2 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 9b06b31fc433..f20bddb9f8c9 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 c9ecc44a71ad..94ebe89c9861 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 d40edc6f98f8..a16b2e3e9e87 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 88c893f4889d..072c8b542f01 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 1821d14ee07d..dd3e59b919a6 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 400ca6d13be5..7d5b1a99afe1 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 ab6e34167cc0..b8014434410f 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 dd57c446dd6c..9afabbb0417d 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 41554087db38..a4f29e4c7a5d 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 88e2ed4d9e40..9e564fd94800 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 270837619a8f..e1a4d11952be 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 3573626fa68d..77d236023739 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 9eb31ee83cd1..fc7171b299a8 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 014e5d224d29..6bfa38583b59 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 d0471d9f8aca..f5b0c772c497 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 6a20792f6184..739437f929ae 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 51bad2971a01..f0f0567a0a10 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 02afb86aefe8..77c192b6ea70 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 3a806bb203f3..86f0e013f553 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 9151b5a58a15..b101b42fd467 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 a9bb0fd6ed8e..82bd768a9431 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 f1f6018a9fce..cf8a13612ea5 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 b413f630487a..f4b781c2f4c9 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 3d037e1ef777..ba157e29f427 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 d560871f43a4..0289fa8110c1 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 66941569522a..a6c9262b033c 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 b20a7544ec47..20abeb6384bc 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 1f25e40b1f9f..c830001824ee 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 8f6bbc4280b9..724b9516a32e 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 16c1a6e6fa62..c326f17f215e 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 d1a31041079b..edce3247c5d8 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 edffd57d8a30..eb65fa057d80 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 141ab13ef137..f8b04faa26c7 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 888ee559e008..89cb1b7099c4 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 fd9fac8f4d33..f4baeb7f6ed4 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 80c2108a3183..75cf790a5459 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 9ccb28f19a6d..c026ce8cedad 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 b4aa9bbc3c65..44357e89ee03 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 64985f13c61f..1c1902106622 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 c0de083f8351..3dcc0b205be0 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 969b2694fce5..d43dd48fcbfe 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 44286f902bcd..8687b9a7505d 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 33aaed1cd5e9..3dba09bf8b9e 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 803db39f8e66..7857437fb11c 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 59524549311a..31cabe8c030b 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 58f22e40fe81..6cd42fcde80a 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 5d6b1e2b5d43..ca9d777d329a 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 9cfcc6021b68..462d091e081d 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 d495e84f123a..bccc3a9ea11b 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 f0d49046ccdd..e6d8a1de432c 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 912355721a83..cb7fde5fc6f5 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 5ec2afae9da6..1cf1d1be2e44 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 2208dadf0e55..41ee56f72cfa 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 c081c09c1804..8ba0703274a6 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 c227ba885bfb..888dfe914802 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 a3935ebc5f58..4ae3f9f94430 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 188b5dee4687..2bd6d964757f 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 22b4835af63d..69ca6ae1ac9b 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 e1a443b6fa6e..a9f71d9c2d52 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 95359d60c023..c82d77eeb0ff 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 456ada2c3d8b..00b2e20d3bcb 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 f5b4973ca616..759c0fe6d06b 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 318bcafc269d..d84451e140db 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 246a31e31fb9..cb86bc6c2402 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 f60c56421fad..ec815ef30985 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 a8e61ffbda14..c105e13872ed 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 e54908d81bf7..a22814bd1350 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 af86eb02acc3..572b28fb82f6 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 ee015279690b..6c27b86ee714 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 ebdfe539c975..5ce95baf95e9 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 d0405c829f9c..628caf8912b9 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 996f144d66eb..b44c617b9e2d 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 c95fca8eab3e..706e41ecd724 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 04a77b6185f5..d8952e926218 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 8498eaaddd88..394a62ecd49b 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 2976bd9c4d61..9cd7d1b8231e 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 e0017879a15f..ade982a89c9c 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 87760c2e88b6..ad33536e0400 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 d2f2b145c704..63a72b7a67ab 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 1cd0be541986..63406158bb54 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 c357979e253e..dde98f2e7eac 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 f1aa6ebdaa43..f332f18cec8e 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 730887225daf..b09d9f3a07b6 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 4e400178d737..afd95f7057cd 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 d81c0e805d16..7599fe6bce4b 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 294732dff149..2cb717113fcb 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 922f6348097c..e9534f8b60c8 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 4d219df1e381..0416f938c690 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 3eb8615b7021..48e183eea97c 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 c7bf111a7fc5..65879fd5f9c6 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 ce908e6c702f..9da47802fc06 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 32f23541b18b..8cb68fca7b8e 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 6ff28f624390..2109403cf668 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 ea03c2430e2a..4bfd26f05500 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 226a997c774b..8896580047f1 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 5706525639d9..c03e99f808e8 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 cac58b44ab67..cbeb2e319490 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 a3527dea0e5c..c0b28a4ca50d 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 064b3d459ba2..e5bc52981cb9 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 64bd793ee32c..41b2421bb914 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 cfb9a56c60eb..50f18ee3d6c3 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 89344dad477d..cacd12811217 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 bb7563b7e579..9b799e40039a 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 27ebd4ba5588..bd4164632c07 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 82eadbef09d7..878ac61e8b47 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 65a99d5c376e..0a705b69ba99 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 debe69531d47..b3faec73b87e 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 4eb3a05dbd25..45697ac2c2a2 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 1d351dd02c40..ba6976c2ae0a 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 fbe45992db1d..787dc4e78ad3 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 7d3472e19291..d0aa22e86245 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 c59635a6ec35..63d770466e3f 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 41ee0173f254..52e8d81b638b 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 3835a992b1a9..50cbc9445aea 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 bbf9dc53e11d..d15c191be1d3 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 8dcfa0c589f2..b6788f2f2489 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 4311c237c3f4..92454fe8e6d6 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 fe2874d34548..d3d4fb8a4819 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 ed151c7b9a33..0d8c259ae52a 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 9d12b31eab8f..d56bd4813764 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 e7ef071bb7f5..86f7cfad4d34 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 16669241c46a..f7e78e549b0a 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 a15c6b560fcb..73b1bff777ea 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 1c05052cd30b..dfb96ba0c15b 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 c7237a7739c1..b82fab4f4261 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 c3272665914d..f902dbce5e27 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 36e3784c9110..7f9b913a6cec 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 03985964d865..d95d8939e8f7 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 82d1f80d2954..b180df25906e 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 f83c9e1f684f..80530a4c1e42 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 b26f45409d33..c031b1bbc0cf 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 c2273a27ee6b..3db94e5c6cfa 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 bd9cd6441045..3f365aad2794 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 bf9f0e794035..30ea01bac96b 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 f6b77c9dee19..ed78505eaf46 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 3208d604b986..3742b58239ff 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 75934aff36f3..bbe5f926efbb 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 97887155aee5..66975517812a 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 a9d25fc47d76..ec0827aba58e 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 425737298a67..944e08562838 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 3d26913f18c6..f2ecf017e324 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 c5a79021c2c6..6db9dcdc5759 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 f26d4233d7c6..f605ab187d9d 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 da955ae2581f..b74fdb1cce39 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 59c8931490c5..4efefd67612c 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 a2ebe335680e..ddda522252a1 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 c31004620eba..72bccad749a5 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 67628b392fba..28f551416b40 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 ae5d3dac4868..48354e1b72b3 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 40186c1a7fe6..3cddde049ff0 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 2e1442757827..9dcf0ae1793c 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 df52684542b4..be874a6a45d3 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 9118b4ca3c5e..849ae696c96f 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 6ba429de1df8..7810a5e1ac36 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 5d772783cfb5..aabcfe7d3639 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 cf7ae9479711..c816e997d7a5 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 3d11821f42e5..667a6556b99d 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 6a11283511b1..26adfef9e735 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 8ddc07a14880..e8dab0dba93e 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 3907a3b0699d..63e2b5877e0a 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 aad136dfc40e..a3d27f01d0ab 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 fb9153aea3c0..7b1403903302 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 533da3cbfcd2..d2d0f34affdb 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 26619f88f947..5c8928ea0169 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 247de7697fab..3c510b6c017e 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 1327edd3acaa..a9fdaf23b729 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 847c8d554db4..fd8652b3046e 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 247de7697fab..3c510b6c017e 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 247de7697fab..3c510b6c017e 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 7ff44806b350..15f6a3cc2476 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 2fb563d6c048..9a3b4b378edb 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 d0a703fc01a8..e3f238843ebe 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 82195edab937..fe80f6f1a90c 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 2f229bfaedaf..5baa76d33183 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 3e2c6f8ebe91..1a5ae5980d0e 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 4efd38a6f6c2..a386c5d299d9 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 bea180ff1ea7..8ce7fef6acf2 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 004dc1abe2b6..08a768925a34 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 fddb9f7a556d..bd911cd41056 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 6a67677e2c78..c3734fb9a460 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 d190c43c493e..035a0bac1f2d 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 59eb83d6cab0..55533fa87ba9 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 73f21077a57d..af6cf887a3d7 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 0937f3739f58..77254ece3c8f 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 a20c55d09a2e..7d9c08da3cb7 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 1a4dc2b2af4a..e1eb5d1f2b05 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 584879616cc0..734159fd7384 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 a725c1416498..b97037230a4f 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 d02a81d464e5..f279637e7ef2 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 b6084b0e1997..b3223d93b8be 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 c77680e506bb..b0e9ad61e1d4 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 b56cb379bec5..ae59557624c8 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 9337d5d5358d..a5e8adecfad6 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 051e082b824a..686f412ff750 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 291b32c6b96d..36d86c60ccf9 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 a265e8d84d71..2fffbdfee56e 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 e728ff88cfd0..ea00f0a7e906 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 09bb49e3fcb0..49987ed18d3c 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 3cc0c89dac07..f2619548a9af 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 e86d1368e221..7a478cd90013 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 9fd86f04341f..5a434a65448a 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 5cd426ba3310..7023ad36bf31 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 0827dd83686d..910ab51d1825 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 a2969104dd3f..bc33352931b4 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 008ca9be6f86..fa6acdb0c8ff 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 2f08bd2bce2f..48b484f1faf7 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 4a89578de52b..b6383859d4fb 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 f7521fb50ed9..8c5c7a7ebd8f 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 aebbb0b832b6..660b12f279fe 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 69e579fa62e1..9ecc938cc80f 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 704157fa82e8..413c837f761d 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 9555408ea459..4cd7c42dfcb1 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 2fb563d6c048..9a3b4b378edb 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 98597f491e23..e626a00b4c59 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 277ae87c3049..9b8ec81e6124 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 25d1d8689828..1dfe7180904c 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 3504ee516629..5b109d068fd8 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 cc218a605b25..1d3bcd42eeb5 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 c3860892bd42..4dcbfc3a9e5d 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 76e9daeaa6c1..6cef16de4e01 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 578510690ec2..c164b6cb4d98 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 fbe8a00cbfe7..2b261372edd0 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 b1e02c8cc382..2e9a27f9a1eb 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 1650bb7323ea..19e21a3684d9 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 ef8795cbfdea..e8fc40a15228 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 fdb15e217215..8f67431448c9 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 1c8a4d3a4e47..09fe462864f0 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 e09a9efed5dd..b68e8cb682a3 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 b461214b0ca9..66cb1507c284 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 a26371b0191f..07e8d1ab05db 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 fa3eb8b4bc1f..804141bc9555 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 19176366281a..ef6f33cf6c53 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 619acd8e9853..bf1c989c5b02 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 d979138ef3cb..86bef8baad45 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 607dfd4911e9..365f9281b79b 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 99cc3e1649f3..a4ee5df51358 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 f3ff46bc9682..a8da2ca80053 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 545402d6a678..6c52422765c4 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 381e7d107c4f..80de13bf3a46 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 792031c9be15..2f9dc8186150 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 a399d8838cb8..74d63420415d 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 7f44d27672c1..5b198bd8fd0b 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 feac9019c2ed..f3cceb6f6b07 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 e453be267ae7..867658c2401a 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 35f29061cc9b..928f39904825 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 25c9e0b69955..f3498f0da00e 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 e85a3d9739b7..2e2896aac80c 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 bc7d10fbe622..6466bbb8cc5d 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 786d44d15f94..a0c047811da3 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 c7a5d12c71c9..bc3444257594 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 c3936b1579d2..f78a5b4bb285 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 addf3c20c461..73311105e22c 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 fe5c5eba7a22..eddd1a3177f1 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 a01d30d459e2..76c4fa0cb3cc 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 fce2202a2e2c..c6be6271de9a 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 c928aa93fc9f..4e0b5918f850 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 7e7c2e02a4be..6a5d4bc9b428 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 bb4daec41870..bc40f6963777 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 5c4280b38ac7..d0eddde8e7b7 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 5f85e76fef38..ea6b6f1479e0 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 78d8c217352f..c49d104f0c2c 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 23e3e2a3db80..542801bfa2f9 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 8ea8118fdd3c..83a269162e2e 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 9dc51d7a804e..50474ac65bd7 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 ce74780bf292..2d0d2f955119 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 6874caa48a09..a1a29d0a5414 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 dac4e2e4fa96..e1cc252ac42e 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 eea7a5e3379f..aad877373351 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 d61ec6baf696..598907def36a 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 85d0e9e881d0..dbc68f22cfda 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 5d7748694d4f..f1d3c9ff4e71 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 a83f1fd4083f..fb486939bb3c 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 a9c31d8d2d35..47838509db60 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 3a4765cc13cd..24109616ce76 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 f7ee173838b3..25e77d947d22 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 cfd94817af11..ccb25db21943 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 66209e5ef83b..5a71d99585ce 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 3aa16571a55a..bea1a55b9a1f 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 45553f926576..a57d0dd16403 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 d4225655d2ce..a40217fce3de 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 c5c80e647942..9f6cf1170927 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 29837b151d29..afe3b983373c 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 3735f9a59782..fdcd34bad879 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 922796e6413d..4594b718c9c5 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 8b975e8c9f04..07f529aae88b 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 c7c54a0bdee2..68af82b2b73a 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 70d9fede47ef..3a60dd3255b6 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 4addef571677..416cfb60444c 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 dd833f1532f1..2891b9918faf 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 4966bce8f3f0..8e32ad30f8a1 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 4966bce8f3f0..8e32ad30f8a1 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 b0d0fc2eedcf..2c0729bf1a77 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 b0d0fc2eedcf..2c0729bf1a77 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 b0d0fc2eedcf..2c0729bf1a77 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 56644333cd03..3cc5e4a5cd89 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 092ead178f4d..cec4b84e3ed0 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 fa5b4b39ae93..ebd8366b7cbc 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 b5b82ad762fa..1cff207dceda 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 6a80887200ba..cb0fcc12893f 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 6a80887200ba..cb0fcc12893f 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 c44dda45c2b4..39302ddce375 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 26906b1c7c5a..0c5177182339 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 2fb563d6c048..9a3b4b378edb 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 05ceec78194b..e0cffab193ee 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 8c6fb9914d14..bc1b41be0c00 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 ebc58f3835a2..3bedf2ae6188 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 abf970c1a4c9..014ab5d94117 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 7f064887e5bf..0f74690e59d6 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 cfa5e8452717..db037b404659 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 7f064887e5bf..0f74690e59d6 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 467ebe29f151..741c8a173157 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 c664542ac03d..ef51e9763d98 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 b84f47726403..a208e9d2769b 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 e57e0fb2f132..b08568367b8f 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 ef21ea863baf..923499d6ab28 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 b6599b926001..c4e68b17bec5 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 4cf9496ec12c..c4ddca3042f9 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 32b7bfaf9f68..35de50e6a9d5 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 e8bb7caf46c0..5260ac2c8744 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 bbec17dec2d1..c7a9c04c1351 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 6236505e09a7..06630e6266ed 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 d4df8abb6b89..ef719ff2b1e0 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 c6eacb581d08..1ce4dea9ac5c 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 a64f830923ba..df07dc81cf87 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 832aee5ed152..69935f61dee8 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 08c5f785101b..1c99abf5ee48 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 7e2f8cb89a8d..9b9f7c593deb 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 9f8d132c27c6..25d98b1d3ae4 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 ca62a991fe71..aaa03323c6bb 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 e4857dbf4eed..e807b3d66af4 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 2bf495066e55..cd60f65d5f8e 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 947d3640d8e6..3d3e63a41ac0 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 9b82a2b316c5..86eb1b2d0ec1 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 57f5c09089eb..0039379e068f 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 2d9100b4d00e..5e03f76a656c 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 98810f600908..ba27ea8fc006 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 46d22b74e9cd..f66d3ac213f0 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 ca4ee390a56a..920bb3db4633 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 3d4953c1666b..58f989591c6f 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 38c506ef0317..d7c652c816d9 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 10850ffd5306..3d7118279a66 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 e9b5c6a2b1fe..a646519fcd00 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 b6a6626eb7b5..6771692b5a8e 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 ca34ba9ba8df..b409e253b389 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 be139c2418b0..11c3a3b1664c 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 435d5bd6bb7f..a71912f719fa 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 4f84f3bd71dc..cc93d1998041 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 810caf5c0d27..cafa0e83ad71 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 710a06e5fd48..bc30ae732cde 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 42feb0e4754d..4620ee530f49 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 701847864000..43715da55b7d 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 e39604e54e91..4c1b3082f5b7 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 6c25c0a4952c..206492edceab 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 e1f1bee974ff..42f3b5e3e30c 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 d5386c37b0ae..dc8c4e918d82 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 69c234842b59..1e28a8b41f8b 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 a13120c56697..352cced2c0e8 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 6415a48916a3..1965c3c1e893 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 a1cf6059dc15..63a4593ccd68 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 bda10af901e4..3cbae37da8fc 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 d5ad78e496ba..f069f8dfa06b 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 e5bb84634937..8ff4961f40b1 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 5bc42727753f..c76635c12c0d 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 ccf0228f4bcb..81aa185a542a 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 dbd2a5460c1c..8c897a3ce996 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 64b6ac702b69..5cadcb945ccf 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 56430c9ab42d..b667e59da9f6 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 bea4555eb413..bcc3f1585a89 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 85c3657fc4ce..86589f136d0b 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 c6015ba0d2d0..79dbbfe3125f 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 202dace2614a..e00f9b5fd5a2 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 07506e790798..4e54bec85acb 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 364baa3c1693..a1f3d2ffb185 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 8dd0a274e6b8..6a756a188857 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 daebfe8947f0..1307110b9b0b 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 42e646a7f9da..a4e40da40138 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 1228a797b961..15f99f18f173 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 d2532860a98f..4b57e1b1b682 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 1964497aba8a..eb25edf4c2b7 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 bca59ffe3c10..03b02b7681a6 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 684a90aa94a0..7d058c1186b8 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 fccafad8d747..f5307acc5135 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 ea794d98ff57..18df8b42a121 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 1795105ba990..2b61129d83af 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 ffd0315e2b51..881dac320b16 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 947821bcd803..af4009db578b 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 2087ab0780cd..96f0fa9c281a 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 a5a683043323..6122473d1e13 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 3f72fcc24b21..327770c0284e 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 008709b34632..166f0f9aa704 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 26111641b242..b2f969bb8d77 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 74203f85ccec..6f6bb4061ea3 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 6ec2b2431aed..c8b4d97a89d5 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 595b338632b4..e30ca59528aa 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 b69b3c514709..c3834a8a670b 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 2a9d6662aa57..ca2c02197c5b 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 cda752501c86..bfeda741b537 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 628eb2669e70..7143a02abc13 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 5e71ef5cb7bc..b774dadd6f4d 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 0c43859e8495..2e9704758f9e 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 a356616ae6dd..845453031405 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 6d7a22e43310..4a296acc4d22 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 fb6c3c34720f..9757194842e2 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 0e777cc4c1f7..85b3277723b9 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 150d9fd1e7d1..3612fbeb7fea 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 ed3a45779a0c..c6ec56470c38 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 8d95ef5f3a6a..5e545bb2bc07 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 65cbde00a6e2..7e6019406729 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 44266bd1eb1e..4df25804d785 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 849fd06ff41b..b67e03e56f4e 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 5b20826b021e..6b1032d0f226 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 7f80f25f7850..1209d762b552 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 4438db551b99..a5f1680a0a56 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 1b01d1a1d080..b39781998672 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 188dc89a08d1..db51924d4015 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 c57e0ce8e616..6a4ee538e54b 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 2a5a0feba143..217653aa79dc 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 ff8eb0aaa5b1..eaf9214a4640 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 9a1a745a800b..87a477377182 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 e2ec651e6dd6..781b97ee1e86 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 cf79ee5b9255..05e9e114735e 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 cfad679301ca..42e18ed871de 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 ac50bfc8484d..efcba9fed487 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 ee721214761a..d5ba2e3aafa9 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 90c430d918da..7bd262cc2ec6 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 6a4828d983d5..a3372de21730 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 71e13c9d429e..1c48f5534484 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 400773862411..f048cf0c3a64 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 a6c48f7f2bdc..52c92890a655 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 9fc5cbe28d1a..b31e24b10452 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 728bb59e8cce..8c76df97b934 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 0807bc8c0755..f1baac4f0691 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 94169a2e5bc8..899e9ebfdbf2 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 5ab3d380191e..449638cb8b0b 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 0453ca94896c..5133abe97bc2 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 d56932512741..229b702bb7d4 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 ac0d131a7279..df13f9aa2596 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 858c4de6da29..8112f62f1f50 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 3cfa5f59f555..8adf87dbc246 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 cf8329e24057..701499a611c8 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 a3a6270c547a..fb093b652e5c 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 08289beb25a4..4f5e721452ec 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 855d7f75f486..22b811750971 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 14e65e1557ea..8663224ef9b2 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 26df1941ec2a..fe6b7f1cc5fb 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 5ce8aec17388..811ea43bf83b 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 1bfa141f7f80..0c01c77e3d80 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 5ab52efee499..a6000227dbd0 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 56646e876660..f98432d4e46b 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 7f70de80f4d4..a223051d6ae3 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 859ba65ac261..49b647b309ea 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 23009a080cbe..cf7576a494a3 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 9cc33c0ac9dc..fbf0dd278583 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 5b6c94c6c644..03ae0d2a2100 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 f318da4cfedd..17d7fb07d6bc 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 f0aeac38bfb1..c91dbaebd97d 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 10fcf8973e23..69931372b210 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 5b68acd3a78e..fbbd9c1f8226 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 248ae7531e13..88f5b48dc07e 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 65d124be71fa..ccdfdfe4a829 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 f8adcf40e0b7..fd15d27ac49f 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 a71c4552476b..1e1f06e749fd 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 b0dff25a666f..71ecd80afafe 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 2e8036e87dc6..6a22272f7aa7 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 9f361ea55179..145f5f05bfcf 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 7db8a7f633cc..e7af1b2ebf55 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 3dd8cd8d841c..c99748d62e16 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 bc4c19fb94a7..939de6b8e40e 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 e9fb6f9e8114..aa9ba85e4e37 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 1fdb459e9251..f1630b57d48d 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 01b7cf7ec743..a4bb708c1322 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 a3dccfb4636f..ece48eddf9ed 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 7be1c5775bed..5ebda46f038f 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 250561e7c92e..b8c5799e944e 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 334c5f8ad82e..c0aad2443304 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 36a9b6f9c0e4..24ddaf6e95c8 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 af5df8b7834c..b8cd73df34e1 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 fb4e1891a737..6c114d907712 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 71399067cb0d..051dd1732706 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 b494de57a1be..6a9a6f81d26a 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 2ea8656a3e35..9cf26bb36c8e 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 f0187bf9bb91..8869feeb4341 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 b1fb756b4e60..d31b7eb95448 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 e16d0049a8e7..e654f85f68a0 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 7edf87a76c5c..40cde95851aa 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 c82b08353fcd..9f69f38045a7 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 8f726b84e9a3..31f1c4da7439 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 930b24367888..f72ace1dcdeb 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 f20bb8463b6f..8d5c52a12ae8 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 04700e0d8e47..e2845ecf2182 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 c0b1043f5818..f77697523bff 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 58831c8725da..2300b91b1708 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 c665e6ae1b29..9b30c33266f2 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 3a814abb59dd..f172f5b4678e 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 47e90ea8961d..76d79e18918a 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 f448dde8c4a0..f13f8b67674d 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 c62dc23a9f5b..36c65be76915 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 4d2911bf5d65..e759c079ad5c 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 678019254935..e47ac1322a05 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 b88095791f78..b364311722f9 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 c860094f2a8f..c27bdc4606f6 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 2b218355ece3..d64f12d6803a 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 c46cd16d717c..857c91206af3 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 b9f4f8a60bd3..49a0b17499c0 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 15304619f36b..d0e9a431c702 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 139448fa2b59..39bfbb94c343 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 7ab6c81ff078..059d8c2bd8a3 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 6145b3cf9c30..3ecce59724b0 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 9fc98851826b..f92ba4f6841c 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 0dd87ac188a7..6e54781b2f8d 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 537890a6ca57..e3cef83dda02 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 e91b9734acbc..8cc67cccb994 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 3a7d1db08415..c847c3f43f49 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 0598dc84309f..3b45c165d8cd 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 af367d60911e..68e765140ea8 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 23c07cd546b8..61d1e4b7a3d2 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 1d6d74690072..568fd813b4a5 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 6b70ab4bf75d..ccb58a1c7916 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 cef93efd7e3c..5ddaef99d189 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 ab2fc4bdb5bb..9e7c35478493 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 598a2a508c0a..1cf8b102e074 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 9399d780c31e..54cdb3b2cd4c 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 97713e361550..582e700b682a 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 aa62c08869c9..5e193c3dc854 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 8972897e988d..e72973ab85c8 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 285008d9cebb..1a420730f4e7 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 2dc68a8eb405..ef6353636b4c 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 cc5210af6bbd..da6dbd77ff20 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 cbd9161aa21d..9ce85853c9fc 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 b76dcbb5232d..25cd99d57332 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 439907e7f127..419acbe68366 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 19f38cb4a86a..916d01d25372 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 202493efa1b0..d9a7ea5d7989 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 6bf0f99a56c6..a3de5a95b60f 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 97ac50c1282e..0c13d9e6850e 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 f65995bee015..642acd0c1894 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 beb90057b341..59cee15b6f2d 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 60f5471c6858..3220acd5de91 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 d2159a7613bb..f61aedc9fb77 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 4ca80e4c792b..737ea1024bb8 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 ca262e4a80c3..864c979ac21d 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 67e68061c72c..1b376da1a773 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 74507a12b075..933f36c66e46 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 11f9feb55bbc..876678def8ae 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 424f51ddbf19..1836b036d201 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 c26709160a84..cb35689673f0 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 7f9c6f8c1bbc..14d58db61b90 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 0ffb4823ed97..b72759fdf1a1 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 cefb22b4121c..fa817b8843b5 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 da93cb928ff1..40af68fe5578 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 5fdc7357401b..f26c584bfc63 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 74f751bb5310..ffccc7e6b5c6 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 6ed894b33195..5bb249bf590c 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 c5d15011a7fe..0dc29bd0c987 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 4fbbe4c749ce..a12d401c33cc 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 8634998b6a69..0ea0ea0b556d 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 99e01157d09b..8723cd8fc1ed 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 d505e58b79b2..20d31ee37f04 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 de4a8798aa6b..b2f5efd18d63 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 b26f8815e08b..bdc5d27c8251 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 a115960500c4..341f3796ad39 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 ef4eb4b8f284..09cb2b7c7df7 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 4d3bcaf76e28..9b817bcc06a3 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 a677a2ddd55d..062180948017 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 10ea3eaba95d..0535b2a74bbf 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 5a7f7371bba9..f3384ecd7b67 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 a4c4f605e72a..f502332466a9 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 8870b5a0f2dd..7828677e0bd8 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 dc3fa6587aaf..7f67aaa50ae3 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 7d0e9adc4315..84f93b52b416 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 4bde1237ba88..c051970ac9cc 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 07969bab3357..991b8e8b6794 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 21fd25ef439c..f4fac85f2d62 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 7d90d3284c29..a38ca6d2f7a2 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 b281789cb6d4..00c3d39bc72b 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 8632741920da..9f3eedc1ab18 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 26a0df444232..8f08086957f1 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 dcf2c46601fc..6eb87d9d977b 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 d6759e5a4d87..9b32d635e3d2 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 722cb3ebc49a..4f612be6dadc 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 bd85aa1c4b5e..43fba6b344ad 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 06dabdd4df3a..ccb127b58ad8 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 c7725cbf4586..5ac9fbb001a9 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 d3c5dbd07afb..cbf9140c7b8b 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 07ab94be3a9e..949dc705d5c8 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 64122f2bb496..0bbe5fa6d9fd 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 d6c8f3eb63a2..c9a62197b2be 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 eff647658e2a..bf45451144d8 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 216a0b275efe..58ab6e30e54d 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 b50adbb1ee8b..f728f2ce9a1f 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 eec53687391e..23cff5e93333 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 e6a5b3140bfa..d9fd43960001 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 9b50f02481b8..cb181c4e1cad 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 fd85ebb241a3..3d70816f7bbb 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 54b289439aae..f20a9744a717 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 47781b98b2ec..dc55eb44179b 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 563d49debb2b..85bfd1fedfed 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 740bac9dc091..c23c0b3d5a6c 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 0256b923f5ab..829e94123884 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 5df4f0755ba0..d6af77d06049 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 87ac539e89c0..f7a601fa79f3 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 46c316fc8c01..1480fad630ee 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 0be86b3a282a..91fdc804cac5 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 cb02cf723654..77f77ba8552a 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 e6d784c73b3e..71256de4136f 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 4adce007bd70..450c48919f80 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 f861f118c7b8..7ce51f901d4f 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 09f5511b6531..3d3fbc21d184 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 685093159b9a..0f6c03a5e3cb 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 6e7213ad3181..1538f9bfd545 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 ad34894c2544..a8195682462e 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 9f5bb4011e8c..88a2c87548bb 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 029746528e1c..4009b07dfe5e 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 014ea935b212..9dab74db98ab 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 5e18ae67dc14..9a79bf1cd9d8 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 3fa580269de4..6b4c77310140 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 f850fbf448a5..b6194c0d1f84 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 e02b2a46dd88..28be0cf75313 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 8922611f6beb..a5250cd86a12 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 35ce585190bc..51a78d137b27 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 2dc7dadca50a..3bb975904840 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 b8416b24c014..76fa9ffbb356 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 c8d827098d8a..66ec0d99e521 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 b4fecd333b63..531f7db6384b 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 0507ff9e50f2..81d33b4ba3da 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 fe71db0de924..cbf879ce70a1 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 5527f1b27d7c..3496e88e6abe 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 1435c75079da..2483e4474f7a 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 55b3f63b4ea1..3f8f8d4c6a0c 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 917106b4bab0..2be22dfde886 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 ba2a2ebb95b7..875817302bb4 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 6a3926e2dfda..855d19559c56 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 ad3adb3ecaf9..5914e361577b 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 f18ac55bfa0b..2dbe0e243f41 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 20bc4700df79..1af4d2fdb30c 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 0036f30205c2..578b3237a817 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 d3cd705c1449..6c6e03fdabca 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 e1be50b80164..6300736f7250 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 36c55b42fa92..5b9362317fb8 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 28df753b92c8..874fce017431 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 39678fe5d0a4..2aae21d45ae2 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 47e7e9a46aa9..8e9adea5c140 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 d7683ef2e011..53dbc571ac1f 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 9512d889b3e8..5449aeb7f1d7 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 a7d245699129..03be916c6d17 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 0679bf0bbe16..f5a7237fd976 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 bd454aa23091..d3af720a3d8d 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 5e4b94a55834..0771abc0aaef 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 82856e2bee25..a4a9e9379b74 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 674bd46c18e7..c5dd0d1070a7 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 4cb21b1c804a..601572422cc6 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 d12dc6c33add..362614435a72 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 eff90395b4d6..6ff4bcc21000 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 8259ed384ec5..acc21d67904f 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 12971978a53a..060bf3a0314f 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 d8835dae26e2..66a088db7d0b 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 8eb174bc4ff8..f67e0d12e49d 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 99515e9afb12..e915fe9efe9b 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 069771e56f81..424d5e8ea321 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 0aef0cc41573..3b5d76b54c60 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 07d5efc5f0ca..3924dac433b5 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 166cd94c5596..6773b19f3438 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 bbe9c3748bb5..9c71a04f5110 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 e746080ba6d0..00d2cf03cc80 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 f34cc089b64b..ea3917313a9d 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 72ba1c8d00d7..6e304bed43e7 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 259f8099d808..00c3bb4e3187 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 6bf5b4c86aff..dbf3dd06c881 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 fba064e340bd..76f72499d0c4 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 aec760d64ddb..644086da5c39 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 90fd8d2a9de0..c5f50bb7da0d 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 9a10b66f732a..69f3ad0ad8ae 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 9a404f97ae0a..98fe8ff559b7 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 1208110cb028..7b5b9c1e977d 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 88ad66cde44b..9d89d32bd4be 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 0cb51c578fab..ba4a7a6e9b9d 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 90ef015f4341..3055ff6cb61c 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 8fca606684bf..c4894b04f60f 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 b752c7d5870c..150363afda52 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 de17c2be1826..77b8ff2a5263 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 eafb9fdadb55..9c2d44c905a6 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 b8ced04c6fb6..2f78a927b762 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 7d1e1acda205..dddad3a73a65 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 8e05a5b62a4c..650e2aa01c3e 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 caa84ad9ccc2..1f62198b1e37 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 86677c8c7660..655cb8f647b0 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 c250cdc9d339..024e52412ab3 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 6cad29919244..d9d70673fa2c 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 16b99d704d77..954a47d08536 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 8250b3d72ccb..a63aa83d5d04 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 ef82d4ad08ab..4e2397bd950d 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 be630bc0e068..00251269958b 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 235499247ae0..94536724e002 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 9383d60093e1..a303338fb124 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 ce4eab03e1c8..876ea2257336 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 7f7d270bd9e1..6634f11f952e 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 029e8cbcbae6..ee60f8e42b04 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 baa03aa8adba..8dcb670fc278 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 7ef92ac8aeed..954ba1913029 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 20506780c925..84171ff22be6 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 de7266ad0a58..5d5797a21f08 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 101d55b6ca85..09edf0dbf257 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 70b7c8e3e110..0d4054cb5805 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 7c0219c4675b..6fcddcd68620 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 4b77843bdc5c..c73c026f4086 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 901940e09b29..fe607e61bfe7 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 78acd3ae6210..ab66cc0295cb 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 d48783ea56d1..c3b3dc1ed8a9 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 c173f098f735..f5d07ac0cc29 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 2ccc8828f5b5..4b362e0a0e03 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 51655927b85e..8d54eb9dcaa5 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 94f94a046756..82b82e584122 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 54c16a52be94..a2eac09c87ee 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 4a1e45bd1a2d..468730875877 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 4f6d20a89c0d..f0dc796e47f6 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 9058ff08d14a..cd7e6e42fff5 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 649fe42884b8..cac92d674fc3 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 98e8d9ab197f..e75e4cc54d63 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 4126da38886e..3a4e9ce60796 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 d42a23d49328..bd49d975452b 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 f3a7a012c49d..24e96a4b7adf 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 653387c54a1a..577a84ab4b6b 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 ecd64d86ac13..e57fea1cb8f3 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 93e8b925ed0b..ad5c4867a0bd 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 27797a084b4c..e64a8a12c19e 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 1d67df047894..6092db4e5b5c 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 e754313d451b..21b6b2ad99c3 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 e19b522c0da9..29b2cc842d79 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 2c4a6d2ebd38..2f0cd928b340 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 513bc107c125..2fa9f4bdd0be 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 3cc9033c2d62..910ab62b83be 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 106315b2e56f..25d71e049f6c 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 50d80141a1d7..f179be912aeb 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 97d996702cfd..cb631278bc4a 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 81d8628535cc..7442eebf56d1 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 a52838198e26..3bbd295aeb99 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 8a785ea8afe9..e1c901129e70 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 16780eb366b9..adcea8499a4a 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 3430985f8868..eada3affabb4 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 4d8356901a0b..489121994987 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 0c78b23080d9..7ad4a31d03d5 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 e2d51871fc5a..f2ff52cf2914 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 a267cfcb754e..754834607ab4 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 37a224697e0f..2a8e56b88ea3 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 6cdd0c1cbca5..76419d9426a7 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 b809afaa6645..59c2fc8f7f81 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 1c8652db736d..8357fe207f1e 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 2adea524e0bb..70f92ca29f16 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 3ad99a375109..04db9c42f2fe 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 9e506853f12f..8d0cc969d5f9 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 62b2462e389c..03a0c6c7dee5 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 199dd060005e..620425485f7b 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 56f251af2d96..c3d7f8885b0f 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 ab5e066783b6..0503bd19430b 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 479ebb5a2b51..7f328828a03b 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 709090aa22a5..bded186a040c 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 2599b99566d4..ef7af8a501e1 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 d7b07d460acd..7bd1445fd4e1 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 410fdce5a675..733b0f279a78 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 a9762fe9c0ba..8fdd6e4ec5b2 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 6ac1859df7b1..170db03aed26 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 78f328c70f7a..5254c1d02808 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 47e26d510491..092afcf4b8bb 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 6767c5f34767..17baf0201aa8 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 bbb0ba426aeb..a718579128f2 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 0bf4f37425e3..cef31091d399 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 f8d648789209..8dba3c890d4e 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 1d567fb4edd8..eaaab59aaa0c 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 9d22fb3fe07a..7e3b087e3bab 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 11966cdbe7cf..2e9bb286d1ff 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 0fc19096224c..3e0fdceab0b7 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 2e48316934c7..afb627cf625a 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 68bf007ccf1a..cd5a5cf7878a 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 b549242a087c..742d6c12493b 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 84dd3c0d924e..c8db9fb01153 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 dee8296c62c2..e7bcd5964f74 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 28df39d9aa70..d37b8796d9e4 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 56b6f1e81c55..136ed97cbddd 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 eedf305435bc..56bfa0ae64c0 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 89ba6b857251..fb2c1cd2b5e3 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 8d91a5a151e7..e181648a8dbd 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 68b455df7923..e1f9fef78b69 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 31603ce7030b..64ed22f3b257 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 c854e0dabf66..f8b630bf56bf 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 daff99c39b9d..be256d508e4f 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 248789c14621..78cfb57d76ed 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 d142c2fda0a3..a2d6c638c02e 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 c5457176d659..2a61b62772c4 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 002ec87421dd..df121615ef22 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 a37377be8019..807ad722ade3 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 b3a1d3eebadc..2594a799630d 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 13333b137f0f..9edfb21fabc5 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 3ca5b690e4de..cb27a1f3252c 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 a350192c3e6d..cda54dcf23ce 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 1cbb197a9b2a..7fe53f92c62a 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 8022f955d04c..a5d1e4facea3 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 177bfe8d2a08..e9e7d8fedfef 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 27932df97e99..92ef7800739a 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 c8d65bdddc8e..9fc7a5bd90ea 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 3f1c987104da..08e8bc27d3ab 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 345cdc1de430..f1df734edd15 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 adfd4218dac7..999991ce4dff 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 2163cea167da..1ac4ba9d8429 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 b7baa6a0b256..28550ce0623d 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 40a03a41e350..e375d1b9b7ed 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 ea399b4631d9..409cc0ec77d5 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 dfcb33969578..fc98874be55e 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 65ec937d903f..793ec77d25b6 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 e84c7354381d..af7532eba291 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 4e3d36a571db..ca2678eae375 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 c06f68c32448..02910f653fc3 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 5ac6cf147340..e8eb283304c8 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 d2f5fc1b01a7..2e6df6e46d45 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 9bbf14a1aa43..b0e5b99298ed 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 e630e7fb1cb6..69114943dad6 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 53f37daa65b3..c0e158b52211 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 ed6b3347f99b..3a372503dfe1 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 8635f05bd50e..42ff35b9979f 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 9405c9c06094..64a64485d55e 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 b3a3d9ffdc44..3550f8d74815 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 1021244cd062..7d1bfbf08ce6 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 5b9cf4b2e19a..a7baa217047f 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 3a3f99a4c6ae..44c82dd1d10f 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 5e621684bc9b..154d26d63814 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 e05b15018b2a..4ae90fc5e09d 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 3e0ce05f0d03..ae4f00182c3d 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 70f7e918cef0..67310e1160bf 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 6d20e98672ee..c43f156632d4 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 3c81ef568f7d..c10ab1bd1852 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 965d34a662f3..1432ffcf6a2d 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 1e3ee97d5aad..afa7fd469dc8 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 14fe56c88cf9..2561fc98b7cd 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 8cfa76a0f093..4ada867b8cb3 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 acdf51dcaa6d..a57f046a212d 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 f0a6ce6777f0..e40e3d6f6894 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 d8e7ce8cc879..b988c092c7d8 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 7559a5e680e3..91b2f8de961e 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 de23b4cf453b..301869c72c5e 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 4e83d9bff445..70c9f467ee77 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 b1f59f1f5e35..940197e9972b 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 5632142aa87f..e3fc75d5d82d 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 c895fc987c66..c942b30b4ace 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 a9b4ab9ae4df..6048bf6a1966 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 84e6e747598e..3b53468b59c5 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 b6f6d96df97f..2d7cbef4260c 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 92c287291e96..bdc9250ffb11 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 2c66fe748f87..6e2519d3894f 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 7fa0e7fcf24d..d6bb4b004ccc 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 5179048f8f59..fc55c91653ea 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 b96a4af7b870..829d4e089eea 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 b070ec7d5042..1e023dd9e2b4 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 e3498dc52eed..9c15702907f5 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 28060721bb62..f80d74f5243d 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 fca8ca8967ea..e83d046e7789 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 36053ec96bbb..c2586c4bdb60 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 a1484865a680..3a0a52f6c4b1 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 9411bf362a67..d30df178c551 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 475f7726cef7..de0fc8025e7d 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 845259063bcc..c146adbfc1a5 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 45940ae944b3..ebfb1e042c38 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 c6e719fc1251..1b695c4f1d82 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 6fb3b179f6f7..07147ad3f471 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 090f871c9ba9..6fb5f6d17aa6 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 0faeee1b002d..7cf66075a508 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 b934901dc4fc..2b7d4b38510d 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 57c0c3698052..1e6d795a27bc 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 aeff6eda800e..bfcdadbed0c9 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 85d92b10d4ed..a8aa758d7c7a 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 671b2a73f3b6..f3f51930450f 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 b6fe85ae29b3..4671f1251814 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 38071abdc8d3..b1bfa0b0646e 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 a38f5164f609..acca5f5b4423 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 1afd40dfe817..aca46718504f 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 bb78398bc160..f6e7279de783 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 dd41353fd875..6ac795dbd1b9 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 28800a3a5c4b..a881f0362291 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 8d83e9df2c19..92f71151d368 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 8999d9f956ac..3bfad97dd0b9 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 258c874e1c3e..d5c4de392a91 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 da2aee831c43..6bb4a990f906 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 2334a95fc7f1..4dad013d8d95 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 f863bb13182a..6a1a3e98c923 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 6579bd4d06d9..719914297ac6 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 6d95bf37fa2a..73a101a6bc7f 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 3c975106abf9..915cefa3f959 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 39d9352cd7c6..c10b81542ad9 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 84bed3b21895..0e4493e53296 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 a3463aacd341..632d05aeba4a 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 f6eba118efb6..8c547b6712af 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 1091f33e3149..d7e252e295c2 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 917638018ece..6f66d423bc4c 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 e0ac46c83fc2..396de6801711 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 97d1968e0015..986326f94bb2 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 a49fed466aae..59f7738951a3 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 2e2d54fcc900..9570df11a9e7 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 32276749fafe..eda7e9ccc7b9 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 7bd47e71da96..4ef0a743ddec 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 2170c5c82eb7..c97a43697122 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 22bb93aa3156..756d99ac84d6 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 f0760fc74fe5..4aaba28092c6 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 6b042250aab8..d7ff8e057086 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 f005a35d97ad..fdc465e8f174 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 6413eb18e087..eb9e8f073235 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 c904c0a59932..a75e78d79433 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 9d70711a927d..0ca470f1d87c 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 8f60eab9b0c1..5ab128166255 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 6a90d5c7b102..d5e56f4b22de 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 122e11f18ae0..4155c6778ef5 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 84a101a102a5..0a32c32464b8 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 4b729b0b0c8a..b3713428e693 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 747bd6a6f3c1..26147dd61b63 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 3e92ae34eb6a..a0ab4eb2a0b5 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 b75533b56613..d090033d59e3 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 12dd29a51f55..d79cc128ce4f 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 0b97d72e90b5..f8281234e21a 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 e5fb328cd047..0ba4b0fd4e8c 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 7c5ce3b6346b..788f614f90ba 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 9c2300589a74..3244d9259568 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 3b849566097b..d8624641501c 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 5653776d3017..2ff49f18000d 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 2228097cac42..4815ca1e5b59 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 116d41a7a62a..c90641048712 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 3d3eb486f207..3650f3da3f87 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 ff0fd87c68fa..0f57156e602f 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 10b917d1b33f..39c799d29753 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 403b589e2974..ae3b82cb948e 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 f43fff8d125e..8aaa6df7282d 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 cdb6da225113..a3ad8b59f243 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 6c33c261556e..e9d1f72f84a3 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 396222363f71..712e2be40f57 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 9e9af07fbf20..0a4ce6c9f3cd 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 7176bc96d7eb..225e609ab0dd 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 b709131691a1..c06f2440a305 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 c37bcdd8b9c5..8ae9691e95df 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 f14604ee1092..4e8f94a832b5 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 0b33b0f8960c..92bbfea7b364 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 3232b27bf095..379c3f86d0b4 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 bf4018c2861b..8b9c9d50c45b 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 b62ff45cdc47..ff42b940d334 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 8edec949e5ab..a67b0351f354 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 4cce3044925c..5981c966b508 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 664998120502..8f2ab4236ac9 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 a344b5eed944..68f7e104b5ba 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 16cac188c6d3..8ae29051e715 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 7d44e88e56e2..6779a4d5894c 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 ec530ff96a56..aab4421da1db 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 9757c42e5ff9..236ec976eb40 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 7b80d3a44776..5c554b9d72c2 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 60ff85ba7725..fdd6d9b33e39 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 03208b80d1d5..ca2e3801bcc6 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 0000c5f20a82..3bf9b993b1ae 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 55c64840f258..2384f79035e3 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 312473c3681d..ab84da802c82 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 0befd58d8705..05a8547d5e92 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 3e6791affe59..a4e5d704a894 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 03a6617318a8..e7fc909e06c8 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 1cab1aef709c..c3ad46a3f921 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 7407a9bb87db..07840ede07c5 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 c4e0c66e0ffc..8357eca34467 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 19fe4bea1a09..ea9941f01776 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 cf2c4d72b212..834ae666532a 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 e64a0c795ecd..d6cb866cae8c 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 7a680e2e8fdd..08431edfccc7 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 3f5b875979bc..4f251a08b8d9 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 7f4c487c7aa7..4e06138126dd 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 bab704d3fece..1436e465f344 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 9a7bdcdc78fb..618a93bebf04 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 a85577a7b9cd..fd4d8484fdf3 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 c1cbc19dd4fd..80d6bef07f31 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 363dcae4f36a..5d65810578f4 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 1fe3c3126e39..94b6084a216b 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 6c0f7a0f06cd..b62aca78a176 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 f284dcedd482..643dd0e833e6 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 aefaadcad3b6..179680ccd6bf 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 90effd2b181b..c6e776906b85 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 cb6d01df37b0..7abd4b90dd15 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 224521d8c30e..bc74e76b57d7 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 3407e3a5eb14..96c6011b40fa 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 377af0fd5e32..06a1dc9df474 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 39107f6a510a..639f5d38a9e6 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 a0f3e06e133a..b8163083d72f 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 8f5f99b16569..63787575892d 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 f7be0e99123a..ea63b51501d2 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 8a959e4157f8..54ab4f1db64f 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 bae17ff49385..100e39d41217 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 186f99c5aebb..937e0d20ed1a 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 bade5f40db27..e7c9fb9ac9d1 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 8cc6e4eaeedd..f9dc7cac1dc5 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 2c28925d7bac..a3c507b4701d 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 2eeef336f1b6..4310fdf6a0f4 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 e148ef36578b..1f398b158a5a 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 079693cffc16..4b7e62cf9868 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 9e66c123e769..238af581403f 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 ff6a1648a9e0..bb09cfcffb8f 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 1add9fbc034b..858ce2082d07 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 bb6a5047598d..fcbff531cc65 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 4f869747c4df..f90b920b9dab 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 d6df986a2df7..108319fe06f5 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 d67307f361fc..566b7aa9f917 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 6baba86b415f..019db5e1b3d7 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 827a77c6b9c6..624b6fc03d64 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 87b540919197..482af4be9321 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 4d743379df3f..40ded23640bd 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 c9f03e567984..0bfc5370d921 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 3287fdaf0439..6bf2a64e167d 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 8da7eacf652a..accc2e8452f6 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 8e3d878467c1..3b5f67a3ea3a 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 3795a026e8f4..af0dfe008ff4 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 b31c5535ec35..6faafacecb44 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 4647f0ddf0c9..82e0b1d5a820 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 b8663f5bec89..c255c9de5d44 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 ba87e243b19a..f90b4e71efee 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 28f126423a54..2f2ee23af44a 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 823350ecc0b7..45bb1bacd4cd 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 eaf6f5449328..42e2015bb900 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 615b343dc345..53c88bef16dc 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 b8930158b508..fc3e5a1c5867 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 2f545fa87966..baf41c9f1584 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 7b45e788ed22..f73ce3876e8c 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 4972e70a8b98..c0ebbdbe40ea 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 3c20a8e6b125..fffd3cb93da9 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 49339922f672..fbff5ee4baff 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 90d1dfbdd6fb..13b93372edc3 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 4db38d1c11be..a5cfcb377620 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 19e19ea752fb..4c81d450066f 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 d1b469f05de1..07587836af25 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 deae7054ff1e..a2cc7fdbce55 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 bdd93bffb7ab..f757ab07514c 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 ea9b322a55f5..edde91dcc2bf 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 34eb31553ddc..624f2806783f 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 75098c1a272e..65cd056d8970 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 7f09d7cb2be7..e7323da14d54 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 06c2c709d26f..5443618f1dc1 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 deb2d352f01c..624b5ccf8084 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 4774259a3ba0..bd000e1dafd9 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 a117ee78ccc9..ff5711acfb82 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 00299859fc85..4b99a8ee2d1b 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 984e736b60c7..d9e733b040ca 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 8c68c58491fc..ef38767fb322 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 742543a55cb3..b8249e7567cd 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 5224db532ee5..508892d5dc01 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 a61c174ce6ab..263c8cb4fdcd 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 b68b6a0d6b01..fbbad12c0ef0 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 42e4bb462f59..062ec47be405 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 932259bb4e74..cd1fbc1c1d39 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 d5129992f268..005d588992d0 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 508248a2268f..367691fb035d 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 164956950d83..24f23927aa42 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 cfdea525f732..635cf54517a0 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 2e459898c2ff..c0a52e613301 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 328b127e4f75..61d71fd92b1c 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 681101217a30..8eb457c12e97 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 fe9ab26a1fb8..75ad01d1eeaf 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 90335d7abc18..357e70245321 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 2a2340a51c14..bcfedfcc1da2 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 db1ff4b159d5..78f84a6e652c 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 d8bafc616511..1f6120b3fbe7 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 b3165e9f74f9..67d93adbf5d3 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 3600ff45177c..deadecbfaa02 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 913bc8227ed0..2741658f7367 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 fc33e4d9a3bf..99fe2b7bacb0 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 cd7b8e41779b..1d9621a679c8 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 59afd3596bc8..6a3f4e8ce520 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 6635bfc82245..a9e728fce7cb 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 a174289b2015..141bc00722fe 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 982b44a3434b..4260136bbdcd 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 f4dcc02fbc84..52e7244cffb5 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 eb22fb3efdc3..31fe09073582 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 339b9ec5bffc..c57096f91da6 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 154a948f463e..ec35ef759de9 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 06cf1a94a102..f365e7ee6946 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 8cccdfd50681..8ef29c139030 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 30f524177baa..8987325e873b 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 b6d78c30f749..818932e9018e 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 3a41e704eef4..5495cdae3c7e 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 d87b0898600f..85a3b9b26e69 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 a10bb83a854f..41a87c8281cb 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 38b6263d33f0..b8cbd283dd9d 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 ae4364a3af7e..f64b124048fa 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 408c0e9acede..c2343bca7cc1 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 f2b2d148f298..8c787388bfff 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 9e03afd292c2..56bc8f08e211 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 70fe1d78d718..a48379a0d882 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 4bcf3a97a830..df12d14018ae 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 1eb7e1e1ad97..ec415bcf2d1b 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 f4b3ad13b300..73a8a6869a01 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 850d5ad063e6..091bab04a07a 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 fc947e65ad67..19e80eb452d3 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 5bc93e5bfcda..89942e78c485 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 42f0c1a11f59..2dbcfb41c98d 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 4e957d2ee091..d1de8649f13c 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 720d525e0127..eafa067f942f 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 497a1c999eef..01d3cc17031a 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 f8cbf41594e5..b1057944240a 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 1d1295a323b0..91268c1e3f1b 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 e06d9f6a6ea8..1a99b00abe70 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 e1d1ffa5cdda..7f6dafd93a7a 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 9760f47745be..b653682c52af 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 bf54ca9d635d..c076140921e3 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 9ead54c530e1..402f7499c0b8 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 #