Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update module github.com/hashicorp/vault to v1.18.2 #99

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 29, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/hashicorp/vault v1.2.1-0.20240208012854-90c1515f84d3 -> v1.18.2 age adoption passing confidence

Release Notes

hashicorp/vault (github.com/hashicorp/vault)

v1.18.2

Compare Source

1.18.2

November 21, 2024

SECURITY:

  • raft/snapshotagent (enterprise): upgrade raft-snapshotagent to v0.0.0-20241115202008-166203013d8e

CHANGES:

  • auth/azure: Update plugin to v0.19.2 [GH-28848]
  • core/ha (enterprise): Failed attempts to become a performance standby node are now using an exponential backoff instead of a
    10 second delay in between retries. The backoff starts at 2s and increases by a factor of two until reaching
    the maximum of 16s. This should make unsealing of the node faster in some cases.
  • login (enterprise): Return a 500 error during logins when performance standby nodes make failed gRPC requests to the active node. [GH-28807]

FEATURES:

  • Product Usage Reporting: Added product usage reporting, which collects anonymous, numerical, non-sensitive data about Vault secrets usage, and adds it to the existing utilization reports. See the [docs] for more info [GH-28858]

IMPROVEMENTS:

  • secret/pki: Introduce a new value always_enforce_err within leaf_not_after_behavior to force the error in all circumstances such as CA issuance and ACME requests if requested TTL values are beyond the issuer's NotAfter. [GH-28907]
  • secrets-sync (enterprise): No longer attempt to unsync a random UUID secret name in GCP upon destination creation.
  • ui: Adds navigation for LDAP hierarchical roles [GH-28824]
  • website/docs: changed outdated reference to consul-helm repository to consul-k8s repository. [GH-28825]

BUG FIXES:

  • auth/ldap: Fixed an issue where debug level logging was not emitted. [GH-28881]
  • core: Improved an internal helper function that sanitizes paths by adding a check for leading backslashes
    in addition to the existing check for leading slashes. [GH-28878]
  • secret/pki: Fix a bug that prevents PKI issuer field enable_aia_url_templating
    to be set to false. [GH-28832]
  • secrets-sync (enterprise): Fixed issue where secret-key granularity destinations could sometimes cause a panic when loading a sync status.
  • secrets/aws: Fix issue with static credentials not rotating after restart or leadership change. [GH-28775]
  • secrets/ssh: Return the flag allow_empty_principals in the read role api when key_type is "ca" [GH-28901]
  • secrets/transform (enterprise): Fix nil panic when accessing a partially setup database store.
  • secrets/transit: Fix a race in which responses from the key update api could contain results from another subsequent update [GH-28839]
  • ui: Fixes rendering issues of LDAP dynamic and static roles with the same name [GH-28824]

v1.18.1

Compare Source

1.18.1

October 30, 2024

CHANGES:

  • auth/azure: Update plugin to v0.19.1 [GH-28712]
  • secrets/azure: Update plugin to v0.20.1 [GH-28699]
  • secrets/openldap: Update plugin to v0.14.1 [GH-28479]
  • secrets/openldap: Update plugin to v0.14.2 [GH-28704]
  • secrets/openldap: Update plugin to v0.14.3 [GH-28780]

IMPROVEMENTS:

  • core: Add a mount tuneable that trims trailing slashes of request paths during POST. Needed to support CMPv2 in PKI. [GH-28752]
  • raft/snapshotagent (enterprise): upgrade raft-snapshotagent to v0.0.0-20241003195753-88fef418d705
  • ui: Add button to copy secret path in kv v1 and v2 secrets engines [GH-28629]
  • ui: Adds copy button to identity entity, alias and mfa method IDs [GH-28742]

BUG FIXES:

  • agent: Fix chown error running agent on Windows with an auto-auth file sinks. [GH-28748]
  • audit: Prevent users from enabling multiple audit devices of file type with the same file_path to write to. [GH-28751]
  • cli: Fixed a CLI precedence issue where -agent-address didn't override VAULT_AGENT_ADDR as it should [GH-28574]
  • core/seal (enterprise): Fix bug that caused seal generation information to be replicated, which prevented disaster recovery and performance replication clusters from using their own seal high-availability configuration.
  • core/seal: Fix an issue that could cause reading from sys/seal-backend-status to return stale information. [GH-28631]
  • core: Fixed panic seen when performing help requests without /v1/ in the URL. [GH-28669]
  • kmip (enterprise): Use the default KMIP port for IPv6 addresses missing a port, for the listen_addrs configuration field, in order to match the existing IPv4 behavior
  • namespaces (enterprise): Fix issue where namespace patch requests to a performance secondary would not patch the namespace's metadata.
  • proxy: Fix chown error running proxy on Windows with an auto-auth file sink. [GH-28748]
  • secrets/pki: Address issue with ACME HTTP-01 challenges failing for IPv6 IPs due to improperly formatted URLs [GH-28718]
  • ui: No longer running decodeURIComponent on KVv2 list view allowing percent encoded data-octets in path name. [GH-28698]

v1.18.0

Compare Source

