v1.11.12
hashicorp/vaultv1.11.12Jun 20, 2023by hc-github-team-es-release-engineering
AI Summary
Introduces automated license reporting. Changes license termination behavior to prevent shutdown. Includes improvements to activity log generation and raft metrics.
Key Highlights
- Added automated license utilization reporting
- Bumped Go version to 1.19.10
- Changed license termination behavior to allow upgrades instead of shutdown
- Improved activity log precomputation and client counting
New Features
- Automated License Utilization Reporting
Full Release Notes
## 1.11.12 ### June 21, 2023 CHANGES: * core: Bump Go version to 1.19.10. * licensing (enterprise): Terminated licenses will no longer result in shutdown. Instead, upgrades will not be allowed if the license termination time is before the build date of the binary. FEATURES: * **Automated License Utilization Reporting**: Added automated license utilization reporting, which sends minimal product-license [metering data](https://developer.hashicorp.com/vault/docs/enterprise/license/utilization-reporting) to HashiCorp without requiring you to manually collect and report them. * core (enterprise): Add background worker for automatic reporting of billing information. [[GH-19625](https://github.com/hashicorp/vault/pull/19625)] IMPROVEMENTS: * api: GET ... /sys/internal/counters/activity?current_billing_period=true now results in a response which contains the full billing period [[GH-20694](https://github.com/hashicorp/vault/pull/20694)] * api: `/sys/internal/counters/config` endpoint now contains read-only `minimum_retention_months`. [[GH-20150](https://github.com/hashicorp/vault/pull/20150)] * api: `/sys/internal/counters/config` endpoint now contains read-only `reporting_enabled` and `billing_start_timestamp` fields. [[GH-20086](https://github.com/hashicorp/vault/pull/20086)] * core (enterprise): add configuration for license reporting [[GH-19891](https://github.com/hashicorp/vault/pull/19891)] * core (enterprise): license updates trigger a reload of reporting and the activity log [[GH-20680](https://github.com/hashicorp/vault/pull/20680)] * core (enterprise): support reloading configuration for automated reporting via SIGHUP [[GH-20680](https://github.com/hashicorp/vault/pull/20680)] * core (enterprise): vault server command now allows for opt-out of automated reporting via the `OPTOUT_LICENSE_REPORTING` environment variable. [[GH-3939](https://github.com/hashicorp/vault/pull/3939)] * core/activity: error when attempting to update retention configuration below the minimum [[GH-20078](https://github.com/hashicorp/vault/pull/20078)] * core/activity: generate hyperloglogs containing clientIds for each month during precomputation [[GH-16146](https://github.com/hashicorp/vault/pull/16146)] * core/activity: refactor activity log api to reuse partial api functions in activity endpoint when current month is specified [[GH-16162](https://github.com/hashicorp/vault/pull/16162)] * core/activity: refactor the activity log's generation of precomputed queries [[GH-20073](https://github.com/hashicorp/vault/pull/20073)] * core/activity: use monthly hyperloglogs to calculate new clients approximation for current month [[GH-16184](https://github.com/hashicorp/vault/pull/16184)] * core: Activity log goroutine management improvements to allow tests to be more deterministic. [[GH-17028](https://github.com/hashicorp/vault/pull/17028)] * core: Limit activity log client count usage by namespaces [[GH-16000](https://github.com/hashicorp/vault/pull/16000)] * storage/raft: add additional raft metrics relating to applied index and heartbeating; also ensure OSS standbys emit periodic metrics. [[GH-12166](https://github.com/hashicorp/vault/pull/12166)] * ui: updates clients configuration edit form state based on census reporting configuration [[GH-20125](https://github.com/hashicorp/vault/pull/20125)] BUG FIXES: * core/activity: add namespace breakdown for new clients when date range spans multiple months, including the current month. [[GH-18766](https://github.com/hashicorp/vault/pull/18766)] * core/activity: de-duplicate namespaces when historical and current month data are mixed [[GH-18452](https://github.com/hashicorp/vault/pull/18452)] * core/activity: fix the end_date returned from the activity log endpoint when partial counts are computed [[GH-17856](https://github.com/hashicorp/vault/pull/17856)] * core/activity: include mount counts when de-duplicating current and historical month data [[GH-18598](https://github.com/hashicorp/vault/pull/18598)] * core/activity: report mount paths (rather than mount accessors) in current month activity log counts and include deleted mount paths in precomputed queries. [[GH-18916](https://github.com/hashicorp/vault/pull/18916)] * core/activity: return partial month counts when querying a historical date range and no historical data exists. [[GH-17935](https://github.com/hashicorp/vault/pull/17935)] * core: Change where we evaluate filtered paths as part of mount operations; this is part of an enterprise bugfix that will have its own changelog entry. [[GH-21260](https://github.com/hashicorp/vault/pull/21260)] * core: Do not cache seal configuration to fix a bug that resulted in sporadic auto unseal failures. [[GH-21223](https://github.com/hashicorp/vault/pull/21223)] * core: Don't exit just because we think there's a potential deadlock. [[GH-21342](https://github.com/hashicorp/vault/pull/21342)] * core: Fix panic in sealed nodes using raft storage trying to emit raft metrics [[GH-21249](https://github.com/hashicorp/vault/pull/21249)] * identity: Fixes duplicate groups creation with the same name but unique IDs. [[GH-20964](https://github.com/hashicorp/vault/pull/20964)] * replication (enterprise): Fix a race condition with update-primary that could result in data loss after a DR failover * replication (enterprise): Fix path filters deleting data right after it's written by backend Initialize funcs