22614 Commits

Author SHA1 Message Date
divyaac
874c4169aa OSS Changes Patch 2026-02-06 11:32:20 -08:00
divyaac
c3a78c9394 Revert "Test oss patch"
This reverts commit b33327cc3ba83f482c9d9ebf8d3ba9fd7812e5ab.
2026-02-06 11:32:08 -08:00
divyaac
a8c01cb17f Edited go mod 2026-02-05 15:49:15 -08:00
divyaac
b33327cc3b Test oss patch 2026-02-05 14:33:20 -08:00
hc-github-team-secure-vault-core
37b9e932f6 Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-05 22:04:23 +00:00
Vault Automation
f88d1057b1
VAULT-41207: KMIP Metrics (#12116) (#12208)
* add a new method to identify whether KMIP is enabled

* add a new prefix for the new metric

* add new methods to store and update the metric

* update the kmip usage in billing

* move the method to ent file since kmip is ent only feature

* add unit tests at the core metrics level

* add new unit tests to test the billing methods for the new metric

* add persistence to test cases

* add external tests for primary and secondary

* account for DR secondaries, add clarifying comments, fix tests

* fmt

* move call of update into update local hwm metric method

* feedback: simplify update method by removing operation to get stored value

* feedback: optimize kmip usage detection by adding atomic tracker to detect usage once kmip mount is enabled

* fmt

* feedback: remove check on DR secondary inside update method but leave it at Get method for now

* feedback: change kmip prefix to a more flexible structure with sub item

* feedback: rename atomic tracker for kmip usage

* feedback: simplify the kmip identifier method

* revert back on kmip path prefix changes

* feedback: move the atomic bool into consumption billing struct

* feedback: remove DR check in Get method since dr needs to have billing data replicated

* add another external test to test local mount detection in perf secondary

* add a no-op oss stub for kmip enabled method

Co-authored-by: Amir Aslamov <amir.aslamov@hashicorp.com>
2026-02-05 21:43:35 +00:00
Vault Automation
cfab722287
PKI: Address failures with SCEP handlers on standby nodes (#12186) (#12209)
* PKI: Address failures with SCEP handlers on standby nodes

* add cl

* Add extra safety to protect against nil panics

* PR feedback

* PR feedback 2

* Ignore DR states

Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2026-02-05 16:26:24 -05:00
hc-github-team-secure-vault-core
0f03ac7f00 Merge remote-tracking branch 'remotes/from/ce/main' sdk/v0.23.0 2026-02-05 19:15:23 +00:00
Vault Automation
d5b1b8c5a6
Prevent panic when a storage reply doesn't contain a walindex. (#12202) (#12204) 2026-02-05 18:58:02 +00:00
hc-github-team-secure-vault-core
0e46773c70 Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-05 16:12:27 +00:00
Vault Automation
a5b65edbcc
VAULT-41682 - Updates header to add title tag and centre align with icon (#12166) (#12174)
* VAULT-41682 - update header to add title tag and centre align with icon

* Fixed linting error

Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
2026-02-05 21:03:10 +05:30
Vault Automation
b1fc7f3dd1
VAULT-42232: Duo API client upgrade (#12191) (#12193)
* update duo_api_golang

* changelog

Co-authored-by: miagilepner <mia.epner@hashicorp.com>
2026-02-05 15:17:37 +00:00
hc-github-team-secure-vault-core
519bef13ed Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-04 23:06:17 +00:00
Vault Automation
48af5cb656
go: bump Go to 1.25.7 (#12176) (#12182)
- Resolves CVE-2025-61732
- Fixes an issue in `crypto/x509` with certificate validation with
  single-label DNS name constraints.
- Fixes an issue in `crypto/tls` where certificate chaings were not
  reverified during resumption.

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2026-02-04 22:43:24 +00:00
Vault Automation
3842e8df73
[UI][VAULT-41959] Secrets sidebar (#12118) (#12175)
* WIP secrets sidebar

* Remove unwanted text and put some things back..

* Add secrets templates for sidebar

* Fix tests

* Update more Secrets navlinks

* Add copywrite headers

* Creates secrets.hbs so its the parent route

* Update secrets comment

* Update component name

* Update sidebar to use helper

* Secrets sync breadcrumbs

* Address feedback~

* Use enum and add helper test

* Fix links!

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-02-04 14:36:06 -08:00
hc-github-team-secure-vault-core
1872150ad6 Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-04 22:03:43 +00:00
Vault Automation
3d9a5c5d7d
removed @hasChevron={{false}} from user-menu dropdown (not accessible) (#12018) (#12029)
Co-authored-by: Cristiano Rastelli <public@didoo.net>
2026-02-04 13:40:38 -08:00
Vault Automation
80a651c342
UI: Secrets Engines tune support clean up (#12125) (#12178)
* removing isOldEngine, moving list view actions into header

* removing old unused config page

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2026-02-04 21:25:39 +00:00
hc-github-team-secure-vault-core
60f44b5e34 Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-04 20:06:27 +00:00
Vault Automation
0079d343d8
[UI] VAULT-41960 resilience and recovery sidebar (#12056) (#12170)
* VAULT-41960 resiliance and recovery sidebar

* Add breadcrumbs and fix failing tests

* Update link to be external

* Update mode title

* Fix tests

* More tests

* Passing tests!

* Fix sidebar highlight issue

* Update remaining breadcrumbs and fix tests

* Fix recovery tests

* Add resilience and recovery tests

* Sidebar clients rearrangement

* Dasherize and address feedback

* Add copyright headers

* Move to snapshots component for integration test

* Create recovery route file in cluster

* Update ts file and create resilience route

* Remove unused comment

* Add display-nav-item helper

* remove extra nav instantiation

* Add copywrite header

* Address feedback!

* Add more tests!

* Remaining helper tests

* last resilience recovery test

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-02-04 12:06:25 -08:00
hc-github-team-secure-vault-core
c553c1610b Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-04 16:14:03 +00:00
Vault Automation
c6170d36a8
Add the ability for a plugin to specify extra fields for auditing purposes (#11018) (#12167)
* Add the ability to specify extra audit only fields from a plugin

* Add extra auditing fields within the PKI OCSP handler

* Add missing copywrite headers

* Format OCSP dates when non-zero, otherwise specify not set to be clear

* Feedback 2: Only set time fields if not zero instead of non-parsable string

* Serialize JSON fields in SDK response struct

* Perform renames based on RFC feedback

* Resolve OpenAPI test failure

* add cl

Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2026-02-04 15:41:54 +00:00
Vault Automation
4943d033f2
VAULT-41682 - Refactor EmptyState components to Hds::ApplicationState for cluster directory (#12130) (#12133)
Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
2026-02-04 10:25:11 -05:00
hc-github-team-secure-vault-core
0c61ce5ac5 Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-03 23:06:15 +00:00
Vault Automation
4e78a0bfc5
UI: Prioritize direct link when multiple mounts are visible (#12142) (#12156)
* override auth form with direct link

* add changelog

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-02-03 22:50:14 +00:00
Vault Automation
caf642b7d2
Backport Vault 42177 Add Backend Field into ce/main (#12152)
* Vault 42177 Add Backend Field (#12092)

* add a new struct for the total number of successful requests for transit and transform

* implement tracking for encrypt path

* implement tracking in encrypt path

* add tracking in rewrap

* add tracking to datakey path

* add tracking to  hmac path

* add tracking to sign  path

* add tracking to verify path

* unit tests for verify path

* add tracking to cmac path

* reset the global counter in each unit test

* add tracking to hmac verify

* add methods to retrieve and flush transit count

* modify the methods that store and update data protection call counts

* update the methods

* add a helper method to combine replicated and local data call counts

* add tracking to the endpoint

* fix some formatting errors

* add unit tests to path encrypt for tracking

* add unit tests to decrypt path

* fix linter error

* add unit tests to test update and store methods for data protection calls

* stub fix: do not create separate files

* fix the tracking by coordinating replicated and local data, add unit tests

* update all reference to the new data struct

* revert to previous design with just one global counter for all calls for each cluster

* complete external test

* no need to check if current count is greater than 0, remove it

* feedback: remove unnacassary comments about atomic addition, standardize comments

* leave jira id on todo comment, remove unused method

* rename mathods by removing HWM and max in names, update jira id in todo comment, update response field key name

* feedback: remove explicit counter in cmac tests, instead put in the expected number

* feedback: remove explicit tracking in the rest of the tests

* feedback: separate transit testing into its own external test

* Update vault/consumption_billing_util_test.go

Co-authored-by: divyaac <divya.chandrasekaran@hashicorp.com>

* update comment after test name change

* fix comments

* fix comments in test

* another comment fix

* feedback: remove incorrect comment

* fix a CE test

* fix the update method: instead of storing max, increment by the current count value

* update the unit test, remove local prefix as argument to the methods since we store only to non-replicated paths

* update the external test

* Adds a field to backend to track billing data

removed file

* Changed implementation to use a map instead

* Some more comments

* Add more implementation

* Edited grpc server backend

* Refactored a bit

* Fix one more test

* Modified map:

* Revert "Modified map:"

This reverts commit 1730fe1f358b210e6abae43fbdca09e585aaaaa8.

* Removed some other things

* Edited consumption billing files a bit

* Testing function

* Fix transit stuff and make sure tests pass

* Changes

* More changes

* More changes

* Edited external test

* Edited some more tests

* Edited and fixed tests

* One more fix

* Fix some more tests

* Moved some testing structures around and added error checking

* Fixed some nits

* Update builtin/logical/transit/path_sign_verify.go

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>

* Edited some errors

* Fixed error logs

* Edited one more thing

* Decorate the error

* Update vault/consumption_billing.go

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>

---------

Co-authored-by: Amir Aslamov <amir.aslamov@hashicorp.com>
Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>

* Edited stub function

---------

Co-authored-by: divyaac <divya.chandrasekaran@hashicorp.com>
Co-authored-by: Amir Aslamov <amir.aslamov@hashicorp.com>
Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
Co-authored-by: divyaac <divyaac@berkeley.edu>
sdk/v0.22.0
2026-02-03 22:48:12 +00:00
Vault Automation
b3f173756d
actions: pin to latest actions (#12144) (#12146)
Update to the latest actions. The primary motivation here is to get the
latest action-setup-enos.

  - actions/cache => v5.0.3: security patches
  - actions/checkout => v6.0.2: small fixes to git user-agent and tag
    fetching
  - hashicorp/action-setup-enos => v1.50: security patches

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2026-02-03 22:39:49 +00:00
hc-github-team-secure-vault-core
f0adf3b2af Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-03 20:07:32 +00:00
Vault Automation
a728a665e1
Random API improvements (#12119) (#12143)
* In the random APIs, add a 'prng' param that causes a DRBG seeded from the selected source(s) to be the source of the returned bytes

* fixes, unit test next

* unit tests

* changelog

* memory ramifications

* switch to using a string called drbg

* Update helper/random/random_api.go



* wrong changelog

---------

Co-authored-by: Scott Miller <smiller@hashicorp.com>
Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2026-02-03 20:02:48 +00:00
hc-github-team-secure-vault-core
07860e25fd Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-03 18:15:53 +00:00
Vault Automation
375a59c4cd
Fix client-controlled-consistency for external plugins (#12117) (#12134)
* Allow requests to external plugins that modify storage to populate the X-Vault-Index response header.
2026-02-03 18:01:09 +00:00
hc-github-team-secure-vault-core
64230814b2 Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-03 17:17:58 +00:00
Vault Automation
5d869440c3
[UI] Ember Data Migration - Client Counts (#12026) (#12132)
* updates flags service to use api service

* converts clients index route to ts

* updates clients config workflows to use api service

* updates clients date-range component to handle Date objects rather than ISO strings

* updates clients page-header component to handle Date objects and use api and capabilities services

* updates clients route to use api and capabilities services

* updates types in client-counts helpers

* updates client counts route to use api service

* updates types for client-counts serializers

* updates date handling in client counts page component

* updates clients overview page component

* converts clients page-header component to ts

* fixes type errors in clients page-header component

* updates client counts tests

* updates client-count-card component to use api service

* converts client-count-card component to ts

* removes model-form-fields test that uses clients/config model

* removes clients/version-history model usage from client-counts helpers tests

* removes migrated models from adapter and model registries

* removes clients ember data models, adapters and serializers

* updates clients date-range component to format dates in time zone

* cleans up references to activityError in client counts route

* adds clients/activity mirage model

* updates activation flags assertions in sync overview tests

* fixes issue selecting current period in clients date-range component and adds test

* fixes issues with enabled state for client counts

* updates parseAPITimestamp to handle date object formatting

* removes unnecesarry type casting for format return in parseAPITimestamp util

* updates parseAPITimestamp to use formatInTimeZone for strings

* updates parseAPITimestamp comment

* updates enabled value in clients config component to boolean

* adds date-fns-tz to core addon

* removes parseISO from date-formatters util in favor of new Date

* updates comments for client counts

* updates retention months validation for client counts config

* updates comment and min retention months default for client counts config

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-02-03 16:18:52 +00:00
hc-github-team-secure-vault-core
9826cb0ff6 Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-03 16:14:56 +00:00
Vault Automation
edbc507488
Backport Add spiffe secrets engine into ce/main (#10648) 2026-02-03 10:41:44 -05:00
hc-github-team-secure-vault-core
9750b87e1c Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-01 20:30:35 +00:00
Vault Automation
097417cd62
Adding ibm license tests for ent files (#11803) (#12114)
* adding ibm tests for ent files

* changing isHashicorpLicense to isIBMLicense and moving DiagnoseCheckLicenseGeneration to core_util_common.go

* reverting non-license related tests

* removing hashicorp license test

Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>
2026-01-31 01:52:59 +00:00
Vault Automation
38bb6eae78
Add PasswordModify to new LDAP Connection interface wrapper (#12094) (#12113)
* Add method to ldap connection interface

* Move to interface wrapper

Co-authored-by: Robert <17119716+robmonte@users.noreply.github.com>
2026-01-30 23:45:35 +00:00
hc-github-team-secure-vault-core
e2f694d05b Merge remote-tracking branch 'remotes/from/ce/main' 2026-01-30 21:06:04 +00:00
Vault Automation
81c1c3778b
VAULT-41092: transit engine metrics (#11814) (#12103)
* add a new struct for the total number of successful requests for transit and transform

* implement tracking for encrypt path

* implement tracking in encrypt path

* add tracking in rewrap

* add tracking to datakey path

* add tracking to  hmac path

* add tracking to sign  path

* add tracking to verify path

* unit tests for verify path

* add tracking to cmac path

* reset the global counter in each unit test

* add tracking to hmac verify

* add methods to retrieve and flush transit count

* modify the methods that store and update data protection call counts

* update the methods

* add a helper method to combine replicated and local data call counts

* add tracking to the endpoint

* fix some formatting errors

* add unit tests to path encrypt for tracking

* add unit tests to decrypt path

* fix linter error

* add unit tests to test update and store methods for data protection calls

* stub fix: do not create separate files

* fix the tracking by coordinating replicated and local data, add unit tests

* update all reference to the new data struct

* revert to previous design with just one global counter for all calls for each cluster

* complete external test

* no need to check if current count is greater than 0, remove it

* feedback: remove unnacassary comments about atomic addition, standardize comments

* leave jira id on todo comment, remove unused method

* rename mathods by removing HWM and max in names, update jira id in todo comment, update response field key name

* feedback: remove explicit counter in cmac tests, instead put in the expected number

* feedback: remove explicit tracking in the rest of the tests

* feedback: separate transit testing into its own external test

* Update vault/consumption_billing_util_test.go



* update comment after test name change

* fix comments

* fix comments in test

* another comment fix

* feedback: remove incorrect comment

* fix a CE test

* fix the update method: instead of storing max, increment by the current count value

* update the unit test, remove local prefix as argument to the methods since we store only to non-replicated paths

* update the external test

* fix a bug: reset the counter everyime we update the stored counter value to prevent double-counting

* update one of the tests

* update external test

---------

Co-authored-by: Amir Aslamov <amir.aslamov@hashicorp.com>
Co-authored-by: divyaac <divya.chandrasekaran@hashicorp.com>
2026-01-30 15:16:05 -05:00
hc-github-team-secure-vault-core
8ab500f393 Merge remote-tracking branch 'remotes/from/ce/main' 2026-01-30 20:04:24 +00:00
Vault Automation
8edcbc5a04
UI: Add tune support to KMIP Secrets Engine (#12028) (#12105)
* adding kmip header

* updating header usage across pages

* updating config routes to use new pages

* fixes to config page & test

* Remove unused comp

* fixes for headers

* fix in router

* update headers to use page comp directly, add tabs comp

* remember copywrite

* code cleanup

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2026-01-30 15:03:28 -05:00
hc-github-team-secure-vault-core
78c0f949f4 Merge remote-tracking branch 'remotes/from/ce/main' 2026-01-30 17:11:30 +00:00
Vault Automation
3e8ab749f8
VAULT-41291 Adding changes to reduce cloning (#11886) (#12095)
* adding changes to reduce cloning

* adding chanelog

* adding back one cloning on entity

Co-authored-by: JMGoldsmith <spartanaudio@gmail.com>
2026-01-30 17:59:14 +01:00
hc-github-team-secure-vault-core
6923ae7279 Merge remote-tracking branch 'remotes/from/ce/main' 2026-01-30 02:54:08 +00:00
Vault Automation
64566789fe
[VAULT-40843] Secret Engine Mount Tune: hide version dropdown (#12086) (#12087)
Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
2026-01-29 18:15:21 -08:00
hc-github-team-secure-vault-core
93eacdd95a Merge remote-tracking branch 'remotes/from/ce/main' 2026-01-29 20:04:26 +00:00
Vault Automation
eb1d3edfb0
UI: update namespace empty state (#11924) (#12082)
* update namespace empty state

add in refresh button to empty state and update tests

update button design

* update copy

* update when exit button is shown

* update css class

* revert state changes

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-01-29 19:19:42 +00:00
hc-github-team-secure-vault-core
35ab1d2b01 Merge remote-tracking branch 'remotes/from/ce/main' 2026-01-29 18:08:04 +00:00
Vault Automation
c2034cb08a
actions: pin to latest actions (#12060) (#12069)
- actions/checkout -> v6.0.2: some minor changes around setting the
  ACTIONS_ORCHESTRATION_ID and some fixes to `fetch-tags`.
- actions/setup-python -> v6.2.0: Node 24 compat

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2026-01-29 10:07:15 -08:00