CHANGES:

  • activity (enterprise): filter all fields in client count responses by the request namespace [GH-27790]
  • activity (enterprise): remove deprecated fields distinct_entities and non_entity_tokens [GH-27830]
  • activity log: Deprecated the field "default_report_months". Instead, the billing start time will be used to determine the start time
    when querying the activity log endpoints. [GH-27350]
  • activity log: Deprecates the current_billing_period field for /sys/internal/counters/activity. The default start time
    will automatically be set the billing period start date. [GH-27426]
  • activity: The activity export API now requires the sudo ACL capability. [GH-27846]
  • activity: The activity export API now responds with a status of 204 instead 400 when no data exists within the time range specified by start_time and end_time. [GH-28064]
  • activity: The startTime will be set to the start of the current billing period by default.
    The endTime will be set to the end of the current month. This applies to /sys/internal/counters/activity,
    /sys/internal/counters/activity/export, and the vault operator usage command that utilizes /sys/internal/counters/activity. [GH-27379]
  • api: Update backoff/v3 to backoff/v4.3.0 [GH-26868]
  • auth/alicloud: Update plugin to v0.19.0 [GH-28263]
  • auth/azure: Update plugin to v0.19.0 [GH-28294]
  • auth/cf: Update plugin to v0.18.0 [GH-27724]
  • auth/cf: Update plugin to v0.19.0 [GH-28266]
  • auth/gcp: Update plugin to v0.19.0 [GH-28366]
  • auth/jwt: Update plugin to v0.21.0 [GH-27498]
  • auth/jwt: Update plugin to v0.22.0 [GH-28349]
  • auth/kerberos: Update plugin to v0.13.0 [GH-28264]
  • auth/kubernetes: Update plugin to v0.20.0 [GH-28289]
  • auth/oci: Update plugin to v0.17.0 [GH-28307]
  • cli: The undocumented -dev-three-node and -dev-four-cluster CLI options have been removed. [GH-27578]
  • consul-template: updated to version 0.39.1 [GH-27799]
  • core(enterprise): Updated the following two control group related errors responses to respond with response code 400 instead of 500: control group: could not find token, and control group: token is not a valid control group token.
  • core: Bump Go version to 1.22.7
  • database/couchbase: Update plugin to v0.12.0 [GH-28327]
  • database/elasticsearch: Update plugin to v0.16.0 [GH-28277]
  • database/mongodbatlas: Update plugin to v0.13.0 [GH-28268]
  • database/redis-elasticache: Update plugin to v0.5.0 [GH-28293]
  • database/redis: Update plugin to v0.4.0 [GH-28404]
  • database/snowflake: Update plugin to v0.12.0 [GH-28275]
  • sdk: Upgrade to go-secure-stdlib/[email protected], which also bumps github.com/docker/docker to v26.1.5+incompatible [GH-28269]
  • secrets/ad: Update plugin to v0.19.0 [GH-28361]
  • secrets/alicloud: Update plugin to v0.18.0 [GH-28271]
  • secrets/azure: Update plugin to v0.19.2 [GH-27652]
  • secrets/azure: Update plugin to v0.20.0 [GH-28267]
  • secrets/gcp: Update plugin to v0.20.0 [GH-28324]
  • secrets/gcpkms: Update plugin to v0.18.0 [GH-28300]
  • secrets/gcpkms: Update plugin to v0.19.0 [GH-28360]
  • secrets/kubernetes: Update plugin to v0.9.0 [GH-28287]
  • secrets/kv: Update plugin to v0.20.0 [GH-28334]
  • secrets/mongodbatlas: Update plugin to v0.13.0 [GH-28348]
  • secrets/openldap: Update plugin to v0.14.0 [GH-28325]
  • secrets/ssh: Add a flag, allow_empty_principals to allow keys or certs to apply to any user/principal. [GH-28466]
  • secrets/terraform: Update plugin to v0.10.0 [GH-28312]
  • secrets/terraform: Update plugin to v0.9.0 [GH-28016]
  • ui: Uses the internal/counters/activity/export endpoint for client count export data. [GH-27455]

FEATURES:

  • AWS secrets engine STS session tags support: Adds support for setting STS
    session tags when generating temporary credentials using the AWS secrets
    engine. [GH-27620]
  • Adaptive Overload Protection (enterprise): Enables Adaptive Overload Protection
    for write requests as a GA feature (enabled by default) for Integrated Storage.
  • Audit Entry Exclusion: Audit devices support excluding fields from entries being written to them, with expression-based rules (powered by go-bexpr) to determine when the specific fields are excluded.
  • Workload Identity Federation UI for AWS (enterprise): Add WIF fields to AWS secrets engine. [GH-28148]
  • KV v2 Patch/Subkey (enterprise): Adds GUI support to read the subkeys of a KV v2 secret and patch (partially update) secret data. [GH-28212]
  • Self-Managed Static Roles: Self-Managed Static Roles are now supported for select SQL database engines (Postgres, Oracle). Requires Vault Enterprise. [GH-28199]
  • Vault Minimal Version: Add the ability to build a minimal version of Vault
    with only core features using the BUILD_MINIMAL environment variable. [GH-27394]
  • Vault PKI 3GPP CMPv2 Server (Enterprise): Support for the PKI 3GPP CMPv2 certificate management protocol has been added to the Vault PKI Plugin. This allows standard CMPv2 clients to request certificates from a Vault server with no knowledge of Vault APIs.

