From 3c29308673a9fb64c68ca27e15b4c9017a2d597e Mon Sep 17 00:00:00 2001 From: Johan Brandhorst-Satzkorn Date: Thu, 2 Feb 2023 17:15:17 -0800 Subject: [PATCH] chore: Add license headers to all files --- .release/ci.hcl | 3 +++ .release/docker/config.hcl | 3 +++ .release/docker/docker-entrypoint.sh | 3 +++ .release/release-metadata.hcl | 3 +++ .release/security-scan.hcl | 3 +++ Dockerfile | 3 +++ META.d/_summary.yaml | 3 +++ api/accounts/changepassword.go | 3 +++ api/accounts/option.gen.go | 3 +++ api/accounts/setpassword.go | 3 +++ api/apierror.go | 3 +++ api/authmethods/authenticate.go | 3 +++ api/authmethods/authenticate_test.go | 3 +++ api/authmethods/changestate.go | 3 +++ api/authmethods/option.gen.go | 3 +++ api/authtokens/option.gen.go | 3 +++ api/client.go | 3 +++ api/client_test.go | 3 +++ api/credentiallibraries/option.gen.go | 3 +++ api/credentials/option.gen.go | 3 +++ api/credentialstores/option.gen.go | 3 +++ api/groups/option.gen.go | 3 +++ api/hostcatalogs/option.gen.go | 3 +++ api/hosts/option.gen.go | 3 +++ api/hostsets/option.gen.go | 3 +++ api/managedgroups/option.gen.go | 3 +++ api/options.go | 3 +++ api/output_string.go | 3 +++ api/recovery/recovery.go | 3 +++ api/recovery/recovery_test.go | 3 +++ api/response.go | 3 +++ api/roles/option.gen.go | 3 +++ api/scopes/custom.go | 3 +++ api/scopes/option.gen.go | 3 +++ api/sessions/cancel.go | 3 +++ api/sessions/option.gen.go | 3 +++ api/targets/custom.go | 3 +++ api/targets/option.gen.go | 3 +++ api/users/option.gen.go | 3 +++ api/workers/certificate_authority_actions.go | 3 +++ api/workers/option.gen.go | 3 +++ buf.gen.yaml | 3 +++ buf.openapiv2.gen.yaml | 3 +++ buf.testing.gen.yaml | 3 +++ buf.work.yaml | 3 +++ ci/goinstall.sh | 3 +++ cmd/boundary/main.go | 3 +++ cmd/boundary/package_registry_oss.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/github-actions-doormat.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-scenario-e2e-aws.hcl | 3 +++ enos/enos-scenario-e2e-database.hcl | 3 +++ enos/enos-scenario-e2e-static-with-vault.hcl | 3 +++ enos/enos-scenario-e2e-static.hcl | 3 +++ enos/enos-scenario-integration.hcl | 3 +++ enos/enos-variables.hcl | 3 +++ enos/enos.hcl | 3 +++ enos/enos.vars.hcl | 3 +++ enos/modules/az_finder/main.tf | 3 +++ enos/modules/bats_deps/main.tf | 3 +++ enos/modules/binary_finder/main.tf | 3 +++ enos/modules/build_crt/main.tf | 3 +++ enos/modules/build_local/main.tf | 3 +++ enos/modules/build_local/templates/build.sh | 3 +++ enos/modules/generate_aws_host_tag_vars/main.tf | 3 +++ enos/modules/iam_setup/main.tf | 3 +++ enos/modules/random_stringifier/main.tf | 3 +++ enos/modules/target/main.tf | 3 +++ enos/modules/test_cli_ui/tests.tf | 3 +++ enos/modules/test_e2e/main.tf | 3 +++ enos/templates/get-token.sh | 3 +++ globals/boundary_developer_env.go | 3 +++ globals/doc.go | 3 +++ globals/errors.go | 3 +++ globals/fields.go | 3 +++ globals/globals.go | 3 +++ globals/kms.go | 3 +++ internal/api/genapi/input.go | 3 +++ internal/api/genapi/main.go | 3 +++ internal/api/genapi/parse.go | 3 +++ internal/api/genapi/templates.go | 3 +++ internal/auth/additional_verification_test.go | 3 +++ internal/auth/db_test.go | 3 +++ internal/auth/oidc/account.go | 3 +++ internal/auth/oidc/account_claim_map.go | 3 +++ internal/auth/oidc/account_claim_map_test.go | 3 +++ internal/auth/oidc/account_test.go | 3 +++ internal/auth/oidc/aud_claim.go | 3 +++ internal/auth/oidc/aud_claim_test.go | 3 +++ internal/auth/oidc/auth_method.go | 3 +++ internal/auth/oidc/auth_method_test.go | 3 +++ internal/auth/oidc/certificate.go | 3 +++ internal/auth/oidc/certificate_test.go | 3 +++ internal/auth/oidc/certificate_utils.go | 3 +++ internal/auth/oidc/certificate_utils_test.go | 3 +++ internal/auth/oidc/claims_scope.go | 3 +++ internal/auth/oidc/claims_scope_test.go | 3 +++ internal/auth/oidc/client_secret.go | 3 +++ internal/auth/oidc/client_secret_test.go | 3 +++ internal/auth/oidc/ids.go | 3 +++ internal/auth/oidc/ids_test.go | 3 +++ internal/auth/oidc/immutable_fields_test.go | 3 +++ internal/auth/oidc/managed_group.go | 3 +++ internal/auth/oidc/managed_group_member_account.go | 3 +++ internal/auth/oidc/managed_group_test.go | 3 +++ internal/auth/oidc/options.go | 3 +++ internal/auth/oidc/options_test.go | 3 +++ internal/auth/oidc/provider.go | 3 +++ internal/auth/oidc/provider_test.go | 3 +++ internal/auth/oidc/query.go | 3 +++ internal/auth/oidc/repository.go | 3 +++ internal/auth/oidc/repository_account.go | 3 +++ internal/auth/oidc/repository_account_test.go | 3 +++ internal/auth/oidc/repository_auth_method.go | 3 +++ internal/auth/oidc/repository_auth_method_create.go | 3 +++ internal/auth/oidc/repository_auth_method_create_test.go | 3 +++ internal/auth/oidc/repository_auth_method_delete.go | 3 +++ internal/auth/oidc/repository_auth_method_delete_test.go | 3 +++ .../auth/oidc/repository_auth_method_operational_state.go | 3 +++ .../oidc/repository_auth_method_operational_state_test.go | 3 +++ internal/auth/oidc/repository_auth_method_read.go | 3 +++ internal/auth/oidc/repository_auth_method_read_test.go | 3 +++ internal/auth/oidc/repository_auth_method_test.go | 3 +++ internal/auth/oidc/repository_auth_method_update.go | 3 +++ internal/auth/oidc/repository_auth_method_update_test.go | 3 +++ internal/auth/oidc/repository_managed_group.go | 3 +++ internal/auth/oidc/repository_managed_group_members.go | 3 +++ internal/auth/oidc/repository_managed_group_members_test.go | 3 +++ internal/auth/oidc/repository_managed_group_test.go | 3 +++ internal/auth/oidc/repository_test.go | 3 +++ internal/auth/oidc/request/request.pb.go | 3 +++ internal/auth/oidc/request/validate.go | 3 +++ internal/auth/oidc/rewrapping.go | 3 +++ internal/auth/oidc/rewrapping_test.go | 3 +++ internal/auth/oidc/service.go | 3 +++ internal/auth/oidc/service_callback.go | 3 +++ internal/auth/oidc/service_callback_test.go | 3 +++ internal/auth/oidc/service_start_auth.go | 3 +++ internal/auth/oidc/service_start_auth_test.go | 3 +++ internal/auth/oidc/service_test.go | 3 +++ internal/auth/oidc/service_token_request.go | 3 +++ internal/auth/oidc/service_token_request_test.go | 3 +++ internal/auth/oidc/signing_alg.go | 3 +++ internal/auth/oidc/signing_alg_test.go | 3 +++ internal/auth/oidc/state.go | 3 +++ internal/auth/oidc/state_test.go | 3 +++ internal/auth/oidc/store/oidc.pb.go | 3 +++ internal/auth/oidc/testing.go | 3 +++ internal/auth/password/account.go | 3 +++ internal/auth/password/account_test.go | 3 +++ internal/auth/password/argon2.go | 3 +++ internal/auth/password/argon2_test.go | 3 +++ internal/auth/password/authmethod.go | 3 +++ internal/auth/password/authmethod_test.go | 3 +++ internal/auth/password/credential.go | 3 +++ internal/auth/password/options.go | 3 +++ internal/auth/password/options_test.go | 3 +++ internal/auth/password/private_ids.go | 3 +++ internal/auth/password/private_ids_test.go | 3 +++ internal/auth/password/public_ids.go | 3 +++ internal/auth/password/public_ids_test.go | 3 +++ internal/auth/password/query.go | 3 +++ internal/auth/password/repository.go | 3 +++ internal/auth/password/repository_account.go | 3 +++ internal/auth/password/repository_account_test.go | 3 +++ internal/auth/password/repository_authmethod.go | 3 +++ internal/auth/password/repository_authmethod_test.go | 3 +++ internal/auth/password/repository_configuration.go | 3 +++ internal/auth/password/repository_configuration_test.go | 3 +++ internal/auth/password/repository_password.go | 3 +++ internal/auth/password/repository_password_test.go | 3 +++ internal/auth/password/repository_test.go | 3 +++ internal/auth/password/rewrapping.go | 3 +++ internal/auth/password/rewrapping_test.go | 3 +++ internal/auth/password/store/argon2.pb.go | 3 +++ internal/auth/password/store/password.pb.go | 3 +++ internal/auth/password/testing.go | 3 +++ internal/auth/password/testing_test.go | 3 +++ internal/auth/store/account.pb.go | 3 +++ internal/auth/store/auth_method.pb.go | 3 +++ internal/auth/subtype.go | 3 +++ internal/authtoken/account.go | 3 +++ internal/authtoken/authtoken.go | 3 +++ internal/authtoken/authtoken_test.go | 3 +++ internal/authtoken/doc.go | 3 +++ internal/authtoken/gorm.go | 3 +++ internal/authtoken/gorm_test.go | 3 +++ internal/authtoken/immutable_fields_test.go | 3 +++ internal/authtoken/options.go | 3 +++ internal/authtoken/options_test.go | 3 +++ internal/authtoken/repository.go | 3 +++ internal/authtoken/repository_test.go | 3 +++ internal/authtoken/rewrapping.go | 3 +++ internal/authtoken/rewrapping_test.go | 3 +++ internal/authtoken/status.go | 3 +++ internal/authtoken/store/authtoken.pb.go | 3 +++ internal/authtoken/testing.go | 3 +++ internal/boundary/boundary.go | 3 +++ internal/cmd/base/base.go | 3 +++ internal/cmd/base/const.go | 3 +++ internal/cmd/base/dev.go | 3 +++ internal/cmd/base/dev_test.go | 3 +++ internal/cmd/base/event_flags.go | 3 +++ internal/cmd/base/event_flags_test.go | 3 +++ internal/cmd/base/flags.go | 3 +++ internal/cmd/base/flags_test.go | 3 +++ internal/cmd/base/format.go | 3 +++ internal/cmd/base/helpers.go | 3 +++ internal/cmd/base/initial_resources.go | 3 +++ internal/cmd/base/internal/docker/docker.go | 3 +++ internal/cmd/base/internal/docker/option.go | 3 +++ internal/cmd/base/internal/docker/supported.go | 3 +++ internal/cmd/base/internal/metric/build_info.go | 3 +++ internal/cmd/base/keyring.go | 3 +++ internal/cmd/base/listener.go | 3 +++ internal/cmd/base/logging.go | 3 +++ internal/cmd/base/logging/logging.go | 3 +++ internal/cmd/base/option.go | 3 +++ internal/cmd/base/option_test.go | 3 +++ internal/cmd/base/profiling_off.go | 3 +++ internal/cmd/base/profiling_on.go | 3 +++ internal/cmd/base/server_test.go | 3 +++ internal/cmd/base/servers.go | 3 +++ internal/cmd/base/ui.go | 3 +++ internal/cmd/commands.go | 3 +++ internal/cmd/commands/accountscmd/funcs.go | 3 +++ internal/cmd/commands/accountscmd/oidc_funcs.go | 3 +++ internal/cmd/commands/accountscmd/password_funcs.go | 3 +++ internal/cmd/commands/authenticate/authenticate.go | 3 +++ internal/cmd/commands/authenticate/funcs.go | 3 +++ internal/cmd/commands/authenticate/oidc.go | 3 +++ internal/cmd/commands/authenticate/password.go | 3 +++ internal/cmd/commands/authmethodscmd/funcs.go | 3 +++ internal/cmd/commands/authmethodscmd/oidc_funcs.go | 3 +++ internal/cmd/commands/authmethodscmd/password_funcs.go | 3 +++ internal/cmd/commands/authtokenscmd/funcs.go | 3 +++ internal/cmd/commands/config/autocomplete.go | 3 +++ internal/cmd/commands/config/config.go | 3 +++ internal/cmd/commands/config/encryptdecrypt.go | 3 +++ internal/cmd/commands/config/encryptdecrypt_test.go | 3 +++ internal/cmd/commands/config/fixtures/config_decrypt.hcl | 3 +++ internal/cmd/commands/config/fixtures/config_encrypt.hcl | 3 +++ internal/cmd/commands/config/fixtures/config_ext_decrypt.hcl | 3 +++ internal/cmd/commands/config/fixtures/config_ext_encrypt.hcl | 3 +++ .../commands/config/fixtures/config_ext_encrypt_stripped.hcl | 3 +++ internal/cmd/commands/config/fixtures/config_kms.hcl | 3 +++ internal/cmd/commands/config/token.go | 3 +++ internal/cmd/commands/connect/client_tls_config.go | 3 +++ internal/cmd/commands/connect/connect.go | 3 +++ internal/cmd/commands/connect/credentials.go | 3 +++ internal/cmd/commands/connect/credentials_test.go | 3 +++ internal/cmd/commands/connect/funcs.go | 3 +++ internal/cmd/commands/connect/http.go | 3 +++ internal/cmd/commands/connect/kube.go | 3 +++ internal/cmd/commands/connect/postgres.go | 3 +++ internal/cmd/commands/connect/rdp.go | 3 +++ internal/cmd/commands/connect/ssh.go | 3 +++ internal/cmd/commands/credentiallibrariescmd/funcs.go | 3 +++ .../commands/credentiallibrariescmd/vault-generic_funcs.go | 3 +++ .../credentiallibrariescmd/vault-ssh-certificate_funcs.go | 3 +++ internal/cmd/commands/credentiallibrariescmd/vault_funcs.go | 3 +++ internal/cmd/commands/credentialscmd/funcs.go | 3 +++ .../cmd/commands/credentialscmd/json_credentials_funcs.go | 3 +++ .../cmd/commands/credentialscmd/ssh-private-key_funcs.go | 3 +++ .../cmd/commands/credentialscmd/username-password_funcs.go | 3 +++ internal/cmd/commands/credentialstorescmd/funcs.go | 3 +++ internal/cmd/commands/credentialstorescmd/static_funcs.go | 3 +++ internal/cmd/commands/credentialstorescmd/vault_funcs.go | 3 +++ internal/cmd/commands/database/database.go | 3 +++ internal/cmd/commands/database/funcs.go | 3 +++ internal/cmd/commands/database/funcs_test.go | 3 +++ internal/cmd/commands/database/init.go | 3 +++ internal/cmd/commands/database/migrate.go | 3 +++ internal/cmd/commands/dev/dev.go | 3 +++ internal/cmd/commands/dev/flags_test.go | 3 +++ internal/cmd/commands/groupscmd/funcs.go | 3 +++ internal/cmd/commands/hostcatalogscmd/funcs.go | 3 +++ internal/cmd/commands/hostcatalogscmd/plugin_funcs.go | 3 +++ internal/cmd/commands/hostcatalogscmd/static_funcs.go | 3 +++ internal/cmd/commands/hostscmd/funcs.go | 3 +++ internal/cmd/commands/hostscmd/static_funcs.go | 3 +++ internal/cmd/commands/hostsetscmd/funcs.go | 3 +++ internal/cmd/commands/hostsetscmd/plugin_funcs.go | 3 +++ internal/cmd/commands/hostsetscmd/static_funcs.go | 3 +++ internal/cmd/commands/logout/logout.go | 3 +++ internal/cmd/commands/managedgroupscmd/funcs.go | 3 +++ internal/cmd/commands/managedgroupscmd/oidc_funcs.go | 3 +++ internal/cmd/commands/rolescmd/funcs.go | 3 +++ internal/cmd/commands/scopescmd/destroy_key_version.go | 3 +++ internal/cmd/commands/scopescmd/funcs.go | 3 +++ .../commands/scopescmd/list_key_version_destruction_jobs.go | 3 +++ internal/cmd/commands/scopescmd/list_keys.go | 3 +++ internal/cmd/commands/scopescmd/rotate_keys.go | 3 +++ internal/cmd/commands/server/controller_db_swap_test.go | 3 +++ internal/cmd/commands/server/listener_reload_test.go | 3 +++ internal/cmd/commands/server/server.go | 3 +++ internal/cmd/commands/server/server_test.go | 3 +++ .../commands/server/worker_initial_upstreams_reload_test.go | 3 +++ internal/cmd/commands/server/worker_shutdown_reload_test.go | 3 +++ internal/cmd/commands/server/worker_tags_reload_test.go | 3 +++ internal/cmd/commands/sessionscmd/funcs.go | 3 +++ internal/cmd/commands/targetscmd/funcs.go | 3 +++ internal/cmd/commands/targetscmd/ssh_funcs.go | 3 +++ internal/cmd/commands/targetscmd/tcp_funcs.go | 3 +++ internal/cmd/commands/userscmd/funcs.go | 3 +++ internal/cmd/commands/version/version.go | 3 +++ internal/cmd/commands/workerscmd/certificate-authority.go | 3 +++ internal/cmd/commands/workerscmd/controller-led_funcs.go | 3 +++ internal/cmd/commands/workerscmd/funcs.go | 3 +++ internal/cmd/commands/workerscmd/worker-led_funcs.go | 3 +++ internal/cmd/commands_nonwindows.go | 3 +++ internal/cmd/commands_windows.go | 3 +++ internal/cmd/common/flags.go | 3 +++ internal/cmd/common/flags_test.go | 3 +++ internal/cmd/common/help.go | 3 +++ internal/cmd/common/option.go | 3 +++ internal/cmd/common/option_test.go | 3 +++ internal/cmd/config/config.go | 3 +++ internal/cmd/config/config_load_test.go | 3 +++ internal/cmd/config/config_test.go | 3 +++ .../cmd/config/testdata/TestLoad/MultiFile/00-controller.hcl | 3 +++ .../cmd/config/testdata/TestLoad/MultiFile/01-worker.hcl | 3 +++ internal/cmd/config/testdata/TestLoad/MultiFile/02-kms.hcl | 3 +++ .../TestLoad/MultiFileDuplicateStanza/00-controller.hcl | 3 +++ .../MultiFileDuplicateStanza/01-controller-duplicated.hcl | 3 +++ .../testdata/TestLoad/MultiFileDuplicateStanza/01-worker.hcl | 3 +++ .../testdata/TestLoad/MultiFileDuplicateStanza/02-kms.hcl | 3 +++ .../config/testdata/TestLoad/MultiFileMix/00-controller.hcl | 3 +++ .../cmd/config/testdata/TestLoad/MultiFileMix/03-kms.hcl | 3 +++ internal/cmd/config/testdata/TestLoad/SingleFile/config.hcl | 3 +++ internal/cmd/gencli/input.go | 3 +++ internal/cmd/gencli/main.go | 3 +++ internal/cmd/main.go | 3 +++ internal/cmd/ops/server.go | 3 +++ internal/cmd/ops/server_test.go | 3 +++ internal/credential/credential.go | 3 +++ internal/credential/options.go | 3 +++ internal/credential/options_test.go | 3 +++ internal/credential/public_ids.go | 3 +++ internal/credential/redact.go | 3 +++ internal/credential/redact_test.go | 3 +++ internal/credential/static/credential_store.go | 3 +++ internal/credential/static/credential_store_test.go | 3 +++ internal/credential/static/doc.go | 3 +++ internal/credential/static/fields.go | 3 +++ internal/credential/static/json_credential.go | 3 +++ internal/credential/static/json_credential_test.go | 3 +++ internal/credential/static/options.go | 3 +++ internal/credential/static/options_test.go | 3 +++ internal/credential/static/public_ids.go | 3 +++ internal/credential/static/query.go | 3 +++ internal/credential/static/repository.go | 3 +++ internal/credential/static/repository_credential.go | 3 +++ internal/credential/static/repository_credential_store.go | 3 +++ .../credential/static/repository_credential_store_test.go | 3 +++ internal/credential/static/repository_credential_test.go | 3 +++ internal/credential/static/repository_credentials.go | 3 +++ internal/credential/static/repository_credentials_test.go | 3 +++ internal/credential/static/repository_test.go | 3 +++ internal/credential/static/rewrapping.go | 3 +++ internal/credential/static/rewrapping_test.go | 3 +++ internal/credential/static/ssh_private_key_credential.go | 3 +++ .../credential/static/ssh_private_key_credential_test.go | 3 +++ internal/credential/static/store/static.pb.go | 3 +++ internal/credential/static/testing.go | 3 +++ internal/credential/static/testing_test.go | 3 +++ internal/credential/static/usernamepassword_credential.go | 3 +++ .../credential/static/usernamepassword_credential_test.go | 3 +++ internal/credential/store/credential.pb.go | 3 +++ internal/credential/vault/client_certificate.go | 3 +++ internal/credential/vault/client_certificate_test.go | 3 +++ internal/credential/vault/credential.go | 3 +++ internal/credential/vault/credential_library.go | 3 +++ internal/credential/vault/credential_library_test.go | 3 +++ internal/credential/vault/credential_store.go | 3 +++ internal/credential/vault/credential_store_test.go | 3 +++ internal/credential/vault/credential_test.go | 3 +++ internal/credential/vault/doc.go | 3 +++ internal/credential/vault/docker.go | 3 +++ internal/credential/vault/fields.go | 3 +++ internal/credential/vault/internal/sshprivatekey/doc.go | 3 +++ .../credential/vault/internal/sshprivatekey/sshprivatekey.go | 3 +++ .../vault/internal/sshprivatekey/sshprivatekey_test.go | 3 +++ internal/credential/vault/internal/usernamepassword/doc.go | 3 +++ .../vault/internal/usernamepassword/usernamepassword.go | 3 +++ .../vault/internal/usernamepassword/usernamepassword_test.go | 3 +++ internal/credential/vault/jobs.go | 3 +++ internal/credential/vault/jobs_test.go | 3 +++ internal/credential/vault/mapping_overriders.go | 3 +++ internal/credential/vault/mapping_overriders_test.go | 3 +++ internal/credential/vault/options.go | 3 +++ internal/credential/vault/options_test.go | 3 +++ internal/credential/vault/private_credential.go | 3 +++ internal/credential/vault/private_library.go | 3 +++ internal/credential/vault/private_library_test.go | 3 +++ internal/credential/vault/private_store.go | 3 +++ internal/credential/vault/private_store_test.go | 3 +++ internal/credential/vault/public_ids.go | 3 +++ internal/credential/vault/query.go | 3 +++ internal/credential/vault/repository.go | 3 +++ internal/credential/vault/repository_credential_library.go | 3 +++ .../credential/vault/repository_credential_library_test.go | 3 +++ internal/credential/vault/repository_credential_store.go | 3 +++ .../credential/vault/repository_credential_store_test.go | 3 +++ internal/credential/vault/repository_credentials.go | 3 +++ internal/credential/vault/repository_credentials_test.go | 3 +++ .../vault/repository_ssh_certificate_credential_library.go | 3 +++ .../repository_ssh_certificate_credential_library_test.go | 3 +++ internal/credential/vault/repository_test.go | 3 +++ internal/credential/vault/rewrapping.go | 3 +++ internal/credential/vault/rewrapping_test.go | 3 +++ internal/credential/vault/secret.go | 3 +++ internal/credential/vault/secret_test.go | 3 +++ internal/credential/vault/setup_manual_test.go | 3 +++ .../credential/vault/ssh_certificate_credential_library.go | 3 +++ internal/credential/vault/store/vault.pb.go | 3 +++ internal/credential/vault/supported.go | 3 +++ internal/credential/vault/testing.go | 3 +++ internal/credential/vault/testing_external_test.go | 3 +++ internal/credential/vault/testing_test.go | 3 +++ internal/credential/vault/vault.go | 3 +++ internal/credential/vault/vault_capabilities.go | 3 +++ internal/credential/vault/vault_capabilities_test.go | 3 +++ internal/credential/vault/vault_test.go | 3 +++ internal/credential/vault/vault_token.go | 3 +++ internal/credential/vault/vault_token_test.go | 3 +++ internal/daemon/cluster/downstreammanager.go | 3 +++ internal/daemon/cluster/downstreammanager_test.go | 3 +++ internal/daemon/cluster/handlers/multihop_service.go | 3 +++ internal/daemon/cluster/handlers/worker_service.go | 3 +++ .../daemon/cluster/handlers/worker_service_status_test.go | 3 +++ internal/daemon/cluster/handlers/worker_service_test.go | 3 +++ internal/daemon/cluster/tracking_listener.go | 3 +++ internal/daemon/common/client_ip.go | 3 +++ internal/daemon/common/client_ip_test.go | 3 +++ internal/daemon/common/const.go | 3 +++ internal/daemon/common/eventing_listener.go | 3 +++ internal/daemon/common/handler.go | 3 +++ internal/daemon/common/handler_test.go | 3 +++ internal/daemon/common/worker_list.go | 3 +++ internal/daemon/controller/auth/auth.go | 3 +++ internal/daemon/controller/auth/auth_test.go | 3 +++ internal/daemon/controller/auth/authorized_actions.go | 3 +++ internal/daemon/controller/auth/option.go | 3 +++ internal/daemon/controller/auth/options_test.go | 3 +++ internal/daemon/controller/auth/testing.go | 3 +++ internal/daemon/controller/common/common.go | 3 +++ internal/daemon/controller/common/doc.go | 3 +++ internal/daemon/controller/common/scopeids/scope_ids.go | 3 +++ internal/daemon/controller/common/scopeids/scope_ids_test.go | 3 +++ internal/daemon/controller/config.go | 3 +++ internal/daemon/controller/controller.go | 3 +++ internal/daemon/controller/controller_test.go | 3 +++ internal/daemon/controller/cors_test.go | 3 +++ internal/daemon/controller/gateway.go | 3 +++ internal/daemon/controller/handler.go | 3 +++ internal/daemon/controller/handler_noui.go | 3 +++ internal/daemon/controller/handler_test.go | 3 +++ internal/daemon/controller/handler_ui.go | 3 +++ internal/daemon/controller/handler_ui_test.go | 3 +++ .../daemon/controller/handlers/accounts/account_service.go | 3 +++ .../controller/handlers/accounts/account_service_test.go | 3 +++ .../daemon/controller/handlers/accounts/validate_test.go | 3 +++ .../controller/handlers/authmethods/authmethod_service.go | 3 +++ .../handlers/authmethods/authmethod_service_test.go | 3 +++ .../controller/handlers/authmethods/authmethod_test.go | 3 +++ internal/daemon/controller/handlers/authmethods/oidc.go | 3 +++ internal/daemon/controller/handlers/authmethods/oidc_test.go | 3 +++ internal/daemon/controller/handlers/authmethods/password.go | 3 +++ .../daemon/controller/handlers/authmethods/password_test.go | 3 +++ .../controller/handlers/authtokens/authtoken_service.go | 3 +++ .../controller/handlers/authtokens/authtoken_service_test.go | 3 +++ .../credentiallibraries/credentiallibrary_service.go | 3 +++ .../credentiallibraries/credentiallibrary_service_test.go | 3 +++ .../controller/handlers/credentials/credential_service.go | 3 +++ .../handlers/credentials/credential_service_test.go | 3 +++ .../handlers/credentialstores/credentialstore_service.go | 3 +++ .../credentialstores/credentialstore_service_test.go | 3 +++ .../daemon/controller/handlers/credentialstores/vault.go | 3 +++ .../controller/handlers/credentialstores/vault_test.go | 3 +++ internal/daemon/controller/handlers/errors.go | 3 +++ internal/daemon/controller/handlers/errors_test.go | 3 +++ internal/daemon/controller/handlers/filtering.go | 3 +++ internal/daemon/controller/handlers/filtering_test.go | 3 +++ internal/daemon/controller/handlers/groups/group_service.go | 3 +++ .../daemon/controller/handlers/groups/group_service_test.go | 3 +++ internal/daemon/controller/handlers/health/health.go | 3 +++ internal/daemon/controller/handlers/health/health_test.go | 3 +++ .../handlers/host_catalogs/host_catalog_service.go | 3 +++ .../handlers/host_catalogs/host_catalog_service_test.go | 3 +++ .../daemon/controller/handlers/host_sets/host_set_service.go | 3 +++ .../controller/handlers/host_sets/host_set_service_test.go | 3 +++ internal/daemon/controller/handlers/hosts/host_service.go | 3 +++ .../daemon/controller/handlers/hosts/host_service_test.go | 3 +++ .../handlers/managed_groups/managed_group_service.go | 3 +++ .../handlers/managed_groups/managed_group_service_test.go | 3 +++ .../controller/handlers/managed_groups/validate_test.go | 3 +++ internal/daemon/controller/handlers/marshler.go | 3 +++ internal/daemon/controller/handlers/mask_manager.go | 3 +++ internal/daemon/controller/handlers/mask_manager_test.go | 3 +++ internal/daemon/controller/handlers/option_test.go | 3 +++ internal/daemon/controller/handlers/options.go | 3 +++ .../daemon/controller/handlers/outgoing_response_filter.go | 3 +++ .../controller/handlers/outgoing_response_filter_test.go | 3 +++ internal/daemon/controller/handlers/roles/role_service.go | 3 +++ .../daemon/controller/handlers/roles/role_service_test.go | 3 +++ internal/daemon/controller/handlers/scopes/scope_service.go | 3 +++ .../daemon/controller/handlers/scopes/scope_service_test.go | 3 +++ .../handlers/sessions/session_list_benchmarks_test.go | 3 +++ .../daemon/controller/handlers/sessions/session_service.go | 3 +++ .../controller/handlers/sessions/session_service_test.go | 3 +++ internal/daemon/controller/handlers/subtypes.go | 3 +++ internal/daemon/controller/handlers/subtypes_test.go | 3 +++ internal/daemon/controller/handlers/targets/credentials.go | 3 +++ internal/daemon/controller/handlers/targets/registry.go | 3 +++ .../daemon/controller/handlers/targets/target_service.go | 3 +++ .../controller/handlers/targets/target_service_test.go | 3 +++ .../controller/handlers/targets/tcp/target_service_test.go | 3 +++ internal/daemon/controller/handlers/targets/tcp/tcp.go | 3 +++ internal/daemon/controller/handlers/targets/testing.go | 3 +++ internal/daemon/controller/handlers/users/user_service.go | 3 +++ .../daemon/controller/handlers/users/user_service_test.go | 3 +++ internal/daemon/controller/handlers/verifiers.go | 3 +++ internal/daemon/controller/handlers/verifiers_test.go | 3 +++ .../daemon/controller/handlers/workers/worker_service.go | 3 +++ .../controller/handlers/workers/worker_service_test.go | 3 +++ internal/daemon/controller/interceptor.go | 3 +++ internal/daemon/controller/interceptor_test.go | 3 +++ internal/daemon/controller/internal/metric/api.go | 3 +++ internal/daemon/controller/internal/metric/api_test.go | 3 +++ internal/daemon/controller/internal/metric/cluster.go | 3 +++ internal/daemon/controller/kms_conn_router.go | 3 +++ internal/daemon/controller/listeners.go | 3 +++ internal/daemon/controller/listeners_test.go | 3 +++ internal/daemon/controller/multi_test.go | 3 +++ internal/daemon/controller/rewrapping_test.go | 3 +++ internal/daemon/controller/rpc_registration.go | 3 +++ internal/daemon/controller/testing.go | 3 +++ internal/daemon/controller/testing_test.go | 3 +++ internal/daemon/controller/tickers.go | 3 +++ internal/daemon/controller/worker_tls_config.go | 3 +++ internal/daemon/metric/initialize_metrics.go | 3 +++ internal/daemon/metric/initialize_metrics_test.go | 3 +++ internal/daemon/metric/instrument_handlers.go | 3 +++ internal/daemon/metric/instrument_handlers_test.go | 3 +++ internal/daemon/metric/testing.go | 3 +++ internal/daemon/worker/addressreceiver.go | 3 +++ internal/daemon/worker/auth_rotation.go | 3 +++ internal/daemon/worker/auth_rotation_test.go | 3 +++ internal/daemon/worker/common/common.go | 3 +++ internal/daemon/worker/common/doc.go | 3 +++ internal/daemon/worker/config.go | 3 +++ internal/daemon/worker/controller_connection.go | 3 +++ internal/daemon/worker/countingconn.go | 3 +++ internal/daemon/worker/countingconn_test.go | 3 +++ internal/daemon/worker/handler.go | 3 +++ internal/daemon/worker/health.go | 3 +++ internal/daemon/worker/health_test.go | 3 +++ internal/daemon/worker/internal/metric/cluster_client.go | 3 +++ .../daemon/worker/internal/metric/cluster_client_test.go | 3 +++ internal/daemon/worker/internal/metric/cluster_server.go | 3 +++ internal/daemon/worker/internal/metric/proxy_http.go | 3 +++ internal/daemon/worker/internal/metric/proxy_ws.go | 3 +++ internal/daemon/worker/internal/metric/proxy_ws_test.go | 3 +++ internal/daemon/worker/listeners.go | 3 +++ internal/daemon/worker/listeners_test.go | 3 +++ internal/daemon/worker/package_registration.go | 3 +++ internal/daemon/worker/proxy/doc.go | 3 +++ internal/daemon/worker/proxy/options.go | 3 +++ internal/daemon/worker/proxy/options_test.go | 3 +++ internal/daemon/worker/proxy/proxy.go | 3 +++ internal/daemon/worker/proxy/proxy_conn_tracker.go | 3 +++ internal/daemon/worker/proxy/proxy_conn_tracker_test.go | 3 +++ internal/daemon/worker/proxy/proxy_test.go | 3 +++ internal/daemon/worker/proxy/proxydialer.go | 3 +++ internal/daemon/worker/proxy/proxydialer_test.go | 3 +++ internal/daemon/worker/proxy/tcp/tcp.go | 3 +++ internal/daemon/worker/proxy/tcp/tcp_test.go | 3 +++ internal/daemon/worker/proxy/testing.go | 3 +++ internal/daemon/worker/proxy/testing_test.go | 3 +++ internal/daemon/worker/proxy/websocket_codes.go | 3 +++ internal/daemon/worker/rpc_registration.go | 3 +++ internal/daemon/worker/session/manager.go | 3 +++ internal/daemon/worker/session/manager_test.go | 3 +++ internal/daemon/worker/session/session.go | 3 +++ internal/daemon/worker/session/session_test.go | 3 +++ internal/daemon/worker/status.go | 3 +++ internal/daemon/worker/status_test.go | 3 +++ internal/daemon/worker/testing.go | 3 +++ internal/daemon/worker/testing_test.go | 3 +++ internal/daemon/worker/worker.go | 3 +++ internal/daemon/worker/worker_proxy_service.go | 3 +++ internal/daemon/worker/worker_test.go | 3 +++ internal/daemon/worker/workerdisconnect_test.go | 3 +++ internal/db/assert/asserts.go | 3 +++ internal/db/assert/asserts_test.go | 3 +++ internal/db/assert/docs.go | 3 +++ internal/db/backoff.go | 3 +++ internal/db/changesafe_reader_writer.go | 3 +++ internal/db/clause.go | 3 +++ internal/db/common/db.go | 3 +++ internal/db/db.go | 3 +++ internal/db/db_test.go | 3 +++ internal/db/db_test/db.go | 3 +++ internal/db/db_test/db_test.pb.go | 3 +++ internal/db/domains_test.go | 3 +++ internal/db/id.go | 3 +++ internal/db/id_test.go | 3 +++ internal/db/option.go | 3 +++ internal/db/option_test.go | 3 +++ internal/db/package_registration.go | 3 +++ internal/db/read_writer.go | 3 +++ internal/db/read_writer_ext_test.go | 3 +++ internal/db/read_writer_oplog.go | 3 +++ internal/db/read_writer_test.go | 3 +++ internal/db/sanitize/doc.go | 3 +++ internal/db/sanitize/sanitize.go | 3 +++ internal/db/sanitize/sanitize_test.go | 3 +++ internal/db/schema/doc.go | 3 +++ internal/db/schema/edition.go | 3 +++ internal/db/schema/edition_test.go | 3 +++ internal/db/schema/errors.go | 3 +++ internal/db/schema/export_test.go | 3 +++ internal/db/schema/internal/edition/edition.go | 3 +++ internal/db/schema/internal/edition/edition_test.go | 3 +++ internal/db/schema/internal/edition/options.go | 3 +++ .../testdata/invalid/duplicate-versions/0/01_initial.up.sql | 3 +++ .../invalid/duplicate-versions/0/01_initial_also.up.sql | 3 +++ .../invalid/major-version-not-int/major/01_initial.up.sql | 3 +++ .../minor-version-invalid-separator/0/01-initial.up.sql | 3 +++ .../invalid/minor-version-not-int/0/minor_initial.up.sql | 3 +++ .../testdata/invalid/no-major-version/01_initial.up.sql | 3 +++ .../testdata/invalid/no-minor-version/0/initial.up.sql | 3 +++ .../schema/internal/edition/testdata/one/0/01_initial.up.sql | 3 +++ .../internal/edition/testdata/three/0/01_initial.up.sql | 3 +++ .../internal/edition/testdata/three/1/01_add_table.up.sql | 3 +++ .../internal/edition/testdata/two/0/01_add_table.up.sql | 3 +++ .../schema/internal/edition/testdata/two/0/02_initial.up.sql | 3 +++ internal/db/schema/internal/log/doc.go | 3 +++ internal/db/schema/internal/log/entry.go | 3 +++ internal/db/schema/internal/log/options.go | 3 +++ internal/db/schema/internal/postgres/doc.go | 3 +++ internal/db/schema/internal/postgres/ensure_version_test.go | 3 +++ internal/db/schema/internal/postgres/lock_test.go | 3 +++ internal/db/schema/internal/postgres/migration_log_test.go | 3 +++ internal/db/schema/internal/postgres/postgres_test.go | 3 +++ internal/db/schema/internal/postgres/query.go | 3 +++ internal/db/schema/internal/postgres/state_test.go | 3 +++ internal/db/schema/internal/postgres/testing_test.go | 3 +++ internal/db/schema/internal/provider/provider.go | 3 +++ internal/db/schema/internal/provider/provider_test.go | 3 +++ internal/db/schema/manager.go | 3 +++ internal/db/schema/manager_example_test.go | 3 +++ internal/db/schema/manager_test.go | 3 +++ internal/db/schema/migration/migration.go | 3 +++ internal/db/schema/migration_log.go | 3 +++ internal/db/schema/migrations/base.go | 3 +++ .../base/postgres/01_boundary_schema_version.up.sql | 3 +++ .../schema/migrations/base/postgres/02_log_migration.up.sql | 3 +++ internal/db/schema/migrations/oss/internal/hook46001/hook.go | 3 +++ .../db/schema/migrations/oss/internal/hook46001/query.go | 3 +++ internal/db/schema/migrations/oss/oss.go | 3 +++ internal/db/schema/migrations/oss/oss_test.go | 3 +++ .../schema/migrations/oss/postgres/0/01_domain_types.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/0/02_oplog.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/0/03_db.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/0/06_iam.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/0/07_auth.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/0/08_servers.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/0/11_auth_token.up.sql | 3 +++ .../schema/migrations/oss/postgres/0/12_auth_password.up.sql | 3 +++ .../migrations/oss/postgres/0/13_auth_password_argon.up.sql | 3 +++ .../migrations/oss/postgres/0/14_auth_password_views.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/0/20_host.up.sql | 3 +++ .../schema/migrations/oss/postgres/0/22_static_host.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/0/30_keys.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/0/31_keys.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/0/40_targets.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/0/41_targets.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/0/50_session.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/0/51_connection.up.sql | 3 +++ .../migrations/oss/postgres/0/60_wh_domain_types.up.sql | 3 +++ .../schema/migrations/oss/postgres/0/62_wh_datetime.up.sql | 3 +++ .../oss/postgres/0/65_wh_session_dimensions.up.sql | 3 +++ .../oss/postgres/0/66_wh_session_dimensions.up.sql | 3 +++ .../migrations/oss/postgres/0/68_wh_session_facts.up.sql | 3 +++ .../migrations/oss/postgres/0/69_wh_session_facts.up.sql | 3 +++ .../oss/postgres/1/01_server_tags_migrations.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/1/02_domains.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/1/03_kms.up.sql | 3 +++ .../migrations/oss/postgres/10/01_job_migrations.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/10/02_sentinels.up.sql | 3 +++ .../schema/migrations/oss/postgres/10/03_credential.up.sql | 3 +++ .../migrations/oss/postgres/10/04_vault_credential.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/10/05_target.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/10/06_session.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/10/07_sentinels.up.sql | 3 +++ .../migrations/oss/postgres/11/01_server_type_enum.up.sql | 3 +++ .../migrations/oss/postgres/12/01_timestamp_sub_funcs.up.sql | 3 +++ .../migrations/oss/postgres/13/01_oidc_add_claims.up.sql | 3 +++ .../oss/postgres/14/01_wh_user_dimension_oidc.up.sql | 3 +++ .../oss/postgres/15/01_wh_rename_key_columns.up.sql | 3 +++ .../oss/postgres/15/02_wh_rename_host_dimension_org.up.sql | 3 +++ .../oss/postgres/16/01_wh_credential_dimension.up.sql | 3 +++ .../oss/postgres/16/02_wh_credential_dimension.up.sql | 3 +++ .../oss/postgres/16/03_wh_credential_dimension.up.sql | 3 +++ .../oss/postgres/16/04_wh_credential_dimension.up.sql | 3 +++ .../oss/postgres/16/05_wh_credential_dimension.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/17/01_servers.up.sql | 3 +++ .../migrations/oss/postgres/17/02_wh_primary_key.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/18/01_nonce.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/19/01_db.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/19/02_kms_audit.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/19/03_db.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/2/01_log.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/2/03_oidc_enm.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/2/04_oidc.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/2/05_authtoken.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/2/06_iam.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/2/07_iam.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/2/10_auth.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/2/15_oidc.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/2/20_pass.up.sql | 3 +++ .../schema/migrations/oss/postgres/20/01_domain_types.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/20/02_plugin.up.sql | 3 +++ .../schema/migrations/oss/postgres/20/03_host_plugin.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/20/04_host.up.sql | 3 +++ .../schema/migrations/oss/postgres/20/05_plugin_host.up.sql | 3 +++ .../migrations/oss/postgres/20/06_plugin_host_views.up.sql | 3 +++ .../oss/postgres/20/07_wh_session_dimensions.up.sql | 3 +++ .../migrations/oss/postgres/20/08_plugin_host_views.up.sql | 3 +++ .../migrations/oss/postgres/20/09_session_list_view.up.sql | 3 +++ .../oss/postgres/20/10_plugin_host_secrets_hmac.up.sql | 3 +++ .../schema/migrations/oss/postgres/21/01_default_time.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/21/02_session.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/22/01_sentinel.up.sql | 3 +++ .../migrations/oss/postgres/22/02_credential_type.up.sql | 3 +++ .../migrations/oss/postgres/22/03_vault_library_map.up.sql | 3 +++ .../postgres/22/04_vault_library_map_user_password.up.sql | 3 +++ .../oss/postgres/22/05_vault_private_library.up.sql | 3 +++ .../migrations/oss/postgres/23/01_session_credential.up.sql | 3 +++ .../migrations/oss/postgres/24/01_session_valid_state.up.sql | 3 +++ .../migrations/oss/postgres/25/01_static_host_view.up.sql | 3 +++ .../oss/postgres/26/01_wh_network_address_dimensions.up.sql | 3 +++ .../oss/postgres/26/02_wh_network_address_dimensions.up.sql | 3 +++ .../oss/postgres/26/03_wh_network_address_dimensions.up.sql | 3 +++ .../oss/postgres/27/01_disable_terminate_session.up.sql | 3 +++ .../migrations/oss/postgres/27/02_wh_session_facts.up.sql | 3 +++ .../oss/postgres/28/01_session_create_time_idx.up.sql | 3 +++ .../oss/postgres/28/02_prior_session_trigger.up.sql | 3 +++ .../oss/postgres/29/01_cancel_session_null_fkey.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/3/01_auth.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/3/02_iam.up.sql | 3 +++ .../migrations/oss/postgres/30/01_kms_domain_types.up.sql | 3 +++ .../schema/migrations/oss/postgres/30/02_kms_version.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/30/03_kms_keys.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/30/04_kms_keys.up.sql | 3 +++ .../oss/postgres/31/01_delete_termianted_sessions.up.sql | 3 +++ .../oss/postgres/31/02_session_list_no_connections.up.sql | 3 +++ .../migrations/oss/postgres/32/01_credential_type.up.sql | 3 +++ .../migrations/oss/postgres/33/01_static_credential.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/33/02_target.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/33/03_session.up.sql | 3 +++ .../schema/migrations/oss/postgres/34/01_domain_types.up.sql | 3 +++ .../oss/postgres/34/02_worker_controller_tables.up.sql | 3 +++ .../oss/postgres/34/03_worker_authentication.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/34/04_views.up.sql | 3 +++ .../migrations/oss/postgres/35/01_job_migrations.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/35/02_cleanup.up.sql | 3 +++ .../36/01_vault_library_map_username_password.up.sql | 3 +++ .../oss/postgres/36/02_vault_private_library.up.sql | 3 +++ .../postgres/37/01_set_unlimited_connections_limit.up.sql | 3 +++ .../oss/postgres/38/06_kms_collection_version.up.sql | 3 +++ .../oss/postgres/39/01_static_ssh_private_key_creds.up.sql | 3 +++ .../oss/postgres/39/02_vault_ssh_private_key_override.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/4/01_iam.up.sql | 3 +++ .../schema/migrations/oss/postgres/40/01_credential.up.sql | 3 +++ .../migrations/oss/postgres/40/02_wh_credential.up.sql | 3 +++ .../oss/postgres/41/01_worker_filter_vault_cred_store.up.sql | 3 +++ .../oss/postgres/42/01_ssh_private_key_passphrase.up.sql | 3 +++ .../migrations/oss/postgres/43/01_session_credentials.up.sql | 3 +++ .../schema/migrations/oss/postgres/44/01_credentials.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/44/02_hosts.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/44/03_targets.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/44/04_sessions.up.sql | 3 +++ .../schema/migrations/oss/postgres/45/01_credentials.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/45/02_hosts.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/45/03_targets.up.sql | 3 +++ .../schema/migrations/oss/postgres/46/01_credentials.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/46/02_hosts.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/46/03_targets.up.sql | 3 +++ .../schema/migrations/oss/postgres/47/01_key_rewrap.up.sql | 3 +++ .../oss/postgres/48/01_worker_auth_activation_token.up.sql | 3 +++ .../migrations/oss/postgres/49/01_vault_credentials.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/5/01_oidc.up.sql | 3 +++ .../migrations/oss/postgres/50/01_session_list_index.up.sql | 3 +++ .../oss/postgres/51/01_server_worker_release_version.up.sql | 3 +++ .../oss/postgres/52/01_worker_operational_state.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/53/01_roles.up.sql | 3 +++ .../migrations/oss/postgres/54/01_static_json_creds.up.sql | 3 +++ .../migrations/oss/postgres/54/02_session_defer.up.sql | 3 +++ .../oss/postgres/55/01_worker_auth_create_time.up.sql | 3 +++ .../postgres/56/01_oplog_key_id_scope_id_truncation.up.sql | 3 +++ .../56/02_add_data_key_foreign_key_references.up.sql | 3 +++ .../oss/postgres/56/03_create_kms_key_destructions.up.sql | 3 +++ .../oss/postgres/56/04_mutable_root_key_version.up.sql | 3 +++ .../oss/postgres/56/05_mutable_ciphertext_columns.up.sql | 3 +++ .../oss/postgres/56/06_add_session_private_key_column.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/57/01_auth.up.sql | 3 +++ .../schema/migrations/oss/postgres/58/01_fix_comments.up.sql | 3 +++ .../59/01_target_ingress_egress_worker_filters.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/6/01_oidc.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/60/01_targets.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/60/02_sessions.up.sql | 3 +++ .../schema/migrations/oss/postgres/60/03_wh_sessions.up.sql | 3 +++ .../oss/postgres/61/01_fix_wh_upsert_credential_group.up.sql | 3 +++ .../migrations/oss/postgres/62/01_job_run_index.up.sql | 3 +++ .../postgres/63/01_credential_vault_ssh_cert_library.up.sql | 3 +++ .../63/02_add_ssh_cert_to_vault_cred_library_view.up.sql | 3 +++ .../migrations/oss/postgres/63/03_wh_ssh_cert_library.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/7/01_functions.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/7/02_plugin.up.sql | 3 +++ internal/db/schema/migrations/oss/postgres/7/03_job.up.sql | 3 +++ .../db/schema/migrations/oss/postgres/8/01_connection.up.sql | 3 +++ .../schema/migrations/oss/postgres/8/08_connection_test.go | 3 +++ .../migrations/oss/postgres/9/01_managed_groups.up.sql | 3 +++ .../migrations/oss/postgres/9/02_oidc_managed_group.up.sql | 3 +++ .../oss/postgres/9/03_oidc_managed_group_member.up.sql | 3 +++ .../postgres/9/04_oidc_managed_group_principal_role.up.sql | 3 +++ .../schema/migrations/oss/postgres/9/managed_group_test.go | 3 +++ internal/db/schema/migrations/oss/postgres_11_01_test.go | 3 +++ internal/db/schema/migrations/oss/postgres_12_01_test.go | 3 +++ internal/db/schema/migrations/oss/postgres_20_05_test.go | 3 +++ internal/db/schema/migrations/oss/postgres_26_01_test.go | 3 +++ internal/db/schema/migrations/oss/postgres_2_10_test.go | 3 +++ internal/db/schema/migrations/oss/postgres_30_01_test.go | 3 +++ internal/db/schema/migrations/oss/postgres_40_01_test.go | 3 +++ internal/db/schema/migrations/oss/postgres_46_01_test.go | 3 +++ internal/db/schema/migrations/oss/postgres_52_01_test.go | 3 +++ internal/db/schema/migrations/oss/postgres_53_01_test.go | 3 +++ internal/db/schema/migrations/oss/postgres_56_01_test.go | 3 +++ internal/db/schema/migrations/oss/postgres_57_01_test.go | 3 +++ internal/db/schema/options.go | 3 +++ internal/db/schema/options_test.go | 3 +++ internal/db/schema/repair.go | 3 +++ internal/db/schema/repair_test.go | 3 +++ internal/db/schema/schema.go | 3 +++ internal/db/schema/schema_test.go | 3 +++ internal/db/schema/state.go | 3 +++ .../db/schema/testdata/hooks/initial/0/01_initial.up.sql | 3 +++ .../db/schema/testdata/hooks/updated/0/01_initial.up.sql | 3 +++ internal/db/schema/testdata/hooks/updated/1/01_update.up.sql | 3 +++ internal/db/schema/testdata/one/0/01_initial.up.sql | 3 +++ internal/db/schema/testdata/three/0/01_initial.up.sql | 3 +++ internal/db/schema/testdata/two/0/01_initial.up.sql | 3 +++ internal/db/schema/testing.go | 3 +++ internal/db/sentinel/doc.go | 3 +++ internal/db/sentinel/sentinel.go | 3 +++ internal/db/sentinel/sentinel_test.go | 3 +++ internal/db/sqltest/initdb.d/00_schema.sh | 3 +++ internal/db/sqltest/initdb.d/01_colors_persona.sql | 3 +++ internal/db/sqltest/initdb.d/02_colors_persona.sql | 3 +++ internal/db/sqltest/initdb.d/02_wtt_load.sql | 3 +++ internal/db/sqltest/initdb.d/03_widgets_persona.sql | 3 +++ internal/db/sqltest/initdb.d/04_foodtruck_persona.sql | 3 +++ internal/db/sqltest/tests/account/oidc/account.sql | 3 +++ internal/db/sqltest/tests/account/password/account.sql | 3 +++ internal/db/sqltest/tests/controller/controller_id.sql | 3 +++ .../tests/credential/vault/credential_vault_library.sql | 3 +++ .../vault/credential_vault_library_issue_credentials.sql | 3 +++ ...ential_vault_library_ssh_private_key_mapping_override.sql | 3 +++ ...tial_vault_library_username_password_mapping_override.sql | 3 +++ .../credential/vault/credential_vault_ssh_cert_library.sql | 3 +++ .../tests/credential/vault/credential_vault_store_client.sql | 3 +++ .../credential/vault/credential_vault_store_list_lookup.sql | 3 +++ .../vault/credential_vault_token_renewal_revocation.sql | 3 +++ .../db/sqltest/tests/kms/kms_data_key_destruction_job.sql | 3 +++ internal/db/sqltest/tests/org/org-delete.sql | 3 +++ internal/db/sqltest/tests/sentinel/is_sentinel.sql | 3 +++ internal/db/sqltest/tests/sentinel/to_sentinel.sql | 3 +++ .../db/sqltest/tests/session/delete_session_auth_token.sql | 3 +++ internal/db/sqltest/tests/session/delete_session_host.sql | 3 +++ .../db/sqltest/tests/session/delete_session_host_set.sql | 3 +++ internal/db/sqltest/tests/session/delete_session_project.sql | 3 +++ internal/db/sqltest/tests/session/delete_session_target.sql | 3 +++ .../sqltest/tests/session/delete_session_target_address.sql | 3 +++ internal/db/sqltest/tests/session/delete_session_user.sql | 3 +++ .../db/sqltest/tests/session/invalid_state_transition.sql | 3 +++ .../sqltest/tests/session/session_credential_canceling.sql | 3 +++ .../sqltest/tests/session/session_credential_terminated.sql | 3 +++ .../tests/session/valid_state_transition_canceling.sql | 3 +++ .../tests/session/valid_state_transition_pending_active.sql | 3 +++ .../session/valid_state_transition_pending_canceling.sql | 3 +++ .../tests/session/valid_state_transition_terminated.sql | 3 +++ internal/db/sqltest/tests/setup/wtt_load.sql | 3 +++ internal/db/sqltest/tests/setup/wtt_load_widgets.sql | 3 +++ .../db/sqltest/tests/target/target_credential_library.sql | 3 +++ internal/db/sqltest/tests/target/target_host_set.sql | 3 +++ .../db/sqltest/tests/target/target_static_credential.sql | 3 +++ .../db/sqltest/tests/wh/credential_dimension/dimension.sql | 3 +++ .../wh/credential_dimension/session_multiple_sessions.sql | 3 +++ .../sqltest/tests/wh/credential_dimension/session_update.sql | 3 +++ .../ssh_certificate_cred_library_ecdsa.sql | 3 +++ .../ssh_certificate_cred_library_ed25519.sql | 3 +++ .../ssh_certificate_cred_library_rsa.sql | 3 +++ .../wh/credential_dimension/three_credentials_one_change.sql | 3 +++ .../sqltest/tests/wh/credential_dimension_views/source.sql | 3 +++ .../sqltest/tests/wh/credential_dimension_views/target.sql | 3 +++ .../wh/host_dimension/session_existing_host_network.sql | 3 +++ .../tests/wh/host_dimension/session_multiple_sessions.sql | 3 +++ .../tests/wh/host_dimension/session_target_address.sql | 3 +++ .../db/sqltest/tests/wh/host_dimension/session_update.sql | 3 +++ internal/db/sqltest/tests/wh/host_dimension_views/source.sql | 3 +++ internal/db/sqltest/tests/wh/host_dimension_views/target.sql | 3 +++ .../tests/wh/network_address_dimension/helper_functions.sql | 3 +++ .../upsert_network_address_group_key.sql | 3 +++ internal/db/sqltest/tests/wh/session/insert.sql | 3 +++ internal/db/sqltest/tests/wh/session/update_state.sql | 3 +++ internal/db/sqltest/tests/wh/session_connection/insert.sql | 3 +++ internal/db/sqltest/tests/wh/session_connection/update.sql | 3 +++ .../sqltest/tests/wh/session_credential_dynamic/insert.sql | 3 +++ .../tests/wh/session_credential_dynamic/insert_multiple.sql | 3 +++ internal/db/sqltest/tests/wh/upsert_user/errors.sql | 3 +++ internal/db/sqltest/tests/wh/upsert_user/insert.sql | 3 +++ internal/db/sqltest/tests/wh/upsert_user/upsert.sql | 3 +++ .../tests/wh/user_dimension/oidc_auth_new_session.sql | 3 +++ .../wh/user_dimension/password_auth_description_change.sql | 3 +++ .../tests/wh/user_dimension/password_auth_new_session.sql | 3 +++ .../tests/wh/user_dimension/session_multiple_sessions.sql | 3 +++ .../session_multiple_sessions_different_auth.sql | 3 +++ .../db/sqltest/tests/wh/user_dimension/session_update.sql | 3 +++ internal/db/sqltest/tests/wh/user_dimension_views/source.sql | 3 +++ internal/db/sqltest/tests/wh/user_dimension_views/target.sql | 3 +++ internal/db/testing.go | 3 +++ internal/db/testing_test.go | 3 +++ internal/db/timestamp/scanners.go | 3 +++ internal/db/timestamp/scanners_test.go | 3 +++ internal/db/timestamp/timestamp.go | 3 +++ internal/db/timestamp/timestamp.pb.go | 3 +++ internal/errors/code.go | 3 +++ internal/errors/code_test.go | 3 +++ internal/errors/error.go | 3 +++ internal/errors/error_test.go | 3 +++ internal/errors/info.go | 3 +++ internal/errors/is.go | 3 +++ internal/errors/is_test.go | 3 +++ internal/errors/kind.go | 3 +++ internal/errors/kind_test.go | 3 +++ internal/errors/match.go | 3 +++ internal/errors/match_test.go | 3 +++ internal/errors/option.go | 3 +++ internal/errors/option_test.go | 3 +++ internal/filter/filter.go | 3 +++ internal/filter/filter_test.go | 3 +++ internal/gen/controller/api/empty_msg.pb.go | 3 +++ internal/gen/controller/api/error.pb.go | 3 +++ internal/gen/controller/api/services/account_service.pb.go | 3 +++ .../gen/controller/api/services/auth_method_service.pb.go | 3 +++ .../gen/controller/api/services/authtokens_service.pb.go | 3 +++ .../controller/api/services/credential_library_service.pb.go | 3 +++ .../gen/controller/api/services/credential_service.pb.go | 3 +++ .../controller/api/services/credential_store_service.pb.go | 3 +++ internal/gen/controller/api/services/group_service.pb.go | 3 +++ .../gen/controller/api/services/host_catalog_service.pb.go | 3 +++ internal/gen/controller/api/services/host_service.pb.go | 3 +++ internal/gen/controller/api/services/host_set_service.pb.go | 3 +++ .../gen/controller/api/services/managed_group_service.pb.go | 3 +++ internal/gen/controller/api/services/role_service.pb.go | 3 +++ internal/gen/controller/api/services/scope_service.pb.go | 3 +++ internal/gen/controller/api/services/session_service.pb.go | 3 +++ internal/gen/controller/api/services/target_service.pb.go | 3 +++ internal/gen/controller/api/services/user_service.pb.go | 3 +++ internal/gen/controller/api/services/worker_service.pb.go | 3 +++ internal/gen/controller/auth/auth.pb.go | 3 +++ internal/gen/controller/servers/servers.pb.go | 3 +++ internal/gen/controller/servers/services/credential.pb.go | 3 +++ .../servers/services/server_coordination_service.pb.go | 3 +++ .../gen/controller/servers/services/session_service.pb.go | 3 +++ internal/gen/controller/servers/services/testing.go | 3 +++ internal/gen/controller/tokens/tokens.pb.go | 3 +++ internal/gen/errors/errors.pb.go | 3 +++ internal/gen/ops/services/health_service.pb.go | 3 +++ internal/gen/testing/attribute/attribute.pb.go | 3 +++ internal/gen/testing/event/event.pb.go | 3 +++ internal/gen/testing/event/taggable.go | 3 +++ internal/gen/testing/interceptor/greeter.pb.go | 3 +++ internal/gen/testing/protooptions/service.pb.go | 3 +++ internal/gen/worker/health/health_service.pb.go | 3 +++ internal/host/endpoint.go | 3 +++ internal/host/host.go | 3 +++ internal/host/host_dns_address.go | 3 +++ internal/host/host_ip_address.go | 3 +++ internal/host/options.go | 3 +++ internal/host/options_test.go | 3 +++ internal/host/plugin/client.go | 3 +++ internal/host/plugin/host.go | 3 +++ internal/host/plugin/host_address_test.go | 3 +++ internal/host/plugin/host_catalog.go | 3 +++ internal/host/plugin/host_catalog_secret.go | 3 +++ internal/host/plugin/host_catalog_secret_test.go | 3 +++ internal/host/plugin/host_catalog_test.go | 3 +++ internal/host/plugin/host_set.go | 3 +++ internal/host/plugin/host_set_member.go | 3 +++ internal/host/plugin/host_set_member_test.go | 3 +++ internal/host/plugin/host_set_test.go | 3 +++ internal/host/plugin/host_test.go | 3 +++ internal/host/plugin/ids.go | 3 +++ internal/host/plugin/immutable_fields_test.go | 3 +++ internal/host/plugin/job_orphaned_host_cleanup.go | 3 +++ internal/host/plugin/job_orphaned_host_cleanup_test.go | 3 +++ internal/host/plugin/job_set_sync.go | 3 +++ internal/host/plugin/job_set_sync_test.go | 3 +++ internal/host/plugin/jobs.go | 3 +++ internal/host/plugin/loopback.go | 3 +++ internal/host/plugin/loopback_test.go | 3 +++ internal/host/plugin/options.go | 3 +++ internal/host/plugin/options_test.go | 3 +++ internal/host/plugin/query.go | 3 +++ internal/host/plugin/repository.go | 3 +++ internal/host/plugin/repository_host.go | 3 +++ internal/host/plugin/repository_host_catalog.go | 3 +++ internal/host/plugin/repository_host_catalog_test.go | 3 +++ internal/host/plugin/repository_host_set.go | 3 +++ internal/host/plugin/repository_host_set_test.go | 3 +++ internal/host/plugin/repository_host_test.go | 3 +++ internal/host/plugin/repository_host_util.go | 3 +++ internal/host/plugin/repository_host_util_test.go | 3 +++ internal/host/plugin/repository_test.go | 3 +++ internal/host/plugin/rewrapping.go | 3 +++ internal/host/plugin/rewrapping_test.go | 3 +++ internal/host/plugin/store/host.pb.go | 3 +++ internal/host/plugin/testing.go | 3 +++ internal/host/plugin/testing_test.go | 3 +++ internal/host/preferred_endpoint.go | 3 +++ internal/host/preferred_endpoint_test.go | 3 +++ internal/host/static/doc.go | 3 +++ internal/host/static/example_test.go | 3 +++ internal/host/static/host.go | 3 +++ internal/host/static/host_catalog.go | 3 +++ internal/host/static/host_catalog_test.go | 3 +++ internal/host/static/host_set.go | 3 +++ internal/host/static/host_set_member.go | 3 +++ internal/host/static/host_set_member_test.go | 3 +++ internal/host/static/host_set_test.go | 3 +++ internal/host/static/host_test.go | 3 +++ internal/host/static/immutable_fields_test.go | 3 +++ internal/host/static/options.go | 3 +++ internal/host/static/options_test.go | 3 +++ internal/host/static/public_ids.go | 3 +++ internal/host/static/query.go | 3 +++ internal/host/static/repository.go | 3 +++ internal/host/static/repository_host.go | 3 +++ internal/host/static/repository_host_catalog.go | 3 +++ internal/host/static/repository_host_catalog_test.go | 3 +++ internal/host/static/repository_host_set.go | 3 +++ internal/host/static/repository_host_set_member.go | 3 +++ internal/host/static/repository_host_set_member_test.go | 3 +++ internal/host/static/repository_host_set_test.go | 3 +++ internal/host/static/repository_host_test.go | 3 +++ internal/host/static/repository_test.go | 3 +++ internal/host/static/store/static.pb.go | 3 +++ internal/host/static/testing.go | 3 +++ internal/host/static/testing_test.go | 3 +++ internal/host/store/host.pb.go | 3 +++ internal/iam/account.go | 3 +++ internal/iam/account_test.go | 3 +++ internal/iam/action.go | 3 +++ internal/iam/action_test.go | 3 +++ internal/iam/docs.go | 3 +++ internal/iam/group.go | 3 +++ internal/iam/group_member.go | 3 +++ internal/iam/group_member_test.go | 3 +++ internal/iam/group_test.go | 3 +++ internal/iam/ids.go | 3 +++ internal/iam/ids_test.go | 3 +++ internal/iam/immutable_fields_test.go | 3 +++ internal/iam/options.go | 3 +++ internal/iam/options_test.go | 3 +++ internal/iam/principal_role.go | 3 +++ internal/iam/principal_role_ext_test.go | 3 +++ internal/iam/principal_role_test.go | 3 +++ internal/iam/query.go | 3 +++ internal/iam/repository.go | 3 +++ internal/iam/repository_group.go | 3 +++ internal/iam/repository_group_test.go | 3 +++ internal/iam/repository_principal_role.go | 3 +++ internal/iam/repository_principal_role_ext_test.go | 3 +++ internal/iam/repository_principal_role_test.go | 3 +++ internal/iam/repository_role.go | 3 +++ internal/iam/repository_role_grant.go | 3 +++ internal/iam/repository_role_grant_ext_test.go | 3 +++ internal/iam/repository_role_grant_test.go | 3 +++ internal/iam/repository_role_test.go | 3 +++ internal/iam/repository_scope.go | 3 +++ internal/iam/repository_scope_primary_auth_method_id_test.go | 3 +++ internal/iam/repository_scope_test.go | 3 +++ internal/iam/repository_test.go | 3 +++ internal/iam/repository_user.go | 3 +++ internal/iam/repository_user_iam_pkg_test.go | 3 +++ internal/iam/repository_user_test.go | 3 +++ internal/iam/resource.go | 3 +++ internal/iam/resource_test.go | 3 +++ internal/iam/role.go | 3 +++ internal/iam/role_grant.go | 3 +++ internal/iam/role_grant_test.go | 3 +++ internal/iam/role_test.go | 3 +++ internal/iam/scope.go | 3 +++ internal/iam/scope_test.go | 3 +++ internal/iam/store/group.pb.go | 3 +++ internal/iam/store/group_member.pb.go | 3 +++ internal/iam/store/principal_role.pb.go | 3 +++ internal/iam/store/role.pb.go | 3 +++ internal/iam/store/role_grant.pb.go | 3 +++ internal/iam/store/scope.pb.go | 3 +++ internal/iam/store/user.pb.go | 3 +++ internal/iam/testing.go | 3 +++ internal/iam/testing_test.go | 3 +++ internal/iam/user.go | 3 +++ internal/iam/user_test.go | 3 +++ internal/intglobals/prefixes.go | 3 +++ internal/kms/const.go | 3 +++ internal/kms/data_key_version_destruction_job.go | 3 +++ internal/kms/data_key_version_destruction_job_progress.go | 3 +++ .../kms/data_key_version_destruction_job_progress_test.go | 3 +++ internal/kms/data_key_version_destruction_job_run.go | 3 +++ ...ata_key_version_destruction_job_run_allowed_table_name.go | 3 +++ ...ey_version_destruction_job_run_allowed_table_name_test.go | 3 +++ internal/kms/data_key_version_destruction_job_run_test.go | 3 +++ internal/kms/data_key_version_destruction_job_test.go | 3 +++ internal/kms/external_wrappers.go | 3 +++ internal/kms/external_wrappers_test.go | 3 +++ internal/kms/job/data_key_version_destruction_monitor_job.go | 3 +++ .../kms/job/data_key_version_destruction_monitor_job_test.go | 3 +++ internal/kms/job/job.go | 3 +++ internal/kms/job/job_test.go | 3 +++ internal/kms/job/table_rewrapping_job.go | 3 +++ internal/kms/job/table_rewrapping_job_test.go | 3 +++ internal/kms/kms.go | 3 +++ internal/kms/kms_ext_test.go | 3 +++ internal/kms/kms_test.go | 3 +++ internal/kms/option_test.go | 3 +++ internal/kms/options.go | 3 +++ internal/kms/query.go | 3 +++ internal/kms/rewrapping.go | 3 +++ internal/kms/store/audit_key.pb.go | 3 +++ internal/kms/store/data_key_version_destruction_job.pb.go | 3 +++ .../store/data_key_version_destruction_job_progress.pb.go | 3 +++ .../kms/store/data_key_version_destruction_job_run.pb.go | 3 +++ ..._key_version_destruction_job_run_allowed_table_name.pb.go | 3 +++ internal/kms/store/database_key.pb.go | 3 +++ internal/kms/store/oidc_key.pb.go | 3 +++ internal/kms/store/oplog_key.pb.go | 3 +++ internal/kms/store/root_key.pb.go | 3 +++ internal/kms/store/session_key.pb.go | 3 +++ internal/kms/store/token_key.pb.go | 3 +++ internal/kms/testing.go | 3 +++ internal/libs/crypto/derived_reader.go | 3 +++ internal/libs/crypto/derived_reader_test.go | 3 +++ internal/libs/crypto/error.go | 3 +++ internal/libs/crypto/hmac_sha256.go | 3 +++ internal/libs/crypto/hmac_sha256_test.go | 3 +++ internal/libs/crypto/options.go | 3 +++ internal/libs/crypto/options_test.go | 3 +++ internal/libs/crypto/testing.go | 3 +++ internal/libs/endpoint/doc.go | 3 +++ internal/libs/endpoint/matcher.go | 3 +++ internal/libs/endpoint/matcher_test.go | 3 +++ internal/libs/endpoint/option.go | 3 +++ internal/libs/endpoint/options_test.go | 3 +++ internal/libs/endpoint/preferencer.go | 3 +++ internal/libs/endpoint/preferencer_test.go | 3 +++ internal/libs/patchstruct/patchstruct.go | 3 +++ internal/libs/patchstruct/patchstruct_test.go | 3 +++ internal/observability/event/audit_config.go | 3 +++ internal/observability/event/audit_config_test.go | 3 +++ internal/observability/event/cloudevents_formatter_node.go | 3 +++ .../observability/event/cloudevents_formatter_node_test.go | 3 +++ internal/observability/event/common_keys_values.go | 3 +++ internal/observability/event/context.go | 3 +++ internal/observability/event/context_test.go | 3 +++ internal/observability/event/context_unexported_test.go | 3 +++ internal/observability/event/data_classification.go | 3 +++ internal/observability/event/data_classification_test.go | 3 +++ internal/observability/event/errors.go | 3 +++ internal/observability/event/event.go | 3 +++ internal/observability/event/event_audit.go | 3 +++ internal/observability/event/event_audit_test.go | 3 +++ internal/observability/event/event_delivery_guarantee.go | 3 +++ .../observability/event/event_delivery_guarantee_test.go | 3 +++ internal/observability/event/event_error.go | 3 +++ internal/observability/event/event_error_test.go | 3 +++ internal/observability/event/event_observation.go | 3 +++ internal/observability/event/event_observation_test.go | 3 +++ internal/observability/event/event_sys.go | 3 +++ internal/observability/event/event_sys_test.go | 3 +++ internal/observability/event/event_type.go | 3 +++ internal/observability/event/eventer.go | 3 +++ internal/observability/event/eventer_config.go | 3 +++ internal/observability/event/eventer_config_test.go | 3 +++ internal/observability/event/eventer_gate_test.go | 3 +++ internal/observability/event/eventer_retry.go | 3 +++ internal/observability/event/eventer_retry_test.go | 3 +++ internal/observability/event/eventer_test.go | 3 +++ internal/observability/event/filter_operation.go | 3 +++ internal/observability/event/filter_operation_test.go | 3 +++ internal/observability/event/hclog_event_adapter.go | 3 +++ internal/observability/event/hclog_event_adapter_test.go | 3 +++ internal/observability/event/hclog_formatter_node.go | 3 +++ internal/observability/event/hclog_formatter_node_test.go | 3 +++ internal/observability/event/id.go | 3 +++ internal/observability/event/id_test.go | 3 +++ internal/observability/event/options.go | 3 +++ internal/observability/event/options_test.go | 3 +++ internal/observability/event/serialized_writer.go | 3 +++ internal/observability/event/serialized_writer_test.go | 3 +++ internal/observability/event/signer.go | 3 +++ internal/observability/event/sink_config.go | 3 +++ internal/observability/event/sink_config_test.go | 3 +++ internal/observability/event/sink_format.go | 3 +++ internal/observability/event/sink_type.go | 3 +++ internal/observability/event/testing.go | 3 +++ internal/observability/event/testing_test.go | 3 +++ internal/oplog/any_operation.pb.go | 3 +++ internal/oplog/docs.go | 3 +++ internal/oplog/immutable_fields_test.go | 3 +++ internal/oplog/oplog.go | 3 +++ internal/oplog/oplog_test.go | 3 +++ internal/oplog/oplog_test/db.go | 3 +++ internal/oplog/oplog_test/oplog_test.pb.go | 3 +++ internal/oplog/options.go | 3 +++ internal/oplog/options_test.go | 3 +++ internal/oplog/queue.go | 3 +++ internal/oplog/queue_test.go | 3 +++ internal/oplog/replayable.go | 3 +++ internal/oplog/store/doc.go | 3 +++ internal/oplog/store/oplog.pb.go | 3 +++ internal/oplog/store/oplog_entry.go | 3 +++ internal/oplog/testing.go | 3 +++ internal/oplog/testing_test.go | 3 +++ internal/oplog/ticketer.go | 3 +++ internal/oplog/ticketer_test.go | 3 +++ internal/oplog/type_catalog.go | 3 +++ internal/oplog/type_catalog_test.go | 3 +++ internal/oplog/writer.go | 3 +++ internal/oplog/writer_test.go | 3 +++ internal/perms/acl.go | 3 +++ internal/perms/acl_test.go | 3 +++ internal/perms/doc.go | 3 +++ internal/perms/grants.go | 3 +++ internal/perms/grants_test.go | 3 +++ internal/perms/option.go | 3 +++ internal/perms/option_test.go | 3 +++ internal/perms/output_fields.go | 3 +++ internal/perms/output_fields_test.go | 3 +++ internal/plugin/doc.go | 3 +++ internal/plugin/host/doc.go | 3 +++ internal/plugin/host/ids.go | 3 +++ internal/plugin/host/immutable_fields_test.go | 3 +++ internal/plugin/host/options.go | 3 +++ internal/plugin/host/options_test.go | 3 +++ internal/plugin/host/plugin.go | 3 +++ internal/plugin/host/plugin_test.go | 3 +++ internal/plugin/host/repository.go | 3 +++ internal/plugin/host/repository_plugin.go | 3 +++ internal/plugin/host/repository_plugin_test.go | 3 +++ internal/plugin/host/repository_test.go | 3 +++ internal/plugin/host/store/plugin.pb.go | 3 +++ internal/plugin/host/testing.go | 3 +++ internal/plugin/host/testing_test.go | 3 +++ internal/plugin/immutable_fields_test.go | 3 +++ internal/plugin/store/plugin.pb.go | 3 +++ internal/plugin/testing.go | 3 +++ internal/plugin/testing_test.go | 3 +++ internal/proto/buf.breaking.json.yaml | 3 +++ internal/proto/buf.breaking.wire.yaml | 3 +++ internal/proto/buf.yaml | 3 +++ .../proto/controller/api/resources/accounts/v1/account.proto | 3 +++ .../api/resources/authmethods/v1/auth_method.proto | 3 +++ .../controller/api/resources/authtokens/v1/authtoken.proto | 3 +++ .../credentiallibraries/v1/credential_library.proto | 3 +++ .../controller/api/resources/credentials/v1/credential.proto | 3 +++ .../api/resources/credentialstores/v1/credential_store.proto | 3 +++ .../proto/controller/api/resources/groups/v1/group.proto | 3 +++ .../api/resources/hostcatalogs/v1/host_catalog.proto | 3 +++ internal/proto/controller/api/resources/hosts/v1/host.proto | 3 +++ .../controller/api/resources/hostsets/v1/host_set.proto | 3 +++ .../api/resources/managedgroups/v1/managed_group.proto | 3 +++ .../proto/controller/api/resources/plugins/v1/plugin.proto | 3 +++ internal/proto/controller/api/resources/roles/v1/role.proto | 3 +++ .../proto/controller/api/resources/scopes/v1/scope.proto | 3 +++ .../proto/controller/api/resources/sessions/v1/session.proto | 3 +++ .../proto/controller/api/resources/targets/v1/target.proto | 3 +++ internal/proto/controller/api/resources/users/v1/user.proto | 3 +++ .../proto/controller/api/resources/workers/v1/worker.proto | 3 +++ .../proto/controller/api/services/v1/account_service.proto | 3 +++ .../controller/api/services/v1/auth_method_service.proto | 3 +++ .../controller/api/services/v1/authtokens_service.proto | 3 +++ .../api/services/v1/credential_library_service.proto | 3 +++ .../controller/api/services/v1/credential_service.proto | 3 +++ .../api/services/v1/credential_store_service.proto | 3 +++ .../proto/controller/api/services/v1/group_service.proto | 3 +++ .../controller/api/services/v1/host_catalog_service.proto | 3 +++ internal/proto/controller/api/services/v1/host_service.proto | 3 +++ .../proto/controller/api/services/v1/host_set_service.proto | 3 +++ .../controller/api/services/v1/managed_group_service.proto | 3 +++ internal/proto/controller/api/services/v1/role_service.proto | 3 +++ .../proto/controller/api/services/v1/scope_service.proto | 3 +++ .../proto/controller/api/services/v1/session_service.proto | 3 +++ .../proto/controller/api/services/v1/target_service.proto | 3 +++ internal/proto/controller/api/services/v1/user_service.proto | 3 +++ .../proto/controller/api/services/v1/worker_service.proto | 3 +++ internal/proto/controller/api/v1/empty_msg.proto | 3 +++ internal/proto/controller/api/v1/error.proto | 3 +++ internal/proto/controller/auth/v1/auth.proto | 3 +++ internal/proto/controller/custom_options/v1/options.proto | 3 +++ internal/proto/controller/custom_options/v1/testing.proto | 3 +++ .../proto/controller/servers/services/v1/credential.proto | 3 +++ .../servers/services/v1/server_coordination_service.proto | 3 +++ .../controller/servers/services/v1/session_service.proto | 3 +++ internal/proto/controller/servers/v1/servers.proto | 3 +++ .../controller/storage/auth/oidc/request/v1/request.proto | 3 +++ .../proto/controller/storage/auth/oidc/store/v1/oidc.proto | 3 +++ .../controller/storage/auth/password/store/v1/argon2.proto | 3 +++ .../controller/storage/auth/password/store/v1/password.proto | 3 +++ .../proto/controller/storage/auth/store/v1/account.proto | 3 +++ .../proto/controller/storage/auth/store/v1/auth_method.proto | 3 +++ .../controller/storage/authtoken/store/v1/authtoken.proto | 3 +++ .../storage/credential/static/store/v1/static.proto | 3 +++ .../controller/storage/credential/store/v1/credential.proto | 3 +++ .../controller/storage/credential/vault/store/v1/vault.proto | 3 +++ .../proto/controller/storage/db/db_test/v1/db_test.proto | 3 +++ .../proto/controller/storage/host/plugin/store/v1/host.proto | 3 +++ .../controller/storage/host/static/store/v1/static.proto | 3 +++ internal/proto/controller/storage/host/store/v1/host.proto | 3 +++ internal/proto/controller/storage/iam/store/v1/group.proto | 3 +++ .../proto/controller/storage/iam/store/v1/group_member.proto | 3 +++ .../controller/storage/iam/store/v1/principal_role.proto | 3 +++ internal/proto/controller/storage/iam/store/v1/role.proto | 3 +++ .../proto/controller/storage/iam/store/v1/role_grant.proto | 3 +++ internal/proto/controller/storage/iam/store/v1/scope.proto | 3 +++ internal/proto/controller/storage/iam/store/v1/user.proto | 3 +++ internal/proto/controller/storage/job/store/v1/job.proto | 3 +++ .../proto/controller/storage/kms/store/v1/audit_key.proto | 3 +++ .../kms/store/v1/data_key_version_destruction_job.proto | 3 +++ .../store/v1/data_key_version_destruction_job_progress.proto | 3 +++ .../kms/store/v1/data_key_version_destruction_job_run.proto | 3 +++ ..._key_version_destruction_job_run_allowed_table_name.proto | 3 +++ .../proto/controller/storage/kms/store/v1/database_key.proto | 3 +++ .../proto/controller/storage/kms/store/v1/oidc_key.proto | 3 +++ .../proto/controller/storage/kms/store/v1/oplog_key.proto | 3 +++ .../proto/controller/storage/kms/store/v1/root_key.proto | 3 +++ .../proto/controller/storage/kms/store/v1/session_key.proto | 3 +++ .../proto/controller/storage/kms/store/v1/token_key.proto | 3 +++ internal/proto/controller/storage/oplog/store/v1/oplog.proto | 3 +++ .../proto/controller/storage/oplog/test/v1/oplog_test.proto | 3 +++ .../proto/controller/storage/oplog/v1/any_operation.proto | 3 +++ .../controller/storage/plugin/host/store/v1/plugin.proto | 3 +++ .../proto/controller/storage/plugin/store/v1/plugin.proto | 3 +++ .../controller/storage/servers/store/v1/controller.proto | 3 +++ .../storage/servers/store/v1/root_certificate.proto | 3 +++ .../proto/controller/storage/servers/store/v1/worker.proto | 3 +++ .../controller/storage/servers/store/v1/worker_auth.proto | 3 +++ .../proto/controller/storage/target/store/v1/target.proto | 3 +++ .../storage/target/targettest/store/v1/target.proto | 3 +++ .../controller/storage/target/tcp/store/v1/target.proto | 3 +++ .../proto/controller/storage/timestamp/v1/timestamp.proto | 3 +++ internal/proto/controller/tokens/v1/tokens.proto | 3 +++ internal/proto/errors/v1/errors.proto | 3 +++ internal/proto/ops/services/v1/health_service.proto | 3 +++ internal/proto/plugin/v1/host_plugin_service.proto | 3 +++ internal/proto/testing/attribute/v1/attribute.proto | 3 +++ internal/proto/testing/event/v1/event.proto | 3 +++ internal/proto/testing/interceptor/v1/greeter.proto | 3 +++ internal/proto/testing/options/v1/service.proto | 3 +++ internal/proto/worker/health/v1/health_service.proto | 3 +++ internal/proto/worker/proxy/v1/proxy.proto | 3 +++ internal/proxy/proxy.pb.go | 3 +++ internal/requests/options.go | 3 +++ internal/requests/requests.go | 3 +++ internal/requests/requests_test.go | 3 +++ internal/scheduler/additional_verification_test.go | 3 +++ internal/scheduler/cleaner/cleaner.go | 3 +++ internal/scheduler/cleaner/cleaner_job.go | 3 +++ internal/scheduler/cleaner/cleaner_test.go | 3 +++ internal/scheduler/doc.go | 3 +++ internal/scheduler/job.go | 3 +++ internal/scheduler/job/additional_verification_test.go | 3 +++ internal/scheduler/job/doc.go | 3 +++ internal/scheduler/job/immutable_fields_test.go | 3 +++ internal/scheduler/job/job.go | 3 +++ internal/scheduler/job/job_test.go | 3 +++ internal/scheduler/job/options.go | 3 +++ internal/scheduler/job/options_test.go | 3 +++ internal/scheduler/job/query.go | 3 +++ internal/scheduler/job/repository.go | 3 +++ internal/scheduler/job/repository_job.go | 3 +++ internal/scheduler/job/repository_job_test.go | 3 +++ internal/scheduler/job/repository_run.go | 3 +++ internal/scheduler/job/repository_run_test.go | 3 +++ internal/scheduler/job/repository_test.go | 3 +++ internal/scheduler/job/run.go | 3 +++ internal/scheduler/job/run_test.go | 3 +++ internal/scheduler/job/status.go | 3 +++ internal/scheduler/job/store/job.pb.go | 3 +++ internal/scheduler/job/testing.go | 3 +++ internal/scheduler/job/testing_test.go | 3 +++ internal/scheduler/options.go | 3 +++ internal/scheduler/options_test.go | 3 +++ internal/scheduler/scheduler.go | 3 +++ internal/scheduler/scheduler_test.go | 3 +++ internal/scheduler/testing.go | 3 +++ internal/server/job/jobs.go | 3 +++ internal/server/job/rotate_roots_job.go | 3 +++ internal/server/job/rotate_roots_job_test.go | 3 +++ internal/server/options.go | 3 +++ internal/server/options_test.go | 3 +++ internal/server/public_ids.go | 3 +++ internal/server/query.go | 3 +++ internal/server/repository.go | 3 +++ internal/server/repository_controller.go | 3 +++ internal/server/repository_controller_test.go | 3 +++ internal/server/repository_nonce.go | 3 +++ internal/server/repository_nonce_test.go | 3 +++ internal/server/repository_worker.go | 3 +++ internal/server/repository_worker_test.go | 3 +++ internal/server/repository_workerauth.go | 3 +++ internal/server/repository_workerauth_test.go | 3 +++ internal/server/rewrapping.go | 3 +++ internal/server/rewrapping_test.go | 3 +++ internal/server/root_certificate.go | 3 +++ internal/server/root_info.go | 3 +++ internal/server/service_reinitialize_roots.go | 3 +++ internal/server/service_reinitialize_roots_test.go | 3 +++ internal/server/service_rotate_roots.go | 3 +++ internal/server/service_rotate_roots_test.go | 3 +++ internal/server/state.go | 3 +++ internal/server/store/controller.pb.go | 3 +++ internal/server/store/gorm.go | 3 +++ internal/server/store/root_certificate.pb.go | 3 +++ internal/server/store/worker.pb.go | 3 +++ internal/server/store/worker_auth.pb.go | 3 +++ internal/server/testing.go | 3 +++ internal/server/testing_test.go | 3 +++ internal/server/worker.go | 3 +++ internal/server/worker_auth.go | 3 +++ internal/server/worker_auth_server_led_activation_token.go | 3 +++ .../server/worker_auth_server_led_activation_token_test.go | 3 +++ internal/server/worker_tag.go | 3 +++ internal/server/worker_tags_test.go | 3 +++ internal/server/worker_test.go | 3 +++ internal/server/workerauth_store_test.go | 3 +++ internal/session/connection.go | 3 +++ internal/session/connection_closed_reason.go | 3 +++ internal/session/connection_closed_with.go | 3 +++ internal/session/connection_closed_with_test.go | 3 +++ internal/session/connection_state.go | 3 +++ internal/session/connection_state_test.go | 3 +++ internal/session/connection_test.go | 3 +++ internal/session/credential.go | 3 +++ internal/session/dynamic_credential.go | 3 +++ internal/session/ids.go | 3 +++ internal/session/ids_test.go | 3 +++ internal/session/immutable_fields_test.go | 3 +++ internal/session/job_delete_terminated_sessions.go | 3 +++ internal/session/job_delete_terminated_sessions_test.go | 3 +++ internal/session/job_session_cleanup.go | 3 +++ internal/session/job_session_cleanup_test.go | 3 +++ internal/session/jobs.go | 3 +++ internal/session/options.go | 3 +++ internal/session/options_test.go | 3 +++ internal/session/query.go | 3 +++ internal/session/repository.go | 3 +++ internal/session/repository_connection.go | 3 +++ internal/session/repository_connection_test.go | 3 +++ internal/session/repository_credential.go | 3 +++ internal/session/repository_credential_test.go | 3 +++ internal/session/repository_session.go | 3 +++ internal/session/repository_session_test.go | 3 +++ internal/session/repository_test.go | 3 +++ internal/session/rewrapping.go | 3 +++ internal/session/rewrapping_test.go | 3 +++ internal/session/service_authorize_connection.go | 3 +++ internal/session/service_authorize_connection_test.go | 3 +++ internal/session/service_close_connections.go | 3 +++ internal/session/service_close_connections_test.go | 3 +++ internal/session/service_worker_status_report.go | 3 +++ internal/session/service_worker_status_report_test.go | 3 +++ internal/session/session.go | 3 +++ internal/session/session_connect_with.go | 3 +++ internal/session/session_connect_with_test.go | 3 +++ internal/session/session_host_set_host.go | 3 +++ internal/session/session_target_address.go | 3 +++ internal/session/session_test.go | 3 +++ internal/session/state.go | 3 +++ internal/session/state_test.go | 3 +++ internal/session/static_credential.go | 3 +++ internal/session/term_reason.go | 3 +++ internal/session/testing.go | 3 +++ internal/session/testing_test.go | 3 +++ internal/session/util.go | 3 +++ internal/session/util_test.go | 3 +++ internal/target/address.go | 3 +++ internal/target/address_test.go | 3 +++ internal/target/credential.go | 3 +++ internal/target/credential_library.go | 3 +++ internal/target/credential_library_test.go | 3 +++ internal/target/credential_source.go | 3 +++ internal/target/credential_test.go | 3 +++ internal/target/exports_test.go | 3 +++ internal/target/host_set.go | 3 +++ internal/target/host_source.go | 3 +++ internal/target/options.go | 3 +++ internal/target/options_test.go | 3 +++ internal/target/query.go | 3 +++ internal/target/registry.go | 3 +++ internal/target/repository.go | 3 +++ internal/target/repository_address.go | 3 +++ internal/target/repository_credential_source.go | 3 +++ internal/target/repository_credential_source_test.go | 3 +++ internal/target/repository_host_source.go | 3 +++ internal/target/repository_test.go | 3 +++ internal/target/store/target.pb.go | 3 +++ internal/target/target.go | 3 +++ internal/target/target_test.go | 3 +++ internal/target/targettest/store/target.pb.go | 3 +++ internal/target/targettest/target.go | 3 +++ internal/target/tcp/exports_test.go | 3 +++ internal/target/tcp/immutable_fields_test.go | 3 +++ internal/target/tcp/register.go | 3 +++ internal/target/tcp/repository_credential_source_test.go | 3 +++ internal/target/tcp/repository_host_source_test.go | 3 +++ internal/target/tcp/repository_tcp_target_test.go | 3 +++ internal/target/tcp/repository_test.go | 3 +++ internal/target/tcp/store/target.pb.go | 3 +++ internal/target/tcp/target.go | 3 +++ internal/target/tcp/target_test.go | 3 +++ internal/target/tcp/testing.go | 3 +++ internal/target/tcp/testing_test.go | 3 +++ internal/target/testing.go | 3 +++ internal/tests/api/accounts/account_test.go | 3 +++ internal/tests/api/authmethods/authenticate_test.go | 3 +++ internal/tests/api/authmethods/authmethod_test.go | 3 +++ internal/tests/api/authmethods/classification_test.go | 3 +++ .../tests/api/authmethods/service_classification_test.go | 3 +++ internal/tests/api/authtokens/authtoken_test.go | 3 +++ internal/tests/api/authtokens/classification_test.go | 3 +++ .../credentiallibrary_classification_test.go | 3 +++ .../tests/api/credentiallibraries/credentiallibrary_test.go | 3 +++ .../tests/api/credentials/credentials_classification_test.go | 3 +++ internal/tests/api/credentials/credentials_test.go | 3 +++ internal/tests/api/credentialstores/credentialstore_test.go | 3 +++ .../credentialstores/credentialstores_classification_test.go | 3 +++ internal/tests/api/groups/classification_test.go | 3 +++ internal/tests/api/groups/group_test.go | 3 +++ internal/tests/api/hostcatalogs/classification_test.go | 3 +++ internal/tests/api/hostcatalogs/host_catalog_test.go | 3 +++ internal/tests/api/hosts/classification_test.go | 3 +++ internal/tests/api/hosts/host_test.go | 3 +++ internal/tests/api/hostsets/classification_test.go | 3 +++ internal/tests/api/hostsets/host_set_test.go | 3 +++ internal/tests/api/managedgroups/classification_test.go | 3 +++ internal/tests/api/managedgroups/managedgroups_test.go | 3 +++ internal/tests/api/roles/classification_test.go | 3 +++ internal/tests/api/roles/role_test.go | 3 +++ internal/tests/api/scopes/scope_test.go | 3 +++ internal/tests/api/sessions/classification_test.go | 3 +++ internal/tests/api/targets/classification_test.go | 3 +++ internal/tests/api/targets/target_test.go | 3 +++ internal/tests/api/testing.go | 3 +++ internal/tests/api/users/classification_test.go | 3 +++ internal/tests/api/users/user_test.go | 3 +++ internal/tests/api/workers/worker_test.go | 3 +++ internal/tests/cli/boundary/_accounts.bash | 3 +++ internal/tests/cli/boundary/_auth.bash | 3 +++ internal/tests/cli/boundary/_auth_tokens.bash | 3 +++ internal/tests/cli/boundary/_authorized_actions.bash | 3 +++ internal/tests/cli/boundary/_connect.bash | 3 +++ internal/tests/cli/boundary/_credential_libraries.bash | 3 +++ internal/tests/cli/boundary/_credential_stores.bash | 3 +++ internal/tests/cli/boundary/_credentials.bash | 3 +++ internal/tests/cli/boundary/_groups.bash | 3 +++ internal/tests/cli/boundary/_helpers.bash | 3 +++ internal/tests/cli/boundary/_host_catalogs.bash | 3 +++ internal/tests/cli/boundary/_host_sets.bash | 3 +++ internal/tests/cli/boundary/_hosts.bash | 3 +++ internal/tests/cli/boundary/_roles.bash | 3 +++ internal/tests/cli/boundary/_scopes.bash | 3 +++ internal/tests/cli/boundary/_sessions.bash | 3 +++ internal/tests/cli/boundary/_target_credential_sources.bash | 3 +++ internal/tests/cli/boundary/_targets.bash | 3 +++ internal/tests/cli/boundary/_users.bash | 3 +++ internal/tests/cli/boundary/_vault.bash | 3 +++ internal/tests/cli/boundary/_version.bash | 3 +++ internal/tests/cli/boundary/_workers.bash | 3 +++ internal/tests/cli/test.sh | 3 +++ internal/tests/cluster/anon_listing_test.go | 3 +++ internal/tests/cluster/ipv6_listener_test.go | 3 +++ internal/tests/cluster/multi_controller_worker_test.go | 3 +++ internal/tests/cluster/package_registry_test.go | 3 +++ internal/tests/cluster/recursive_anon_listing_test.go | 3 +++ internal/tests/cluster/session_cleanup_test.go | 3 +++ internal/tests/cluster/unix_listener_test.go | 3 +++ internal/tests/cluster/util.go | 3 +++ internal/tests/cluster/worker_bytesupdown_test.go | 3 +++ internal/tests/cluster/worker_proxy_test.go | 3 +++ internal/tests/cluster/worker_replay_test.go | 3 +++ internal/tests/cluster/worker_tagging_test.go | 3 +++ internal/tests/cluster/x509_verification_test.go | 3 +++ internal/tests/helper/testing_helper.go | 3 +++ internal/types/action/action.go | 3 +++ internal/types/action/action_test.go | 3 +++ internal/types/resource/resource.go | 3 +++ internal/types/resource/resource_test.go | 3 +++ internal/types/scope/scope.go | 3 +++ internal/types/scope/scope_test.go | 3 +++ internal/types/subtypes/attribute_transform.go | 3 +++ internal/types/subtypes/attribute_transform_test.go | 3 +++ internal/types/subtypes/attributes.go | 3 +++ internal/types/subtypes/attributes_test.go | 3 +++ internal/types/subtypes/error.go | 3 +++ internal/types/subtypes/interceptor.go | 3 +++ internal/types/subtypes/interceptor_ext_test.go | 3 +++ internal/types/subtypes/interceptor_test.go | 3 +++ internal/types/subtypes/registry.go | 3 +++ internal/types/subtypes/registry_global.go | 3 +++ internal/types/subtypes/registry_test.go | 3 +++ internal/types/subtypes/source_registry.go | 3 +++ internal/types/subtypes/transformations.go | 3 +++ internal/ui/assets.go | 3 +++ internal/ui/dummy.go | 3 +++ internal/util/is_nil.go | 3 +++ internal/util/is_nil_test.go | 3 +++ internal/util/pointer.go | 3 +++ internal/util/template/doc.go | 3 +++ internal/util/template/funcs.go | 3 +++ internal/util/template/generate.go | 3 +++ internal/util/template/generate_test.go | 3 +++ internal/util/template/types.go | 3 +++ internal/website/permstable/permstable.go | 3 +++ plugins/host/assets.go | 3 +++ plugins/host/const.go | 3 +++ plugins/host/mains/aws/main.go | 3 +++ plugins/host/mains/azure/main.go | 3 +++ plugins/kms/assets.go | 3 +++ plugins/kms/builtin.go | 3 +++ plugins/kms/const.go | 3 +++ plugins/kms/mains/alicloudkms/main.go | 3 +++ plugins/kms/mains/awskms/main.go | 3 +++ plugins/kms/mains/azurekeyvault/main.go | 3 +++ plugins/kms/mains/gcpckms/main.go | 3 +++ plugins/kms/mains/ocikms/main.go | 3 +++ plugins/kms/mains/transit/main.go | 3 +++ scripts/build-ui.sh | 3 +++ scripts/build.sh | 3 +++ scripts/install-golangci-lint.sh | 3 +++ scripts/plugins.sh | 3 +++ scripts/uiupdate.sh | 3 +++ sdk/pbs/controller/api/resources/accounts/account.pb.go | 3 +++ .../controller/api/resources/authmethods/auth_method.pb.go | 3 +++ .../api/resources/authmethods/auth_method_taggable.go | 3 +++ sdk/pbs/controller/api/resources/authtokens/authtoken.pb.go | 3 +++ .../resources/credentiallibraries/credential_library.pb.go | 3 +++ .../controller/api/resources/credentials/credential.pb.go | 3 +++ .../api/resources/credentialstores/credential_store.pb.go | 3 +++ .../resources/credentialstores/credential_store_taggable.go | 3 +++ sdk/pbs/controller/api/resources/groups/group.pb.go | 3 +++ .../controller/api/resources/hostcatalogs/host_catalog.pb.go | 3 +++ .../api/resources/hostcatalogs/host_catalog_taggable.go | 3 +++ sdk/pbs/controller/api/resources/hosts/host.pb.go | 3 +++ sdk/pbs/controller/api/resources/hostsets/host_set.pb.go | 3 +++ .../api/resources/managedgroups/managed_group.pb.go | 3 +++ sdk/pbs/controller/api/resources/plugins/plugin.pb.go | 3 +++ sdk/pbs/controller/api/resources/roles/role.pb.go | 3 +++ sdk/pbs/controller/api/resources/scopes/scope.pb.go | 3 +++ sdk/pbs/controller/api/resources/scopes/scope_taggable.go | 3 +++ .../controller/api/resources/scopes/scope_taggable_test.go | 3 +++ sdk/pbs/controller/api/resources/sessions/session.pb.go | 3 +++ sdk/pbs/controller/api/resources/targets/target.pb.go | 3 +++ sdk/pbs/controller/api/resources/users/user.pb.go | 3 +++ sdk/pbs/controller/api/resources/workers/worker.pb.go | 3 +++ sdk/pbs/controller/api/testing.go | 3 +++ sdk/pbs/controller/protooptions/options.pb.go | 3 +++ sdk/pbs/controller/protooptions/testing.pb.go | 3 +++ sdk/pbs/plugin/host_plugin_service.pb.go | 3 +++ sdk/plugins/host/load.go | 3 +++ sdk/plugins/host/options.go | 3 +++ sdk/plugins/host/plugin.go | 3 +++ sdk/testutil/free_port.go | 3 +++ sdk/testutil/free_port_test.go | 3 +++ sdk/wrapper/testing.go | 3 +++ sdk/wrapper/upgrade_test.go | 3 +++ sdk/wrapper/wrapper.go | 3 +++ testing/controller/controller.go | 3 +++ testing/controller/docs.go | 3 +++ testing/dbtest/docker/init-db.sh | 3 +++ testing/dbtest/docker/restore-benchmark-dumps.sh | 3 +++ testing/dbtest/docs.go | 3 +++ testing/dbtest/option.go | 3 +++ testing/dbtest/pgtap-docker/Dockerfile | 3 +++ testing/dbtest/pgtap-docker/test.sh | 3 +++ .../dbtest/session_list_benchmarks_dump_generation_test.go | 3 +++ testing/dbtest/template.go | 3 +++ testing/dbtest/template_test.go | 3 +++ testing/internal/e2e/boundary/account.go | 3 +++ testing/internal/e2e/boundary/authenticate.go | 3 +++ testing/internal/e2e/boundary/boundary.go | 3 +++ testing/internal/e2e/boundary/credential.go | 3 +++ testing/internal/e2e/boundary/env.go | 3 +++ testing/internal/e2e/boundary/host.go | 3 +++ testing/internal/e2e/boundary/role.go | 3 +++ testing/internal/e2e/boundary/scope.go | 3 +++ testing/internal/e2e/boundary/session.go | 3 +++ testing/internal/e2e/boundary/target.go | 3 +++ testing/internal/e2e/boundary/user.go | 3 +++ testing/internal/e2e/helpers.go | 3 +++ testing/internal/e2e/infra/docker.go | 3 +++ .../e2e/tests/aws/dynamichostcatalog_host_set_empty_test.go | 3 +++ .../e2e/tests/aws/dynamichostcatalog_host_set_test.go | 3 +++ testing/internal/e2e/tests/aws/env_test.go | 3 +++ testing/internal/e2e/tests/database/env_test.go | 3 +++ testing/internal/e2e/tests/database/migration_test.go | 3 +++ .../internal/e2e/tests/database/testdata/boundary-config.hcl | 3 +++ .../tests/database/testdata/boundary-controller-policy.hcl | 3 +++ .../internal/e2e/tests/static/authenticate_primary_test.go | 3 +++ .../internal/e2e/tests/static/bytes_up_down_empty_test.go | 3 +++ testing/internal/e2e/tests/static/bytes_up_down_test.go | 3 +++ .../internal/e2e/tests/static/connect_authz_token_test.go | 3 +++ testing/internal/e2e/tests/static/connect_localhost_test.go | 3 +++ testing/internal/e2e/tests/static/connect_ssh_test.go | 3 +++ testing/internal/e2e/tests/static/connect_test.go | 3 +++ testing/internal/e2e/tests/static/credential_store_test.go | 3 +++ testing/internal/e2e/tests/static/env_test.go | 3 +++ testing/internal/e2e/tests/static/key_destruction_test.go | 3 +++ .../internal/e2e/tests/static/session_cancel_admin_test.go | 3 +++ .../internal/e2e/tests/static/session_cancel_group_test.go | 3 +++ .../internal/e2e/tests/static/session_cancel_user_test.go | 3 +++ .../e2e/tests/static/session_end_delete_host_set_test.go | 3 +++ .../e2e/tests/static/session_end_delete_host_test.go | 3 +++ .../e2e/tests/static/session_end_delete_target_test.go | 3 +++ .../e2e/tests/static/session_end_delete_user_test.go | 3 +++ testing/internal/e2e/tests/static/target_address_test.go | 3 +++ .../e2e/tests/static_with_vault/connect_authz_token_test.go | 3 +++ .../internal/e2e/tests/static_with_vault/connect_ssh_test.go | 3 +++ testing/internal/e2e/tests/static_with_vault/connect_test.go | 3 +++ .../e2e/tests/static_with_vault/credential_store_test.go | 3 +++ testing/internal/e2e/tests/static_with_vault/env_test.go | 3 +++ .../testdata/boundary-controller-policy.hcl | 3 +++ testing/internal/e2e/vault/env.go | 3 +++ testing/internal/e2e/vault/vault.go | 3 +++ testing/vault/docs.go | 3 +++ testing/vault/vault.go | 3 +++ tools/tools.go | 3 +++ version/cgo.go | 3 +++ version/feature_manager.go | 3 +++ version/feature_manager_test.go | 3 +++ version/testing.go | 3 +++ version/version.go | 3 +++ version/version_base.go | 3 +++ version/version_test.go | 3 +++ website/.stylelintrc.js | 5 +++++ website/public/data/vault/boundary-controller-policy.hcl | 3 +++ website/public/ie-warning.js | 5 +++++ website/redirects.js | 5 +++++ website/scripts/should-build.sh | 3 +++ website/scripts/website-build.sh | 3 +++ website/scripts/website-start.sh | 3 +++ 1775 files changed, 5331 insertions(+) diff --git a/.release/ci.hcl b/.release/ci.hcl index dc959a061..5ea9ebe90 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 "boundary" { diff --git a/.release/docker/config.hcl b/.release/docker/config.hcl index 3465e1030..61ee9c5f0 100644 --- a/.release/docker/config.hcl +++ b/.release/docker/config.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This is a default configuration provided for our Docker image. It's meant to # be a starting point and to help new users get started. It's strongly # recommended that this configuration is not used outside of demonstrations diff --git a/.release/docker/docker-entrypoint.sh b/.release/docker/docker-entrypoint.sh index d22d0f83e..8b3e9e49f 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/release-metadata.hcl b/.release/release-metadata.hcl index c07de9602..0309d3ce3 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/boundary" url_docker_registry_ecr = "https://gallery.ecr.aws/hashicorp/boundary" url_license = "https://github.com/hashicorp/boundary/blob/main/LICENSE" diff --git a/.release/security-scan.hcl b/.release/security-scan.hcl index 155f79116..724463cd6 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 = false alpine_secdb = true diff --git a/Dockerfile b/Dockerfile index fc3199240..58a6e097f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This Dockerfile contains multiple targets. # Use 'docker build --target= .' to build one. # e.g. `docker build --target=dev .` diff --git a/META.d/_summary.yaml b/META.d/_summary.yaml index a37fc8be1..bafadcfe2 100644 --- a/META.d/_summary.yaml +++ b/META.d/_summary.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + --- schema: 1.1 partition: secure diff --git a/api/accounts/changepassword.go b/api/accounts/changepassword.go index 83719cc70..1dce6c435 100644 --- a/api/accounts/changepassword.go +++ b/api/accounts/changepassword.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package accounts import ( diff --git a/api/accounts/option.gen.go b/api/accounts/option.gen.go index 146dce4ac..0ab8ccc17 100644 --- a/api/accounts/option.gen.go +++ b/api/accounts/option.gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package accounts import ( diff --git a/api/accounts/setpassword.go b/api/accounts/setpassword.go index b99e0de0f..b3ab5596a 100644 --- a/api/accounts/setpassword.go +++ b/api/accounts/setpassword.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package accounts import ( diff --git a/api/apierror.go b/api/apierror.go index 5d996f352..90b7eb617 100644 --- a/api/apierror.go +++ b/api/apierror.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/api/authmethods/authenticate.go b/api/authmethods/authenticate.go index a2446e45b..9eae12c6b 100644 --- a/api/authmethods/authenticate.go +++ b/api/authmethods/authenticate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethods import ( diff --git a/api/authmethods/authenticate_test.go b/api/authmethods/authenticate_test.go index dc06077b7..d66ad29cc 100644 --- a/api/authmethods/authenticate_test.go +++ b/api/authmethods/authenticate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethods import ( diff --git a/api/authmethods/changestate.go b/api/authmethods/changestate.go index 01377802d..604b39136 100644 --- a/api/authmethods/changestate.go +++ b/api/authmethods/changestate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethods import ( diff --git a/api/authmethods/option.gen.go b/api/authmethods/option.gen.go index ca8212f69..9ada6e4c7 100644 --- a/api/authmethods/option.gen.go +++ b/api/authmethods/option.gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethods import ( diff --git a/api/authtokens/option.gen.go b/api/authtokens/option.gen.go index 012f06624..5fbac4299 100644 --- a/api/authtokens/option.gen.go +++ b/api/authtokens/option.gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authtokens import ( diff --git a/api/client.go b/api/client.go index 97f1e86cc..60a3b479f 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 fa8adf279..a886bf322 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/credentiallibraries/option.gen.go b/api/credentiallibraries/option.gen.go index 12ba34836..0f4984a79 100644 --- a/api/credentiallibraries/option.gen.go +++ b/api/credentiallibraries/option.gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentiallibraries import ( diff --git a/api/credentials/option.gen.go b/api/credentials/option.gen.go index d8dfdf1c8..cef82da4d 100644 --- a/api/credentials/option.gen.go +++ b/api/credentials/option.gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentials import ( diff --git a/api/credentialstores/option.gen.go b/api/credentialstores/option.gen.go index d025a7ec7..6a91acf13 100644 --- a/api/credentialstores/option.gen.go +++ b/api/credentialstores/option.gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialstores import ( diff --git a/api/groups/option.gen.go b/api/groups/option.gen.go index b6bb9f1a9..8475ff894 100644 --- a/api/groups/option.gen.go +++ b/api/groups/option.gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package groups import ( diff --git a/api/hostcatalogs/option.gen.go b/api/hostcatalogs/option.gen.go index 71daabb19..8ee7dfac4 100644 --- a/api/hostcatalogs/option.gen.go +++ b/api/hostcatalogs/option.gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostcatalogs import ( diff --git a/api/hosts/option.gen.go b/api/hosts/option.gen.go index 59c519b46..76127f049 100644 --- a/api/hosts/option.gen.go +++ b/api/hosts/option.gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hosts import ( diff --git a/api/hostsets/option.gen.go b/api/hostsets/option.gen.go index a2b25f4dd..8d5a7f3f6 100644 --- a/api/hostsets/option.gen.go +++ b/api/hostsets/option.gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostsets import ( diff --git a/api/managedgroups/option.gen.go b/api/managedgroups/option.gen.go index 1a65ba439..f91fc0fba 100644 --- a/api/managedgroups/option.gen.go +++ b/api/managedgroups/option.gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package managedgroups import ( diff --git a/api/options.go b/api/options.go index b29dd4a51..447b3b874 100644 --- a/api/options.go +++ b/api/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api func getOpts(opt ...Option) options { diff --git a/api/output_string.go b/api/output_string.go index 2e0d77b92..03ddff4c2 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/recovery/recovery.go b/api/recovery/recovery.go index e7f9f2fb9..4b74f723c 100644 --- a/api/recovery/recovery.go +++ b/api/recovery/recovery.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package recovery import ( diff --git a/api/recovery/recovery_test.go b/api/recovery/recovery_test.go index e5407b27e..dee5251a5 100644 --- a/api/recovery/recovery_test.go +++ b/api/recovery/recovery_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package recovery import ( diff --git a/api/response.go b/api/response.go index 36df98bd4..b17287c5d 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/roles/option.gen.go b/api/roles/option.gen.go index 47108e8ed..54622bc65 100644 --- a/api/roles/option.gen.go +++ b/api/roles/option.gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package roles import ( diff --git a/api/scopes/custom.go b/api/scopes/custom.go index 5463f4494..f09384d3e 100644 --- a/api/scopes/custom.go +++ b/api/scopes/custom.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scopes import ( diff --git a/api/scopes/option.gen.go b/api/scopes/option.gen.go index 1ed1c9373..a332ab5b3 100644 --- a/api/scopes/option.gen.go +++ b/api/scopes/option.gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scopes import ( diff --git a/api/sessions/cancel.go b/api/sessions/cancel.go index 4caaef002..fe08487b7 100644 --- a/api/sessions/cancel.go +++ b/api/sessions/cancel.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sessions import ( diff --git a/api/sessions/option.gen.go b/api/sessions/option.gen.go index d84fa64b6..d9ebfdaf5 100644 --- a/api/sessions/option.gen.go +++ b/api/sessions/option.gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sessions import ( diff --git a/api/targets/custom.go b/api/targets/custom.go index 976b392d6..ada56a580 100644 --- a/api/targets/custom.go +++ b/api/targets/custom.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targets import ( diff --git a/api/targets/option.gen.go b/api/targets/option.gen.go index 6d42a9aad..af623cd79 100644 --- a/api/targets/option.gen.go +++ b/api/targets/option.gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targets import ( diff --git a/api/users/option.gen.go b/api/users/option.gen.go index 766aa6976..0fbb73e68 100644 --- a/api/users/option.gen.go +++ b/api/users/option.gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package users import ( diff --git a/api/workers/certificate_authority_actions.go b/api/workers/certificate_authority_actions.go index dd3e403f9..d77358b61 100644 --- a/api/workers/certificate_authority_actions.go +++ b/api/workers/certificate_authority_actions.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package workers import ( diff --git a/api/workers/option.gen.go b/api/workers/option.gen.go index ca1fb0aa4..c5d60d8d2 100644 --- a/api/workers/option.gen.go +++ b/api/workers/option.gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package workers import ( diff --git a/buf.gen.yaml b/buf.gen.yaml index 9d0246d96..9fb7ed1c7 100644 --- a/buf.gen.yaml +++ b/buf.gen.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + version: v1 plugins: - name: go diff --git a/buf.openapiv2.gen.yaml b/buf.openapiv2.gen.yaml index d4dfd8723..b436a8d7a 100644 --- a/buf.openapiv2.gen.yaml +++ b/buf.openapiv2.gen.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + version: v1 plugins: - name: openapiv2 diff --git a/buf.testing.gen.yaml b/buf.testing.gen.yaml index 233ea084b..8673f7efc 100644 --- a/buf.testing.gen.yaml +++ b/buf.testing.gen.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + version: v1 plugins: - name: openapiv2 diff --git a/buf.work.yaml b/buf.work.yaml index 30f1e1ff0..e171a2670 100644 --- a/buf.work.yaml +++ b/buf.work.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + version: v1 directories: - internal/proto diff --git a/ci/goinstall.sh b/ci/goinstall.sh index 8ad158ed0..70bf0afc8 100755 --- a/ci/goinstall.sh +++ b/ci/goinstall.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e DIR=$(dirname $(readlink -f "$0")) diff --git a/cmd/boundary/main.go b/cmd/boundary/main.go index 4f2bcb3ad..14d927c6e 100644 --- a/cmd/boundary/main.go +++ b/cmd/boundary/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/cmd/boundary/package_registry_oss.go b/cmd/boundary/package_registry_oss.go index b29527359..3109c66b1 100644 --- a/cmd/boundary/package_registry_oss.go +++ b/cmd/boundary/package_registry_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/enos/ci/aws-nuke.yml b/enos/ci/aws-nuke.yml index 94cabc4fa..481949463 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 83facaea4..cc0202c66 100644 --- a/enos/ci/bootstrap/main.tf +++ b/enos/ci/bootstrap/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { aws = { diff --git a/enos/ci/bootstrap/outputs.tf b/enos/ci/bootstrap/outputs.tf index 858318e4c..e6ff37270 100644 --- a/enos/ci/bootstrap/outputs.tf +++ b/enos/ci/bootstrap/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "keys" { value = { "us-east-1" = { diff --git a/enos/ci/bootstrap/variables.tf b/enos/ci/bootstrap/variables.tf index c7b76031b..f087e1de5 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/github-actions-doormat.tf b/enos/ci/service-user-iam/github-actions-doormat.tf index dc9a05061..982545baa 100644 --- a/enos/ci/service-user-iam/github-actions-doormat.tf +++ b/enos/ci/service-user-iam/github-actions-doormat.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + locals { doormat_service_user_arn = "arn:aws:iam::397512762488:user/doormatServiceUser" // "Github Actions Doormat repositories and qualifiers" diff --git a/enos/ci/service-user-iam/main.tf b/enos/ci/service-user-iam/main.tf index d03898d61..4f99eebbc 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 8a502ced6..22517fe7e 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 = local.is_ent ? { name = aws_iam_role.github_actions_doormat_role[0].name diff --git a/enos/ci/service-user-iam/providers.tf b/enos/ci/service-user-iam/providers.tf index 09c86d7ba..7baba3344 100644 --- a/enos/ci/service-user-iam/providers.tf +++ b/enos/ci/service-user-iam/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "aws" { region = "us-east-1" alias = "us_east_1" diff --git a/enos/ci/service-user-iam/service-quotas.tf b/enos/ci/service-user-iam/service-quotas.tf index 306daab33..e3dca96de 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 c586e8cdd..bda5d0f76 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 boundary, boundary-enterprise, or boundary-hcp" type = string diff --git a/enos/enos-modules.hcl b/enos/enos-modules.hcl index c8e48ecc0..79afab17d 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 "az_finder" { source = "./modules/az_finder" } diff --git a/enos/enos-scenario-e2e-aws.hcl b/enos/enos-scenario-e2e-aws.hcl index 4687f7811..1d76c2774 100644 --- a/enos/enos-scenario-e2e-aws.hcl +++ b/enos/enos-scenario-e2e-aws.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This scenario requires access to the boundary team's test AWS account scenario "e2e_aws" { terraform_cli = terraform_cli.default diff --git a/enos/enos-scenario-e2e-database.hcl b/enos/enos-scenario-e2e-database.hcl index 6b9baaa2e..d9b4d9cf3 100644 --- a/enos/enos-scenario-e2e-database.hcl +++ b/enos/enos-scenario-e2e-database.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + scenario "e2e_database" { terraform_cli = terraform_cli.default terraform = terraform.default diff --git a/enos/enos-scenario-e2e-static-with-vault.hcl b/enos/enos-scenario-e2e-static-with-vault.hcl index 4f55c12d9..1fd25d610 100644 --- a/enos/enos-scenario-e2e-static-with-vault.hcl +++ b/enos/enos-scenario-e2e-static-with-vault.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + scenario "e2e_static_with_vault" { terraform_cli = terraform_cli.default terraform = terraform.default diff --git a/enos/enos-scenario-e2e-static.hcl b/enos/enos-scenario-e2e-static.hcl index 38f19aa05..8a640f128 100644 --- a/enos/enos-scenario-e2e-static.hcl +++ b/enos/enos-scenario-e2e-static.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + scenario "e2e_static" { terraform_cli = terraform_cli.default terraform = terraform.default diff --git a/enos/enos-scenario-integration.hcl b/enos/enos-scenario-integration.hcl index 5fcca7e5c..397bce0f6 100644 --- a/enos/enos-scenario-integration.hcl +++ b/enos/enos-scenario-integration.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + scenario "integration" { terraform_cli = terraform_cli.default terraform = terraform.default diff --git a/enos/enos-variables.hcl b/enos/enos-variables.hcl index c02565ba9..599939b53 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 + # Infrastructure variable "aws_ssh_keypair_name" { description = "Name of the AWS keypair Enos will use to connect" diff --git a/enos/enos.hcl b/enos/enos.hcl index 5af2b4a58..ce0846558 100644 --- a/enos/enos.hcl +++ b/enos/enos.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform_cli "default" { plugin_cache_dir = abspath("./terraform-plugin-cache") diff --git a/enos/enos.vars.hcl b/enos/enos.vars.hcl index 90849adae..36ef63d9b 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 + // Example variable inputs. Set these to valid values and uncomment them before // running scenarios. diff --git a/enos/modules/az_finder/main.tf b/enos/modules/az_finder/main.tf index f99cb15a8..1a41e0146 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 { diff --git a/enos/modules/bats_deps/main.tf b/enos/modules/bats_deps/main.tf index 45ec3b665..df369f36f 100644 --- a/enos/modules/bats_deps/main.tf +++ b/enos/modules/bats_deps/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/binary_finder/main.tf b/enos/modules/binary_finder/main.tf index b2a3fae1d..a13fdae8e 100644 --- a/enos/modules/binary_finder/main.tf +++ b/enos/modules/binary_finder/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_crt/main.tf b/enos/modules/build_crt/main.tf index 2fb5756cb..2450f86b5 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 "path" { default = "/tmp" diff --git a/enos/modules/build_local/main.tf b/enos/modules/build_local/main.tf index 3178b10d7..1f987ec8a 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/templates/build.sh b/enos/modules/build_local/templates/build.sh index 783d017d2..d17b75496 100755 --- a/enos/modules/build_local/templates/build.sh +++ b/enos/modules/build_local/templates/build.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eux -o pipefail env diff --git a/enos/modules/generate_aws_host_tag_vars/main.tf b/enos/modules/generate_aws_host_tag_vars/main.tf index 8f59d4a0a..a30cc5a50 100644 --- a/enos/modules/generate_aws_host_tag_vars/main.tf +++ b/enos/modules/generate_aws_host_tag_vars/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "tag_name" { type = string } diff --git a/enos/modules/iam_setup/main.tf b/enos/modules/iam_setup/main.tf index 361d8451a..edcaa4816 100644 --- a/enos/modules/iam_setup/main.tf +++ b/enos/modules/iam_setup/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + data "aws_caller_identity" "current" {} variable "test_id" {} diff --git a/enos/modules/random_stringifier/main.tf b/enos/modules/random_stringifier/main.tf index 63a4a6aca..36620d4e9 100644 --- a/enos/modules/random_stringifier/main.tf +++ b/enos/modules/random_stringifier/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "length" { type = number default = 10 diff --git a/enos/modules/target/main.tf b/enos/modules/target/main.tf index 0af5914ba..a00ebe3d6 100644 --- a/enos/modules/target/main.tf +++ b/enos/modules/target/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "vpc_id" {} variable "ami_id" {} variable "target_count" {} diff --git a/enos/modules/test_cli_ui/tests.tf b/enos/modules/test_cli_ui/tests.tf index 446eae2f1..f2368c532 100644 --- a/enos/modules/test_cli_ui/tests.tf +++ b/enos/modules/test_cli_ui/tests.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/modules/test_e2e/main.tf b/enos/modules/test_e2e/main.tf index ba18c7055..2321114a7 100644 --- a/enos/modules/test_e2e/main.tf +++ b/enos/modules/test_e2e/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { enos = { diff --git a/enos/templates/get-token.sh b/enos/templates/get-token.sh index be1718506..01d32bf09 100644 --- a/enos/templates/get-token.sh +++ b/enos/templates/get-token.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e function retry { diff --git a/globals/boundary_developer_env.go b/globals/boundary_developer_env.go index 822e37a58..bf5b98ca3 100644 --- a/globals/boundary_developer_env.go +++ b/globals/boundary_developer_env.go @@ -1 +1,4 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package globals diff --git a/globals/doc.go b/globals/doc.go index 3b9c5beb2..c18e282dd 100644 --- a/globals/doc.go +++ b/globals/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + /* Globals, in the traditional sense, are usually bad. But there are some situations where we want either consts or known values that are constant per diff --git a/globals/errors.go b/globals/errors.go index a57c02a0b..6181d8ba9 100644 --- a/globals/errors.go +++ b/globals/errors.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package globals const MissingPortErrStr = "missing port in address" diff --git a/globals/fields.go b/globals/fields.go index acff59df2..2f1ee9f62 100644 --- a/globals/fields.go +++ b/globals/fields.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package globals const ( diff --git a/globals/globals.go b/globals/globals.go index fda262526..fda87a028 100644 --- a/globals/globals.go +++ b/globals/globals.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package globals import "time" diff --git a/globals/kms.go b/globals/kms.go index 525713de5..318bec434 100644 --- a/globals/kms.go +++ b/globals/kms.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package globals const ( diff --git a/internal/api/genapi/input.go b/internal/api/genapi/input.go index 807cebb10..390f589c3 100644 --- a/internal/api/genapi/input.go +++ b/internal/api/genapi/input.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/internal/api/genapi/main.go b/internal/api/genapi/main.go index 077ff8ede..1bff362b9 100644 --- a/internal/api/genapi/main.go +++ b/internal/api/genapi/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main func main() { diff --git a/internal/api/genapi/parse.go b/internal/api/genapi/parse.go index daee9b918..da38e4642 100644 --- a/internal/api/genapi/parse.go +++ b/internal/api/genapi/parse.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/internal/api/genapi/templates.go b/internal/api/genapi/templates.go index 25e54d528..30816bcaa 100644 --- a/internal/api/genapi/templates.go +++ b/internal/api/genapi/templates.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/internal/auth/additional_verification_test.go b/internal/auth/additional_verification_test.go index 81df9044b..8f5223b63 100644 --- a/internal/auth/additional_verification_test.go +++ b/internal/auth/additional_verification_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package auth_test import ( diff --git a/internal/auth/db_test.go b/internal/auth/db_test.go index 3338b2dbe..6adeec419 100644 --- a/internal/auth/db_test.go +++ b/internal/auth/db_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package auth import ( diff --git a/internal/auth/oidc/account.go b/internal/auth/oidc/account.go index d09eede1b..62d7a196a 100644 --- a/internal/auth/oidc/account.go +++ b/internal/auth/oidc/account.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/account_claim_map.go b/internal/auth/oidc/account_claim_map.go index 0b917ca1b..b751d3a05 100644 --- a/internal/auth/oidc/account_claim_map.go +++ b/internal/auth/oidc/account_claim_map.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/account_claim_map_test.go b/internal/auth/oidc/account_claim_map_test.go index e9729a511..9b1c3ed4c 100644 --- a/internal/auth/oidc/account_claim_map_test.go +++ b/internal/auth/oidc/account_claim_map_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/account_test.go b/internal/auth/oidc/account_test.go index 787cc2030..9df619948 100644 --- a/internal/auth/oidc/account_test.go +++ b/internal/auth/oidc/account_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/aud_claim.go b/internal/auth/oidc/aud_claim.go index 74a9fb6ee..4e514b4d2 100644 --- a/internal/auth/oidc/aud_claim.go +++ b/internal/auth/oidc/aud_claim.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/aud_claim_test.go b/internal/auth/oidc/aud_claim_test.go index b2142b9e0..c52a916f2 100644 --- a/internal/auth/oidc/aud_claim_test.go +++ b/internal/auth/oidc/aud_claim_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/auth_method.go b/internal/auth/oidc/auth_method.go index 24206f8c9..ccd001d2c 100644 --- a/internal/auth/oidc/auth_method.go +++ b/internal/auth/oidc/auth_method.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/auth_method_test.go b/internal/auth/oidc/auth_method_test.go index 595b5369b..fca315789 100644 --- a/internal/auth/oidc/auth_method_test.go +++ b/internal/auth/oidc/auth_method_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/certificate.go b/internal/auth/oidc/certificate.go index a33aa331a..c5360b5d2 100644 --- a/internal/auth/oidc/certificate.go +++ b/internal/auth/oidc/certificate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/certificate_test.go b/internal/auth/oidc/certificate_test.go index 35560383e..acf03b448 100644 --- a/internal/auth/oidc/certificate_test.go +++ b/internal/auth/oidc/certificate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/certificate_utils.go b/internal/auth/oidc/certificate_utils.go index 27d1dadeb..ce9f4f49a 100644 --- a/internal/auth/oidc/certificate_utils.go +++ b/internal/auth/oidc/certificate_utils.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/certificate_utils_test.go b/internal/auth/oidc/certificate_utils_test.go index d76fbd112..15d24b0fe 100644 --- a/internal/auth/oidc/certificate_utils_test.go +++ b/internal/auth/oidc/certificate_utils_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/claims_scope.go b/internal/auth/oidc/claims_scope.go index cd125cb19..87349cf77 100644 --- a/internal/auth/oidc/claims_scope.go +++ b/internal/auth/oidc/claims_scope.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/claims_scope_test.go b/internal/auth/oidc/claims_scope_test.go index 10423bbf6..6bb90fd0e 100644 --- a/internal/auth/oidc/claims_scope_test.go +++ b/internal/auth/oidc/claims_scope_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/client_secret.go b/internal/auth/oidc/client_secret.go index f61b71407..a0dd5f6f4 100644 --- a/internal/auth/oidc/client_secret.go +++ b/internal/auth/oidc/client_secret.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/client_secret_test.go b/internal/auth/oidc/client_secret_test.go index a49c27ee9..0496b4038 100644 --- a/internal/auth/oidc/client_secret_test.go +++ b/internal/auth/oidc/client_secret_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/ids.go b/internal/auth/oidc/ids.go index 0aeee3e8a..e4e2814ea 100644 --- a/internal/auth/oidc/ids.go +++ b/internal/auth/oidc/ids.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/ids_test.go b/internal/auth/oidc/ids_test.go index fb82ee82d..752a16261 100644 --- a/internal/auth/oidc/ids_test.go +++ b/internal/auth/oidc/ids_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/immutable_fields_test.go b/internal/auth/oidc/immutable_fields_test.go index 02949a653..faff9d6f7 100644 --- a/internal/auth/oidc/immutable_fields_test.go +++ b/internal/auth/oidc/immutable_fields_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/managed_group.go b/internal/auth/oidc/managed_group.go index 6ac9bf0d6..ff31cec58 100644 --- a/internal/auth/oidc/managed_group.go +++ b/internal/auth/oidc/managed_group.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/managed_group_member_account.go b/internal/auth/oidc/managed_group_member_account.go index 4aa47eaa5..264b49d7b 100644 --- a/internal/auth/oidc/managed_group_member_account.go +++ b/internal/auth/oidc/managed_group_member_account.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/managed_group_test.go b/internal/auth/oidc/managed_group_test.go index 00eb686d9..9612feb91 100644 --- a/internal/auth/oidc/managed_group_test.go +++ b/internal/auth/oidc/managed_group_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/options.go b/internal/auth/oidc/options.go index 7c2cfb484..93f50ae79 100644 --- a/internal/auth/oidc/options.go +++ b/internal/auth/oidc/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/options_test.go b/internal/auth/oidc/options_test.go index 5dd89eb62..2912f4c72 100644 --- a/internal/auth/oidc/options_test.go +++ b/internal/auth/oidc/options_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/provider.go b/internal/auth/oidc/provider.go index 1854821f3..7606ac1e2 100644 --- a/internal/auth/oidc/provider.go +++ b/internal/auth/oidc/provider.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/provider_test.go b/internal/auth/oidc/provider_test.go index 8696c1e74..9894a6e58 100644 --- a/internal/auth/oidc/provider_test.go +++ b/internal/auth/oidc/provider_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/query.go b/internal/auth/oidc/query.go index 845717c7c..25e4702ba 100644 --- a/internal/auth/oidc/query.go +++ b/internal/auth/oidc/query.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc const ( diff --git a/internal/auth/oidc/repository.go b/internal/auth/oidc/repository.go index b9304ff6f..46d1485a8 100644 --- a/internal/auth/oidc/repository.go +++ b/internal/auth/oidc/repository.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/repository_account.go b/internal/auth/oidc/repository_account.go index 0847bd656..6c25a5ac6 100644 --- a/internal/auth/oidc/repository_account.go +++ b/internal/auth/oidc/repository_account.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/repository_account_test.go b/internal/auth/oidc/repository_account_test.go index 72301c63d..a68cd9a69 100644 --- a/internal/auth/oidc/repository_account_test.go +++ b/internal/auth/oidc/repository_account_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/repository_auth_method.go b/internal/auth/oidc/repository_auth_method.go index c5c2c391f..ea3ea3c76 100644 --- a/internal/auth/oidc/repository_auth_method.go +++ b/internal/auth/oidc/repository_auth_method.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/repository_auth_method_create.go b/internal/auth/oidc/repository_auth_method_create.go index b2615b6c9..73ed7c173 100644 --- a/internal/auth/oidc/repository_auth_method_create.go +++ b/internal/auth/oidc/repository_auth_method_create.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/repository_auth_method_create_test.go b/internal/auth/oidc/repository_auth_method_create_test.go index 3a2f91740..b83b431aa 100644 --- a/internal/auth/oidc/repository_auth_method_create_test.go +++ b/internal/auth/oidc/repository_auth_method_create_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/repository_auth_method_delete.go b/internal/auth/oidc/repository_auth_method_delete.go index 0b8cfa8c9..8c8396b85 100644 --- a/internal/auth/oidc/repository_auth_method_delete.go +++ b/internal/auth/oidc/repository_auth_method_delete.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/repository_auth_method_delete_test.go b/internal/auth/oidc/repository_auth_method_delete_test.go index 1696487ba..8c97f707e 100644 --- a/internal/auth/oidc/repository_auth_method_delete_test.go +++ b/internal/auth/oidc/repository_auth_method_delete_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/repository_auth_method_operational_state.go b/internal/auth/oidc/repository_auth_method_operational_state.go index caa86c033..c52783a27 100644 --- a/internal/auth/oidc/repository_auth_method_operational_state.go +++ b/internal/auth/oidc/repository_auth_method_operational_state.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/repository_auth_method_operational_state_test.go b/internal/auth/oidc/repository_auth_method_operational_state_test.go index 1ccd14440..a5cacea09 100644 --- a/internal/auth/oidc/repository_auth_method_operational_state_test.go +++ b/internal/auth/oidc/repository_auth_method_operational_state_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/repository_auth_method_read.go b/internal/auth/oidc/repository_auth_method_read.go index 5b2570197..07ecabf60 100644 --- a/internal/auth/oidc/repository_auth_method_read.go +++ b/internal/auth/oidc/repository_auth_method_read.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/repository_auth_method_read_test.go b/internal/auth/oidc/repository_auth_method_read_test.go index 5ee1d8680..e14f25b3e 100644 --- a/internal/auth/oidc/repository_auth_method_read_test.go +++ b/internal/auth/oidc/repository_auth_method_read_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/repository_auth_method_test.go b/internal/auth/oidc/repository_auth_method_test.go index b7506eadb..a63cd5108 100644 --- a/internal/auth/oidc/repository_auth_method_test.go +++ b/internal/auth/oidc/repository_auth_method_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/repository_auth_method_update.go b/internal/auth/oidc/repository_auth_method_update.go index bb45b6c9e..721b7df5c 100644 --- a/internal/auth/oidc/repository_auth_method_update.go +++ b/internal/auth/oidc/repository_auth_method_update.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/repository_auth_method_update_test.go b/internal/auth/oidc/repository_auth_method_update_test.go index 484680bd3..24b3ef86a 100644 --- a/internal/auth/oidc/repository_auth_method_update_test.go +++ b/internal/auth/oidc/repository_auth_method_update_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/repository_managed_group.go b/internal/auth/oidc/repository_managed_group.go index 7a3a2e16e..6b26b46c7 100644 --- a/internal/auth/oidc/repository_managed_group.go +++ b/internal/auth/oidc/repository_managed_group.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/repository_managed_group_members.go b/internal/auth/oidc/repository_managed_group_members.go index b21f94270..619fa4c71 100644 --- a/internal/auth/oidc/repository_managed_group_members.go +++ b/internal/auth/oidc/repository_managed_group_members.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/repository_managed_group_members_test.go b/internal/auth/oidc/repository_managed_group_members_test.go index 3018869a7..82de14bdd 100644 --- a/internal/auth/oidc/repository_managed_group_members_test.go +++ b/internal/auth/oidc/repository_managed_group_members_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc_test import ( diff --git a/internal/auth/oidc/repository_managed_group_test.go b/internal/auth/oidc/repository_managed_group_test.go index 6f8351956..1588dbfdf 100644 --- a/internal/auth/oidc/repository_managed_group_test.go +++ b/internal/auth/oidc/repository_managed_group_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/repository_test.go b/internal/auth/oidc/repository_test.go index 3026d2059..a3445d18d 100644 --- a/internal/auth/oidc/repository_test.go +++ b/internal/auth/oidc/repository_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/request/request.pb.go b/internal/auth/oidc/request/request.pb.go index a25ed76fa..df00ea89e 100644 --- a/internal/auth/oidc/request/request.pb.go +++ b/internal/auth/oidc/request/request.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/internal/auth/oidc/request/validate.go b/internal/auth/oidc/request/validate.go index 8880b9644..cd30aeab0 100644 --- a/internal/auth/oidc/request/validate.go +++ b/internal/auth/oidc/request/validate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package request import ( diff --git a/internal/auth/oidc/rewrapping.go b/internal/auth/oidc/rewrapping.go index 2038a12fe..93717c296 100644 --- a/internal/auth/oidc/rewrapping.go +++ b/internal/auth/oidc/rewrapping.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/rewrapping_test.go b/internal/auth/oidc/rewrapping_test.go index f3d24b287..0f9136ffb 100644 --- a/internal/auth/oidc/rewrapping_test.go +++ b/internal/auth/oidc/rewrapping_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/service.go b/internal/auth/oidc/service.go index bd92038ae..f12dd57e1 100644 --- a/internal/auth/oidc/service.go +++ b/internal/auth/oidc/service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/service_callback.go b/internal/auth/oidc/service_callback.go index ec90a0da5..d6058fc26 100644 --- a/internal/auth/oidc/service_callback.go +++ b/internal/auth/oidc/service_callback.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/service_callback_test.go b/internal/auth/oidc/service_callback_test.go index deb1fc5c5..bed94512f 100644 --- a/internal/auth/oidc/service_callback_test.go +++ b/internal/auth/oidc/service_callback_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/service_start_auth.go b/internal/auth/oidc/service_start_auth.go index e3fdc2d52..e7bb932fd 100644 --- a/internal/auth/oidc/service_start_auth.go +++ b/internal/auth/oidc/service_start_auth.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/service_start_auth_test.go b/internal/auth/oidc/service_start_auth_test.go index b280b0ce0..5c7feb2d1 100644 --- a/internal/auth/oidc/service_start_auth_test.go +++ b/internal/auth/oidc/service_start_auth_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/service_test.go b/internal/auth/oidc/service_test.go index 2269958c0..2b16b0829 100644 --- a/internal/auth/oidc/service_test.go +++ b/internal/auth/oidc/service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/service_token_request.go b/internal/auth/oidc/service_token_request.go index 70733d646..6dd8b8bac 100644 --- a/internal/auth/oidc/service_token_request.go +++ b/internal/auth/oidc/service_token_request.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/service_token_request_test.go b/internal/auth/oidc/service_token_request_test.go index a59381abb..8c60737cc 100644 --- a/internal/auth/oidc/service_token_request_test.go +++ b/internal/auth/oidc/service_token_request_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/signing_alg.go b/internal/auth/oidc/signing_alg.go index c93fee10e..2ece889a0 100644 --- a/internal/auth/oidc/signing_alg.go +++ b/internal/auth/oidc/signing_alg.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/signing_alg_test.go b/internal/auth/oidc/signing_alg_test.go index 4dc22237b..afe50c07d 100644 --- a/internal/auth/oidc/signing_alg_test.go +++ b/internal/auth/oidc/signing_alg_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/oidc/state.go b/internal/auth/oidc/state.go index f558b70e3..fc40b7a4c 100644 --- a/internal/auth/oidc/state.go +++ b/internal/auth/oidc/state.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc // AuthMethodState defines the possible states for an oidc auth method diff --git a/internal/auth/oidc/state_test.go b/internal/auth/oidc/state_test.go index b7aa04b75..1bb1698fb 100644 --- a/internal/auth/oidc/state_test.go +++ b/internal/auth/oidc/state_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import "testing" diff --git a/internal/auth/oidc/store/oidc.pb.go b/internal/auth/oidc/store/oidc.pb.go index f67097e50..f3e488fa9 100644 --- a/internal/auth/oidc/store/oidc.pb.go +++ b/internal/auth/oidc/store/oidc.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/internal/auth/oidc/testing.go b/internal/auth/oidc/testing.go index dfe48836b..2acc51249 100644 --- a/internal/auth/oidc/testing.go +++ b/internal/auth/oidc/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidc import ( diff --git a/internal/auth/password/account.go b/internal/auth/password/account.go index 5a14d642b..3eb201206 100644 --- a/internal/auth/password/account.go +++ b/internal/auth/password/account.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/account_test.go b/internal/auth/password/account_test.go index de919b593..e9970c3b9 100644 --- a/internal/auth/password/account_test.go +++ b/internal/auth/password/account_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/argon2.go b/internal/auth/password/argon2.go index 5dbfd35f9..770c14833 100644 --- a/internal/auth/password/argon2.go +++ b/internal/auth/password/argon2.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/argon2_test.go b/internal/auth/password/argon2_test.go index 7ca784bd4..a32895440 100644 --- a/internal/auth/password/argon2_test.go +++ b/internal/auth/password/argon2_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/authmethod.go b/internal/auth/password/authmethod.go index 3c51d9814..1523e53a4 100644 --- a/internal/auth/password/authmethod.go +++ b/internal/auth/password/authmethod.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/authmethod_test.go b/internal/auth/password/authmethod_test.go index d3c3ee09e..347b40f81 100644 --- a/internal/auth/password/authmethod_test.go +++ b/internal/auth/password/authmethod_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/credential.go b/internal/auth/password/credential.go index 88b0c41ba..ae2aaba0a 100644 --- a/internal/auth/password/credential.go +++ b/internal/auth/password/credential.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/options.go b/internal/auth/password/options.go index 279c1f9e5..ab37df384 100644 --- a/internal/auth/password/options.go +++ b/internal/auth/password/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password // GetOpts - iterate the inbound Options and return a struct. diff --git a/internal/auth/password/options_test.go b/internal/auth/password/options_test.go index eb0b18b32..33710aa31 100644 --- a/internal/auth/password/options_test.go +++ b/internal/auth/password/options_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/private_ids.go b/internal/auth/password/private_ids.go index c0e14aca5..6d171fb91 100644 --- a/internal/auth/password/private_ids.go +++ b/internal/auth/password/private_ids.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/private_ids_test.go b/internal/auth/password/private_ids_test.go index 47f00c0b9..1beba5203 100644 --- a/internal/auth/password/private_ids_test.go +++ b/internal/auth/password/private_ids_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/public_ids.go b/internal/auth/password/public_ids.go index 24f8f9e41..7532c15f0 100644 --- a/internal/auth/password/public_ids.go +++ b/internal/auth/password/public_ids.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/public_ids_test.go b/internal/auth/password/public_ids_test.go index 0bd6b503e..b684ded1a 100644 --- a/internal/auth/password/public_ids_test.go +++ b/internal/auth/password/public_ids_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/query.go b/internal/auth/password/query.go index 737f64b70..38cb04211 100644 --- a/internal/auth/password/query.go +++ b/internal/auth/password/query.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password const ( diff --git a/internal/auth/password/repository.go b/internal/auth/password/repository.go index 36297f584..bf67432bb 100644 --- a/internal/auth/password/repository.go +++ b/internal/auth/password/repository.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/repository_account.go b/internal/auth/password/repository_account.go index 113bcf576..c8f56117b 100644 --- a/internal/auth/password/repository_account.go +++ b/internal/auth/password/repository_account.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/repository_account_test.go b/internal/auth/password/repository_account_test.go index 5c8069b26..d52a66556 100644 --- a/internal/auth/password/repository_account_test.go +++ b/internal/auth/password/repository_account_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/repository_authmethod.go b/internal/auth/password/repository_authmethod.go index 7dd13573c..903a7c18e 100644 --- a/internal/auth/password/repository_authmethod.go +++ b/internal/auth/password/repository_authmethod.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/repository_authmethod_test.go b/internal/auth/password/repository_authmethod_test.go index 1c5a073a6..656d849bb 100644 --- a/internal/auth/password/repository_authmethod_test.go +++ b/internal/auth/password/repository_authmethod_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/repository_configuration.go b/internal/auth/password/repository_configuration.go index f4054a8e0..8e7e39dca 100644 --- a/internal/auth/password/repository_configuration.go +++ b/internal/auth/password/repository_configuration.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/repository_configuration_test.go b/internal/auth/password/repository_configuration_test.go index ab4fd024e..264e73d89 100644 --- a/internal/auth/password/repository_configuration_test.go +++ b/internal/auth/password/repository_configuration_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/repository_password.go b/internal/auth/password/repository_password.go index fc5c49712..97da2372e 100644 --- a/internal/auth/password/repository_password.go +++ b/internal/auth/password/repository_password.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/repository_password_test.go b/internal/auth/password/repository_password_test.go index 4dfe90bb9..481800e79 100644 --- a/internal/auth/password/repository_password_test.go +++ b/internal/auth/password/repository_password_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/repository_test.go b/internal/auth/password/repository_test.go index 80b9eb236..7be6b7a61 100644 --- a/internal/auth/password/repository_test.go +++ b/internal/auth/password/repository_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/rewrapping.go b/internal/auth/password/rewrapping.go index 98d346e6d..3dc577d4b 100644 --- a/internal/auth/password/rewrapping.go +++ b/internal/auth/password/rewrapping.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/rewrapping_test.go b/internal/auth/password/rewrapping_test.go index e9f758855..9f216afa3 100644 --- a/internal/auth/password/rewrapping_test.go +++ b/internal/auth/password/rewrapping_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/store/argon2.pb.go b/internal/auth/password/store/argon2.pb.go index 80e5e4719..11aa8dc6f 100644 --- a/internal/auth/password/store/argon2.pb.go +++ b/internal/auth/password/store/argon2.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/internal/auth/password/store/password.pb.go b/internal/auth/password/store/password.pb.go index 35f499e1e..4a4e524d3 100644 --- a/internal/auth/password/store/password.pb.go +++ b/internal/auth/password/store/password.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/internal/auth/password/testing.go b/internal/auth/password/testing.go index 121580d64..e302a68b0 100644 --- a/internal/auth/password/testing.go +++ b/internal/auth/password/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/password/testing_test.go b/internal/auth/password/testing_test.go index 1acd2d8ce..ff0ab8447 100644 --- a/internal/auth/password/testing_test.go +++ b/internal/auth/password/testing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package password import ( diff --git a/internal/auth/store/account.pb.go b/internal/auth/store/account.pb.go index 4ade25846..0a0a6f769 100644 --- a/internal/auth/store/account.pb.go +++ b/internal/auth/store/account.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/internal/auth/store/auth_method.pb.go b/internal/auth/store/auth_method.pb.go index 3a297709b..aa63f2630 100644 --- a/internal/auth/store/auth_method.pb.go +++ b/internal/auth/store/auth_method.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/internal/auth/subtype.go b/internal/auth/subtype.go index 83c2fb970..fc7adcf66 100644 --- a/internal/auth/subtype.go +++ b/internal/auth/subtype.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package auth import ( diff --git a/internal/authtoken/account.go b/internal/authtoken/account.go index 195ae50bc..f2b7353ca 100644 --- a/internal/authtoken/account.go +++ b/internal/authtoken/account.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authtoken import ( diff --git a/internal/authtoken/authtoken.go b/internal/authtoken/authtoken.go index ea5f6b3e0..05385a21a 100644 --- a/internal/authtoken/authtoken.go +++ b/internal/authtoken/authtoken.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authtoken import ( diff --git a/internal/authtoken/authtoken_test.go b/internal/authtoken/authtoken_test.go index 81ca270d1..acf132c58 100644 --- a/internal/authtoken/authtoken_test.go +++ b/internal/authtoken/authtoken_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authtoken import ( diff --git a/internal/authtoken/doc.go b/internal/authtoken/doc.go index aebc8e7e3..d69d4d975 100644 --- a/internal/authtoken/doc.go +++ b/internal/authtoken/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package authtoken provides an authtoken with an encrypted value and // an associated expiration time. It also provides a repository which // manages the lifetime of the token. diff --git a/internal/authtoken/gorm.go b/internal/authtoken/gorm.go index abcc6c8ec..bd814a04f 100644 --- a/internal/authtoken/gorm.go +++ b/internal/authtoken/gorm.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authtoken const ( diff --git a/internal/authtoken/gorm_test.go b/internal/authtoken/gorm_test.go index 4771826c8..9fb940e03 100644 --- a/internal/authtoken/gorm_test.go +++ b/internal/authtoken/gorm_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authtoken import ( diff --git a/internal/authtoken/immutable_fields_test.go b/internal/authtoken/immutable_fields_test.go index e0cef25d2..825ae1ea2 100644 --- a/internal/authtoken/immutable_fields_test.go +++ b/internal/authtoken/immutable_fields_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authtoken import ( diff --git a/internal/authtoken/options.go b/internal/authtoken/options.go index c6812cfe7..d2e7e919b 100644 --- a/internal/authtoken/options.go +++ b/internal/authtoken/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authtoken import ( diff --git a/internal/authtoken/options_test.go b/internal/authtoken/options_test.go index 62b1aa573..0e81d65bd 100644 --- a/internal/authtoken/options_test.go +++ b/internal/authtoken/options_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authtoken import ( diff --git a/internal/authtoken/repository.go b/internal/authtoken/repository.go index e4b85c1d3..6aeefaf9d 100644 --- a/internal/authtoken/repository.go +++ b/internal/authtoken/repository.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authtoken import ( diff --git a/internal/authtoken/repository_test.go b/internal/authtoken/repository_test.go index 9cba05337..e55ce77fe 100644 --- a/internal/authtoken/repository_test.go +++ b/internal/authtoken/repository_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authtoken import ( diff --git a/internal/authtoken/rewrapping.go b/internal/authtoken/rewrapping.go index 44ec59ccd..9b650a037 100644 --- a/internal/authtoken/rewrapping.go +++ b/internal/authtoken/rewrapping.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authtoken import ( diff --git a/internal/authtoken/rewrapping_test.go b/internal/authtoken/rewrapping_test.go index 129d345dc..123dcd0c6 100644 --- a/internal/authtoken/rewrapping_test.go +++ b/internal/authtoken/rewrapping_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authtoken import ( diff --git a/internal/authtoken/status.go b/internal/authtoken/status.go index 9571c038b..8325f4261 100644 --- a/internal/authtoken/status.go +++ b/internal/authtoken/status.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authtoken // Status of the AuthToken. It will default IssuedStatus in the database. diff --git a/internal/authtoken/store/authtoken.pb.go b/internal/authtoken/store/authtoken.pb.go index 1fc435fbe..01899cbb2 100644 --- a/internal/authtoken/store/authtoken.pb.go +++ b/internal/authtoken/store/authtoken.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/internal/authtoken/testing.go b/internal/authtoken/testing.go index e93353ee1..d97962676 100644 --- a/internal/authtoken/testing.go +++ b/internal/authtoken/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authtoken import ( diff --git a/internal/boundary/boundary.go b/internal/boundary/boundary.go index 9d1387711..2164ea714 100644 --- a/internal/boundary/boundary.go +++ b/internal/boundary/boundary.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package boundary contains global interfaces and other definitions that // define the Boundary domain. package boundary diff --git a/internal/cmd/base/base.go b/internal/cmd/base/base.go index 56b5ef23f..b96c4982e 100644 --- a/internal/cmd/base/base.go +++ b/internal/cmd/base/base.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package base import ( diff --git a/internal/cmd/base/const.go b/internal/cmd/base/const.go index 9c2a0a731..ada13b741 100644 --- a/internal/cmd/base/const.go +++ b/internal/cmd/base/const.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package base const ( diff --git a/internal/cmd/base/dev.go b/internal/cmd/base/dev.go index 3581fee6d..72b3a346d 100644 --- a/internal/cmd/base/dev.go +++ b/internal/cmd/base/dev.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package base import ( diff --git a/internal/cmd/base/dev_test.go b/internal/cmd/base/dev_test.go index 2a184d4e6..aa982150e 100644 --- a/internal/cmd/base/dev_test.go +++ b/internal/cmd/base/dev_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package base import ( diff --git a/internal/cmd/base/event_flags.go b/internal/cmd/base/event_flags.go index ba9d5b185..ed9c5d8b6 100644 --- a/internal/cmd/base/event_flags.go +++ b/internal/cmd/base/event_flags.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package base import ( diff --git a/internal/cmd/base/event_flags_test.go b/internal/cmd/base/event_flags_test.go index e207e2f27..f83878156 100644 --- a/internal/cmd/base/event_flags_test.go +++ b/internal/cmd/base/event_flags_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package base import ( diff --git a/internal/cmd/base/flags.go b/internal/cmd/base/flags.go index 3a0955202..6c4f2a709 100644 --- a/internal/cmd/base/flags.go +++ b/internal/cmd/base/flags.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package base import ( diff --git a/internal/cmd/base/flags_test.go b/internal/cmd/base/flags_test.go index ce0cd9f6b..076d2d8e9 100644 --- a/internal/cmd/base/flags_test.go +++ b/internal/cmd/base/flags_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package base import ( diff --git a/internal/cmd/base/format.go b/internal/cmd/base/format.go index 5db3e1797..f4be11046 100644 --- a/internal/cmd/base/format.go +++ b/internal/cmd/base/format.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package base import ( diff --git a/internal/cmd/base/helpers.go b/internal/cmd/base/helpers.go index 5840075f6..5c19b3528 100644 --- a/internal/cmd/base/helpers.go +++ b/internal/cmd/base/helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package base import ( diff --git a/internal/cmd/base/initial_resources.go b/internal/cmd/base/initial_resources.go index c0e6c522e..193f10619 100644 --- a/internal/cmd/base/initial_resources.go +++ b/internal/cmd/base/initial_resources.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package base import ( diff --git a/internal/cmd/base/internal/docker/docker.go b/internal/cmd/base/internal/docker/docker.go index 25c66d9f6..c26aa180f 100644 --- a/internal/cmd/base/internal/docker/docker.go +++ b/internal/cmd/base/internal/docker/docker.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package docker import ( diff --git a/internal/cmd/base/internal/docker/option.go b/internal/cmd/base/internal/docker/option.go index 35e4ed5f5..64c35533e 100644 --- a/internal/cmd/base/internal/docker/option.go +++ b/internal/cmd/base/internal/docker/option.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package docker // GetOpts - iterate the inbound Options and return a struct. diff --git a/internal/cmd/base/internal/docker/supported.go b/internal/cmd/base/internal/docker/supported.go index 50460fc18..ba0e4b9d4 100644 --- a/internal/cmd/base/internal/docker/supported.go +++ b/internal/cmd/base/internal/docker/supported.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build linux || darwin || windows // +build linux darwin windows diff --git a/internal/cmd/base/internal/metric/build_info.go b/internal/cmd/base/internal/metric/build_info.go index b73dc3ddd..ffbd01774 100644 --- a/internal/cmd/base/internal/metric/build_info.go +++ b/internal/cmd/base/internal/metric/build_info.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package metric provides functions to initialize a prometheus metric // detailing build info package metric diff --git a/internal/cmd/base/keyring.go b/internal/cmd/base/keyring.go index 563ee686a..41ada3d27 100644 --- a/internal/cmd/base/keyring.go +++ b/internal/cmd/base/keyring.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package base import ( diff --git a/internal/cmd/base/listener.go b/internal/cmd/base/listener.go index 7ac47e00c..e7f5e77c2 100644 --- a/internal/cmd/base/listener.go +++ b/internal/cmd/base/listener.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package base import ( diff --git a/internal/cmd/base/logging.go b/internal/cmd/base/logging.go index 59cfe81c6..cf502976f 100644 --- a/internal/cmd/base/logging.go +++ b/internal/cmd/base/logging.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package base import ( diff --git a/internal/cmd/base/logging/logging.go b/internal/cmd/base/logging/logging.go index 8ee0d9c64..cc79ac300 100644 --- a/internal/cmd/base/logging/logging.go +++ b/internal/cmd/base/logging/logging.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logging import ( diff --git a/internal/cmd/base/option.go b/internal/cmd/base/option.go index 25a241886..d4057907e 100644 --- a/internal/cmd/base/option.go +++ b/internal/cmd/base/option.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package base import ( diff --git a/internal/cmd/base/option_test.go b/internal/cmd/base/option_test.go index ef4d913fe..0208f73ca 100644 --- a/internal/cmd/base/option_test.go +++ b/internal/cmd/base/option_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package base import ( diff --git a/internal/cmd/base/profiling_off.go b/internal/cmd/base/profiling_off.go index 63ce61254..936cae0a3 100644 --- a/internal/cmd/base/profiling_off.go +++ b/internal/cmd/base/profiling_off.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !memprofiler // +build !memprofiler diff --git a/internal/cmd/base/profiling_on.go b/internal/cmd/base/profiling_on.go index 124291bf6..e3b36f296 100644 --- a/internal/cmd/base/profiling_on.go +++ b/internal/cmd/base/profiling_on.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build memprofiler // +build memprofiler diff --git a/internal/cmd/base/server_test.go b/internal/cmd/base/server_test.go index 07b064137..375a52cae 100644 --- a/internal/cmd/base/server_test.go +++ b/internal/cmd/base/server_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package base import ( diff --git a/internal/cmd/base/servers.go b/internal/cmd/base/servers.go index ff9f5dc8e..7ae269ea8 100644 --- a/internal/cmd/base/servers.go +++ b/internal/cmd/base/servers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package base import ( diff --git a/internal/cmd/base/ui.go b/internal/cmd/base/ui.go index dcee7e826..b6c8ce3f7 100644 --- a/internal/cmd/base/ui.go +++ b/internal/cmd/base/ui.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package base import ( diff --git a/internal/cmd/commands.go b/internal/cmd/commands.go index 3b3066e4d..b1daadc7d 100644 --- a/internal/cmd/commands.go +++ b/internal/cmd/commands.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cmd import ( diff --git a/internal/cmd/commands/accountscmd/funcs.go b/internal/cmd/commands/accountscmd/funcs.go index 2a0fcb922..29f62c334 100644 --- a/internal/cmd/commands/accountscmd/funcs.go +++ b/internal/cmd/commands/accountscmd/funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package accountscmd import ( diff --git a/internal/cmd/commands/accountscmd/oidc_funcs.go b/internal/cmd/commands/accountscmd/oidc_funcs.go index d67f3338a..8226cd93a 100644 --- a/internal/cmd/commands/accountscmd/oidc_funcs.go +++ b/internal/cmd/commands/accountscmd/oidc_funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package accountscmd import ( diff --git a/internal/cmd/commands/accountscmd/password_funcs.go b/internal/cmd/commands/accountscmd/password_funcs.go index c6dedf550..e86ec2792 100644 --- a/internal/cmd/commands/accountscmd/password_funcs.go +++ b/internal/cmd/commands/accountscmd/password_funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package accountscmd import ( diff --git a/internal/cmd/commands/authenticate/authenticate.go b/internal/cmd/commands/authenticate/authenticate.go index a8bea7f21..afa4119f3 100644 --- a/internal/cmd/commands/authenticate/authenticate.go +++ b/internal/cmd/commands/authenticate/authenticate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authenticate import ( diff --git a/internal/cmd/commands/authenticate/funcs.go b/internal/cmd/commands/authenticate/funcs.go index 94edfd592..f7b93511e 100644 --- a/internal/cmd/commands/authenticate/funcs.go +++ b/internal/cmd/commands/authenticate/funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authenticate import ( diff --git a/internal/cmd/commands/authenticate/oidc.go b/internal/cmd/commands/authenticate/oidc.go index 678e3f97a..ba79bf76e 100644 --- a/internal/cmd/commands/authenticate/oidc.go +++ b/internal/cmd/commands/authenticate/oidc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authenticate import ( diff --git a/internal/cmd/commands/authenticate/password.go b/internal/cmd/commands/authenticate/password.go index c4503c74e..f1fe538e8 100644 --- a/internal/cmd/commands/authenticate/password.go +++ b/internal/cmd/commands/authenticate/password.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authenticate import ( diff --git a/internal/cmd/commands/authmethodscmd/funcs.go b/internal/cmd/commands/authmethodscmd/funcs.go index 8ffc53084..211b8773f 100644 --- a/internal/cmd/commands/authmethodscmd/funcs.go +++ b/internal/cmd/commands/authmethodscmd/funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethodscmd import ( diff --git a/internal/cmd/commands/authmethodscmd/oidc_funcs.go b/internal/cmd/commands/authmethodscmd/oidc_funcs.go index 4119e6dc1..811e90aaf 100644 --- a/internal/cmd/commands/authmethodscmd/oidc_funcs.go +++ b/internal/cmd/commands/authmethodscmd/oidc_funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethodscmd import ( diff --git a/internal/cmd/commands/authmethodscmd/password_funcs.go b/internal/cmd/commands/authmethodscmd/password_funcs.go index a775c3de4..7a5d6edb1 100644 --- a/internal/cmd/commands/authmethodscmd/password_funcs.go +++ b/internal/cmd/commands/authmethodscmd/password_funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethodscmd import ( diff --git a/internal/cmd/commands/authtokenscmd/funcs.go b/internal/cmd/commands/authtokenscmd/funcs.go index f3a469a70..8aa8ae6d2 100644 --- a/internal/cmd/commands/authtokenscmd/funcs.go +++ b/internal/cmd/commands/authtokenscmd/funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authtokenscmd import ( diff --git a/internal/cmd/commands/config/autocomplete.go b/internal/cmd/commands/config/autocomplete.go index 32f361580..4e56dbeec 100644 --- a/internal/cmd/commands/config/autocomplete.go +++ b/internal/cmd/commands/config/autocomplete.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/internal/cmd/commands/config/config.go b/internal/cmd/commands/config/config.go index feaf77ea8..08e1716d1 100644 --- a/internal/cmd/commands/config/config.go +++ b/internal/cmd/commands/config/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/internal/cmd/commands/config/encryptdecrypt.go b/internal/cmd/commands/config/encryptdecrypt.go index e52941b82..014db8b36 100644 --- a/internal/cmd/commands/config/encryptdecrypt.go +++ b/internal/cmd/commands/config/encryptdecrypt.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/internal/cmd/commands/config/encryptdecrypt_test.go b/internal/cmd/commands/config/encryptdecrypt_test.go index a286972ac..69a4f871b 100644 --- a/internal/cmd/commands/config/encryptdecrypt_test.go +++ b/internal/cmd/commands/config/encryptdecrypt_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/internal/cmd/commands/config/fixtures/config_decrypt.hcl b/internal/cmd/commands/config/fixtures/config_decrypt.hcl index db1e76f38..f5c408e37 100644 --- a/internal/cmd/commands/config/fixtures/config_decrypt.hcl +++ b/internal/cmd/commands/config/fixtures/config_decrypt.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + kms "aead" { purpose = "config" aead_type = "aes-gcm" diff --git a/internal/cmd/commands/config/fixtures/config_encrypt.hcl b/internal/cmd/commands/config/fixtures/config_encrypt.hcl index 9f40b88db..66d42b411 100644 --- a/internal/cmd/commands/config/fixtures/config_encrypt.hcl +++ b/internal/cmd/commands/config/fixtures/config_encrypt.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + kms "aead" { purpose = "config" aead_type = "aes-gcm" diff --git a/internal/cmd/commands/config/fixtures/config_ext_decrypt.hcl b/internal/cmd/commands/config/fixtures/config_ext_decrypt.hcl index 731c38639..6354746dc 100644 --- a/internal/cmd/commands/config/fixtures/config_ext_decrypt.hcl +++ b/internal/cmd/commands/config/fixtures/config_ext_decrypt.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + int_val = {{decrypt(Ch7a69AX8R5w_cCZJUqLTQkWesuSHMrHxrRMMZnq53QqAA)}} bool_val = {{decrypt(CiDURLrWUXLhEfkOemqqiQlcD_gsGsIx-kxVTIlVncN6-yoA)}} kms "aead" { diff --git a/internal/cmd/commands/config/fixtures/config_ext_encrypt.hcl b/internal/cmd/commands/config/fixtures/config_ext_encrypt.hcl index 7901b2a15..d54885729 100644 --- a/internal/cmd/commands/config/fixtures/config_ext_encrypt.hcl +++ b/internal/cmd/commands/config/fixtures/config_ext_encrypt.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + int_val = {{encrypt(20)}} bool_val = {{encrypt(true)}} kms "aead" { diff --git a/internal/cmd/commands/config/fixtures/config_ext_encrypt_stripped.hcl b/internal/cmd/commands/config/fixtures/config_ext_encrypt_stripped.hcl index 4de3565eb..321f8e7ec 100644 --- a/internal/cmd/commands/config/fixtures/config_ext_encrypt_stripped.hcl +++ b/internal/cmd/commands/config/fixtures/config_ext_encrypt_stripped.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + int_val = 20 bool_val = true kms "aead" { diff --git a/internal/cmd/commands/config/fixtures/config_kms.hcl b/internal/cmd/commands/config/fixtures/config_kms.hcl index 188455cdb..6227e8f99 100644 --- a/internal/cmd/commands/config/fixtures/config_kms.hcl +++ b/internal/cmd/commands/config/fixtures/config_kms.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + kms "aead" { purpose = "config" aead_type = "aes-gcm" diff --git a/internal/cmd/commands/config/token.go b/internal/cmd/commands/config/token.go index 0664326a4..aa2adcfc3 100644 --- a/internal/cmd/commands/config/token.go +++ b/internal/cmd/commands/config/token.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/internal/cmd/commands/connect/client_tls_config.go b/internal/cmd/commands/connect/client_tls_config.go index 213b6f428..3335398f2 100644 --- a/internal/cmd/commands/connect/client_tls_config.go +++ b/internal/cmd/commands/connect/client_tls_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/internal/cmd/commands/connect/connect.go b/internal/cmd/commands/connect/connect.go index 3cb7e04c3..6dd3247e4 100644 --- a/internal/cmd/commands/connect/connect.go +++ b/internal/cmd/commands/connect/connect.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/internal/cmd/commands/connect/credentials.go b/internal/cmd/commands/connect/credentials.go index f390e52e6..b065e9456 100644 --- a/internal/cmd/commands/connect/credentials.go +++ b/internal/cmd/commands/connect/credentials.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/internal/cmd/commands/connect/credentials_test.go b/internal/cmd/commands/connect/credentials_test.go index 2b4aa41f2..f34635c2b 100644 --- a/internal/cmd/commands/connect/credentials_test.go +++ b/internal/cmd/commands/connect/credentials_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/internal/cmd/commands/connect/funcs.go b/internal/cmd/commands/connect/funcs.go index eda462956..d86f28c04 100644 --- a/internal/cmd/commands/connect/funcs.go +++ b/internal/cmd/commands/connect/funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/internal/cmd/commands/connect/http.go b/internal/cmd/commands/connect/http.go index 2555f7d7b..0af8f7cfa 100644 --- a/internal/cmd/commands/connect/http.go +++ b/internal/cmd/commands/connect/http.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/internal/cmd/commands/connect/kube.go b/internal/cmd/commands/connect/kube.go index ebc0fae0f..7c6eb40c1 100644 --- a/internal/cmd/commands/connect/kube.go +++ b/internal/cmd/commands/connect/kube.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/internal/cmd/commands/connect/postgres.go b/internal/cmd/commands/connect/postgres.go index deb3b4c21..05d0d2cd4 100644 --- a/internal/cmd/commands/connect/postgres.go +++ b/internal/cmd/commands/connect/postgres.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/internal/cmd/commands/connect/rdp.go b/internal/cmd/commands/connect/rdp.go index af63699ef..d9e2d9d00 100644 --- a/internal/cmd/commands/connect/rdp.go +++ b/internal/cmd/commands/connect/rdp.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/internal/cmd/commands/connect/ssh.go b/internal/cmd/commands/connect/ssh.go index cb0da3617..0a502e2e9 100644 --- a/internal/cmd/commands/connect/ssh.go +++ b/internal/cmd/commands/connect/ssh.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/internal/cmd/commands/credentiallibrariescmd/funcs.go b/internal/cmd/commands/credentiallibrariescmd/funcs.go index b131536b9..bb8b3d83e 100644 --- a/internal/cmd/commands/credentiallibrariescmd/funcs.go +++ b/internal/cmd/commands/credentiallibrariescmd/funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentiallibrariescmd import ( diff --git a/internal/cmd/commands/credentiallibrariescmd/vault-generic_funcs.go b/internal/cmd/commands/credentiallibrariescmd/vault-generic_funcs.go index b2192b02b..e3b3ff0c4 100644 --- a/internal/cmd/commands/credentiallibrariescmd/vault-generic_funcs.go +++ b/internal/cmd/commands/credentiallibrariescmd/vault-generic_funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentiallibrariescmd import ( diff --git a/internal/cmd/commands/credentiallibrariescmd/vault-ssh-certificate_funcs.go b/internal/cmd/commands/credentiallibrariescmd/vault-ssh-certificate_funcs.go index 23d588cab..8ed8d57d7 100644 --- a/internal/cmd/commands/credentiallibrariescmd/vault-ssh-certificate_funcs.go +++ b/internal/cmd/commands/credentiallibrariescmd/vault-ssh-certificate_funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentiallibrariescmd import ( diff --git a/internal/cmd/commands/credentiallibrariescmd/vault_funcs.go b/internal/cmd/commands/credentiallibrariescmd/vault_funcs.go index 867e0e85c..ca0b9194f 100644 --- a/internal/cmd/commands/credentiallibrariescmd/vault_funcs.go +++ b/internal/cmd/commands/credentiallibrariescmd/vault_funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentiallibrariescmd import ( diff --git a/internal/cmd/commands/credentialscmd/funcs.go b/internal/cmd/commands/credentialscmd/funcs.go index e41573921..8621814e1 100644 --- a/internal/cmd/commands/credentialscmd/funcs.go +++ b/internal/cmd/commands/credentialscmd/funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialscmd import ( diff --git a/internal/cmd/commands/credentialscmd/json_credentials_funcs.go b/internal/cmd/commands/credentialscmd/json_credentials_funcs.go index ee46b411e..d36086c9f 100644 --- a/internal/cmd/commands/credentialscmd/json_credentials_funcs.go +++ b/internal/cmd/commands/credentialscmd/json_credentials_funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialscmd import ( diff --git a/internal/cmd/commands/credentialscmd/ssh-private-key_funcs.go b/internal/cmd/commands/credentialscmd/ssh-private-key_funcs.go index e9b8ea85d..de08ff21a 100644 --- a/internal/cmd/commands/credentialscmd/ssh-private-key_funcs.go +++ b/internal/cmd/commands/credentialscmd/ssh-private-key_funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialscmd import ( diff --git a/internal/cmd/commands/credentialscmd/username-password_funcs.go b/internal/cmd/commands/credentialscmd/username-password_funcs.go index 885cdc978..e2b916a69 100644 --- a/internal/cmd/commands/credentialscmd/username-password_funcs.go +++ b/internal/cmd/commands/credentialscmd/username-password_funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialscmd import ( diff --git a/internal/cmd/commands/credentialstorescmd/funcs.go b/internal/cmd/commands/credentialstorescmd/funcs.go index 7bde10c39..19595d60b 100644 --- a/internal/cmd/commands/credentialstorescmd/funcs.go +++ b/internal/cmd/commands/credentialstorescmd/funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialstorescmd import ( diff --git a/internal/cmd/commands/credentialstorescmd/static_funcs.go b/internal/cmd/commands/credentialstorescmd/static_funcs.go index 4632de401..7583ff123 100644 --- a/internal/cmd/commands/credentialstorescmd/static_funcs.go +++ b/internal/cmd/commands/credentialstorescmd/static_funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialstorescmd import ( diff --git a/internal/cmd/commands/credentialstorescmd/vault_funcs.go b/internal/cmd/commands/credentialstorescmd/vault_funcs.go index be76d1c3c..4415bce17 100644 --- a/internal/cmd/commands/credentialstorescmd/vault_funcs.go +++ b/internal/cmd/commands/credentialstorescmd/vault_funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialstorescmd import ( diff --git a/internal/cmd/commands/database/database.go b/internal/cmd/commands/database/database.go index 7e5b18a8d..75178eb6d 100644 --- a/internal/cmd/commands/database/database.go +++ b/internal/cmd/commands/database/database.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/internal/cmd/commands/database/funcs.go b/internal/cmd/commands/database/funcs.go index a3ee92c8e..9ff754e72 100644 --- a/internal/cmd/commands/database/funcs.go +++ b/internal/cmd/commands/database/funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/internal/cmd/commands/database/funcs_test.go b/internal/cmd/commands/database/funcs_test.go index 5fc795fd8..f0bc882be 100644 --- a/internal/cmd/commands/database/funcs_test.go +++ b/internal/cmd/commands/database/funcs_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/internal/cmd/commands/database/init.go b/internal/cmd/commands/database/init.go index b02ee3ec3..92bf71001 100644 --- a/internal/cmd/commands/database/init.go +++ b/internal/cmd/commands/database/init.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/internal/cmd/commands/database/migrate.go b/internal/cmd/commands/database/migrate.go index d56f18dc0..c1eda3990 100644 --- a/internal/cmd/commands/database/migrate.go +++ b/internal/cmd/commands/database/migrate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database import ( diff --git a/internal/cmd/commands/dev/dev.go b/internal/cmd/commands/dev/dev.go index f733d70ca..4fba57c9e 100644 --- a/internal/cmd/commands/dev/dev.go +++ b/internal/cmd/commands/dev/dev.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dev import ( diff --git a/internal/cmd/commands/dev/flags_test.go b/internal/cmd/commands/dev/flags_test.go index 8f4fd3bd0..5345063c9 100644 --- a/internal/cmd/commands/dev/flags_test.go +++ b/internal/cmd/commands/dev/flags_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dev import ( diff --git a/internal/cmd/commands/groupscmd/funcs.go b/internal/cmd/commands/groupscmd/funcs.go index 1149d518d..c2e5352c1 100644 --- a/internal/cmd/commands/groupscmd/funcs.go +++ b/internal/cmd/commands/groupscmd/funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package groupscmd import ( diff --git a/internal/cmd/commands/hostcatalogscmd/funcs.go b/internal/cmd/commands/hostcatalogscmd/funcs.go index b897a076c..c0153da24 100644 --- a/internal/cmd/commands/hostcatalogscmd/funcs.go +++ b/internal/cmd/commands/hostcatalogscmd/funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostcatalogscmd import ( diff --git a/internal/cmd/commands/hostcatalogscmd/plugin_funcs.go b/internal/cmd/commands/hostcatalogscmd/plugin_funcs.go index 5bf4ac915..fd88e03d6 100644 --- a/internal/cmd/commands/hostcatalogscmd/plugin_funcs.go +++ b/internal/cmd/commands/hostcatalogscmd/plugin_funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostcatalogscmd import ( diff --git a/internal/cmd/commands/hostcatalogscmd/static_funcs.go b/internal/cmd/commands/hostcatalogscmd/static_funcs.go index 48d5daee8..42e25b423 100644 --- a/internal/cmd/commands/hostcatalogscmd/static_funcs.go +++ b/internal/cmd/commands/hostcatalogscmd/static_funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostcatalogscmd import ( diff --git a/internal/cmd/commands/hostscmd/funcs.go b/internal/cmd/commands/hostscmd/funcs.go index d7b7c888e..ebcaeca06 100644 --- a/internal/cmd/commands/hostscmd/funcs.go +++ b/internal/cmd/commands/hostscmd/funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostscmd import ( diff --git a/internal/cmd/commands/hostscmd/static_funcs.go b/internal/cmd/commands/hostscmd/static_funcs.go index 08f5c392f..5d0051563 100644 --- a/internal/cmd/commands/hostscmd/static_funcs.go +++ b/internal/cmd/commands/hostscmd/static_funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostscmd import ( diff --git a/internal/cmd/commands/hostsetscmd/funcs.go b/internal/cmd/commands/hostsetscmd/funcs.go index b4bc1701e..b711fa672 100644 --- a/internal/cmd/commands/hostsetscmd/funcs.go +++ b/internal/cmd/commands/hostsetscmd/funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostsetscmd import ( diff --git a/internal/cmd/commands/hostsetscmd/plugin_funcs.go b/internal/cmd/commands/hostsetscmd/plugin_funcs.go index 9fbba347b..7923a7af9 100644 --- a/internal/cmd/commands/hostsetscmd/plugin_funcs.go +++ b/internal/cmd/commands/hostsetscmd/plugin_funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostsetscmd import ( diff --git a/internal/cmd/commands/hostsetscmd/static_funcs.go b/internal/cmd/commands/hostsetscmd/static_funcs.go index 95c98a197..475f761d9 100644 --- a/internal/cmd/commands/hostsetscmd/static_funcs.go +++ b/internal/cmd/commands/hostsetscmd/static_funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostsetscmd import ( diff --git a/internal/cmd/commands/logout/logout.go b/internal/cmd/commands/logout/logout.go index fa898cc6c..b09381a7c 100644 --- a/internal/cmd/commands/logout/logout.go +++ b/internal/cmd/commands/logout/logout.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logout import ( diff --git a/internal/cmd/commands/managedgroupscmd/funcs.go b/internal/cmd/commands/managedgroupscmd/funcs.go index b79ca8875..ac7e9618f 100644 --- a/internal/cmd/commands/managedgroupscmd/funcs.go +++ b/internal/cmd/commands/managedgroupscmd/funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package managedgroupscmd import ( diff --git a/internal/cmd/commands/managedgroupscmd/oidc_funcs.go b/internal/cmd/commands/managedgroupscmd/oidc_funcs.go index d8e3f7bf4..720e446e8 100644 --- a/internal/cmd/commands/managedgroupscmd/oidc_funcs.go +++ b/internal/cmd/commands/managedgroupscmd/oidc_funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package managedgroupscmd import ( diff --git a/internal/cmd/commands/rolescmd/funcs.go b/internal/cmd/commands/rolescmd/funcs.go index 1a966a091..23b1f4c20 100644 --- a/internal/cmd/commands/rolescmd/funcs.go +++ b/internal/cmd/commands/rolescmd/funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package rolescmd import ( diff --git a/internal/cmd/commands/scopescmd/destroy_key_version.go b/internal/cmd/commands/scopescmd/destroy_key_version.go index 20f89e5de..0c72fec4e 100644 --- a/internal/cmd/commands/scopescmd/destroy_key_version.go +++ b/internal/cmd/commands/scopescmd/destroy_key_version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scopescmd import ( diff --git a/internal/cmd/commands/scopescmd/funcs.go b/internal/cmd/commands/scopescmd/funcs.go index 8b76acba4..d672465df 100644 --- a/internal/cmd/commands/scopescmd/funcs.go +++ b/internal/cmd/commands/scopescmd/funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scopescmd import ( diff --git a/internal/cmd/commands/scopescmd/list_key_version_destruction_jobs.go b/internal/cmd/commands/scopescmd/list_key_version_destruction_jobs.go index a675fecbb..52b1c2700 100644 --- a/internal/cmd/commands/scopescmd/list_key_version_destruction_jobs.go +++ b/internal/cmd/commands/scopescmd/list_key_version_destruction_jobs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scopescmd import ( diff --git a/internal/cmd/commands/scopescmd/list_keys.go b/internal/cmd/commands/scopescmd/list_keys.go index 29a92c5c1..555671ace 100644 --- a/internal/cmd/commands/scopescmd/list_keys.go +++ b/internal/cmd/commands/scopescmd/list_keys.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scopescmd import ( diff --git a/internal/cmd/commands/scopescmd/rotate_keys.go b/internal/cmd/commands/scopescmd/rotate_keys.go index 28c859564..444838792 100644 --- a/internal/cmd/commands/scopescmd/rotate_keys.go +++ b/internal/cmd/commands/scopescmd/rotate_keys.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scopescmd import ( diff --git a/internal/cmd/commands/server/controller_db_swap_test.go b/internal/cmd/commands/server/controller_db_swap_test.go index c3d8c615a..5b7de3bda 100644 --- a/internal/cmd/commands/server/controller_db_swap_test.go +++ b/internal/cmd/commands/server/controller_db_swap_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/cmd/commands/server/listener_reload_test.go b/internal/cmd/commands/server/listener_reload_test.go index 9e40c47cb..dd717ca4a 100644 --- a/internal/cmd/commands/server/listener_reload_test.go +++ b/internal/cmd/commands/server/listener_reload_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !hsm // +build !hsm diff --git a/internal/cmd/commands/server/server.go b/internal/cmd/commands/server/server.go index 0d1302353..1c500aafd 100644 --- a/internal/cmd/commands/server/server.go +++ b/internal/cmd/commands/server/server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/cmd/commands/server/server_test.go b/internal/cmd/commands/server/server_test.go index de1d9a940..fa6dad2dd 100644 --- a/internal/cmd/commands/server/server_test.go +++ b/internal/cmd/commands/server/server_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/cmd/commands/server/worker_initial_upstreams_reload_test.go b/internal/cmd/commands/server/worker_initial_upstreams_reload_test.go index 5901b11cb..f10c2df51 100644 --- a/internal/cmd/commands/server/worker_initial_upstreams_reload_test.go +++ b/internal/cmd/commands/server/worker_initial_upstreams_reload_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !hsm package server diff --git a/internal/cmd/commands/server/worker_shutdown_reload_test.go b/internal/cmd/commands/server/worker_shutdown_reload_test.go index d99556d2a..a0a860663 100644 --- a/internal/cmd/commands/server/worker_shutdown_reload_test.go +++ b/internal/cmd/commands/server/worker_shutdown_reload_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !hsm // +build !hsm diff --git a/internal/cmd/commands/server/worker_tags_reload_test.go b/internal/cmd/commands/server/worker_tags_reload_test.go index 373eef555..de4d18a6a 100644 --- a/internal/cmd/commands/server/worker_tags_reload_test.go +++ b/internal/cmd/commands/server/worker_tags_reload_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !hsm // +build !hsm diff --git a/internal/cmd/commands/sessionscmd/funcs.go b/internal/cmd/commands/sessionscmd/funcs.go index c821f07d5..273af61c5 100644 --- a/internal/cmd/commands/sessionscmd/funcs.go +++ b/internal/cmd/commands/sessionscmd/funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sessionscmd import ( diff --git a/internal/cmd/commands/targetscmd/funcs.go b/internal/cmd/commands/targetscmd/funcs.go index 1dd562e42..b79c955f2 100644 --- a/internal/cmd/commands/targetscmd/funcs.go +++ b/internal/cmd/commands/targetscmd/funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targetscmd import ( diff --git a/internal/cmd/commands/targetscmd/ssh_funcs.go b/internal/cmd/commands/targetscmd/ssh_funcs.go index 073e96d8c..1ab037134 100644 --- a/internal/cmd/commands/targetscmd/ssh_funcs.go +++ b/internal/cmd/commands/targetscmd/ssh_funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targetscmd import ( diff --git a/internal/cmd/commands/targetscmd/tcp_funcs.go b/internal/cmd/commands/targetscmd/tcp_funcs.go index 7f08e0191..6041e5caa 100644 --- a/internal/cmd/commands/targetscmd/tcp_funcs.go +++ b/internal/cmd/commands/targetscmd/tcp_funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targetscmd import ( diff --git a/internal/cmd/commands/userscmd/funcs.go b/internal/cmd/commands/userscmd/funcs.go index 62482fce6..5622eb14e 100644 --- a/internal/cmd/commands/userscmd/funcs.go +++ b/internal/cmd/commands/userscmd/funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package userscmd import ( diff --git a/internal/cmd/commands/version/version.go b/internal/cmd/commands/version/version.go index effa85f95..a9f7c3020 100644 --- a/internal/cmd/commands/version/version.go +++ b/internal/cmd/commands/version/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/internal/cmd/commands/workerscmd/certificate-authority.go b/internal/cmd/commands/workerscmd/certificate-authority.go index cafec32ae..343e4028f 100644 --- a/internal/cmd/commands/workerscmd/certificate-authority.go +++ b/internal/cmd/commands/workerscmd/certificate-authority.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package workerscmd import ( diff --git a/internal/cmd/commands/workerscmd/controller-led_funcs.go b/internal/cmd/commands/workerscmd/controller-led_funcs.go index 8d95f92a8..662509ac1 100644 --- a/internal/cmd/commands/workerscmd/controller-led_funcs.go +++ b/internal/cmd/commands/workerscmd/controller-led_funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package workerscmd import ( diff --git a/internal/cmd/commands/workerscmd/funcs.go b/internal/cmd/commands/workerscmd/funcs.go index a18421027..59a3809ad 100644 --- a/internal/cmd/commands/workerscmd/funcs.go +++ b/internal/cmd/commands/workerscmd/funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package workerscmd import ( diff --git a/internal/cmd/commands/workerscmd/worker-led_funcs.go b/internal/cmd/commands/workerscmd/worker-led_funcs.go index b8d92a996..b3d3a96e1 100644 --- a/internal/cmd/commands/workerscmd/worker-led_funcs.go +++ b/internal/cmd/commands/workerscmd/worker-led_funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package workerscmd import ( diff --git a/internal/cmd/commands_nonwindows.go b/internal/cmd/commands_nonwindows.go index 183719973..f55d2d4fc 100644 --- a/internal/cmd/commands_nonwindows.go +++ b/internal/cmd/commands_nonwindows.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !windows // +build !windows diff --git a/internal/cmd/commands_windows.go b/internal/cmd/commands_windows.go index 60634e54a..e6f1777bd 100644 --- a/internal/cmd/commands_windows.go +++ b/internal/cmd/commands_windows.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build windows // +build windows diff --git a/internal/cmd/common/flags.go b/internal/cmd/common/flags.go index 07d6ead52..e694cfbc1 100644 --- a/internal/cmd/common/flags.go +++ b/internal/cmd/common/flags.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package common import ( diff --git a/internal/cmd/common/flags_test.go b/internal/cmd/common/flags_test.go index 0f36b97a9..a4fee8c1c 100644 --- a/internal/cmd/common/flags_test.go +++ b/internal/cmd/common/flags_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package common import ( diff --git a/internal/cmd/common/help.go b/internal/cmd/common/help.go index 20f6eb026..9dcb2f53c 100644 --- a/internal/cmd/common/help.go +++ b/internal/cmd/common/help.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package common import ( diff --git a/internal/cmd/common/option.go b/internal/cmd/common/option.go index 0fd011edd..cf0403cd1 100644 --- a/internal/cmd/common/option.go +++ b/internal/cmd/common/option.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package common // GetOpts - iterate the inbound Options and return a struct. diff --git a/internal/cmd/common/option_test.go b/internal/cmd/common/option_test.go index e84efea9e..a619fea1b 100644 --- a/internal/cmd/common/option_test.go +++ b/internal/cmd/common/option_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package common import ( diff --git a/internal/cmd/config/config.go b/internal/cmd/config/config.go index 224a7226d..dde77b56a 100644 --- a/internal/cmd/config/config.go +++ b/internal/cmd/config/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/internal/cmd/config/config_load_test.go b/internal/cmd/config/config_load_test.go index 529d6a2c1..89dce7144 100644 --- a/internal/cmd/config/config_load_test.go +++ b/internal/cmd/config/config_load_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config_test import ( diff --git a/internal/cmd/config/config_test.go b/internal/cmd/config/config_test.go index 8efed01ad..cbf26b920 100644 --- a/internal/cmd/config/config_test.go +++ b/internal/cmd/config/config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/internal/cmd/config/testdata/TestLoad/MultiFile/00-controller.hcl b/internal/cmd/config/testdata/TestLoad/MultiFile/00-controller.hcl index e831b1469..07df5bbdb 100644 --- a/internal/cmd/config/testdata/TestLoad/MultiFile/00-controller.hcl +++ b/internal/cmd/config/testdata/TestLoad/MultiFile/00-controller.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_mlock = true controller { diff --git a/internal/cmd/config/testdata/TestLoad/MultiFile/01-worker.hcl b/internal/cmd/config/testdata/TestLoad/MultiFile/01-worker.hcl index 0f5b100a5..b4f8d0164 100644 --- a/internal/cmd/config/testdata/TestLoad/MultiFile/01-worker.hcl +++ b/internal/cmd/config/testdata/TestLoad/MultiFile/01-worker.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + worker { name = "worker0" description = "A worker" diff --git a/internal/cmd/config/testdata/TestLoad/MultiFile/02-kms.hcl b/internal/cmd/config/testdata/TestLoad/MultiFile/02-kms.hcl index f51445494..78a2cb533 100644 --- a/internal/cmd/config/testdata/TestLoad/MultiFile/02-kms.hcl +++ b/internal/cmd/config/testdata/TestLoad/MultiFile/02-kms.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + kms "aead" { purpose = "root" aead_type = "aes-gcm" diff --git a/internal/cmd/config/testdata/TestLoad/MultiFileDuplicateStanza/00-controller.hcl b/internal/cmd/config/testdata/TestLoad/MultiFileDuplicateStanza/00-controller.hcl index e831b1469..07df5bbdb 100644 --- a/internal/cmd/config/testdata/TestLoad/MultiFileDuplicateStanza/00-controller.hcl +++ b/internal/cmd/config/testdata/TestLoad/MultiFileDuplicateStanza/00-controller.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_mlock = true controller { diff --git a/internal/cmd/config/testdata/TestLoad/MultiFileDuplicateStanza/01-controller-duplicated.hcl b/internal/cmd/config/testdata/TestLoad/MultiFileDuplicateStanza/01-controller-duplicated.hcl index 7e8b781f2..82b5d33e2 100644 --- a/internal/cmd/config/testdata/TestLoad/MultiFileDuplicateStanza/01-controller-duplicated.hcl +++ b/internal/cmd/config/testdata/TestLoad/MultiFileDuplicateStanza/01-controller-duplicated.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + controller { name = "controller0" description = "A controller but duplicated" diff --git a/internal/cmd/config/testdata/TestLoad/MultiFileDuplicateStanza/01-worker.hcl b/internal/cmd/config/testdata/TestLoad/MultiFileDuplicateStanza/01-worker.hcl index 0f5b100a5..b4f8d0164 100644 --- a/internal/cmd/config/testdata/TestLoad/MultiFileDuplicateStanza/01-worker.hcl +++ b/internal/cmd/config/testdata/TestLoad/MultiFileDuplicateStanza/01-worker.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + worker { name = "worker0" description = "A worker" diff --git a/internal/cmd/config/testdata/TestLoad/MultiFileDuplicateStanza/02-kms.hcl b/internal/cmd/config/testdata/TestLoad/MultiFileDuplicateStanza/02-kms.hcl index f51445494..78a2cb533 100644 --- a/internal/cmd/config/testdata/TestLoad/MultiFileDuplicateStanza/02-kms.hcl +++ b/internal/cmd/config/testdata/TestLoad/MultiFileDuplicateStanza/02-kms.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + kms "aead" { purpose = "root" aead_type = "aes-gcm" diff --git a/internal/cmd/config/testdata/TestLoad/MultiFileMix/00-controller.hcl b/internal/cmd/config/testdata/TestLoad/MultiFileMix/00-controller.hcl index e831b1469..07df5bbdb 100644 --- a/internal/cmd/config/testdata/TestLoad/MultiFileMix/00-controller.hcl +++ b/internal/cmd/config/testdata/TestLoad/MultiFileMix/00-controller.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_mlock = true controller { diff --git a/internal/cmd/config/testdata/TestLoad/MultiFileMix/03-kms.hcl b/internal/cmd/config/testdata/TestLoad/MultiFileMix/03-kms.hcl index f51445494..78a2cb533 100644 --- a/internal/cmd/config/testdata/TestLoad/MultiFileMix/03-kms.hcl +++ b/internal/cmd/config/testdata/TestLoad/MultiFileMix/03-kms.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + kms "aead" { purpose = "root" aead_type = "aes-gcm" diff --git a/internal/cmd/config/testdata/TestLoad/SingleFile/config.hcl b/internal/cmd/config/testdata/TestLoad/SingleFile/config.hcl index 6d96057e9..7e4ee2f72 100644 --- a/internal/cmd/config/testdata/TestLoad/SingleFile/config.hcl +++ b/internal/cmd/config/testdata/TestLoad/SingleFile/config.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_mlock = true controller { diff --git a/internal/cmd/gencli/input.go b/internal/cmd/gencli/input.go index a7df2d470..0dbd655c3 100644 --- a/internal/cmd/gencli/input.go +++ b/internal/cmd/gencli/input.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/internal/cmd/gencli/main.go b/internal/cmd/gencli/main.go index 9166baa8a..c4493a5ef 100644 --- a/internal/cmd/gencli/main.go +++ b/internal/cmd/gencli/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main func main() { diff --git a/internal/cmd/main.go b/internal/cmd/main.go index 3549c96f7..dccb2854e 100644 --- a/internal/cmd/main.go +++ b/internal/cmd/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cmd import ( diff --git a/internal/cmd/ops/server.go b/internal/cmd/ops/server.go index 0c8bd0b19..300acc7e4 100644 --- a/internal/cmd/ops/server.go +++ b/internal/cmd/ops/server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package ops encapsulates the lifecycle of Boundary's ops-purpose listeners // and servers: Creating, setting them up, starting and shutdown. package ops diff --git a/internal/cmd/ops/server_test.go b/internal/cmd/ops/server_test.go index 5cbb66ce9..bb54dae28 100644 --- a/internal/cmd/ops/server_test.go +++ b/internal/cmd/ops/server_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ops import ( diff --git a/internal/credential/credential.go b/internal/credential/credential.go index edee5fbf7..7cbab5d23 100644 --- a/internal/credential/credential.go +++ b/internal/credential/credential.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package credential defines interfaces shared by other packages that // manage credentials for Boundary sessions. package credential diff --git a/internal/credential/options.go b/internal/credential/options.go index 9db8c84aa..bc13c5c5d 100644 --- a/internal/credential/options.go +++ b/internal/credential/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credential import ( diff --git a/internal/credential/options_test.go b/internal/credential/options_test.go index 35c32fd46..229f1d106 100644 --- a/internal/credential/options_test.go +++ b/internal/credential/options_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credential import ( diff --git a/internal/credential/public_ids.go b/internal/credential/public_ids.go index eb7b853ae..303af828c 100644 --- a/internal/credential/public_ids.go +++ b/internal/credential/public_ids.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credential import ( diff --git a/internal/credential/redact.go b/internal/credential/redact.go index 2a41b130c..1d4d0275d 100644 --- a/internal/credential/redact.go +++ b/internal/credential/redact.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credential import "encoding/json" diff --git a/internal/credential/redact_test.go b/internal/credential/redact_test.go index be2421877..59449383a 100644 --- a/internal/credential/redact_test.go +++ b/internal/credential/redact_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credential import ( diff --git a/internal/credential/static/credential_store.go b/internal/credential/static/credential_store.go index cd9cded5b..c486a9b24 100644 --- a/internal/credential/static/credential_store.go +++ b/internal/credential/static/credential_store.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/credential/static/credential_store_test.go b/internal/credential/static/credential_store_test.go index b1b41baeb..7f3a9de7e 100644 --- a/internal/credential/static/credential_store_test.go +++ b/internal/credential/static/credential_store_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/credential/static/doc.go b/internal/credential/static/doc.go index d673f57b0..efafe7eab 100644 --- a/internal/credential/static/doc.go +++ b/internal/credential/static/doc.go @@ -1,2 +1,5 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package static implements a credential store for static credentials. package static diff --git a/internal/credential/static/fields.go b/internal/credential/static/fields.go index 0f0fd2a42..8876f71b2 100644 --- a/internal/credential/static/fields.go +++ b/internal/credential/static/fields.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static // These constants are the field names used in the static related field masks. diff --git a/internal/credential/static/json_credential.go b/internal/credential/static/json_credential.go index 2f2bb11f6..5a1f4a02e 100644 --- a/internal/credential/static/json_credential.go +++ b/internal/credential/static/json_credential.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/credential/static/json_credential_test.go b/internal/credential/static/json_credential_test.go index cc72ba9ae..ccf0adf45 100644 --- a/internal/credential/static/json_credential_test.go +++ b/internal/credential/static/json_credential_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/credential/static/options.go b/internal/credential/static/options.go index d545fa60c..b58ae66eb 100644 --- a/internal/credential/static/options.go +++ b/internal/credential/static/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static // getOpts - iterate the inbound Options and return a struct diff --git a/internal/credential/static/options_test.go b/internal/credential/static/options_test.go index 0e4ddcbc2..111676bb0 100644 --- a/internal/credential/static/options_test.go +++ b/internal/credential/static/options_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/credential/static/public_ids.go b/internal/credential/static/public_ids.go index 04e95658b..fa672eb4c 100644 --- a/internal/credential/static/public_ids.go +++ b/internal/credential/static/public_ids.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/credential/static/query.go b/internal/credential/static/query.go index 0da040cff..013a86aa2 100644 --- a/internal/credential/static/query.go +++ b/internal/credential/static/query.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static const ( diff --git a/internal/credential/static/repository.go b/internal/credential/static/repository.go index df03971ec..73660aa6f 100644 --- a/internal/credential/static/repository.go +++ b/internal/credential/static/repository.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/credential/static/repository_credential.go b/internal/credential/static/repository_credential.go index d7651b229..d35225966 100644 --- a/internal/credential/static/repository_credential.go +++ b/internal/credential/static/repository_credential.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/credential/static/repository_credential_store.go b/internal/credential/static/repository_credential_store.go index 9bc249148..6d143c9b9 100644 --- a/internal/credential/static/repository_credential_store.go +++ b/internal/credential/static/repository_credential_store.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/credential/static/repository_credential_store_test.go b/internal/credential/static/repository_credential_store_test.go index 173a85ef6..b448b4f62 100644 --- a/internal/credential/static/repository_credential_store_test.go +++ b/internal/credential/static/repository_credential_store_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/credential/static/repository_credential_test.go b/internal/credential/static/repository_credential_test.go index 17a426a0c..3cce6100f 100644 --- a/internal/credential/static/repository_credential_test.go +++ b/internal/credential/static/repository_credential_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/credential/static/repository_credentials.go b/internal/credential/static/repository_credentials.go index 97ec1b4d0..07c84660c 100644 --- a/internal/credential/static/repository_credentials.go +++ b/internal/credential/static/repository_credentials.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/credential/static/repository_credentials_test.go b/internal/credential/static/repository_credentials_test.go index f8c77b980..a9bf6e717 100644 --- a/internal/credential/static/repository_credentials_test.go +++ b/internal/credential/static/repository_credentials_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/credential/static/repository_test.go b/internal/credential/static/repository_test.go index 390c829e5..12fd9d0b1 100644 --- a/internal/credential/static/repository_test.go +++ b/internal/credential/static/repository_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/credential/static/rewrapping.go b/internal/credential/static/rewrapping.go index 5a878b556..05123e0a1 100644 --- a/internal/credential/static/rewrapping.go +++ b/internal/credential/static/rewrapping.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/credential/static/rewrapping_test.go b/internal/credential/static/rewrapping_test.go index 5cc78cc4e..6cb42150b 100644 --- a/internal/credential/static/rewrapping_test.go +++ b/internal/credential/static/rewrapping_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/credential/static/ssh_private_key_credential.go b/internal/credential/static/ssh_private_key_credential.go index 234c5b89c..39ef5464d 100644 --- a/internal/credential/static/ssh_private_key_credential.go +++ b/internal/credential/static/ssh_private_key_credential.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/credential/static/ssh_private_key_credential_test.go b/internal/credential/static/ssh_private_key_credential_test.go index c06f9f8a3..a29e10ff4 100644 --- a/internal/credential/static/ssh_private_key_credential_test.go +++ b/internal/credential/static/ssh_private_key_credential_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/credential/static/store/static.pb.go b/internal/credential/static/store/static.pb.go index d9da969e4..208c7b6a4 100644 --- a/internal/credential/static/store/static.pb.go +++ b/internal/credential/static/store/static.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/internal/credential/static/testing.go b/internal/credential/static/testing.go index 3dac0ab9c..dc473c16f 100644 --- a/internal/credential/static/testing.go +++ b/internal/credential/static/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/credential/static/testing_test.go b/internal/credential/static/testing_test.go index 55cda86a3..ed38d30a5 100644 --- a/internal/credential/static/testing_test.go +++ b/internal/credential/static/testing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/credential/static/usernamepassword_credential.go b/internal/credential/static/usernamepassword_credential.go index 61f5f498c..a9af288d5 100644 --- a/internal/credential/static/usernamepassword_credential.go +++ b/internal/credential/static/usernamepassword_credential.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/credential/static/usernamepassword_credential_test.go b/internal/credential/static/usernamepassword_credential_test.go index 6f6ca1754..e21b394e7 100644 --- a/internal/credential/static/usernamepassword_credential_test.go +++ b/internal/credential/static/usernamepassword_credential_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/credential/store/credential.pb.go b/internal/credential/store/credential.pb.go index e48cd5c66..c25c8e132 100644 --- a/internal/credential/store/credential.pb.go +++ b/internal/credential/store/credential.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/internal/credential/vault/client_certificate.go b/internal/credential/vault/client_certificate.go index d7c1aed49..476ae61b6 100644 --- a/internal/credential/vault/client_certificate.go +++ b/internal/credential/vault/client_certificate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/client_certificate_test.go b/internal/credential/vault/client_certificate_test.go index 4e2842379..d0928ddb1 100644 --- a/internal/credential/vault/client_certificate_test.go +++ b/internal/credential/vault/client_certificate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/credential.go b/internal/credential/vault/credential.go index 5ca58ece9..1127c5908 100644 --- a/internal/credential/vault/credential.go +++ b/internal/credential/vault/credential.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/credential_library.go b/internal/credential/vault/credential_library.go index 0ad28e091..2448e2961 100644 --- a/internal/credential/vault/credential_library.go +++ b/internal/credential/vault/credential_library.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/credential_library_test.go b/internal/credential/vault/credential_library_test.go index bf380ca50..c55701cb0 100644 --- a/internal/credential/vault/credential_library_test.go +++ b/internal/credential/vault/credential_library_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/credential_store.go b/internal/credential/vault/credential_store.go index 9c2102af2..d01961ace 100644 --- a/internal/credential/vault/credential_store.go +++ b/internal/credential/vault/credential_store.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/credential_store_test.go b/internal/credential/vault/credential_store_test.go index d702792df..352fca96e 100644 --- a/internal/credential/vault/credential_store_test.go +++ b/internal/credential/vault/credential_store_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/credential_test.go b/internal/credential/vault/credential_test.go index 9666d9f4e..bb2d8e32c 100644 --- a/internal/credential/vault/credential_test.go +++ b/internal/credential/vault/credential_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/doc.go b/internal/credential/vault/doc.go index 1fe01d582..17fce612d 100644 --- a/internal/credential/vault/doc.go +++ b/internal/credential/vault/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package vault provides access to credentials retrieved from a Vault // server. package vault diff --git a/internal/credential/vault/docker.go b/internal/credential/vault/docker.go index a6fa244ed..2bca5ae3a 100644 --- a/internal/credential/vault/docker.go +++ b/internal/credential/vault/docker.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import "testing" diff --git a/internal/credential/vault/fields.go b/internal/credential/vault/fields.go index f4e9ec076..3f80ce77f 100644 --- a/internal/credential/vault/fields.go +++ b/internal/credential/vault/fields.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault // These constants are the field names used in the vault related field masks. diff --git a/internal/credential/vault/internal/sshprivatekey/doc.go b/internal/credential/vault/internal/sshprivatekey/doc.go index ef8ad2316..16b593132 100644 --- a/internal/credential/vault/internal/sshprivatekey/doc.go +++ b/internal/credential/vault/internal/sshprivatekey/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package sshprivatekey provides access to the username and ssh private key // stored in a Vault secret. package sshprivatekey diff --git a/internal/credential/vault/internal/sshprivatekey/sshprivatekey.go b/internal/credential/vault/internal/sshprivatekey/sshprivatekey.go index 370c6469a..53e2fe3e4 100644 --- a/internal/credential/vault/internal/sshprivatekey/sshprivatekey.go +++ b/internal/credential/vault/internal/sshprivatekey/sshprivatekey.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sshprivatekey import ( diff --git a/internal/credential/vault/internal/sshprivatekey/sshprivatekey_test.go b/internal/credential/vault/internal/sshprivatekey/sshprivatekey_test.go index d8deac3ce..c7ebb9a3e 100644 --- a/internal/credential/vault/internal/sshprivatekey/sshprivatekey_test.go +++ b/internal/credential/vault/internal/sshprivatekey/sshprivatekey_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sshprivatekey import ( diff --git a/internal/credential/vault/internal/usernamepassword/doc.go b/internal/credential/vault/internal/usernamepassword/doc.go index 4c35eab39..99f9b6ce1 100644 --- a/internal/credential/vault/internal/usernamepassword/doc.go +++ b/internal/credential/vault/internal/usernamepassword/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package usernamepassword provides access to the username and password // stored in a Vault secret. package usernamepassword diff --git a/internal/credential/vault/internal/usernamepassword/usernamepassword.go b/internal/credential/vault/internal/usernamepassword/usernamepassword.go index 7e42bfcd1..b64f37415 100644 --- a/internal/credential/vault/internal/usernamepassword/usernamepassword.go +++ b/internal/credential/vault/internal/usernamepassword/usernamepassword.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package usernamepassword import ( diff --git a/internal/credential/vault/internal/usernamepassword/usernamepassword_test.go b/internal/credential/vault/internal/usernamepassword/usernamepassword_test.go index bcbc44470..ab2e7ec26 100644 --- a/internal/credential/vault/internal/usernamepassword/usernamepassword_test.go +++ b/internal/credential/vault/internal/usernamepassword/usernamepassword_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package usernamepassword import ( diff --git a/internal/credential/vault/jobs.go b/internal/credential/vault/jobs.go index 1ee282df9..9cc6f6c80 100644 --- a/internal/credential/vault/jobs.go +++ b/internal/credential/vault/jobs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/jobs_test.go b/internal/credential/vault/jobs_test.go index 4810f6ec3..bff09c3b0 100644 --- a/internal/credential/vault/jobs_test.go +++ b/internal/credential/vault/jobs_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/mapping_overriders.go b/internal/credential/vault/mapping_overriders.go index 29364cb4a..82eb60e8f 100644 --- a/internal/credential/vault/mapping_overriders.go +++ b/internal/credential/vault/mapping_overriders.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/mapping_overriders_test.go b/internal/credential/vault/mapping_overriders_test.go index 053d9e63a..2ee9d2861 100644 --- a/internal/credential/vault/mapping_overriders_test.go +++ b/internal/credential/vault/mapping_overriders_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/options.go b/internal/credential/vault/options.go index c97a46b78..31fd516b4 100644 --- a/internal/credential/vault/options.go +++ b/internal/credential/vault/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import "github.com/hashicorp/boundary/internal/credential" diff --git a/internal/credential/vault/options_test.go b/internal/credential/vault/options_test.go index 9bce2a38e..680d2364b 100644 --- a/internal/credential/vault/options_test.go +++ b/internal/credential/vault/options_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/private_credential.go b/internal/credential/vault/private_credential.go index bf447fd3c..c71603d70 100644 --- a/internal/credential/vault/private_credential.go +++ b/internal/credential/vault/private_credential.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/private_library.go b/internal/credential/vault/private_library.go index 8b99947d5..b52af5a06 100644 --- a/internal/credential/vault/private_library.go +++ b/internal/credential/vault/private_library.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/private_library_test.go b/internal/credential/vault/private_library_test.go index ed0fff6bf..ef9f5cccc 100644 --- a/internal/credential/vault/private_library_test.go +++ b/internal/credential/vault/private_library_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/private_store.go b/internal/credential/vault/private_store.go index 21086edbd..c28093465 100644 --- a/internal/credential/vault/private_store.go +++ b/internal/credential/vault/private_store.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/private_store_test.go b/internal/credential/vault/private_store_test.go index 0c4581b60..d7e249b57 100644 --- a/internal/credential/vault/private_store_test.go +++ b/internal/credential/vault/private_store_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/public_ids.go b/internal/credential/vault/public_ids.go index 0587c8534..53670136f 100644 --- a/internal/credential/vault/public_ids.go +++ b/internal/credential/vault/public_ids.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/query.go b/internal/credential/vault/query.go index dbbae22b7..91dbe88f5 100644 --- a/internal/credential/vault/query.go +++ b/internal/credential/vault/query.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault const ( diff --git a/internal/credential/vault/repository.go b/internal/credential/vault/repository.go index 1f32016dd..3d2f369b7 100644 --- a/internal/credential/vault/repository.go +++ b/internal/credential/vault/repository.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/repository_credential_library.go b/internal/credential/vault/repository_credential_library.go index 5f39dbe76..1f6dd2799 100644 --- a/internal/credential/vault/repository_credential_library.go +++ b/internal/credential/vault/repository_credential_library.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/repository_credential_library_test.go b/internal/credential/vault/repository_credential_library_test.go index 2c6996508..c16f6c072 100644 --- a/internal/credential/vault/repository_credential_library_test.go +++ b/internal/credential/vault/repository_credential_library_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/repository_credential_store.go b/internal/credential/vault/repository_credential_store.go index 85978782d..f4619a175 100644 --- a/internal/credential/vault/repository_credential_store.go +++ b/internal/credential/vault/repository_credential_store.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/repository_credential_store_test.go b/internal/credential/vault/repository_credential_store_test.go index 10f65be64..9bbf0c3d4 100644 --- a/internal/credential/vault/repository_credential_store_test.go +++ b/internal/credential/vault/repository_credential_store_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/repository_credentials.go b/internal/credential/vault/repository_credentials.go index f84a824d6..67a9b0aa0 100644 --- a/internal/credential/vault/repository_credentials.go +++ b/internal/credential/vault/repository_credentials.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/repository_credentials_test.go b/internal/credential/vault/repository_credentials_test.go index 5fe236f4d..3079ba489 100644 --- a/internal/credential/vault/repository_credentials_test.go +++ b/internal/credential/vault/repository_credentials_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault_test import ( diff --git a/internal/credential/vault/repository_ssh_certificate_credential_library.go b/internal/credential/vault/repository_ssh_certificate_credential_library.go index f26b2ef60..1e48fca4f 100644 --- a/internal/credential/vault/repository_ssh_certificate_credential_library.go +++ b/internal/credential/vault/repository_ssh_certificate_credential_library.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/repository_ssh_certificate_credential_library_test.go b/internal/credential/vault/repository_ssh_certificate_credential_library_test.go index 55898d7b3..df6391ee2 100644 --- a/internal/credential/vault/repository_ssh_certificate_credential_library_test.go +++ b/internal/credential/vault/repository_ssh_certificate_credential_library_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/repository_test.go b/internal/credential/vault/repository_test.go index e3d84e131..cd3b9194d 100644 --- a/internal/credential/vault/repository_test.go +++ b/internal/credential/vault/repository_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/rewrapping.go b/internal/credential/vault/rewrapping.go index c27d83003..8642665e7 100644 --- a/internal/credential/vault/rewrapping.go +++ b/internal/credential/vault/rewrapping.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/rewrapping_test.go b/internal/credential/vault/rewrapping_test.go index 49a61f27d..94a56ae25 100644 --- a/internal/credential/vault/rewrapping_test.go +++ b/internal/credential/vault/rewrapping_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/secret.go b/internal/credential/vault/secret.go index 99be128ae..cb01d27f2 100644 --- a/internal/credential/vault/secret.go +++ b/internal/credential/vault/secret.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/secret_test.go b/internal/credential/vault/secret_test.go index 2dd11211e..dffe253b8 100644 --- a/internal/credential/vault/secret_test.go +++ b/internal/credential/vault/secret_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/setup_manual_test.go b/internal/credential/vault/setup_manual_test.go index def2593c9..b87f076f8 100644 --- a/internal/credential/vault/setup_manual_test.go +++ b/internal/credential/vault/setup_manual_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault_test import ( diff --git a/internal/credential/vault/ssh_certificate_credential_library.go b/internal/credential/vault/ssh_certificate_credential_library.go index 9d78bf5c4..9c33a9fe0 100644 --- a/internal/credential/vault/ssh_certificate_credential_library.go +++ b/internal/credential/vault/ssh_certificate_credential_library.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/store/vault.pb.go b/internal/credential/vault/store/vault.pb.go index 06bd6a14e..b29021e26 100644 --- a/internal/credential/vault/store/vault.pb.go +++ b/internal/credential/vault/store/vault.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/internal/credential/vault/supported.go b/internal/credential/vault/supported.go index 37a8563a0..8c59148d8 100644 --- a/internal/credential/vault/supported.go +++ b/internal/credential/vault/supported.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build linux || darwin || windows // +build linux darwin windows diff --git a/internal/credential/vault/testing.go b/internal/credential/vault/testing.go index acdac4c60..7b9a58d3f 100644 --- a/internal/credential/vault/testing.go +++ b/internal/credential/vault/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/testing_external_test.go b/internal/credential/vault/testing_external_test.go index 610f57384..48addbfde 100644 --- a/internal/credential/vault/testing_external_test.go +++ b/internal/credential/vault/testing_external_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault_test import ( diff --git a/internal/credential/vault/testing_test.go b/internal/credential/vault/testing_test.go index ec2e976f0..fca7ff881 100644 --- a/internal/credential/vault/testing_test.go +++ b/internal/credential/vault/testing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/vault.go b/internal/credential/vault/vault.go index 6a7e21077..3bf1c758d 100644 --- a/internal/credential/vault/vault.go +++ b/internal/credential/vault/vault.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/vault_capabilities.go b/internal/credential/vault/vault_capabilities.go index bcd8228cb..79681ec27 100644 --- a/internal/credential/vault/vault_capabilities.go +++ b/internal/credential/vault/vault_capabilities.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/vault_capabilities_test.go b/internal/credential/vault/vault_capabilities_test.go index fe3e43b75..7d7684c01 100644 --- a/internal/credential/vault/vault_capabilities_test.go +++ b/internal/credential/vault/vault_capabilities_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/vault_test.go b/internal/credential/vault/vault_test.go index 5b199d61c..9b7f3cce2 100644 --- a/internal/credential/vault/vault_test.go +++ b/internal/credential/vault/vault_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/vault_token.go b/internal/credential/vault/vault_token.go index f1687f166..8bb1c461b 100644 --- a/internal/credential/vault/vault_token.go +++ b/internal/credential/vault/vault_token.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/credential/vault/vault_token_test.go b/internal/credential/vault/vault_token_test.go index 106531f67..9d75ce6d5 100644 --- a/internal/credential/vault/vault_token_test.go +++ b/internal/credential/vault/vault_token_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/internal/daemon/cluster/downstreammanager.go b/internal/daemon/cluster/downstreammanager.go index 3c63970d0..83f1195f7 100644 --- a/internal/daemon/cluster/downstreammanager.go +++ b/internal/daemon/cluster/downstreammanager.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/internal/daemon/cluster/downstreammanager_test.go b/internal/daemon/cluster/downstreammanager_test.go index 8ed767e54..0598ee82c 100644 --- a/internal/daemon/cluster/downstreammanager_test.go +++ b/internal/daemon/cluster/downstreammanager_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/internal/daemon/cluster/handlers/multihop_service.go b/internal/daemon/cluster/handlers/multihop_service.go index c6b411913..54aa01250 100644 --- a/internal/daemon/cluster/handlers/multihop_service.go +++ b/internal/daemon/cluster/handlers/multihop_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/daemon/cluster/handlers/worker_service.go b/internal/daemon/cluster/handlers/worker_service.go index a3e55db90..23c3d63cc 100644 --- a/internal/daemon/cluster/handlers/worker_service.go +++ b/internal/daemon/cluster/handlers/worker_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/daemon/cluster/handlers/worker_service_status_test.go b/internal/daemon/cluster/handlers/worker_service_status_test.go index 9e2b94816..8c00818ef 100644 --- a/internal/daemon/cluster/handlers/worker_service_status_test.go +++ b/internal/daemon/cluster/handlers/worker_service_status_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/daemon/cluster/handlers/worker_service_test.go b/internal/daemon/cluster/handlers/worker_service_test.go index ec1f6c961..7bf2905f0 100644 --- a/internal/daemon/cluster/handlers/worker_service_test.go +++ b/internal/daemon/cluster/handlers/worker_service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/daemon/cluster/tracking_listener.go b/internal/daemon/cluster/tracking_listener.go index 2edb08ec7..cecfe8b33 100644 --- a/internal/daemon/cluster/tracking_listener.go +++ b/internal/daemon/cluster/tracking_listener.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/internal/daemon/common/client_ip.go b/internal/daemon/common/client_ip.go index f48180e8a..7c311539a 100644 --- a/internal/daemon/common/client_ip.go +++ b/internal/daemon/common/client_ip.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package common import ( diff --git a/internal/daemon/common/client_ip_test.go b/internal/daemon/common/client_ip_test.go index ef93d2582..9f78f6a37 100644 --- a/internal/daemon/common/client_ip_test.go +++ b/internal/daemon/common/client_ip_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package common import ( diff --git a/internal/daemon/common/const.go b/internal/daemon/common/const.go index df81fd989..0148e0ec3 100644 --- a/internal/daemon/common/const.go +++ b/internal/daemon/common/const.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package common const ( diff --git a/internal/daemon/common/eventing_listener.go b/internal/daemon/common/eventing_listener.go index 105e3d713..6005898d8 100644 --- a/internal/daemon/common/eventing_listener.go +++ b/internal/daemon/common/eventing_listener.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package common import ( diff --git a/internal/daemon/common/handler.go b/internal/daemon/common/handler.go index 944f272b5..f4b747ad8 100644 --- a/internal/daemon/common/handler.go +++ b/internal/daemon/common/handler.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package common import ( diff --git a/internal/daemon/common/handler_test.go b/internal/daemon/common/handler_test.go index 88213c74e..e9b682706 100644 --- a/internal/daemon/common/handler_test.go +++ b/internal/daemon/common/handler_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package common import ( diff --git a/internal/daemon/common/worker_list.go b/internal/daemon/common/worker_list.go index 2ba6e53ca..6763991d0 100644 --- a/internal/daemon/common/worker_list.go +++ b/internal/daemon/common/worker_list.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package common import ( diff --git a/internal/daemon/controller/auth/auth.go b/internal/daemon/controller/auth/auth.go index df55d792e..98b136d71 100644 --- a/internal/daemon/controller/auth/auth.go +++ b/internal/daemon/controller/auth/auth.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package auth import ( diff --git a/internal/daemon/controller/auth/auth_test.go b/internal/daemon/controller/auth/auth_test.go index 45d0a8586..98b17a703 100644 --- a/internal/daemon/controller/auth/auth_test.go +++ b/internal/daemon/controller/auth/auth_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package auth import ( diff --git a/internal/daemon/controller/auth/authorized_actions.go b/internal/daemon/controller/auth/authorized_actions.go index 8241e42f0..c7032b35f 100644 --- a/internal/daemon/controller/auth/authorized_actions.go +++ b/internal/daemon/controller/auth/authorized_actions.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package auth import ( diff --git a/internal/daemon/controller/auth/option.go b/internal/daemon/controller/auth/option.go index 939a2f0d0..2621bd13c 100644 --- a/internal/daemon/controller/auth/option.go +++ b/internal/daemon/controller/auth/option.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package auth import ( diff --git a/internal/daemon/controller/auth/options_test.go b/internal/daemon/controller/auth/options_test.go index 4f26d994e..7dbc209b8 100644 --- a/internal/daemon/controller/auth/options_test.go +++ b/internal/daemon/controller/auth/options_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package auth import ( diff --git a/internal/daemon/controller/auth/testing.go b/internal/daemon/controller/auth/testing.go index 6c4bd8952..44687d9b2 100644 --- a/internal/daemon/controller/auth/testing.go +++ b/internal/daemon/controller/auth/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package auth import ( diff --git a/internal/daemon/controller/common/common.go b/internal/daemon/controller/common/common.go index 3429d311e..0b2c6e20e 100644 --- a/internal/daemon/controller/common/common.go +++ b/internal/daemon/controller/common/common.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package common import ( diff --git a/internal/daemon/controller/common/doc.go b/internal/daemon/controller/common/doc.go index 943d8fa7e..9c7bdc947 100644 --- a/internal/daemon/controller/common/doc.go +++ b/internal/daemon/controller/common/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package common contains types and helper functions that are used across the different packages under // internal/server/controller. package common diff --git a/internal/daemon/controller/common/scopeids/scope_ids.go b/internal/daemon/controller/common/scopeids/scope_ids.go index 3919d7a54..824225b0f 100644 --- a/internal/daemon/controller/common/scopeids/scope_ids.go +++ b/internal/daemon/controller/common/scopeids/scope_ids.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scopeids import ( diff --git a/internal/daemon/controller/common/scopeids/scope_ids_test.go b/internal/daemon/controller/common/scopeids/scope_ids_test.go index 5c424e8df..663ff9935 100644 --- a/internal/daemon/controller/common/scopeids/scope_ids_test.go +++ b/internal/daemon/controller/common/scopeids/scope_ids_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scopeids_test import ( diff --git a/internal/daemon/controller/config.go b/internal/daemon/controller/config.go index 9af7a5c04..865e4767f 100644 --- a/internal/daemon/controller/config.go +++ b/internal/daemon/controller/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/internal/daemon/controller/controller.go b/internal/daemon/controller/controller.go index d4e743725..f50fd9146 100644 --- a/internal/daemon/controller/controller.go +++ b/internal/daemon/controller/controller.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/internal/daemon/controller/controller_test.go b/internal/daemon/controller/controller_test.go index dcfd33028..2f85393e2 100644 --- a/internal/daemon/controller/controller_test.go +++ b/internal/daemon/controller/controller_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/internal/daemon/controller/cors_test.go b/internal/daemon/controller/cors_test.go index 795ee5d21..52e6922e3 100644 --- a/internal/daemon/controller/cors_test.go +++ b/internal/daemon/controller/cors_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/internal/daemon/controller/gateway.go b/internal/daemon/controller/gateway.go index 15b5a8716..e8fc02d6c 100644 --- a/internal/daemon/controller/gateway.go +++ b/internal/daemon/controller/gateway.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/internal/daemon/controller/handler.go b/internal/daemon/controller/handler.go index d8d18c059..60529c976 100644 --- a/internal/daemon/controller/handler.go +++ b/internal/daemon/controller/handler.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/internal/daemon/controller/handler_noui.go b/internal/daemon/controller/handler_noui.go index 1c7ef9e32..8c40d2e0a 100644 --- a/internal/daemon/controller/handler_noui.go +++ b/internal/daemon/controller/handler_noui.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/internal/daemon/controller/handler_test.go b/internal/daemon/controller/handler_test.go index 4ca71eb29..0aa2e8a59 100644 --- a/internal/daemon/controller/handler_test.go +++ b/internal/daemon/controller/handler_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/internal/daemon/controller/handler_ui.go b/internal/daemon/controller/handler_ui.go index a174dfd99..a8de878f8 100644 --- a/internal/daemon/controller/handler_ui.go +++ b/internal/daemon/controller/handler_ui.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build ui // +build ui diff --git a/internal/daemon/controller/handler_ui_test.go b/internal/daemon/controller/handler_ui_test.go index 7dace8468..4b927ca23 100644 --- a/internal/daemon/controller/handler_ui_test.go +++ b/internal/daemon/controller/handler_ui_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build ui // +build ui diff --git a/internal/daemon/controller/handlers/accounts/account_service.go b/internal/daemon/controller/handlers/accounts/account_service.go index e20dd4713..1ad5ea4a0 100644 --- a/internal/daemon/controller/handlers/accounts/account_service.go +++ b/internal/daemon/controller/handlers/accounts/account_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package accounts import ( diff --git a/internal/daemon/controller/handlers/accounts/account_service_test.go b/internal/daemon/controller/handlers/accounts/account_service_test.go index 49c1046d7..5cb4740d2 100644 --- a/internal/daemon/controller/handlers/accounts/account_service_test.go +++ b/internal/daemon/controller/handlers/accounts/account_service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package accounts_test import ( diff --git a/internal/daemon/controller/handlers/accounts/validate_test.go b/internal/daemon/controller/handlers/accounts/validate_test.go index 8c55b495a..a98ca80f0 100644 --- a/internal/daemon/controller/handlers/accounts/validate_test.go +++ b/internal/daemon/controller/handlers/accounts/validate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package accounts import ( diff --git a/internal/daemon/controller/handlers/authmethods/authmethod_service.go b/internal/daemon/controller/handlers/authmethods/authmethod_service.go index bc34cbc97..11284b9c8 100644 --- a/internal/daemon/controller/handlers/authmethods/authmethod_service.go +++ b/internal/daemon/controller/handlers/authmethods/authmethod_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethods import ( diff --git a/internal/daemon/controller/handlers/authmethods/authmethod_service_test.go b/internal/daemon/controller/handlers/authmethods/authmethod_service_test.go index b723b4259..45b2d68fe 100644 --- a/internal/daemon/controller/handlers/authmethods/authmethod_service_test.go +++ b/internal/daemon/controller/handlers/authmethods/authmethod_service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethods_test import ( diff --git a/internal/daemon/controller/handlers/authmethods/authmethod_test.go b/internal/daemon/controller/handlers/authmethods/authmethod_test.go index 4975da374..1de49ff8e 100644 --- a/internal/daemon/controller/handlers/authmethods/authmethod_test.go +++ b/internal/daemon/controller/handlers/authmethods/authmethod_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethods import ( diff --git a/internal/daemon/controller/handlers/authmethods/oidc.go b/internal/daemon/controller/handlers/authmethods/oidc.go index 87df9bfe3..066310a78 100644 --- a/internal/daemon/controller/handlers/authmethods/oidc.go +++ b/internal/daemon/controller/handlers/authmethods/oidc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethods import ( diff --git a/internal/daemon/controller/handlers/authmethods/oidc_test.go b/internal/daemon/controller/handlers/authmethods/oidc_test.go index b93bacb6a..7635548e1 100644 --- a/internal/daemon/controller/handlers/authmethods/oidc_test.go +++ b/internal/daemon/controller/handlers/authmethods/oidc_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethods_test import ( diff --git a/internal/daemon/controller/handlers/authmethods/password.go b/internal/daemon/controller/handlers/authmethods/password.go index f7904aa79..f710a0e86 100644 --- a/internal/daemon/controller/handlers/authmethods/password.go +++ b/internal/daemon/controller/handlers/authmethods/password.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethods import ( diff --git a/internal/daemon/controller/handlers/authmethods/password_test.go b/internal/daemon/controller/handlers/authmethods/password_test.go index 3f1688fb4..5c35fad02 100644 --- a/internal/daemon/controller/handlers/authmethods/password_test.go +++ b/internal/daemon/controller/handlers/authmethods/password_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethods_test import ( diff --git a/internal/daemon/controller/handlers/authtokens/authtoken_service.go b/internal/daemon/controller/handlers/authtokens/authtoken_service.go index 377b58951..63792bded 100644 --- a/internal/daemon/controller/handlers/authtokens/authtoken_service.go +++ b/internal/daemon/controller/handlers/authtokens/authtoken_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authtokens import ( diff --git a/internal/daemon/controller/handlers/authtokens/authtoken_service_test.go b/internal/daemon/controller/handlers/authtokens/authtoken_service_test.go index 38ee7c87a..00ff50236 100644 --- a/internal/daemon/controller/handlers/authtokens/authtoken_service_test.go +++ b/internal/daemon/controller/handlers/authtokens/authtoken_service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authtokens_test import ( diff --git a/internal/daemon/controller/handlers/credentiallibraries/credentiallibrary_service.go b/internal/daemon/controller/handlers/credentiallibraries/credentiallibrary_service.go index ab676ea6f..45cd80156 100644 --- a/internal/daemon/controller/handlers/credentiallibraries/credentiallibrary_service.go +++ b/internal/daemon/controller/handlers/credentiallibraries/credentiallibrary_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentiallibraries import ( diff --git a/internal/daemon/controller/handlers/credentiallibraries/credentiallibrary_service_test.go b/internal/daemon/controller/handlers/credentiallibraries/credentiallibrary_service_test.go index 941220285..36d953b29 100644 --- a/internal/daemon/controller/handlers/credentiallibraries/credentiallibrary_service_test.go +++ b/internal/daemon/controller/handlers/credentiallibraries/credentiallibrary_service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentiallibraries import ( diff --git a/internal/daemon/controller/handlers/credentials/credential_service.go b/internal/daemon/controller/handlers/credentials/credential_service.go index f57826c08..fd5d8702e 100644 --- a/internal/daemon/controller/handlers/credentials/credential_service.go +++ b/internal/daemon/controller/handlers/credentials/credential_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentials import ( diff --git a/internal/daemon/controller/handlers/credentials/credential_service_test.go b/internal/daemon/controller/handlers/credentials/credential_service_test.go index 21fa69b0f..56670133e 100644 --- a/internal/daemon/controller/handlers/credentials/credential_service_test.go +++ b/internal/daemon/controller/handlers/credentials/credential_service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentials import ( diff --git a/internal/daemon/controller/handlers/credentialstores/credentialstore_service.go b/internal/daemon/controller/handlers/credentialstores/credentialstore_service.go index c0f91eccf..6c406e0d7 100644 --- a/internal/daemon/controller/handlers/credentialstores/credentialstore_service.go +++ b/internal/daemon/controller/handlers/credentialstores/credentialstore_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialstores import ( diff --git a/internal/daemon/controller/handlers/credentialstores/credentialstore_service_test.go b/internal/daemon/controller/handlers/credentialstores/credentialstore_service_test.go index 8086b37c9..61c035431 100644 --- a/internal/daemon/controller/handlers/credentialstores/credentialstore_service_test.go +++ b/internal/daemon/controller/handlers/credentialstores/credentialstore_service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialstores import ( diff --git a/internal/daemon/controller/handlers/credentialstores/vault.go b/internal/daemon/controller/handlers/credentialstores/vault.go index 3599c2041..ed818bac8 100644 --- a/internal/daemon/controller/handlers/credentialstores/vault.go +++ b/internal/daemon/controller/handlers/credentialstores/vault.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialstores import ( diff --git a/internal/daemon/controller/handlers/credentialstores/vault_test.go b/internal/daemon/controller/handlers/credentialstores/vault_test.go index 53b2733e4..7de419caa 100644 --- a/internal/daemon/controller/handlers/credentialstores/vault_test.go +++ b/internal/daemon/controller/handlers/credentialstores/vault_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialstores import ( diff --git a/internal/daemon/controller/handlers/errors.go b/internal/daemon/controller/handlers/errors.go index 4b89d2e12..71c3b8e90 100644 --- a/internal/daemon/controller/handlers/errors.go +++ b/internal/daemon/controller/handlers/errors.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/daemon/controller/handlers/errors_test.go b/internal/daemon/controller/handlers/errors_test.go index f76a1a51b..5b5ed81fc 100644 --- a/internal/daemon/controller/handlers/errors_test.go +++ b/internal/daemon/controller/handlers/errors_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/daemon/controller/handlers/filtering.go b/internal/daemon/controller/handlers/filtering.go index df0d09e2f..210516806 100644 --- a/internal/daemon/controller/handlers/filtering.go +++ b/internal/daemon/controller/handlers/filtering.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/daemon/controller/handlers/filtering_test.go b/internal/daemon/controller/handlers/filtering_test.go index 1b3e89043..f94496f71 100644 --- a/internal/daemon/controller/handlers/filtering_test.go +++ b/internal/daemon/controller/handlers/filtering_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/daemon/controller/handlers/groups/group_service.go b/internal/daemon/controller/handlers/groups/group_service.go index f820ed588..2d06ef956 100644 --- a/internal/daemon/controller/handlers/groups/group_service.go +++ b/internal/daemon/controller/handlers/groups/group_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package groups import ( diff --git a/internal/daemon/controller/handlers/groups/group_service_test.go b/internal/daemon/controller/handlers/groups/group_service_test.go index 30fcd1299..aca1694c3 100644 --- a/internal/daemon/controller/handlers/groups/group_service_test.go +++ b/internal/daemon/controller/handlers/groups/group_service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package groups_test import ( diff --git a/internal/daemon/controller/handlers/health/health.go b/internal/daemon/controller/handlers/health/health.go index cb2582ed2..5da8b2ae8 100644 --- a/internal/daemon/controller/handlers/health/health.go +++ b/internal/daemon/controller/handlers/health/health.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package health import ( diff --git a/internal/daemon/controller/handlers/health/health_test.go b/internal/daemon/controller/handlers/health/health_test.go index bbb1f7891..7a70c7d25 100644 --- a/internal/daemon/controller/handlers/health/health_test.go +++ b/internal/daemon/controller/handlers/health/health_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package health import ( diff --git a/internal/daemon/controller/handlers/host_catalogs/host_catalog_service.go b/internal/daemon/controller/handlers/host_catalogs/host_catalog_service.go index bab1a9341..3e051faab 100644 --- a/internal/daemon/controller/handlers/host_catalogs/host_catalog_service.go +++ b/internal/daemon/controller/handlers/host_catalogs/host_catalog_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host_catalogs import ( diff --git a/internal/daemon/controller/handlers/host_catalogs/host_catalog_service_test.go b/internal/daemon/controller/handlers/host_catalogs/host_catalog_service_test.go index 463f2a6e4..9554a0eb5 100644 --- a/internal/daemon/controller/handlers/host_catalogs/host_catalog_service_test.go +++ b/internal/daemon/controller/handlers/host_catalogs/host_catalog_service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host_catalogs_test import ( diff --git a/internal/daemon/controller/handlers/host_sets/host_set_service.go b/internal/daemon/controller/handlers/host_sets/host_set_service.go index 95c2dd2df..c45bc78ed 100644 --- a/internal/daemon/controller/handlers/host_sets/host_set_service.go +++ b/internal/daemon/controller/handlers/host_sets/host_set_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host_sets import ( diff --git a/internal/daemon/controller/handlers/host_sets/host_set_service_test.go b/internal/daemon/controller/handlers/host_sets/host_set_service_test.go index 1ae23c9f2..88ddc8510 100644 --- a/internal/daemon/controller/handlers/host_sets/host_set_service_test.go +++ b/internal/daemon/controller/handlers/host_sets/host_set_service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host_sets_test import ( diff --git a/internal/daemon/controller/handlers/hosts/host_service.go b/internal/daemon/controller/handlers/hosts/host_service.go index 89a339cd8..5c7d3bb3d 100644 --- a/internal/daemon/controller/handlers/hosts/host_service.go +++ b/internal/daemon/controller/handlers/hosts/host_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hosts import ( diff --git a/internal/daemon/controller/handlers/hosts/host_service_test.go b/internal/daemon/controller/handlers/hosts/host_service_test.go index 6ea534a52..1a6d8b253 100644 --- a/internal/daemon/controller/handlers/hosts/host_service_test.go +++ b/internal/daemon/controller/handlers/hosts/host_service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hosts_test import ( diff --git a/internal/daemon/controller/handlers/managed_groups/managed_group_service.go b/internal/daemon/controller/handlers/managed_groups/managed_group_service.go index 40dc945d7..7c1bec2a8 100644 --- a/internal/daemon/controller/handlers/managed_groups/managed_group_service.go +++ b/internal/daemon/controller/handlers/managed_groups/managed_group_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package managed_groups import ( diff --git a/internal/daemon/controller/handlers/managed_groups/managed_group_service_test.go b/internal/daemon/controller/handlers/managed_groups/managed_group_service_test.go index f95aba2a0..78e1c945d 100644 --- a/internal/daemon/controller/handlers/managed_groups/managed_group_service_test.go +++ b/internal/daemon/controller/handlers/managed_groups/managed_group_service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package managed_groups_test import ( diff --git a/internal/daemon/controller/handlers/managed_groups/validate_test.go b/internal/daemon/controller/handlers/managed_groups/validate_test.go index 958f3c64b..6f4881b4d 100644 --- a/internal/daemon/controller/handlers/managed_groups/validate_test.go +++ b/internal/daemon/controller/handlers/managed_groups/validate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package managed_groups import ( diff --git a/internal/daemon/controller/handlers/marshler.go b/internal/daemon/controller/handlers/marshler.go index 50e21fc79..8cfa72d5d 100644 --- a/internal/daemon/controller/handlers/marshler.go +++ b/internal/daemon/controller/handlers/marshler.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/daemon/controller/handlers/mask_manager.go b/internal/daemon/controller/handlers/mask_manager.go index ef3f9d26a..f19cf25a3 100644 --- a/internal/daemon/controller/handlers/mask_manager.go +++ b/internal/daemon/controller/handlers/mask_manager.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/daemon/controller/handlers/mask_manager_test.go b/internal/daemon/controller/handlers/mask_manager_test.go index a0638be73..195495c2f 100644 --- a/internal/daemon/controller/handlers/mask_manager_test.go +++ b/internal/daemon/controller/handlers/mask_manager_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/daemon/controller/handlers/option_test.go b/internal/daemon/controller/handlers/option_test.go index 10b6c84ee..4ac277613 100644 --- a/internal/daemon/controller/handlers/option_test.go +++ b/internal/daemon/controller/handlers/option_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/daemon/controller/handlers/options.go b/internal/daemon/controller/handlers/options.go index 7d757da06..19d3fbd00 100644 --- a/internal/daemon/controller/handlers/options.go +++ b/internal/daemon/controller/handlers/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/daemon/controller/handlers/outgoing_response_filter.go b/internal/daemon/controller/handlers/outgoing_response_filter.go index cbe4a452e..64158aad1 100644 --- a/internal/daemon/controller/handlers/outgoing_response_filter.go +++ b/internal/daemon/controller/handlers/outgoing_response_filter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/daemon/controller/handlers/outgoing_response_filter_test.go b/internal/daemon/controller/handlers/outgoing_response_filter_test.go index e6fbff269..da9bd0be1 100644 --- a/internal/daemon/controller/handlers/outgoing_response_filter_test.go +++ b/internal/daemon/controller/handlers/outgoing_response_filter_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/daemon/controller/handlers/roles/role_service.go b/internal/daemon/controller/handlers/roles/role_service.go index 75de293cc..d3e609bbc 100644 --- a/internal/daemon/controller/handlers/roles/role_service.go +++ b/internal/daemon/controller/handlers/roles/role_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package roles import ( diff --git a/internal/daemon/controller/handlers/roles/role_service_test.go b/internal/daemon/controller/handlers/roles/role_service_test.go index e8b68c749..99d2c1b49 100644 --- a/internal/daemon/controller/handlers/roles/role_service_test.go +++ b/internal/daemon/controller/handlers/roles/role_service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package roles_test import ( diff --git a/internal/daemon/controller/handlers/scopes/scope_service.go b/internal/daemon/controller/handlers/scopes/scope_service.go index 370e07b7f..bdaa79d35 100644 --- a/internal/daemon/controller/handlers/scopes/scope_service.go +++ b/internal/daemon/controller/handlers/scopes/scope_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scopes import ( diff --git a/internal/daemon/controller/handlers/scopes/scope_service_test.go b/internal/daemon/controller/handlers/scopes/scope_service_test.go index 44495f727..5ff5f2ff8 100644 --- a/internal/daemon/controller/handlers/scopes/scope_service_test.go +++ b/internal/daemon/controller/handlers/scopes/scope_service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scopes_test import ( diff --git a/internal/daemon/controller/handlers/sessions/session_list_benchmarks_test.go b/internal/daemon/controller/handlers/sessions/session_list_benchmarks_test.go index 81c079f25..6cb96e6b3 100644 --- a/internal/daemon/controller/handlers/sessions/session_list_benchmarks_test.go +++ b/internal/daemon/controller/handlers/sessions/session_list_benchmarks_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sessions_test import ( diff --git a/internal/daemon/controller/handlers/sessions/session_service.go b/internal/daemon/controller/handlers/sessions/session_service.go index 32f6e375c..68a08221e 100644 --- a/internal/daemon/controller/handlers/sessions/session_service.go +++ b/internal/daemon/controller/handlers/sessions/session_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sessions import ( diff --git a/internal/daemon/controller/handlers/sessions/session_service_test.go b/internal/daemon/controller/handlers/sessions/session_service_test.go index 0ef67a751..62227da2e 100644 --- a/internal/daemon/controller/handlers/sessions/session_service_test.go +++ b/internal/daemon/controller/handlers/sessions/session_service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sessions_test import ( diff --git a/internal/daemon/controller/handlers/subtypes.go b/internal/daemon/controller/handlers/subtypes.go index c5261cdad..17a67a107 100644 --- a/internal/daemon/controller/handlers/subtypes.go +++ b/internal/daemon/controller/handlers/subtypes.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/daemon/controller/handlers/subtypes_test.go b/internal/daemon/controller/handlers/subtypes_test.go index 6c302642c..e0dc7b33e 100644 --- a/internal/daemon/controller/handlers/subtypes_test.go +++ b/internal/daemon/controller/handlers/subtypes_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/daemon/controller/handlers/targets/credentials.go b/internal/daemon/controller/handlers/targets/credentials.go index ad8f1184c..ef1b73d19 100644 --- a/internal/daemon/controller/handlers/targets/credentials.go +++ b/internal/daemon/controller/handlers/targets/credentials.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targets import ( diff --git a/internal/daemon/controller/handlers/targets/registry.go b/internal/daemon/controller/handlers/targets/registry.go index 6e26dfab5..3ca943f5f 100644 --- a/internal/daemon/controller/handlers/targets/registry.go +++ b/internal/daemon/controller/handlers/targets/registry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targets import ( diff --git a/internal/daemon/controller/handlers/targets/target_service.go b/internal/daemon/controller/handlers/targets/target_service.go index e44010c08..5fe6d0760 100644 --- a/internal/daemon/controller/handlers/targets/target_service.go +++ b/internal/daemon/controller/handlers/targets/target_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targets import ( diff --git a/internal/daemon/controller/handlers/targets/target_service_test.go b/internal/daemon/controller/handlers/targets/target_service_test.go index b8e8a8d87..33c908baf 100644 --- a/internal/daemon/controller/handlers/targets/target_service_test.go +++ b/internal/daemon/controller/handlers/targets/target_service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targets import ( diff --git a/internal/daemon/controller/handlers/targets/tcp/target_service_test.go b/internal/daemon/controller/handlers/targets/tcp/target_service_test.go index 63ec28b42..913d48ef1 100644 --- a/internal/daemon/controller/handlers/targets/tcp/target_service_test.go +++ b/internal/daemon/controller/handlers/targets/tcp/target_service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tcp_test import ( diff --git a/internal/daemon/controller/handlers/targets/tcp/tcp.go b/internal/daemon/controller/handlers/targets/tcp/tcp.go index e3968bdcd..c71553919 100644 --- a/internal/daemon/controller/handlers/targets/tcp/tcp.go +++ b/internal/daemon/controller/handlers/targets/tcp/tcp.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tcp import ( diff --git a/internal/daemon/controller/handlers/targets/testing.go b/internal/daemon/controller/handlers/targets/testing.go index 342c08fcd..c5deb0674 100644 --- a/internal/daemon/controller/handlers/targets/testing.go +++ b/internal/daemon/controller/handlers/targets/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targets import "testing" diff --git a/internal/daemon/controller/handlers/users/user_service.go b/internal/daemon/controller/handlers/users/user_service.go index 2f6ad5ab6..8be5a3229 100644 --- a/internal/daemon/controller/handlers/users/user_service.go +++ b/internal/daemon/controller/handlers/users/user_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package users import ( diff --git a/internal/daemon/controller/handlers/users/user_service_test.go b/internal/daemon/controller/handlers/users/user_service_test.go index 19625ae24..24a902467 100644 --- a/internal/daemon/controller/handlers/users/user_service_test.go +++ b/internal/daemon/controller/handlers/users/user_service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package users_test import ( diff --git a/internal/daemon/controller/handlers/verifiers.go b/internal/daemon/controller/handlers/verifiers.go index fd9577667..7cd747c40 100644 --- a/internal/daemon/controller/handlers/verifiers.go +++ b/internal/daemon/controller/handlers/verifiers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/daemon/controller/handlers/verifiers_test.go b/internal/daemon/controller/handlers/verifiers_test.go index 7fd291b12..802a0008c 100644 --- a/internal/daemon/controller/handlers/verifiers_test.go +++ b/internal/daemon/controller/handlers/verifiers_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/daemon/controller/handlers/workers/worker_service.go b/internal/daemon/controller/handlers/workers/worker_service.go index 289a281d1..b9241778a 100644 --- a/internal/daemon/controller/handlers/workers/worker_service.go +++ b/internal/daemon/controller/handlers/workers/worker_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package workers import ( diff --git a/internal/daemon/controller/handlers/workers/worker_service_test.go b/internal/daemon/controller/handlers/workers/worker_service_test.go index 21c23ed77..dabc1c007 100644 --- a/internal/daemon/controller/handlers/workers/worker_service_test.go +++ b/internal/daemon/controller/handlers/workers/worker_service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package workers import ( diff --git a/internal/daemon/controller/interceptor.go b/internal/daemon/controller/interceptor.go index 002980a60..a221c188a 100644 --- a/internal/daemon/controller/interceptor.go +++ b/internal/daemon/controller/interceptor.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/internal/daemon/controller/interceptor_test.go b/internal/daemon/controller/interceptor_test.go index b51df7565..adff98b60 100644 --- a/internal/daemon/controller/interceptor_test.go +++ b/internal/daemon/controller/interceptor_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/internal/daemon/controller/internal/metric/api.go b/internal/daemon/controller/internal/metric/api.go index 8307c47b0..b56a07990 100644 --- a/internal/daemon/controller/internal/metric/api.go +++ b/internal/daemon/controller/internal/metric/api.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package metric provides functions to initialize the controller specific // collectors and hooks to measure metrics and update the relevant collectors. package metric diff --git a/internal/daemon/controller/internal/metric/api_test.go b/internal/daemon/controller/internal/metric/api_test.go index bbb94f518..902f599a4 100644 --- a/internal/daemon/controller/internal/metric/api_test.go +++ b/internal/daemon/controller/internal/metric/api_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metric import ( diff --git a/internal/daemon/controller/internal/metric/cluster.go b/internal/daemon/controller/internal/metric/cluster.go index 70840edfc..056a26e31 100644 --- a/internal/daemon/controller/internal/metric/cluster.go +++ b/internal/daemon/controller/internal/metric/cluster.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metric import ( diff --git a/internal/daemon/controller/kms_conn_router.go b/internal/daemon/controller/kms_conn_router.go index 0ba19a050..a6f264cd3 100644 --- a/internal/daemon/controller/kms_conn_router.go +++ b/internal/daemon/controller/kms_conn_router.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/internal/daemon/controller/listeners.go b/internal/daemon/controller/listeners.go index e363bf82a..f83217754 100644 --- a/internal/daemon/controller/listeners.go +++ b/internal/daemon/controller/listeners.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/internal/daemon/controller/listeners_test.go b/internal/daemon/controller/listeners_test.go index de7f867ed..b11781c7a 100644 --- a/internal/daemon/controller/listeners_test.go +++ b/internal/daemon/controller/listeners_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/internal/daemon/controller/multi_test.go b/internal/daemon/controller/multi_test.go index e15e78c71..d003ffbda 100644 --- a/internal/daemon/controller/multi_test.go +++ b/internal/daemon/controller/multi_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller_test import ( diff --git a/internal/daemon/controller/rewrapping_test.go b/internal/daemon/controller/rewrapping_test.go index 21ce5e556..89e9b804b 100644 --- a/internal/daemon/controller/rewrapping_test.go +++ b/internal/daemon/controller/rewrapping_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/internal/daemon/controller/rpc_registration.go b/internal/daemon/controller/rpc_registration.go index 257b6b178..544642d16 100644 --- a/internal/daemon/controller/rpc_registration.go +++ b/internal/daemon/controller/rpc_registration.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/internal/daemon/controller/testing.go b/internal/daemon/controller/testing.go index 6df00fb47..0ff6b5a93 100644 --- a/internal/daemon/controller/testing.go +++ b/internal/daemon/controller/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/internal/daemon/controller/testing_test.go b/internal/daemon/controller/testing_test.go index b699ac88e..03d74ad44 100644 --- a/internal/daemon/controller/testing_test.go +++ b/internal/daemon/controller/testing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/internal/daemon/controller/tickers.go b/internal/daemon/controller/tickers.go index af663b23c..7e887d245 100644 --- a/internal/daemon/controller/tickers.go +++ b/internal/daemon/controller/tickers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/internal/daemon/controller/worker_tls_config.go b/internal/daemon/controller/worker_tls_config.go index cbbaaf5d2..8646433c5 100644 --- a/internal/daemon/controller/worker_tls_config.go +++ b/internal/daemon/controller/worker_tls_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/internal/daemon/metric/initialize_metrics.go b/internal/daemon/metric/initialize_metrics.go index 177988f85..d06727755 100644 --- a/internal/daemon/metric/initialize_metrics.go +++ b/internal/daemon/metric/initialize_metrics.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package metric provides functions to initialize the controller specific // collectors and hooks to measure metrics and update the relevant collectors. package metric diff --git a/internal/daemon/metric/initialize_metrics_test.go b/internal/daemon/metric/initialize_metrics_test.go index c4ddd3339..f4b9a8e1e 100644 --- a/internal/daemon/metric/initialize_metrics_test.go +++ b/internal/daemon/metric/initialize_metrics_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metric import ( diff --git a/internal/daemon/metric/instrument_handlers.go b/internal/daemon/metric/instrument_handlers.go index 307ec409a..056020e68 100644 --- a/internal/daemon/metric/instrument_handlers.go +++ b/internal/daemon/metric/instrument_handlers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package metric provides functions to initialize the controller specific // collectors and hooks to measure metrics and update the relevant collectors. package metric diff --git a/internal/daemon/metric/instrument_handlers_test.go b/internal/daemon/metric/instrument_handlers_test.go index b562828e3..c7a24144e 100644 --- a/internal/daemon/metric/instrument_handlers_test.go +++ b/internal/daemon/metric/instrument_handlers_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metric import ( diff --git a/internal/daemon/metric/testing.go b/internal/daemon/metric/testing.go index 5e40311f0..aa556a3cb 100644 --- a/internal/daemon/metric/testing.go +++ b/internal/daemon/metric/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metric import ( diff --git a/internal/daemon/worker/addressreceiver.go b/internal/daemon/worker/addressreceiver.go index 6444bb596..d910318f8 100644 --- a/internal/daemon/worker/addressreceiver.go +++ b/internal/daemon/worker/addressreceiver.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package worker import ( diff --git a/internal/daemon/worker/auth_rotation.go b/internal/daemon/worker/auth_rotation.go index 3f1ac929a..6ee978893 100644 --- a/internal/daemon/worker/auth_rotation.go +++ b/internal/daemon/worker/auth_rotation.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package worker import ( diff --git a/internal/daemon/worker/auth_rotation_test.go b/internal/daemon/worker/auth_rotation_test.go index cf3109075..9d8922065 100644 --- a/internal/daemon/worker/auth_rotation_test.go +++ b/internal/daemon/worker/auth_rotation_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package worker_test import ( diff --git a/internal/daemon/worker/common/common.go b/internal/daemon/worker/common/common.go index eb091ab0f..2f9d10c96 100644 --- a/internal/daemon/worker/common/common.go +++ b/internal/daemon/worker/common/common.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package common import ( diff --git a/internal/daemon/worker/common/doc.go b/internal/daemon/worker/common/doc.go index ef082cb74..51c6808b8 100644 --- a/internal/daemon/worker/common/doc.go +++ b/internal/daemon/worker/common/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package common contains types and helper functions that are used across the different packages under // internal/server/worker. package common diff --git a/internal/daemon/worker/config.go b/internal/daemon/worker/config.go index 0c0ecd97a..8b0e5e362 100644 --- a/internal/daemon/worker/config.go +++ b/internal/daemon/worker/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package worker import ( diff --git a/internal/daemon/worker/controller_connection.go b/internal/daemon/worker/controller_connection.go index c55d29e60..481621dc6 100644 --- a/internal/daemon/worker/controller_connection.go +++ b/internal/daemon/worker/controller_connection.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package worker import ( diff --git a/internal/daemon/worker/countingconn.go b/internal/daemon/worker/countingconn.go index de0260e57..bf230f77c 100644 --- a/internal/daemon/worker/countingconn.go +++ b/internal/daemon/worker/countingconn.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package worker import ( diff --git a/internal/daemon/worker/countingconn_test.go b/internal/daemon/worker/countingconn_test.go index 6e4f02b3f..20c8b2086 100644 --- a/internal/daemon/worker/countingconn_test.go +++ b/internal/daemon/worker/countingconn_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package worker import ( diff --git a/internal/daemon/worker/handler.go b/internal/daemon/worker/handler.go index 7f4d2d0d9..655ba85b2 100644 --- a/internal/daemon/worker/handler.go +++ b/internal/daemon/worker/handler.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package worker import ( diff --git a/internal/daemon/worker/health.go b/internal/daemon/worker/health.go index ed0938b8c..5025f86b3 100644 --- a/internal/daemon/worker/health.go +++ b/internal/daemon/worker/health.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package worker import ( diff --git a/internal/daemon/worker/health_test.go b/internal/daemon/worker/health_test.go index 03c123f27..fab2f439e 100644 --- a/internal/daemon/worker/health_test.go +++ b/internal/daemon/worker/health_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package worker import ( diff --git a/internal/daemon/worker/internal/metric/cluster_client.go b/internal/daemon/worker/internal/metric/cluster_client.go index 392819b1d..4ca10fcf1 100644 --- a/internal/daemon/worker/internal/metric/cluster_client.go +++ b/internal/daemon/worker/internal/metric/cluster_client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metric import ( diff --git a/internal/daemon/worker/internal/metric/cluster_client_test.go b/internal/daemon/worker/internal/metric/cluster_client_test.go index e6f35d44b..40debbc9b 100644 --- a/internal/daemon/worker/internal/metric/cluster_client_test.go +++ b/internal/daemon/worker/internal/metric/cluster_client_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metric import ( diff --git a/internal/daemon/worker/internal/metric/cluster_server.go b/internal/daemon/worker/internal/metric/cluster_server.go index 30f165cef..0cda3fd3c 100644 --- a/internal/daemon/worker/internal/metric/cluster_server.go +++ b/internal/daemon/worker/internal/metric/cluster_server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metric import ( diff --git a/internal/daemon/worker/internal/metric/proxy_http.go b/internal/daemon/worker/internal/metric/proxy_http.go index 87dea5880..45f8c1d2c 100644 --- a/internal/daemon/worker/internal/metric/proxy_http.go +++ b/internal/daemon/worker/internal/metric/proxy_http.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package metric provides functions to initialize the worker specific // collectors and hooks to measure metrics and update the relevant collectors. package metric diff --git a/internal/daemon/worker/internal/metric/proxy_ws.go b/internal/daemon/worker/internal/metric/proxy_ws.go index 76e1bd205..41250d45e 100644 --- a/internal/daemon/worker/internal/metric/proxy_ws.go +++ b/internal/daemon/worker/internal/metric/proxy_ws.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metric import ( diff --git a/internal/daemon/worker/internal/metric/proxy_ws_test.go b/internal/daemon/worker/internal/metric/proxy_ws_test.go index 0ebfd490f..2a205ae45 100644 --- a/internal/daemon/worker/internal/metric/proxy_ws_test.go +++ b/internal/daemon/worker/internal/metric/proxy_ws_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package metric import ( diff --git a/internal/daemon/worker/listeners.go b/internal/daemon/worker/listeners.go index b639d9ad9..ccb5aa7dd 100644 --- a/internal/daemon/worker/listeners.go +++ b/internal/daemon/worker/listeners.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package worker import ( diff --git a/internal/daemon/worker/listeners_test.go b/internal/daemon/worker/listeners_test.go index e562c3f1b..a4ec12e56 100644 --- a/internal/daemon/worker/listeners_test.go +++ b/internal/daemon/worker/listeners_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package worker import ( diff --git a/internal/daemon/worker/package_registration.go b/internal/daemon/worker/package_registration.go index 3d8c66485..c8be175d1 100644 --- a/internal/daemon/worker/package_registration.go +++ b/internal/daemon/worker/package_registration.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package worker import ( diff --git a/internal/daemon/worker/proxy/doc.go b/internal/daemon/worker/proxy/doc.go index 330974b11..ff13e5d14 100644 --- a/internal/daemon/worker/proxy/doc.go +++ b/internal/daemon/worker/proxy/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package proxy contains a collection of proxy handlers for the worker to call once a // connection has been authorized. Each proxy handler should mark the connection as // connected once the proxy has successfully been established. diff --git a/internal/daemon/worker/proxy/options.go b/internal/daemon/worker/proxy/options.go index a46813a60..d4b6ccc26 100644 --- a/internal/daemon/worker/proxy/options.go +++ b/internal/daemon/worker/proxy/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/internal/daemon/worker/proxy/options_test.go b/internal/daemon/worker/proxy/options_test.go index 160202426..e60c80bd7 100644 --- a/internal/daemon/worker/proxy/options_test.go +++ b/internal/daemon/worker/proxy/options_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/internal/daemon/worker/proxy/proxy.go b/internal/daemon/worker/proxy/proxy.go index 4828807da..5b698a98e 100644 --- a/internal/daemon/worker/proxy/proxy.go +++ b/internal/daemon/worker/proxy/proxy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/internal/daemon/worker/proxy/proxy_conn_tracker.go b/internal/daemon/worker/proxy/proxy_conn_tracker.go index 94a705516..a52b4c44b 100644 --- a/internal/daemon/worker/proxy/proxy_conn_tracker.go +++ b/internal/daemon/worker/proxy/proxy_conn_tracker.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/internal/daemon/worker/proxy/proxy_conn_tracker_test.go b/internal/daemon/worker/proxy/proxy_conn_tracker_test.go index dadc68e2d..ce4bdcb70 100644 --- a/internal/daemon/worker/proxy/proxy_conn_tracker_test.go +++ b/internal/daemon/worker/proxy/proxy_conn_tracker_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/internal/daemon/worker/proxy/proxy_test.go b/internal/daemon/worker/proxy/proxy_test.go index 876e07648..84d0d04fe 100644 --- a/internal/daemon/worker/proxy/proxy_test.go +++ b/internal/daemon/worker/proxy/proxy_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/internal/daemon/worker/proxy/proxydialer.go b/internal/daemon/worker/proxy/proxydialer.go index 9df3d9895..d4c5091e0 100644 --- a/internal/daemon/worker/proxy/proxydialer.go +++ b/internal/daemon/worker/proxy/proxydialer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/internal/daemon/worker/proxy/proxydialer_test.go b/internal/daemon/worker/proxy/proxydialer_test.go index d1bb10640..0423a58bd 100644 --- a/internal/daemon/worker/proxy/proxydialer_test.go +++ b/internal/daemon/worker/proxy/proxydialer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/internal/daemon/worker/proxy/tcp/tcp.go b/internal/daemon/worker/proxy/tcp/tcp.go index 02099789a..81e638123 100644 --- a/internal/daemon/worker/proxy/tcp/tcp.go +++ b/internal/daemon/worker/proxy/tcp/tcp.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tcp import ( diff --git a/internal/daemon/worker/proxy/tcp/tcp_test.go b/internal/daemon/worker/proxy/tcp/tcp_test.go index 4db2c731d..07340cd7b 100644 --- a/internal/daemon/worker/proxy/tcp/tcp_test.go +++ b/internal/daemon/worker/proxy/tcp/tcp_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tcp import ( diff --git a/internal/daemon/worker/proxy/testing.go b/internal/daemon/worker/proxy/testing.go index 89ed60d7e..e847bb88f 100644 --- a/internal/daemon/worker/proxy/testing.go +++ b/internal/daemon/worker/proxy/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/internal/daemon/worker/proxy/testing_test.go b/internal/daemon/worker/proxy/testing_test.go index 620354b97..475182f70 100644 --- a/internal/daemon/worker/proxy/testing_test.go +++ b/internal/daemon/worker/proxy/testing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/internal/daemon/worker/proxy/websocket_codes.go b/internal/daemon/worker/proxy/websocket_codes.go index 15c8cc366..710cc58e1 100644 --- a/internal/daemon/worker/proxy/websocket_codes.go +++ b/internal/daemon/worker/proxy/websocket_codes.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import "nhooyr.io/websocket" diff --git a/internal/daemon/worker/rpc_registration.go b/internal/daemon/worker/rpc_registration.go index 5411f3a05..0f995d52b 100644 --- a/internal/daemon/worker/rpc_registration.go +++ b/internal/daemon/worker/rpc_registration.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package worker import ( diff --git a/internal/daemon/worker/session/manager.go b/internal/daemon/worker/session/manager.go index ee1335174..b3e3fb345 100644 --- a/internal/daemon/worker/session/manager.go +++ b/internal/daemon/worker/session/manager.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/daemon/worker/session/manager_test.go b/internal/daemon/worker/session/manager_test.go index e4d52dcf6..fb3c9ef01 100644 --- a/internal/daemon/worker/session/manager_test.go +++ b/internal/daemon/worker/session/manager_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/daemon/worker/session/session.go b/internal/daemon/worker/session/session.go index 95617017c..69b4da6cf 100644 --- a/internal/daemon/worker/session/session.go +++ b/internal/daemon/worker/session/session.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/daemon/worker/session/session_test.go b/internal/daemon/worker/session/session_test.go index f0aae2f5c..6d7beac34 100644 --- a/internal/daemon/worker/session/session_test.go +++ b/internal/daemon/worker/session/session_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/daemon/worker/status.go b/internal/daemon/worker/status.go index a50c0c45a..b15fff17b 100644 --- a/internal/daemon/worker/status.go +++ b/internal/daemon/worker/status.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package worker import ( diff --git a/internal/daemon/worker/status_test.go b/internal/daemon/worker/status_test.go index 32adf6299..776527d8c 100644 --- a/internal/daemon/worker/status_test.go +++ b/internal/daemon/worker/status_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package worker import ( diff --git a/internal/daemon/worker/testing.go b/internal/daemon/worker/testing.go index f2b97cf0e..cc2f28a05 100644 --- a/internal/daemon/worker/testing.go +++ b/internal/daemon/worker/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package worker import ( diff --git a/internal/daemon/worker/testing_test.go b/internal/daemon/worker/testing_test.go index 1802769a6..22433a8b4 100644 --- a/internal/daemon/worker/testing_test.go +++ b/internal/daemon/worker/testing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package worker import ( diff --git a/internal/daemon/worker/worker.go b/internal/daemon/worker/worker.go index cfd4a48f8..a76fa5976 100644 --- a/internal/daemon/worker/worker.go +++ b/internal/daemon/worker/worker.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package worker import ( diff --git a/internal/daemon/worker/worker_proxy_service.go b/internal/daemon/worker/worker_proxy_service.go index 4a737c2e6..18ca4a607 100644 --- a/internal/daemon/worker/worker_proxy_service.go +++ b/internal/daemon/worker/worker_proxy_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package worker import ( diff --git a/internal/daemon/worker/worker_test.go b/internal/daemon/worker/worker_test.go index 7a64ba376..7751fdb12 100644 --- a/internal/daemon/worker/worker_test.go +++ b/internal/daemon/worker/worker_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package worker import ( diff --git a/internal/daemon/worker/workerdisconnect_test.go b/internal/daemon/worker/workerdisconnect_test.go index 419904677..4b07c8f56 100644 --- a/internal/daemon/worker/workerdisconnect_test.go +++ b/internal/daemon/worker/workerdisconnect_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package worker import ( diff --git a/internal/db/assert/asserts.go b/internal/db/assert/asserts.go index 736c1ea99..50e9f2554 100644 --- a/internal/db/assert/asserts.go +++ b/internal/db/assert/asserts.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbassert import ( diff --git a/internal/db/assert/asserts_test.go b/internal/db/assert/asserts_test.go index 6f18caeaf..4effe4c75 100644 --- a/internal/db/assert/asserts_test.go +++ b/internal/db/assert/asserts_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbassert import ( diff --git a/internal/db/assert/docs.go b/internal/db/assert/docs.go index 2e8fc1e09..e644b7b89 100644 --- a/internal/db/assert/docs.go +++ b/internal/db/assert/docs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package dbassert provides a set of assertions for testing the boundary database // applications. // diff --git a/internal/db/backoff.go b/internal/db/backoff.go index 940535b4a..e08dc7d55 100644 --- a/internal/db/backoff.go +++ b/internal/db/backoff.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package db import ( diff --git a/internal/db/changesafe_reader_writer.go b/internal/db/changesafe_reader_writer.go index 44a2426f4..3b3320bd7 100644 --- a/internal/db/changesafe_reader_writer.go +++ b/internal/db/changesafe_reader_writer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package db import ( diff --git a/internal/db/clause.go b/internal/db/clause.go index e6b5b3bbd..25923635b 100644 --- a/internal/db/clause.go +++ b/internal/db/clause.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package db import ( diff --git a/internal/db/common/db.go b/internal/db/common/db.go index 0a166f632..fc4a17eeb 100644 --- a/internal/db/common/db.go +++ b/internal/db/common/db.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package common import ( diff --git a/internal/db/db.go b/internal/db/db.go index c3f1546b1..bb15a3286 100644 --- a/internal/db/db.go +++ b/internal/db/db.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package db import ( diff --git a/internal/db/db_test.go b/internal/db/db_test.go index a8020fa61..833cd2180 100644 --- a/internal/db/db_test.go +++ b/internal/db/db_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package db import ( diff --git a/internal/db/db_test/db.go b/internal/db/db_test/db.go index 056b716b9..f51559364 100644 --- a/internal/db/db_test/db.go +++ b/internal/db/db_test/db.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package db_test provides some helper funcs for testing db integrations package db_test diff --git a/internal/db/db_test/db_test.pb.go b/internal/db/db_test/db_test.pb.go index 0f7117c83..4f1061e52 100644 --- a/internal/db/db_test/db_test.pb.go +++ b/internal/db/db_test/db_test.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/internal/db/domains_test.go b/internal/db/domains_test.go index 02f913d77..fac6553df 100644 --- a/internal/db/domains_test.go +++ b/internal/db/domains_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package db import ( diff --git a/internal/db/id.go b/internal/db/id.go index bf142a3c5..4d94976ac 100644 --- a/internal/db/id.go +++ b/internal/db/id.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package db import ( diff --git a/internal/db/id_test.go b/internal/db/id_test.go index 776653afb..58d89d20d 100644 --- a/internal/db/id_test.go +++ b/internal/db/id_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package db import ( diff --git a/internal/db/option.go b/internal/db/option.go index d801e57fa..c878efd3d 100644 --- a/internal/db/option.go +++ b/internal/db/option.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package db import ( diff --git a/internal/db/option_test.go b/internal/db/option_test.go index cbaebdf91..d75595e15 100644 --- a/internal/db/option_test.go +++ b/internal/db/option_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package db import ( diff --git a/internal/db/package_registration.go b/internal/db/package_registration.go index 3e1eee7e1..f415d3da5 100644 --- a/internal/db/package_registration.go +++ b/internal/db/package_registration.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package db import ( diff --git a/internal/db/read_writer.go b/internal/db/read_writer.go index 35e44cac7..cef01913f 100644 --- a/internal/db/read_writer.go +++ b/internal/db/read_writer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package db import ( diff --git a/internal/db/read_writer_ext_test.go b/internal/db/read_writer_ext_test.go index e1a7a9766..15a61d836 100644 --- a/internal/db/read_writer_ext_test.go +++ b/internal/db/read_writer_ext_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package db_test import ( diff --git a/internal/db/read_writer_oplog.go b/internal/db/read_writer_oplog.go index 994422308..e77e5b90a 100644 --- a/internal/db/read_writer_oplog.go +++ b/internal/db/read_writer_oplog.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package db import ( diff --git a/internal/db/read_writer_test.go b/internal/db/read_writer_test.go index f00eb8660..d4d17f832 100644 --- a/internal/db/read_writer_test.go +++ b/internal/db/read_writer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package db import ( diff --git a/internal/db/sanitize/doc.go b/internal/db/sanitize/doc.go index 570aa4082..2d1b56238 100644 --- a/internal/db/sanitize/doc.go +++ b/internal/db/sanitize/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package sanitize contains a set of functions that sanitizes input received from external // systems before being persisted in the database. package sanitize diff --git a/internal/db/sanitize/sanitize.go b/internal/db/sanitize/sanitize.go index 6777cb076..7f24f548c 100644 --- a/internal/db/sanitize/sanitize.go +++ b/internal/db/sanitize/sanitize.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sanitize import ( diff --git a/internal/db/sanitize/sanitize_test.go b/internal/db/sanitize/sanitize_test.go index 50c969ef9..e2a4f1358 100644 --- a/internal/db/sanitize/sanitize_test.go +++ b/internal/db/sanitize/sanitize_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sanitize import "testing" diff --git a/internal/db/schema/doc.go b/internal/db/schema/doc.go index d81155b17..862a984aa 100644 --- a/internal/db/schema/doc.go +++ b/internal/db/schema/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package schema is used to apply sql migrations to modify the state of a // database instance. It also provides functionality to report on the state of // a database instance and how it compares with the migration editions in the diff --git a/internal/db/schema/edition.go b/internal/db/schema/edition.go index b9921234a..191824e89 100644 --- a/internal/db/schema/edition.go +++ b/internal/db/schema/edition.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema import ( diff --git a/internal/db/schema/edition_test.go b/internal/db/schema/edition_test.go index a05893806..e6790e169 100644 --- a/internal/db/schema/edition_test.go +++ b/internal/db/schema/edition_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema_test import ( diff --git a/internal/db/schema/errors.go b/internal/db/schema/errors.go index 26d5db59f..b71939bc4 100644 --- a/internal/db/schema/errors.go +++ b/internal/db/schema/errors.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema import ( diff --git a/internal/db/schema/export_test.go b/internal/db/schema/export_test.go index 47aaec2c2..eafc931fc 100644 --- a/internal/db/schema/export_test.go +++ b/internal/db/schema/export_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema import ( diff --git a/internal/db/schema/internal/edition/edition.go b/internal/db/schema/internal/edition/edition.go index c624e7cd7..f911fd8d4 100644 --- a/internal/db/schema/internal/edition/edition.go +++ b/internal/db/schema/internal/edition/edition.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package edition provides internal structs for the schema package for // defining and organizing database migration editions. package edition diff --git a/internal/db/schema/internal/edition/edition_test.go b/internal/db/schema/internal/edition/edition_test.go index 3b3824e14..5ba75907a 100644 --- a/internal/db/schema/internal/edition/edition_test.go +++ b/internal/db/schema/internal/edition/edition_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package edition_test import ( diff --git a/internal/db/schema/internal/edition/options.go b/internal/db/schema/internal/edition/options.go index 3cc5b40db..98207f852 100644 --- a/internal/db/schema/internal/edition/options.go +++ b/internal/db/schema/internal/edition/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package edition import "github.com/hashicorp/boundary/internal/db/schema/migration" diff --git a/internal/db/schema/internal/edition/testdata/invalid/duplicate-versions/0/01_initial.up.sql b/internal/db/schema/internal/edition/testdata/invalid/duplicate-versions/0/01_initial.up.sql index cda8bcced..6a17f26aa 100644 --- a/internal/db/schema/internal/edition/testdata/invalid/duplicate-versions/0/01_initial.up.sql +++ b/internal/db/schema/internal/edition/testdata/invalid/duplicate-versions/0/01_initial.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table one ( id bigint primary key diff --git a/internal/db/schema/internal/edition/testdata/invalid/duplicate-versions/0/01_initial_also.up.sql b/internal/db/schema/internal/edition/testdata/invalid/duplicate-versions/0/01_initial_also.up.sql index 90f0b5fbd..71dfe94bd 100644 --- a/internal/db/schema/internal/edition/testdata/invalid/duplicate-versions/0/01_initial_also.up.sql +++ b/internal/db/schema/internal/edition/testdata/invalid/duplicate-versions/0/01_initial_also.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table one_also ( id bigint primary key diff --git a/internal/db/schema/internal/edition/testdata/invalid/major-version-not-int/major/01_initial.up.sql b/internal/db/schema/internal/edition/testdata/invalid/major-version-not-int/major/01_initial.up.sql index cda8bcced..6a17f26aa 100644 --- a/internal/db/schema/internal/edition/testdata/invalid/major-version-not-int/major/01_initial.up.sql +++ b/internal/db/schema/internal/edition/testdata/invalid/major-version-not-int/major/01_initial.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table one ( id bigint primary key diff --git a/internal/db/schema/internal/edition/testdata/invalid/minor-version-invalid-separator/0/01-initial.up.sql b/internal/db/schema/internal/edition/testdata/invalid/minor-version-invalid-separator/0/01-initial.up.sql index cda8bcced..6a17f26aa 100644 --- a/internal/db/schema/internal/edition/testdata/invalid/minor-version-invalid-separator/0/01-initial.up.sql +++ b/internal/db/schema/internal/edition/testdata/invalid/minor-version-invalid-separator/0/01-initial.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table one ( id bigint primary key diff --git a/internal/db/schema/internal/edition/testdata/invalid/minor-version-not-int/0/minor_initial.up.sql b/internal/db/schema/internal/edition/testdata/invalid/minor-version-not-int/0/minor_initial.up.sql index cda8bcced..6a17f26aa 100644 --- a/internal/db/schema/internal/edition/testdata/invalid/minor-version-not-int/0/minor_initial.up.sql +++ b/internal/db/schema/internal/edition/testdata/invalid/minor-version-not-int/0/minor_initial.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table one ( id bigint primary key diff --git a/internal/db/schema/internal/edition/testdata/invalid/no-major-version/01_initial.up.sql b/internal/db/schema/internal/edition/testdata/invalid/no-major-version/01_initial.up.sql index cda8bcced..6a17f26aa 100644 --- a/internal/db/schema/internal/edition/testdata/invalid/no-major-version/01_initial.up.sql +++ b/internal/db/schema/internal/edition/testdata/invalid/no-major-version/01_initial.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table one ( id bigint primary key diff --git a/internal/db/schema/internal/edition/testdata/invalid/no-minor-version/0/initial.up.sql b/internal/db/schema/internal/edition/testdata/invalid/no-minor-version/0/initial.up.sql index cda8bcced..6a17f26aa 100644 --- a/internal/db/schema/internal/edition/testdata/invalid/no-minor-version/0/initial.up.sql +++ b/internal/db/schema/internal/edition/testdata/invalid/no-minor-version/0/initial.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table one ( id bigint primary key diff --git a/internal/db/schema/internal/edition/testdata/one/0/01_initial.up.sql b/internal/db/schema/internal/edition/testdata/one/0/01_initial.up.sql index cda8bcced..6a17f26aa 100644 --- a/internal/db/schema/internal/edition/testdata/one/0/01_initial.up.sql +++ b/internal/db/schema/internal/edition/testdata/one/0/01_initial.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table one ( id bigint primary key diff --git a/internal/db/schema/internal/edition/testdata/three/0/01_initial.up.sql b/internal/db/schema/internal/edition/testdata/three/0/01_initial.up.sql index 3ea8d2cc1..1b403a556 100644 --- a/internal/db/schema/internal/edition/testdata/three/0/01_initial.up.sql +++ b/internal/db/schema/internal/edition/testdata/three/0/01_initial.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table three ( id bigint primary key diff --git a/internal/db/schema/internal/edition/testdata/three/1/01_add_table.up.sql b/internal/db/schema/internal/edition/testdata/three/1/01_add_table.up.sql index 8bc37b80c..677dfd0e6 100644 --- a/internal/db/schema/internal/edition/testdata/three/1/01_add_table.up.sql +++ b/internal/db/schema/internal/edition/testdata/three/1/01_add_table.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; alter table tree add column name text; commit; diff --git a/internal/db/schema/internal/edition/testdata/two/0/01_add_table.up.sql b/internal/db/schema/internal/edition/testdata/two/0/01_add_table.up.sql index f30983711..0bec1a727 100644 --- a/internal/db/schema/internal/edition/testdata/two/0/01_add_table.up.sql +++ b/internal/db/schema/internal/edition/testdata/two/0/01_add_table.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table two ( id bigint primary key diff --git a/internal/db/schema/internal/edition/testdata/two/0/02_initial.up.sql b/internal/db/schema/internal/edition/testdata/two/0/02_initial.up.sql index fb283e1ec..13013e73c 100644 --- a/internal/db/schema/internal/edition/testdata/two/0/02_initial.up.sql +++ b/internal/db/schema/internal/edition/testdata/two/0/02_initial.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; alter table two add column name text; commit; diff --git a/internal/db/schema/internal/log/doc.go b/internal/db/schema/internal/log/doc.go index 22035e0ef..708faa989 100644 --- a/internal/db/schema/internal/log/doc.go +++ b/internal/db/schema/internal/log/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package log provides internal structs and options for the schema package for // tracking logs generated when applying migrations. package log diff --git a/internal/db/schema/internal/log/entry.go b/internal/db/schema/internal/log/entry.go index eecfa58ee..c82b7b023 100644 --- a/internal/db/schema/internal/log/entry.go +++ b/internal/db/schema/internal/log/entry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package log import "time" diff --git a/internal/db/schema/internal/log/options.go b/internal/db/schema/internal/log/options.go index 4005e352a..85ac79547 100644 --- a/internal/db/schema/internal/log/options.go +++ b/internal/db/schema/internal/log/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package log // GetOpts - iterate the inbound Options and return a struct. diff --git a/internal/db/schema/internal/postgres/doc.go b/internal/db/schema/internal/postgres/doc.go index e4c595570..01b5ba234 100644 --- a/internal/db/schema/internal/postgres/doc.go +++ b/internal/db/schema/internal/postgres/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package postgres provides an implementation of the schema.driver interface // for a PostgreSQL database. package postgres diff --git a/internal/db/schema/internal/postgres/ensure_version_test.go b/internal/db/schema/internal/postgres/ensure_version_test.go index 80d7ec4c2..945ff4c4e 100644 --- a/internal/db/schema/internal/postgres/ensure_version_test.go +++ b/internal/db/schema/internal/postgres/ensure_version_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package postgres_test import ( diff --git a/internal/db/schema/internal/postgres/lock_test.go b/internal/db/schema/internal/postgres/lock_test.go index 02a7df6b1..3a2a8053d 100644 --- a/internal/db/schema/internal/postgres/lock_test.go +++ b/internal/db/schema/internal/postgres/lock_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package postgres_test import ( diff --git a/internal/db/schema/internal/postgres/migration_log_test.go b/internal/db/schema/internal/postgres/migration_log_test.go index 88e6a8d1b..95ccab213 100644 --- a/internal/db/schema/internal/postgres/migration_log_test.go +++ b/internal/db/schema/internal/postgres/migration_log_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package postgres_test import ( diff --git a/internal/db/schema/internal/postgres/postgres_test.go b/internal/db/schema/internal/postgres/postgres_test.go index c9c82984a..bf33583d2 100644 --- a/internal/db/schema/internal/postgres/postgres_test.go +++ b/internal/db/schema/internal/postgres/postgres_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package postgres_test import ( diff --git a/internal/db/schema/internal/postgres/query.go b/internal/db/schema/internal/postgres/query.go index 1f5730f66..ec2c0ac2c 100644 --- a/internal/db/schema/internal/postgres/query.go +++ b/internal/db/schema/internal/postgres/query.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package postgres // Queries for interacting with locks diff --git a/internal/db/schema/internal/postgres/state_test.go b/internal/db/schema/internal/postgres/state_test.go index 1936921d7..ee7a255cc 100644 --- a/internal/db/schema/internal/postgres/state_test.go +++ b/internal/db/schema/internal/postgres/state_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package postgres_test import ( diff --git a/internal/db/schema/internal/postgres/testing_test.go b/internal/db/schema/internal/postgres/testing_test.go index 2f16cd239..0df77d845 100644 --- a/internal/db/schema/internal/postgres/testing_test.go +++ b/internal/db/schema/internal/postgres/testing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package postgres_test import ( diff --git a/internal/db/schema/internal/provider/provider.go b/internal/db/schema/internal/provider/provider.go index d15d8f064..493db5f1a 100644 --- a/internal/db/schema/internal/provider/provider.go +++ b/internal/db/schema/internal/provider/provider.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package provider provides an iterator for iterating over all of the // migration statements that need to be applied. It will provide the statements // in the correct order based on the Edition priority and migration version. diff --git a/internal/db/schema/internal/provider/provider_test.go b/internal/db/schema/internal/provider/provider_test.go index 26c466deb..269b186f9 100644 --- a/internal/db/schema/internal/provider/provider_test.go +++ b/internal/db/schema/internal/provider/provider_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider_test import ( diff --git a/internal/db/schema/manager.go b/internal/db/schema/manager.go index aab115833..b6b62f0ed 100644 --- a/internal/db/schema/manager.go +++ b/internal/db/schema/manager.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema import ( diff --git a/internal/db/schema/manager_example_test.go b/internal/db/schema/manager_example_test.go index ac24c2088..db6bde3de 100644 --- a/internal/db/schema/manager_example_test.go +++ b/internal/db/schema/manager_example_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema_test import ( diff --git a/internal/db/schema/manager_test.go b/internal/db/schema/manager_test.go index e7b64ae96..8faaf52b2 100644 --- a/internal/db/schema/manager_test.go +++ b/internal/db/schema/manager_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema_test import ( diff --git a/internal/db/schema/migration/migration.go b/internal/db/schema/migration/migration.go index 53d34e1df..21dca78b0 100644 --- a/internal/db/schema/migration/migration.go +++ b/internal/db/schema/migration/migration.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package migration import ( diff --git a/internal/db/schema/migration_log.go b/internal/db/schema/migration_log.go index a2bf0cf03..1aba845cd 100644 --- a/internal/db/schema/migration_log.go +++ b/internal/db/schema/migration_log.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema import ( diff --git a/internal/db/schema/migrations/base.go b/internal/db/schema/migrations/base.go index bebd5221c..71f1e90ee 100644 --- a/internal/db/schema/migrations/base.go +++ b/internal/db/schema/migrations/base.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package migrations contains the base sql statements needed to bootstrap the // migration process. These statements setup the tables necessary for tracking // the state of migrations. diff --git a/internal/db/schema/migrations/base/postgres/01_boundary_schema_version.up.sql b/internal/db/schema/migrations/base/postgres/01_boundary_schema_version.up.sql index e8d689995..9d0fcf945 100644 --- a/internal/db/schema/migrations/base/postgres/01_boundary_schema_version.up.sql +++ b/internal/db/schema/migrations/base/postgres/01_boundary_schema_version.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table boundary_schema_version ( edition text primary key, diff --git a/internal/db/schema/migrations/base/postgres/02_log_migration.up.sql b/internal/db/schema/migrations/base/postgres/02_log_migration.up.sql index 9a0da93a4..e34d92343 100644 --- a/internal/db/schema/migrations/base/postgres/02_log_migration.up.sql +++ b/internal/db/schema/migrations/base/postgres/02_log_migration.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table log_migration( id bigint generated always as identity primary key, diff --git a/internal/db/schema/migrations/oss/internal/hook46001/hook.go b/internal/db/schema/migrations/oss/internal/hook46001/hook.go index 841023554..e81aab265 100644 --- a/internal/db/schema/migrations/oss/internal/hook46001/hook.go +++ b/internal/db/schema/migrations/oss/internal/hook46001/hook.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package hook46001 implements the hook CheckFunc & RepairFunc definitions for CVE-2022-36130. // // The check functionality reports illegal associations between a target and a resource diff --git a/internal/db/schema/migrations/oss/internal/hook46001/query.go b/internal/db/schema/migrations/oss/internal/hook46001/query.go index b8548c2cf..d5aada456 100644 --- a/internal/db/schema/migrations/oss/internal/hook46001/query.go +++ b/internal/db/schema/migrations/oss/internal/hook46001/query.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hook46001 const ( diff --git a/internal/db/schema/migrations/oss/oss.go b/internal/db/schema/migrations/oss/oss.go index 62eeb2ac6..6c6c1bce8 100644 --- a/internal/db/schema/migrations/oss/oss.go +++ b/internal/db/schema/migrations/oss/oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package oss is used to embed the sql statements for the oss edition and // registering the edition for the schema.Manager. package oss diff --git a/internal/db/schema/migrations/oss/oss_test.go b/internal/db/schema/migrations/oss/oss_test.go index 8b63009bb..7c316a76f 100644 --- a/internal/db/schema/migrations/oss/oss_test.go +++ b/internal/db/schema/migrations/oss/oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oss_test import ( diff --git a/internal/db/schema/migrations/oss/postgres/0/01_domain_types.up.sql b/internal/db/schema/migrations/oss/postgres/0/01_domain_types.up.sql index aebc3b375..7eea5efe8 100644 --- a/internal/db/schema/migrations/oss/postgres/0/01_domain_types.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/01_domain_types.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create domain wt_public_id as text diff --git a/internal/db/schema/migrations/oss/postgres/0/02_oplog.up.sql b/internal/db/schema/migrations/oss/postgres/0/02_oplog.up.sql index c4b5f72d7..78c2ce76e 100644 --- a/internal/db/schema/migrations/oss/postgres/0/02_oplog.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/02_oplog.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- TODO (jimlambrt 7/2020) remove update_time diff --git a/internal/db/schema/migrations/oss/postgres/0/03_db.up.sql b/internal/db/schema/migrations/oss/postgres/0/03_db.up.sql index a02ae696c..a22b4ad63 100644 --- a/internal/db/schema/migrations/oss/postgres/0/03_db.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/03_db.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- create test tables used in the unit tests for the internal/db package diff --git a/internal/db/schema/migrations/oss/postgres/0/06_iam.up.sql b/internal/db/schema/migrations/oss/postgres/0/06_iam.up.sql index 303b99f43..532d9b414 100644 --- a/internal/db/schema/migrations/oss/postgres/0/06_iam.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/06_iam.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table iam_scope_type_enm ( diff --git a/internal/db/schema/migrations/oss/postgres/0/07_auth.up.sql b/internal/db/schema/migrations/oss/postgres/0/07_auth.up.sql index c734be1ce..fd3e76734 100644 --- a/internal/db/schema/migrations/oss/postgres/0/07_auth.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/07_auth.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; /* diff --git a/internal/db/schema/migrations/oss/postgres/0/08_servers.up.sql b/internal/db/schema/migrations/oss/postgres/0/08_servers.up.sql index 735922fab..6fa27e563 100644 --- a/internal/db/schema/migrations/oss/postgres/0/08_servers.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/08_servers.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- For now at least the IDs will be the same as the name, because this allows us diff --git a/internal/db/schema/migrations/oss/postgres/0/11_auth_token.up.sql b/internal/db/schema/migrations/oss/postgres/0/11_auth_token.up.sql index 9ba9a20f3..6d4c7be2e 100644 --- a/internal/db/schema/migrations/oss/postgres/0/11_auth_token.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/11_auth_token.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- an auth token belongs to 1 and only 1 auth account diff --git a/internal/db/schema/migrations/oss/postgres/0/12_auth_password.up.sql b/internal/db/schema/migrations/oss/postgres/0/12_auth_password.up.sql index da24e0e6c..1ca5f9e4a 100644 --- a/internal/db/schema/migrations/oss/postgres/0/12_auth_password.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/12_auth_password.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; /* diff --git a/internal/db/schema/migrations/oss/postgres/0/13_auth_password_argon.up.sql b/internal/db/schema/migrations/oss/postgres/0/13_auth_password_argon.up.sql index 951cfc6ef..08e34f42a 100644 --- a/internal/db/schema/migrations/oss/postgres/0/13_auth_password_argon.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/13_auth_password_argon.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table auth_password_argon2_conf ( diff --git a/internal/db/schema/migrations/oss/postgres/0/14_auth_password_views.up.sql b/internal/db/schema/migrations/oss/postgres/0/14_auth_password_views.up.sql index 94076b223..9867c3301 100644 --- a/internal/db/schema/migrations/oss/postgres/0/14_auth_password_views.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/14_auth_password_views.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- auth_password_conf_union is a union of the configuration settings diff --git a/internal/db/schema/migrations/oss/postgres/0/20_host.up.sql b/internal/db/schema/migrations/oss/postgres/0/20_host.up.sql index 96fa8202b..9848a8ff9 100644 --- a/internal/db/schema/migrations/oss/postgres/0/20_host.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/20_host.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; /* diff --git a/internal/db/schema/migrations/oss/postgres/0/22_static_host.up.sql b/internal/db/schema/migrations/oss/postgres/0/22_static_host.up.sql index c44bd91cf..b8b0ab25a 100644 --- a/internal/db/schema/migrations/oss/postgres/0/22_static_host.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/22_static_host.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; /* diff --git a/internal/db/schema/migrations/oss/postgres/0/30_keys.up.sql b/internal/db/schema/migrations/oss/postgres/0/30_keys.up.sql index b0ec6ade0..013fd1477 100644 --- a/internal/db/schema/migrations/oss/postgres/0/30_keys.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/30_keys.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- kms_version_column() will increment the version column whenever row data diff --git a/internal/db/schema/migrations/oss/postgres/0/31_keys.up.sql b/internal/db/schema/migrations/oss/postgres/0/31_keys.up.sql index 9659bad10..78a041961 100644 --- a/internal/db/schema/migrations/oss/postgres/0/31_keys.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/31_keys.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; /* diff --git a/internal/db/schema/migrations/oss/postgres/0/40_targets.up.sql b/internal/db/schema/migrations/oss/postgres/0/40_targets.up.sql index cf243162f..91aced59e 100644 --- a/internal/db/schema/migrations/oss/postgres/0/40_targets.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/40_targets.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- insert_target_subtype() is a before insert trigger diff --git a/internal/db/schema/migrations/oss/postgres/0/41_targets.up.sql b/internal/db/schema/migrations/oss/postgres/0/41_targets.up.sql index f6a23a1d5..e90b49ba6 100644 --- a/internal/db/schema/migrations/oss/postgres/0/41_targets.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/41_targets.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; /* diff --git a/internal/db/schema/migrations/oss/postgres/0/50_session.up.sql b/internal/db/schema/migrations/oss/postgres/0/50_session.up.sql index da02ba0ee..d320331e5 100644 --- a/internal/db/schema/migrations/oss/postgres/0/50_session.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/50_session.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; /* diff --git a/internal/db/schema/migrations/oss/postgres/0/51_connection.up.sql b/internal/db/schema/migrations/oss/postgres/0/51_connection.up.sql index aaf53376e..0b7ef7267 100644 --- a/internal/db/schema/migrations/oss/postgres/0/51_connection.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/51_connection.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; /* diff --git a/internal/db/schema/migrations/oss/postgres/0/60_wh_domain_types.up.sql b/internal/db/schema/migrations/oss/postgres/0/60_wh_domain_types.up.sql index 85eff8681..fe114c912 100644 --- a/internal/db/schema/migrations/oss/postgres/0/60_wh_domain_types.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/60_wh_domain_types.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create extension if not exists "pgcrypto"; diff --git a/internal/db/schema/migrations/oss/postgres/0/62_wh_datetime.up.sql b/internal/db/schema/migrations/oss/postgres/0/62_wh_datetime.up.sql index 9f1d80919..8bf103dd8 100644 --- a/internal/db/schema/migrations/oss/postgres/0/62_wh_datetime.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/62_wh_datetime.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table wh_date_dimension ( diff --git a/internal/db/schema/migrations/oss/postgres/0/65_wh_session_dimensions.up.sql b/internal/db/schema/migrations/oss/postgres/0/65_wh_session_dimensions.up.sql index 6630e3965..835b744f1 100644 --- a/internal/db/schema/migrations/oss/postgres/0/65_wh_session_dimensions.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/65_wh_session_dimensions.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table wh_host_dimension ( diff --git a/internal/db/schema/migrations/oss/postgres/0/66_wh_session_dimensions.up.sql b/internal/db/schema/migrations/oss/postgres/0/66_wh_session_dimensions.up.sql index 28fca291c..c7a8f7084 100644 --- a/internal/db/schema/migrations/oss/postgres/0/66_wh_session_dimensions.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/66_wh_session_dimensions.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- wh_upsert_host returns the wh_host_dimension id for p_host_id, diff --git a/internal/db/schema/migrations/oss/postgres/0/68_wh_session_facts.up.sql b/internal/db/schema/migrations/oss/postgres/0/68_wh_session_facts.up.sql index 6473c8ad4..745b58e77 100644 --- a/internal/db/schema/migrations/oss/postgres/0/68_wh_session_facts.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/68_wh_session_facts.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Column names for numeric fields that are not a measurement end in id or diff --git a/internal/db/schema/migrations/oss/postgres/0/69_wh_session_facts.up.sql b/internal/db/schema/migrations/oss/postgres/0/69_wh_session_facts.up.sql index 36470e959..bb740601a 100644 --- a/internal/db/schema/migrations/oss/postgres/0/69_wh_session_facts.up.sql +++ b/internal/db/schema/migrations/oss/postgres/0/69_wh_session_facts.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- wh_rollup_connections calculates the aggregate values from diff --git a/internal/db/schema/migrations/oss/postgres/1/01_server_tags_migrations.up.sql b/internal/db/schema/migrations/oss/postgres/1/01_server_tags_migrations.up.sql index 73ffd59e4..9ad59781d 100644 --- a/internal/db/schema/migrations/oss/postgres/1/01_server_tags_migrations.up.sql +++ b/internal/db/schema/migrations/oss/postgres/1/01_server_tags_migrations.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- This series of expressions fixes the primary key on the server table diff --git a/internal/db/schema/migrations/oss/postgres/1/02_domains.up.sql b/internal/db/schema/migrations/oss/postgres/1/02_domains.up.sql index bf13c1f92..ca9f8d8de 100644 --- a/internal/db/schema/migrations/oss/postgres/1/02_domains.up.sql +++ b/internal/db/schema/migrations/oss/postgres/1/02_domains.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- wt_email defines a type for email which must be less than 320 chars and only diff --git a/internal/db/schema/migrations/oss/postgres/1/03_kms.up.sql b/internal/db/schema/migrations/oss/postgres/1/03_kms.up.sql index 31e06ca87..2c0b1caf4 100644 --- a/internal/db/schema/migrations/oss/postgres/1/03_kms.up.sql +++ b/internal/db/schema/migrations/oss/postgres/1/03_kms.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- kms_oidc_key entries are DEKs for encrypting oidc entries. diff --git a/internal/db/schema/migrations/oss/postgres/10/01_job_migrations.up.sql b/internal/db/schema/migrations/oss/postgres/10/01_job_migrations.up.sql index 64736e369..d5531f7e5 100644 --- a/internal/db/schema/migrations/oss/postgres/10/01_job_migrations.up.sql +++ b/internal/db/schema/migrations/oss/postgres/10/01_job_migrations.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; alter table job_run diff --git a/internal/db/schema/migrations/oss/postgres/10/02_sentinels.up.sql b/internal/db/schema/migrations/oss/postgres/10/02_sentinels.up.sql index 1e094f29a..56a2b65df 100644 --- a/internal/db/schema/migrations/oss/postgres/10/02_sentinels.up.sql +++ b/internal/db/schema/migrations/oss/postgres/10/02_sentinels.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create function wt_is_sentinel(string text) returns bool diff --git a/internal/db/schema/migrations/oss/postgres/10/03_credential.up.sql b/internal/db/schema/migrations/oss/postgres/10/03_credential.up.sql index acb5cf9c9..f54e50bb0 100644 --- a/internal/db/schema/migrations/oss/postgres/10/03_credential.up.sql +++ b/internal/db/schema/migrations/oss/postgres/10/03_credential.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- credential_store diff --git a/internal/db/schema/migrations/oss/postgres/10/04_vault_credential.up.sql b/internal/db/schema/migrations/oss/postgres/10/04_vault_credential.up.sql index 3ab64027e..88202b3e5 100644 --- a/internal/db/schema/migrations/oss/postgres/10/04_vault_credential.up.sql +++ b/internal/db/schema/migrations/oss/postgres/10/04_vault_credential.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table credential_vault_store ( diff --git a/internal/db/schema/migrations/oss/postgres/10/05_target.up.sql b/internal/db/schema/migrations/oss/postgres/10/05_target.up.sql index 12a879130..6a006b519 100644 --- a/internal/db/schema/migrations/oss/postgres/10/05_target.up.sql +++ b/internal/db/schema/migrations/oss/postgres/10/05_target.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table target_credential_library ( diff --git a/internal/db/schema/migrations/oss/postgres/10/06_session.up.sql b/internal/db/schema/migrations/oss/postgres/10/06_session.up.sql index 73cbc8f51..a46a9a754 100644 --- a/internal/db/schema/migrations/oss/postgres/10/06_session.up.sql +++ b/internal/db/schema/migrations/oss/postgres/10/06_session.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table session_credential_dynamic ( diff --git a/internal/db/schema/migrations/oss/postgres/10/07_sentinels.up.sql b/internal/db/schema/migrations/oss/postgres/10/07_sentinels.up.sql index 5555e567d..8e492fbad 100644 --- a/internal/db/schema/migrations/oss/postgres/10/07_sentinels.up.sql +++ b/internal/db/schema/migrations/oss/postgres/10/07_sentinels.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; update credential_vault_credential diff --git a/internal/db/schema/migrations/oss/postgres/11/01_server_type_enum.up.sql b/internal/db/schema/migrations/oss/postgres/11/01_server_type_enum.up.sql index 843c2bfc7..68b4c9702 100644 --- a/internal/db/schema/migrations/oss/postgres/11/01_server_type_enum.up.sql +++ b/internal/db/schema/migrations/oss/postgres/11/01_server_type_enum.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table server_type_enm ( diff --git a/internal/db/schema/migrations/oss/postgres/12/01_timestamp_sub_funcs.up.sql b/internal/db/schema/migrations/oss/postgres/12/01_timestamp_sub_funcs.up.sql index 1264faa29..3c4a2b2e9 100644 --- a/internal/db/schema/migrations/oss/postgres/12/01_timestamp_sub_funcs.up.sql +++ b/internal/db/schema/migrations/oss/postgres/12/01_timestamp_sub_funcs.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- The 'comment on function' statements below are not for the functions in the diff --git a/internal/db/schema/migrations/oss/postgres/13/01_oidc_add_claims.up.sql b/internal/db/schema/migrations/oss/postgres/13/01_oidc_add_claims.up.sql index 45ae8effc..92ec45f45 100644 --- a/internal/db/schema/migrations/oss/postgres/13/01_oidc_add_claims.up.sql +++ b/internal/db/schema/migrations/oss/postgres/13/01_oidc_add_claims.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; alter table auth_oidc_account diff --git a/internal/db/schema/migrations/oss/postgres/14/01_wh_user_dimension_oidc.up.sql b/internal/db/schema/migrations/oss/postgres/14/01_wh_user_dimension_oidc.up.sql index d02094933..44188e0ba 100644 --- a/internal/db/schema/migrations/oss/postgres/14/01_wh_user_dimension_oidc.up.sql +++ b/internal/db/schema/migrations/oss/postgres/14/01_wh_user_dimension_oidc.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; alter table wh_user_dimension diff --git a/internal/db/schema/migrations/oss/postgres/15/01_wh_rename_key_columns.up.sql b/internal/db/schema/migrations/oss/postgres/15/01_wh_rename_key_columns.up.sql index 9b048cfa9..86019ad05 100644 --- a/internal/db/schema/migrations/oss/postgres/15/01_wh_rename_key_columns.up.sql +++ b/internal/db/schema/migrations/oss/postgres/15/01_wh_rename_key_columns.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; alter table wh_date_dimension rename column id to key; diff --git a/internal/db/schema/migrations/oss/postgres/15/02_wh_rename_host_dimension_org.up.sql b/internal/db/schema/migrations/oss/postgres/15/02_wh_rename_host_dimension_org.up.sql index 00ffdf5e2..7f6b7603e 100644 --- a/internal/db/schema/migrations/oss/postgres/15/02_wh_rename_host_dimension_org.up.sql +++ b/internal/db/schema/migrations/oss/postgres/15/02_wh_rename_host_dimension_org.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; alter table wh_host_dimension rename column host_organization_id to organization_id; diff --git a/internal/db/schema/migrations/oss/postgres/16/01_wh_credential_dimension.up.sql b/internal/db/schema/migrations/oss/postgres/16/01_wh_credential_dimension.up.sql index 8d8420cbb..2edfea7a4 100644 --- a/internal/db/schema/migrations/oss/postgres/16/01_wh_credential_dimension.up.sql +++ b/internal/db/schema/migrations/oss/postgres/16/01_wh_credential_dimension.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- replaces check from internal/db/schema/migrations/postgres/0/60_wh_domain_types.up.sql alter domain wh_public_id drop constraint wh_public_id_check; diff --git a/internal/db/schema/migrations/oss/postgres/16/02_wh_credential_dimension.up.sql b/internal/db/schema/migrations/oss/postgres/16/02_wh_credential_dimension.up.sql index 554572213..ee7a1cfd2 100644 --- a/internal/db/schema/migrations/oss/postgres/16/02_wh_credential_dimension.up.sql +++ b/internal/db/schema/migrations/oss/postgres/16/02_wh_credential_dimension.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- The whx_credential_dimension_source and whx_credential_dimension_target views are used -- by an insert trigger to determine if the current row for the dimension has diff --git a/internal/db/schema/migrations/oss/postgres/16/03_wh_credential_dimension.up.sql b/internal/db/schema/migrations/oss/postgres/16/03_wh_credential_dimension.up.sql index 3c846b06e..ab0963fce 100644 --- a/internal/db/schema/migrations/oss/postgres/16/03_wh_credential_dimension.up.sql +++ b/internal/db/schema/migrations/oss/postgres/16/03_wh_credential_dimension.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- wh_upsert_credential_dimension compares the current vaules in the wh_credential_dimension diff --git a/internal/db/schema/migrations/oss/postgres/16/04_wh_credential_dimension.up.sql b/internal/db/schema/migrations/oss/postgres/16/04_wh_credential_dimension.up.sql index f623e83f9..28e91ac70 100644 --- a/internal/db/schema/migrations/oss/postgres/16/04_wh_credential_dimension.up.sql +++ b/internal/db/schema/migrations/oss/postgres/16/04_wh_credential_dimension.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; alter table wh_session_accumulating_fact diff --git a/internal/db/schema/migrations/oss/postgres/16/05_wh_credential_dimension.up.sql b/internal/db/schema/migrations/oss/postgres/16/05_wh_credential_dimension.up.sql index 19f522ac2..4cbcfc15e 100644 --- a/internal/db/schema/migrations/oss/postgres/16/05_wh_credential_dimension.up.sql +++ b/internal/db/schema/migrations/oss/postgres/16/05_wh_credential_dimension.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; alter table wh_session_connection_accumulating_fact diff --git a/internal/db/schema/migrations/oss/postgres/17/01_servers.up.sql b/internal/db/schema/migrations/oss/postgres/17/01_servers.up.sql index 27ad1952b..9c0a73858 100644 --- a/internal/db/schema/migrations/oss/postgres/17/01_servers.up.sql +++ b/internal/db/schema/migrations/oss/postgres/17/01_servers.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- server table inserts/updates historically included setting the update_time diff --git a/internal/db/schema/migrations/oss/postgres/17/02_wh_primary_key.up.sql b/internal/db/schema/migrations/oss/postgres/17/02_wh_primary_key.up.sql index ea8e1f396..f5c80ada1 100644 --- a/internal/db/schema/migrations/oss/postgres/17/02_wh_primary_key.up.sql +++ b/internal/db/schema/migrations/oss/postgres/17/02_wh_primary_key.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; alter table wh_credential_group_membership diff --git a/internal/db/schema/migrations/oss/postgres/18/01_nonce.up.sql b/internal/db/schema/migrations/oss/postgres/18/01_nonce.up.sql index 16109ca21..5bfa9cf44 100644 --- a/internal/db/schema/migrations/oss/postgres/18/01_nonce.up.sql +++ b/internal/db/schema/migrations/oss/postgres/18/01_nonce.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- This migration exists to generalize the nonce behavior since we need it for diff --git a/internal/db/schema/migrations/oss/postgres/19/01_db.up.sql b/internal/db/schema/migrations/oss/postgres/19/01_db.up.sql index a1616e6ae..c6868a09c 100644 --- a/internal/db/schema/migrations/oss/postgres/19/01_db.up.sql +++ b/internal/db/schema/migrations/oss/postgres/19/01_db.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table if not exists db_test_accessory ( diff --git a/internal/db/schema/migrations/oss/postgres/19/02_kms_audit.up.sql b/internal/db/schema/migrations/oss/postgres/19/02_kms_audit.up.sql index 23cfe7dc0..08ca4780b 100644 --- a/internal/db/schema/migrations/oss/postgres/19/02_kms_audit.up.sql +++ b/internal/db/schema/migrations/oss/postgres/19/02_kms_audit.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- kms_audit_key entries are DEKs for crypto operations on audit entries. diff --git a/internal/db/schema/migrations/oss/postgres/19/03_db.up.sql b/internal/db/schema/migrations/oss/postgres/19/03_db.up.sql index 79409adc3..8e6055292 100644 --- a/internal/db/schema/migrations/oss/postgres/19/03_db.up.sql +++ b/internal/db/schema/migrations/oss/postgres/19/03_db.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- remove the internal/db test tables from the migrations. diff --git a/internal/db/schema/migrations/oss/postgres/2/01_log.up.sql b/internal/db/schema/migrations/oss/postgres/2/01_log.up.sql index a0d7c9d5b..eb06c8324 100644 --- a/internal/db/schema/migrations/oss/postgres/2/01_log.up.sql +++ b/internal/db/schema/migrations/oss/postgres/2/01_log.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- management of the log_migation table is moved into diff --git a/internal/db/schema/migrations/oss/postgres/2/03_oidc_enm.up.sql b/internal/db/schema/migrations/oss/postgres/2/03_oidc_enm.up.sql index 4818d36c0..d9d9c829b 100644 --- a/internal/db/schema/migrations/oss/postgres/2/03_oidc_enm.up.sql +++ b/internal/db/schema/migrations/oss/postgres/2/03_oidc_enm.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- auth_oidc_method_state_enum entries define the possible oidc auth method diff --git a/internal/db/schema/migrations/oss/postgres/2/04_oidc.up.sql b/internal/db/schema/migrations/oss/postgres/2/04_oidc.up.sql index 87cf3fbe9..16f6454b9 100644 --- a/internal/db/schema/migrations/oss/postgres/2/04_oidc.up.sql +++ b/internal/db/schema/migrations/oss/postgres/2/04_oidc.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- auth_oidc_method entries are the current oidc auth methods configured for diff --git a/internal/db/schema/migrations/oss/postgres/2/05_authtoken.up.sql b/internal/db/schema/migrations/oss/postgres/2/05_authtoken.up.sql index 7d38e8221..c9797382b 100644 --- a/internal/db/schema/migrations/oss/postgres/2/05_authtoken.up.sql +++ b/internal/db/schema/migrations/oss/postgres/2/05_authtoken.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- auth_token_status_enm entries define the possible auth token diff --git a/internal/db/schema/migrations/oss/postgres/2/06_iam.up.sql b/internal/db/schema/migrations/oss/postgres/2/06_iam.up.sql index ffdb76b76..88fd38b97 100644 --- a/internal/db/schema/migrations/oss/postgres/2/06_iam.up.sql +++ b/internal/db/schema/migrations/oss/postgres/2/06_iam.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- add the primary_auth_method_id which determines which auth_method is diff --git a/internal/db/schema/migrations/oss/postgres/2/07_iam.up.sql b/internal/db/schema/migrations/oss/postgres/2/07_iam.up.sql index bff54b24c..a48f83e02 100644 --- a/internal/db/schema/migrations/oss/postgres/2/07_iam.up.sql +++ b/internal/db/schema/migrations/oss/postgres/2/07_iam.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; diff --git a/internal/db/schema/migrations/oss/postgres/2/10_auth.up.sql b/internal/db/schema/migrations/oss/postgres/2/10_auth.up.sql index 69b56734b..a81073841 100644 --- a/internal/db/schema/migrations/oss/postgres/2/10_auth.up.sql +++ b/internal/db/schema/migrations/oss/postgres/2/10_auth.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- By adding the name column to the base auth method type, the database can diff --git a/internal/db/schema/migrations/oss/postgres/2/15_oidc.up.sql b/internal/db/schema/migrations/oss/postgres/2/15_oidc.up.sql index 41f00f08c..181f54a34 100644 --- a/internal/db/schema/migrations/oss/postgres/2/15_oidc.up.sql +++ b/internal/db/schema/migrations/oss/postgres/2/15_oidc.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- oidc_auth_method_with_value_obj is useful for reading an oidc auth method diff --git a/internal/db/schema/migrations/oss/postgres/2/20_pass.up.sql b/internal/db/schema/migrations/oss/postgres/2/20_pass.up.sql index f2c144c78..91daef94b 100644 --- a/internal/db/schema/migrations/oss/postgres/2/20_pass.up.sql +++ b/internal/db/schema/migrations/oss/postgres/2/20_pass.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- auth_password_method_with_is_primary is useful for reading a password auth diff --git a/internal/db/schema/migrations/oss/postgres/20/01_domain_types.up.sql b/internal/db/schema/migrations/oss/postgres/20/01_domain_types.up.sql index f90d4c024..857b4f0b2 100644 --- a/internal/db/schema/migrations/oss/postgres/20/01_domain_types.up.sql +++ b/internal/db/schema/migrations/oss/postgres/20/01_domain_types.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create domain wt_priority as int not null diff --git a/internal/db/schema/migrations/oss/postgres/20/02_plugin.up.sql b/internal/db/schema/migrations/oss/postgres/20/02_plugin.up.sql index d7c3f3148..84009d766 100644 --- a/internal/db/schema/migrations/oss/postgres/20/02_plugin.up.sql +++ b/internal/db/schema/migrations/oss/postgres/20/02_plugin.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- We are updating the plugin table here to have a scope id, since diff --git a/internal/db/schema/migrations/oss/postgres/20/03_host_plugin.up.sql b/internal/db/schema/migrations/oss/postgres/20/03_host_plugin.up.sql index 60c35ea24..232493acc 100644 --- a/internal/db/schema/migrations/oss/postgres/20/03_host_plugin.up.sql +++ b/internal/db/schema/migrations/oss/postgres/20/03_host_plugin.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; /* diff --git a/internal/db/schema/migrations/oss/postgres/20/04_host.up.sql b/internal/db/schema/migrations/oss/postgres/20/04_host.up.sql index 386cd6744..72cde0781 100644 --- a/internal/db/schema/migrations/oss/postgres/20/04_host.up.sql +++ b/internal/db/schema/migrations/oss/postgres/20/04_host.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- We are adding the name to the base host catalog type. This allows the db diff --git a/internal/db/schema/migrations/oss/postgres/20/05_plugin_host.up.sql b/internal/db/schema/migrations/oss/postgres/20/05_plugin_host.up.sql index 96a67291d..8512c847b 100644 --- a/internal/db/schema/migrations/oss/postgres/20/05_plugin_host.up.sql +++ b/internal/db/schema/migrations/oss/postgres/20/05_plugin_host.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; /* diff --git a/internal/db/schema/migrations/oss/postgres/20/06_plugin_host_views.up.sql b/internal/db/schema/migrations/oss/postgres/20/06_plugin_host_views.up.sql index a23606279..350fdfb11 100644 --- a/internal/db/schema/migrations/oss/postgres/20/06_plugin_host_views.up.sql +++ b/internal/db/schema/migrations/oss/postgres/20/06_plugin_host_views.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- host_plugin_host_set_with_value_obj is useful for reading a plugin host set with its diff --git a/internal/db/schema/migrations/oss/postgres/20/07_wh_session_dimensions.up.sql b/internal/db/schema/migrations/oss/postgres/20/07_wh_session_dimensions.up.sql index 32f4460ff..87630d5fb 100644 --- a/internal/db/schema/migrations/oss/postgres/20/07_wh_session_dimensions.up.sql +++ b/internal/db/schema/migrations/oss/postgres/20/07_wh_session_dimensions.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- replaces view from 15/02_wh_rename_host_dimension_org.up.sql diff --git a/internal/db/schema/migrations/oss/postgres/20/08_plugin_host_views.up.sql b/internal/db/schema/migrations/oss/postgres/20/08_plugin_host_views.up.sql index f54a527ea..39046bc70 100644 --- a/internal/db/schema/migrations/oss/postgres/20/08_plugin_host_views.up.sql +++ b/internal/db/schema/migrations/oss/postgres/20/08_plugin_host_views.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; alter table host_plugin_host diff --git a/internal/db/schema/migrations/oss/postgres/20/09_session_list_view.up.sql b/internal/db/schema/migrations/oss/postgres/20/09_session_list_view.up.sql index 8d9b9f30f..3ab5c812f 100644 --- a/internal/db/schema/migrations/oss/postgres/20/09_session_list_view.up.sql +++ b/internal/db/schema/migrations/oss/postgres/20/09_session_list_view.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Replaces the view created in 1/01 to include connections diff --git a/internal/db/schema/migrations/oss/postgres/20/10_plugin_host_secrets_hmac.up.sql b/internal/db/schema/migrations/oss/postgres/20/10_plugin_host_secrets_hmac.up.sql index 6db89d841..d314095df 100644 --- a/internal/db/schema/migrations/oss/postgres/20/10_plugin_host_secrets_hmac.up.sql +++ b/internal/db/schema/migrations/oss/postgres/20/10_plugin_host_secrets_hmac.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; alter table host_plugin_catalog diff --git a/internal/db/schema/migrations/oss/postgres/21/01_default_time.up.sql b/internal/db/schema/migrations/oss/postgres/21/01_default_time.up.sql index 5b69a879f..be99dfb5b 100644 --- a/internal/db/schema/migrations/oss/postgres/21/01_default_time.up.sql +++ b/internal/db/schema/migrations/oss/postgres/21/01_default_time.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Replaces function from 0/01_domain_types.up.sql diff --git a/internal/db/schema/migrations/oss/postgres/21/02_session.up.sql b/internal/db/schema/migrations/oss/postgres/21/02_session.up.sql index ca7e399ca..5776f7eb7 100644 --- a/internal/db/schema/migrations/oss/postgres/21/02_session.up.sql +++ b/internal/db/schema/migrations/oss/postgres/21/02_session.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; alter table session_connection diff --git a/internal/db/schema/migrations/oss/postgres/22/01_sentinel.up.sql b/internal/db/schema/migrations/oss/postgres/22/01_sentinel.up.sql index 0cc30ea89..08846ceb9 100644 --- a/internal/db/schema/migrations/oss/postgres/22/01_sentinel.up.sql +++ b/internal/db/schema/migrations/oss/postgres/22/01_sentinel.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create function wt_to_sentinel(string text) returns text diff --git a/internal/db/schema/migrations/oss/postgres/22/02_credential_type.up.sql b/internal/db/schema/migrations/oss/postgres/22/02_credential_type.up.sql index 0778b2025..3ea312bfa 100644 --- a/internal/db/schema/migrations/oss/postgres/22/02_credential_type.up.sql +++ b/internal/db/schema/migrations/oss/postgres/22/02_credential_type.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table credential_type_enm ( diff --git a/internal/db/schema/migrations/oss/postgres/22/03_vault_library_map.up.sql b/internal/db/schema/migrations/oss/postgres/22/03_vault_library_map.up.sql index 3e84406b6..65e083cc3 100644 --- a/internal/db/schema/migrations/oss/postgres/22/03_vault_library_map.up.sql +++ b/internal/db/schema/migrations/oss/postgres/22/03_vault_library_map.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table credential_vault_library_mapping_override ( diff --git a/internal/db/schema/migrations/oss/postgres/22/04_vault_library_map_user_password.up.sql b/internal/db/schema/migrations/oss/postgres/22/04_vault_library_map_user_password.up.sql index 70d862a57..907be68ee 100644 --- a/internal/db/schema/migrations/oss/postgres/22/04_vault_library_map_user_password.up.sql +++ b/internal/db/schema/migrations/oss/postgres/22/04_vault_library_map_user_password.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Updated in 36/01_vault_library_map_username_password.up.sql diff --git a/internal/db/schema/migrations/oss/postgres/22/05_vault_private_library.up.sql b/internal/db/schema/migrations/oss/postgres/22/05_vault_private_library.up.sql index 2c6d3148a..08ffc5583 100644 --- a/internal/db/schema/migrations/oss/postgres/22/05_vault_private_library.up.sql +++ b/internal/db/schema/migrations/oss/postgres/22/05_vault_private_library.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Updated in 36/02_vault_private_library.up.sql diff --git a/internal/db/schema/migrations/oss/postgres/23/01_session_credential.up.sql b/internal/db/schema/migrations/oss/postgres/23/01_session_credential.up.sql index aaebcd2da..bd9db7463 100644 --- a/internal/db/schema/migrations/oss/postgres/23/01_session_credential.up.sql +++ b/internal/db/schema/migrations/oss/postgres/23/01_session_credential.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table session_credential ( diff --git a/internal/db/schema/migrations/oss/postgres/24/01_session_valid_state.up.sql b/internal/db/schema/migrations/oss/postgres/24/01_session_valid_state.up.sql index 6d2ef8b55..efd1aed07 100644 --- a/internal/db/schema/migrations/oss/postgres/24/01_session_valid_state.up.sql +++ b/internal/db/schema/migrations/oss/postgres/24/01_session_valid_state.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Remove invalid (states with no prior end time) rows diff --git a/internal/db/schema/migrations/oss/postgres/25/01_static_host_view.up.sql b/internal/db/schema/migrations/oss/postgres/25/01_static_host_view.up.sql index ec1782f3d..5e29a42ae 100644 --- a/internal/db/schema/migrations/oss/postgres/25/01_static_host_view.up.sql +++ b/internal/db/schema/migrations/oss/postgres/25/01_static_host_view.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- static_host_with_set_memberships is used for associating a static host instance with all its related host sets diff --git a/internal/db/schema/migrations/oss/postgres/26/01_wh_network_address_dimensions.up.sql b/internal/db/schema/migrations/oss/postgres/26/01_wh_network_address_dimensions.up.sql index 3912bfc21..0528c377b 100644 --- a/internal/db/schema/migrations/oss/postgres/26/01_wh_network_address_dimensions.up.sql +++ b/internal/db/schema/migrations/oss/postgres/26/01_wh_network_address_dimensions.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- wh_network_address_dimension contains the addresses and calculated values diff --git a/internal/db/schema/migrations/oss/postgres/26/02_wh_network_address_dimensions.up.sql b/internal/db/schema/migrations/oss/postgres/26/02_wh_network_address_dimensions.up.sql index 03ffb1dcf..520544ed3 100644 --- a/internal/db/schema/migrations/oss/postgres/26/02_wh_network_address_dimensions.up.sql +++ b/internal/db/schema/migrations/oss/postgres/26/02_wh_network_address_dimensions.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- replaces 20/07_wh_session_dimensions.up.sql diff --git a/internal/db/schema/migrations/oss/postgres/26/03_wh_network_address_dimensions.up.sql b/internal/db/schema/migrations/oss/postgres/26/03_wh_network_address_dimensions.up.sql index 6d65dfefa..4bc39d0af 100644 --- a/internal/db/schema/migrations/oss/postgres/26/03_wh_network_address_dimensions.up.sql +++ b/internal/db/schema/migrations/oss/postgres/26/03_wh_network_address_dimensions.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- wh_upsert_network_address_dimension function writes all addresses for a diff --git a/internal/db/schema/migrations/oss/postgres/27/01_disable_terminate_session.up.sql b/internal/db/schema/migrations/oss/postgres/27/01_disable_terminate_session.up.sql index f4c60386b..f13ee527e 100644 --- a/internal/db/schema/migrations/oss/postgres/27/01_disable_terminate_session.up.sql +++ b/internal/db/schema/migrations/oss/postgres/27/01_disable_terminate_session.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Replaces function from 0/51_connection.up.sql -- Remove call to terminate_session_if_possible diff --git a/internal/db/schema/migrations/oss/postgres/27/02_wh_session_facts.up.sql b/internal/db/schema/migrations/oss/postgres/27/02_wh_session_facts.up.sql index 298deb4ce..3bcffb039 100644 --- a/internal/db/schema/migrations/oss/postgres/27/02_wh_session_facts.up.sql +++ b/internal/db/schema/migrations/oss/postgres/27/02_wh_session_facts.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Updating definition from 16/05_wh_credential_dimension.up.sql -- Remove call to wh_rollup_connections(new.session_id) from function diff --git a/internal/db/schema/migrations/oss/postgres/28/01_session_create_time_idx.up.sql b/internal/db/schema/migrations/oss/postgres/28/01_session_create_time_idx.up.sql index e60b8ffdb..0fcf6b3dc 100644 --- a/internal/db/schema/migrations/oss/postgres/28/01_session_create_time_idx.up.sql +++ b/internal/db/schema/migrations/oss/postgres/28/01_session_create_time_idx.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Session list queries always use an order by on create_time. -- This index can aide in performing this order by. diff --git a/internal/db/schema/migrations/oss/postgres/28/02_prior_session_trigger.up.sql b/internal/db/schema/migrations/oss/postgres/28/02_prior_session_trigger.up.sql index 827535ccb..77e8d2ad7 100644 --- a/internal/db/schema/migrations/oss/postgres/28/02_prior_session_trigger.up.sql +++ b/internal/db/schema/migrations/oss/postgres/28/02_prior_session_trigger.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Drop prior session state trigger; to be replaced with logic added to insert_session_state() diff --git a/internal/db/schema/migrations/oss/postgres/29/01_cancel_session_null_fkey.up.sql b/internal/db/schema/migrations/oss/postgres/29/01_cancel_session_null_fkey.up.sql index f6adb6d5d..2ad4bf070 100644 --- a/internal/db/schema/migrations/oss/postgres/29/01_cancel_session_null_fkey.up.sql +++ b/internal/db/schema/migrations/oss/postgres/29/01_cancel_session_null_fkey.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; drop function cancel_session(in sessionId text); diff --git a/internal/db/schema/migrations/oss/postgres/3/01_auth.up.sql b/internal/db/schema/migrations/oss/postgres/3/01_auth.up.sql index 2fd50e372..c7457eeba 100644 --- a/internal/db/schema/migrations/oss/postgres/3/01_auth.up.sql +++ b/internal/db/schema/migrations/oss/postgres/3/01_auth.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; diff --git a/internal/db/schema/migrations/oss/postgres/3/02_iam.up.sql b/internal/db/schema/migrations/oss/postgres/3/02_iam.up.sql index 8e1ee596c..bc6eba5c3 100644 --- a/internal/db/schema/migrations/oss/postgres/3/02_iam.up.sql +++ b/internal/db/schema/migrations/oss/postgres/3/02_iam.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; drop view iam_user_acct_info; diff --git a/internal/db/schema/migrations/oss/postgres/30/01_kms_domain_types.up.sql b/internal/db/schema/migrations/oss/postgres/30/01_kms_domain_types.up.sql index 161d43b5c..aa95d00c5 100644 --- a/internal/db/schema/migrations/oss/postgres/30/01_kms_domain_types.up.sql +++ b/internal/db/schema/migrations/oss/postgres/30/01_kms_domain_types.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- make the required schema changes to adopt diff --git a/internal/db/schema/migrations/oss/postgres/30/02_kms_version.up.sql b/internal/db/schema/migrations/oss/postgres/30/02_kms_version.up.sql index e59dbcc5c..88584ebbf 100644 --- a/internal/db/schema/migrations/oss/postgres/30/02_kms_version.up.sql +++ b/internal/db/schema/migrations/oss/postgres/30/02_kms_version.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- make the required schema changes to adopt diff --git a/internal/db/schema/migrations/oss/postgres/30/03_kms_keys.up.sql b/internal/db/schema/migrations/oss/postgres/30/03_kms_keys.up.sql index 5dbb805ab..cd2fa2ac3 100644 --- a/internal/db/schema/migrations/oss/postgres/30/03_kms_keys.up.sql +++ b/internal/db/schema/migrations/oss/postgres/30/03_kms_keys.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- make the required schema changes to adopt diff --git a/internal/db/schema/migrations/oss/postgres/30/04_kms_keys.up.sql b/internal/db/schema/migrations/oss/postgres/30/04_kms_keys.up.sql index d2ccccd4d..dabae70e7 100644 --- a/internal/db/schema/migrations/oss/postgres/30/04_kms_keys.up.sql +++ b/internal/db/schema/migrations/oss/postgres/30/04_kms_keys.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- make the required schema changes to adopt diff --git a/internal/db/schema/migrations/oss/postgres/31/01_delete_termianted_sessions.up.sql b/internal/db/schema/migrations/oss/postgres/31/01_delete_termianted_sessions.up.sql index 9b0a49102..6dbb24648 100644 --- a/internal/db/schema/migrations/oss/postgres/31/01_delete_termianted_sessions.up.sql +++ b/internal/db/schema/migrations/oss/postgres/31/01_delete_termianted_sessions.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; delete from session using session_state diff --git a/internal/db/schema/migrations/oss/postgres/31/02_session_list_no_connections.up.sql b/internal/db/schema/migrations/oss/postgres/31/02_session_list_no_connections.up.sql index e012f2d77..dd8f3bbcb 100644 --- a/internal/db/schema/migrations/oss/postgres/31/02_session_list_no_connections.up.sql +++ b/internal/db/schema/migrations/oss/postgres/31/02_session_list_no_connections.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Replaces the view created in 2/09_session_list_view diff --git a/internal/db/schema/migrations/oss/postgres/32/01_credential_type.up.sql b/internal/db/schema/migrations/oss/postgres/32/01_credential_type.up.sql index 4c290bc8d..1acb48c8e 100644 --- a/internal/db/schema/migrations/oss/postgres/32/01_credential_type.up.sql +++ b/internal/db/schema/migrations/oss/postgres/32/01_credential_type.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- updated in 39/01_static_ssh_private_key_creds diff --git a/internal/db/schema/migrations/oss/postgres/33/01_static_credential.up.sql b/internal/db/schema/migrations/oss/postgres/33/01_static_credential.up.sql index d397f0eaa..a2969c0df 100644 --- a/internal/db/schema/migrations/oss/postgres/33/01_static_credential.up.sql +++ b/internal/db/schema/migrations/oss/postgres/33/01_static_credential.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table credential_static_store ( diff --git a/internal/db/schema/migrations/oss/postgres/33/02_target.up.sql b/internal/db/schema/migrations/oss/postgres/33/02_target.up.sql index 8b3e51330..2094a24ad 100644 --- a/internal/db/schema/migrations/oss/postgres/33/02_target.up.sql +++ b/internal/db/schema/migrations/oss/postgres/33/02_target.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- target_static_credential does not follow the normal table naming convention of target_credential_static diff --git a/internal/db/schema/migrations/oss/postgres/33/03_session.up.sql b/internal/db/schema/migrations/oss/postgres/33/03_session.up.sql index 71bbdad95..e363e854d 100644 --- a/internal/db/schema/migrations/oss/postgres/33/03_session.up.sql +++ b/internal/db/schema/migrations/oss/postgres/33/03_session.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table session_credential_static ( diff --git a/internal/db/schema/migrations/oss/postgres/34/01_domain_types.up.sql b/internal/db/schema/migrations/oss/postgres/34/01_domain_types.up.sql index 504274797..ead172ccc 100644 --- a/internal/db/schema/migrations/oss/postgres/34/01_domain_types.up.sql +++ b/internal/db/schema/migrations/oss/postgres/34/01_domain_types.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- wt_network_address defines a type for a network address. diff --git a/internal/db/schema/migrations/oss/postgres/34/02_worker_controller_tables.up.sql b/internal/db/schema/migrations/oss/postgres/34/02_worker_controller_tables.up.sql index a1816ad1b..37d26d57d 100644 --- a/internal/db/schema/migrations/oss/postgres/34/02_worker_controller_tables.up.sql +++ b/internal/db/schema/migrations/oss/postgres/34/02_worker_controller_tables.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Split the server table into two new tables: controller and worker diff --git a/internal/db/schema/migrations/oss/postgres/34/03_worker_authentication.up.sql b/internal/db/schema/migrations/oss/postgres/34/03_worker_authentication.up.sql index e2afc5183..20c407fac 100644 --- a/internal/db/schema/migrations/oss/postgres/34/03_worker_authentication.up.sql +++ b/internal/db/schema/migrations/oss/postgres/34/03_worker_authentication.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table worker_auth_operational_indicator_enm( diff --git a/internal/db/schema/migrations/oss/postgres/34/04_views.up.sql b/internal/db/schema/migrations/oss/postgres/34/04_views.up.sql index e827d41cc..c47851457 100644 --- a/internal/db/schema/migrations/oss/postgres/34/04_views.up.sql +++ b/internal/db/schema/migrations/oss/postgres/34/04_views.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- worker_aggregate view allows the worker and configuration to be read at the diff --git a/internal/db/schema/migrations/oss/postgres/35/01_job_migrations.up.sql b/internal/db/schema/migrations/oss/postgres/35/01_job_migrations.up.sql index 80b97436f..0c130e776 100644 --- a/internal/db/schema/migrations/oss/postgres/35/01_job_migrations.up.sql +++ b/internal/db/schema/migrations/oss/postgres/35/01_job_migrations.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- The job_run table has a foreign key to the server_controller private_id. diff --git a/internal/db/schema/migrations/oss/postgres/35/02_cleanup.up.sql b/internal/db/schema/migrations/oss/postgres/35/02_cleanup.up.sql index b408d33d7..1861c8c3c 100644 --- a/internal/db/schema/migrations/oss/postgres/35/02_cleanup.up.sql +++ b/internal/db/schema/migrations/oss/postgres/35/02_cleanup.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- This adds additional cleanup to what went into 0.8.x. There could be a case diff --git a/internal/db/schema/migrations/oss/postgres/36/01_vault_library_map_username_password.up.sql b/internal/db/schema/migrations/oss/postgres/36/01_vault_library_map_username_password.up.sql index e5e55b26c..3ab1cb320 100644 --- a/internal/db/schema/migrations/oss/postgres/36/01_vault_library_map_username_password.up.sql +++ b/internal/db/schema/migrations/oss/postgres/36/01_vault_library_map_username_password.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Renames table from 22/04_vault_library_map_user_password.up.sql diff --git a/internal/db/schema/migrations/oss/postgres/36/02_vault_private_library.up.sql b/internal/db/schema/migrations/oss/postgres/36/02_vault_private_library.up.sql index 4520efa5f..732ea7f60 100644 --- a/internal/db/schema/migrations/oss/postgres/36/02_vault_private_library.up.sql +++ b/internal/db/schema/migrations/oss/postgres/36/02_vault_private_library.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; drop view credential_vault_library_public; diff --git a/internal/db/schema/migrations/oss/postgres/37/01_set_unlimited_connections_limit.up.sql b/internal/db/schema/migrations/oss/postgres/37/01_set_unlimited_connections_limit.up.sql index 333b72eaa..d1abee5da 100644 --- a/internal/db/schema/migrations/oss/postgres/37/01_set_unlimited_connections_limit.up.sql +++ b/internal/db/schema/migrations/oss/postgres/37/01_set_unlimited_connections_limit.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Changes the default that was set in 0/41_targets.up.sql diff --git a/internal/db/schema/migrations/oss/postgres/38/06_kms_collection_version.up.sql b/internal/db/schema/migrations/oss/postgres/38/06_kms_collection_version.up.sql index 92d331baa..4d37ad623 100644 --- a/internal/db/schema/migrations/oss/postgres/38/06_kms_collection_version.up.sql +++ b/internal/db/schema/migrations/oss/postgres/38/06_kms_collection_version.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- make the required schema changes to upgrade the dependency: -- github.com/hashicorp/go-kms-wrapping/extras/kms/v2 diff --git a/internal/db/schema/migrations/oss/postgres/39/01_static_ssh_private_key_creds.up.sql b/internal/db/schema/migrations/oss/postgres/39/01_static_ssh_private_key_creds.up.sql index b19952e69..8d9bf8dd9 100644 --- a/internal/db/schema/migrations/oss/postgres/39/01_static_ssh_private_key_creds.up.sql +++ b/internal/db/schema/migrations/oss/postgres/39/01_static_ssh_private_key_creds.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- drop constraint so we can add ssh_private_key diff --git a/internal/db/schema/migrations/oss/postgres/39/02_vault_ssh_private_key_override.up.sql b/internal/db/schema/migrations/oss/postgres/39/02_vault_ssh_private_key_override.up.sql index 970ba14eb..6d32c1ca5 100644 --- a/internal/db/schema/migrations/oss/postgres/39/02_vault_ssh_private_key_override.up.sql +++ b/internal/db/schema/migrations/oss/postgres/39/02_vault_ssh_private_key_override.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- add ssh_private_key type diff --git a/internal/db/schema/migrations/oss/postgres/4/01_iam.up.sql b/internal/db/schema/migrations/oss/postgres/4/01_iam.up.sql index a1c95d102..232b84693 100644 --- a/internal/db/schema/migrations/oss/postgres/4/01_iam.up.sql +++ b/internal/db/schema/migrations/oss/postgres/4/01_iam.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- fix ordering of fields in iam_acct_info for auth_password_account select diff --git a/internal/db/schema/migrations/oss/postgres/40/01_credential.up.sql b/internal/db/schema/migrations/oss/postgres/40/01_credential.up.sql index 7cc29f4a0..4bfefdb08 100644 --- a/internal/db/schema/migrations/oss/postgres/40/01_credential.up.sql +++ b/internal/db/schema/migrations/oss/postgres/40/01_credential.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- drop constraint so we can migrate enm values diff --git a/internal/db/schema/migrations/oss/postgres/40/02_wh_credential.up.sql b/internal/db/schema/migrations/oss/postgres/40/02_wh_credential.up.sql index 6d6b78d7d..4157da037 100644 --- a/internal/db/schema/migrations/oss/postgres/40/02_wh_credential.up.sql +++ b/internal/db/schema/migrations/oss/postgres/40/02_wh_credential.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- update egress to injected_application diff --git a/internal/db/schema/migrations/oss/postgres/41/01_worker_filter_vault_cred_store.up.sql b/internal/db/schema/migrations/oss/postgres/41/01_worker_filter_vault_cred_store.up.sql index c22fa6f7c..26eae256a 100644 --- a/internal/db/schema/migrations/oss/postgres/41/01_worker_filter_vault_cred_store.up.sql +++ b/internal/db/schema/migrations/oss/postgres/41/01_worker_filter_vault_cred_store.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Add worker_filter to vault cred store table and related views diff --git a/internal/db/schema/migrations/oss/postgres/42/01_ssh_private_key_passphrase.up.sql b/internal/db/schema/migrations/oss/postgres/42/01_ssh_private_key_passphrase.up.sql index 344f71efd..bc09a9b08 100644 --- a/internal/db/schema/migrations/oss/postgres/42/01_ssh_private_key_passphrase.up.sql +++ b/internal/db/schema/migrations/oss/postgres/42/01_ssh_private_key_passphrase.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; alter table credential_static_ssh_private_key_credential diff --git a/internal/db/schema/migrations/oss/postgres/43/01_session_credentials.up.sql b/internal/db/schema/migrations/oss/postgres/43/01_session_credentials.up.sql index 50659d537..4deb9c3bc 100644 --- a/internal/db/schema/migrations/oss/postgres/43/01_session_credentials.up.sql +++ b/internal/db/schema/migrations/oss/postgres/43/01_session_credentials.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Update table from 23/01_session_credential.up.sql diff --git a/internal/db/schema/migrations/oss/postgres/44/01_credentials.up.sql b/internal/db/schema/migrations/oss/postgres/44/01_credentials.up.sql index d5e7920f5..237d5ea9b 100644 --- a/internal/db/schema/migrations/oss/postgres/44/01_credentials.up.sql +++ b/internal/db/schema/migrations/oss/postgres/44/01_credentials.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- dropping these foreign keys because they were never needed diff --git a/internal/db/schema/migrations/oss/postgres/44/02_hosts.up.sql b/internal/db/schema/migrations/oss/postgres/44/02_hosts.up.sql index d2521766d..f1a9fb4f4 100644 --- a/internal/db/schema/migrations/oss/postgres/44/02_hosts.up.sql +++ b/internal/db/schema/migrations/oss/postgres/44/02_hosts.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- dropping these foreign keys because they were never needed diff --git a/internal/db/schema/migrations/oss/postgres/44/03_targets.up.sql b/internal/db/schema/migrations/oss/postgres/44/03_targets.up.sql index c219a52da..e91c547fc 100644 --- a/internal/db/schema/migrations/oss/postgres/44/03_targets.up.sql +++ b/internal/db/schema/migrations/oss/postgres/44/03_targets.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- dropping these foreign keys because they were never needed diff --git a/internal/db/schema/migrations/oss/postgres/44/04_sessions.up.sql b/internal/db/schema/migrations/oss/postgres/44/04_sessions.up.sql index 99bed5d31..5443b1976 100644 --- a/internal/db/schema/migrations/oss/postgres/44/04_sessions.up.sql +++ b/internal/db/schema/migrations/oss/postgres/44/04_sessions.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; alter table session drop constraint session_scope_id_fkey; diff --git a/internal/db/schema/migrations/oss/postgres/45/01_credentials.up.sql b/internal/db/schema/migrations/oss/postgres/45/01_credentials.up.sql index 2ac56554b..f9d2f1c52 100644 --- a/internal/db/schema/migrations/oss/postgres/45/01_credentials.up.sql +++ b/internal/db/schema/migrations/oss/postgres/45/01_credentials.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; alter table credential_store diff --git a/internal/db/schema/migrations/oss/postgres/45/02_hosts.up.sql b/internal/db/schema/migrations/oss/postgres/45/02_hosts.up.sql index 3df5e5d25..88414124e 100644 --- a/internal/db/schema/migrations/oss/postgres/45/02_hosts.up.sql +++ b/internal/db/schema/migrations/oss/postgres/45/02_hosts.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; alter table host_catalog diff --git a/internal/db/schema/migrations/oss/postgres/45/03_targets.up.sql b/internal/db/schema/migrations/oss/postgres/45/03_targets.up.sql index 8f6d27f18..e6d7ff7e3 100644 --- a/internal/db/schema/migrations/oss/postgres/45/03_targets.up.sql +++ b/internal/db/schema/migrations/oss/postgres/45/03_targets.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; alter table target diff --git a/internal/db/schema/migrations/oss/postgres/46/01_credentials.up.sql b/internal/db/schema/migrations/oss/postgres/46/01_credentials.up.sql index 82174bf61..3024ea5e3 100644 --- a/internal/db/schema/migrations/oss/postgres/46/01_credentials.up.sql +++ b/internal/db/schema/migrations/oss/postgres/46/01_credentials.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- credential_library diff --git a/internal/db/schema/migrations/oss/postgres/46/02_hosts.up.sql b/internal/db/schema/migrations/oss/postgres/46/02_hosts.up.sql index bfbb7c52c..11fbd07c1 100644 --- a/internal/db/schema/migrations/oss/postgres/46/02_hosts.up.sql +++ b/internal/db/schema/migrations/oss/postgres/46/02_hosts.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- host_set diff --git a/internal/db/schema/migrations/oss/postgres/46/03_targets.up.sql b/internal/db/schema/migrations/oss/postgres/46/03_targets.up.sql index efe5cb096..6b97b7d78 100644 --- a/internal/db/schema/migrations/oss/postgres/46/03_targets.up.sql +++ b/internal/db/schema/migrations/oss/postgres/46/03_targets.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; alter table target diff --git a/internal/db/schema/migrations/oss/postgres/47/01_key_rewrap.up.sql b/internal/db/schema/migrations/oss/postgres/47/01_key_rewrap.up.sql index ceb6b0e36..6d3e6fd48 100644 --- a/internal/db/schema/migrations/oss/postgres/47/01_key_rewrap.up.sql +++ b/internal/db/schema/migrations/oss/postgres/47/01_key_rewrap.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- make the required schema changes to upgrade the dependency: -- github.com/hashicorp/go-kms-wrapping/extras/kms/v2 -- this migration is from: diff --git a/internal/db/schema/migrations/oss/postgres/48/01_worker_auth_activation_token.up.sql b/internal/db/schema/migrations/oss/postgres/48/01_worker_auth_activation_token.up.sql index 0f82c72b6..2743face8 100644 --- a/internal/db/schema/migrations/oss/postgres/48/01_worker_auth_activation_token.up.sql +++ b/internal/db/schema/migrations/oss/postgres/48/01_worker_auth_activation_token.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table worker_auth_server_led_activation_token( diff --git a/internal/db/schema/migrations/oss/postgres/49/01_vault_credentials.up.sql b/internal/db/schema/migrations/oss/postgres/49/01_vault_credentials.up.sql index 5fe796123..494970e95 100644 --- a/internal/db/schema/migrations/oss/postgres/49/01_vault_credentials.up.sql +++ b/internal/db/schema/migrations/oss/postgres/49/01_vault_credentials.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- update views diff --git a/internal/db/schema/migrations/oss/postgres/5/01_oidc.up.sql b/internal/db/schema/migrations/oss/postgres/5/01_oidc.up.sql index 374b124b5..d31d07828 100644 --- a/internal/db/schema/migrations/oss/postgres/5/01_oidc.up.sql +++ b/internal/db/schema/migrations/oss/postgres/5/01_oidc.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; diff --git a/internal/db/schema/migrations/oss/postgres/50/01_session_list_index.up.sql b/internal/db/schema/migrations/oss/postgres/50/01_session_list_index.up.sql index b92cf056f..f8134220f 100644 --- a/internal/db/schema/migrations/oss/postgres/50/01_session_list_index.up.sql +++ b/internal/db/schema/migrations/oss/postgres/50/01_session_list_index.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Partial index to aid session list requests -- diff --git a/internal/db/schema/migrations/oss/postgres/51/01_server_worker_release_version.up.sql b/internal/db/schema/migrations/oss/postgres/51/01_server_worker_release_version.up.sql index 75bc781d5..9e1ba5b56 100644 --- a/internal/db/schema/migrations/oss/postgres/51/01_server_worker_release_version.up.sql +++ b/internal/db/schema/migrations/oss/postgres/51/01_server_worker_release_version.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- release_version can be null, but if provided it must be greater than 8 to account for diff --git a/internal/db/schema/migrations/oss/postgres/52/01_worker_operational_state.up.sql b/internal/db/schema/migrations/oss/postgres/52/01_worker_operational_state.up.sql index 67206f1a5..acaef6c7f 100644 --- a/internal/db/schema/migrations/oss/postgres/52/01_worker_operational_state.up.sql +++ b/internal/db/schema/migrations/oss/postgres/52/01_worker_operational_state.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table server_worker_operational_state_enm ( diff --git a/internal/db/schema/migrations/oss/postgres/53/01_roles.up.sql b/internal/db/schema/migrations/oss/postgres/53/01_roles.up.sql index 984b26007..65d28900d 100644 --- a/internal/db/schema/migrations/oss/postgres/53/01_roles.up.sql +++ b/internal/db/schema/migrations/oss/postgres/53/01_roles.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Remove immutable property diff --git a/internal/db/schema/migrations/oss/postgres/54/01_static_json_creds.up.sql b/internal/db/schema/migrations/oss/postgres/54/01_static_json_creds.up.sql index 5c0ef66e8..16a727518 100644 --- a/internal/db/schema/migrations/oss/postgres/54/01_static_json_creds.up.sql +++ b/internal/db/schema/migrations/oss/postgres/54/01_static_json_creds.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table credential_static_json_credential ( diff --git a/internal/db/schema/migrations/oss/postgres/54/02_session_defer.up.sql b/internal/db/schema/migrations/oss/postgres/54/02_session_defer.up.sql index b251b2e27..51e1d8343 100644 --- a/internal/db/schema/migrations/oss/postgres/54/02_session_defer.up.sql +++ b/internal/db/schema/migrations/oss/postgres/54/02_session_defer.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; alter table session alter constraint target_fkey deferrable initially deferred; alter table session alter constraint session_auth_token_id_fkey deferrable initially deferred; diff --git a/internal/db/schema/migrations/oss/postgres/55/01_worker_auth_create_time.up.sql b/internal/db/schema/migrations/oss/postgres/55/01_worker_auth_create_time.up.sql index 0737594db..1ca4acda9 100644 --- a/internal/db/schema/migrations/oss/postgres/55/01_worker_auth_create_time.up.sql +++ b/internal/db/schema/migrations/oss/postgres/55/01_worker_auth_create_time.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Add the create_time and update_time columns to the worker_auth_authorized diff --git a/internal/db/schema/migrations/oss/postgres/56/01_oplog_key_id_scope_id_truncation.up.sql b/internal/db/schema/migrations/oss/postgres/56/01_oplog_key_id_scope_id_truncation.up.sql index 9154f7dad..27efadebb 100644 --- a/internal/db/schema/migrations/oss/postgres/56/01_oplog_key_id_scope_id_truncation.up.sql +++ b/internal/db/schema/migrations/oss/postgres/56/01_oplog_key_id_scope_id_truncation.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; truncate table oplog_entry, oplog_metadata; diff --git a/internal/db/schema/migrations/oss/postgres/56/02_add_data_key_foreign_key_references.up.sql b/internal/db/schema/migrations/oss/postgres/56/02_add_data_key_foreign_key_references.up.sql index 3ed79b07e..c7b266bb9 100644 --- a/internal/db/schema/migrations/oss/postgres/56/02_add_data_key_foreign_key_references.up.sql +++ b/internal/db/schema/migrations/oss/postgres/56/02_add_data_key_foreign_key_references.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; alter table auth_token diff --git a/internal/db/schema/migrations/oss/postgres/56/03_create_kms_key_destructions.up.sql b/internal/db/schema/migrations/oss/postgres/56/03_create_kms_key_destructions.up.sql index c3d299caf..03820594a 100644 --- a/internal/db/schema/migrations/oss/postgres/56/03_create_kms_key_destructions.up.sql +++ b/internal/db/schema/migrations/oss/postgres/56/03_create_kms_key_destructions.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table kms_data_key_version_destruction_job ( diff --git a/internal/db/schema/migrations/oss/postgres/56/04_mutable_root_key_version.up.sql b/internal/db/schema/migrations/oss/postgres/56/04_mutable_root_key_version.up.sql index c9228a755..f7e8751f4 100644 --- a/internal/db/schema/migrations/oss/postgres/56/04_mutable_root_key_version.up.sql +++ b/internal/db/schema/migrations/oss/postgres/56/04_mutable_root_key_version.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- this migration is from: diff --git a/internal/db/schema/migrations/oss/postgres/56/05_mutable_ciphertext_columns.up.sql b/internal/db/schema/migrations/oss/postgres/56/05_mutable_ciphertext_columns.up.sql index f9f856175..8bc8cbad7 100644 --- a/internal/db/schema/migrations/oss/postgres/56/05_mutable_ciphertext_columns.up.sql +++ b/internal/db/schema/migrations/oss/postgres/56/05_mutable_ciphertext_columns.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- We need to make private_key and key_id mutable, so that we can rewrap them. diff --git a/internal/db/schema/migrations/oss/postgres/56/06_add_session_private_key_column.up.sql b/internal/db/schema/migrations/oss/postgres/56/06_add_session_private_key_column.up.sql index bc835620b..08357c817 100644 --- a/internal/db/schema/migrations/oss/postgres/56/06_add_session_private_key_column.up.sql +++ b/internal/db/schema/migrations/oss/postgres/56/06_add_session_private_key_column.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- nullable because it will not be set for sessions that are active diff --git a/internal/db/schema/migrations/oss/postgres/57/01_auth.up.sql b/internal/db/schema/migrations/oss/postgres/57/01_auth.up.sql index 8a29bbb74..9f0b4177a 100644 --- a/internal/db/schema/migrations/oss/postgres/57/01_auth.up.sql +++ b/internal/db/schema/migrations/oss/postgres/57/01_auth.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- This deletes the base type if the concrete types exist anymore. diff --git a/internal/db/schema/migrations/oss/postgres/58/01_fix_comments.up.sql b/internal/db/schema/migrations/oss/postgres/58/01_fix_comments.up.sql index 34bb465d8..1c203a558 100644 --- a/internal/db/schema/migrations/oss/postgres/58/01_fix_comments.up.sql +++ b/internal/db/schema/migrations/oss/postgres/58/01_fix_comments.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Restores the correct comments originally defined in 7/01_functions.up.sql diff --git a/internal/db/schema/migrations/oss/postgres/59/01_target_ingress_egress_worker_filters.up.sql b/internal/db/schema/migrations/oss/postgres/59/01_target_ingress_egress_worker_filters.up.sql index 63158843d..41e4490d1 100644 --- a/internal/db/schema/migrations/oss/postgres/59/01_target_ingress_egress_worker_filters.up.sql +++ b/internal/db/schema/migrations/oss/postgres/59/01_target_ingress_egress_worker_filters.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Update tables to add ingress_worker_filter and egress_worker_filter diff --git a/internal/db/schema/migrations/oss/postgres/6/01_oidc.up.sql b/internal/db/schema/migrations/oss/postgres/6/01_oidc.up.sql index b9e9b747c..be3612294 100644 --- a/internal/db/schema/migrations/oss/postgres/6/01_oidc.up.sql +++ b/internal/db/schema/migrations/oss/postgres/6/01_oidc.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- auth_oidc_account_claim_map entries are the optional claim maps from custom diff --git a/internal/db/schema/migrations/oss/postgres/60/01_targets.up.sql b/internal/db/schema/migrations/oss/postgres/60/01_targets.up.sql index 5feca7f3c..b25e78147 100644 --- a/internal/db/schema/migrations/oss/postgres/60/01_targets.up.sql +++ b/internal/db/schema/migrations/oss/postgres/60/01_targets.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table target_address ( diff --git a/internal/db/schema/migrations/oss/postgres/60/02_sessions.up.sql b/internal/db/schema/migrations/oss/postgres/60/02_sessions.up.sql index 1b7b12a51..b3b359b03 100644 --- a/internal/db/schema/migrations/oss/postgres/60/02_sessions.up.sql +++ b/internal/db/schema/migrations/oss/postgres/60/02_sessions.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Replaces trigger from 56/02_add_data_key_foreign_key_references.up.sql diff --git a/internal/db/schema/migrations/oss/postgres/60/03_wh_sessions.up.sql b/internal/db/schema/migrations/oss/postgres/60/03_wh_sessions.up.sql index d0353ec31..1492a0f2c 100644 --- a/internal/db/schema/migrations/oss/postgres/60/03_wh_sessions.up.sql +++ b/internal/db/schema/migrations/oss/postgres/60/03_wh_sessions.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- replaced view in 44/03_targets.up.sql diff --git a/internal/db/schema/migrations/oss/postgres/61/01_fix_wh_upsert_credential_group.up.sql b/internal/db/schema/migrations/oss/postgres/61/01_fix_wh_upsert_credential_group.up.sql index 653360743..b67ea3c69 100644 --- a/internal/db/schema/migrations/oss/postgres/61/01_fix_wh_upsert_credential_group.up.sql +++ b/internal/db/schema/migrations/oss/postgres/61/01_fix_wh_upsert_credential_group.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; drop trigger wh_insert_stmt_session_credential_dynamic on session_credential_dynamic; diff --git a/internal/db/schema/migrations/oss/postgres/62/01_job_run_index.up.sql b/internal/db/schema/migrations/oss/postgres/62/01_job_run_index.up.sql index aa212c993..062b3dbce 100644 --- a/internal/db/schema/migrations/oss/postgres/62/01_job_run_index.up.sql +++ b/internal/db/schema/migrations/oss/postgres/62/01_job_run_index.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Delete any existing completed job_runs to make index diff --git a/internal/db/schema/migrations/oss/postgres/63/01_credential_vault_ssh_cert_library.up.sql b/internal/db/schema/migrations/oss/postgres/63/01_credential_vault_ssh_cert_library.up.sql index 6ec697947..372e7d875 100644 --- a/internal/db/schema/migrations/oss/postgres/63/01_credential_vault_ssh_cert_library.up.sql +++ b/internal/db/schema/migrations/oss/postgres/63/01_credential_vault_ssh_cert_library.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- drop constraint so we can add ssh_certificate diff --git a/internal/db/schema/migrations/oss/postgres/63/02_add_ssh_cert_to_vault_cred_library_view.up.sql b/internal/db/schema/migrations/oss/postgres/63/02_add_ssh_cert_to_vault_cred_library_view.up.sql index 4b09d965b..5a4747ea6 100644 --- a/internal/db/schema/migrations/oss/postgres/63/02_add_ssh_cert_to_vault_cred_library_view.up.sql +++ b/internal/db/schema/migrations/oss/postgres/63/02_add_ssh_cert_to_vault_cred_library_view.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Replaces view from 56/02_add_data_key_foreign_key_references.up.sql diff --git a/internal/db/schema/migrations/oss/postgres/63/03_wh_ssh_cert_library.up.sql b/internal/db/schema/migrations/oss/postgres/63/03_wh_ssh_cert_library.up.sql index f391cea0c..8a104e4e5 100644 --- a/internal/db/schema/migrations/oss/postgres/63/03_wh_ssh_cert_library.up.sql +++ b/internal/db/schema/migrations/oss/postgres/63/03_wh_ssh_cert_library.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; alter table wh_credential_dimension add column credential_library_username text, diff --git a/internal/db/schema/migrations/oss/postgres/7/01_functions.up.sql b/internal/db/schema/migrations/oss/postgres/7/01_functions.up.sql index f6ad0c9f7..8e5dc7e62 100644 --- a/internal/db/schema/migrations/oss/postgres/7/01_functions.up.sql +++ b/internal/db/schema/migrations/oss/postgres/7/01_functions.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Comments for the functions below were incorrectly overridden in diff --git a/internal/db/schema/migrations/oss/postgres/7/02_plugin.up.sql b/internal/db/schema/migrations/oss/postgres/7/02_plugin.up.sql index 63323690e..0ae561040 100644 --- a/internal/db/schema/migrations/oss/postgres/7/02_plugin.up.sql +++ b/internal/db/schema/migrations/oss/postgres/7/02_plugin.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create domain wt_plugin_id as text not null diff --git a/internal/db/schema/migrations/oss/postgres/7/03_job.up.sql b/internal/db/schema/migrations/oss/postgres/7/03_job.up.sql index 83852e22f..2532a381a 100644 --- a/internal/db/schema/migrations/oss/postgres/7/03_job.up.sql +++ b/internal/db/schema/migrations/oss/postgres/7/03_job.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table job ( diff --git a/internal/db/schema/migrations/oss/postgres/8/01_connection.up.sql b/internal/db/schema/migrations/oss/postgres/8/01_connection.up.sql index 8a98e4dd7..ce06eb432 100644 --- a/internal/db/schema/migrations/oss/postgres/8/01_connection.up.sql +++ b/internal/db/schema/migrations/oss/postgres/8/01_connection.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; alter table session_connection diff --git a/internal/db/schema/migrations/oss/postgres/8/08_connection_test.go b/internal/db/schema/migrations/oss/postgres/8/08_connection_test.go index 9de3eb8d3..e6ebb2729 100644 --- a/internal/db/schema/migrations/oss/postgres/8/08_connection_test.go +++ b/internal/db/schema/migrations/oss/postgres/8/08_connection_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package migration import ( diff --git a/internal/db/schema/migrations/oss/postgres/9/01_managed_groups.up.sql b/internal/db/schema/migrations/oss/postgres/9/01_managed_groups.up.sql index 2719ded8e..b97036727 100644 --- a/internal/db/schema/migrations/oss/postgres/9/01_managed_groups.up.sql +++ b/internal/db/schema/migrations/oss/postgres/9/01_managed_groups.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- The base abstract table diff --git a/internal/db/schema/migrations/oss/postgres/9/02_oidc_managed_group.up.sql b/internal/db/schema/migrations/oss/postgres/9/02_oidc_managed_group.up.sql index 440b2de82..f60498ef0 100644 --- a/internal/db/schema/migrations/oss/postgres/9/02_oidc_managed_group.up.sql +++ b/internal/db/schema/migrations/oss/postgres/9/02_oidc_managed_group.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table auth_oidc_managed_group ( diff --git a/internal/db/schema/migrations/oss/postgres/9/03_oidc_managed_group_member.up.sql b/internal/db/schema/migrations/oss/postgres/9/03_oidc_managed_group_member.up.sql index 4dd4ca3b9..d786af683 100644 --- a/internal/db/schema/migrations/oss/postgres/9/03_oidc_managed_group_member.up.sql +++ b/internal/db/schema/migrations/oss/postgres/9/03_oidc_managed_group_member.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Mappings of account to oidc managed groups. This is a non-abstract table with diff --git a/internal/db/schema/migrations/oss/postgres/9/04_oidc_managed_group_principal_role.up.sql b/internal/db/schema/migrations/oss/postgres/9/04_oidc_managed_group_principal_role.up.sql index 1715566ae..1a82cf3df 100644 --- a/internal/db/schema/migrations/oss/postgres/9/04_oidc_managed_group_principal_role.up.sql +++ b/internal/db/schema/migrations/oss/postgres/9/04_oidc_managed_group_principal_role.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- iam_managed_group_role contains roles that have been assigned to managed diff --git a/internal/db/schema/migrations/oss/postgres/9/managed_group_test.go b/internal/db/schema/migrations/oss/postgres/9/managed_group_test.go index 48c48590d..070a921fc 100644 --- a/internal/db/schema/migrations/oss/postgres/9/managed_group_test.go +++ b/internal/db/schema/migrations/oss/postgres/9/managed_group_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package migration import ( diff --git a/internal/db/schema/migrations/oss/postgres_11_01_test.go b/internal/db/schema/migrations/oss/postgres_11_01_test.go index d177173bc..835311058 100644 --- a/internal/db/schema/migrations/oss/postgres_11_01_test.go +++ b/internal/db/schema/migrations/oss/postgres_11_01_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oss_test import ( diff --git a/internal/db/schema/migrations/oss/postgres_12_01_test.go b/internal/db/schema/migrations/oss/postgres_12_01_test.go index 0e4d77c41..808695aa9 100644 --- a/internal/db/schema/migrations/oss/postgres_12_01_test.go +++ b/internal/db/schema/migrations/oss/postgres_12_01_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oss_test import ( diff --git a/internal/db/schema/migrations/oss/postgres_20_05_test.go b/internal/db/schema/migrations/oss/postgres_20_05_test.go index 0d1987705..083e2e27f 100644 --- a/internal/db/schema/migrations/oss/postgres_20_05_test.go +++ b/internal/db/schema/migrations/oss/postgres_20_05_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oss_test import ( diff --git a/internal/db/schema/migrations/oss/postgres_26_01_test.go b/internal/db/schema/migrations/oss/postgres_26_01_test.go index 80aa3ac60..60a561cd6 100644 --- a/internal/db/schema/migrations/oss/postgres_26_01_test.go +++ b/internal/db/schema/migrations/oss/postgres_26_01_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oss_test import ( diff --git a/internal/db/schema/migrations/oss/postgres_2_10_test.go b/internal/db/schema/migrations/oss/postgres_2_10_test.go index 1fd6f830a..70d4f9318 100644 --- a/internal/db/schema/migrations/oss/postgres_2_10_test.go +++ b/internal/db/schema/migrations/oss/postgres_2_10_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oss_test import ( diff --git a/internal/db/schema/migrations/oss/postgres_30_01_test.go b/internal/db/schema/migrations/oss/postgres_30_01_test.go index 8f1e3dbb9..7744da0a1 100644 --- a/internal/db/schema/migrations/oss/postgres_30_01_test.go +++ b/internal/db/schema/migrations/oss/postgres_30_01_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oss_test import ( diff --git a/internal/db/schema/migrations/oss/postgres_40_01_test.go b/internal/db/schema/migrations/oss/postgres_40_01_test.go index 0414551e3..938bb462d 100644 --- a/internal/db/schema/migrations/oss/postgres_40_01_test.go +++ b/internal/db/schema/migrations/oss/postgres_40_01_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oss_test import ( diff --git a/internal/db/schema/migrations/oss/postgres_46_01_test.go b/internal/db/schema/migrations/oss/postgres_46_01_test.go index 342980efb..0cc38019d 100644 --- a/internal/db/schema/migrations/oss/postgres_46_01_test.go +++ b/internal/db/schema/migrations/oss/postgres_46_01_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oss_test import ( diff --git a/internal/db/schema/migrations/oss/postgres_52_01_test.go b/internal/db/schema/migrations/oss/postgres_52_01_test.go index 41f8a28e3..772bfe780 100644 --- a/internal/db/schema/migrations/oss/postgres_52_01_test.go +++ b/internal/db/schema/migrations/oss/postgres_52_01_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oss_test import ( diff --git a/internal/db/schema/migrations/oss/postgres_53_01_test.go b/internal/db/schema/migrations/oss/postgres_53_01_test.go index 36f75715f..5bfb457d0 100644 --- a/internal/db/schema/migrations/oss/postgres_53_01_test.go +++ b/internal/db/schema/migrations/oss/postgres_53_01_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oss_test import ( diff --git a/internal/db/schema/migrations/oss/postgres_56_01_test.go b/internal/db/schema/migrations/oss/postgres_56_01_test.go index c543d059e..8de803e0f 100644 --- a/internal/db/schema/migrations/oss/postgres_56_01_test.go +++ b/internal/db/schema/migrations/oss/postgres_56_01_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oss_test import ( diff --git a/internal/db/schema/migrations/oss/postgres_57_01_test.go b/internal/db/schema/migrations/oss/postgres_57_01_test.go index 020621b9e..3aa920d90 100644 --- a/internal/db/schema/migrations/oss/postgres_57_01_test.go +++ b/internal/db/schema/migrations/oss/postgres_57_01_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oss_test import ( diff --git a/internal/db/schema/options.go b/internal/db/schema/options.go index 6ab7861c0..b65a21300 100644 --- a/internal/db/schema/options.go +++ b/internal/db/schema/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema import "github.com/hashicorp/boundary/internal/db/schema/internal/edition" diff --git a/internal/db/schema/options_test.go b/internal/db/schema/options_test.go index a4edda292..4164557b3 100644 --- a/internal/db/schema/options_test.go +++ b/internal/db/schema/options_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema import ( diff --git a/internal/db/schema/repair.go b/internal/db/schema/repair.go index 999010f66..74fcf2603 100644 --- a/internal/db/schema/repair.go +++ b/internal/db/schema/repair.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema import "github.com/hashicorp/boundary/internal/db/schema/migration" diff --git a/internal/db/schema/repair_test.go b/internal/db/schema/repair_test.go index 1f39cc190..c0dbce0ec 100644 --- a/internal/db/schema/repair_test.go +++ b/internal/db/schema/repair_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema_test import ( diff --git a/internal/db/schema/schema.go b/internal/db/schema/schema.go index ec5697886..e5e25827a 100644 --- a/internal/db/schema/schema.go +++ b/internal/db/schema/schema.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema import ( diff --git a/internal/db/schema/schema_test.go b/internal/db/schema/schema_test.go index 0e4a97852..99586a849 100644 --- a/internal/db/schema/schema_test.go +++ b/internal/db/schema/schema_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema_test import ( diff --git a/internal/db/schema/state.go b/internal/db/schema/state.go index d330ac64b..cc60ae8ff 100644 --- a/internal/db/schema/state.go +++ b/internal/db/schema/state.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema import "github.com/hashicorp/boundary/internal/db/schema/internal/provider" diff --git a/internal/db/schema/testdata/hooks/initial/0/01_initial.up.sql b/internal/db/schema/testdata/hooks/initial/0/01_initial.up.sql index a7dc0e211..c72482d41 100644 --- a/internal/db/schema/testdata/hooks/initial/0/01_initial.up.sql +++ b/internal/db/schema/testdata/hooks/initial/0/01_initial.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create domain tt_public_id as text check( diff --git a/internal/db/schema/testdata/hooks/updated/0/01_initial.up.sql b/internal/db/schema/testdata/hooks/updated/0/01_initial.up.sql index a7dc0e211..c72482d41 100644 --- a/internal/db/schema/testdata/hooks/updated/0/01_initial.up.sql +++ b/internal/db/schema/testdata/hooks/updated/0/01_initial.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create domain tt_public_id as text check( diff --git a/internal/db/schema/testdata/hooks/updated/1/01_update.up.sql b/internal/db/schema/testdata/hooks/updated/1/01_update.up.sql index 90be89709..ee83fc9c7 100644 --- a/internal/db/schema/testdata/hooks/updated/1/01_update.up.sql +++ b/internal/db/schema/testdata/hooks/updated/1/01_update.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table test_four ( id tt_public_id primary key diff --git a/internal/db/schema/testdata/one/0/01_initial.up.sql b/internal/db/schema/testdata/one/0/01_initial.up.sql index a7dc0e211..c72482d41 100644 --- a/internal/db/schema/testdata/one/0/01_initial.up.sql +++ b/internal/db/schema/testdata/one/0/01_initial.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create domain tt_public_id as text check( diff --git a/internal/db/schema/testdata/three/0/01_initial.up.sql b/internal/db/schema/testdata/three/0/01_initial.up.sql index 395877ad3..e3b3bbb49 100644 --- a/internal/db/schema/testdata/three/0/01_initial.up.sql +++ b/internal/db/schema/testdata/three/0/01_initial.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table test_three ( id tt_public_id primary key, diff --git a/internal/db/schema/testdata/two/0/01_initial.up.sql b/internal/db/schema/testdata/two/0/01_initial.up.sql index d4a924552..f41085494 100644 --- a/internal/db/schema/testdata/two/0/01_initial.up.sql +++ b/internal/db/schema/testdata/two/0/01_initial.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; create table test_two ( id tt_public_id primary key diff --git a/internal/db/schema/testing.go b/internal/db/schema/testing.go index 85425b744..6a0577df0 100644 --- a/internal/db/schema/testing.go +++ b/internal/db/schema/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema import ( diff --git a/internal/db/sentinel/doc.go b/internal/db/sentinel/doc.go index 83d7c5db0..b96b4209a 100644 --- a/internal/db/sentinel/doc.go +++ b/internal/db/sentinel/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package sentinel allows for the use of Unicode non-characters to distinguish between // Boundary defined sentinels and values provided by external systems. // diff --git a/internal/db/sentinel/sentinel.go b/internal/db/sentinel/sentinel.go index 93ba2a7a7..9221a8e6b 100644 --- a/internal/db/sentinel/sentinel.go +++ b/internal/db/sentinel/sentinel.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sentinel const ( diff --git a/internal/db/sentinel/sentinel_test.go b/internal/db/sentinel/sentinel_test.go index 1eeab66ea..cb6a7e1f1 100644 --- a/internal/db/sentinel/sentinel_test.go +++ b/internal/db/sentinel/sentinel_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sentinel import ( diff --git a/internal/db/sqltest/initdb.d/00_schema.sh b/internal/db/sqltest/initdb.d/00_schema.sh index a2ce2aa0b..6c6dff7b4 100755 --- a/internal/db/sqltest/initdb.d/00_schema.sh +++ b/internal/db/sqltest/initdb.d/00_schema.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # # This script is designed to run as an init script in a postgres docker container. # The docker-entrypoint.sh script does not traverse a nested directory diff --git a/internal/db/sqltest/initdb.d/01_colors_persona.sql b/internal/db/sqltest/initdb.d/01_colors_persona.sql index ad2217285..9239f82c0 100644 --- a/internal/db/sqltest/initdb.d/01_colors_persona.sql +++ b/internal/db/sqltest/initdb.d/01_colors_persona.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- Add organizations insert into iam_scope diff --git a/internal/db/sqltest/initdb.d/02_colors_persona.sql b/internal/db/sqltest/initdb.d/02_colors_persona.sql index dab0c73a1..e8528bcec 100644 --- a/internal/db/sqltest/initdb.d/02_colors_persona.sql +++ b/internal/db/sqltest/initdb.d/02_colors_persona.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- For use in testing session_state transitions diff --git a/internal/db/sqltest/initdb.d/02_wtt_load.sql b/internal/db/sqltest/initdb.d/02_wtt_load.sql index 38ec38a77..6c64dbd17 100644 --- a/internal/db/sqltest/initdb.d/02_wtt_load.sql +++ b/internal/db/sqltest/initdb.d/02_wtt_load.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- wtt_load populates tables for the given test persona and set of aggregates. -- Valid personas are: diff --git a/internal/db/sqltest/initdb.d/03_widgets_persona.sql b/internal/db/sqltest/initdb.d/03_widgets_persona.sql index b180af6ff..9b3e2ae5a 100644 --- a/internal/db/sqltest/initdb.d/03_widgets_persona.sql +++ b/internal/db/sqltest/initdb.d/03_widgets_persona.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- _wtt_load_widgets_iam populates all iam_ tables for the widgets persona. -- iam does not depend on any other aggregates, but others depend on it, diff --git a/internal/db/sqltest/initdb.d/04_foodtruck_persona.sql b/internal/db/sqltest/initdb.d/04_foodtruck_persona.sql index c1de08227..bcd7393f6 100644 --- a/internal/db/sqltest/initdb.d/04_foodtruck_persona.sql +++ b/internal/db/sqltest/initdb.d/04_foodtruck_persona.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; -- This persona is setup primary to test a delete org case diff --git a/internal/db/sqltest/tests/account/oidc/account.sql b/internal/db/sqltest/tests/account/oidc/account.sql index e4fe998e8..a905718b9 100644 --- a/internal/db/sqltest/tests/account/oidc/account.sql +++ b/internal/db/sqltest/tests/account/oidc/account.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- account tests triggers: -- insert_auth_account_subtype -- delete_auth_account_subtype diff --git a/internal/db/sqltest/tests/account/password/account.sql b/internal/db/sqltest/tests/account/password/account.sql index 1203cf8fe..85ececca7 100644 --- a/internal/db/sqltest/tests/account/password/account.sql +++ b/internal/db/sqltest/tests/account/password/account.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- account tests triggers: -- insert_auth_account_subtype -- delete_auth_account_subtype diff --git a/internal/db/sqltest/tests/controller/controller_id.sql b/internal/db/sqltest/tests/controller/controller_id.sql index c6ab50a8e..e61506df5 100644 --- a/internal/db/sqltest/tests/controller/controller_id.sql +++ b/internal/db/sqltest/tests/controller/controller_id.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- controller_id tests: -- validates the wt_controller_id domain diff --git a/internal/db/sqltest/tests/credential/vault/credential_vault_library.sql b/internal/db/sqltest/tests/credential/vault/credential_vault_library.sql index 2e625e991..897f45a1c 100644 --- a/internal/db/sqltest/tests/credential/vault/credential_vault_library.sql +++ b/internal/db/sqltest/tests/credential/vault/credential_vault_library.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- credential_vault_library tests: -- the following triggers -- insert_credential_library_subtype diff --git a/internal/db/sqltest/tests/credential/vault/credential_vault_library_issue_credentials.sql b/internal/db/sqltest/tests/credential/vault/credential_vault_library_issue_credentials.sql index d9cb1466b..66f79946f 100644 --- a/internal/db/sqltest/tests/credential/vault/credential_vault_library_issue_credentials.sql +++ b/internal/db/sqltest/tests/credential/vault/credential_vault_library_issue_credentials.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- credential_vault_library_issue_credentials tests the credential_vault_library_issue_credentials view begin; diff --git a/internal/db/sqltest/tests/credential/vault/credential_vault_library_ssh_private_key_mapping_override.sql b/internal/db/sqltest/tests/credential/vault/credential_vault_library_ssh_private_key_mapping_override.sql index 4c2acc384..ea3e20ab8 100644 --- a/internal/db/sqltest/tests/credential/vault/credential_vault_library_ssh_private_key_mapping_override.sql +++ b/internal/db/sqltest/tests/credential/vault/credential_vault_library_ssh_private_key_mapping_override.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- credential_vault_library_ssh_private_key_mapping_override tests: -- the following triggers -- insert_credential_vault_library_mapping_override_subtype diff --git a/internal/db/sqltest/tests/credential/vault/credential_vault_library_username_password_mapping_override.sql b/internal/db/sqltest/tests/credential/vault/credential_vault_library_username_password_mapping_override.sql index 8a44cd1a3..e95553539 100644 --- a/internal/db/sqltest/tests/credential/vault/credential_vault_library_username_password_mapping_override.sql +++ b/internal/db/sqltest/tests/credential/vault/credential_vault_library_username_password_mapping_override.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- credential_vault_library_username_password_mapping_override tests: -- the following triggers -- insert_credential_vault_library_mapping_override_subtype diff --git a/internal/db/sqltest/tests/credential/vault/credential_vault_ssh_cert_library.sql b/internal/db/sqltest/tests/credential/vault/credential_vault_ssh_cert_library.sql index f26ca74f0..e9de0717f 100644 --- a/internal/db/sqltest/tests/credential/vault/credential_vault_ssh_cert_library.sql +++ b/internal/db/sqltest/tests/credential/vault/credential_vault_ssh_cert_library.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; select plan(16); select wtt_load('widgets', 'iam', 'kms', 'auth', 'hosts', 'targets', 'credentials'); diff --git a/internal/db/sqltest/tests/credential/vault/credential_vault_store_client.sql b/internal/db/sqltest/tests/credential/vault/credential_vault_store_client.sql index bcf0ce09a..a7d2c4102 100644 --- a/internal/db/sqltest/tests/credential/vault/credential_vault_store_client.sql +++ b/internal/db/sqltest/tests/credential/vault/credential_vault_store_client.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- credential_vault_store_client tests the credential_vault_store_client view begin; diff --git a/internal/db/sqltest/tests/credential/vault/credential_vault_store_list_lookup.sql b/internal/db/sqltest/tests/credential/vault/credential_vault_store_list_lookup.sql index 0cdc0ce2b..d703c1e0e 100644 --- a/internal/db/sqltest/tests/credential/vault/credential_vault_store_list_lookup.sql +++ b/internal/db/sqltest/tests/credential/vault/credential_vault_store_list_lookup.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- credential_vault_store_list_lookup tests the credential_vault_store_list_lookup view begin; diff --git a/internal/db/sqltest/tests/credential/vault/credential_vault_token_renewal_revocation.sql b/internal/db/sqltest/tests/credential/vault/credential_vault_token_renewal_revocation.sql index 317ddfe3b..8a0946d94 100644 --- a/internal/db/sqltest/tests/credential/vault/credential_vault_token_renewal_revocation.sql +++ b/internal/db/sqltest/tests/credential/vault/credential_vault_token_renewal_revocation.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- credential_vault_token_renewal_revocation tests the credential_vault_token_renewal_revocation view begin; diff --git a/internal/db/sqltest/tests/kms/kms_data_key_destruction_job.sql b/internal/db/sqltest/tests/kms/kms_data_key_destruction_job.sql index c3bb10349..d3615a3e4 100644 --- a/internal/db/sqltest/tests/kms/kms_data_key_destruction_job.sql +++ b/internal/db/sqltest/tests/kms/kms_data_key_destruction_job.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; select plan(15); select wtt_load('widgets', 'iam', 'kms'); diff --git a/internal/db/sqltest/tests/org/org-delete.sql b/internal/db/sqltest/tests/org/org-delete.sql index a566c52e0..a0bf5350c 100644 --- a/internal/db/sqltest/tests/org/org-delete.sql +++ b/internal/db/sqltest/tests/org/org-delete.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- org-delete tests: -- deleting an org diff --git a/internal/db/sqltest/tests/sentinel/is_sentinel.sql b/internal/db/sqltest/tests/sentinel/is_sentinel.sql index 64a386b00..9d9b68ec3 100644 --- a/internal/db/sqltest/tests/sentinel/is_sentinel.sql +++ b/internal/db/sqltest/tests/sentinel/is_sentinel.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- is_sentinel tests: -- wt_is_sentinel function diff --git a/internal/db/sqltest/tests/sentinel/to_sentinel.sql b/internal/db/sqltest/tests/sentinel/to_sentinel.sql index d5d2a0e59..ce299d960 100644 --- a/internal/db/sqltest/tests/sentinel/to_sentinel.sql +++ b/internal/db/sqltest/tests/sentinel/to_sentinel.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- to_sentinel tests: -- wt_to_sentinel function diff --git a/internal/db/sqltest/tests/session/delete_session_auth_token.sql b/internal/db/sqltest/tests/session/delete_session_auth_token.sql index ce9ebd325..956c77531 100644 --- a/internal/db/sqltest/tests/session/delete_session_auth_token.sql +++ b/internal/db/sqltest/tests/session/delete_session_auth_token.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; select plan(12); diff --git a/internal/db/sqltest/tests/session/delete_session_host.sql b/internal/db/sqltest/tests/session/delete_session_host.sql index d2b26fa5a..8dc8578ec 100644 --- a/internal/db/sqltest/tests/session/delete_session_host.sql +++ b/internal/db/sqltest/tests/session/delete_session_host.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; select plan(9); diff --git a/internal/db/sqltest/tests/session/delete_session_host_set.sql b/internal/db/sqltest/tests/session/delete_session_host_set.sql index 89711b898..83b9b477b 100644 --- a/internal/db/sqltest/tests/session/delete_session_host_set.sql +++ b/internal/db/sqltest/tests/session/delete_session_host_set.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; select plan(9); diff --git a/internal/db/sqltest/tests/session/delete_session_project.sql b/internal/db/sqltest/tests/session/delete_session_project.sql index 7a3be7242..fb50e6b7d 100644 --- a/internal/db/sqltest/tests/session/delete_session_project.sql +++ b/internal/db/sqltest/tests/session/delete_session_project.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; select plan(9); diff --git a/internal/db/sqltest/tests/session/delete_session_target.sql b/internal/db/sqltest/tests/session/delete_session_target.sql index bfdd3b0ac..2be6d54b0 100644 --- a/internal/db/sqltest/tests/session/delete_session_target.sql +++ b/internal/db/sqltest/tests/session/delete_session_target.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; select plan(9); diff --git a/internal/db/sqltest/tests/session/delete_session_target_address.sql b/internal/db/sqltest/tests/session/delete_session_target_address.sql index d0d9c1483..d9c6e9a01 100644 --- a/internal/db/sqltest/tests/session/delete_session_target_address.sql +++ b/internal/db/sqltest/tests/session/delete_session_target_address.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; select plan(9); diff --git a/internal/db/sqltest/tests/session/delete_session_user.sql b/internal/db/sqltest/tests/session/delete_session_user.sql index 7033acf31..039508508 100644 --- a/internal/db/sqltest/tests/session/delete_session_user.sql +++ b/internal/db/sqltest/tests/session/delete_session_user.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; select plan(12); diff --git a/internal/db/sqltest/tests/session/invalid_state_transition.sql b/internal/db/sqltest/tests/session/invalid_state_transition.sql index 4d11dc531..57f2dcc80 100644 --- a/internal/db/sqltest/tests/session/invalid_state_transition.sql +++ b/internal/db/sqltest/tests/session/invalid_state_transition.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; select plan(12); diff --git a/internal/db/sqltest/tests/session/session_credential_canceling.sql b/internal/db/sqltest/tests/session/session_credential_canceling.sql index 0ed5e03cd..315ca583b 100644 --- a/internal/db/sqltest/tests/session/session_credential_canceling.sql +++ b/internal/db/sqltest/tests/session/session_credential_canceling.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- session_credential tests: -- the following triggers -- delete_session_credentials diff --git a/internal/db/sqltest/tests/session/session_credential_terminated.sql b/internal/db/sqltest/tests/session/session_credential_terminated.sql index 21318ca4b..72fcaa323 100644 --- a/internal/db/sqltest/tests/session/session_credential_terminated.sql +++ b/internal/db/sqltest/tests/session/session_credential_terminated.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- session_credential tests: -- the following triggers -- delete_session_credentials diff --git a/internal/db/sqltest/tests/session/valid_state_transition_canceling.sql b/internal/db/sqltest/tests/session/valid_state_transition_canceling.sql index 6e493e9a3..ad307cdd9 100644 --- a/internal/db/sqltest/tests/session/valid_state_transition_canceling.sql +++ b/internal/db/sqltest/tests/session/valid_state_transition_canceling.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; select plan(7); diff --git a/internal/db/sqltest/tests/session/valid_state_transition_pending_active.sql b/internal/db/sqltest/tests/session/valid_state_transition_pending_active.sql index 6e079838a..402bb5b59 100644 --- a/internal/db/sqltest/tests/session/valid_state_transition_pending_active.sql +++ b/internal/db/sqltest/tests/session/valid_state_transition_pending_active.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; select plan(3); diff --git a/internal/db/sqltest/tests/session/valid_state_transition_pending_canceling.sql b/internal/db/sqltest/tests/session/valid_state_transition_pending_canceling.sql index ce3c580c0..02302d216 100644 --- a/internal/db/sqltest/tests/session/valid_state_transition_pending_canceling.sql +++ b/internal/db/sqltest/tests/session/valid_state_transition_pending_canceling.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; select plan(3); diff --git a/internal/db/sqltest/tests/session/valid_state_transition_terminated.sql b/internal/db/sqltest/tests/session/valid_state_transition_terminated.sql index a85ebb4a5..72c397ec4 100644 --- a/internal/db/sqltest/tests/session/valid_state_transition_terminated.sql +++ b/internal/db/sqltest/tests/session/valid_state_transition_terminated.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; select plan(9); diff --git a/internal/db/sqltest/tests/setup/wtt_load.sql b/internal/db/sqltest/tests/setup/wtt_load.sql index 351ab0722..69afab7e1 100644 --- a/internal/db/sqltest/tests/setup/wtt_load.sql +++ b/internal/db/sqltest/tests/setup/wtt_load.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- wtt_load tests the wtt_load test helper function. begin; select plan(6); diff --git a/internal/db/sqltest/tests/setup/wtt_load_widgets.sql b/internal/db/sqltest/tests/setup/wtt_load_widgets.sql index 934455a38..cd1899e1f 100644 --- a/internal/db/sqltest/tests/setup/wtt_load_widgets.sql +++ b/internal/db/sqltest/tests/setup/wtt_load_widgets.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- wtt_load_widgets tests the wtt_load test helper function for the widgets persona. begin; select plan(1); diff --git a/internal/db/sqltest/tests/target/target_credential_library.sql b/internal/db/sqltest/tests/target/target_credential_library.sql index cd0613b26..3c28fb127 100644 --- a/internal/db/sqltest/tests/target/target_credential_library.sql +++ b/internal/db/sqltest/tests/target/target_credential_library.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; select plan(3); select wtt_load('widgets', 'iam', 'kms', 'auth', 'hosts', 'targets', 'credentials'); diff --git a/internal/db/sqltest/tests/target/target_host_set.sql b/internal/db/sqltest/tests/target/target_host_set.sql index d6bb7dc52..63cfc43a1 100644 --- a/internal/db/sqltest/tests/target/target_host_set.sql +++ b/internal/db/sqltest/tests/target/target_host_set.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; select plan(4); select wtt_load('widgets', 'iam', 'kms', 'auth', 'hosts', 'targets'); diff --git a/internal/db/sqltest/tests/target/target_static_credential.sql b/internal/db/sqltest/tests/target/target_static_credential.sql index 508530f14..d376101cc 100644 --- a/internal/db/sqltest/tests/target/target_static_credential.sql +++ b/internal/db/sqltest/tests/target/target_static_credential.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; select plan(3); select wtt_load('widgets', 'iam', 'kms', 'auth', 'hosts', 'targets', 'credentials'); diff --git a/internal/db/sqltest/tests/wh/credential_dimension/dimension.sql b/internal/db/sqltest/tests/wh/credential_dimension/dimension.sql index bc9b1644e..2dcfad070 100644 --- a/internal/db/sqltest/tests/wh/credential_dimension/dimension.sql +++ b/internal/db/sqltest/tests/wh/credential_dimension/dimension.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; select plan(2); diff --git a/internal/db/sqltest/tests/wh/credential_dimension/session_multiple_sessions.sql b/internal/db/sqltest/tests/wh/credential_dimension/session_multiple_sessions.sql index a92ec3232..175aa09ca 100644 --- a/internal/db/sqltest/tests/wh/credential_dimension/session_multiple_sessions.sql +++ b/internal/db/sqltest/tests/wh/credential_dimension/session_multiple_sessions.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- session_multiple_sessions tests the wh_credential_dimension when -- multiple sessions are created using. begin; diff --git a/internal/db/sqltest/tests/wh/credential_dimension/session_update.sql b/internal/db/sqltest/tests/wh/credential_dimension/session_update.sql index daa66576b..5020e9d49 100644 --- a/internal/db/sqltest/tests/wh/credential_dimension/session_update.sql +++ b/internal/db/sqltest/tests/wh/credential_dimension/session_update.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- session_update tests the wh_credential_dimension when -- a session is inserted and then updated. begin; diff --git a/internal/db/sqltest/tests/wh/credential_dimension/ssh_certificate_cred_library_ecdsa.sql b/internal/db/sqltest/tests/wh/credential_dimension/ssh_certificate_cred_library_ecdsa.sql index edf4f20cf..79cd2c2fd 100644 --- a/internal/db/sqltest/tests/wh/credential_dimension/ssh_certificate_cred_library_ecdsa.sql +++ b/internal/db/sqltest/tests/wh/credential_dimension/ssh_certificate_cred_library_ecdsa.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- ssh_certificate_cred_library tests the wh_credential_dimension when -- sessions are created with targets that use a vault ssh cert credential library with ecdsa key type begin; diff --git a/internal/db/sqltest/tests/wh/credential_dimension/ssh_certificate_cred_library_ed25519.sql b/internal/db/sqltest/tests/wh/credential_dimension/ssh_certificate_cred_library_ed25519.sql index b62fd3049..3738fe028 100644 --- a/internal/db/sqltest/tests/wh/credential_dimension/ssh_certificate_cred_library_ed25519.sql +++ b/internal/db/sqltest/tests/wh/credential_dimension/ssh_certificate_cred_library_ed25519.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- ssh_certificate_cred_library tests the wh_credential_dimension when -- sessions are created with targets that use a vault ssh cert credential library begin; diff --git a/internal/db/sqltest/tests/wh/credential_dimension/ssh_certificate_cred_library_rsa.sql b/internal/db/sqltest/tests/wh/credential_dimension/ssh_certificate_cred_library_rsa.sql index c4506cbb5..b0cd07d4f 100644 --- a/internal/db/sqltest/tests/wh/credential_dimension/ssh_certificate_cred_library_rsa.sql +++ b/internal/db/sqltest/tests/wh/credential_dimension/ssh_certificate_cred_library_rsa.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- ssh_certificate_cred_library tests the wh_credential_dimension when -- sessions are created with targets that use a vault ssh cert credential library with rsa key type begin; diff --git a/internal/db/sqltest/tests/wh/credential_dimension/three_credentials_one_change.sql b/internal/db/sqltest/tests/wh/credential_dimension/three_credentials_one_change.sql index b617c89f5..c66016243 100644 --- a/internal/db/sqltest/tests/wh/credential_dimension/three_credentials_one_change.sql +++ b/internal/db/sqltest/tests/wh/credential_dimension/three_credentials_one_change.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- three_credentials_one_change tests that: -- when a session with three credentials is created -- three wh_credential_dimensions are created diff --git a/internal/db/sqltest/tests/wh/credential_dimension_views/source.sql b/internal/db/sqltest/tests/wh/credential_dimension_views/source.sql index 8b5f39515..d16ac1d56 100644 --- a/internal/db/sqltest/tests/wh/credential_dimension_views/source.sql +++ b/internal/db/sqltest/tests/wh/credential_dimension_views/source.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- source tests the whx_credential_dimension_source view. begin; select plan(1); diff --git a/internal/db/sqltest/tests/wh/credential_dimension_views/target.sql b/internal/db/sqltest/tests/wh/credential_dimension_views/target.sql index 26e066681..de9b63b54 100644 --- a/internal/db/sqltest/tests/wh/credential_dimension_views/target.sql +++ b/internal/db/sqltest/tests/wh/credential_dimension_views/target.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- target tests teh whx_credential_dimension_target view. begin; select plan(2); diff --git a/internal/db/sqltest/tests/wh/host_dimension/session_existing_host_network.sql b/internal/db/sqltest/tests/wh/host_dimension/session_existing_host_network.sql index a406be826..28a1d5cf3 100644 --- a/internal/db/sqltest/tests/wh/host_dimension/session_existing_host_network.sql +++ b/internal/db/sqltest/tests/wh/host_dimension/session_existing_host_network.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; select plan(8); diff --git a/internal/db/sqltest/tests/wh/host_dimension/session_multiple_sessions.sql b/internal/db/sqltest/tests/wh/host_dimension/session_multiple_sessions.sql index 06e413787..5e876376d 100644 --- a/internal/db/sqltest/tests/wh/host_dimension/session_multiple_sessions.sql +++ b/internal/db/sqltest/tests/wh/host_dimension/session_multiple_sessions.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- session_multiple_sessions tests the wh_host_dimesion when -- multiple sessions are created using the same user and auth method. begin; diff --git a/internal/db/sqltest/tests/wh/host_dimension/session_target_address.sql b/internal/db/sqltest/tests/wh/host_dimension/session_target_address.sql index ee69917c6..1950917d5 100644 --- a/internal/db/sqltest/tests/wh/host_dimension/session_target_address.sql +++ b/internal/db/sqltest/tests/wh/host_dimension/session_target_address.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; select plan(12); diff --git a/internal/db/sqltest/tests/wh/host_dimension/session_update.sql b/internal/db/sqltest/tests/wh/host_dimension/session_update.sql index 81f3c1107..d650eb59c 100644 --- a/internal/db/sqltest/tests/wh/host_dimension/session_update.sql +++ b/internal/db/sqltest/tests/wh/host_dimension/session_update.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- session_update tests the wh_host_dimesion when -- a session is inserted and then updated. begin; diff --git a/internal/db/sqltest/tests/wh/host_dimension_views/source.sql b/internal/db/sqltest/tests/wh/host_dimension_views/source.sql index f086d963a..62d82b962 100644 --- a/internal/db/sqltest/tests/wh/host_dimension_views/source.sql +++ b/internal/db/sqltest/tests/wh/host_dimension_views/source.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- source tests the whx_host_dimension_source view. begin; select plan(3); diff --git a/internal/db/sqltest/tests/wh/host_dimension_views/target.sql b/internal/db/sqltest/tests/wh/host_dimension_views/target.sql index aed863017..538b6b460 100644 --- a/internal/db/sqltest/tests/wh/host_dimension_views/target.sql +++ b/internal/db/sqltest/tests/wh/host_dimension_views/target.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- target tests teh whx_host_dimension_target view. begin; select plan(2); diff --git a/internal/db/sqltest/tests/wh/network_address_dimension/helper_functions.sql b/internal/db/sqltest/tests/wh/network_address_dimension/helper_functions.sql index 658a2a70b..3cff42b56 100644 --- a/internal/db/sqltest/tests/wh/network_address_dimension/helper_functions.sql +++ b/internal/db/sqltest/tests/wh/network_address_dimension/helper_functions.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- Tests that the helper methods for network address dimension work as expected. begin; select plan(33); diff --git a/internal/db/sqltest/tests/wh/network_address_dimension/upsert_network_address_group_key.sql b/internal/db/sqltest/tests/wh/network_address_dimension/upsert_network_address_group_key.sql index 75a95750d..2a0c89172 100644 --- a/internal/db/sqltest/tests/wh/network_address_dimension/upsert_network_address_group_key.sql +++ b/internal/db/sqltest/tests/wh/network_address_dimension/upsert_network_address_group_key.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- test the upsert network address dimension function begin; select plan(4); diff --git a/internal/db/sqltest/tests/wh/session/insert.sql b/internal/db/sqltest/tests/wh/session/insert.sql index fa0ebc822..9329eea08 100644 --- a/internal/db/sqltest/tests/wh/session/insert.sql +++ b/internal/db/sqltest/tests/wh/session/insert.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- insert tests that a wh_session_accumulating_fact is created when -- a session is created. begin; diff --git a/internal/db/sqltest/tests/wh/session/update_state.sql b/internal/db/sqltest/tests/wh/session/update_state.sql index f7b8c33e6..64cead6a1 100644 --- a/internal/db/sqltest/tests/wh/session/update_state.sql +++ b/internal/db/sqltest/tests/wh/session/update_state.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; select plan(8); diff --git a/internal/db/sqltest/tests/wh/session_connection/insert.sql b/internal/db/sqltest/tests/wh/session_connection/insert.sql index 34f066250..c87e6c4f9 100644 --- a/internal/db/sqltest/tests/wh/session_connection/insert.sql +++ b/internal/db/sqltest/tests/wh/session_connection/insert.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- insert tests that a wh_session_connection_accumulating_fact is created when -- a connection is established. begin; diff --git a/internal/db/sqltest/tests/wh/session_connection/update.sql b/internal/db/sqltest/tests/wh/session_connection/update.sql index 49f337e13..b248ac6e3 100644 --- a/internal/db/sqltest/tests/wh/session_connection/update.sql +++ b/internal/db/sqltest/tests/wh/session_connection/update.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + begin; select plan(8); diff --git a/internal/db/sqltest/tests/wh/session_credential_dynamic/insert.sql b/internal/db/sqltest/tests/wh/session_credential_dynamic/insert.sql index f3ff41ee3..17e56e29b 100644 --- a/internal/db/sqltest/tests/wh/session_credential_dynamic/insert.sql +++ b/internal/db/sqltest/tests/wh/session_credential_dynamic/insert.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + --- insert tests a simple insert of session_credential_dynamic begin; select plan(6); diff --git a/internal/db/sqltest/tests/wh/session_credential_dynamic/insert_multiple.sql b/internal/db/sqltest/tests/wh/session_credential_dynamic/insert_multiple.sql index d7db3721e..2443a6af2 100644 --- a/internal/db/sqltest/tests/wh/session_credential_dynamic/insert_multiple.sql +++ b/internal/db/sqltest/tests/wh/session_credential_dynamic/insert_multiple.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + --- insert_multiple tests inserting multiple session_credential_dynamic as a single statement begin; select plan(6); diff --git a/internal/db/sqltest/tests/wh/upsert_user/errors.sql b/internal/db/sqltest/tests/wh/upsert_user/errors.sql index 7ad34348e..e8453e70b 100644 --- a/internal/db/sqltest/tests/wh/upsert_user/errors.sql +++ b/internal/db/sqltest/tests/wh/upsert_user/errors.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- errors tests that the wh_upsert_user function throws errors under certain conditions. begin; select plan(3); diff --git a/internal/db/sqltest/tests/wh/upsert_user/insert.sql b/internal/db/sqltest/tests/wh/upsert_user/insert.sql index ccefee657..b00bb930d 100644 --- a/internal/db/sqltest/tests/wh/upsert_user/insert.sql +++ b/internal/db/sqltest/tests/wh/upsert_user/insert.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- insert tests that the wh_upsert_user function will do an insert when -- no existing source wh_user_dimension exists. begin; diff --git a/internal/db/sqltest/tests/wh/upsert_user/upsert.sql b/internal/db/sqltest/tests/wh/upsert_user/upsert.sql index 845675c21..89435dd6f 100644 --- a/internal/db/sqltest/tests/wh/upsert_user/upsert.sql +++ b/internal/db/sqltest/tests/wh/upsert_user/upsert.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- upsert tests that the wh_upsert_user function will do an update when -- an existing source wh_user_dimension exists. begin; diff --git a/internal/db/sqltest/tests/wh/user_dimension/oidc_auth_new_session.sql b/internal/db/sqltest/tests/wh/user_dimension/oidc_auth_new_session.sql index b2c996493..9bb3e0a9e 100644 --- a/internal/db/sqltest/tests/wh/user_dimension/oidc_auth_new_session.sql +++ b/internal/db/sqltest/tests/wh/user_dimension/oidc_auth_new_session.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- oidc_auth_new_session tests the wh_user_dimesion when -- a new session is created using the oidc auth method. begin; diff --git a/internal/db/sqltest/tests/wh/user_dimension/password_auth_description_change.sql b/internal/db/sqltest/tests/wh/user_dimension/password_auth_description_change.sql index 225839030..1e138bbe8 100644 --- a/internal/db/sqltest/tests/wh/user_dimension/password_auth_description_change.sql +++ b/internal/db/sqltest/tests/wh/user_dimension/password_auth_description_change.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- password_auth_description_change tests the wh_user_dimesion when -- sessions are created using the password auth method -- after the auth_password_account has its description change. diff --git a/internal/db/sqltest/tests/wh/user_dimension/password_auth_new_session.sql b/internal/db/sqltest/tests/wh/user_dimension/password_auth_new_session.sql index 1f9b0ef0f..525baa468 100644 --- a/internal/db/sqltest/tests/wh/user_dimension/password_auth_new_session.sql +++ b/internal/db/sqltest/tests/wh/user_dimension/password_auth_new_session.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- password_auth_new_session tests the wh_user_dimesion when -- a new session is created using the password auth method. begin; diff --git a/internal/db/sqltest/tests/wh/user_dimension/session_multiple_sessions.sql b/internal/db/sqltest/tests/wh/user_dimension/session_multiple_sessions.sql index f4affaa0c..7fc2ac7d0 100644 --- a/internal/db/sqltest/tests/wh/user_dimension/session_multiple_sessions.sql +++ b/internal/db/sqltest/tests/wh/user_dimension/session_multiple_sessions.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- session_multiple_sessions tests the wh_user_dimesion when -- multiple sessions are created using the same user and auth method. begin; diff --git a/internal/db/sqltest/tests/wh/user_dimension/session_multiple_sessions_different_auth.sql b/internal/db/sqltest/tests/wh/user_dimension/session_multiple_sessions_different_auth.sql index 80e405a78..551dc89d2 100644 --- a/internal/db/sqltest/tests/wh/user_dimension/session_multiple_sessions_different_auth.sql +++ b/internal/db/sqltest/tests/wh/user_dimension/session_multiple_sessions_different_auth.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- session_multiple_sessions_differnt_auth tests the wh_user_dimesion when -- multiple sessions are created using the same user -- but different auth accounts. diff --git a/internal/db/sqltest/tests/wh/user_dimension/session_update.sql b/internal/db/sqltest/tests/wh/user_dimension/session_update.sql index f2c865469..419e1836c 100644 --- a/internal/db/sqltest/tests/wh/user_dimension/session_update.sql +++ b/internal/db/sqltest/tests/wh/user_dimension/session_update.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- session_update tests the wh_user_dimesion when -- a session is inserted and then updated. begin; diff --git a/internal/db/sqltest/tests/wh/user_dimension_views/source.sql b/internal/db/sqltest/tests/wh/user_dimension_views/source.sql index e91078e8f..fe96d672e 100644 --- a/internal/db/sqltest/tests/wh/user_dimension_views/source.sql +++ b/internal/db/sqltest/tests/wh/user_dimension_views/source.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- source tests the whx_user_dimension_source view. begin; select plan(5); diff --git a/internal/db/sqltest/tests/wh/user_dimension_views/target.sql b/internal/db/sqltest/tests/wh/user_dimension_views/target.sql index a44acd562..c14de79e6 100644 --- a/internal/db/sqltest/tests/wh/user_dimension_views/target.sql +++ b/internal/db/sqltest/tests/wh/user_dimension_views/target.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + -- target tests teh whx_user_dimension_target view. begin; select plan(2); diff --git a/internal/db/testing.go b/internal/db/testing.go index 642bfe44f..d1c41fe9a 100644 --- a/internal/db/testing.go +++ b/internal/db/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package db import ( diff --git a/internal/db/testing_test.go b/internal/db/testing_test.go index 75af2d597..895214f49 100644 --- a/internal/db/testing_test.go +++ b/internal/db/testing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package db import ( diff --git a/internal/db/timestamp/scanners.go b/internal/db/timestamp/scanners.go index fbf733475..6a10528b4 100644 --- a/internal/db/timestamp/scanners.go +++ b/internal/db/timestamp/scanners.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package timestamp import ( diff --git a/internal/db/timestamp/scanners_test.go b/internal/db/timestamp/scanners_test.go index 56a72db55..4f430d235 100644 --- a/internal/db/timestamp/scanners_test.go +++ b/internal/db/timestamp/scanners_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package timestamp import ( diff --git a/internal/db/timestamp/timestamp.go b/internal/db/timestamp/timestamp.go index 774a79076..d544d36dd 100644 --- a/internal/db/timestamp/timestamp.go +++ b/internal/db/timestamp/timestamp.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package timestamp import ( diff --git a/internal/db/timestamp/timestamp.pb.go b/internal/db/timestamp/timestamp.pb.go index 2863a6ca7..2385a1f51 100644 --- a/internal/db/timestamp/timestamp.pb.go +++ b/internal/db/timestamp/timestamp.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/internal/errors/code.go b/internal/errors/code.go index 25ebf0c23..4d94f35c6 100644 --- a/internal/errors/code.go +++ b/internal/errors/code.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package errors // Code specifies a code for the error. diff --git a/internal/errors/code_test.go b/internal/errors/code_test.go index a13b498f6..cce36b42f 100644 --- a/internal/errors/code_test.go +++ b/internal/errors/code_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package errors import ( diff --git a/internal/errors/error.go b/internal/errors/error.go index 86a0e9b96..fc0ab7d07 100644 --- a/internal/errors/error.go +++ b/internal/errors/error.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package errors import ( diff --git a/internal/errors/error_test.go b/internal/errors/error_test.go index 19dab3ac2..f066f7546 100644 --- a/internal/errors/error_test.go +++ b/internal/errors/error_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package errors_test import ( diff --git a/internal/errors/info.go b/internal/errors/info.go index 914396fdb..cc80832a6 100644 --- a/internal/errors/info.go +++ b/internal/errors/info.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package errors // Info contains details of the specific error code diff --git a/internal/errors/is.go b/internal/errors/is.go index a2b30c82d..acaf10c10 100644 --- a/internal/errors/is.go +++ b/internal/errors/is.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package errors import ( diff --git a/internal/errors/is_test.go b/internal/errors/is_test.go index beb98c6c8..30f23ac6d 100644 --- a/internal/errors/is_test.go +++ b/internal/errors/is_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package errors_test import ( diff --git a/internal/errors/kind.go b/internal/errors/kind.go index 6f4692464..0e60cb525 100644 --- a/internal/errors/kind.go +++ b/internal/errors/kind.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package errors // Kind specifies the kind of error (unknown, parameter, integrity, etc). diff --git a/internal/errors/kind_test.go b/internal/errors/kind_test.go index 6b484967f..dc20ba657 100644 --- a/internal/errors/kind_test.go +++ b/internal/errors/kind_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package errors import ( diff --git a/internal/errors/match.go b/internal/errors/match.go index 6776a9e57..de60f4d6c 100644 --- a/internal/errors/match.go +++ b/internal/errors/match.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package errors // Template is useful constructing Match Err templates. Templates allow you to diff --git a/internal/errors/match_test.go b/internal/errors/match_test.go index 515e903a6..7c976ddae 100644 --- a/internal/errors/match_test.go +++ b/internal/errors/match_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package errors import ( diff --git a/internal/errors/option.go b/internal/errors/option.go index 1b70ba9f8..6fb749aec 100644 --- a/internal/errors/option.go +++ b/internal/errors/option.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package errors // GetOpts - iterate the inbound Options and return a struct. diff --git a/internal/errors/option_test.go b/internal/errors/option_test.go index 88912a408..921cf5886 100644 --- a/internal/errors/option_test.go +++ b/internal/errors/option_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package errors import ( diff --git a/internal/filter/filter.go b/internal/filter/filter.go index ce8071b8e..88a0a0d9e 100644 --- a/internal/filter/filter.go +++ b/internal/filter/filter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package filter import ( diff --git a/internal/filter/filter_test.go b/internal/filter/filter_test.go index 993699e76..3cec85353 100644 --- a/internal/filter/filter_test.go +++ b/internal/filter/filter_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package filter import ( diff --git a/internal/gen/controller/api/empty_msg.pb.go b/internal/gen/controller/api/empty_msg.pb.go index ca607986a..e61aea369 100644 --- a/internal/gen/controller/api/empty_msg.pb.go +++ b/internal/gen/controller/api/empty_msg.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/internal/gen/controller/api/error.pb.go b/internal/gen/controller/api/error.pb.go index 7edd7602d..6f7f950fb 100644 --- a/internal/gen/controller/api/error.pb.go +++ b/internal/gen/controller/api/error.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/internal/gen/controller/api/services/account_service.pb.go b/internal/gen/controller/api/services/account_service.pb.go index 39d66218f..b92040948 100644 --- a/internal/gen/controller/api/services/account_service.pb.go +++ b/internal/gen/controller/api/services/account_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/internal/gen/controller/api/services/auth_method_service.pb.go b/internal/gen/controller/api/services/auth_method_service.pb.go index 2f1adcfed..95226a175 100644 --- a/internal/gen/controller/api/services/auth_method_service.pb.go +++ b/internal/gen/controller/api/services/auth_method_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/internal/gen/controller/api/services/authtokens_service.pb.go b/internal/gen/controller/api/services/authtokens_service.pb.go index 3cabfee54..1be99e634 100644 --- a/internal/gen/controller/api/services/authtokens_service.pb.go +++ b/internal/gen/controller/api/services/authtokens_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/internal/gen/controller/api/services/credential_library_service.pb.go b/internal/gen/controller/api/services/credential_library_service.pb.go index 14e1cb096..3324e9bc9 100644 --- a/internal/gen/controller/api/services/credential_library_service.pb.go +++ b/internal/gen/controller/api/services/credential_library_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/internal/gen/controller/api/services/credential_service.pb.go b/internal/gen/controller/api/services/credential_service.pb.go index 86564115c..84ffb3b1a 100644 --- a/internal/gen/controller/api/services/credential_service.pb.go +++ b/internal/gen/controller/api/services/credential_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/internal/gen/controller/api/services/credential_store_service.pb.go b/internal/gen/controller/api/services/credential_store_service.pb.go index 9c8ebb504..cb64dcadd 100644 --- a/internal/gen/controller/api/services/credential_store_service.pb.go +++ b/internal/gen/controller/api/services/credential_store_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/internal/gen/controller/api/services/group_service.pb.go b/internal/gen/controller/api/services/group_service.pb.go index 2c8d37a63..92c22b18b 100644 --- a/internal/gen/controller/api/services/group_service.pb.go +++ b/internal/gen/controller/api/services/group_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/internal/gen/controller/api/services/host_catalog_service.pb.go b/internal/gen/controller/api/services/host_catalog_service.pb.go index b2ce2a3a2..9bfb4053f 100644 --- a/internal/gen/controller/api/services/host_catalog_service.pb.go +++ b/internal/gen/controller/api/services/host_catalog_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/internal/gen/controller/api/services/host_service.pb.go b/internal/gen/controller/api/services/host_service.pb.go index 9994b0057..0a1e713cc 100644 --- a/internal/gen/controller/api/services/host_service.pb.go +++ b/internal/gen/controller/api/services/host_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/internal/gen/controller/api/services/host_set_service.pb.go b/internal/gen/controller/api/services/host_set_service.pb.go index 4690b24b9..4a5d63616 100644 --- a/internal/gen/controller/api/services/host_set_service.pb.go +++ b/internal/gen/controller/api/services/host_set_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/internal/gen/controller/api/services/managed_group_service.pb.go b/internal/gen/controller/api/services/managed_group_service.pb.go index 66c9891fa..f4ddaf9d8 100644 --- a/internal/gen/controller/api/services/managed_group_service.pb.go +++ b/internal/gen/controller/api/services/managed_group_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/internal/gen/controller/api/services/role_service.pb.go b/internal/gen/controller/api/services/role_service.pb.go index d6363d727..78e1a8087 100644 --- a/internal/gen/controller/api/services/role_service.pb.go +++ b/internal/gen/controller/api/services/role_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/internal/gen/controller/api/services/scope_service.pb.go b/internal/gen/controller/api/services/scope_service.pb.go index a978dc6dc..cb7124c5d 100644 --- a/internal/gen/controller/api/services/scope_service.pb.go +++ b/internal/gen/controller/api/services/scope_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/internal/gen/controller/api/services/session_service.pb.go b/internal/gen/controller/api/services/session_service.pb.go index f7186cd06..e6c0ffac7 100644 --- a/internal/gen/controller/api/services/session_service.pb.go +++ b/internal/gen/controller/api/services/session_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/internal/gen/controller/api/services/target_service.pb.go b/internal/gen/controller/api/services/target_service.pb.go index 487c77971..0a3b9b893 100644 --- a/internal/gen/controller/api/services/target_service.pb.go +++ b/internal/gen/controller/api/services/target_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/internal/gen/controller/api/services/user_service.pb.go b/internal/gen/controller/api/services/user_service.pb.go index 17b34700d..15ccf0f62 100644 --- a/internal/gen/controller/api/services/user_service.pb.go +++ b/internal/gen/controller/api/services/user_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/internal/gen/controller/api/services/worker_service.pb.go b/internal/gen/controller/api/services/worker_service.pb.go index 65f46df55..edb073324 100644 --- a/internal/gen/controller/api/services/worker_service.pb.go +++ b/internal/gen/controller/api/services/worker_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/internal/gen/controller/auth/auth.pb.go b/internal/gen/controller/auth/auth.pb.go index ee012b8f3..31e35e90e 100644 --- a/internal/gen/controller/auth/auth.pb.go +++ b/internal/gen/controller/auth/auth.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/internal/gen/controller/servers/servers.pb.go b/internal/gen/controller/servers/servers.pb.go index 195142b66..040030127 100644 --- a/internal/gen/controller/servers/servers.pb.go +++ b/internal/gen/controller/servers/servers.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/internal/gen/controller/servers/services/credential.pb.go b/internal/gen/controller/servers/services/credential.pb.go index 2d310c0a4..a87566665 100644 --- a/internal/gen/controller/servers/services/credential.pb.go +++ b/internal/gen/controller/servers/services/credential.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/internal/gen/controller/servers/services/server_coordination_service.pb.go b/internal/gen/controller/servers/services/server_coordination_service.pb.go index 19d3b27b4..11f9206f1 100644 --- a/internal/gen/controller/servers/services/server_coordination_service.pb.go +++ b/internal/gen/controller/servers/services/server_coordination_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/internal/gen/controller/servers/services/session_service.pb.go b/internal/gen/controller/servers/services/session_service.pb.go index ae664ce2a..f5b3e0047 100644 --- a/internal/gen/controller/servers/services/session_service.pb.go +++ b/internal/gen/controller/servers/services/session_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/internal/gen/controller/servers/services/testing.go b/internal/gen/controller/servers/services/testing.go index ede61b78e..e4d288664 100644 --- a/internal/gen/controller/servers/services/testing.go +++ b/internal/gen/controller/servers/services/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package services import ( diff --git a/internal/gen/controller/tokens/tokens.pb.go b/internal/gen/controller/tokens/tokens.pb.go index 34ce97f23..865e2ae06 100644 --- a/internal/gen/controller/tokens/tokens.pb.go +++ b/internal/gen/controller/tokens/tokens.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/internal/gen/errors/errors.pb.go b/internal/gen/errors/errors.pb.go index 5eb89714e..ba27cf8a7 100644 --- a/internal/gen/errors/errors.pb.go +++ b/internal/gen/errors/errors.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/internal/gen/ops/services/health_service.pb.go b/internal/gen/ops/services/health_service.pb.go index 565edebc0..5256a1e4e 100644 --- a/internal/gen/ops/services/health_service.pb.go +++ b/internal/gen/ops/services/health_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/internal/gen/testing/attribute/attribute.pb.go b/internal/gen/testing/attribute/attribute.pb.go index 14adc7053..d11c1a229 100644 --- a/internal/gen/testing/attribute/attribute.pb.go +++ b/internal/gen/testing/attribute/attribute.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/internal/gen/testing/event/event.pb.go b/internal/gen/testing/event/event.pb.go index 87fd8cabd..c88acb8ad 100644 --- a/internal/gen/testing/event/event.pb.go +++ b/internal/gen/testing/event/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/internal/gen/testing/event/taggable.go b/internal/gen/testing/event/taggable.go index cdc562822..0be4bff76 100644 --- a/internal/gen/testing/event/taggable.go +++ b/internal/gen/testing/event/taggable.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import "github.com/hashicorp/eventlogger/filters/encrypt" diff --git a/internal/gen/testing/interceptor/greeter.pb.go b/internal/gen/testing/interceptor/greeter.pb.go index 330afa1bb..f91d85402 100644 --- a/internal/gen/testing/interceptor/greeter.pb.go +++ b/internal/gen/testing/interceptor/greeter.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/internal/gen/testing/protooptions/service.pb.go b/internal/gen/testing/protooptions/service.pb.go index 5fcb437d6..3e2d29d73 100644 --- a/internal/gen/testing/protooptions/service.pb.go +++ b/internal/gen/testing/protooptions/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/internal/gen/worker/health/health_service.pb.go b/internal/gen/worker/health/health_service.pb.go index d751523e9..f2a886b1b 100644 --- a/internal/gen/worker/health/health_service.pb.go +++ b/internal/gen/worker/health/health_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/internal/host/endpoint.go b/internal/host/endpoint.go index 50f5792fe..ad56c8545 100644 --- a/internal/host/endpoint.go +++ b/internal/host/endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host // Endpoint is a struct which identifies an address provided by a host and diff --git a/internal/host/host.go b/internal/host/host.go index 95b1b1f69..fded219de 100644 --- a/internal/host/host.go +++ b/internal/host/host.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host import "github.com/hashicorp/boundary/internal/boundary" diff --git a/internal/host/host_dns_address.go b/internal/host/host_dns_address.go index 3c7de2df5..cf43d7ea5 100644 --- a/internal/host/host_dns_address.go +++ b/internal/host/host_dns_address.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host import ( diff --git a/internal/host/host_ip_address.go b/internal/host/host_ip_address.go index 0f7ba6b15..b71292aae 100644 --- a/internal/host/host_ip_address.go +++ b/internal/host/host_ip_address.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host import ( diff --git a/internal/host/options.go b/internal/host/options.go index 6e2afe4d6..611600645 100644 --- a/internal/host/options.go +++ b/internal/host/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host // GetOpts - iterate the inbound Options and return a struct diff --git a/internal/host/options_test.go b/internal/host/options_test.go index b55d9148c..f4b603df8 100644 --- a/internal/host/options_test.go +++ b/internal/host/options_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host import ( diff --git a/internal/host/plugin/client.go b/internal/host/plugin/client.go index d063dbc1b..707032fac 100644 --- a/internal/host/plugin/client.go +++ b/internal/host/plugin/client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/host.go b/internal/host/plugin/host.go index c0cf611cb..309390aad 100644 --- a/internal/host/plugin/host.go +++ b/internal/host/plugin/host.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/host_address_test.go b/internal/host/plugin/host_address_test.go index 41704b2d3..21723baca 100644 --- a/internal/host/plugin/host_address_test.go +++ b/internal/host/plugin/host_address_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/host_catalog.go b/internal/host/plugin/host_catalog.go index d925e26ee..50c1b8338 100644 --- a/internal/host/plugin/host_catalog.go +++ b/internal/host/plugin/host_catalog.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package plugin provides a plugin host catalog, and plugin host set resource // which are used to interact with a host plugin as well as a repository to // perform CRUDL and custom actions on these resource types. diff --git a/internal/host/plugin/host_catalog_secret.go b/internal/host/plugin/host_catalog_secret.go index f231bb268..a6ce74abf 100644 --- a/internal/host/plugin/host_catalog_secret.go +++ b/internal/host/plugin/host_catalog_secret.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/host_catalog_secret_test.go b/internal/host/plugin/host_catalog_secret_test.go index 487177ad7..e17fb019c 100644 --- a/internal/host/plugin/host_catalog_secret_test.go +++ b/internal/host/plugin/host_catalog_secret_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/host_catalog_test.go b/internal/host/plugin/host_catalog_test.go index ad80cf58e..c2ac695a9 100644 --- a/internal/host/plugin/host_catalog_test.go +++ b/internal/host/plugin/host_catalog_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/host_set.go b/internal/host/plugin/host_set.go index 193d9b845..7d8df0a80 100644 --- a/internal/host/plugin/host_set.go +++ b/internal/host/plugin/host_set.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/host_set_member.go b/internal/host/plugin/host_set_member.go index 912f148df..816624981 100644 --- a/internal/host/plugin/host_set_member.go +++ b/internal/host/plugin/host_set_member.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/host_set_member_test.go b/internal/host/plugin/host_set_member_test.go index 056552db8..e4e6556ee 100644 --- a/internal/host/plugin/host_set_member_test.go +++ b/internal/host/plugin/host_set_member_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/host_set_test.go b/internal/host/plugin/host_set_test.go index ae9144cd5..e483ecac6 100644 --- a/internal/host/plugin/host_set_test.go +++ b/internal/host/plugin/host_set_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/host_test.go b/internal/host/plugin/host_test.go index a930a6692..6b9609d4c 100644 --- a/internal/host/plugin/host_test.go +++ b/internal/host/plugin/host_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/ids.go b/internal/host/plugin/ids.go index 75a9f1933..05ad71366 100644 --- a/internal/host/plugin/ids.go +++ b/internal/host/plugin/ids.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/immutable_fields_test.go b/internal/host/plugin/immutable_fields_test.go index e214c7547..342f7cc60 100644 --- a/internal/host/plugin/immutable_fields_test.go +++ b/internal/host/plugin/immutable_fields_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/job_orphaned_host_cleanup.go b/internal/host/plugin/job_orphaned_host_cleanup.go index 4b0516d02..2949f5bf9 100644 --- a/internal/host/plugin/job_orphaned_host_cleanup.go +++ b/internal/host/plugin/job_orphaned_host_cleanup.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/job_orphaned_host_cleanup_test.go b/internal/host/plugin/job_orphaned_host_cleanup_test.go index 3b36be2fb..2976ffc15 100644 --- a/internal/host/plugin/job_orphaned_host_cleanup_test.go +++ b/internal/host/plugin/job_orphaned_host_cleanup_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/job_set_sync.go b/internal/host/plugin/job_set_sync.go index 51d2e4fa1..556fd0959 100644 --- a/internal/host/plugin/job_set_sync.go +++ b/internal/host/plugin/job_set_sync.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/job_set_sync_test.go b/internal/host/plugin/job_set_sync_test.go index fdd1a1cbc..c47023a93 100644 --- a/internal/host/plugin/job_set_sync_test.go +++ b/internal/host/plugin/job_set_sync_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/jobs.go b/internal/host/plugin/jobs.go index 3666d694d..9b9822b6a 100644 --- a/internal/host/plugin/jobs.go +++ b/internal/host/plugin/jobs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/loopback.go b/internal/host/plugin/loopback.go index 81141c9f3..074c49ad2 100644 --- a/internal/host/plugin/loopback.go +++ b/internal/host/plugin/loopback.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/loopback_test.go b/internal/host/plugin/loopback_test.go index 5afcbba35..215c5559a 100644 --- a/internal/host/plugin/loopback_test.go +++ b/internal/host/plugin/loopback_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/options.go b/internal/host/plugin/options.go index d15928ed9..ff8c6d0e0 100644 --- a/internal/host/plugin/options.go +++ b/internal/host/plugin/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import "google.golang.org/protobuf/types/known/structpb" diff --git a/internal/host/plugin/options_test.go b/internal/host/plugin/options_test.go index a86e89427..028e7c376 100644 --- a/internal/host/plugin/options_test.go +++ b/internal/host/plugin/options_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/query.go b/internal/host/plugin/query.go index 0ebe62527..ec965d5b7 100644 --- a/internal/host/plugin/query.go +++ b/internal/host/plugin/query.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin const ( diff --git a/internal/host/plugin/repository.go b/internal/host/plugin/repository.go index 7c0f4d885..385389c88 100644 --- a/internal/host/plugin/repository.go +++ b/internal/host/plugin/repository.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package plugin provides a plugin host catalog, and plugin host set resource // which are used to interact with a host plugin as well as a repository to // perform CRUDL and custom actions on these resources. diff --git a/internal/host/plugin/repository_host.go b/internal/host/plugin/repository_host.go index e323596b0..51b36a123 100644 --- a/internal/host/plugin/repository_host.go +++ b/internal/host/plugin/repository_host.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/repository_host_catalog.go b/internal/host/plugin/repository_host_catalog.go index d122328ac..2150202f1 100644 --- a/internal/host/plugin/repository_host_catalog.go +++ b/internal/host/plugin/repository_host_catalog.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/repository_host_catalog_test.go b/internal/host/plugin/repository_host_catalog_test.go index 175f9c5f0..7a7cffd0b 100644 --- a/internal/host/plugin/repository_host_catalog_test.go +++ b/internal/host/plugin/repository_host_catalog_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/repository_host_set.go b/internal/host/plugin/repository_host_set.go index ead26c7b2..ef93818c9 100644 --- a/internal/host/plugin/repository_host_set.go +++ b/internal/host/plugin/repository_host_set.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/repository_host_set_test.go b/internal/host/plugin/repository_host_set_test.go index 53562741e..0ef8383e8 100644 --- a/internal/host/plugin/repository_host_set_test.go +++ b/internal/host/plugin/repository_host_set_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/repository_host_test.go b/internal/host/plugin/repository_host_test.go index 3ca1dc8af..144da9961 100644 --- a/internal/host/plugin/repository_host_test.go +++ b/internal/host/plugin/repository_host_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/repository_host_util.go b/internal/host/plugin/repository_host_util.go index 050602186..542b9b42b 100644 --- a/internal/host/plugin/repository_host_util.go +++ b/internal/host/plugin/repository_host_util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/repository_host_util_test.go b/internal/host/plugin/repository_host_util_test.go index 716625900..bd08ce1e4 100644 --- a/internal/host/plugin/repository_host_util_test.go +++ b/internal/host/plugin/repository_host_util_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/repository_test.go b/internal/host/plugin/repository_test.go index 594882b00..50b9453bf 100644 --- a/internal/host/plugin/repository_test.go +++ b/internal/host/plugin/repository_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/rewrapping.go b/internal/host/plugin/rewrapping.go index 387831d9d..f666d1d40 100644 --- a/internal/host/plugin/rewrapping.go +++ b/internal/host/plugin/rewrapping.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/rewrapping_test.go b/internal/host/plugin/rewrapping_test.go index 67ac58a67..095f9f74d 100644 --- a/internal/host/plugin/rewrapping_test.go +++ b/internal/host/plugin/rewrapping_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/store/host.pb.go b/internal/host/plugin/store/host.pb.go index 157986a19..b87303aa5 100644 --- a/internal/host/plugin/store/host.pb.go +++ b/internal/host/plugin/store/host.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/internal/host/plugin/testing.go b/internal/host/plugin/testing.go index 39ce9cdc8..b1ba852d1 100644 --- a/internal/host/plugin/testing.go +++ b/internal/host/plugin/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/plugin/testing_test.go b/internal/host/plugin/testing_test.go index 8e546d01e..6e1379d3a 100644 --- a/internal/host/plugin/testing_test.go +++ b/internal/host/plugin/testing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/host/preferred_endpoint.go b/internal/host/preferred_endpoint.go index 621448d85..229b8a343 100644 --- a/internal/host/preferred_endpoint.go +++ b/internal/host/preferred_endpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host import ( diff --git a/internal/host/preferred_endpoint_test.go b/internal/host/preferred_endpoint_test.go index cdff77ab6..cb499d608 100644 --- a/internal/host/preferred_endpoint_test.go +++ b/internal/host/preferred_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host_test import ( diff --git a/internal/host/static/doc.go b/internal/host/static/doc.go index d74496083..def25e8a1 100644 --- a/internal/host/static/doc.go +++ b/internal/host/static/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package static provides a host, a host catalog, and a host set suitable // for hosts with a static address. // diff --git a/internal/host/static/example_test.go b/internal/host/static/example_test.go index 804dfecdc..ec9e05d95 100644 --- a/internal/host/static/example_test.go +++ b/internal/host/static/example_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_test import ( diff --git a/internal/host/static/host.go b/internal/host/static/host.go index e4cf7f902..fa9db140e 100644 --- a/internal/host/static/host.go +++ b/internal/host/static/host.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/host/static/host_catalog.go b/internal/host/static/host_catalog.go index da80258e3..d5f6f227f 100644 --- a/internal/host/static/host_catalog.go +++ b/internal/host/static/host_catalog.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/host/static/host_catalog_test.go b/internal/host/static/host_catalog_test.go index 12723219b..f90f25535 100644 --- a/internal/host/static/host_catalog_test.go +++ b/internal/host/static/host_catalog_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/host/static/host_set.go b/internal/host/static/host_set.go index ace7f5510..d933f542f 100644 --- a/internal/host/static/host_set.go +++ b/internal/host/static/host_set.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/host/static/host_set_member.go b/internal/host/static/host_set_member.go index 672cf1abe..f16ad296e 100644 --- a/internal/host/static/host_set_member.go +++ b/internal/host/static/host_set_member.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/host/static/host_set_member_test.go b/internal/host/static/host_set_member_test.go index 2eb6ad98c..2c0365b7c 100644 --- a/internal/host/static/host_set_member_test.go +++ b/internal/host/static/host_set_member_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/host/static/host_set_test.go b/internal/host/static/host_set_test.go index 73fb10aca..b6003dd6a 100644 --- a/internal/host/static/host_set_test.go +++ b/internal/host/static/host_set_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/host/static/host_test.go b/internal/host/static/host_test.go index 2236aa36e..37be14065 100644 --- a/internal/host/static/host_test.go +++ b/internal/host/static/host_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/host/static/immutable_fields_test.go b/internal/host/static/immutable_fields_test.go index 9b9233269..42327f9f7 100644 --- a/internal/host/static/immutable_fields_test.go +++ b/internal/host/static/immutable_fields_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/host/static/options.go b/internal/host/static/options.go index 46e85535a..386d7c85e 100644 --- a/internal/host/static/options.go +++ b/internal/host/static/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static // getOpts - iterate the inbound Options and return a struct diff --git a/internal/host/static/options_test.go b/internal/host/static/options_test.go index dccfd5adb..714743ab0 100644 --- a/internal/host/static/options_test.go +++ b/internal/host/static/options_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/host/static/public_ids.go b/internal/host/static/public_ids.go index cbc828dae..8067d1b85 100644 --- a/internal/host/static/public_ids.go +++ b/internal/host/static/public_ids.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/host/static/query.go b/internal/host/static/query.go index 3618d4b75..bf4ec861b 100644 --- a/internal/host/static/query.go +++ b/internal/host/static/query.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static const ( diff --git a/internal/host/static/repository.go b/internal/host/static/repository.go index ed4bca656..18b8a2e4a 100644 --- a/internal/host/static/repository.go +++ b/internal/host/static/repository.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/host/static/repository_host.go b/internal/host/static/repository_host.go index 9e964eea8..97d314441 100644 --- a/internal/host/static/repository_host.go +++ b/internal/host/static/repository_host.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/host/static/repository_host_catalog.go b/internal/host/static/repository_host_catalog.go index e16cf221a..bb098bfa9 100644 --- a/internal/host/static/repository_host_catalog.go +++ b/internal/host/static/repository_host_catalog.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/host/static/repository_host_catalog_test.go b/internal/host/static/repository_host_catalog_test.go index cde87d972..a0c92a94a 100644 --- a/internal/host/static/repository_host_catalog_test.go +++ b/internal/host/static/repository_host_catalog_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/host/static/repository_host_set.go b/internal/host/static/repository_host_set.go index b1136dcc9..f1ee42900 100644 --- a/internal/host/static/repository_host_set.go +++ b/internal/host/static/repository_host_set.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/host/static/repository_host_set_member.go b/internal/host/static/repository_host_set_member.go index 8f7f9700a..637ae16b5 100644 --- a/internal/host/static/repository_host_set_member.go +++ b/internal/host/static/repository_host_set_member.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/host/static/repository_host_set_member_test.go b/internal/host/static/repository_host_set_member_test.go index e9dd542a2..9f8d36485 100644 --- a/internal/host/static/repository_host_set_member_test.go +++ b/internal/host/static/repository_host_set_member_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/host/static/repository_host_set_test.go b/internal/host/static/repository_host_set_test.go index 8b39d832b..3c2d850b3 100644 --- a/internal/host/static/repository_host_set_test.go +++ b/internal/host/static/repository_host_set_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/host/static/repository_host_test.go b/internal/host/static/repository_host_test.go index 0611cfc14..066601f38 100644 --- a/internal/host/static/repository_host_test.go +++ b/internal/host/static/repository_host_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/host/static/repository_test.go b/internal/host/static/repository_test.go index 03b46e289..16715b5cb 100644 --- a/internal/host/static/repository_test.go +++ b/internal/host/static/repository_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/host/static/store/static.pb.go b/internal/host/static/store/static.pb.go index 9a877e2c3..11b3ef86d 100644 --- a/internal/host/static/store/static.pb.go +++ b/internal/host/static/store/static.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/internal/host/static/testing.go b/internal/host/static/testing.go index 1b2e96107..2c524e90b 100644 --- a/internal/host/static/testing.go +++ b/internal/host/static/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/host/static/testing_test.go b/internal/host/static/testing_test.go index 1d7e41b91..72aa5443c 100644 --- a/internal/host/static/testing_test.go +++ b/internal/host/static/testing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static import ( diff --git a/internal/host/store/host.pb.go b/internal/host/store/host.pb.go index ad6be20f5..a5ba8d18c 100644 --- a/internal/host/store/host.pb.go +++ b/internal/host/store/host.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/internal/iam/account.go b/internal/iam/account.go index 593cffabf..1dac393ef 100644 --- a/internal/iam/account.go +++ b/internal/iam/account.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/account_test.go b/internal/iam/account_test.go index 76cee0902..3d43c8e00 100644 --- a/internal/iam/account_test.go +++ b/internal/iam/account_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/action.go b/internal/iam/action.go index f04b5462d..37e374c9c 100644 --- a/internal/iam/action.go +++ b/internal/iam/action.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import "github.com/hashicorp/boundary/internal/types/action" diff --git a/internal/iam/action_test.go b/internal/iam/action_test.go index 4fb73317b..1fb59aa59 100644 --- a/internal/iam/action_test.go +++ b/internal/iam/action_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/docs.go b/internal/iam/docs.go index 50c72e578..dff42a377 100644 --- a/internal/iam/docs.go +++ b/internal/iam/docs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // iam package is for identity access management of boundary. It includes typical // iam resources like Orgs, Projects, Users, Groups, etc. package iam diff --git a/internal/iam/group.go b/internal/iam/group.go index 2fea382b9..0b9a03c38 100644 --- a/internal/iam/group.go +++ b/internal/iam/group.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/group_member.go b/internal/iam/group_member.go index 2ae051441..fbc999476 100644 --- a/internal/iam/group_member.go +++ b/internal/iam/group_member.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/group_member_test.go b/internal/iam/group_member_test.go index c66b9b3d4..5cd1174eb 100644 --- a/internal/iam/group_member_test.go +++ b/internal/iam/group_member_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/group_test.go b/internal/iam/group_test.go index 4c696979b..13754cace 100644 --- a/internal/iam/group_test.go +++ b/internal/iam/group_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/ids.go b/internal/iam/ids.go index db76758b3..f20d81d38 100644 --- a/internal/iam/ids.go +++ b/internal/iam/ids.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/ids_test.go b/internal/iam/ids_test.go index 7b8aacebb..a7393e6c8 100644 --- a/internal/iam/ids_test.go +++ b/internal/iam/ids_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/immutable_fields_test.go b/internal/iam/immutable_fields_test.go index 7bffd66a6..30c9c9601 100644 --- a/internal/iam/immutable_fields_test.go +++ b/internal/iam/immutable_fields_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/options.go b/internal/iam/options.go index 236a14322..7f119c005 100644 --- a/internal/iam/options.go +++ b/internal/iam/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import "io" diff --git a/internal/iam/options_test.go b/internal/iam/options_test.go index 5ee5aca85..33190a9ec 100644 --- a/internal/iam/options_test.go +++ b/internal/iam/options_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/principal_role.go b/internal/iam/principal_role.go index 796e93d23..354f990ee 100644 --- a/internal/iam/principal_role.go +++ b/internal/iam/principal_role.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/principal_role_ext_test.go b/internal/iam/principal_role_ext_test.go index c30b45611..3d9975ade 100644 --- a/internal/iam/principal_role_ext_test.go +++ b/internal/iam/principal_role_ext_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam_test import ( diff --git a/internal/iam/principal_role_test.go b/internal/iam/principal_role_test.go index 1cc8d3053..8c1564ca7 100644 --- a/internal/iam/principal_role_test.go +++ b/internal/iam/principal_role_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/query.go b/internal/iam/query.go index 4a06c6cc7..994775530 100644 --- a/internal/iam/query.go +++ b/internal/iam/query.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam // query.go contains "raw sql" for the iam package that goes directly against diff --git a/internal/iam/repository.go b/internal/iam/repository.go index b833bb970..689e1322e 100644 --- a/internal/iam/repository.go +++ b/internal/iam/repository.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/repository_group.go b/internal/iam/repository_group.go index 2ba0cc3ce..c5830c152 100644 --- a/internal/iam/repository_group.go +++ b/internal/iam/repository_group.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/repository_group_test.go b/internal/iam/repository_group_test.go index e80d8e6e2..0d019273c 100644 --- a/internal/iam/repository_group_test.go +++ b/internal/iam/repository_group_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/repository_principal_role.go b/internal/iam/repository_principal_role.go index da2e6941b..84df53805 100644 --- a/internal/iam/repository_principal_role.go +++ b/internal/iam/repository_principal_role.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/repository_principal_role_ext_test.go b/internal/iam/repository_principal_role_ext_test.go index 8ab944a80..750755b84 100644 --- a/internal/iam/repository_principal_role_ext_test.go +++ b/internal/iam/repository_principal_role_ext_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam_test import ( diff --git a/internal/iam/repository_principal_role_test.go b/internal/iam/repository_principal_role_test.go index c464a7a5d..e58900094 100644 --- a/internal/iam/repository_principal_role_test.go +++ b/internal/iam/repository_principal_role_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/repository_role.go b/internal/iam/repository_role.go index f56abdd6c..86bbe76e1 100644 --- a/internal/iam/repository_role.go +++ b/internal/iam/repository_role.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/repository_role_grant.go b/internal/iam/repository_role_grant.go index e15a40326..711c79d74 100644 --- a/internal/iam/repository_role_grant.go +++ b/internal/iam/repository_role_grant.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/repository_role_grant_ext_test.go b/internal/iam/repository_role_grant_ext_test.go index ebc0f08f6..9b27ffdf2 100644 --- a/internal/iam/repository_role_grant_ext_test.go +++ b/internal/iam/repository_role_grant_ext_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam_test import ( diff --git a/internal/iam/repository_role_grant_test.go b/internal/iam/repository_role_grant_test.go index 8f63f57ad..6594c9dd1 100644 --- a/internal/iam/repository_role_grant_test.go +++ b/internal/iam/repository_role_grant_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/repository_role_test.go b/internal/iam/repository_role_test.go index face2b973..2f8826a3d 100644 --- a/internal/iam/repository_role_test.go +++ b/internal/iam/repository_role_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/repository_scope.go b/internal/iam/repository_scope.go index 5bfa753c6..e06a2d226 100644 --- a/internal/iam/repository_scope.go +++ b/internal/iam/repository_scope.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/repository_scope_primary_auth_method_id_test.go b/internal/iam/repository_scope_primary_auth_method_id_test.go index 93df7d7ee..d0a77acb6 100644 --- a/internal/iam/repository_scope_primary_auth_method_id_test.go +++ b/internal/iam/repository_scope_primary_auth_method_id_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam_test import ( diff --git a/internal/iam/repository_scope_test.go b/internal/iam/repository_scope_test.go index 4fb25cb91..0c721ee99 100644 --- a/internal/iam/repository_scope_test.go +++ b/internal/iam/repository_scope_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/repository_test.go b/internal/iam/repository_test.go index c24c620f9..494cb60ee 100644 --- a/internal/iam/repository_test.go +++ b/internal/iam/repository_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/repository_user.go b/internal/iam/repository_user.go index fdcce699a..c2ee79a6d 100644 --- a/internal/iam/repository_user.go +++ b/internal/iam/repository_user.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/repository_user_iam_pkg_test.go b/internal/iam/repository_user_iam_pkg_test.go index 690441d2d..b16e715a5 100644 --- a/internal/iam/repository_user_iam_pkg_test.go +++ b/internal/iam/repository_user_iam_pkg_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/repository_user_test.go b/internal/iam/repository_user_test.go index 7ab72b41f..6f9f06e25 100644 --- a/internal/iam/repository_user_test.go +++ b/internal/iam/repository_user_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam_test import ( diff --git a/internal/iam/resource.go b/internal/iam/resource.go index cb67fa7c0..d732bde65 100644 --- a/internal/iam/resource.go +++ b/internal/iam/resource.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/resource_test.go b/internal/iam/resource_test.go index 4200ca3de..85f4ee51d 100644 --- a/internal/iam/resource_test.go +++ b/internal/iam/resource_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/role.go b/internal/iam/role.go index 33e6931bc..bbd80fb27 100644 --- a/internal/iam/role.go +++ b/internal/iam/role.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/role_grant.go b/internal/iam/role_grant.go index 07116a63c..4047a2ce2 100644 --- a/internal/iam/role_grant.go +++ b/internal/iam/role_grant.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/role_grant_test.go b/internal/iam/role_grant_test.go index 80328ce45..3b7a9371c 100644 --- a/internal/iam/role_grant_test.go +++ b/internal/iam/role_grant_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/role_test.go b/internal/iam/role_test.go index f667b5c71..2eddd35d5 100644 --- a/internal/iam/role_test.go +++ b/internal/iam/role_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/scope.go b/internal/iam/scope.go index 4a9bd0a7b..216b7388d 100644 --- a/internal/iam/scope.go +++ b/internal/iam/scope.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/scope_test.go b/internal/iam/scope_test.go index 77918d6e6..96898e535 100644 --- a/internal/iam/scope_test.go +++ b/internal/iam/scope_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/store/group.pb.go b/internal/iam/store/group.pb.go index 9ae204c44..8cbbb0fcd 100644 --- a/internal/iam/store/group.pb.go +++ b/internal/iam/store/group.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/internal/iam/store/group_member.pb.go b/internal/iam/store/group_member.pb.go index 384ed5f58..fb7fdc637 100644 --- a/internal/iam/store/group_member.pb.go +++ b/internal/iam/store/group_member.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/internal/iam/store/principal_role.pb.go b/internal/iam/store/principal_role.pb.go index 9165f9c7c..9676ce417 100644 --- a/internal/iam/store/principal_role.pb.go +++ b/internal/iam/store/principal_role.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/internal/iam/store/role.pb.go b/internal/iam/store/role.pb.go index 66c47c336..b127195d9 100644 --- a/internal/iam/store/role.pb.go +++ b/internal/iam/store/role.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/internal/iam/store/role_grant.pb.go b/internal/iam/store/role_grant.pb.go index 2996823c6..b47c69327 100644 --- a/internal/iam/store/role_grant.pb.go +++ b/internal/iam/store/role_grant.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/internal/iam/store/scope.pb.go b/internal/iam/store/scope.pb.go index d842571bd..52e2a4b7c 100644 --- a/internal/iam/store/scope.pb.go +++ b/internal/iam/store/scope.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/internal/iam/store/user.pb.go b/internal/iam/store/user.pb.go index b997ce706..f8b41b17e 100644 --- a/internal/iam/store/user.pb.go +++ b/internal/iam/store/user.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/internal/iam/testing.go b/internal/iam/testing.go index 0ac089d9d..5951f4d66 100644 --- a/internal/iam/testing.go +++ b/internal/iam/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/testing_test.go b/internal/iam/testing_test.go index 57a771164..5197f76f4 100644 --- a/internal/iam/testing_test.go +++ b/internal/iam/testing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/user.go b/internal/iam/user.go index 0feb45a8b..b2b6f682f 100644 --- a/internal/iam/user.go +++ b/internal/iam/user.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/iam/user_test.go b/internal/iam/user_test.go index 4dffcfe21..f30c69ed0 100644 --- a/internal/iam/user_test.go +++ b/internal/iam/user_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iam import ( diff --git a/internal/intglobals/prefixes.go b/internal/intglobals/prefixes.go index c14309b5c..7a5de116a 100644 --- a/internal/intglobals/prefixes.go +++ b/internal/intglobals/prefixes.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package intglobals // This set of consts is intended to be a place to collect commonly-used diff --git a/internal/kms/const.go b/internal/kms/const.go index a2349fc6d..bbf37cbb5 100644 --- a/internal/kms/const.go +++ b/internal/kms/const.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms // KeyPurpose allows an application to specify the reason they need a key; this diff --git a/internal/kms/data_key_version_destruction_job.go b/internal/kms/data_key_version_destruction_job.go index f0ff62e82..c0c348ab7 100644 --- a/internal/kms/data_key_version_destruction_job.go +++ b/internal/kms/data_key_version_destruction_job.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms import ( diff --git a/internal/kms/data_key_version_destruction_job_progress.go b/internal/kms/data_key_version_destruction_job_progress.go index 719360918..948949d94 100644 --- a/internal/kms/data_key_version_destruction_job_progress.go +++ b/internal/kms/data_key_version_destruction_job_progress.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms import ( diff --git a/internal/kms/data_key_version_destruction_job_progress_test.go b/internal/kms/data_key_version_destruction_job_progress_test.go index 6101d3087..615184faa 100644 --- a/internal/kms/data_key_version_destruction_job_progress_test.go +++ b/internal/kms/data_key_version_destruction_job_progress_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms import ( diff --git a/internal/kms/data_key_version_destruction_job_run.go b/internal/kms/data_key_version_destruction_job_run.go index c98212f28..2bc400049 100644 --- a/internal/kms/data_key_version_destruction_job_run.go +++ b/internal/kms/data_key_version_destruction_job_run.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms import ( diff --git a/internal/kms/data_key_version_destruction_job_run_allowed_table_name.go b/internal/kms/data_key_version_destruction_job_run_allowed_table_name.go index 6cc6a1c7f..a4f55517f 100644 --- a/internal/kms/data_key_version_destruction_job_run_allowed_table_name.go +++ b/internal/kms/data_key_version_destruction_job_run_allowed_table_name.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms import ( diff --git a/internal/kms/data_key_version_destruction_job_run_allowed_table_name_test.go b/internal/kms/data_key_version_destruction_job_run_allowed_table_name_test.go index efec1e831..5c672dbf5 100644 --- a/internal/kms/data_key_version_destruction_job_run_allowed_table_name_test.go +++ b/internal/kms/data_key_version_destruction_job_run_allowed_table_name_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms import ( diff --git a/internal/kms/data_key_version_destruction_job_run_test.go b/internal/kms/data_key_version_destruction_job_run_test.go index 5d5e19c6c..b177c0497 100644 --- a/internal/kms/data_key_version_destruction_job_run_test.go +++ b/internal/kms/data_key_version_destruction_job_run_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms import ( diff --git a/internal/kms/data_key_version_destruction_job_test.go b/internal/kms/data_key_version_destruction_job_test.go index 2aaec3a91..3c3a2a3f8 100644 --- a/internal/kms/data_key_version_destruction_job_test.go +++ b/internal/kms/data_key_version_destruction_job_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms import ( diff --git a/internal/kms/external_wrappers.go b/internal/kms/external_wrappers.go index 48507f12d..86185e190 100644 --- a/internal/kms/external_wrappers.go +++ b/internal/kms/external_wrappers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms import ( diff --git a/internal/kms/external_wrappers_test.go b/internal/kms/external_wrappers_test.go index c0cbea429..bb2e3352e 100644 --- a/internal/kms/external_wrappers_test.go +++ b/internal/kms/external_wrappers_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms import ( diff --git a/internal/kms/job/data_key_version_destruction_monitor_job.go b/internal/kms/job/data_key_version_destruction_monitor_job.go index ee558f8a5..1d398d07f 100644 --- a/internal/kms/job/data_key_version_destruction_monitor_job.go +++ b/internal/kms/job/data_key_version_destruction_monitor_job.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/kms/job/data_key_version_destruction_monitor_job_test.go b/internal/kms/job/data_key_version_destruction_monitor_job_test.go index e0598a884..5a0e0a18f 100644 --- a/internal/kms/job/data_key_version_destruction_monitor_job_test.go +++ b/internal/kms/job/data_key_version_destruction_monitor_job_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/kms/job/job.go b/internal/kms/job/job.go index eaf5d14b7..1d6895e20 100644 --- a/internal/kms/job/job.go +++ b/internal/kms/job/job.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/kms/job/job_test.go b/internal/kms/job/job_test.go index 1dc970810..88482f18e 100644 --- a/internal/kms/job/job_test.go +++ b/internal/kms/job/job_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/kms/job/table_rewrapping_job.go b/internal/kms/job/table_rewrapping_job.go index f964e18a1..930541060 100644 --- a/internal/kms/job/table_rewrapping_job.go +++ b/internal/kms/job/table_rewrapping_job.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/kms/job/table_rewrapping_job_test.go b/internal/kms/job/table_rewrapping_job_test.go index e27d95b5e..e7a9411b5 100644 --- a/internal/kms/job/table_rewrapping_job_test.go +++ b/internal/kms/job/table_rewrapping_job_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/kms/kms.go b/internal/kms/kms.go index 19a94a037..15e15c3ed 100644 --- a/internal/kms/kms.go +++ b/internal/kms/kms.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms import ( diff --git a/internal/kms/kms_ext_test.go b/internal/kms/kms_ext_test.go index 388cec58b..f0ca9db9d 100644 --- a/internal/kms/kms_ext_test.go +++ b/internal/kms/kms_ext_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms_test import ( diff --git a/internal/kms/kms_test.go b/internal/kms/kms_test.go index 0ea00bb1b..cee8bfcf3 100644 --- a/internal/kms/kms_test.go +++ b/internal/kms/kms_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms import ( diff --git a/internal/kms/option_test.go b/internal/kms/option_test.go index 5af71d139..e37d084e6 100644 --- a/internal/kms/option_test.go +++ b/internal/kms/option_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms import ( diff --git a/internal/kms/options.go b/internal/kms/options.go index 9ef37656a..55e393aec 100644 --- a/internal/kms/options.go +++ b/internal/kms/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms import ( diff --git a/internal/kms/query.go b/internal/kms/query.go index eb7953c50..0c30eacd1 100644 --- a/internal/kms/query.go +++ b/internal/kms/query.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms const ( diff --git a/internal/kms/rewrapping.go b/internal/kms/rewrapping.go index efc914bcd..25d4e7c96 100644 --- a/internal/kms/rewrapping.go +++ b/internal/kms/rewrapping.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms import ( diff --git a/internal/kms/store/audit_key.pb.go b/internal/kms/store/audit_key.pb.go index 619ddfd22..e7ab12449 100644 --- a/internal/kms/store/audit_key.pb.go +++ b/internal/kms/store/audit_key.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/internal/kms/store/data_key_version_destruction_job.pb.go b/internal/kms/store/data_key_version_destruction_job.pb.go index 2a897e6e7..47d3c8d5c 100644 --- a/internal/kms/store/data_key_version_destruction_job.pb.go +++ b/internal/kms/store/data_key_version_destruction_job.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/internal/kms/store/data_key_version_destruction_job_progress.pb.go b/internal/kms/store/data_key_version_destruction_job_progress.pb.go index 60516ef29..21e519f09 100644 --- a/internal/kms/store/data_key_version_destruction_job_progress.pb.go +++ b/internal/kms/store/data_key_version_destruction_job_progress.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/internal/kms/store/data_key_version_destruction_job_run.pb.go b/internal/kms/store/data_key_version_destruction_job_run.pb.go index 142b07c3e..ad4246e9b 100644 --- a/internal/kms/store/data_key_version_destruction_job_run.pb.go +++ b/internal/kms/store/data_key_version_destruction_job_run.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/internal/kms/store/data_key_version_destruction_job_run_allowed_table_name.pb.go b/internal/kms/store/data_key_version_destruction_job_run_allowed_table_name.pb.go index 1db9dbd43..4edb6d741 100644 --- a/internal/kms/store/data_key_version_destruction_job_run_allowed_table_name.pb.go +++ b/internal/kms/store/data_key_version_destruction_job_run_allowed_table_name.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/internal/kms/store/database_key.pb.go b/internal/kms/store/database_key.pb.go index 34f44bf2c..dd4db2379 100644 --- a/internal/kms/store/database_key.pb.go +++ b/internal/kms/store/database_key.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/internal/kms/store/oidc_key.pb.go b/internal/kms/store/oidc_key.pb.go index 37283a5eb..31c4138a2 100644 --- a/internal/kms/store/oidc_key.pb.go +++ b/internal/kms/store/oidc_key.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/internal/kms/store/oplog_key.pb.go b/internal/kms/store/oplog_key.pb.go index 159271ac7..1a795901c 100644 --- a/internal/kms/store/oplog_key.pb.go +++ b/internal/kms/store/oplog_key.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/internal/kms/store/root_key.pb.go b/internal/kms/store/root_key.pb.go index 819426e6d..acdb5f174 100644 --- a/internal/kms/store/root_key.pb.go +++ b/internal/kms/store/root_key.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/internal/kms/store/session_key.pb.go b/internal/kms/store/session_key.pb.go index 841ca285a..e3783a999 100644 --- a/internal/kms/store/session_key.pb.go +++ b/internal/kms/store/session_key.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/internal/kms/store/token_key.pb.go b/internal/kms/store/token_key.pb.go index 16b866ff3..437c742e1 100644 --- a/internal/kms/store/token_key.pb.go +++ b/internal/kms/store/token_key.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/internal/kms/testing.go b/internal/kms/testing.go index 02473fc6b..701774758 100644 --- a/internal/kms/testing.go +++ b/internal/kms/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms import ( diff --git a/internal/libs/crypto/derived_reader.go b/internal/libs/crypto/derived_reader.go index a0c03a2d6..8817b5eaa 100644 --- a/internal/libs/crypto/derived_reader.go +++ b/internal/libs/crypto/derived_reader.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package crypto import ( diff --git a/internal/libs/crypto/derived_reader_test.go b/internal/libs/crypto/derived_reader_test.go index 388b25c34..af8a9732b 100644 --- a/internal/libs/crypto/derived_reader_test.go +++ b/internal/libs/crypto/derived_reader_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package crypto import ( diff --git a/internal/libs/crypto/error.go b/internal/libs/crypto/error.go index c59844260..a9c42d69b 100644 --- a/internal/libs/crypto/error.go +++ b/internal/libs/crypto/error.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package crypto import ( diff --git a/internal/libs/crypto/hmac_sha256.go b/internal/libs/crypto/hmac_sha256.go index 1e3d58548..52d0c1a39 100644 --- a/internal/libs/crypto/hmac_sha256.go +++ b/internal/libs/crypto/hmac_sha256.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package crypto import ( diff --git a/internal/libs/crypto/hmac_sha256_test.go b/internal/libs/crypto/hmac_sha256_test.go index 0c4d3685c..aab3e473e 100644 --- a/internal/libs/crypto/hmac_sha256_test.go +++ b/internal/libs/crypto/hmac_sha256_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package crypto import ( diff --git a/internal/libs/crypto/options.go b/internal/libs/crypto/options.go index 66e3bf51a..5e23e9649 100644 --- a/internal/libs/crypto/options.go +++ b/internal/libs/crypto/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package crypto // getOpts - iterate the inbound Options and return a struct. diff --git a/internal/libs/crypto/options_test.go b/internal/libs/crypto/options_test.go index be4c61d44..049f62b41 100644 --- a/internal/libs/crypto/options_test.go +++ b/internal/libs/crypto/options_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package crypto import ( diff --git a/internal/libs/crypto/testing.go b/internal/libs/crypto/testing.go index 73c5e1e9c..aa8393422 100644 --- a/internal/libs/crypto/testing.go +++ b/internal/libs/crypto/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package crypto import ( diff --git a/internal/libs/endpoint/doc.go b/internal/libs/endpoint/doc.go index 74bcbd740..0d45b8ba3 100644 --- a/internal/libs/endpoint/doc.go +++ b/internal/libs/endpoint/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package endpoint // This package contains enpoint-related libraries. diff --git a/internal/libs/endpoint/matcher.go b/internal/libs/endpoint/matcher.go index 4f8deb79a..58aa81a56 100644 --- a/internal/libs/endpoint/matcher.go +++ b/internal/libs/endpoint/matcher.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package endpoint import ( diff --git a/internal/libs/endpoint/matcher_test.go b/internal/libs/endpoint/matcher_test.go index 1298a1a48..35131928c 100644 --- a/internal/libs/endpoint/matcher_test.go +++ b/internal/libs/endpoint/matcher_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package endpoint import ( diff --git a/internal/libs/endpoint/option.go b/internal/libs/endpoint/option.go index bf70a8624..24b348d46 100644 --- a/internal/libs/endpoint/option.go +++ b/internal/libs/endpoint/option.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package endpoint import ( diff --git a/internal/libs/endpoint/options_test.go b/internal/libs/endpoint/options_test.go index 1c87293df..8eb60cd52 100644 --- a/internal/libs/endpoint/options_test.go +++ b/internal/libs/endpoint/options_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package endpoint import ( diff --git a/internal/libs/endpoint/preferencer.go b/internal/libs/endpoint/preferencer.go index ab838855a..44e268475 100644 --- a/internal/libs/endpoint/preferencer.go +++ b/internal/libs/endpoint/preferencer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package endpoint import ( diff --git a/internal/libs/endpoint/preferencer_test.go b/internal/libs/endpoint/preferencer_test.go index 0fd904a60..836d6672f 100644 --- a/internal/libs/endpoint/preferencer_test.go +++ b/internal/libs/endpoint/preferencer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package endpoint import ( diff --git a/internal/libs/patchstruct/patchstruct.go b/internal/libs/patchstruct/patchstruct.go index 9b47fcb28..00d38cfa1 100644 --- a/internal/libs/patchstruct/patchstruct.go +++ b/internal/libs/patchstruct/patchstruct.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package patchstruct import ( diff --git a/internal/libs/patchstruct/patchstruct_test.go b/internal/libs/patchstruct/patchstruct_test.go index 79ec44372..6882441b6 100644 --- a/internal/libs/patchstruct/patchstruct_test.go +++ b/internal/libs/patchstruct/patchstruct_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package patchstruct import ( diff --git a/internal/observability/event/audit_config.go b/internal/observability/event/audit_config.go index 0625452c8..a2ee8da18 100644 --- a/internal/observability/event/audit_config.go +++ b/internal/observability/event/audit_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/audit_config_test.go b/internal/observability/event/audit_config_test.go index 1a945dbca..bdab3a5db 100644 --- a/internal/observability/event/audit_config_test.go +++ b/internal/observability/event/audit_config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/cloudevents_formatter_node.go b/internal/observability/event/cloudevents_formatter_node.go index 68bf0fa96..4c499cb64 100644 --- a/internal/observability/event/cloudevents_formatter_node.go +++ b/internal/observability/event/cloudevents_formatter_node.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/cloudevents_formatter_node_test.go b/internal/observability/event/cloudevents_formatter_node_test.go index 4a2864357..add82d251 100644 --- a/internal/observability/event/cloudevents_formatter_node_test.go +++ b/internal/observability/event/cloudevents_formatter_node_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/common_keys_values.go b/internal/observability/event/common_keys_values.go index 5c36933c3..1eefac85e 100644 --- a/internal/observability/event/common_keys_values.go +++ b/internal/observability/event/common_keys_values.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event // Define a set of common keys and values to use in event payload maps. Having diff --git a/internal/observability/event/context.go b/internal/observability/event/context.go index 3c9b1c1d4..567eef139 100644 --- a/internal/observability/event/context.go +++ b/internal/observability/event/context.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/context_test.go b/internal/observability/event/context_test.go index 98f670778..2b063105f 100644 --- a/internal/observability/event/context_test.go +++ b/internal/observability/event/context_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event_test import ( diff --git a/internal/observability/event/context_unexported_test.go b/internal/observability/event/context_unexported_test.go index 81822c8de..1b00e2899 100644 --- a/internal/observability/event/context_unexported_test.go +++ b/internal/observability/event/context_unexported_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/data_classification.go b/internal/observability/event/data_classification.go index 4ff6ed431..905c34c30 100644 --- a/internal/observability/event/data_classification.go +++ b/internal/observability/event/data_classification.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import "fmt" diff --git a/internal/observability/event/data_classification_test.go b/internal/observability/event/data_classification_test.go index 1075917be..b80e5fe51 100644 --- a/internal/observability/event/data_classification_test.go +++ b/internal/observability/event/data_classification_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/errors.go b/internal/observability/event/errors.go index 27b3c7b5e..b0f88a7b7 100644 --- a/internal/observability/event/errors.go +++ b/internal/observability/event/errors.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/event.go b/internal/observability/event/event.go index 76d9363ea..f3c23778f 100644 --- a/internal/observability/event/event.go +++ b/internal/observability/event/event.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/event_audit.go b/internal/observability/event/event_audit.go index c34912094..6e5ae4b9a 100644 --- a/internal/observability/event/event_audit.go +++ b/internal/observability/event/event_audit.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/event_audit_test.go b/internal/observability/event/event_audit_test.go index 37de0d5c4..747edc1a0 100644 --- a/internal/observability/event/event_audit_test.go +++ b/internal/observability/event/event_audit_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/event_delivery_guarantee.go b/internal/observability/event/event_delivery_guarantee.go index 336ec77aa..39acaab06 100644 --- a/internal/observability/event/event_delivery_guarantee.go +++ b/internal/observability/event/event_delivery_guarantee.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/event_delivery_guarantee_test.go b/internal/observability/event/event_delivery_guarantee_test.go index 60678f26e..3b66ec7f0 100644 --- a/internal/observability/event/event_delivery_guarantee_test.go +++ b/internal/observability/event/event_delivery_guarantee_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/event_error.go b/internal/observability/event/event_error.go index 8813312dd..0bfe3fb0f 100644 --- a/internal/observability/event/event_error.go +++ b/internal/observability/event/event_error.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/event_error_test.go b/internal/observability/event/event_error_test.go index bfd880438..fcf6db08f 100644 --- a/internal/observability/event/event_error_test.go +++ b/internal/observability/event/event_error_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/event_observation.go b/internal/observability/event/event_observation.go index 311d44a87..412037506 100644 --- a/internal/observability/event/event_observation.go +++ b/internal/observability/event/event_observation.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/event_observation_test.go b/internal/observability/event/event_observation_test.go index c1718d144..da7ca2607 100644 --- a/internal/observability/event/event_observation_test.go +++ b/internal/observability/event/event_observation_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/event_sys.go b/internal/observability/event/event_sys.go index 81a427b8a..77727fac8 100644 --- a/internal/observability/event/event_sys.go +++ b/internal/observability/event/event_sys.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event // sysVersion defines the version of sys events diff --git a/internal/observability/event/event_sys_test.go b/internal/observability/event/event_sys_test.go index ba5c84492..6b45c72b2 100644 --- a/internal/observability/event/event_sys_test.go +++ b/internal/observability/event/event_sys_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/event_type.go b/internal/observability/event/event_type.go index b86a800e9..03c4554b8 100644 --- a/internal/observability/event/event_type.go +++ b/internal/observability/event/event_type.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/eventer.go b/internal/observability/event/eventer.go index e4c4d8cb7..35d9822ce 100644 --- a/internal/observability/event/eventer.go +++ b/internal/observability/event/eventer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/eventer_config.go b/internal/observability/event/eventer_config.go index e066cb33e..22b46d55e 100644 --- a/internal/observability/event/eventer_config.go +++ b/internal/observability/event/eventer_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/eventer_config_test.go b/internal/observability/event/eventer_config_test.go index 58d2c3f9e..052b99bd9 100644 --- a/internal/observability/event/eventer_config_test.go +++ b/internal/observability/event/eventer_config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/eventer_gate_test.go b/internal/observability/event/eventer_gate_test.go index 5ef178a92..b98a4b62a 100644 --- a/internal/observability/event/eventer_gate_test.go +++ b/internal/observability/event/eventer_gate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/eventer_retry.go b/internal/observability/event/eventer_retry.go index 8efd0d4a3..37db0b9ca 100644 --- a/internal/observability/event/eventer_retry.go +++ b/internal/observability/event/eventer_retry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/eventer_retry_test.go b/internal/observability/event/eventer_retry_test.go index f2c0ea723..9b119b054 100644 --- a/internal/observability/event/eventer_retry_test.go +++ b/internal/observability/event/eventer_retry_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/eventer_test.go b/internal/observability/event/eventer_test.go index e1503d721..37195c02a 100644 --- a/internal/observability/event/eventer_test.go +++ b/internal/observability/event/eventer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/filter_operation.go b/internal/observability/event/filter_operation.go index 446c96df9..0c522f21b 100644 --- a/internal/observability/event/filter_operation.go +++ b/internal/observability/event/filter_operation.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/filter_operation_test.go b/internal/observability/event/filter_operation_test.go index 59e370a28..7cfd75eb3 100644 --- a/internal/observability/event/filter_operation_test.go +++ b/internal/observability/event/filter_operation_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/hclog_event_adapter.go b/internal/observability/event/hclog_event_adapter.go index ddd5a25ed..26203a13c 100644 --- a/internal/observability/event/hclog_event_adapter.go +++ b/internal/observability/event/hclog_event_adapter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/hclog_event_adapter_test.go b/internal/observability/event/hclog_event_adapter_test.go index c432c17a5..50140db9b 100644 --- a/internal/observability/event/hclog_event_adapter_test.go +++ b/internal/observability/event/hclog_event_adapter_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/hclog_formatter_node.go b/internal/observability/event/hclog_formatter_node.go index 21f31cdf2..10c5bce82 100644 --- a/internal/observability/event/hclog_formatter_node.go +++ b/internal/observability/event/hclog_formatter_node.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/hclog_formatter_node_test.go b/internal/observability/event/hclog_formatter_node_test.go index 306880bce..b9e9b5180 100644 --- a/internal/observability/event/hclog_formatter_node_test.go +++ b/internal/observability/event/hclog_formatter_node_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/id.go b/internal/observability/event/id.go index 2539c3f60..2c9caf7c7 100644 --- a/internal/observability/event/id.go +++ b/internal/observability/event/id.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/id_test.go b/internal/observability/event/id_test.go index 0c39ea4e7..9c04f3c0e 100644 --- a/internal/observability/event/id_test.go +++ b/internal/observability/event/id_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/options.go b/internal/observability/event/options.go index 3bf302774..d61fd3028 100644 --- a/internal/observability/event/options.go +++ b/internal/observability/event/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/options_test.go b/internal/observability/event/options_test.go index 4f6cefa9e..c3a2ed066 100644 --- a/internal/observability/event/options_test.go +++ b/internal/observability/event/options_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/serialized_writer.go b/internal/observability/event/serialized_writer.go index 4935ed76a..37d0573de 100644 --- a/internal/observability/event/serialized_writer.go +++ b/internal/observability/event/serialized_writer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/serialized_writer_test.go b/internal/observability/event/serialized_writer_test.go index 66a073b6f..52758a643 100644 --- a/internal/observability/event/serialized_writer_test.go +++ b/internal/observability/event/serialized_writer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/signer.go b/internal/observability/event/signer.go index 10162b9e4..ba315523f 100644 --- a/internal/observability/event/signer.go +++ b/internal/observability/event/signer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/sink_config.go b/internal/observability/event/sink_config.go index 5d2ec8bfc..6abaa39dd 100644 --- a/internal/observability/event/sink_config.go +++ b/internal/observability/event/sink_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/sink_config_test.go b/internal/observability/event/sink_config_test.go index 07f399237..d6cc42ea8 100644 --- a/internal/observability/event/sink_config_test.go +++ b/internal/observability/event/sink_config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/sink_format.go b/internal/observability/event/sink_format.go index 3754d9456..3695cec90 100644 --- a/internal/observability/event/sink_format.go +++ b/internal/observability/event/sink_format.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/sink_type.go b/internal/observability/event/sink_type.go index 71782a4e2..2533d7316 100644 --- a/internal/observability/event/sink_type.go +++ b/internal/observability/event/sink_type.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/testing.go b/internal/observability/event/testing.go index 105a05bd9..d18472027 100644 --- a/internal/observability/event/testing.go +++ b/internal/observability/event/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event import ( diff --git a/internal/observability/event/testing_test.go b/internal/observability/event/testing_test.go index cdbed4c8c..7a3da6d73 100644 --- a/internal/observability/event/testing_test.go +++ b/internal/observability/event/testing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package event_test import ( diff --git a/internal/oplog/any_operation.pb.go b/internal/oplog/any_operation.pb.go index 93374eec0..2aec1dfab 100644 --- a/internal/oplog/any_operation.pb.go +++ b/internal/oplog/any_operation.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/internal/oplog/docs.go b/internal/oplog/docs.go index 461cafa4b..490e427de 100644 --- a/internal/oplog/docs.go +++ b/internal/oplog/docs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package oplog is a package for writing operational log (oplog) entries for // the purpose of replication and verification of the data stored in the // Boundary RDBMS. please see README.md in this directory for more information. diff --git a/internal/oplog/immutable_fields_test.go b/internal/oplog/immutable_fields_test.go index 1ce5fce14..a25212ae5 100644 --- a/internal/oplog/immutable_fields_test.go +++ b/internal/oplog/immutable_fields_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oplog import ( diff --git a/internal/oplog/oplog.go b/internal/oplog/oplog.go index 7bd8de1ee..a9fd914a3 100644 --- a/internal/oplog/oplog.go +++ b/internal/oplog/oplog.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oplog import ( diff --git a/internal/oplog/oplog_test.go b/internal/oplog/oplog_test.go index c8213c0e1..bc5e99da6 100644 --- a/internal/oplog/oplog_test.go +++ b/internal/oplog/oplog_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oplog import ( diff --git a/internal/oplog/oplog_test/db.go b/internal/oplog/oplog_test/db.go index 61c59f3b1..3b89ad650 100644 --- a/internal/oplog/oplog_test/db.go +++ b/internal/oplog/oplog_test/db.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package oplog_test provides some gorm helper funcs for testing oplog database integrations package oplog_test diff --git a/internal/oplog/oplog_test/oplog_test.pb.go b/internal/oplog/oplog_test/oplog_test.pb.go index 627ff3468..e9c504d7f 100644 --- a/internal/oplog/oplog_test/oplog_test.pb.go +++ b/internal/oplog/oplog_test/oplog_test.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/internal/oplog/options.go b/internal/oplog/options.go index c8322913c..1e434c0c2 100644 --- a/internal/oplog/options.go +++ b/internal/oplog/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oplog import "github.com/hashicorp/go-dbw" diff --git a/internal/oplog/options_test.go b/internal/oplog/options_test.go index 15a52591e..6590f3fdd 100644 --- a/internal/oplog/options_test.go +++ b/internal/oplog/options_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oplog import ( diff --git a/internal/oplog/queue.go b/internal/oplog/queue.go index b14ebf316..fea8b0142 100644 --- a/internal/oplog/queue.go +++ b/internal/oplog/queue.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oplog import ( diff --git a/internal/oplog/queue_test.go b/internal/oplog/queue_test.go index 3c5b2e599..410924933 100644 --- a/internal/oplog/queue_test.go +++ b/internal/oplog/queue_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oplog import ( diff --git a/internal/oplog/replayable.go b/internal/oplog/replayable.go index 7299a3f0c..9cbac079d 100644 --- a/internal/oplog/replayable.go +++ b/internal/oplog/replayable.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oplog // ReplayableMessage defines an interface for messages that can be replayed from diff --git a/internal/oplog/store/doc.go b/internal/oplog/store/doc.go index a9e647f44..1b521e829 100644 --- a/internal/oplog/store/doc.go +++ b/internal/oplog/store/doc.go @@ -1,2 +1,5 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package store provides storage types/behavior for the oplog package store diff --git a/internal/oplog/store/oplog.pb.go b/internal/oplog/store/oplog.pb.go index ed2ffe1c4..fadd0a717 100644 --- a/internal/oplog/store/oplog.pb.go +++ b/internal/oplog/store/oplog.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/internal/oplog/store/oplog_entry.go b/internal/oplog/store/oplog_entry.go index 96efbc179..37f1ee46d 100644 --- a/internal/oplog/store/oplog_entry.go +++ b/internal/oplog/store/oplog_entry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package store // TableName overrides the gorm database table for the store.Oplog messages diff --git a/internal/oplog/testing.go b/internal/oplog/testing.go index 753e5ae71..0f831e4d6 100644 --- a/internal/oplog/testing.go +++ b/internal/oplog/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oplog import ( diff --git a/internal/oplog/testing_test.go b/internal/oplog/testing_test.go index 5a1f08521..ee000bb9d 100644 --- a/internal/oplog/testing_test.go +++ b/internal/oplog/testing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oplog import ( diff --git a/internal/oplog/ticketer.go b/internal/oplog/ticketer.go index ec5c67086..3ef5e0d5b 100644 --- a/internal/oplog/ticketer.go +++ b/internal/oplog/ticketer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oplog import ( diff --git a/internal/oplog/ticketer_test.go b/internal/oplog/ticketer_test.go index 8b70062bd..ac8b714a1 100644 --- a/internal/oplog/ticketer_test.go +++ b/internal/oplog/ticketer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oplog import ( diff --git a/internal/oplog/type_catalog.go b/internal/oplog/type_catalog.go index 8bbd6b5dd..d3128bf0c 100644 --- a/internal/oplog/type_catalog.go +++ b/internal/oplog/type_catalog.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oplog import ( diff --git a/internal/oplog/type_catalog_test.go b/internal/oplog/type_catalog_test.go index a9d13c253..1585e2156 100644 --- a/internal/oplog/type_catalog_test.go +++ b/internal/oplog/type_catalog_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oplog import ( diff --git a/internal/oplog/writer.go b/internal/oplog/writer.go index bec8efc2e..5a8536d31 100644 --- a/internal/oplog/writer.go +++ b/internal/oplog/writer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oplog import ( diff --git a/internal/oplog/writer_test.go b/internal/oplog/writer_test.go index 23b97eb47..4f1d04d28 100644 --- a/internal/oplog/writer_test.go +++ b/internal/oplog/writer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oplog import ( diff --git a/internal/perms/acl.go b/internal/perms/acl.go index 5e42ad6ac..6a930f88e 100644 --- a/internal/perms/acl.go +++ b/internal/perms/acl.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package perms import ( diff --git a/internal/perms/acl_test.go b/internal/perms/acl_test.go index da7e3f7fc..8f6f8f296 100644 --- a/internal/perms/acl_test.go +++ b/internal/perms/acl_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package perms import ( diff --git a/internal/perms/doc.go b/internal/perms/doc.go index 5f4c59499..65c34755c 100644 --- a/internal/perms/doc.go +++ b/internal/perms/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + /* Package perms provides the boundary permissions engine using grants which are tied to IAM Roles within a Scope. diff --git a/internal/perms/grants.go b/internal/perms/grants.go index 779c20ec4..cd4f6f3b9 100644 --- a/internal/perms/grants.go +++ b/internal/perms/grants.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package perms import ( diff --git a/internal/perms/grants_test.go b/internal/perms/grants_test.go index 5c325770e..3f941c111 100644 --- a/internal/perms/grants_test.go +++ b/internal/perms/grants_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package perms import ( diff --git a/internal/perms/option.go b/internal/perms/option.go index 4aa29574b..3a748b072 100644 --- a/internal/perms/option.go +++ b/internal/perms/option.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package perms // getOpts - iterate the inbound Options and return a struct diff --git a/internal/perms/option_test.go b/internal/perms/option_test.go index 51c02071c..d836012ab 100644 --- a/internal/perms/option_test.go +++ b/internal/perms/option_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package perms import ( diff --git a/internal/perms/output_fields.go b/internal/perms/output_fields.go index e3502360b..49d62fcfd 100644 --- a/internal/perms/output_fields.go +++ b/internal/perms/output_fields.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package perms import ( diff --git a/internal/perms/output_fields_test.go b/internal/perms/output_fields_test.go index c164edf9a..852c36dab 100644 --- a/internal/perms/output_fields_test.go +++ b/internal/perms/output_fields_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package perms import ( diff --git a/internal/plugin/doc.go b/internal/plugin/doc.go index 85e195c9f..9a9395b95 100644 --- a/internal/plugin/doc.go +++ b/internal/plugin/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package plugin contains other packages related to the different plugin // types and any helpers related to working with non type specific plugins. package plugin diff --git a/internal/plugin/host/doc.go b/internal/plugin/host/doc.go index 3ca79e39c..653404f11 100644 --- a/internal/plugin/host/doc.go +++ b/internal/plugin/host/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package host provides a plugin type used to interface with boundary's host // related resources. Additionally it provides a repository for performing // CRUDL and custom operations on this plugin type. diff --git a/internal/plugin/host/ids.go b/internal/plugin/host/ids.go index 5aafccb31..513529aaa 100644 --- a/internal/plugin/host/ids.go +++ b/internal/plugin/host/ids.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host import ( diff --git a/internal/plugin/host/immutable_fields_test.go b/internal/plugin/host/immutable_fields_test.go index ebb2faf3b..f857a10a7 100644 --- a/internal/plugin/host/immutable_fields_test.go +++ b/internal/plugin/host/immutable_fields_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host import ( diff --git a/internal/plugin/host/options.go b/internal/plugin/host/options.go index 4bfbe5d13..ce6ed24f9 100644 --- a/internal/plugin/host/options.go +++ b/internal/plugin/host/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host // GetOpts - iterate the inbound Options and return a struct diff --git a/internal/plugin/host/options_test.go b/internal/plugin/host/options_test.go index 7abe5829d..e7e29c1ee 100644 --- a/internal/plugin/host/options_test.go +++ b/internal/plugin/host/options_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host import ( diff --git a/internal/plugin/host/plugin.go b/internal/plugin/host/plugin.go index fc5ec1c4f..c53933f40 100644 --- a/internal/plugin/host/plugin.go +++ b/internal/plugin/host/plugin.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host import ( diff --git a/internal/plugin/host/plugin_test.go b/internal/plugin/host/plugin_test.go index 1d7af800d..c970a11d6 100644 --- a/internal/plugin/host/plugin_test.go +++ b/internal/plugin/host/plugin_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host import ( diff --git a/internal/plugin/host/repository.go b/internal/plugin/host/repository.go index f07c0bd72..3660a2525 100644 --- a/internal/plugin/host/repository.go +++ b/internal/plugin/host/repository.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host import ( diff --git a/internal/plugin/host/repository_plugin.go b/internal/plugin/host/repository_plugin.go index 29bf28ae9..42fc36be0 100644 --- a/internal/plugin/host/repository_plugin.go +++ b/internal/plugin/host/repository_plugin.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host import ( diff --git a/internal/plugin/host/repository_plugin_test.go b/internal/plugin/host/repository_plugin_test.go index 2ec31fa46..a3ecbb65a 100644 --- a/internal/plugin/host/repository_plugin_test.go +++ b/internal/plugin/host/repository_plugin_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host import ( diff --git a/internal/plugin/host/repository_test.go b/internal/plugin/host/repository_test.go index ba4b57797..6e1ed3117 100644 --- a/internal/plugin/host/repository_test.go +++ b/internal/plugin/host/repository_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host import ( diff --git a/internal/plugin/host/store/plugin.pb.go b/internal/plugin/host/store/plugin.pb.go index 29674eaa2..f0839da91 100644 --- a/internal/plugin/host/store/plugin.pb.go +++ b/internal/plugin/host/store/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/internal/plugin/host/testing.go b/internal/plugin/host/testing.go index 8440b8801..d77b370dd 100644 --- a/internal/plugin/host/testing.go +++ b/internal/plugin/host/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host import ( diff --git a/internal/plugin/host/testing_test.go b/internal/plugin/host/testing_test.go index f72a7f755..5d79c24cc 100644 --- a/internal/plugin/host/testing_test.go +++ b/internal/plugin/host/testing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host import ( diff --git a/internal/plugin/immutable_fields_test.go b/internal/plugin/immutable_fields_test.go index 31a2299fe..e2dcc89a1 100644 --- a/internal/plugin/immutable_fields_test.go +++ b/internal/plugin/immutable_fields_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/plugin/store/plugin.pb.go b/internal/plugin/store/plugin.pb.go index 6fbd528e6..2840b4796 100644 --- a/internal/plugin/store/plugin.pb.go +++ b/internal/plugin/store/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/internal/plugin/testing.go b/internal/plugin/testing.go index 02a93f72f..90802b115 100644 --- a/internal/plugin/testing.go +++ b/internal/plugin/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/plugin/testing_test.go b/internal/plugin/testing_test.go index a047dcc0a..c069f566a 100644 --- a/internal/plugin/testing_test.go +++ b/internal/plugin/testing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugin import ( diff --git a/internal/proto/buf.breaking.json.yaml b/internal/proto/buf.breaking.json.yaml index ce4090a95..aeedb2cdc 100644 --- a/internal/proto/buf.breaking.json.yaml +++ b/internal/proto/buf.breaking.json.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This file defines the breaking change configuration we use for # files for which we require only JSON level compatibility checks, # such as those used to describe the HTTP/JSON API we expose to the CLI, diff --git a/internal/proto/buf.breaking.wire.yaml b/internal/proto/buf.breaking.wire.yaml index 1b567da20..fb9d3a6a2 100644 --- a/internal/proto/buf.breaking.wire.yaml +++ b/internal/proto/buf.breaking.wire.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This file defines the breaking change configuration we use for # files for which we require only WIRE level compatibility checks, # such as those used to describe the gRPC API between worker and controller. diff --git a/internal/proto/buf.yaml b/internal/proto/buf.yaml index 7dbb9f9d2..e74bebf6a 100644 --- a/internal/proto/buf.yaml +++ b/internal/proto/buf.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + version: v1 name: buf.build/hashicorp/boundary deps: diff --git a/internal/proto/controller/api/resources/accounts/v1/account.proto b/internal/proto/controller/api/resources/accounts/v1/account.proto index 2d7037a3b..b454cdabc 100644 --- a/internal/proto/controller/api/resources/accounts/v1/account.proto +++ b/internal/proto/controller/api/resources/accounts/v1/account.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.resources.accounts.v1; diff --git a/internal/proto/controller/api/resources/authmethods/v1/auth_method.proto b/internal/proto/controller/api/resources/authmethods/v1/auth_method.proto index 90705f162..5345e5065 100644 --- a/internal/proto/controller/api/resources/authmethods/v1/auth_method.proto +++ b/internal/proto/controller/api/resources/authmethods/v1/auth_method.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.resources.authmethods.v1; diff --git a/internal/proto/controller/api/resources/authtokens/v1/authtoken.proto b/internal/proto/controller/api/resources/authtokens/v1/authtoken.proto index 468dbdad8..2d4a1bf5c 100644 --- a/internal/proto/controller/api/resources/authtokens/v1/authtoken.proto +++ b/internal/proto/controller/api/resources/authtokens/v1/authtoken.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.resources.authtokens.v1; diff --git a/internal/proto/controller/api/resources/credentiallibraries/v1/credential_library.proto b/internal/proto/controller/api/resources/credentiallibraries/v1/credential_library.proto index fe6fb8826..9b251f86a 100644 --- a/internal/proto/controller/api/resources/credentiallibraries/v1/credential_library.proto +++ b/internal/proto/controller/api/resources/credentiallibraries/v1/credential_library.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.resources.credentiallibraries.v1; diff --git a/internal/proto/controller/api/resources/credentials/v1/credential.proto b/internal/proto/controller/api/resources/credentials/v1/credential.proto index c1563f872..c00c1d8ef 100644 --- a/internal/proto/controller/api/resources/credentials/v1/credential.proto +++ b/internal/proto/controller/api/resources/credentials/v1/credential.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.resources.credentials.v1; diff --git a/internal/proto/controller/api/resources/credentialstores/v1/credential_store.proto b/internal/proto/controller/api/resources/credentialstores/v1/credential_store.proto index 2b16dbc05..eb78fa95a 100644 --- a/internal/proto/controller/api/resources/credentialstores/v1/credential_store.proto +++ b/internal/proto/controller/api/resources/credentialstores/v1/credential_store.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.resources.credentialstores.v1; diff --git a/internal/proto/controller/api/resources/groups/v1/group.proto b/internal/proto/controller/api/resources/groups/v1/group.proto index 779c2c633..7e842c701 100644 --- a/internal/proto/controller/api/resources/groups/v1/group.proto +++ b/internal/proto/controller/api/resources/groups/v1/group.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.resources.groups.v1; diff --git a/internal/proto/controller/api/resources/hostcatalogs/v1/host_catalog.proto b/internal/proto/controller/api/resources/hostcatalogs/v1/host_catalog.proto index 657cb53eb..44d56c259 100644 --- a/internal/proto/controller/api/resources/hostcatalogs/v1/host_catalog.proto +++ b/internal/proto/controller/api/resources/hostcatalogs/v1/host_catalog.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.resources.hostcatalogs.v1; diff --git a/internal/proto/controller/api/resources/hosts/v1/host.proto b/internal/proto/controller/api/resources/hosts/v1/host.proto index 95fa835ef..b64c9356f 100644 --- a/internal/proto/controller/api/resources/hosts/v1/host.proto +++ b/internal/proto/controller/api/resources/hosts/v1/host.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.resources.hosts.v1; diff --git a/internal/proto/controller/api/resources/hostsets/v1/host_set.proto b/internal/proto/controller/api/resources/hostsets/v1/host_set.proto index 1a2e0ace4..cbf3e7240 100644 --- a/internal/proto/controller/api/resources/hostsets/v1/host_set.proto +++ b/internal/proto/controller/api/resources/hostsets/v1/host_set.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.resources.hostsets.v1; diff --git a/internal/proto/controller/api/resources/managedgroups/v1/managed_group.proto b/internal/proto/controller/api/resources/managedgroups/v1/managed_group.proto index d33a6f6db..f67bca0d2 100644 --- a/internal/proto/controller/api/resources/managedgroups/v1/managed_group.proto +++ b/internal/proto/controller/api/resources/managedgroups/v1/managed_group.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.resources.managedgroups.v1; diff --git a/internal/proto/controller/api/resources/plugins/v1/plugin.proto b/internal/proto/controller/api/resources/plugins/v1/plugin.proto index 3f491d98b..f5059e7da 100644 --- a/internal/proto/controller/api/resources/plugins/v1/plugin.proto +++ b/internal/proto/controller/api/resources/plugins/v1/plugin.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.resources.plugins.v1; diff --git a/internal/proto/controller/api/resources/roles/v1/role.proto b/internal/proto/controller/api/resources/roles/v1/role.proto index 12be1ec3e..102ff3724 100644 --- a/internal/proto/controller/api/resources/roles/v1/role.proto +++ b/internal/proto/controller/api/resources/roles/v1/role.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.resources.roles.v1; diff --git a/internal/proto/controller/api/resources/scopes/v1/scope.proto b/internal/proto/controller/api/resources/scopes/v1/scope.proto index a6af99f89..8c2b81267 100644 --- a/internal/proto/controller/api/resources/scopes/v1/scope.proto +++ b/internal/proto/controller/api/resources/scopes/v1/scope.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.resources.scopes.v1; diff --git a/internal/proto/controller/api/resources/sessions/v1/session.proto b/internal/proto/controller/api/resources/sessions/v1/session.proto index e3b693a13..40839e1d5 100644 --- a/internal/proto/controller/api/resources/sessions/v1/session.proto +++ b/internal/proto/controller/api/resources/sessions/v1/session.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.resources.sessions.v1; diff --git a/internal/proto/controller/api/resources/targets/v1/target.proto b/internal/proto/controller/api/resources/targets/v1/target.proto index 9ced1302e..d845e2da2 100644 --- a/internal/proto/controller/api/resources/targets/v1/target.proto +++ b/internal/proto/controller/api/resources/targets/v1/target.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.resources.targets.v1; diff --git a/internal/proto/controller/api/resources/users/v1/user.proto b/internal/proto/controller/api/resources/users/v1/user.proto index 47c0e1cb6..34fdadb96 100644 --- a/internal/proto/controller/api/resources/users/v1/user.proto +++ b/internal/proto/controller/api/resources/users/v1/user.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.resources.users.v1; diff --git a/internal/proto/controller/api/resources/workers/v1/worker.proto b/internal/proto/controller/api/resources/workers/v1/worker.proto index 4ef5e474b..15c8fa04c 100644 --- a/internal/proto/controller/api/resources/workers/v1/worker.proto +++ b/internal/proto/controller/api/resources/workers/v1/worker.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.resources.workers.v1; diff --git a/internal/proto/controller/api/services/v1/account_service.proto b/internal/proto/controller/api/services/v1/account_service.proto index a44bb515f..7bcc26c98 100644 --- a/internal/proto/controller/api/services/v1/account_service.proto +++ b/internal/proto/controller/api/services/v1/account_service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.services.v1; diff --git a/internal/proto/controller/api/services/v1/auth_method_service.proto b/internal/proto/controller/api/services/v1/auth_method_service.proto index c9bbf4b0f..9aa9613f8 100644 --- a/internal/proto/controller/api/services/v1/auth_method_service.proto +++ b/internal/proto/controller/api/services/v1/auth_method_service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.services.v1; diff --git a/internal/proto/controller/api/services/v1/authtokens_service.proto b/internal/proto/controller/api/services/v1/authtokens_service.proto index 68f6d9af8..5326ee494 100644 --- a/internal/proto/controller/api/services/v1/authtokens_service.proto +++ b/internal/proto/controller/api/services/v1/authtokens_service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.services.v1; diff --git a/internal/proto/controller/api/services/v1/credential_library_service.proto b/internal/proto/controller/api/services/v1/credential_library_service.proto index 72e37b567..5a5db1a8a 100644 --- a/internal/proto/controller/api/services/v1/credential_library_service.proto +++ b/internal/proto/controller/api/services/v1/credential_library_service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.services.v1; diff --git a/internal/proto/controller/api/services/v1/credential_service.proto b/internal/proto/controller/api/services/v1/credential_service.proto index f3cc24611..a28961c62 100644 --- a/internal/proto/controller/api/services/v1/credential_service.proto +++ b/internal/proto/controller/api/services/v1/credential_service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.services.v1; diff --git a/internal/proto/controller/api/services/v1/credential_store_service.proto b/internal/proto/controller/api/services/v1/credential_store_service.proto index b31e253a1..9864f0ac6 100644 --- a/internal/proto/controller/api/services/v1/credential_store_service.proto +++ b/internal/proto/controller/api/services/v1/credential_store_service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.services.v1; diff --git a/internal/proto/controller/api/services/v1/group_service.proto b/internal/proto/controller/api/services/v1/group_service.proto index df5ddf01a..51d0e717d 100644 --- a/internal/proto/controller/api/services/v1/group_service.proto +++ b/internal/proto/controller/api/services/v1/group_service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.services.v1; diff --git a/internal/proto/controller/api/services/v1/host_catalog_service.proto b/internal/proto/controller/api/services/v1/host_catalog_service.proto index c34dbd42c..70e351111 100644 --- a/internal/proto/controller/api/services/v1/host_catalog_service.proto +++ b/internal/proto/controller/api/services/v1/host_catalog_service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.services.v1; diff --git a/internal/proto/controller/api/services/v1/host_service.proto b/internal/proto/controller/api/services/v1/host_service.proto index 55bc4dd35..551502368 100644 --- a/internal/proto/controller/api/services/v1/host_service.proto +++ b/internal/proto/controller/api/services/v1/host_service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.services.v1; diff --git a/internal/proto/controller/api/services/v1/host_set_service.proto b/internal/proto/controller/api/services/v1/host_set_service.proto index be93e50e0..813506046 100644 --- a/internal/proto/controller/api/services/v1/host_set_service.proto +++ b/internal/proto/controller/api/services/v1/host_set_service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.services.v1; diff --git a/internal/proto/controller/api/services/v1/managed_group_service.proto b/internal/proto/controller/api/services/v1/managed_group_service.proto index 3a0d4e640..df6f38e99 100644 --- a/internal/proto/controller/api/services/v1/managed_group_service.proto +++ b/internal/proto/controller/api/services/v1/managed_group_service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.services.v1; diff --git a/internal/proto/controller/api/services/v1/role_service.proto b/internal/proto/controller/api/services/v1/role_service.proto index ef8c5a7a6..405528508 100644 --- a/internal/proto/controller/api/services/v1/role_service.proto +++ b/internal/proto/controller/api/services/v1/role_service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.services.v1; diff --git a/internal/proto/controller/api/services/v1/scope_service.proto b/internal/proto/controller/api/services/v1/scope_service.proto index a72d75d3e..d5c255ab3 100644 --- a/internal/proto/controller/api/services/v1/scope_service.proto +++ b/internal/proto/controller/api/services/v1/scope_service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.services.v1; diff --git a/internal/proto/controller/api/services/v1/session_service.proto b/internal/proto/controller/api/services/v1/session_service.proto index e0eeed08b..57ce2ef35 100644 --- a/internal/proto/controller/api/services/v1/session_service.proto +++ b/internal/proto/controller/api/services/v1/session_service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.services.v1; diff --git a/internal/proto/controller/api/services/v1/target_service.proto b/internal/proto/controller/api/services/v1/target_service.proto index 9ac6a6259..1850e0b0d 100644 --- a/internal/proto/controller/api/services/v1/target_service.proto +++ b/internal/proto/controller/api/services/v1/target_service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.services.v1; diff --git a/internal/proto/controller/api/services/v1/user_service.proto b/internal/proto/controller/api/services/v1/user_service.proto index 78608da97..5953f9938 100644 --- a/internal/proto/controller/api/services/v1/user_service.proto +++ b/internal/proto/controller/api/services/v1/user_service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.services.v1; diff --git a/internal/proto/controller/api/services/v1/worker_service.proto b/internal/proto/controller/api/services/v1/worker_service.proto index 7c553c7d5..27f17ec15 100644 --- a/internal/proto/controller/api/services/v1/worker_service.proto +++ b/internal/proto/controller/api/services/v1/worker_service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.services.v1; diff --git a/internal/proto/controller/api/v1/empty_msg.proto b/internal/proto/controller/api/v1/empty_msg.proto index 2be840d52..c1c3fa940 100644 --- a/internal/proto/controller/api/v1/empty_msg.proto +++ b/internal/proto/controller/api/v1/empty_msg.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.v1; diff --git a/internal/proto/controller/api/v1/error.proto b/internal/proto/controller/api/v1/error.proto index 61aaffcab..99805a5a2 100644 --- a/internal/proto/controller/api/v1/error.proto +++ b/internal/proto/controller/api/v1/error.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.api.v1; diff --git a/internal/proto/controller/auth/v1/auth.proto b/internal/proto/controller/auth/v1/auth.proto index 87771d316..6193bca85 100644 --- a/internal/proto/controller/auth/v1/auth.proto +++ b/internal/proto/controller/auth/v1/auth.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.auth.v1; diff --git a/internal/proto/controller/custom_options/v1/options.proto b/internal/proto/controller/custom_options/v1/options.proto index 428be7fb7..a623aac9f 100644 --- a/internal/proto/controller/custom_options/v1/options.proto +++ b/internal/proto/controller/custom_options/v1/options.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.custom_options.v1; diff --git a/internal/proto/controller/custom_options/v1/testing.proto b/internal/proto/controller/custom_options/v1/testing.proto index 379412f23..939d141a4 100644 --- a/internal/proto/controller/custom_options/v1/testing.proto +++ b/internal/proto/controller/custom_options/v1/testing.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.custom_options.v1; diff --git a/internal/proto/controller/servers/services/v1/credential.proto b/internal/proto/controller/servers/services/v1/credential.proto index 7ca4a4358..327704f2e 100644 --- a/internal/proto/controller/servers/services/v1/credential.proto +++ b/internal/proto/controller/servers/services/v1/credential.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.servers.services.v1; diff --git a/internal/proto/controller/servers/services/v1/server_coordination_service.proto b/internal/proto/controller/servers/services/v1/server_coordination_service.proto index f26a6152d..aa565f3bf 100644 --- a/internal/proto/controller/servers/services/v1/server_coordination_service.proto +++ b/internal/proto/controller/servers/services/v1/server_coordination_service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.servers.services.v1; diff --git a/internal/proto/controller/servers/services/v1/session_service.proto b/internal/proto/controller/servers/services/v1/session_service.proto index ff2104fef..616722048 100644 --- a/internal/proto/controller/servers/services/v1/session_service.proto +++ b/internal/proto/controller/servers/services/v1/session_service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.servers.services.v1; diff --git a/internal/proto/controller/servers/v1/servers.proto b/internal/proto/controller/servers/v1/servers.proto index 0ffa55cd5..044760c6e 100644 --- a/internal/proto/controller/servers/v1/servers.proto +++ b/internal/proto/controller/servers/v1/servers.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.servers.v1; diff --git a/internal/proto/controller/storage/auth/oidc/request/v1/request.proto b/internal/proto/controller/storage/auth/oidc/request/v1/request.proto index a765296df..e789442d9 100644 --- a/internal/proto/controller/storage/auth/oidc/request/v1/request.proto +++ b/internal/proto/controller/storage/auth/oidc/request/v1/request.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; // Package store provides protobufs for storing types in the password package. diff --git a/internal/proto/controller/storage/auth/oidc/store/v1/oidc.proto b/internal/proto/controller/storage/auth/oidc/store/v1/oidc.proto index 3d266dc8a..8df1f58f9 100644 --- a/internal/proto/controller/storage/auth/oidc/store/v1/oidc.proto +++ b/internal/proto/controller/storage/auth/oidc/store/v1/oidc.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; // Package store provides protobufs for storing types in the password package. diff --git a/internal/proto/controller/storage/auth/password/store/v1/argon2.proto b/internal/proto/controller/storage/auth/password/store/v1/argon2.proto index 7de43677d..f9a7180a4 100644 --- a/internal/proto/controller/storage/auth/password/store/v1/argon2.proto +++ b/internal/proto/controller/storage/auth/password/store/v1/argon2.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; // Package store provides protobufs for storing types in the password package. diff --git a/internal/proto/controller/storage/auth/password/store/v1/password.proto b/internal/proto/controller/storage/auth/password/store/v1/password.proto index 27725f002..3bd308e9a 100644 --- a/internal/proto/controller/storage/auth/password/store/v1/password.proto +++ b/internal/proto/controller/storage/auth/password/store/v1/password.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; // Package store provides protobufs for storing types in the password package. diff --git a/internal/proto/controller/storage/auth/store/v1/account.proto b/internal/proto/controller/storage/auth/store/v1/account.proto index dbcee0825..f0d0f2a50 100644 --- a/internal/proto/controller/storage/auth/store/v1/account.proto +++ b/internal/proto/controller/storage/auth/store/v1/account.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.auth.store.v1; diff --git a/internal/proto/controller/storage/auth/store/v1/auth_method.proto b/internal/proto/controller/storage/auth/store/v1/auth_method.proto index 7039a921f..6adba022c 100644 --- a/internal/proto/controller/storage/auth/store/v1/auth_method.proto +++ b/internal/proto/controller/storage/auth/store/v1/auth_method.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.auth.store.v1; diff --git a/internal/proto/controller/storage/authtoken/store/v1/authtoken.proto b/internal/proto/controller/storage/authtoken/store/v1/authtoken.proto index 5a950c95a..daad3001a 100644 --- a/internal/proto/controller/storage/authtoken/store/v1/authtoken.proto +++ b/internal/proto/controller/storage/authtoken/store/v1/authtoken.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.authtoken.store.v1; diff --git a/internal/proto/controller/storage/credential/static/store/v1/static.proto b/internal/proto/controller/storage/credential/static/store/v1/static.proto index 9a83c3dac..5bf214fc6 100644 --- a/internal/proto/controller/storage/credential/static/store/v1/static.proto +++ b/internal/proto/controller/storage/credential/static/store/v1/static.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; // Package store provides protobufs for storing types in the static diff --git a/internal/proto/controller/storage/credential/store/v1/credential.proto b/internal/proto/controller/storage/credential/store/v1/credential.proto index 2c3e49914..5e59f7124 100644 --- a/internal/proto/controller/storage/credential/store/v1/credential.proto +++ b/internal/proto/controller/storage/credential/store/v1/credential.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; // Package store provides protobufs for storing types in the credential package. diff --git a/internal/proto/controller/storage/credential/vault/store/v1/vault.proto b/internal/proto/controller/storage/credential/vault/store/v1/vault.proto index 965ffb53d..8365fa202 100644 --- a/internal/proto/controller/storage/credential/vault/store/v1/vault.proto +++ b/internal/proto/controller/storage/credential/vault/store/v1/vault.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; // Package store provides protobufs for storing types in the vault diff --git a/internal/proto/controller/storage/db/db_test/v1/db_test.proto b/internal/proto/controller/storage/db/db_test/v1/db_test.proto index 08541287d..ed5f4968f 100644 --- a/internal/proto/controller/storage/db/db_test/v1/db_test.proto +++ b/internal/proto/controller/storage/db/db_test/v1/db_test.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; // define a test proto package for the internal/db package. These protos diff --git a/internal/proto/controller/storage/host/plugin/store/v1/host.proto b/internal/proto/controller/storage/host/plugin/store/v1/host.proto index 8057f1d51..5ee42809e 100644 --- a/internal/proto/controller/storage/host/plugin/store/v1/host.proto +++ b/internal/proto/controller/storage/host/plugin/store/v1/host.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; // Package store provides protobufs for storing types in the plugin host diff --git a/internal/proto/controller/storage/host/static/store/v1/static.proto b/internal/proto/controller/storage/host/static/store/v1/static.proto index 92040c992..d3cacd7aa 100644 --- a/internal/proto/controller/storage/host/static/store/v1/static.proto +++ b/internal/proto/controller/storage/host/static/store/v1/static.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; // Package store provides protobufs for storing types in the static host diff --git a/internal/proto/controller/storage/host/store/v1/host.proto b/internal/proto/controller/storage/host/store/v1/host.proto index f8a2aabe7..9e1ad8738 100644 --- a/internal/proto/controller/storage/host/store/v1/host.proto +++ b/internal/proto/controller/storage/host/store/v1/host.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; // Package store provides protobufs for storing types in the host package. diff --git a/internal/proto/controller/storage/iam/store/v1/group.proto b/internal/proto/controller/storage/iam/store/v1/group.proto index 95d20e798..f612df4e5 100644 --- a/internal/proto/controller/storage/iam/store/v1/group.proto +++ b/internal/proto/controller/storage/iam/store/v1/group.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.iam.store.v1; diff --git a/internal/proto/controller/storage/iam/store/v1/group_member.proto b/internal/proto/controller/storage/iam/store/v1/group_member.proto index f62d1f801..2f46c707d 100644 --- a/internal/proto/controller/storage/iam/store/v1/group_member.proto +++ b/internal/proto/controller/storage/iam/store/v1/group_member.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.iam.store.v1; diff --git a/internal/proto/controller/storage/iam/store/v1/principal_role.proto b/internal/proto/controller/storage/iam/store/v1/principal_role.proto index 45213c662..01bf24c0c 100644 --- a/internal/proto/controller/storage/iam/store/v1/principal_role.proto +++ b/internal/proto/controller/storage/iam/store/v1/principal_role.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.iam.store.v1; diff --git a/internal/proto/controller/storage/iam/store/v1/role.proto b/internal/proto/controller/storage/iam/store/v1/role.proto index c577ed45b..f572ec262 100644 --- a/internal/proto/controller/storage/iam/store/v1/role.proto +++ b/internal/proto/controller/storage/iam/store/v1/role.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.iam.store.v1; diff --git a/internal/proto/controller/storage/iam/store/v1/role_grant.proto b/internal/proto/controller/storage/iam/store/v1/role_grant.proto index de8f8d2da..2bd155770 100644 --- a/internal/proto/controller/storage/iam/store/v1/role_grant.proto +++ b/internal/proto/controller/storage/iam/store/v1/role_grant.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.iam.store.v1; diff --git a/internal/proto/controller/storage/iam/store/v1/scope.proto b/internal/proto/controller/storage/iam/store/v1/scope.proto index f1a253804..a31a5c555 100644 --- a/internal/proto/controller/storage/iam/store/v1/scope.proto +++ b/internal/proto/controller/storage/iam/store/v1/scope.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.iam.store.v1; diff --git a/internal/proto/controller/storage/iam/store/v1/user.proto b/internal/proto/controller/storage/iam/store/v1/user.proto index 9d0ad13cb..325014429 100644 --- a/internal/proto/controller/storage/iam/store/v1/user.proto +++ b/internal/proto/controller/storage/iam/store/v1/user.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.iam.store.v1; diff --git a/internal/proto/controller/storage/job/store/v1/job.proto b/internal/proto/controller/storage/job/store/v1/job.proto index f5cdb1638..d94a6e481 100644 --- a/internal/proto/controller/storage/job/store/v1/job.proto +++ b/internal/proto/controller/storage/job/store/v1/job.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; // Package store provides protobufs for storing types in the job package. diff --git a/internal/proto/controller/storage/kms/store/v1/audit_key.proto b/internal/proto/controller/storage/kms/store/v1/audit_key.proto index abbc2113e..90cdee2c2 100644 --- a/internal/proto/controller/storage/kms/store/v1/audit_key.proto +++ b/internal/proto/controller/storage/kms/store/v1/audit_key.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.kms.store.v1; diff --git a/internal/proto/controller/storage/kms/store/v1/data_key_version_destruction_job.proto b/internal/proto/controller/storage/kms/store/v1/data_key_version_destruction_job.proto index 0bbbb11c2..9364dfefe 100644 --- a/internal/proto/controller/storage/kms/store/v1/data_key_version_destruction_job.proto +++ b/internal/proto/controller/storage/kms/store/v1/data_key_version_destruction_job.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.kms.store.v1; diff --git a/internal/proto/controller/storage/kms/store/v1/data_key_version_destruction_job_progress.proto b/internal/proto/controller/storage/kms/store/v1/data_key_version_destruction_job_progress.proto index 2cf2a9413..ac0315192 100644 --- a/internal/proto/controller/storage/kms/store/v1/data_key_version_destruction_job_progress.proto +++ b/internal/proto/controller/storage/kms/store/v1/data_key_version_destruction_job_progress.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.kms.store.v1; diff --git a/internal/proto/controller/storage/kms/store/v1/data_key_version_destruction_job_run.proto b/internal/proto/controller/storage/kms/store/v1/data_key_version_destruction_job_run.proto index 4f17a8c0e..4bc706fed 100644 --- a/internal/proto/controller/storage/kms/store/v1/data_key_version_destruction_job_run.proto +++ b/internal/proto/controller/storage/kms/store/v1/data_key_version_destruction_job_run.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.kms.store.v1; diff --git a/internal/proto/controller/storage/kms/store/v1/data_key_version_destruction_job_run_allowed_table_name.proto b/internal/proto/controller/storage/kms/store/v1/data_key_version_destruction_job_run_allowed_table_name.proto index f80f98813..8e3bb5175 100644 --- a/internal/proto/controller/storage/kms/store/v1/data_key_version_destruction_job_run_allowed_table_name.proto +++ b/internal/proto/controller/storage/kms/store/v1/data_key_version_destruction_job_run_allowed_table_name.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.kms.store.v1; diff --git a/internal/proto/controller/storage/kms/store/v1/database_key.proto b/internal/proto/controller/storage/kms/store/v1/database_key.proto index 719df71af..ad1fe31ac 100644 --- a/internal/proto/controller/storage/kms/store/v1/database_key.proto +++ b/internal/proto/controller/storage/kms/store/v1/database_key.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.kms.store.v1; diff --git a/internal/proto/controller/storage/kms/store/v1/oidc_key.proto b/internal/proto/controller/storage/kms/store/v1/oidc_key.proto index 0dabd68ae..3291fafd2 100644 --- a/internal/proto/controller/storage/kms/store/v1/oidc_key.proto +++ b/internal/proto/controller/storage/kms/store/v1/oidc_key.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.kms.store.v1; diff --git a/internal/proto/controller/storage/kms/store/v1/oplog_key.proto b/internal/proto/controller/storage/kms/store/v1/oplog_key.proto index b6f6e1c0b..f2174c353 100644 --- a/internal/proto/controller/storage/kms/store/v1/oplog_key.proto +++ b/internal/proto/controller/storage/kms/store/v1/oplog_key.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.kms.store.v1; diff --git a/internal/proto/controller/storage/kms/store/v1/root_key.proto b/internal/proto/controller/storage/kms/store/v1/root_key.proto index 9eafcf9b0..97ee79049 100644 --- a/internal/proto/controller/storage/kms/store/v1/root_key.proto +++ b/internal/proto/controller/storage/kms/store/v1/root_key.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.kms.store.v1; diff --git a/internal/proto/controller/storage/kms/store/v1/session_key.proto b/internal/proto/controller/storage/kms/store/v1/session_key.proto index 3e72db606..b1a806daa 100644 --- a/internal/proto/controller/storage/kms/store/v1/session_key.proto +++ b/internal/proto/controller/storage/kms/store/v1/session_key.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.kms.store.v1; diff --git a/internal/proto/controller/storage/kms/store/v1/token_key.proto b/internal/proto/controller/storage/kms/store/v1/token_key.proto index 917a9f90f..9b6066728 100644 --- a/internal/proto/controller/storage/kms/store/v1/token_key.proto +++ b/internal/proto/controller/storage/kms/store/v1/token_key.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.kms.store.v1; diff --git a/internal/proto/controller/storage/oplog/store/v1/oplog.proto b/internal/proto/controller/storage/oplog/store/v1/oplog.proto index 349ed1cca..bc64d5bba 100644 --- a/internal/proto/controller/storage/oplog/store/v1/oplog.proto +++ b/internal/proto/controller/storage/oplog/store/v1/oplog.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; // define an oplog package within the boundary controller diff --git a/internal/proto/controller/storage/oplog/test/v1/oplog_test.proto b/internal/proto/controller/storage/oplog/test/v1/oplog_test.proto index d7e189cfe..1b824b7a9 100644 --- a/internal/proto/controller/storage/oplog/test/v1/oplog_test.proto +++ b/internal/proto/controller/storage/oplog/test/v1/oplog_test.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; // define a test proto package diff --git a/internal/proto/controller/storage/oplog/v1/any_operation.proto b/internal/proto/controller/storage/oplog/v1/any_operation.proto index c1194dd77..f2cea04d9 100644 --- a/internal/proto/controller/storage/oplog/v1/any_operation.proto +++ b/internal/proto/controller/storage/oplog/v1/any_operation.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.oplog.v1; diff --git a/internal/proto/controller/storage/plugin/host/store/v1/plugin.proto b/internal/proto/controller/storage/plugin/host/store/v1/plugin.proto index 0df5eeeec..e08c7e808 100644 --- a/internal/proto/controller/storage/plugin/host/store/v1/plugin.proto +++ b/internal/proto/controller/storage/plugin/host/store/v1/plugin.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; // Package store provides protobufs for storing types in the host package. diff --git a/internal/proto/controller/storage/plugin/store/v1/plugin.proto b/internal/proto/controller/storage/plugin/store/v1/plugin.proto index c4ea7ae83..f80d3c461 100644 --- a/internal/proto/controller/storage/plugin/store/v1/plugin.proto +++ b/internal/proto/controller/storage/plugin/store/v1/plugin.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; // Package store provides protobufs for storing types in the host package. diff --git a/internal/proto/controller/storage/servers/store/v1/controller.proto b/internal/proto/controller/storage/servers/store/v1/controller.proto index 07c1cd892..022ca2251 100644 --- a/internal/proto/controller/storage/servers/store/v1/controller.proto +++ b/internal/proto/controller/storage/servers/store/v1/controller.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.servers.store.v1; diff --git a/internal/proto/controller/storage/servers/store/v1/root_certificate.proto b/internal/proto/controller/storage/servers/store/v1/root_certificate.proto index fbdabb879..b02b4577d 100644 --- a/internal/proto/controller/storage/servers/store/v1/root_certificate.proto +++ b/internal/proto/controller/storage/servers/store/v1/root_certificate.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; // Package store provides protobufs for storing types in the pki package. diff --git a/internal/proto/controller/storage/servers/store/v1/worker.proto b/internal/proto/controller/storage/servers/store/v1/worker.proto index c91154438..84599e115 100644 --- a/internal/proto/controller/storage/servers/store/v1/worker.proto +++ b/internal/proto/controller/storage/servers/store/v1/worker.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.servers.store.v1; diff --git a/internal/proto/controller/storage/servers/store/v1/worker_auth.proto b/internal/proto/controller/storage/servers/store/v1/worker_auth.proto index 6cabf647a..4744251a6 100644 --- a/internal/proto/controller/storage/servers/store/v1/worker_auth.proto +++ b/internal/proto/controller/storage/servers/store/v1/worker_auth.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; // Package store provides protobufs for storing types in the pki package. diff --git a/internal/proto/controller/storage/target/store/v1/target.proto b/internal/proto/controller/storage/target/store/v1/target.proto index 4e9f44272..28666ceb8 100644 --- a/internal/proto/controller/storage/target/store/v1/target.proto +++ b/internal/proto/controller/storage/target/store/v1/target.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.target.store.v1; diff --git a/internal/proto/controller/storage/target/targettest/store/v1/target.proto b/internal/proto/controller/storage/target/targettest/store/v1/target.proto index 7cc11ed42..9faf2f3ac 100644 --- a/internal/proto/controller/storage/target/targettest/store/v1/target.proto +++ b/internal/proto/controller/storage/target/targettest/store/v1/target.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.target.targettest.store.v1; diff --git a/internal/proto/controller/storage/target/tcp/store/v1/target.proto b/internal/proto/controller/storage/target/tcp/store/v1/target.proto index 828135891..0640b74b9 100644 --- a/internal/proto/controller/storage/target/tcp/store/v1/target.proto +++ b/internal/proto/controller/storage/target/tcp/store/v1/target.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.target.tcp.store.v1; diff --git a/internal/proto/controller/storage/timestamp/v1/timestamp.proto b/internal/proto/controller/storage/timestamp/v1/timestamp.proto index 2c52124f1..c61e121b2 100644 --- a/internal/proto/controller/storage/timestamp/v1/timestamp.proto +++ b/internal/proto/controller/storage/timestamp/v1/timestamp.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.storage.timestamp.v1; diff --git a/internal/proto/controller/tokens/v1/tokens.proto b/internal/proto/controller/tokens/v1/tokens.proto index 76bf8a3f6..a978f1998 100644 --- a/internal/proto/controller/tokens/v1/tokens.proto +++ b/internal/proto/controller/tokens/v1/tokens.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package controller.tokens.v1; diff --git a/internal/proto/errors/v1/errors.proto b/internal/proto/errors/v1/errors.proto index 17d68b083..5c77ecb16 100644 --- a/internal/proto/errors/v1/errors.proto +++ b/internal/proto/errors/v1/errors.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package errors.v1; diff --git a/internal/proto/ops/services/v1/health_service.proto b/internal/proto/ops/services/v1/health_service.proto index 9db3a1bd2..efca3ba79 100644 --- a/internal/proto/ops/services/v1/health_service.proto +++ b/internal/proto/ops/services/v1/health_service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package ops.services.v1; diff --git a/internal/proto/plugin/v1/host_plugin_service.proto b/internal/proto/plugin/v1/host_plugin_service.proto index dc770b3df..0fd30596e 100644 --- a/internal/proto/plugin/v1/host_plugin_service.proto +++ b/internal/proto/plugin/v1/host_plugin_service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package plugin.v1; diff --git a/internal/proto/testing/attribute/v1/attribute.proto b/internal/proto/testing/attribute/v1/attribute.proto index 32eea3fcc..1584fd5fe 100644 --- a/internal/proto/testing/attribute/v1/attribute.proto +++ b/internal/proto/testing/attribute/v1/attribute.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package testing.attribute.v1; diff --git a/internal/proto/testing/event/v1/event.proto b/internal/proto/testing/event/v1/event.proto index 5db6515df..08901413d 100644 --- a/internal/proto/testing/event/v1/event.proto +++ b/internal/proto/testing/event/v1/event.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package testing.event.v1; diff --git a/internal/proto/testing/interceptor/v1/greeter.proto b/internal/proto/testing/interceptor/v1/greeter.proto index b3717d8c4..8336c4573 100644 --- a/internal/proto/testing/interceptor/v1/greeter.proto +++ b/internal/proto/testing/interceptor/v1/greeter.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package testing.interceptor.v1; diff --git a/internal/proto/testing/options/v1/service.proto b/internal/proto/testing/options/v1/service.proto index 2d9013452..0c8b2cd1d 100644 --- a/internal/proto/testing/options/v1/service.proto +++ b/internal/proto/testing/options/v1/service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package testing.options.v1; diff --git a/internal/proto/worker/health/v1/health_service.proto b/internal/proto/worker/health/v1/health_service.proto index 1d09f27f7..811d920e1 100644 --- a/internal/proto/worker/health/v1/health_service.proto +++ b/internal/proto/worker/health/v1/health_service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package worker.health.v1; diff --git a/internal/proto/worker/proxy/v1/proxy.proto b/internal/proto/worker/proxy/v1/proxy.proto index a980f180d..777963df5 100644 --- a/internal/proto/worker/proxy/v1/proxy.proto +++ b/internal/proto/worker/proxy/v1/proxy.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package worker.proxy.v1; diff --git a/internal/proxy/proxy.pb.go b/internal/proxy/proxy.pb.go index 33dd22497..50564e9be 100644 --- a/internal/proxy/proxy.pb.go +++ b/internal/proxy/proxy.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/internal/requests/options.go b/internal/requests/options.go index 4a81c7fe3..998d68260 100644 --- a/internal/requests/options.go +++ b/internal/requests/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package requests func getOpts(opt ...Option) options { diff --git a/internal/requests/requests.go b/internal/requests/requests.go index b49cc5676..159ad4920 100644 --- a/internal/requests/requests.go +++ b/internal/requests/requests.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package requests import ( diff --git a/internal/requests/requests_test.go b/internal/requests/requests_test.go index 3a200ff31..ac3c63005 100644 --- a/internal/requests/requests_test.go +++ b/internal/requests/requests_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package requests import ( diff --git a/internal/scheduler/additional_verification_test.go b/internal/scheduler/additional_verification_test.go index c48b17dc0..fb1da0b79 100644 --- a/internal/scheduler/additional_verification_test.go +++ b/internal/scheduler/additional_verification_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scheduler import ( diff --git a/internal/scheduler/cleaner/cleaner.go b/internal/scheduler/cleaner/cleaner.go index e8755c09d..023eddb2b 100644 --- a/internal/scheduler/cleaner/cleaner.go +++ b/internal/scheduler/cleaner/cleaner.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cleaner import ( diff --git a/internal/scheduler/cleaner/cleaner_job.go b/internal/scheduler/cleaner/cleaner_job.go index 5825c63cb..af42faea2 100644 --- a/internal/scheduler/cleaner/cleaner_job.go +++ b/internal/scheduler/cleaner/cleaner_job.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cleaner import ( diff --git a/internal/scheduler/cleaner/cleaner_test.go b/internal/scheduler/cleaner/cleaner_test.go index 7602002c7..43fd2f6c0 100644 --- a/internal/scheduler/cleaner/cleaner_test.go +++ b/internal/scheduler/cleaner/cleaner_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cleaner_test import ( diff --git a/internal/scheduler/doc.go b/internal/scheduler/doc.go index 74b14d718..73fcabde6 100644 --- a/internal/scheduler/doc.go +++ b/internal/scheduler/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package scheduler allows callers to register recurring jobs on the controller. The scheduler // will periodically query the repository for registered jobs that should be run. // diff --git a/internal/scheduler/job.go b/internal/scheduler/job.go index 447bcdd9f..88d998db7 100644 --- a/internal/scheduler/job.go +++ b/internal/scheduler/job.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scheduler import ( diff --git a/internal/scheduler/job/additional_verification_test.go b/internal/scheduler/job/additional_verification_test.go index 76e7bf377..703ee3c82 100644 --- a/internal/scheduler/job/additional_verification_test.go +++ b/internal/scheduler/job/additional_verification_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/scheduler/job/doc.go b/internal/scheduler/job/doc.go index f8ebe3875..d7e6b9242 100644 --- a/internal/scheduler/job/doc.go +++ b/internal/scheduler/job/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package job provides a Job and a Run struct suitable for persisting to // the repository. // diff --git a/internal/scheduler/job/immutable_fields_test.go b/internal/scheduler/job/immutable_fields_test.go index 2a9a79fb6..4fdfa2cb6 100644 --- a/internal/scheduler/job/immutable_fields_test.go +++ b/internal/scheduler/job/immutable_fields_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/scheduler/job/job.go b/internal/scheduler/job/job.go index 9709f08bb..ab720104b 100644 --- a/internal/scheduler/job/job.go +++ b/internal/scheduler/job/job.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/scheduler/job/job_test.go b/internal/scheduler/job/job_test.go index b6897850e..b8c21e52c 100644 --- a/internal/scheduler/job/job_test.go +++ b/internal/scheduler/job/job_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/scheduler/job/options.go b/internal/scheduler/job/options.go index 961f15dbd..2648d8053 100644 --- a/internal/scheduler/job/options.go +++ b/internal/scheduler/job/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/scheduler/job/options_test.go b/internal/scheduler/job/options_test.go index b2574db34..e5ef143d7 100644 --- a/internal/scheduler/job/options_test.go +++ b/internal/scheduler/job/options_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/scheduler/job/query.go b/internal/scheduler/job/query.go index 72341844b..c13cf161c 100644 --- a/internal/scheduler/job/query.go +++ b/internal/scheduler/job/query.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job const runJobsQuery = ` diff --git a/internal/scheduler/job/repository.go b/internal/scheduler/job/repository.go index 4e79b9449..268c4f6a1 100644 --- a/internal/scheduler/job/repository.go +++ b/internal/scheduler/job/repository.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/scheduler/job/repository_job.go b/internal/scheduler/job/repository_job.go index 664a272d5..53de2bc25 100644 --- a/internal/scheduler/job/repository_job.go +++ b/internal/scheduler/job/repository_job.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/scheduler/job/repository_job_test.go b/internal/scheduler/job/repository_job_test.go index 1bd6a826d..fb7316a5e 100644 --- a/internal/scheduler/job/repository_job_test.go +++ b/internal/scheduler/job/repository_job_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/scheduler/job/repository_run.go b/internal/scheduler/job/repository_run.go index 2f46f0f5b..e167a4bc5 100644 --- a/internal/scheduler/job/repository_run.go +++ b/internal/scheduler/job/repository_run.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/scheduler/job/repository_run_test.go b/internal/scheduler/job/repository_run_test.go index 669baa8a0..c0e4c5056 100644 --- a/internal/scheduler/job/repository_run_test.go +++ b/internal/scheduler/job/repository_run_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/scheduler/job/repository_test.go b/internal/scheduler/job/repository_test.go index 7cd638dcb..a2cb2cd82 100644 --- a/internal/scheduler/job/repository_test.go +++ b/internal/scheduler/job/repository_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/scheduler/job/run.go b/internal/scheduler/job/run.go index d4ba50224..ae09fb289 100644 --- a/internal/scheduler/job/run.go +++ b/internal/scheduler/job/run.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/scheduler/job/run_test.go b/internal/scheduler/job/run_test.go index 6c28303ff..86521fa8a 100644 --- a/internal/scheduler/job/run_test.go +++ b/internal/scheduler/job/run_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/scheduler/job/status.go b/internal/scheduler/job/status.go index e8004757d..80311571f 100644 --- a/internal/scheduler/job/status.go +++ b/internal/scheduler/job/status.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job type Status string diff --git a/internal/scheduler/job/store/job.pb.go b/internal/scheduler/job/store/job.pb.go index d078b6180..b7e639947 100644 --- a/internal/scheduler/job/store/job.pb.go +++ b/internal/scheduler/job/store/job.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/internal/scheduler/job/testing.go b/internal/scheduler/job/testing.go index 90045b790..1e6cc86f8 100644 --- a/internal/scheduler/job/testing.go +++ b/internal/scheduler/job/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/scheduler/job/testing_test.go b/internal/scheduler/job/testing_test.go index f7ba7f590..90c02d51f 100644 --- a/internal/scheduler/job/testing_test.go +++ b/internal/scheduler/job/testing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/scheduler/options.go b/internal/scheduler/options.go index 6acccef33..90db1fa13 100644 --- a/internal/scheduler/options.go +++ b/internal/scheduler/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scheduler import "time" diff --git a/internal/scheduler/options_test.go b/internal/scheduler/options_test.go index d7dd6f25e..50098ce4a 100644 --- a/internal/scheduler/options_test.go +++ b/internal/scheduler/options_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scheduler import ( diff --git a/internal/scheduler/scheduler.go b/internal/scheduler/scheduler.go index 049f45744..d998b64e9 100644 --- a/internal/scheduler/scheduler.go +++ b/internal/scheduler/scheduler.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scheduler import ( diff --git a/internal/scheduler/scheduler_test.go b/internal/scheduler/scheduler_test.go index 8e4aad478..a125c0c23 100644 --- a/internal/scheduler/scheduler_test.go +++ b/internal/scheduler/scheduler_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scheduler import ( diff --git a/internal/scheduler/testing.go b/internal/scheduler/testing.go index e4067b46e..60d0fbad5 100644 --- a/internal/scheduler/testing.go +++ b/internal/scheduler/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scheduler import ( diff --git a/internal/server/job/jobs.go b/internal/server/job/jobs.go index a171b5475..7576b3c1e 100644 --- a/internal/server/job/jobs.go +++ b/internal/server/job/jobs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package servers import ( diff --git a/internal/server/job/rotate_roots_job.go b/internal/server/job/rotate_roots_job.go index cb623d8a8..5aeeb4460 100644 --- a/internal/server/job/rotate_roots_job.go +++ b/internal/server/job/rotate_roots_job.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package servers import ( diff --git a/internal/server/job/rotate_roots_job_test.go b/internal/server/job/rotate_roots_job_test.go index 5da8ea209..126ba295d 100644 --- a/internal/server/job/rotate_roots_job_test.go +++ b/internal/server/job/rotate_roots_job_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package servers import ( diff --git a/internal/server/options.go b/internal/server/options.go index 2bc67c71b..b497ccb36 100644 --- a/internal/server/options.go +++ b/internal/server/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/options_test.go b/internal/server/options_test.go index d88efecff..b0087ed14 100644 --- a/internal/server/options_test.go +++ b/internal/server/options_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/public_ids.go b/internal/server/public_ids.go index a276c913e..c44b2bb89 100644 --- a/internal/server/public_ids.go +++ b/internal/server/public_ids.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/query.go b/internal/server/query.go index b09b549d5..e0c840d33 100644 --- a/internal/server/query.go +++ b/internal/server/query.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server const ( diff --git a/internal/server/repository.go b/internal/server/repository.go index b22d6daec..4c6c16c68 100644 --- a/internal/server/repository.go +++ b/internal/server/repository.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/repository_controller.go b/internal/server/repository_controller.go index 9f090edb3..093e1bcc3 100644 --- a/internal/server/repository_controller.go +++ b/internal/server/repository_controller.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/repository_controller_test.go b/internal/server/repository_controller_test.go index 0b39c483e..9e0d19445 100644 --- a/internal/server/repository_controller_test.go +++ b/internal/server/repository_controller_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/repository_nonce.go b/internal/server/repository_nonce.go index 0aa88faa3..d0c27ba2d 100644 --- a/internal/server/repository_nonce.go +++ b/internal/server/repository_nonce.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/repository_nonce_test.go b/internal/server/repository_nonce_test.go index 6fc73ae20..91a05b33d 100644 --- a/internal/server/repository_nonce_test.go +++ b/internal/server/repository_nonce_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server_test import ( diff --git a/internal/server/repository_worker.go b/internal/server/repository_worker.go index 5b51d79e0..08efa3618 100644 --- a/internal/server/repository_worker.go +++ b/internal/server/repository_worker.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/repository_worker_test.go b/internal/server/repository_worker_test.go index f68e7b9f1..de92188e8 100644 --- a/internal/server/repository_worker_test.go +++ b/internal/server/repository_worker_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server_test import ( diff --git a/internal/server/repository_workerauth.go b/internal/server/repository_workerauth.go index b7bdb6c33..d655f36b6 100644 --- a/internal/server/repository_workerauth.go +++ b/internal/server/repository_workerauth.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/repository_workerauth_test.go b/internal/server/repository_workerauth_test.go index 61a71431a..98d0cc7b3 100644 --- a/internal/server/repository_workerauth_test.go +++ b/internal/server/repository_workerauth_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/rewrapping.go b/internal/server/rewrapping.go index 41b41f630..358d7cf8b 100644 --- a/internal/server/rewrapping.go +++ b/internal/server/rewrapping.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/rewrapping_test.go b/internal/server/rewrapping_test.go index 2d5c13ace..f09870732 100644 --- a/internal/server/rewrapping_test.go +++ b/internal/server/rewrapping_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/root_certificate.go b/internal/server/root_certificate.go index 416fe7629..bd95f889d 100644 --- a/internal/server/root_certificate.go +++ b/internal/server/root_certificate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/root_info.go b/internal/server/root_info.go index 8eb9398b9..4521e977b 100644 --- a/internal/server/root_info.go +++ b/internal/server/root_info.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server type RootInfo struct { diff --git a/internal/server/service_reinitialize_roots.go b/internal/server/service_reinitialize_roots.go index e65b5e5cc..0bc7c7f4e 100644 --- a/internal/server/service_reinitialize_roots.go +++ b/internal/server/service_reinitialize_roots.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/service_reinitialize_roots_test.go b/internal/server/service_reinitialize_roots_test.go index 1f892ba11..e77b0c25f 100644 --- a/internal/server/service_reinitialize_roots_test.go +++ b/internal/server/service_reinitialize_roots_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/service_rotate_roots.go b/internal/server/service_rotate_roots.go index 383b8852a..2e7c65c92 100644 --- a/internal/server/service_rotate_roots.go +++ b/internal/server/service_rotate_roots.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/service_rotate_roots_test.go b/internal/server/service_rotate_roots_test.go index d42267de7..9fff7718e 100644 --- a/internal/server/service_rotate_roots_test.go +++ b/internal/server/service_rotate_roots_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/state.go b/internal/server/state.go index e144aefa5..0d9600444 100644 --- a/internal/server/state.go +++ b/internal/server/state.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server // CertificateState defines the possible states for a workerauth certificate diff --git a/internal/server/store/controller.pb.go b/internal/server/store/controller.pb.go index c3c6132c2..787acf66a 100644 --- a/internal/server/store/controller.pb.go +++ b/internal/server/store/controller.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/internal/server/store/gorm.go b/internal/server/store/gorm.go index 50b72d439..4fc166576 100644 --- a/internal/server/store/gorm.go +++ b/internal/server/store/gorm.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package store // TableName overrides the table name used by Controller to `server_controller` diff --git a/internal/server/store/root_certificate.pb.go b/internal/server/store/root_certificate.pb.go index 638c25156..ed0826563 100644 --- a/internal/server/store/root_certificate.pb.go +++ b/internal/server/store/root_certificate.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/internal/server/store/worker.pb.go b/internal/server/store/worker.pb.go index b3b0eeeb8..9bd59b49f 100644 --- a/internal/server/store/worker.pb.go +++ b/internal/server/store/worker.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/internal/server/store/worker_auth.pb.go b/internal/server/store/worker_auth.pb.go index 5c6f489fb..2f35f17b7 100644 --- a/internal/server/store/worker_auth.pb.go +++ b/internal/server/store/worker_auth.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/internal/server/testing.go b/internal/server/testing.go index f6215a0e0..4eb147c8e 100644 --- a/internal/server/testing.go +++ b/internal/server/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/testing_test.go b/internal/server/testing_test.go index 8f4d9347e..15d219ddb 100644 --- a/internal/server/testing_test.go +++ b/internal/server/testing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/worker.go b/internal/server/worker.go index ff961fa8c..1612cfa11 100644 --- a/internal/server/worker.go +++ b/internal/server/worker.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/worker_auth.go b/internal/server/worker_auth.go index cb39f43a2..5efdffa71 100644 --- a/internal/server/worker_auth.go +++ b/internal/server/worker_auth.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/worker_auth_server_led_activation_token.go b/internal/server/worker_auth_server_led_activation_token.go index 0f5d20607..cff2285b2 100644 --- a/internal/server/worker_auth_server_led_activation_token.go +++ b/internal/server/worker_auth_server_led_activation_token.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/worker_auth_server_led_activation_token_test.go b/internal/server/worker_auth_server_led_activation_token_test.go index ef035047e..4fb7a79af 100644 --- a/internal/server/worker_auth_server_led_activation_token_test.go +++ b/internal/server/worker_auth_server_led_activation_token_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/worker_tag.go b/internal/server/worker_tag.go index 17e61db91..113cf8858 100644 --- a/internal/server/worker_tag.go +++ b/internal/server/worker_tag.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server // A Tag is a custom key/value pair which can be attached to a Worker. diff --git a/internal/server/worker_tags_test.go b/internal/server/worker_tags_test.go index 564d6b1c4..e78d08de6 100644 --- a/internal/server/worker_tags_test.go +++ b/internal/server/worker_tags_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/worker_test.go b/internal/server/worker_test.go index a88730898..fb389d32c 100644 --- a/internal/server/worker_test.go +++ b/internal/server/worker_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/server/workerauth_store_test.go b/internal/server/workerauth_store_test.go index 78b2cc542..2b3d31886 100644 --- a/internal/server/workerauth_store_test.go +++ b/internal/server/workerauth_store_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/internal/session/connection.go b/internal/session/connection.go index d711b6b85..457fbdf1f 100644 --- a/internal/session/connection.go +++ b/internal/session/connection.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/connection_closed_reason.go b/internal/session/connection_closed_reason.go index 7c48b4218..32950de25 100644 --- a/internal/session/connection_closed_reason.go +++ b/internal/session/connection_closed_reason.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/connection_closed_with.go b/internal/session/connection_closed_with.go index b4b071e7d..029e8e75b 100644 --- a/internal/session/connection_closed_with.go +++ b/internal/session/connection_closed_with.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/connection_closed_with_test.go b/internal/session/connection_closed_with_test.go index 3acdabb45..05897d43f 100644 --- a/internal/session/connection_closed_with_test.go +++ b/internal/session/connection_closed_with_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/connection_state.go b/internal/session/connection_state.go index 33cc5de54..1a86e02f6 100644 --- a/internal/session/connection_state.go +++ b/internal/session/connection_state.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/connection_state_test.go b/internal/session/connection_state_test.go index 3eb676142..7b37ed18a 100644 --- a/internal/session/connection_state_test.go +++ b/internal/session/connection_state_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/connection_test.go b/internal/session/connection_test.go index f4acf44ce..832ac39e2 100644 --- a/internal/session/connection_test.go +++ b/internal/session/connection_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/credential.go b/internal/session/credential.go index b7d7f6e26..57f3f8023 100644 --- a/internal/session/credential.go +++ b/internal/session/credential.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/dynamic_credential.go b/internal/session/dynamic_credential.go index 1a66110d3..3dd306b4d 100644 --- a/internal/session/dynamic_credential.go +++ b/internal/session/dynamic_credential.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/ids.go b/internal/session/ids.go index 11de8fff6..d3c5c055f 100644 --- a/internal/session/ids.go +++ b/internal/session/ids.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/ids_test.go b/internal/session/ids_test.go index 0c49fc312..0b9cc265e 100644 --- a/internal/session/ids_test.go +++ b/internal/session/ids_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/immutable_fields_test.go b/internal/session/immutable_fields_test.go index 3d9fbfd48..5974e7015 100644 --- a/internal/session/immutable_fields_test.go +++ b/internal/session/immutable_fields_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/job_delete_terminated_sessions.go b/internal/session/job_delete_terminated_sessions.go index 4318a9e12..87a9c229a 100644 --- a/internal/session/job_delete_terminated_sessions.go +++ b/internal/session/job_delete_terminated_sessions.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/job_delete_terminated_sessions_test.go b/internal/session/job_delete_terminated_sessions_test.go index ae4835ab0..eef799f70 100644 --- a/internal/session/job_delete_terminated_sessions_test.go +++ b/internal/session/job_delete_terminated_sessions_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/job_session_cleanup.go b/internal/session/job_session_cleanup.go index 4132f7c3d..a37cc5d29 100644 --- a/internal/session/job_session_cleanup.go +++ b/internal/session/job_session_cleanup.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/job_session_cleanup_test.go b/internal/session/job_session_cleanup_test.go index 5f64ead79..5027d1f01 100644 --- a/internal/session/job_session_cleanup_test.go +++ b/internal/session/job_session_cleanup_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/jobs.go b/internal/session/jobs.go index d0fc6dc5e..a8b37ce09 100644 --- a/internal/session/jobs.go +++ b/internal/session/jobs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/options.go b/internal/session/options.go index f2ed301f5..71c91bbf3 100644 --- a/internal/session/options.go +++ b/internal/session/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/options_test.go b/internal/session/options_test.go index 5c3b56cbc..87288b9f0 100644 --- a/internal/session/options_test.go +++ b/internal/session/options_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/query.go b/internal/session/query.go index 1b5d219ff..695601267 100644 --- a/internal/session/query.go +++ b/internal/session/query.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/repository.go b/internal/session/repository.go index 3800d031d..ce11e6e5c 100644 --- a/internal/session/repository.go +++ b/internal/session/repository.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/repository_connection.go b/internal/session/repository_connection.go index 438febbb1..474989fc1 100644 --- a/internal/session/repository_connection.go +++ b/internal/session/repository_connection.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/repository_connection_test.go b/internal/session/repository_connection_test.go index 044a5426c..3321987ee 100644 --- a/internal/session/repository_connection_test.go +++ b/internal/session/repository_connection_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/repository_credential.go b/internal/session/repository_credential.go index d4296acfb..68cc8d089 100644 --- a/internal/session/repository_credential.go +++ b/internal/session/repository_credential.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/repository_credential_test.go b/internal/session/repository_credential_test.go index c9829eb47..351282b49 100644 --- a/internal/session/repository_credential_test.go +++ b/internal/session/repository_credential_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/repository_session.go b/internal/session/repository_session.go index 23ccf1205..97010ddff 100644 --- a/internal/session/repository_session.go +++ b/internal/session/repository_session.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/repository_session_test.go b/internal/session/repository_session_test.go index 0524d5540..98eada54b 100644 --- a/internal/session/repository_session_test.go +++ b/internal/session/repository_session_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/repository_test.go b/internal/session/repository_test.go index 73ef34cf6..cb37cbd76 100644 --- a/internal/session/repository_test.go +++ b/internal/session/repository_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/rewrapping.go b/internal/session/rewrapping.go index 1e4b0e58a..33c889da7 100644 --- a/internal/session/rewrapping.go +++ b/internal/session/rewrapping.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/rewrapping_test.go b/internal/session/rewrapping_test.go index 53aa9f4a7..71c800811 100644 --- a/internal/session/rewrapping_test.go +++ b/internal/session/rewrapping_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/service_authorize_connection.go b/internal/session/service_authorize_connection.go index 3d491535b..284514743 100644 --- a/internal/session/service_authorize_connection.go +++ b/internal/session/service_authorize_connection.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/service_authorize_connection_test.go b/internal/session/service_authorize_connection_test.go index 3e6df2937..6d09a607a 100644 --- a/internal/session/service_authorize_connection_test.go +++ b/internal/session/service_authorize_connection_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/service_close_connections.go b/internal/session/service_close_connections.go index 3efedf998..8e5d95287 100644 --- a/internal/session/service_close_connections.go +++ b/internal/session/service_close_connections.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/service_close_connections_test.go b/internal/session/service_close_connections_test.go index cff2a8577..1a7c2cc1f 100644 --- a/internal/session/service_close_connections_test.go +++ b/internal/session/service_close_connections_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/service_worker_status_report.go b/internal/session/service_worker_status_report.go index 265e13939..baec5aebb 100644 --- a/internal/session/service_worker_status_report.go +++ b/internal/session/service_worker_status_report.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/service_worker_status_report_test.go b/internal/session/service_worker_status_report_test.go index e93822cc5..7956cb6a1 100644 --- a/internal/session/service_worker_status_report_test.go +++ b/internal/session/service_worker_status_report_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session_test import ( diff --git a/internal/session/session.go b/internal/session/session.go index 25de9bf82..e7dd4de21 100644 --- a/internal/session/session.go +++ b/internal/session/session.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/session_connect_with.go b/internal/session/session_connect_with.go index 4ee655330..c76239dba 100644 --- a/internal/session/session_connect_with.go +++ b/internal/session/session_connect_with.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/session_connect_with_test.go b/internal/session/session_connect_with_test.go index da7f4f907..b1db9bd43 100644 --- a/internal/session/session_connect_with_test.go +++ b/internal/session/session_connect_with_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/session_host_set_host.go b/internal/session/session_host_set_host.go index 3f82d9e2e..2f692907f 100644 --- a/internal/session/session_host_set_host.go +++ b/internal/session/session_host_set_host.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import "github.com/hashicorp/boundary/internal/errors" diff --git a/internal/session/session_target_address.go b/internal/session/session_target_address.go index 83e290ce1..028e58c52 100644 --- a/internal/session/session_target_address.go +++ b/internal/session/session_target_address.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import "github.com/hashicorp/boundary/internal/errors" diff --git a/internal/session/session_test.go b/internal/session/session_test.go index 1f650e9da..c850de82c 100644 --- a/internal/session/session_test.go +++ b/internal/session/session_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/state.go b/internal/session/state.go index ece9d7b94..43226dcd1 100644 --- a/internal/session/state.go +++ b/internal/session/state.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/state_test.go b/internal/session/state_test.go index e11e3897e..f8fd6366b 100644 --- a/internal/session/state_test.go +++ b/internal/session/state_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/static_credential.go b/internal/session/static_credential.go index 4cae6a1f7..c0237d73d 100644 --- a/internal/session/static_credential.go +++ b/internal/session/static_credential.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/term_reason.go b/internal/session/term_reason.go index 267bee95b..b9ed68430 100644 --- a/internal/session/term_reason.go +++ b/internal/session/term_reason.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/testing.go b/internal/session/testing.go index 8bb486176..6ad94b1f7 100644 --- a/internal/session/testing.go +++ b/internal/session/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/testing_test.go b/internal/session/testing_test.go index 262d7cc5f..20c24c66f 100644 --- a/internal/session/testing_test.go +++ b/internal/session/testing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/util.go b/internal/session/util.go index 6f3fd7842..25ae79f79 100644 --- a/internal/session/util.go +++ b/internal/session/util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/session/util_test.go b/internal/session/util_test.go index f3ae35493..64264517e 100644 --- a/internal/session/util_test.go +++ b/internal/session/util_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/target/address.go b/internal/target/address.go index 304099b47..a4d004eef 100644 --- a/internal/target/address.go +++ b/internal/target/address.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package target import ( diff --git a/internal/target/address_test.go b/internal/target/address_test.go index 25bfbeb89..352d0d8ae 100644 --- a/internal/target/address_test.go +++ b/internal/target/address_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package target_test import ( diff --git a/internal/target/credential.go b/internal/target/credential.go index 078e8aeae..0b257b749 100644 --- a/internal/target/credential.go +++ b/internal/target/credential.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package target import ( diff --git a/internal/target/credential_library.go b/internal/target/credential_library.go index 102ec7963..da300b748 100644 --- a/internal/target/credential_library.go +++ b/internal/target/credential_library.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package target import ( diff --git a/internal/target/credential_library_test.go b/internal/target/credential_library_test.go index 84374fa0d..61e848f35 100644 --- a/internal/target/credential_library_test.go +++ b/internal/target/credential_library_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package target_test import ( diff --git a/internal/target/credential_source.go b/internal/target/credential_source.go index 6b2faf208..075c879ae 100644 --- a/internal/target/credential_source.go +++ b/internal/target/credential_source.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package target import ( diff --git a/internal/target/credential_test.go b/internal/target/credential_test.go index a7409154d..a2c2de982 100644 --- a/internal/target/credential_test.go +++ b/internal/target/credential_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package target_test import ( diff --git a/internal/target/exports_test.go b/internal/target/exports_test.go index cada8aa31..9a465ee56 100644 --- a/internal/target/exports_test.go +++ b/internal/target/exports_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package target // Expose functions for use in tests. diff --git a/internal/target/host_set.go b/internal/target/host_set.go index a728f5c89..8ab28634e 100644 --- a/internal/target/host_set.go +++ b/internal/target/host_set.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package target import ( diff --git a/internal/target/host_source.go b/internal/target/host_source.go index 8099c4f23..495133860 100644 --- a/internal/target/host_source.go +++ b/internal/target/host_source.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package target // HostSource is an interface that can be implemented by both a set and a diff --git a/internal/target/options.go b/internal/target/options.go index 5eabe1a4f..4d4c08d75 100644 --- a/internal/target/options.go +++ b/internal/target/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package target import ( diff --git a/internal/target/options_test.go b/internal/target/options_test.go index 394667ccb..ddfef0fb4 100644 --- a/internal/target/options_test.go +++ b/internal/target/options_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package target import ( diff --git a/internal/target/query.go b/internal/target/query.go index c1e5b47e0..ca29ea68e 100644 --- a/internal/target/query.go +++ b/internal/target/query.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package target const ( diff --git a/internal/target/registry.go b/internal/target/registry.go index ef4a40a2f..69aca4f5e 100644 --- a/internal/target/registry.go +++ b/internal/target/registry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package target import ( diff --git a/internal/target/repository.go b/internal/target/repository.go index c1b42d970..cd83ed8c8 100644 --- a/internal/target/repository.go +++ b/internal/target/repository.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package target import ( diff --git a/internal/target/repository_address.go b/internal/target/repository_address.go index 85f2cadbf..a6e078ea7 100644 --- a/internal/target/repository_address.go +++ b/internal/target/repository_address.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package target import ( diff --git a/internal/target/repository_credential_source.go b/internal/target/repository_credential_source.go index 8331b7738..c9b3e7a03 100644 --- a/internal/target/repository_credential_source.go +++ b/internal/target/repository_credential_source.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package target import ( diff --git a/internal/target/repository_credential_source_test.go b/internal/target/repository_credential_source_test.go index 2f4f950e0..078f12c90 100644 --- a/internal/target/repository_credential_source_test.go +++ b/internal/target/repository_credential_source_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package target_test import ( diff --git a/internal/target/repository_host_source.go b/internal/target/repository_host_source.go index 56d600cd1..9ac89d3ea 100644 --- a/internal/target/repository_host_source.go +++ b/internal/target/repository_host_source.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package target import ( diff --git a/internal/target/repository_test.go b/internal/target/repository_test.go index 04a70d33b..0900ec25c 100644 --- a/internal/target/repository_test.go +++ b/internal/target/repository_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package target import ( diff --git a/internal/target/store/target.pb.go b/internal/target/store/target.pb.go index 56fda3e02..e3c6dcf63 100644 --- a/internal/target/store/target.pb.go +++ b/internal/target/store/target.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/internal/target/target.go b/internal/target/target.go index 50ac8550e..7607e6dc4 100644 --- a/internal/target/target.go +++ b/internal/target/target.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package target import ( diff --git a/internal/target/target_test.go b/internal/target/target_test.go index a5366905d..e55c86969 100644 --- a/internal/target/target_test.go +++ b/internal/target/target_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package target_test import ( diff --git a/internal/target/targettest/store/target.pb.go b/internal/target/targettest/store/target.pb.go index bf352a6e7..ec27d532f 100644 --- a/internal/target/targettest/store/target.pb.go +++ b/internal/target/targettest/store/target.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/internal/target/targettest/target.go b/internal/target/targettest/target.go index 160f4a268..a8377d8f6 100644 --- a/internal/target/targettest/target.go +++ b/internal/target/targettest/target.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package targettest provides a test target subtype for use by the target // package. Note that it leverages the tcp.Target's database table to avoid // needing schema migrations just for tests. diff --git a/internal/target/tcp/exports_test.go b/internal/target/tcp/exports_test.go index 08b8ac5aa..6d70ecada 100644 --- a/internal/target/tcp/exports_test.go +++ b/internal/target/tcp/exports_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tcp import ( diff --git a/internal/target/tcp/immutable_fields_test.go b/internal/target/tcp/immutable_fields_test.go index a9f8dcd5b..0c6f6b04d 100644 --- a/internal/target/tcp/immutable_fields_test.go +++ b/internal/target/tcp/immutable_fields_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tcp_test import ( diff --git a/internal/target/tcp/register.go b/internal/target/tcp/register.go index febf7aa3f..661634634 100644 --- a/internal/target/tcp/register.go +++ b/internal/target/tcp/register.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tcp import ( diff --git a/internal/target/tcp/repository_credential_source_test.go b/internal/target/tcp/repository_credential_source_test.go index 65fe022c2..58f34cd73 100644 --- a/internal/target/tcp/repository_credential_source_test.go +++ b/internal/target/tcp/repository_credential_source_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tcp_test import ( diff --git a/internal/target/tcp/repository_host_source_test.go b/internal/target/tcp/repository_host_source_test.go index d85fecfd6..5bff43ef5 100644 --- a/internal/target/tcp/repository_host_source_test.go +++ b/internal/target/tcp/repository_host_source_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tcp_test import ( diff --git a/internal/target/tcp/repository_tcp_target_test.go b/internal/target/tcp/repository_tcp_target_test.go index 9116dd5ad..f5241d6d3 100644 --- a/internal/target/tcp/repository_tcp_target_test.go +++ b/internal/target/tcp/repository_tcp_target_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tcp_test import ( diff --git a/internal/target/tcp/repository_test.go b/internal/target/tcp/repository_test.go index 5df9d664b..d0d865cf6 100644 --- a/internal/target/tcp/repository_test.go +++ b/internal/target/tcp/repository_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tcp_test import ( diff --git a/internal/target/tcp/store/target.pb.go b/internal/target/tcp/store/target.pb.go index 570fd8ae5..91ca560b7 100644 --- a/internal/target/tcp/store/target.pb.go +++ b/internal/target/tcp/store/target.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/internal/target/tcp/target.go b/internal/target/tcp/target.go index b75d032ff..6b62d762a 100644 --- a/internal/target/tcp/target.go +++ b/internal/target/tcp/target.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package tcp provides a Target subtype for a TCP Target. // Importing this package will register it with the target package and // allow the target.Repository to support tcp.Targets. diff --git a/internal/target/tcp/target_test.go b/internal/target/tcp/target_test.go index 160d08dc4..e2a9a1e57 100644 --- a/internal/target/tcp/target_test.go +++ b/internal/target/tcp/target_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tcp_test import ( diff --git a/internal/target/tcp/testing.go b/internal/target/tcp/testing.go index c7c527b11..2c18916ff 100644 --- a/internal/target/tcp/testing.go +++ b/internal/target/tcp/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tcp import ( diff --git a/internal/target/tcp/testing_test.go b/internal/target/tcp/testing_test.go index 785135ac2..0c4b89451 100644 --- a/internal/target/tcp/testing_test.go +++ b/internal/target/tcp/testing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tcp_test import ( diff --git a/internal/target/testing.go b/internal/target/testing.go index 413f9e915..977da2a96 100644 --- a/internal/target/testing.go +++ b/internal/target/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package target import ( diff --git a/internal/tests/api/accounts/account_test.go b/internal/tests/api/accounts/account_test.go index 8589a812c..ad4596249 100644 --- a/internal/tests/api/accounts/account_test.go +++ b/internal/tests/api/accounts/account_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package accounts_test import ( diff --git a/internal/tests/api/authmethods/authenticate_test.go b/internal/tests/api/authmethods/authenticate_test.go index c36e7ed93..bbe8fea49 100644 --- a/internal/tests/api/authmethods/authenticate_test.go +++ b/internal/tests/api/authmethods/authenticate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethods_test import ( diff --git a/internal/tests/api/authmethods/authmethod_test.go b/internal/tests/api/authmethods/authmethod_test.go index 7d489422f..8e938f23a 100644 --- a/internal/tests/api/authmethods/authmethod_test.go +++ b/internal/tests/api/authmethods/authmethod_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethods_test import ( diff --git a/internal/tests/api/authmethods/classification_test.go b/internal/tests/api/authmethods/classification_test.go index ac2b4d966..30d67f71f 100644 --- a/internal/tests/api/authmethods/classification_test.go +++ b/internal/tests/api/authmethods/classification_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethods_test import ( diff --git a/internal/tests/api/authmethods/service_classification_test.go b/internal/tests/api/authmethods/service_classification_test.go index 1a1aab702..2a0fd45c9 100644 --- a/internal/tests/api/authmethods/service_classification_test.go +++ b/internal/tests/api/authmethods/service_classification_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethods_test import ( diff --git a/internal/tests/api/authtokens/authtoken_test.go b/internal/tests/api/authtokens/authtoken_test.go index 8426a0c1b..9e7692e9d 100644 --- a/internal/tests/api/authtokens/authtoken_test.go +++ b/internal/tests/api/authtokens/authtoken_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authtokens_test import ( diff --git a/internal/tests/api/authtokens/classification_test.go b/internal/tests/api/authtokens/classification_test.go index 39f52a51c..d0144e615 100644 --- a/internal/tests/api/authtokens/classification_test.go +++ b/internal/tests/api/authtokens/classification_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authtokens_test import ( diff --git a/internal/tests/api/credentiallibraries/credentiallibrary_classification_test.go b/internal/tests/api/credentiallibraries/credentiallibrary_classification_test.go index 13556c29d..574af3ed2 100644 --- a/internal/tests/api/credentiallibraries/credentiallibrary_classification_test.go +++ b/internal/tests/api/credentiallibraries/credentiallibrary_classification_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentiallibraries_test import ( diff --git a/internal/tests/api/credentiallibraries/credentiallibrary_test.go b/internal/tests/api/credentiallibraries/credentiallibrary_test.go index 60a5684df..95b59dac9 100644 --- a/internal/tests/api/credentiallibraries/credentiallibrary_test.go +++ b/internal/tests/api/credentiallibraries/credentiallibrary_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentiallibraries_test import ( diff --git a/internal/tests/api/credentials/credentials_classification_test.go b/internal/tests/api/credentials/credentials_classification_test.go index ea981df7a..752e466ef 100644 --- a/internal/tests/api/credentials/credentials_classification_test.go +++ b/internal/tests/api/credentials/credentials_classification_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentials_test import ( diff --git a/internal/tests/api/credentials/credentials_test.go b/internal/tests/api/credentials/credentials_test.go index 09d122863..7f5015204 100644 --- a/internal/tests/api/credentials/credentials_test.go +++ b/internal/tests/api/credentials/credentials_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentials_test import ( diff --git a/internal/tests/api/credentialstores/credentialstore_test.go b/internal/tests/api/credentialstores/credentialstore_test.go index 300bfe329..c5e85bdd8 100644 --- a/internal/tests/api/credentialstores/credentialstore_test.go +++ b/internal/tests/api/credentialstores/credentialstore_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialstores_test import ( diff --git a/internal/tests/api/credentialstores/credentialstores_classification_test.go b/internal/tests/api/credentialstores/credentialstores_classification_test.go index 19d490f29..2f0060ca0 100644 --- a/internal/tests/api/credentialstores/credentialstores_classification_test.go +++ b/internal/tests/api/credentialstores/credentialstores_classification_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialstores_test import ( diff --git a/internal/tests/api/groups/classification_test.go b/internal/tests/api/groups/classification_test.go index f705f0bb8..9148f675e 100644 --- a/internal/tests/api/groups/classification_test.go +++ b/internal/tests/api/groups/classification_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package groups_test import ( diff --git a/internal/tests/api/groups/group_test.go b/internal/tests/api/groups/group_test.go index 28bf6a880..89937d269 100644 --- a/internal/tests/api/groups/group_test.go +++ b/internal/tests/api/groups/group_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package groups_test import ( diff --git a/internal/tests/api/hostcatalogs/classification_test.go b/internal/tests/api/hostcatalogs/classification_test.go index b4986557e..2a047ba49 100644 --- a/internal/tests/api/hostcatalogs/classification_test.go +++ b/internal/tests/api/hostcatalogs/classification_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostcatalogs_test import ( diff --git a/internal/tests/api/hostcatalogs/host_catalog_test.go b/internal/tests/api/hostcatalogs/host_catalog_test.go index 81a30cf92..d18083b3e 100644 --- a/internal/tests/api/hostcatalogs/host_catalog_test.go +++ b/internal/tests/api/hostcatalogs/host_catalog_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostcatalogs_test import ( diff --git a/internal/tests/api/hosts/classification_test.go b/internal/tests/api/hosts/classification_test.go index 66fd25215..f0156e42b 100644 --- a/internal/tests/api/hosts/classification_test.go +++ b/internal/tests/api/hosts/classification_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hosts_test import ( diff --git a/internal/tests/api/hosts/host_test.go b/internal/tests/api/hosts/host_test.go index 7f683b958..b27f131d1 100644 --- a/internal/tests/api/hosts/host_test.go +++ b/internal/tests/api/hosts/host_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hosts_test import ( diff --git a/internal/tests/api/hostsets/classification_test.go b/internal/tests/api/hostsets/classification_test.go index 5817eb7b7..d6fa870a9 100644 --- a/internal/tests/api/hostsets/classification_test.go +++ b/internal/tests/api/hostsets/classification_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostsets_test import ( diff --git a/internal/tests/api/hostsets/host_set_test.go b/internal/tests/api/hostsets/host_set_test.go index 91cbf88c1..cd2681cb1 100644 --- a/internal/tests/api/hostsets/host_set_test.go +++ b/internal/tests/api/hostsets/host_set_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostsets_test import ( diff --git a/internal/tests/api/managedgroups/classification_test.go b/internal/tests/api/managedgroups/classification_test.go index ff9a624a1..4c90d2097 100644 --- a/internal/tests/api/managedgroups/classification_test.go +++ b/internal/tests/api/managedgroups/classification_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package managedgroups_test import ( diff --git a/internal/tests/api/managedgroups/managedgroups_test.go b/internal/tests/api/managedgroups/managedgroups_test.go index 07300e1fa..16a3ab2ae 100644 --- a/internal/tests/api/managedgroups/managedgroups_test.go +++ b/internal/tests/api/managedgroups/managedgroups_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package managedgroups_test import ( diff --git a/internal/tests/api/roles/classification_test.go b/internal/tests/api/roles/classification_test.go index 4605da27b..544016f23 100644 --- a/internal/tests/api/roles/classification_test.go +++ b/internal/tests/api/roles/classification_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package roles_test import ( diff --git a/internal/tests/api/roles/role_test.go b/internal/tests/api/roles/role_test.go index 073df28fd..0e5a9e304 100644 --- a/internal/tests/api/roles/role_test.go +++ b/internal/tests/api/roles/role_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package roles_test import ( diff --git a/internal/tests/api/scopes/scope_test.go b/internal/tests/api/scopes/scope_test.go index 06bdaf18e..9c81ac23f 100644 --- a/internal/tests/api/scopes/scope_test.go +++ b/internal/tests/api/scopes/scope_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scopes_test import ( diff --git a/internal/tests/api/sessions/classification_test.go b/internal/tests/api/sessions/classification_test.go index 8ee4e56d5..6494e4240 100644 --- a/internal/tests/api/sessions/classification_test.go +++ b/internal/tests/api/sessions/classification_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sessions_test import ( diff --git a/internal/tests/api/targets/classification_test.go b/internal/tests/api/targets/classification_test.go index 506288052..bffabf2c5 100644 --- a/internal/tests/api/targets/classification_test.go +++ b/internal/tests/api/targets/classification_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targets_test import ( diff --git a/internal/tests/api/targets/target_test.go b/internal/tests/api/targets/target_test.go index ba84da87f..b2c2536eb 100644 --- a/internal/tests/api/targets/target_test.go +++ b/internal/tests/api/targets/target_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package targets_test import ( diff --git a/internal/tests/api/testing.go b/internal/tests/api/testing.go index bd3a9f197..e783e7716 100644 --- a/internal/tests/api/testing.go +++ b/internal/tests/api/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/internal/tests/api/users/classification_test.go b/internal/tests/api/users/classification_test.go index 31f3ec5a1..0980005da 100644 --- a/internal/tests/api/users/classification_test.go +++ b/internal/tests/api/users/classification_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package users_test import ( diff --git a/internal/tests/api/users/user_test.go b/internal/tests/api/users/user_test.go index 87712f474..8a43f7134 100644 --- a/internal/tests/api/users/user_test.go +++ b/internal/tests/api/users/user_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package users_test import ( diff --git a/internal/tests/api/workers/worker_test.go b/internal/tests/api/workers/worker_test.go index d2b20b6fd..9b295fd19 100644 --- a/internal/tests/api/workers/worker_test.go +++ b/internal/tests/api/workers/worker_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package workers_test import ( diff --git a/internal/tests/cli/boundary/_accounts.bash b/internal/tests/cli/boundary/_accounts.bash index a7fd24abf..d319d5944 100644 --- a/internal/tests/cli/boundary/_accounts.bash +++ b/internal/tests/cli/boundary/_accounts.bash @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + function create_account() { export BP="${DEFAULT_PASSWORD}" boundary accounts create password -login-name $1 -password env://BP -auth-method-id $DEFAULT_AMPW diff --git a/internal/tests/cli/boundary/_auth.bash b/internal/tests/cli/boundary/_auth.bash index 4fed8e639..e23642def 100644 --- a/internal/tests/cli/boundary/_auth.bash +++ b/internal/tests/cli/boundary/_auth.bash @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + function login() { export BP="${DEFAULT_PASSWORD}" boundary authenticate password -auth-method-id $DEFAULT_AMPW -login-name $1 -password env://BP diff --git a/internal/tests/cli/boundary/_auth_tokens.bash b/internal/tests/cli/boundary/_auth_tokens.bash index 0d5ed021c..fe7677b58 100644 --- a/internal/tests/cli/boundary/_auth_tokens.bash +++ b/internal/tests/cli/boundary/_auth_tokens.bash @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + function read_token() { if [[ "x$1" == "x" ]] then diff --git a/internal/tests/cli/boundary/_authorized_actions.bash b/internal/tests/cli/boundary/_authorized_actions.bash index 7e5d4dd29..4cd969b26 100644 --- a/internal/tests/cli/boundary/_authorized_actions.bash +++ b/internal/tests/cli/boundary/_authorized_actions.bash @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + function has_authorized_action() { # accepts the output of a read on a arbitrary resource that has authorized_actions in its # output and the action to expect in the list as the second argument: diff --git a/internal/tests/cli/boundary/_connect.bash b/internal/tests/cli/boundary/_connect.bash index 5c4a36a02..ea92fa8e9 100644 --- a/internal/tests/cli/boundary/_connect.bash +++ b/internal/tests/cli/boundary/_connect.bash @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + function connect_nc() { local id=$1 # Note: When this command returns, the session immediately goes into a "canceling" state diff --git a/internal/tests/cli/boundary/_credential_libraries.bash b/internal/tests/cli/boundary/_credential_libraries.bash index b5bf1270e..15643793d 100644 --- a/internal/tests/cli/boundary/_credential_libraries.bash +++ b/internal/tests/cli/boundary/_credential_libraries.bash @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + load _authorized_actions function create_vault_ssh_certificate_library() { diff --git a/internal/tests/cli/boundary/_credential_stores.bash b/internal/tests/cli/boundary/_credential_stores.bash index 825556422..c937c1fd6 100644 --- a/internal/tests/cli/boundary/_credential_stores.bash +++ b/internal/tests/cli/boundary/_credential_stores.bash @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + load _authorized_actions function create_static_credential_store() { diff --git a/internal/tests/cli/boundary/_credentials.bash b/internal/tests/cli/boundary/_credentials.bash index 0d17bfd19..49a2a8e3a 100644 --- a/internal/tests/cli/boundary/_credentials.bash +++ b/internal/tests/cli/boundary/_credentials.bash @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + load _authorized_actions function create_username_password_credential() { diff --git a/internal/tests/cli/boundary/_groups.bash b/internal/tests/cli/boundary/_groups.bash index 61202e0fe..36264bd73 100644 --- a/internal/tests/cli/boundary/_groups.bash +++ b/internal/tests/cli/boundary/_groups.bash @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + load _authorized_actions function create_group() { diff --git a/internal/tests/cli/boundary/_helpers.bash b/internal/tests/cli/boundary/_helpers.bash index 68ff2d2a3..aa1badb68 100644 --- a/internal/tests/cli/boundary/_helpers.bash +++ b/internal/tests/cli/boundary/_helpers.bash @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export BOUNDARY_ADDR="${BOUNDARY_ADDR:-http://127.0.0.1:9200}" export DEFAULT_PASSWORD="${DEFAULT_PASSWORD:-password}" export DEFAULT_LOGIN="${DEFAULT_LOGIN:-admin}" diff --git a/internal/tests/cli/boundary/_host_catalogs.bash b/internal/tests/cli/boundary/_host_catalogs.bash index 6b61f3383..aba051313 100644 --- a/internal/tests/cli/boundary/_host_catalogs.bash +++ b/internal/tests/cli/boundary/_host_catalogs.bash @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + load _authorized_actions function create_host_catalog() { diff --git a/internal/tests/cli/boundary/_host_sets.bash b/internal/tests/cli/boundary/_host_sets.bash index 2dbc2e429..79449f6c2 100644 --- a/internal/tests/cli/boundary/_host_sets.bash +++ b/internal/tests/cli/boundary/_host_sets.bash @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + load _authorized_actions function create_host_set() { diff --git a/internal/tests/cli/boundary/_hosts.bash b/internal/tests/cli/boundary/_hosts.bash index 3a14b619c..d38bc5064 100644 --- a/internal/tests/cli/boundary/_hosts.bash +++ b/internal/tests/cli/boundary/_hosts.bash @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + load _authorized_actions function create_host() { diff --git a/internal/tests/cli/boundary/_roles.bash b/internal/tests/cli/boundary/_roles.bash index f689f9c7a..4cc2c15db 100644 --- a/internal/tests/cli/boundary/_roles.bash +++ b/internal/tests/cli/boundary/_roles.bash @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + load _authorized_actions function create_role() { diff --git a/internal/tests/cli/boundary/_scopes.bash b/internal/tests/cli/boundary/_scopes.bash index 8624adca0..919067a7d 100644 --- a/internal/tests/cli/boundary/_scopes.bash +++ b/internal/tests/cli/boundary/_scopes.bash @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + load _authorized_actions function create_scope() { diff --git a/internal/tests/cli/boundary/_sessions.bash b/internal/tests/cli/boundary/_sessions.bash index b31dacd36..3e2e5040a 100644 --- a/internal/tests/cli/boundary/_sessions.bash +++ b/internal/tests/cli/boundary/_sessions.bash @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + load _authorized_actions function list_sessions_include_terminated() { diff --git a/internal/tests/cli/boundary/_target_credential_sources.bash b/internal/tests/cli/boundary/_target_credential_sources.bash index 47d98e2a6..54cae5c6d 100644 --- a/internal/tests/cli/boundary/_target_credential_sources.bash +++ b/internal/tests/cli/boundary/_target_credential_sources.bash @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + load _authorized_actions function add_target_brokered_credential_sources() { diff --git a/internal/tests/cli/boundary/_targets.bash b/internal/tests/cli/boundary/_targets.bash index ae786bf72..57f887f18 100644 --- a/internal/tests/cli/boundary/_targets.bash +++ b/internal/tests/cli/boundary/_targets.bash @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + load _authorized_actions export TGT_NAME='test' diff --git a/internal/tests/cli/boundary/_users.bash b/internal/tests/cli/boundary/_users.bash index 92b4b5e28..1fa8a5c74 100644 --- a/internal/tests/cli/boundary/_users.bash +++ b/internal/tests/cli/boundary/_users.bash @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + load _authorized_actions function create_user() { diff --git a/internal/tests/cli/boundary/_vault.bash b/internal/tests/cli/boundary/_vault.bash index 4b7955ae2..02ebab556 100644 --- a/internal/tests/cli/boundary/_vault.bash +++ b/internal/tests/cli/boundary/_vault.bash @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + function vault_write_boundary_policy() { ( diff --git a/internal/tests/cli/boundary/_version.bash b/internal/tests/cli/boundary/_version.bash index cb417b2da..8f1afa0f4 100644 --- a/internal/tests/cli/boundary/_version.bash +++ b/internal/tests/cli/boundary/_version.bash @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + function version() { boundary version -format json } diff --git a/internal/tests/cli/boundary/_workers.bash b/internal/tests/cli/boundary/_workers.bash index adb0c8c61..2eb373dc3 100644 --- a/internal/tests/cli/boundary/_workers.bash +++ b/internal/tests/cli/boundary/_workers.bash @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + load _authorized_actions function read_worker() { diff --git a/internal/tests/cli/test.sh b/internal/tests/cli/test.sh index 7789fc5b5..1dd2d3706 100755 --- a/internal/tests/cli/test.sh +++ b/internal/tests/cli/test.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # TERM isn't set automatically in CI so we need to make sure it's always there. export TERM=${TERM:=dumb} diff --git a/internal/tests/cluster/anon_listing_test.go b/internal/tests/cluster/anon_listing_test.go index 04b19fad9..4fde867df 100644 --- a/internal/tests/cluster/anon_listing_test.go +++ b/internal/tests/cluster/anon_listing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/internal/tests/cluster/ipv6_listener_test.go b/internal/tests/cluster/ipv6_listener_test.go index 3cca5b714..8fe6aa691 100644 --- a/internal/tests/cluster/ipv6_listener_test.go +++ b/internal/tests/cluster/ipv6_listener_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/internal/tests/cluster/multi_controller_worker_test.go b/internal/tests/cluster/multi_controller_worker_test.go index d0ef4a651..deea699bd 100644 --- a/internal/tests/cluster/multi_controller_worker_test.go +++ b/internal/tests/cluster/multi_controller_worker_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/internal/tests/cluster/package_registry_test.go b/internal/tests/cluster/package_registry_test.go index 2c2e053de..bcf2f63bd 100644 --- a/internal/tests/cluster/package_registry_test.go +++ b/internal/tests/cluster/package_registry_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/internal/tests/cluster/recursive_anon_listing_test.go b/internal/tests/cluster/recursive_anon_listing_test.go index 661aee798..5c9a56a3f 100644 --- a/internal/tests/cluster/recursive_anon_listing_test.go +++ b/internal/tests/cluster/recursive_anon_listing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/internal/tests/cluster/session_cleanup_test.go b/internal/tests/cluster/session_cleanup_test.go index ceffd4b3d..c7a4cb372 100644 --- a/internal/tests/cluster/session_cleanup_test.go +++ b/internal/tests/cluster/session_cleanup_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/internal/tests/cluster/unix_listener_test.go b/internal/tests/cluster/unix_listener_test.go index 97a0b9f80..babf0c244 100644 --- a/internal/tests/cluster/unix_listener_test.go +++ b/internal/tests/cluster/unix_listener_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/internal/tests/cluster/util.go b/internal/tests/cluster/util.go index a3d382ed1..4fda7afea 100644 --- a/internal/tests/cluster/util.go +++ b/internal/tests/cluster/util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/internal/tests/cluster/worker_bytesupdown_test.go b/internal/tests/cluster/worker_bytesupdown_test.go index f127b3819..b5ce991ef 100644 --- a/internal/tests/cluster/worker_bytesupdown_test.go +++ b/internal/tests/cluster/worker_bytesupdown_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/internal/tests/cluster/worker_proxy_test.go b/internal/tests/cluster/worker_proxy_test.go index e8d0a2fb1..4b512535a 100644 --- a/internal/tests/cluster/worker_proxy_test.go +++ b/internal/tests/cluster/worker_proxy_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/internal/tests/cluster/worker_replay_test.go b/internal/tests/cluster/worker_replay_test.go index 278a880c3..9ff925a94 100644 --- a/internal/tests/cluster/worker_replay_test.go +++ b/internal/tests/cluster/worker_replay_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/internal/tests/cluster/worker_tagging_test.go b/internal/tests/cluster/worker_tagging_test.go index 5a8121a19..e9778408e 100644 --- a/internal/tests/cluster/worker_tagging_test.go +++ b/internal/tests/cluster/worker_tagging_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/internal/tests/cluster/x509_verification_test.go b/internal/tests/cluster/x509_verification_test.go index 62d7e6b8b..29d23470f 100644 --- a/internal/tests/cluster/x509_verification_test.go +++ b/internal/tests/cluster/x509_verification_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/internal/tests/helper/testing_helper.go b/internal/tests/helper/testing_helper.go index 16fdee72c..fd2f28507 100644 --- a/internal/tests/helper/testing_helper.go +++ b/internal/tests/helper/testing_helper.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package helper import ( diff --git a/internal/types/action/action.go b/internal/types/action/action.go index 87323ffaf..ade1ece53 100644 --- a/internal/types/action/action.go +++ b/internal/types/action/action.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package action import ( diff --git a/internal/types/action/action_test.go b/internal/types/action/action_test.go index a5389f279..3f0f2837d 100644 --- a/internal/types/action/action_test.go +++ b/internal/types/action/action_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package action import ( diff --git a/internal/types/resource/resource.go b/internal/types/resource/resource.go index 2fb5147b6..f631b92a4 100644 --- a/internal/types/resource/resource.go +++ b/internal/types/resource/resource.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resource import "encoding/json" diff --git a/internal/types/resource/resource_test.go b/internal/types/resource/resource_test.go index 947f28353..33240cf54 100644 --- a/internal/types/resource/resource_test.go +++ b/internal/types/resource/resource_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resource import ( diff --git a/internal/types/scope/scope.go b/internal/types/scope/scope.go index 68013828e..ceb5c8f99 100644 --- a/internal/types/scope/scope.go +++ b/internal/types/scope/scope.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scope // Type defines the possible types for Scopes diff --git a/internal/types/scope/scope_test.go b/internal/types/scope/scope_test.go index 8e97f4af4..ff4555c0a 100644 --- a/internal/types/scope/scope_test.go +++ b/internal/types/scope/scope_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scope import ( diff --git a/internal/types/subtypes/attribute_transform.go b/internal/types/subtypes/attribute_transform.go index 42b644103..563dbd396 100644 --- a/internal/types/subtypes/attribute_transform.go +++ b/internal/types/subtypes/attribute_transform.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package subtypes import ( diff --git a/internal/types/subtypes/attribute_transform_test.go b/internal/types/subtypes/attribute_transform_test.go index 618b5c884..ef64d2694 100644 --- a/internal/types/subtypes/attribute_transform_test.go +++ b/internal/types/subtypes/attribute_transform_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package subtypes import ( diff --git a/internal/types/subtypes/attributes.go b/internal/types/subtypes/attributes.go index 135d7c373..e593d3de5 100644 --- a/internal/types/subtypes/attributes.go +++ b/internal/types/subtypes/attributes.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package subtypes import ( diff --git a/internal/types/subtypes/attributes_test.go b/internal/types/subtypes/attributes_test.go index 842a7c584..18c38a602 100644 --- a/internal/types/subtypes/attributes_test.go +++ b/internal/types/subtypes/attributes_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package subtypes import ( diff --git a/internal/types/subtypes/error.go b/internal/types/subtypes/error.go index 769bc7fac..a56bf6c9f 100644 --- a/internal/types/subtypes/error.go +++ b/internal/types/subtypes/error.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package subtypes // UnknownSubtypeIDError is an error type that describes an invalid diff --git a/internal/types/subtypes/interceptor.go b/internal/types/subtypes/interceptor.go index 07bab9596..66bdd7b45 100644 --- a/internal/types/subtypes/interceptor.go +++ b/internal/types/subtypes/interceptor.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package subtypes import ( diff --git a/internal/types/subtypes/interceptor_ext_test.go b/internal/types/subtypes/interceptor_ext_test.go index 8a315fc00..b6451df66 100644 --- a/internal/types/subtypes/interceptor_ext_test.go +++ b/internal/types/subtypes/interceptor_ext_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package subtypes_test import ( diff --git a/internal/types/subtypes/interceptor_test.go b/internal/types/subtypes/interceptor_test.go index 7bf83d336..2e146e2cb 100644 --- a/internal/types/subtypes/interceptor_test.go +++ b/internal/types/subtypes/interceptor_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package subtypes import ( diff --git a/internal/types/subtypes/registry.go b/internal/types/subtypes/registry.go index fa2c78bd4..8455f6b08 100644 --- a/internal/types/subtypes/registry.go +++ b/internal/types/subtypes/registry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package subtypes provides helpers to work with boundary resource subtypes. package subtypes diff --git a/internal/types/subtypes/registry_global.go b/internal/types/subtypes/registry_global.go index 28a587db2..5ff2962dc 100644 --- a/internal/types/subtypes/registry_global.go +++ b/internal/types/subtypes/registry_global.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package subtypes import ( diff --git a/internal/types/subtypes/registry_test.go b/internal/types/subtypes/registry_test.go index 7df2db9cd..19589e87e 100644 --- a/internal/types/subtypes/registry_test.go +++ b/internal/types/subtypes/registry_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package subtypes_test import ( diff --git a/internal/types/subtypes/source_registry.go b/internal/types/subtypes/source_registry.go index dc3e0575f..5ff358806 100644 --- a/internal/types/subtypes/source_registry.go +++ b/internal/types/subtypes/source_registry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package subtypes import ( diff --git a/internal/types/subtypes/transformations.go b/internal/types/subtypes/transformations.go index 364377d67..638c926a4 100644 --- a/internal/types/subtypes/transformations.go +++ b/internal/types/subtypes/transformations.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package subtypes import ( diff --git a/internal/ui/assets.go b/internal/ui/assets.go index 85ffa8577..0bb191512 100644 --- a/internal/ui/assets.go +++ b/internal/ui/assets.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build ui // +build ui diff --git a/internal/ui/dummy.go b/internal/ui/dummy.go index ae0d78b9c..1f631f10f 100644 --- a/internal/ui/dummy.go +++ b/internal/ui/dummy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !ui // +build !ui diff --git a/internal/util/is_nil.go b/internal/util/is_nil.go index c41a982c4..b2e384132 100644 --- a/internal/util/is_nil.go +++ b/internal/util/is_nil.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package util import "reflect" diff --git a/internal/util/is_nil_test.go b/internal/util/is_nil_test.go index cc70fc3a2..a373693ec 100644 --- a/internal/util/is_nil_test.go +++ b/internal/util/is_nil_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package util_test import ( diff --git a/internal/util/pointer.go b/internal/util/pointer.go index 4231854fa..d12e55292 100644 --- a/internal/util/pointer.go +++ b/internal/util/pointer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package util // Pointer is just a generic function to return a pointer of whatever type is diff --git a/internal/util/template/doc.go b/internal/util/template/doc.go index f6ded4549..f930e3a46 100644 --- a/internal/util/template/doc.go +++ b/internal/util/template/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package template /* diff --git a/internal/util/template/funcs.go b/internal/util/template/funcs.go index f2b1ae932..a7819b409 100644 --- a/internal/util/template/funcs.go +++ b/internal/util/template/funcs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package template import "strings" diff --git a/internal/util/template/generate.go b/internal/util/template/generate.go index 0250df6c6..59511541e 100644 --- a/internal/util/template/generate.go +++ b/internal/util/template/generate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package template import ( diff --git a/internal/util/template/generate_test.go b/internal/util/template/generate_test.go index 23a0f854f..e38cea802 100644 --- a/internal/util/template/generate_test.go +++ b/internal/util/template/generate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package template import ( diff --git a/internal/util/template/types.go b/internal/util/template/types.go index 6523ddf28..8b8f6b97b 100644 --- a/internal/util/template/types.go +++ b/internal/util/template/types.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package template // Data is the top-level struct containing the various domains of templated diff --git a/internal/website/permstable/permstable.go b/internal/website/permstable/permstable.go index 27002ba51..520e9bc08 100644 --- a/internal/website/permstable/permstable.go +++ b/internal/website/permstable/permstable.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/plugins/host/assets.go b/plugins/host/assets.go index dd353a47e..0e4363f2b 100644 --- a/plugins/host/assets.go +++ b/plugins/host/assets.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host_plugin_assets import ( diff --git a/plugins/host/const.go b/plugins/host/const.go index 32b991f07..652d6136d 100644 --- a/plugins/host/const.go +++ b/plugins/host/const.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package host_plugin_assets const HostPluginPrefix = "boundary-plugin-host-" diff --git a/plugins/host/mains/aws/main.go b/plugins/host/mains/aws/main.go index b49aa8862..881bea2a9 100644 --- a/plugins/host/mains/aws/main.go +++ b/plugins/host/mains/aws/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/plugins/host/mains/azure/main.go b/plugins/host/mains/azure/main.go index 315f53646..e978ece4e 100644 --- a/plugins/host/mains/azure/main.go +++ b/plugins/host/mains/azure/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/plugins/kms/assets.go b/plugins/kms/assets.go index 29d2dc06c..f1b1a19ac 100644 --- a/plugins/kms/assets.go +++ b/plugins/kms/assets.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms_plugin_assets import ( diff --git a/plugins/kms/builtin.go b/plugins/kms/builtin.go index e6f4a4efc..640e9526d 100644 --- a/plugins/kms/builtin.go +++ b/plugins/kms/builtin.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms_plugin_assets import ( diff --git a/plugins/kms/const.go b/plugins/kms/const.go index 162de8eb4..04338b091 100644 --- a/plugins/kms/const.go +++ b/plugins/kms/const.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms_plugin_assets const KmsPluginPrefix = "boundary-plugin-kms-" diff --git a/plugins/kms/mains/alicloudkms/main.go b/plugins/kms/mains/alicloudkms/main.go index 76dbe1a4d..7a6f88eac 100644 --- a/plugins/kms/mains/alicloudkms/main.go +++ b/plugins/kms/mains/alicloudkms/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/plugins/kms/mains/awskms/main.go b/plugins/kms/mains/awskms/main.go index 5650efcb3..686eecc70 100644 --- a/plugins/kms/mains/awskms/main.go +++ b/plugins/kms/mains/awskms/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/plugins/kms/mains/azurekeyvault/main.go b/plugins/kms/mains/azurekeyvault/main.go index 37b45c954..dc0d1ae59 100644 --- a/plugins/kms/mains/azurekeyvault/main.go +++ b/plugins/kms/mains/azurekeyvault/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/plugins/kms/mains/gcpckms/main.go b/plugins/kms/mains/gcpckms/main.go index 8313a8692..d94348da2 100644 --- a/plugins/kms/mains/gcpckms/main.go +++ b/plugins/kms/mains/gcpckms/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/plugins/kms/mains/ocikms/main.go b/plugins/kms/mains/ocikms/main.go index 8d184f9b3..cb90e0195 100644 --- a/plugins/kms/mains/ocikms/main.go +++ b/plugins/kms/mains/ocikms/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/plugins/kms/mains/transit/main.go b/plugins/kms/mains/transit/main.go index be97a856e..266799549 100644 --- a/plugins/kms/mains/transit/main.go +++ b/plugins/kms/mains/transit/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/scripts/build-ui.sh b/scripts/build-ui.sh index 48883e704..9978cb182 100755 --- a/scripts/build-ui.sh +++ b/scripts/build-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/scripts/build.sh b/scripts/build.sh index d6c92121f..d8601b538 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 a single platform. set -e diff --git a/scripts/install-golangci-lint.sh b/scripts/install-golangci-lint.sh index edc353c44..281798c23 100644 --- a/scripts/install-golangci-lint.sh +++ b/scripts/install-golangci-lint.sh @@ -1,4 +1,7 @@ #!/bin/sh +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e usage() { diff --git a/scripts/plugins.sh b/scripts/plugins.sh index 81d3e6e81..bb3fee764 100755 --- a/scripts/plugins.sh +++ b/scripts/plugins.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # # This script builds the required plugins. set -e diff --git a/scripts/uiupdate.sh b/scripts/uiupdate.sh index 0e65a29bd..e4feb09ba 100755 --- a/scripts/uiupdate.sh +++ b/scripts/uiupdate.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e diff --git a/sdk/pbs/controller/api/resources/accounts/account.pb.go b/sdk/pbs/controller/api/resources/accounts/account.pb.go index 3e9d77e8c..ce442a075 100644 --- a/sdk/pbs/controller/api/resources/accounts/account.pb.go +++ b/sdk/pbs/controller/api/resources/accounts/account.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/pbs/controller/api/resources/authmethods/auth_method.pb.go b/sdk/pbs/controller/api/resources/authmethods/auth_method.pb.go index f385969eb..7a1c9d8fe 100644 --- a/sdk/pbs/controller/api/resources/authmethods/auth_method.pb.go +++ b/sdk/pbs/controller/api/resources/authmethods/auth_method.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/pbs/controller/api/resources/authmethods/auth_method_taggable.go b/sdk/pbs/controller/api/resources/authmethods/auth_method_taggable.go index 6b6b53693..1dd001818 100644 --- a/sdk/pbs/controller/api/resources/authmethods/auth_method_taggable.go +++ b/sdk/pbs/controller/api/resources/authmethods/auth_method_taggable.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package authmethods import ( diff --git a/sdk/pbs/controller/api/resources/authtokens/authtoken.pb.go b/sdk/pbs/controller/api/resources/authtokens/authtoken.pb.go index 1d5468201..309c9c752 100644 --- a/sdk/pbs/controller/api/resources/authtokens/authtoken.pb.go +++ b/sdk/pbs/controller/api/resources/authtokens/authtoken.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/pbs/controller/api/resources/credentiallibraries/credential_library.pb.go b/sdk/pbs/controller/api/resources/credentiallibraries/credential_library.pb.go index 3d170f99f..c0c77e64a 100644 --- a/sdk/pbs/controller/api/resources/credentiallibraries/credential_library.pb.go +++ b/sdk/pbs/controller/api/resources/credentiallibraries/credential_library.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/pbs/controller/api/resources/credentials/credential.pb.go b/sdk/pbs/controller/api/resources/credentials/credential.pb.go index 73e641199..b93745c6f 100644 --- a/sdk/pbs/controller/api/resources/credentials/credential.pb.go +++ b/sdk/pbs/controller/api/resources/credentials/credential.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/pbs/controller/api/resources/credentialstores/credential_store.pb.go b/sdk/pbs/controller/api/resources/credentialstores/credential_store.pb.go index 62e649c92..1d2602173 100644 --- a/sdk/pbs/controller/api/resources/credentialstores/credential_store.pb.go +++ b/sdk/pbs/controller/api/resources/credentialstores/credential_store.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/pbs/controller/api/resources/credentialstores/credential_store_taggable.go b/sdk/pbs/controller/api/resources/credentialstores/credential_store_taggable.go index 49794a660..b962a75b7 100644 --- a/sdk/pbs/controller/api/resources/credentialstores/credential_store_taggable.go +++ b/sdk/pbs/controller/api/resources/credentialstores/credential_store_taggable.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package credentialstores import ( diff --git a/sdk/pbs/controller/api/resources/groups/group.pb.go b/sdk/pbs/controller/api/resources/groups/group.pb.go index 886037111..6621ea0e3 100644 --- a/sdk/pbs/controller/api/resources/groups/group.pb.go +++ b/sdk/pbs/controller/api/resources/groups/group.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/pbs/controller/api/resources/hostcatalogs/host_catalog.pb.go b/sdk/pbs/controller/api/resources/hostcatalogs/host_catalog.pb.go index c489af33c..a26e1e137 100644 --- a/sdk/pbs/controller/api/resources/hostcatalogs/host_catalog.pb.go +++ b/sdk/pbs/controller/api/resources/hostcatalogs/host_catalog.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/pbs/controller/api/resources/hostcatalogs/host_catalog_taggable.go b/sdk/pbs/controller/api/resources/hostcatalogs/host_catalog_taggable.go index 891cc5b5d..209007072 100644 --- a/sdk/pbs/controller/api/resources/hostcatalogs/host_catalog_taggable.go +++ b/sdk/pbs/controller/api/resources/hostcatalogs/host_catalog_taggable.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hostcatalogs import ( diff --git a/sdk/pbs/controller/api/resources/hosts/host.pb.go b/sdk/pbs/controller/api/resources/hosts/host.pb.go index 694acccd0..0eb080965 100644 --- a/sdk/pbs/controller/api/resources/hosts/host.pb.go +++ b/sdk/pbs/controller/api/resources/hosts/host.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/pbs/controller/api/resources/hostsets/host_set.pb.go b/sdk/pbs/controller/api/resources/hostsets/host_set.pb.go index d6103b3aa..a81dbc301 100644 --- a/sdk/pbs/controller/api/resources/hostsets/host_set.pb.go +++ b/sdk/pbs/controller/api/resources/hostsets/host_set.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/pbs/controller/api/resources/managedgroups/managed_group.pb.go b/sdk/pbs/controller/api/resources/managedgroups/managed_group.pb.go index 19b65e7b9..0e2a5e86f 100644 --- a/sdk/pbs/controller/api/resources/managedgroups/managed_group.pb.go +++ b/sdk/pbs/controller/api/resources/managedgroups/managed_group.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/pbs/controller/api/resources/plugins/plugin.pb.go b/sdk/pbs/controller/api/resources/plugins/plugin.pb.go index cd1866f46..a492e520f 100644 --- a/sdk/pbs/controller/api/resources/plugins/plugin.pb.go +++ b/sdk/pbs/controller/api/resources/plugins/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/pbs/controller/api/resources/roles/role.pb.go b/sdk/pbs/controller/api/resources/roles/role.pb.go index f01d5c80c..a81c0effc 100644 --- a/sdk/pbs/controller/api/resources/roles/role.pb.go +++ b/sdk/pbs/controller/api/resources/roles/role.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/pbs/controller/api/resources/scopes/scope.pb.go b/sdk/pbs/controller/api/resources/scopes/scope.pb.go index b20a5f298..139e00d50 100644 --- a/sdk/pbs/controller/api/resources/scopes/scope.pb.go +++ b/sdk/pbs/controller/api/resources/scopes/scope.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/pbs/controller/api/resources/scopes/scope_taggable.go b/sdk/pbs/controller/api/resources/scopes/scope_taggable.go index 06271a2c4..0559c9796 100644 --- a/sdk/pbs/controller/api/resources/scopes/scope_taggable.go +++ b/sdk/pbs/controller/api/resources/scopes/scope_taggable.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scopes import ( diff --git a/sdk/pbs/controller/api/resources/scopes/scope_taggable_test.go b/sdk/pbs/controller/api/resources/scopes/scope_taggable_test.go index fdb31b0b8..afd7cb135 100644 --- a/sdk/pbs/controller/api/resources/scopes/scope_taggable_test.go +++ b/sdk/pbs/controller/api/resources/scopes/scope_taggable_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scopes import ( diff --git a/sdk/pbs/controller/api/resources/sessions/session.pb.go b/sdk/pbs/controller/api/resources/sessions/session.pb.go index 11b2b0341..a4cdd17e2 100644 --- a/sdk/pbs/controller/api/resources/sessions/session.pb.go +++ b/sdk/pbs/controller/api/resources/sessions/session.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/pbs/controller/api/resources/targets/target.pb.go b/sdk/pbs/controller/api/resources/targets/target.pb.go index cb395194a..ae7ddee61 100644 --- a/sdk/pbs/controller/api/resources/targets/target.pb.go +++ b/sdk/pbs/controller/api/resources/targets/target.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/pbs/controller/api/resources/users/user.pb.go b/sdk/pbs/controller/api/resources/users/user.pb.go index 04486b86a..5bbb9ede3 100644 --- a/sdk/pbs/controller/api/resources/users/user.pb.go +++ b/sdk/pbs/controller/api/resources/users/user.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/pbs/controller/api/resources/workers/worker.pb.go b/sdk/pbs/controller/api/resources/workers/worker.pb.go index 8b8d4a7b1..f94d68cc3 100644 --- a/sdk/pbs/controller/api/resources/workers/worker.pb.go +++ b/sdk/pbs/controller/api/resources/workers/worker.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/pbs/controller/api/testing.go b/sdk/pbs/controller/api/testing.go index 32a3da869..0a0c5812f 100644 --- a/sdk/pbs/controller/api/testing.go +++ b/sdk/pbs/controller/api/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/sdk/pbs/controller/protooptions/options.pb.go b/sdk/pbs/controller/protooptions/options.pb.go index 293840ad2..27804a940 100644 --- a/sdk/pbs/controller/protooptions/options.pb.go +++ b/sdk/pbs/controller/protooptions/options.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/pbs/controller/protooptions/testing.pb.go b/sdk/pbs/controller/protooptions/testing.pb.go index 045d6bea3..10ec32aa7 100644 --- a/sdk/pbs/controller/protooptions/testing.pb.go +++ b/sdk/pbs/controller/protooptions/testing.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/pbs/plugin/host_plugin_service.pb.go b/sdk/pbs/plugin/host_plugin_service.pb.go index 9b4503c4a..f187f87a2 100644 --- a/sdk/pbs/plugin/host_plugin_service.pb.go +++ b/sdk/pbs/plugin/host_plugin_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/sdk/plugins/host/load.go b/sdk/plugins/host/load.go index e7496e1b5..5f491b102 100644 --- a/sdk/plugins/host/load.go +++ b/sdk/plugins/host/load.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package external_host_plugins import ( diff --git a/sdk/plugins/host/options.go b/sdk/plugins/host/options.go index a91e7e075..2e8ca359c 100644 --- a/sdk/plugins/host/options.go +++ b/sdk/plugins/host/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package external_host_plugins import ( diff --git a/sdk/plugins/host/plugin.go b/sdk/plugins/host/plugin.go index e1bb8e83d..722d71573 100644 --- a/sdk/plugins/host/plugin.go +++ b/sdk/plugins/host/plugin.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package external_host_plugins import ( diff --git a/sdk/testutil/free_port.go b/sdk/testutil/free_port.go index 809d98fc1..96f6f4595 100644 --- a/sdk/testutil/free_port.go +++ b/sdk/testutil/free_port.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testutil import ( diff --git a/sdk/testutil/free_port_test.go b/sdk/testutil/free_port_test.go index fd625b9b8..ffd7e8a79 100644 --- a/sdk/testutil/free_port_test.go +++ b/sdk/testutil/free_port_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testutil import ( diff --git a/sdk/wrapper/testing.go b/sdk/wrapper/testing.go index 0bf4943f0..c291242fe 100644 --- a/sdk/wrapper/testing.go +++ b/sdk/wrapper/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package wrapper import ( diff --git a/sdk/wrapper/upgrade_test.go b/sdk/wrapper/upgrade_test.go index d5ff73d65..46b8f9f81 100644 --- a/sdk/wrapper/upgrade_test.go +++ b/sdk/wrapper/upgrade_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package wrapper // NOTE: The test below is commented out for a very specific reason: to not diff --git a/sdk/wrapper/wrapper.go b/sdk/wrapper/wrapper.go index fbd13fc32..c1c45085c 100644 --- a/sdk/wrapper/wrapper.go +++ b/sdk/wrapper/wrapper.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package wrapper import ( diff --git a/testing/controller/controller.go b/testing/controller/controller.go index 50dec0174..a6f82ebeb 100644 --- a/testing/controller/controller.go +++ b/testing/controller/controller.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package controller import ( diff --git a/testing/controller/docs.go b/testing/controller/docs.go index 9aa628b50..fa167172b 100644 --- a/testing/controller/docs.go +++ b/testing/controller/docs.go @@ -1,2 +1,5 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package controller is a package meant for internal testing only. The interfaces may change or be removed at any time without warning. package controller diff --git a/testing/dbtest/docker/init-db.sh b/testing/dbtest/docker/init-db.sh index 9c18a7e21..44c225412 100755 --- a/testing/dbtest/docker/init-db.sh +++ b/testing/dbtest/docker/init-db.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e shopt -s globstar diff --git a/testing/dbtest/docker/restore-benchmark-dumps.sh b/testing/dbtest/docker/restore-benchmark-dumps.sh index 324e077cd..d8c63580d 100644 --- a/testing/dbtest/docker/restore-benchmark-dumps.sh +++ b/testing/dbtest/docker/restore-benchmark-dumps.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e shopt -s globstar diff --git a/testing/dbtest/docs.go b/testing/dbtest/docs.go index 300caf8f6..a3a253f17 100644 --- a/testing/dbtest/docs.go +++ b/testing/dbtest/docs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package dbtest provides a way to create a clean database for tests using // template databases. For it to function properly a postgres database server // must be running with the expected templates. This is typically done using diff --git a/testing/dbtest/option.go b/testing/dbtest/option.go index 679228420..cd63a4102 100644 --- a/testing/dbtest/option.go +++ b/testing/dbtest/option.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbtest // GetOpts - iterate the inbound Options and return a struct. diff --git a/testing/dbtest/pgtap-docker/Dockerfile b/testing/dbtest/pgtap-docker/Dockerfile index 689356773..dfa5c8f2d 100644 --- a/testing/dbtest/pgtap-docker/Dockerfile +++ b/testing/dbtest/pgtap-docker/Dockerfile @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + ARG PG_VERSION FROM postgres:${PG_VERSION}-alpine diff --git a/testing/dbtest/pgtap-docker/test.sh b/testing/dbtest/pgtap-docker/test.sh index c42c0e3a4..727859cf9 100644 --- a/testing/dbtest/pgtap-docker/test.sh +++ b/testing/dbtest/pgtap-docker/test.sh @@ -1,4 +1,7 @@ #!/bin/sh +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + function usage() { echo "Usage: $0 -h host -d database -p port -u username -w password -t 'tests/*.sql'" 1>&2; exit 1; } diff --git a/testing/dbtest/session_list_benchmarks_dump_generation_test.go b/testing/dbtest/session_list_benchmarks_dump_generation_test.go index 60c6aa2d7..e08d1b376 100644 --- a/testing/dbtest/session_list_benchmarks_dump_generation_test.go +++ b/testing/dbtest/session_list_benchmarks_dump_generation_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbtest_test import ( diff --git a/testing/dbtest/template.go b/testing/dbtest/template.go index 7178b2d1d..9eda320b5 100644 --- a/testing/dbtest/template.go +++ b/testing/dbtest/template.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbtest import ( diff --git a/testing/dbtest/template_test.go b/testing/dbtest/template_test.go index 786edceae..04d3a1350 100644 --- a/testing/dbtest/template_test.go +++ b/testing/dbtest/template_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dbtest_test import ( diff --git a/testing/internal/e2e/boundary/account.go b/testing/internal/e2e/boundary/account.go index 0d374c082..f7e4d6a6f 100644 --- a/testing/internal/e2e/boundary/account.go +++ b/testing/internal/e2e/boundary/account.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package boundary import ( diff --git a/testing/internal/e2e/boundary/authenticate.go b/testing/internal/e2e/boundary/authenticate.go index 22763418c..19f4f570b 100644 --- a/testing/internal/e2e/boundary/authenticate.go +++ b/testing/internal/e2e/boundary/authenticate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package boundary import ( diff --git a/testing/internal/e2e/boundary/boundary.go b/testing/internal/e2e/boundary/boundary.go index 127c1fd22..0625be7e0 100644 --- a/testing/internal/e2e/boundary/boundary.go +++ b/testing/internal/e2e/boundary/boundary.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package boundary provides methods for commonly used boundary actions that are used in end-to-end tests. package boundary diff --git a/testing/internal/e2e/boundary/credential.go b/testing/internal/e2e/boundary/credential.go index 06356fe0a..66686299e 100644 --- a/testing/internal/e2e/boundary/credential.go +++ b/testing/internal/e2e/boundary/credential.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package boundary import ( diff --git a/testing/internal/e2e/boundary/env.go b/testing/internal/e2e/boundary/env.go index 3c3e7d2a8..acd464ef6 100644 --- a/testing/internal/e2e/boundary/env.go +++ b/testing/internal/e2e/boundary/env.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package boundary import "github.com/kelseyhightower/envconfig" diff --git a/testing/internal/e2e/boundary/host.go b/testing/internal/e2e/boundary/host.go index 787f293ec..a9e9491cf 100644 --- a/testing/internal/e2e/boundary/host.go +++ b/testing/internal/e2e/boundary/host.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package boundary import ( diff --git a/testing/internal/e2e/boundary/role.go b/testing/internal/e2e/boundary/role.go index 4debcdfa3..5b020a3d2 100644 --- a/testing/internal/e2e/boundary/role.go +++ b/testing/internal/e2e/boundary/role.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package boundary import ( diff --git a/testing/internal/e2e/boundary/scope.go b/testing/internal/e2e/boundary/scope.go index 2203d4cc0..bb81d0da3 100644 --- a/testing/internal/e2e/boundary/scope.go +++ b/testing/internal/e2e/boundary/scope.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package boundary import ( diff --git a/testing/internal/e2e/boundary/session.go b/testing/internal/e2e/boundary/session.go index 3d2754d42..b2f07ba01 100644 --- a/testing/internal/e2e/boundary/session.go +++ b/testing/internal/e2e/boundary/session.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package boundary import ( diff --git a/testing/internal/e2e/boundary/target.go b/testing/internal/e2e/boundary/target.go index 536641052..c57509ecd 100644 --- a/testing/internal/e2e/boundary/target.go +++ b/testing/internal/e2e/boundary/target.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package boundary import ( diff --git a/testing/internal/e2e/boundary/user.go b/testing/internal/e2e/boundary/user.go index 9eba78f97..c259a36f6 100644 --- a/testing/internal/e2e/boundary/user.go +++ b/testing/internal/e2e/boundary/user.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package boundary import ( diff --git a/testing/internal/e2e/helpers.go b/testing/internal/e2e/helpers.go index 993624de2..317571961 100644 --- a/testing/internal/e2e/helpers.go +++ b/testing/internal/e2e/helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package e2e import ( diff --git a/testing/internal/e2e/infra/docker.go b/testing/internal/e2e/infra/docker.go index 6bd5be4ba..335b69643 100644 --- a/testing/internal/e2e/infra/docker.go +++ b/testing/internal/e2e/infra/docker.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package infra import ( diff --git a/testing/internal/e2e/tests/aws/dynamichostcatalog_host_set_empty_test.go b/testing/internal/e2e/tests/aws/dynamichostcatalog_host_set_empty_test.go index 98eae3741..d08ff79dd 100644 --- a/testing/internal/e2e/tests/aws/dynamichostcatalog_host_set_empty_test.go +++ b/testing/internal/e2e/tests/aws/dynamichostcatalog_host_set_empty_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aws_test import ( diff --git a/testing/internal/e2e/tests/aws/dynamichostcatalog_host_set_test.go b/testing/internal/e2e/tests/aws/dynamichostcatalog_host_set_test.go index 7f16c46e1..ba13a05c1 100644 --- a/testing/internal/e2e/tests/aws/dynamichostcatalog_host_set_test.go +++ b/testing/internal/e2e/tests/aws/dynamichostcatalog_host_set_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aws_test import ( diff --git a/testing/internal/e2e/tests/aws/env_test.go b/testing/internal/e2e/tests/aws/env_test.go index 9f1e0987e..b9a9313f1 100644 --- a/testing/internal/e2e/tests/aws/env_test.go +++ b/testing/internal/e2e/tests/aws/env_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package aws_test import "github.com/kelseyhightower/envconfig" diff --git a/testing/internal/e2e/tests/database/env_test.go b/testing/internal/e2e/tests/database/env_test.go index 677a4a2d9..e10204add 100644 --- a/testing/internal/e2e/tests/database/env_test.go +++ b/testing/internal/e2e/tests/database/env_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database_test import "github.com/kelseyhightower/envconfig" diff --git a/testing/internal/e2e/tests/database/migration_test.go b/testing/internal/e2e/tests/database/migration_test.go index d9b9c4256..a779f51ec 100644 --- a/testing/internal/e2e/tests/database/migration_test.go +++ b/testing/internal/e2e/tests/database/migration_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package database_test import ( diff --git a/testing/internal/e2e/tests/database/testdata/boundary-config.hcl b/testing/internal/e2e/tests/database/testdata/boundary-config.hcl index 8d1188546..c959787cd 100644 --- a/testing/internal/e2e/tests/database/testdata/boundary-config.hcl +++ b/testing/internal/e2e/tests/database/testdata/boundary-config.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + disable_mlock = true controller { diff --git a/testing/internal/e2e/tests/database/testdata/boundary-controller-policy.hcl b/testing/internal/e2e/tests/database/testdata/boundary-controller-policy.hcl index 429177c01..ae4624096 100644 --- a/testing/internal/e2e/tests/database/testdata/boundary-controller-policy.hcl +++ b/testing/internal/e2e/tests/database/testdata/boundary-controller-policy.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + path "auth/token/lookup-self" { capabilities = ["read"] } diff --git a/testing/internal/e2e/tests/static/authenticate_primary_test.go b/testing/internal/e2e/tests/static/authenticate_primary_test.go index cbf62d4fa..82b92a21e 100644 --- a/testing/internal/e2e/tests/static/authenticate_primary_test.go +++ b/testing/internal/e2e/tests/static/authenticate_primary_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_test import ( diff --git a/testing/internal/e2e/tests/static/bytes_up_down_empty_test.go b/testing/internal/e2e/tests/static/bytes_up_down_empty_test.go index e4929edf5..03ea40637 100644 --- a/testing/internal/e2e/tests/static/bytes_up_down_empty_test.go +++ b/testing/internal/e2e/tests/static/bytes_up_down_empty_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_test import ( diff --git a/testing/internal/e2e/tests/static/bytes_up_down_test.go b/testing/internal/e2e/tests/static/bytes_up_down_test.go index b0ab84856..eb1de88dd 100644 --- a/testing/internal/e2e/tests/static/bytes_up_down_test.go +++ b/testing/internal/e2e/tests/static/bytes_up_down_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_test import ( diff --git a/testing/internal/e2e/tests/static/connect_authz_token_test.go b/testing/internal/e2e/tests/static/connect_authz_token_test.go index 780e33e10..f45a3f065 100644 --- a/testing/internal/e2e/tests/static/connect_authz_token_test.go +++ b/testing/internal/e2e/tests/static/connect_authz_token_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_test import ( diff --git a/testing/internal/e2e/tests/static/connect_localhost_test.go b/testing/internal/e2e/tests/static/connect_localhost_test.go index 419f8cc90..c991d7079 100644 --- a/testing/internal/e2e/tests/static/connect_localhost_test.go +++ b/testing/internal/e2e/tests/static/connect_localhost_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_test import ( diff --git a/testing/internal/e2e/tests/static/connect_ssh_test.go b/testing/internal/e2e/tests/static/connect_ssh_test.go index 7fc56240d..1937885f8 100644 --- a/testing/internal/e2e/tests/static/connect_ssh_test.go +++ b/testing/internal/e2e/tests/static/connect_ssh_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_test import ( diff --git a/testing/internal/e2e/tests/static/connect_test.go b/testing/internal/e2e/tests/static/connect_test.go index 02d20ed49..0f63ec466 100644 --- a/testing/internal/e2e/tests/static/connect_test.go +++ b/testing/internal/e2e/tests/static/connect_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_test import ( diff --git a/testing/internal/e2e/tests/static/credential_store_test.go b/testing/internal/e2e/tests/static/credential_store_test.go index 11a39e32d..2636b8716 100644 --- a/testing/internal/e2e/tests/static/credential_store_test.go +++ b/testing/internal/e2e/tests/static/credential_store_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_test import ( diff --git a/testing/internal/e2e/tests/static/env_test.go b/testing/internal/e2e/tests/static/env_test.go index f7ff9b9ab..a057fac98 100644 --- a/testing/internal/e2e/tests/static/env_test.go +++ b/testing/internal/e2e/tests/static/env_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_test import "github.com/kelseyhightower/envconfig" diff --git a/testing/internal/e2e/tests/static/key_destruction_test.go b/testing/internal/e2e/tests/static/key_destruction_test.go index d5401cd85..804726dbe 100644 --- a/testing/internal/e2e/tests/static/key_destruction_test.go +++ b/testing/internal/e2e/tests/static/key_destruction_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_test import ( diff --git a/testing/internal/e2e/tests/static/session_cancel_admin_test.go b/testing/internal/e2e/tests/static/session_cancel_admin_test.go index 273e6e761..f7bed6549 100644 --- a/testing/internal/e2e/tests/static/session_cancel_admin_test.go +++ b/testing/internal/e2e/tests/static/session_cancel_admin_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_test import ( diff --git a/testing/internal/e2e/tests/static/session_cancel_group_test.go b/testing/internal/e2e/tests/static/session_cancel_group_test.go index 986bb34c0..9f86fb6b3 100644 --- a/testing/internal/e2e/tests/static/session_cancel_group_test.go +++ b/testing/internal/e2e/tests/static/session_cancel_group_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_test import ( diff --git a/testing/internal/e2e/tests/static/session_cancel_user_test.go b/testing/internal/e2e/tests/static/session_cancel_user_test.go index 5a6d8f90b..ae381bed7 100644 --- a/testing/internal/e2e/tests/static/session_cancel_user_test.go +++ b/testing/internal/e2e/tests/static/session_cancel_user_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_test import ( diff --git a/testing/internal/e2e/tests/static/session_end_delete_host_set_test.go b/testing/internal/e2e/tests/static/session_end_delete_host_set_test.go index 0bf08e579..9bf93673a 100644 --- a/testing/internal/e2e/tests/static/session_end_delete_host_set_test.go +++ b/testing/internal/e2e/tests/static/session_end_delete_host_set_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_test import ( diff --git a/testing/internal/e2e/tests/static/session_end_delete_host_test.go b/testing/internal/e2e/tests/static/session_end_delete_host_test.go index c40711851..d49ae750d 100644 --- a/testing/internal/e2e/tests/static/session_end_delete_host_test.go +++ b/testing/internal/e2e/tests/static/session_end_delete_host_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_test import ( diff --git a/testing/internal/e2e/tests/static/session_end_delete_target_test.go b/testing/internal/e2e/tests/static/session_end_delete_target_test.go index 84566ad4e..45af03c29 100644 --- a/testing/internal/e2e/tests/static/session_end_delete_target_test.go +++ b/testing/internal/e2e/tests/static/session_end_delete_target_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_test import ( diff --git a/testing/internal/e2e/tests/static/session_end_delete_user_test.go b/testing/internal/e2e/tests/static/session_end_delete_user_test.go index 6f4246821..d4cc28b80 100644 --- a/testing/internal/e2e/tests/static/session_end_delete_user_test.go +++ b/testing/internal/e2e/tests/static/session_end_delete_user_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_test import ( diff --git a/testing/internal/e2e/tests/static/target_address_test.go b/testing/internal/e2e/tests/static/target_address_test.go index b183358b2..5a465b677 100644 --- a/testing/internal/e2e/tests/static/target_address_test.go +++ b/testing/internal/e2e/tests/static/target_address_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_test import ( diff --git a/testing/internal/e2e/tests/static_with_vault/connect_authz_token_test.go b/testing/internal/e2e/tests/static_with_vault/connect_authz_token_test.go index 78edc3712..b1619599a 100644 --- a/testing/internal/e2e/tests/static_with_vault/connect_authz_token_test.go +++ b/testing/internal/e2e/tests/static_with_vault/connect_authz_token_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_with_vault_test import ( diff --git a/testing/internal/e2e/tests/static_with_vault/connect_ssh_test.go b/testing/internal/e2e/tests/static_with_vault/connect_ssh_test.go index 266e5a411..14ff5ffb2 100644 --- a/testing/internal/e2e/tests/static_with_vault/connect_ssh_test.go +++ b/testing/internal/e2e/tests/static_with_vault/connect_ssh_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_with_vault_test import ( diff --git a/testing/internal/e2e/tests/static_with_vault/connect_test.go b/testing/internal/e2e/tests/static_with_vault/connect_test.go index 060ad0fd4..b55dd5ca8 100644 --- a/testing/internal/e2e/tests/static_with_vault/connect_test.go +++ b/testing/internal/e2e/tests/static_with_vault/connect_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_with_vault_test import ( diff --git a/testing/internal/e2e/tests/static_with_vault/credential_store_test.go b/testing/internal/e2e/tests/static_with_vault/credential_store_test.go index c29749193..54ceccc6e 100644 --- a/testing/internal/e2e/tests/static_with_vault/credential_store_test.go +++ b/testing/internal/e2e/tests/static_with_vault/credential_store_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_with_vault_test import ( diff --git a/testing/internal/e2e/tests/static_with_vault/env_test.go b/testing/internal/e2e/tests/static_with_vault/env_test.go index 3e9fd6ac1..7a80e875f 100644 --- a/testing/internal/e2e/tests/static_with_vault/env_test.go +++ b/testing/internal/e2e/tests/static_with_vault/env_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package static_with_vault_test import "github.com/kelseyhightower/envconfig" diff --git a/testing/internal/e2e/tests/static_with_vault/testdata/boundary-controller-policy.hcl b/testing/internal/e2e/tests/static_with_vault/testdata/boundary-controller-policy.hcl index 429177c01..ae4624096 100644 --- a/testing/internal/e2e/tests/static_with_vault/testdata/boundary-controller-policy.hcl +++ b/testing/internal/e2e/tests/static_with_vault/testdata/boundary-controller-policy.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + path "auth/token/lookup-self" { capabilities = ["read"] } diff --git a/testing/internal/e2e/vault/env.go b/testing/internal/e2e/vault/env.go index 31cb09cdf..32621a993 100644 --- a/testing/internal/e2e/vault/env.go +++ b/testing/internal/e2e/vault/env.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import "github.com/kelseyhightower/envconfig" diff --git a/testing/internal/e2e/vault/vault.go b/testing/internal/e2e/vault/vault.go index 2e4eaaa8e..8da93e210 100644 --- a/testing/internal/e2e/vault/vault.go +++ b/testing/internal/e2e/vault/vault.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package vault provides methods for commonly used vault actions that are used in end-to-end tests. package vault diff --git a/testing/vault/docs.go b/testing/vault/docs.go index 31ff43b6b..aeb77a2ee 100644 --- a/testing/vault/docs.go +++ b/testing/vault/docs.go @@ -1,2 +1,5 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package vault is a package meant for internal testing only. The interfaces may change or be removed at any time without warning. package vault diff --git a/testing/vault/vault.go b/testing/vault/vault.go index 8521df648..1cf0ffede 100644 --- a/testing/vault/vault.go +++ b/testing/vault/vault.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vault import ( diff --git a/tools/tools.go b/tools/tools.go index 62fd7a388..d5e6f30bd 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 // +build tools diff --git a/version/cgo.go b/version/cgo.go index 91d3dd97b..c8c65fb8c 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 // +build cgo diff --git a/version/feature_manager.go b/version/feature_manager.go index 0628d9e76..e99d337f7 100644 --- a/version/feature_manager.go +++ b/version/feature_manager.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/version/feature_manager_test.go b/version/feature_manager_test.go index c01395ffc..882021227 100644 --- a/version/feature_manager_test.go +++ b/version/feature_manager_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/version/testing.go b/version/testing.go index 15baad09b..b9ccdd95a 100644 --- a/version/testing.go +++ b/version/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/version/version.go b/version/version.go index 479f097c3..3312b8356 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 1df564d65..5c354cfff 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/version/version_test.go b/version/version_test.go index 0327cd2c0..045f4c60b 100644 --- a/version/version_test.go +++ b/version/version_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/website/.stylelintrc.js b/website/.stylelintrc.js index 497a1c999..01d3cc170 100644 --- a/website/.stylelintrc.js +++ b/website/.stylelintrc.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + module.exports = { ...require('@hashicorp/platform-cli/config/stylelint.config'), /* Specify overrides here */ diff --git a/website/public/data/vault/boundary-controller-policy.hcl b/website/public/data/vault/boundary-controller-policy.hcl index d8c920b33..894eb4c69 100644 --- a/website/public/data/vault/boundary-controller-policy.hcl +++ b/website/public/data/vault/boundary-controller-policy.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # Allow Boundary to read and verify the properties of the token. This is # provided by the "default" policy. path "auth/token/lookup-self" { diff --git a/website/public/ie-warning.js b/website/public/ie-warning.js index 048cc224b..08d106044 100644 --- a/website/public/ie-warning.js +++ b/website/public/ie-warning.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + !(function () { 'use strict' diff --git a/website/redirects.js b/website/redirects.js index 24db97fb9..ab745f0dc 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 = [ // define your custom redirects within this file. // vercel's redirect documentation: https://vercel.com/docs/project-configuration#project-configuration/redirects diff --git a/website/scripts/should-build.sh b/website/scripts/should-build.sh index b2c0146c1..78549ca18 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 79599488d..e36bd9c41 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 c66af8013..dc1044b19 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 #