IMPROVEMENTS:

  • activity log: Changes how new client counts in the current month are estimated, in order to return more
    visibly sensible totals. [GH-27547]
  • activity: The activity export API can now be called in non-root namespaces. Resulting records will be filtered to include the requested namespace (via X-Vault-Namespace header or within the path) and all child namespaces. [GH-27846]
  • activity: The activity export API now includes identity metadata about entity clients. [GH-28064]
  • activity: /sys/internal/counters/activity will now include a warning if the specified usage period contains estimated client counts. [GH-28068]
  • agent/sink: Allow configuration of the user and group ID of the file sink. [GH-27123]
  • agent: Add metric (vault.agent.authenticated) that is set to 1 when vault agent has a valid token and zero if it does not. [GH-26570]
  • agent: Add the ability to dump pprof to the filesystem using SIGUSR2 [GH-27510]
  • audit: Adds TRACE logging to log request/response under certain circumstances, and further improvements to the audit subsystem. [GH-28056]
  • audit: Ensure that any underyling errors from audit devices are logged even if we consider auditing to be a success. [GH-27809]
  • audit: Internal implementation changes to the audit subsystem which improve performance. [GH-27952]
  • audit: Internal implementation changes to the audit subsystem which improve relability. [GH-28286]
  • audit: sinks (file, socket, syslog) will attempt to log errors to the server operational
    log before returning (if there are errors to log, and the context is done). [GH-27859]
  • auth/cert: Cache full list of role trust information separately to avoid
    eviction, and avoid duplicate loading during multiple simultaneous logins on
    the same role. [GH-27902]
  • cli: Add a --dev-no-kv flag to prevent auto mounting a key-value secret backend when running a dev server [GH-16974]
  • cli: Allow vault CLI HTTP headers to be specified using the JSON-encoded VAULT_HEADERS environment variable [GH-21993]
  • cli: vault operator usage will now include a warning if the specified usage period contains estimated client counts. [GH-28068]
  • core/activity: Ensure client count queries that include the current month return consistent results by sorting the clients before performing estimation [GH-28062]
  • core/cli: Example 'help' pages for vault read / write docs improved. [GH-19064]
  • core/identity: allow identity backend to be tuned using standard secrets backend tuning parameters. [GH-14723]
  • core/metrics: ensure core HA metrics are always output to Prometheus. [GH-27966]
  • core: log at level ERROR rather than INFO when all seals are unhealthy. [GH-28564]
  • core: make authLock and mountsLock in Core configurable via the detect_deadlocks configuration parameter. [GH-27633]
  • database/postgres: Add new fields to the plugin's config endpoint for client certificate authentication. [GH-28024]
  • db/cassandra: Add disable_host_initial_lookup option to backend, allowing the disabling of initial host lookup. [GH-9733]
  • identity: alias metadata is now returned when listing entity aliases [GH-26073]
  • license utilization reporting (enterprise): Auto-roll billing start date. [GH-27656]
  • physical/raft: Log when the MAP_POPULATE mmap flag gets disabled before opening the database. [GH-28526]
  • proxy/sink: Allow configuration of the user and group ID of the file sink. [GH-27123]
  • proxy: Add the ability to dump pprof to the filesystem using SIGUSR2 [GH-27510]
  • raft-snapshot (enterprise): add support for managed identity credentials for azure snapshots
  • raft/autopilot: Persist Raft server versions so autopilot always knows the versions of all servers in the cluster. Include server versions in the Raft bootstrap challenge answer so autopilot immediately knows the versions of new nodes. [GH-28186]
  • sdk/helper: Allow setting environment variables when using NewTestDockerCluster [GH-27457]
  • secrets-sync (enterprise): add support for specifying the replication regions for secret storage within GCP Secret Manager destinations
  • secrets-sync (enterprise): add support for syncing secrets to github environments within repositories
  • secrets-sync (enterprise): add support for syncing secrets to github organizations (beta)
  • secrets/database/hana: Update HANA db client to v1.10.1 [GH-27950]
  • secrets/database: Add support for GCP CloudSQL private IP's. [GH-26828]
  • secrets/pki: Key Usage can now be set on intermediate and root CAs, and CSRs generated by the PKI secret's engine. [GH-28237]
  • secrets/pki: Track the last time auto-tidy ran to address auto-tidy not running if the auto-tidy interval is longer than scheduled Vault restarts. [GH-28488]
  • serviceregistration: Added support for Consul ServiceMeta tags from config file from the new service_meta config field. [GH-11084]
  • storage/azure: Updated metadata endpoint to GetMSIEndpoint, which supports more than just the metadata service. [GH-10624]
  • storage/dynamodb: Speed up list and delete of large directories by only requesting keys from DynamoDB [GH-21159]
  • storage/etcd: Update etcd3 client to v3.5.13 to allow use of TLSv1.3. [GH-26660]
  • storage/raft: Bump raft to v1.7.0 which includes pre-vote. This should make clusters more stable during network partitions. [GH-27605]
  • storage/raft: Improve autopilot logging on startup to show config values clearly and avoid spurious logs [GH-27464]
  • ui/secrets-sync: Hide Secrets Sync from the sidebar nav if user does not have access to the feature. [GH-27262]
  • ui: AWS credentials form sets credential_type from backing role [GH-27405]
  • ui: Creates separate section for updating sensitive creds for Secrets sync create/edit view. [GH-27538]
  • ui: For AWS and SSH secret engines hide mount configuration details in toggle and display configuration details or cta. [GH-27831]
  • ui: Mask obfuscated fields when creating/editing a Secrets sync destination. [GH-27348]
  • ui: Move secret-engine configuration create/edit from routing vault/settings/secrets/configure/<backend> to vault/secrets/<backend>/configuration/edit [GH-27918]
  • ui: Remove deprecated current_billing_period from dashboard activity log request [GH-27559]
  • ui: Update the client count dashboard to use API namespace filtering and other UX improvements [GH-28036]
  • ui: remove initial start/end parameters on the activity call for client counts dashboard. [GH-27816]
  • ui: simplify the date range editing experience in the client counts dashboard. [GH-27796]
  • website/docs: Added API documentation for Azure Secrets Engine delete role [GH-27883]
  • website/docs: corrected invalid json in sample payload for azure secrets engine create/update role [GH-28076]

BUG FIXES:

  • activity: The sys/internal/counters/activity endpoint will return current month data when the end_date parameter is set to a future date. [GH-28042]
  • agent: Fixed an issue causing excessive CPU usage during normal operation [GH-27518]
  • auth/appid, auth/cert, auth/github, auth/ldap, auth/okta, auth/radius, auth/userpass: fixed an issue with policy name normalization that would prevent a token associated with a policy containing an uppercase character to be renewed. [GH-16484]
  • auth/aws: fixes an issue where not supplying an external id was interpreted as an empty external id [GH-27858]
  • auth/cert: During certificate validation, OCSP requests are debug logged even if Vault's log level is above DEBUG. [GH-28450]
  • auth/cert: Merge error messages returned in login failures and include error when present [GH-27202]
  • auth/cert: Use subject's serial number, not issuer's within error message text in OCSP request errors [GH-27696]
  • auth/cert: When using ocsp_ca_certificates, an error was produced though extra certs validation succeeded. [GH-28597]
  • auth/cert: ocsp_ca_certificates field was not honored when validating OCSP responses signed by a CA that did not issue the certificate. [GH-28309]
  • auth/token: Fix token TTL calculation so that it uses max_lease_ttl tune value for tokens created via auth/token/create. [GH-28498]
  • auth/token: fixes an edge case bug that "identity_policies" is nil and causes cli vault login error [GH-17007]
  • auth: Updated error handling for missing login credentials in AppRole and UserPass auth methods to return a 400 error instead of a 500 error. [GH-28441]
  • cli: Fixed an erroneous warning appearing about -address not being set when it is. [GH-27265]
  • cli: Fixed issue with vault hcp connect where HCP resources with uppercase letters were inaccessible when entering the correct project name. [GH-27694]
  • command: The vault secrets move and vault auth move command will no longer attempt to write to storage on performance standby nodes. [GH-28059]
  • config: Vault TCP listener config now correctly supports the documented proxy_protocol_behavior
    setting of 'deny_unauthorized' [GH-27459]
  • core (enterprise): Fix 500 errors that occurred querying sys/internal/ui/mounts for a mount prefixed by a namespace path when path filters are configured. [GH-27939]
  • core (enterprise): Fix HTTP redirects in namespaces to use the correct path and (in the case of event subscriptions) the correct URI scheme. [GH-27660]
  • core (enterprise): Fix deletion of MFA login-enforcement configurations on standby nodes
  • core/audit: Audit logging a Vault request/response checks if the existing context
    is cancelled and will now use a new context with a 5 second timeout.
    If the existing context is cancelled a new context, will be used. [GH-27531]
  • core/config: fix issue when using proxy_protocol_behavior with deny_unauthorized,
    which causes the Vault TCP listener to close after receiving an untrusted upstream proxy connection. [GH-27589]
  • core/identity: Fixed an issue where deleted/reassigned entity-aliases were not removed from in-memory database. [GH-27750]
  • core/seal (enterprise): Fix bug that caused seal generation information to be replicated, which prevented disaster recovery and performance replication clusters from using their own seal high-availability configuration.
  • core: Fixed an issue where maximum request duration timeout was not being added to all requests containing strings sys/monitor and sys/events. With this change, timeout is now added to all requests except monitor and events endpoint. [GH-28230]
  • core: Fixed an issue with performance standbys not being able to handle rotate root requests. [GH-27631]
  • database/postgresql: Fix potential error revoking privileges in postgresql database secrets engine when a schema contains special characters [GH-28519]
  • databases: fix issue where local timezone was getting lost when using a rotation schedule cron [GH-28509]
  • helper/pkcs7: Fix parsing certain messages containing only certificates [GH-27435]
  • identity/oidc: prevent JWKS from being generated by multiple concurrent requests [GH-27929]
  • licensing (enterprise): fixed issue where billing start date might not be correctly updated on performance standbys
  • proxy/cache (enterprise): Fixed a data race that could occur while tracking capabilities in Proxy's static secret cache. [GH-28494]
  • proxy/cache (enterprise): Fixed an issue where Proxy with static secret caching enabled would not correctly handle requests to older secret versions for KVv2 secrets. Proxy's static secret cache now properly handles all requests relating to older versions for KVv2 secrets. [GH-28207]
  • proxy/cache (enterprise): Fixed an issue where Proxy would not correctly update KV secrets when talking to a perf standby. Proxy will now attempt to forward requests to update secrets triggered by events to the active node. Note that this requires allow_forwarding_via_header to be configured on the cluster. [GH-27891]
  • proxy/cache (enterprise): Fixed an issue where cached static secrets could fail to update if the secrets belonged to a non-root namespace. [GH-27730]
  • proxy: Fixed an issue causing excessive CPU usage during normal operation [GH-27518]
  • raft/autopilot: Fixed panic that may occur during shutdown [GH-27726]
  • replication (enterprise): fix cache invalidation issue leading to namespace custom metadata not being shown correctly on performance secondaries
  • secrets-sync (enterprise): Destination set/remove operations will no longer be blocked as "purge in progress" after a purge job ended in failure.
  • secrets-sync (enterprise): Fix KV secret access sometimes being denied, due to a double forward-slash (//) in the mount path, when the token should otherwise have access.
  • secrets-sync (enterprise): Normalize custom_tag keys and values for recoverable invalid characters.
  • secrets-sync (enterprise): Normalize secret key names before storing the external_name in a secret association.
  • secrets-sync (enterprise): Patching github sync destination credentials will properly update and save the new credentials.
  • secrets-sync (enterprise): Properly remove tags from secrets in AWS when they are removed from the source association
  • secrets-sync (enterprise): Return an error immediately on destination creation when providing invalid custom_tags based on destination type.
  • secrets-sync (enterprise): Return more accurate error code for invalid connection details
  • secrets-sync (enterprise): Secondary nodes in a cluster now properly check activation-flags values.
  • secrets-sync (enterprise): Skip invalid GitHub repository names when creating destinations
  • secrets-sync (enterprise): Validate corresponding GitHub app parameters app_name and installation_id are set
  • secrets/database: Skip connection verification on reading existing DB connection configuration [GH-28139]
  • secrets/identity (enterprise): Fix a bug that can cause DR promotion to fail in rare cases where a PR secondary has inconsistent alias information in storage.
  • secrets/pki: fix lack of serial number to a certificate read resulting in a server side error. [GH-27681]
  • secrets/transit (enterprise): Fix an issue that caused input data be returned as part of generated CMAC values.
  • storage/azure: Fix invalid account name initialization bug [GH-27563]
  • storage/raft (enterprise): Fix issue with namespace cache not getting cleared on snapshot restore, resulting in namespaces not found in the snapshot being inaccurately represented by API responses. [GH-27474]
  • storage/raft: Fix auto_join not working with mDNS provider. [GH-25080]
  • sys: Fix a bug where mounts of external plugins that were registered before Vault v1.0.0 could not be tuned to
    use versioned plugins. [GH-27881]
  • ui: Allow creation of session_token type roles for AWS secret backend [GH-27424]
  • ui: Display an error and force a timeout when TOTP passcode is incorrect [GH-27574]
  • ui: Ensure token expired banner displays when batch token expires [GH-27479]
  • ui: Fix UI improperly checking capabilities for enabling performance and dr replication [GH-28371]
  • ui: Fix cursor jump on KVv2 json editor that would occur after pressing ENTER. [GH-27569]
  • ui: fix default_role input missing from oidc auth method configuration form [GH-28539]
  • ui: fix issue where enabling then disabling "Tidy ACME" in PKI results in failed API call. [GH-27742]
  • ui: fix namespace picker not working when in small screen where the sidebar is collapsed by default. [GH-27728]
  • ui: fixes renew-self being called right after login for non-renewable tokens [GH-28204]
  • ui: fixes toast (flash) alert message saying "created" when deleting a kv v2 secret [GH-28093]

v1.18.0-rc1

Compare Source

September 18, 2024

CHANGES:

  • activity (enterprise): filter all fields in client count responses by the request namespace [GH-27790]
  • activity (enterprise): remove deprecated fields distinct_entities and non_entity_tokens [GH-27830]
  • activity log: Deprecated the field "default_report_months". Instead, the billing start time will be used to determine the start time
    when querying the activity log endpoints. [GH-27350]
  • activity log: Deprecates the current_billing_period field for /sys/internal/counters/activity. The default start time
    will automatically be set the billing period start date. [GH-27426]
  • activity: The activity export API now requires the sudo ACL capability. [GH-27846]
  • activity: The activity export API now responds with a status of 204 instead 400 when no data exists within the time range specified by start_time and end_time. [GH-28064]
  • activity: The startTime will be set to the start of the current billing period by default.
    The endTime will be set to the end of the current month. This applies to /sys/internal/counters/activity,
    /sys/internal/counters/activity/export, and the vault operator usage command that utilizes /sys/internal/counters/activity. [GH-27379]
  • api: Update backoff/v3 to backoff/v4.3.0 [GH-26868]
  • auth/alicloud: Update plugin to v0.19.0 [GH-28263]
  • auth/azure: Update plugin to v0.19.0 [GH-28294]
  • auth/cf: Update plugin to v0.18.0 [GH-27724]
  • auth/cf: Update plugin to v0.19.0 [GH-28266]
  • auth/gcp: Update plugin to v0.19.0 [GH-28366]
  • auth/jwt: Update plugin to v0.21.0 [GH-27498]
  • auth/jwt: Update plugin to v0.22.0 [GH-28349]
  • auth/kerberos: Update plugin to v0.13.0 [GH-28264]
  • auth/kubernetes: Update plugin to v0.20.0 [GH-28289]
  • auth/oci: Update plugin to v0.17.0 [GH-28307]
  • cli: The undocumented -dev-three-node and -dev-four-cluster CLI options have been removed. [GH-27578]
  • consul-template: updated to version 0.39.1 [GH-27799]
  • core(enterprise): Updated the following two control group related errors responses to respond with response code 400 instead of 500: control group: could not find token, and control group: token is not a valid control group token.
  • core: Bump Go version to 1.22.7
  • database/couchbase: Update plugin to v0.12.0 [GH-28327]
  • database/elasticsearch: Update plugin to v0.16.0 [GH-28277]
  • database/mongodbatlas: Update plugin to v0.13.0 [GH-28268]
  • database/redis-elasticache: Update plugin to v0.5.0 [GH-28293]
  • database/redis: Update plugin to v0.4.0 [GH-28404]
  • database/snowflake: Update plugin to v0.12.0 [GH-28275]
  • sdk: Upgrade to go-secure-stdlib/[email protected], which also bumps github.com/docker/docker to v26.1.5+incompatible [GH-28269]
  • secrets/ad: Update plugin to v0.19.0 [GH-28361]
  • secrets/alicloud: Update plugin to v0.18.0 [GH-28271]
  • secrets/azure: Update plugin to v0.19.2 [GH-27652]
  • secrets/azure: Update plugin to v0.20.0 [GH-28267]
  • secrets/gcp: Update plugin to v0.20.0 [GH-28324]
  • secrets/gcpkms: Update plugin to v0.18.0 [GH-28300]
  • secrets/gcpkms: Update plugin to v0.19.0 [GH-28360]
  • secrets/kubernetes: Update plugin to v0.9.0 [GH-28287]
  • secrets/kv: Update plugin to v0.20.0 [GH-28334]
  • secrets/mongodbatlas: Update plugin to v0.13.0 [GH-28348]
  • secrets/openldap: Update plugin to v0.14.0 [GH-28325]
  • secrets/terraform: Update plugin to v0.10.0 [GH-28312]
  • secrets/terraform: Update plugin to v0.9.0 [GH-28016]
  • ui: Uses the internal/counters/activity/export endpoint for client count export data. [GH-27455]

FEATURES:

  • AWS secrets engine STS session tags support: Adds support for setting STS
    session tags when generating temporary credentials using the AWS secrets
    engine. [GH-27620]
  • Adaptive Overload Protection (enterprise): Enables Adaptive Overload Protection
    for write requests as a GA feature (enabled by default) for Integrated Storage.
  • Audit Entry Exclusion: Audit devices support excluding fields from entries being written to them, with expression-based rules (powered by go-bexpr) to determine when the specific fields are excluded.
  • Workload Identity Federation UI for AWS (enterprise): Add WIF fields to AWS secrets engine. [GH-28148]
  • KV v2 Patch/Subkey (enterprise): Adds GUI support to read the subkeys of a KV v2 secret and patch (partially update) secret data. [GH-28212]
  • Self-Managed Static Roles: Self-Managed Static Roles are now supported for select SQL database engines (Postgres, Oracle). Requires Vault Enterprise. [GH-28199]
  • Vault Minimal Version: Add the ability to build a minimal version of Vault
    with only core features using the BUILD_MINIMAL environment variable. [GH-27394]
  • Vault PKI 3GPP CMPv2 Server (Enterprise): Support for the PKI 3GPP CMPv2 certificate management protocol has been added to the Vault PKI Plugin. This allows standard CMPv2 clients to request certificates from a Vault server with no knowledge of Vault APIs.

IMPROVEMENTS:

  • activity log: Changes how new client counts in the current month are estimated, in order to return more
    visibly sensible totals. [GH-27547]
  • activity: The activity export API can now be called in non-root namespaces. Resulting records will be filtered to include the requested namespace (via X-Vault-Namespace header or within the path) and all child namespaces. [GH-27846]
  • activity: The activity export API now includes identity metadata about entity clients. [GH-28064]
  • activity: /sys/internal/counters/activity will now include a warning if the specified usage period contains estimated client counts. [GH-28068]
  • agent/sink: Allow configuration of the user and group ID of the file sink. [GH-27123]
  • agent: Add metric (vault.agent.authenticated) that is set to 1 when vault agent has a valid token and zero if it does not. [GH-26570]
  • agent: Add the ability to dump pprof to the filesystem using SIGUSR2 [GH-27510]
  • audit: Adds TRACE logging to log request/response under certain circumstances, and further improvements to the audit subsystem. [GH-28056]
  • audit: Ensure that any underyling errors from audit devices are logged even if we consider auditing to be a success. [GH-27809]
  • audit: Internal implementation changes to the audit subsystem which improve performance. [GH-27952]
  • audit: Internal implementation changes to the audit subsystem which improve relability. [GH-28286]
  • audit: sinks (file, socket, syslog) will attempt to log errors to the server operational
    log before returning (if there are errors to log, and the context is done). [GH-27859]
  • auth/cert: Cache full list of role trust information separately to avoid
    eviction, and avoid duplicate loading during multiple simultaneous logins on
    the same role. [GH-27902]
  • cli: Add a --dev-no-kv flag to prevent auto mounting a key-value secret backend when running a dev server [GH-16974]
  • cli: Allow vault CLI HTTP headers to be specified using the JSON-encoded VAULT_HEADERS environment variable [GH-21993]
  • cli: vault operator usage will now include a warning if the specified usage period contains estimated client counts. [GH-28068]
  • core/activity: Ensure client count queries that include the current month return consistent results by sorting the clients before performing estimation [GH-28062]
  • core/cli: Example 'help' pages for vault read / write docs improved. [GH-19064]
  • core/identity: allow identity backend to be tuned using standard secrets backend tuning parameters. [GH-14723]
  • core/metrics: ensure core HA metrics are always output to Prometheus. [GH-27966]
  • core: make authLock and mountsLock in Core configurable via the detect_deadlocks configuration parameter. [GH-27633]
  • database/postgres: Add new fields to the plugin's config endpoint for client certificate authentication. [GH-28024]
  • db/cassandra: Add disable_host_initial_lookup option to backend, allowing the disabling of initial host lookup. [GH-9733]
  • identity: alias metadata is now returned when listing entity aliases [GH-26073]
  • license utilization reporting (enterprise): Auto-roll billing start date. [GH-27656]
  • proxy/sink: Allow configuration of the user and group ID of the file sink. [GH-27123]
  • proxy: Add the ability to dump pprof to the filesystem using SIGUSR2 [GH-27510]
  • raft-snapshot (enterprise): add support for managed identity credentials for azure snapshots
  • raft/autopilot: Persist Raft server versions so autopilot always knows the versions of all servers in the cluster. Include server versions in the Raft bootstrap challenge answer so autopilot immediately knows the versions of new nodes. [GH-28186]
  • sdk/helper: Allow setting environment variables when using NewTestDockerCluster [GH-27457]
  • secrets-sync (enterprise): add support for specifying the replication regions for secret storage within GCP Secret Manager destinations
  • secrets-sync (enterprise): add support for syncing secrets to github environments within repositories
  • secrets-sync (enterprise): add support for syncing secrets to github organizations (beta)
  • secrets/database/hana: Update HANA db client to v1.10.1 [GH-27950]
  • secrets/database: Add support for GCP CloudSQL private IP's. [GH-26828]
  • secrets/pki: Key Usage can now be set on intermediate and root CAs, and CSRs generated by the PKI secret's engine. [GH-28237]
  • serviceregistration: Added support for Consul ServiceMeta tags from config file from the new service_meta config field. [GH-11084]
  • storage/azure: Updated metadata endpoint to GetMSIEndpoint, which supports more than just the metadata service. [GH-10624]
  • storage/dynamodb: Speed up list and delete of large directories by only requesting keys from DynamoDB [GH-21159]
  • storage/etcd: Update etcd3 client to v3.5.13 to allow use of TLSv1.3. [GH-26660]
  • storage/raft: Bump raft to v1.7.0 which includes pre-vote. This should make clusters more stable during network partitions. [GH-27605]
  • storage/raft: Improve autopilot logging on startup to show config values clearly and avoid spurious logs [GH-27464]
  • ui/secrets-sync: Hide Secrets Sync from the sidebar nav if user does not have access to the feature. [GH-27262]
  • ui: AWS credentials form sets credential_type from backing role [GH-27405]
  • ui: Creates separate section for updating sensitive creds for Secrets sync create/edit view. [GH-27538]
  • ui: For AWS and SSH secret engines hide mount configuration details in toggle and display configuration details or cta. [GH-27831]
  • ui: Mask obfuscated fields when creating/editing a Secrets sync destination. [GH-27348]
  • ui: Move secret-engine configuration create/edit from routing vault/settings/secrets/configure/<backend> to vault/secrets/<backend>/configuration/edit [GH-27918]
  • ui: Remove deprecated current_billing_period from dashboard activity log request [GH-27559]
  • ui: Update the client count dashboard to use API namespace filtering and other UX improvements [GH-28036]
  • ui: remove initial start/end parameters on the activity call for client counts dashboard. [GH-27816]
  • ui: simplify the date range editing experience in the client counts dashboard. [GH-27796]
  • website/docs: Added API documentation for Azure Secrets Engine delete role [GH-27883]
  • website/docs: corrected invalid json in sample payload for azure secrets engine create/update role [GH-28076]

BUG FIXES:

  • activity: The sys/internal/counters/activity endpoint will return current month data when the end_date parameter is set to a future date. [GH-28042]
  • agent: Fixed an issue causing excessive CPU usage during normal operation [GH-27518]
  • auth/appid, auth/cert, auth/github, auth/ldap, auth/okta, auth/radius, auth/userpass: fixed an issue with policy name normalization that would prevent a token associated with a policy containing an uppercase character to be renewed. [GH-16484]
  • auth/aws: fixes an issue where not supplying an external id was interpreted as an empty external id [GH-27858]
  • auth/cert: Merge error messages returned in login failures and include error when present [GH-27202]
  • auth/cert: Use subject's serial number, not issuer's within error message text in OCSP request errors [GH-27696]
  • auth/cert: ocsp_ca_certificates field was not honored when validating OCSP responses signed by a CA that did not issue the certificate. [GH-28309]
  • auth/token: fixes an edge case bug that "identity_policies" is nil and causes cli vault login error [GH-17007]
  • cli: Fixed an erroneous warning appearing about -address not being set when it is. [GH-27265]
  • cli: Fixed issue with vault hcp connect where HCP resources with uppercase letters were inaccessible when entering the correct project name. [GH-27694]
  • command: The vault secrets move and vault auth move command will no longer attempt to write to storage on performance standby nodes. [GH-28059]
  • config: Vault TCP listener config now correctly supports the documented proxy_protocol_behavior
    setting of 'deny_unauthorized' [GH-27459]
  • core (enterprise): Fix 500 errors that occurred querying sys/internal/ui/mounts for a mount prefixed by a namespace path when path filters are configured. [GH-27939]
  • core (enterprise): Fix HTTP redirects in namespaces to use the correct path and (in the case of event subscriptions) the correct URI scheme. [GH-27660]
  • core (enterprise): Fix deletion of MFA login-enforcement configurations on standby nodes
  • core/audit: Audit logging a Vault request/response checks if the existing context
    is cancelled and will now use a new context with a 5 second timeout.
    If the existing context is cancelled a new context, will be used. [GH-27531]
  • core/config: fix issue when using proxy_protocol_behavior with deny_unauthorized,

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner September 29, 2024 07:19
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-vault-1.x branch from 0a32bb2 to 190cb17 Compare October 9, 2024 06:26
@renovate renovate bot changed the title fix(deps): update module github.com/hashicorp/vault to v1.17.6 fix(deps): update module github.com/hashicorp/vault to v1.18.0 Oct 9, 2024
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-vault-1.x branch from 190cb17 to a5ce4d2 Compare October 30, 2024 23:24
@renovate renovate bot changed the title fix(deps): update module github.com/hashicorp/vault to v1.18.0 fix(deps): update module github.com/hashicorp/vault to v1.18.1 Oct 30, 2024
Copy link
Contributor Author

renovate bot commented Oct 30, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 97 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.21 -> 1.23.3
github.com/hashicorp/vault/api v1.14.0 -> v1.15.0
github.com/hashicorp/vault/sdk v0.13.0 -> v0.14.0
golang.org/x/crypto v0.24.0 -> v0.27.0
cloud.google.com/go/compute v1.23.3 -> v1.28.0
cloud.google.com/go/compute/metadata v0.2.3 -> v0.5.0
cloud.google.com/go/iam v1.1.5 -> v1.2.0
cloud.google.com/go/kms v1.15.6 -> v1.19.0
cloud.google.com/go/monitoring v1.17.0 -> v1.21.0
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.1 -> v1.14.0
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.5.1 -> v1.7.0
github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.1 -> v1.10.0
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.1 -> v1.2.2
github.com/Microsoft/go-winio v0.6.1 -> v0.6.2
github.com/aliyun/alibaba-cloud-sdk-go v1.62.676 -> v1.63.12
github.com/aws/aws-sdk-go v1.49.22 -> v1.55.5
github.com/bgentry/speakeasy v0.1.0 -> v0.2.0
github.com/cenkalti/backoff/v4 v4.2.1 -> v4.3.0
github.com/cespare/xxhash/v2 v2.2.0 -> v2.3.0
github.com/docker/docker v25.0.5+incompatible -> v26.1.5+incompatible
github.com/docker/go-connections v0.4.0 -> v0.5.0
github.com/fatih/color v1.16.0 -> v1.17.0
github.com/go-jose/go-jose/v4 v4.0.1 -> v4.0.4
github.com/go-logr/logr v1.4.1 -> v1.4.2
github.com/go-openapi/analysis v0.21.4 -> v0.23.0
github.com/go-openapi/errors v0.20.4 -> v0.22.0
github.com/go-openapi/jsonpointer v0.20.0 -> v0.21.0
github.com/go-openapi/jsonreference v0.20.2 -> v0.21.0
github.com/go-openapi/loads v0.21.2 -> v0.22.0
github.com/go-openapi/spec v0.20.9 -> v0.21.0
github.com/go-openapi/strfmt v0.21.7 -> v0.23.0
github.com/go-openapi/swag v0.22.4 -> v0.23.0
github.com/go-openapi/validate v0.22.2 -> v0.24.0
github.com/go-test/deep v1.1.0 -> v1.1.1
github.com/golang-jwt/jwt/v5 v5.2.0 -> v5.2.1
github.com/google/s2a-go v0.1.7 -> v0.1.8
github.com/googleapis/enterprise-certificate-proxy v0.3.2 -> v0.3.4
github.com/googleapis/gax-go/v2 v2.12.0 -> v2.13.0
github.com/hashicorp/eventlogger v0.2.8 -> v0.2.10
github.com/hashicorp/go-kms-wrapping/wrappers/gcpckms/v2 v2.0.11 -> v2.0.12
github.com/hashicorp/go-kms-wrapping/wrappers/transit/v2 v2.0.11 -> v2.0.12
github.com/hashicorp/go-msgpack/v2 v2.1.1 -> v2.1.2
github.com/hashicorp/go-plugin v1.6.0 -> v1.6.1
github.com/hashicorp/go-retryablehttp v0.7.6 -> v0.7.7
github.com/hashicorp/go-secure-stdlib/plugincontainer v0.3.0 -> v0.4.0
github.com/hashicorp/go-version v1.6.0 -> v1.7.0
github.com/hashicorp/hcp-sdk-go v0.75.0 -> v0.101.0
github.com/hashicorp/raft v1.6.0 -> v1.7.1
github.com/hashicorp/vault-plugin-secrets-kv v0.17.0 -> v0.20.0
github.com/huandu/xstrings v1.4.0 -> v1.5.0
github.com/imdario/mergo v0.3.15 -> v0.3.16
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a -> v0.0.0-20231201235250-de7065d80cb9
github.com/jackc/pgtype v1.14.0 -> v1.14.3
github.com/jefferai/jsonx v1.0.0 -> v1.0.1
github.com/klauspost/compress v1.16.7 -> v1.17.8
github.com/miekg/dns v1.1.43 -> v1.1.50
github.com/okta/okta-sdk-golang/v2 v2.12.1 -> v2.20.0
github.com/opencontainers/image-spec v1.1.0-rc2.0.20221005185240-3a7f492d3f1b -> v1.1.0
github.com/pires/go-proxyproto v0.6.1 -> v0.8.0
github.com/prometheus/client_golang v1.14.0 -> v1.19.1
github.com/prometheus/client_model v0.4.0 -> v0.6.1
github.com/prometheus/common v0.37.0 -> v0.55.0
github.com/prometheus/procfs v0.8.0 -> v0.15.1
github.com/shopspring/decimal v1.3.1 -> v1.4.0
github.com/spf13/cast v1.5.1 -> v1.6.0
go.etcd.io/bbolt v1.3.7 -> v1.3.10
go.mongodb.org/mongo-driver v1.13.1 -> v1.16.1
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0 -> v0.54.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0 -> v0.54.0
go.opentelemetry.io/otel v1.23.1 -> v1.30.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.23.1 -> v1.28.0
go.opentelemetry.io/otel/metric v1.23.1 -> v1.30.0
go.opentelemetry.io/otel/sdk v1.23.1 -> v1.30.0
go.opentelemetry.io/otel/trace v1.23.1 -> v1.30.0
golang.org/x/exp v0.0.0-20231006140011-7918f672742d -> v0.0.0-20240506185415-9bf2ced13842
golang.org/x/mod v0.17.0 -> v0.21.0
golang.org/x/net v0.25.0 -> v0.29.0
golang.org/x/oauth2 v0.18.0 -> v0.23.0
golang.org/x/sync v0.7.0 -> v0.8.0
golang.org/x/sys v0.21.0 -> v0.25.0
golang.org/x/term v0.21.0 -> v0.24.0
golang.org/x/text v0.16.0 -> v0.18.0
golang.org/x/time v0.5.0 -> v0.6.0
google.golang.org/api v0.161.0 -> v0.197.0
google.golang.org/genproto v0.0.0-20240125205218-1f4bbc51befe -> v0.0.0-20240903143218-8af14fe29dc1
google.golang.org/genproto/googleapis/api v0.0.0-20240125205218-1f4bbc51befe -> v0.0.0-20240903143218-8af14fe29dc1
google.golang.org/genproto/googleapis/rpc v0.0.0-20240116215550-a9fa1716bcac -> v0.0.0-20240903143218-8af14fe29dc1
google.golang.org/grpc v1.61.0 -> v1.66.1
google.golang.org/protobuf v1.34.1 -> v1.34.2
gopkg.in/ini.v1 v1.66.2 -> v1.67.0
k8s.io/api v0.29.1 -> v0.31.0
k8s.io/apimachinery v0.29.1 -> v0.31.0
k8s.io/client-go v0.29.1 -> v0.31.0
k8s.io/klog/v2 v2.110.1 -> v2.130.1
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 -> v0.0.0-20240228011516-70dd3763d340
k8s.io/utils v0.0.0-20230726121419-3b25d923346b -> v0.0.0-20240711033017-18e509b52bc8
nhooyr.io/websocket v1.8.7 -> v1.8.11
sigs.k8s.io/yaml v1.3.0 -> v1.4.0

@renovate renovate bot force-pushed the renovate/github.com-hashicorp-vault-1.x branch from a5ce4d2 to 5530bfb Compare November 17, 2024 16:03
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-vault-1.x branch from 5530bfb to 1dcd30b Compare November 21, 2024 20:45
@renovate renovate bot changed the title fix(deps): update module github.com/hashicorp/vault to v1.18.1 fix(deps): update module github.com/hashicorp/vault to v1.18.2 Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants