Commit graph

22696 commits

Author SHA1 Message Date
hc-github-team-secure-vault-core
f5b7d6d876 Merge remote-tracking branch 'remotes/from/ce/main'
Some checks are pending
build / setup (push) Waiting to run
build / Check ce/* Pull Requests (push) Blocked by required conditions
build / ui (push) Blocked by required conditions
build / artifacts-ce (push) Blocked by required conditions
build / artifacts-ent (push) Blocked by required conditions
build / hcp-image (push) Blocked by required conditions
build / test (push) Blocked by required conditions
build / test-hcp-image (push) Blocked by required conditions
build / completed-successfully (push) Blocked by required conditions
CI / setup (push) Waiting to run
CI / Run Autopilot upgrade tool (push) Blocked by required conditions
CI / Run Go tests (push) Blocked by required conditions
CI / Run Go tests tagged with testonly (push) Blocked by required conditions
CI / Run Go tests with data race detection (push) Blocked by required conditions
CI / Run Go tests with FIPS configuration (push) Blocked by required conditions
CI / Test UI (push) Blocked by required conditions
CI / tests-completed (push) Blocked by required conditions
Run linters / Setup (push) Waiting to run
Run linters / Deprecated functions (push) Blocked by required conditions
Run linters / Code checks (push) Blocked by required conditions
Run linters / Protobuf generate delta (push) Blocked by required conditions
Run linters / Format (push) Blocked by required conditions
Run linters / Semgrep (push) Waiting to run
Check Copywrite Headers / copywrite (push) Waiting to run
Security Scan / scan (push) Waiting to run
2026-02-18 15:15:40 +00:00
Vault Automation
67fb5f3eda
Backport VAULT-41675: Transit observations, key management into ce/main (#12380)
* VAULT-41675: Transit observations, key management (#12100)

* start transit implementation

* all observations and tests

* add comments

* cleanup

* Fix broken build (#12384)

---------

Co-authored-by: miagilepner <mia.epner@hashicorp.com>
Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
2026-02-18 15:19:18 +01:00
hc-github-team-secure-vault-core
137f98302c Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-18 14:16:40 +00:00
Vault Automation
ccceb19d02
committed dynamic-roles.sh (#11833) (#12356)
* Dynamic-roles:updated with review comments

* Fix enos formatting: align variable assignments in scenario files

* Fix terraform formatting in LDAP modules

* Fix shell script formatting: add newlines and fix indentation

* Fix shellcheck warnings: quote variables to prevent globbing

* Change LDAP secrets engine verification to true

* Add variable for LDAP static role verification

* Configure SSH transport for LDAP dynamic roles

Added SSH transport configuration for LDAP dynamic roles.

* Fix formatting in ldap.tf

* Change LDAP secrets engine verification to false

---------

Co-authored-by: Amala Mathew <amala.mathew@hashicorp.com>
Co-authored-by: mathew-amala <amala.mathew1@ibm.com>
Co-authored-by: Luis (LT) Carbonell <lt.carbonell@hashicorp.com>
2026-02-18 08:36:34 -05:00
hc-github-team-secure-vault-core
2c9789df94 Merge remote-tracking branch 'remotes/from/ce/main'
Some checks are pending
build / setup (push) Waiting to run
build / Check ce/* Pull Requests (push) Blocked by required conditions
build / ui (push) Blocked by required conditions
build / artifacts-ce (push) Blocked by required conditions
build / artifacts-ent (push) Blocked by required conditions
build / hcp-image (push) Blocked by required conditions
build / test (push) Blocked by required conditions
build / test-hcp-image (push) Blocked by required conditions
build / completed-successfully (push) Blocked by required conditions
CI / setup (push) Waiting to run
CI / Run Autopilot upgrade tool (push) Blocked by required conditions
CI / Run Go tests (push) Blocked by required conditions
CI / Run Go tests tagged with testonly (push) Blocked by required conditions
CI / Run Go tests with data race detection (push) Blocked by required conditions
CI / Run Go tests with FIPS configuration (push) Blocked by required conditions
CI / Test UI (push) Blocked by required conditions
CI / tests-completed (push) Blocked by required conditions
Run linters / Setup (push) Waiting to run
Run linters / Deprecated functions (push) Blocked by required conditions
Run linters / Code checks (push) Blocked by required conditions
Run linters / Protobuf generate delta (push) Blocked by required conditions
Run linters / Format (push) Blocked by required conditions
Run linters / Semgrep (push) Waiting to run
Check Copywrite Headers / copywrite (push) Waiting to run
Security Scan / scan (push) Waiting to run
2026-02-18 03:50:07 +00:00
Vault Automation
504334f8bb
UI: Add policy flyout to PKI (#12335) (#12373)
* make router-lookup helper

* add policyPaths arg to flyout and update route cache to map

* update kv flyouts and test coverage

* round out test coverage, rename method from get to lookup

* alphabetize PATH_MAP

* support other change events for inputSearch to allow copy/pasting items

* update overview requests and improve ux for limited permissions

* request each key permissions

* add flyout to pki page header

* update changelog

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-02-17 19:28:47 -08:00
hc-github-team-secure-vault-core
7b305c83a9 Merge remote-tracking branch 'remotes/from/ce/main'
Some checks are pending
build / setup (push) Waiting to run
build / Check ce/* Pull Requests (push) Blocked by required conditions
build / ui (push) Blocked by required conditions
build / artifacts-ce (push) Blocked by required conditions
build / artifacts-ent (push) Blocked by required conditions
build / hcp-image (push) Blocked by required conditions
build / test (push) Blocked by required conditions
build / test-hcp-image (push) Blocked by required conditions
build / completed-successfully (push) Blocked by required conditions
CI / setup (push) Waiting to run
CI / Run Autopilot upgrade tool (push) Blocked by required conditions
CI / Run Go tests (push) Blocked by required conditions
CI / Run Go tests tagged with testonly (push) Blocked by required conditions
CI / Run Go tests with data race detection (push) Blocked by required conditions
CI / Run Go tests with FIPS configuration (push) Blocked by required conditions
CI / Test UI (push) Blocked by required conditions
CI / tests-completed (push) Blocked by required conditions
Run linters / Setup (push) Waiting to run
Run linters / Deprecated functions (push) Blocked by required conditions
Run linters / Code checks (push) Blocked by required conditions
Run linters / Protobuf generate delta (push) Blocked by required conditions
Run linters / Format (push) Blocked by required conditions
Run linters / Semgrep (push) Waiting to run
Check Copywrite Headers / copywrite (push) Waiting to run
Security Scan / scan (push) Waiting to run
2026-02-17 21:08:55 +00:00
Vault Automation
d8c0e831e2
UI: Adding Secrets Engines configuration / tune support changelog (#12385) (#12392)
* adding changelog

* rename

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2026-02-17 20:52:52 +00:00
Vault Automation
f235bc5320
VAULT-41471 Write Data To Census (#12349) (#12391)
* Added census metric names and new file build doesn't complete

* Added metrics. Working on tests

* Tests passing

* Added tests

* Added a nil check

* Try to fix race condition

* Fix some nits

* Some more nits

* Added a go doc

* Fix some data races

* Remove billing storage lock all together

* Revert "Remove billing storage lock all together"

This reverts commit cdf4a518c343d8fd0fbb5de13fd860999ca2d131.

* Fix failing test

* Remove billing storage lock all together

* Removed schema json file

* Revert "Remove billing storage lock all together"

This reverts commit 76970c7d4f7fe98acb993a737aa7410216caf2a8.

Co-authored-by: divyaac <divya.chandrasekaran@hashicorp.com>
2026-02-17 12:48:10 -08:00
hc-github-team-secure-vault-core
0791b4cbf3 Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-17 17:21:27 +00:00
Vault Automation
763be2684d
[UI] Playwright Automated Binary Testing (#12214) (#12386)
* adds playwright

* adds playwright auth setup and kv tests

* removes generated gh action for playwright

* removes testem ignore paths

* consolidates kv e2e workflows into single test

* adds missing ids to key shares and threshold inputs

* updates ariaLabel arg to attribute in enabled and disabled plugin card components

* adds script to start vault with config for playwright tests

* updates playwright setup to initialize and unseal vault and create user for testing rather than using root token

* adds policies for e2e tests

* updates e2e init setup to use web repl for creating token

* moves kv e2e test under superuser directory

* updates playwright config to create projects for multiple user types

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-02-17 17:09:03 +00:00
Vault Automation
8f6253cc0b
UI: Add secret engines intro page (#12343) (#12379)
* Add secret engines intro page

* add test coverage

* hide header actions when showing wizard

* add changelog entry

* update copy and variable naming

* fix tests

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-02-17 10:44:22 -06:00
hc-github-team-secure-vault-core
d951722695 Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-17 16:16:30 +00:00
Vault Automation
21d95fb9fe
[UI] Add IA revamp changelog (#12369) (#12372)
* Add sidebar changelog

* Update PR changelog number

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-02-17 07:58:56 -08:00
Vault Automation
2ee80aef37
Backport add SCIM endpoint ServiceProviderConfig into ce/main (#12303) 2026-02-17 07:41:09 -08:00
hc-github-team-secure-vault-core
bc33fac9b1 Merge remote-tracking branch 'remotes/from/ce/main'
Some checks are pending
build / setup (push) Waiting to run
build / Check ce/* Pull Requests (push) Blocked by required conditions
build / ui (push) Blocked by required conditions
build / artifacts-ce (push) Blocked by required conditions
build / artifacts-ent (push) Blocked by required conditions
build / hcp-image (push) Blocked by required conditions
build / test (push) Blocked by required conditions
build / test-hcp-image (push) Blocked by required conditions
build / completed-successfully (push) Blocked by required conditions
CI / setup (push) Waiting to run
CI / Run Autopilot upgrade tool (push) Blocked by required conditions
CI / Run Go tests (push) Blocked by required conditions
CI / Run Go tests tagged with testonly (push) Blocked by required conditions
CI / Run Go tests with data race detection (push) Blocked by required conditions
CI / Run Go tests with FIPS configuration (push) Blocked by required conditions
CI / Test UI (push) Blocked by required conditions
CI / tests-completed (push) Blocked by required conditions
Run linters / Setup (push) Waiting to run
Run linters / Deprecated functions (push) Blocked by required conditions
Run linters / Code checks (push) Blocked by required conditions
Run linters / Protobuf generate delta (push) Blocked by required conditions
Run linters / Format (push) Blocked by required conditions
Run linters / Semgrep (push) Waiting to run
Check Copywrite Headers / copywrite (push) Waiting to run
Security Scan / scan (push) Waiting to run
2026-02-16 17:13:29 +00:00
Vault Automation
daa03407c0
fix: panic on malformed protected field in verifyEabPayload (#12260) (#12365)
* fix: panic on malformed protected field in veryfyEabPayload

* clear comments

* missed a }

* add changelog

* Update changelog/12260.txt



* rename 12260.txt to _12260.txt

* address lint issue

---------

Co-authored-by: Deniz Onur Duzgun <59659739+dduzgun-security@users.noreply.github.com>
Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2026-02-16 17:02:21 +00:00
hc-github-team-secure-vault-core
3708a521b1 Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-16 15:13:18 +00:00
Vault Automation
64fdc0b877
identity: Fix excessive logging on memdb updates (#12112) (#12345)
Vault currently logs a warning when a duplicate alias is detected. This
happens on upsert (during loading and creation-time). Since MemDB
enforces uniqueness on the primary key (entity/alias ID), any lookup
resulting in an ID match would by definition be an update. Consistently
check for ID equality across entities, groups, and aliases to make sure
we don't error for updates.

Updated TestDuplicateRenameResolver to use a global counter for unique
entity IDs across namespaces. This trues up the tests to enforce realistic
duplicate scenarios.

Addresses: VAULT-35109

Co-authored-by: Mike Palmiotto <mpalmi@ibm.com>
Co-authored-by: GitHub Copilot <noreply@github.com>
2026-02-16 14:49:50 +00:00
hc-github-team-secure-vault-core
c46306dfe4 Merge remote-tracking branch 'remotes/from/ce/main'
Some checks are pending
build / setup (push) Waiting to run
build / Check ce/* Pull Requests (push) Blocked by required conditions
build / ui (push) Blocked by required conditions
build / artifacts-ce (push) Blocked by required conditions
build / artifacts-ent (push) Blocked by required conditions
build / hcp-image (push) Blocked by required conditions
build / test (push) Blocked by required conditions
build / test-hcp-image (push) Blocked by required conditions
build / completed-successfully (push) Blocked by required conditions
CI / setup (push) Waiting to run
CI / Run Autopilot upgrade tool (push) Blocked by required conditions
CI / Run Go tests (push) Blocked by required conditions
CI / Run Go tests tagged with testonly (push) Blocked by required conditions
CI / Run Go tests with data race detection (push) Blocked by required conditions
CI / Run Go tests with FIPS configuration (push) Blocked by required conditions
CI / Test UI (push) Blocked by required conditions
CI / tests-completed (push) Blocked by required conditions
Run linters / Setup (push) Waiting to run
Run linters / Deprecated functions (push) Blocked by required conditions
Run linters / Code checks (push) Blocked by required conditions
Run linters / Protobuf generate delta (push) Blocked by required conditions
Run linters / Format (push) Blocked by required conditions
Run linters / Semgrep (push) Waiting to run
Check Copywrite Headers / copywrite (push) Waiting to run
Security Scan / scan (push) Waiting to run
2026-02-16 00:05:37 +00:00
Vault Automation
35aa42fce1
UI: Improve policy flyout context awareness (#12334) (#12354)
* make router-lookup helper

* add policyPaths arg to flyout and update route cache to map

* update kv flyouts and test coverage

* round out test coverage, rename method from get to lookup

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-02-14 15:31:22 -08:00
hc-github-team-secure-vault-core
228aa66c97 Merge remote-tracking branch 'remotes/from/ce/main'
Some checks failed
build / setup (push) Has been cancelled
CI / setup (push) Has been cancelled
Run linters / Setup (push) Has been cancelled
Run linters / Semgrep (push) Has been cancelled
Check Copywrite Headers / copywrite (push) Has been cancelled
Security Scan / scan (push) Has been cancelled
build / Check ce/* Pull Requests (push) Has been cancelled
build / ui (push) Has been cancelled
build / artifacts-ce (push) Has been cancelled
build / artifacts-ent (push) Has been cancelled
build / hcp-image (push) Has been cancelled
build / test (push) Has been cancelled
build / test-hcp-image (push) Has been cancelled
build / completed-successfully (push) Has been cancelled
CI / Run Autopilot upgrade tool (push) Has been cancelled
CI / Run Go tests (push) Has been cancelled
CI / Run Go tests tagged with testonly (push) Has been cancelled
CI / Run Go tests with data race detection (push) Has been cancelled
CI / Run Go tests with FIPS configuration (push) Has been cancelled
CI / Test UI (push) Has been cancelled
CI / tests-completed (push) Has been cancelled
Run linters / Deprecated functions (push) Has been cancelled
Run linters / Code checks (push) Has been cancelled
Run linters / Protobuf generate delta (push) Has been cancelled
Run linters / Format (push) Has been cancelled
2026-02-13 21:10:13 +00:00
Bruno Oliveira de Souza
4f08068c5d
Backport #11933 VAULT-41176 CRUD API for SCIM clients (#12341)
* backport #11933

* add missing backport file

* move SCIM storage prefix to common CE/ent file
2026-02-13 17:35:14 -03:00
hc-github-team-secure-vault-core
e118ad23b2 Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-13 18:09:10 +00:00
Vault Automation
b235f964df
go: upgrade Go to 1.26.0 (#12325) (#12344)
Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2026-02-13 17:20:20 +00:00
hc-github-team-secure-vault-core
3ecde7ba30 Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-13 16:12:37 +00:00
Vault Automation
65597dd37c
Backport Renaming to generalize pki certificate counts into ce/main (#12327)
* no-op commit

* Renaming to generalize pki certificate counts (#12304)

* renaming to generalize pki certificate counts

# Conflicts:
#	vault/replication_rpc_ent.go
#	vault/testing_util.go

* Update vault/testing_util.go

Co-authored-by: Victor Rodriguez Rizo <vrizo@hashicorp.com>

* Remove "PKI" from a few more names related to certificate count code.

---------

Co-authored-by: Victor Rodriguez Rizo <vrizo@hashicorp.com>
# Conflicts:
#	builtin/logical/pki/backend_cmpv2_ent_test.go
#	vault/activity_log_product_usage_util_ent.go
#	vault/activity_log_util_ent.go
#	vault/cert_count/cert_count_manager.go
#	vault/cert_count/cert_count_manager_test.go
#	vault/external_tests/activity_testonly/activity_testonly_ent_test.go
#	vault/logical_system_helpers_ent.go
#	vault/logical_system_pki_certificate_count_ent.go
#	vault/logical_system_pki_certificate_count_ent_test.go
#	vault/replication_paths_ent.go
#	vault/replication_rpc_ent.go
#	vault/testing_util.go

* add ce changes

---------

Co-authored-by: Rachel Culpepper <84159930+rculpepper@users.noreply.github.com>
Co-authored-by: Victor Rodriguez Rizo <vrizo@hashicorp.com>
Co-authored-by: rculpepper <rculpepper@hashicorp.com>
2026-02-13 11:00:48 -05:00
Vault Automation
b60d15a07c
Add experiment to enable the KMIP client API (#11981) (#12017)
* Make VAULT_EXPERIMENTS work as feature flags.

Make method IsFlagEnabled treat experiments as feature flags so that they
are accessible to plugins.

* Add experiment kmip.client_api.alpha1.

This experiment enables the KMIP client and template API endpoints.

* Use IsExperimentEnabled rather than ValidExperiments.

* Document TestCore_IsFlagEnabled.

Co-authored-by: Victor Rodriguez <vrizo@hashicorp.com>
2026-02-13 15:14:36 +00:00
hc-github-team-secure-vault-core
eb6a1a50aa Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-13 15:13:15 +00:00
Vault Automation
83515dc8e2
Fix a race in TestACMEBilling. (#11950) (#11964)
Reset the PKI certificae counts after enabled additional PKI mounts so that the
certificates for root and intermediates used by those mounts are excluded from
the counts the test is making assertions on.

Co-authored-by: Victor Rodriguez <vrizo@hashicorp.com>
2026-02-13 15:04:14 +00:00
Vault Automation
9cfcfec78a
Count duration adjusted certificate counts for billing (#12286) (#12310)
* Change PkiCertificateCountManager.GetCounts() to return a CertCount.

* Add PkiDurationAdjustedCerts field to CertCount.

Add a new field to CertCount to keep track of "duration adjusted" issued
certificates.

Add an x509.Certificate argument to CertCountIncrementer.AddIssuedCertificate.
In the implementation, use the certificate's NotBefore and NotAfter fields to
calculate the validity duration for the certificate, and use that to compute the
duration adjusted units.

* Add the issued certificate to calls to AddIssuedCertificate.

* Add PkiDurationAdjustedCerts when forwarding counts.

Add pki_duration_adjusted_certificate_count to IncrementPkiCount proto.

Update replicationServiceHandler.IncrementPkiCertCountRequest to take into
account the new field.

* Run make proto.

* Update testingPkiCertificateCounter to make assertions on time adjusted counts.

* PR review: Don't use NotAfter.Sub(NotBefore), since time.Duration is max 290 years.

* PR review: Move DurationAdjustedCertificateCount to logical.pki/test_helpers.

Add Bob generated unit tests for logical.durationAdjustedCertificateCount.

* Run make fmt.

Co-authored-by: Victor Rodriguez Rizo <vrizo@hashicorp.com>
2026-02-13 09:41:37 -05:00
hc-github-team-secure-vault-core
8cf066a171 Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-13 14:15:06 +00:00
Vault Automation
22e5336265
Backport Make kmip forwarded requests obey the best-effort-wal-wait-duration config into ce/main (#12321) 2026-02-13 09:04:07 -05:00
hc-github-team-secure-vault-core
6c567ad11a Merge remote-tracking branch 'remotes/from/ce/main'
Some checks are pending
build / setup (push) Waiting to run
build / Check ce/* Pull Requests (push) Blocked by required conditions
build / ui (push) Blocked by required conditions
build / artifacts-ce (push) Blocked by required conditions
build / artifacts-ent (push) Blocked by required conditions
build / hcp-image (push) Blocked by required conditions
build / test (push) Blocked by required conditions
build / test-hcp-image (push) Blocked by required conditions
build / completed-successfully (push) Blocked by required conditions
CI / setup (push) Waiting to run
CI / Run Autopilot upgrade tool (push) Blocked by required conditions
CI / Run Go tests (push) Blocked by required conditions
CI / Run Go tests tagged with testonly (push) Blocked by required conditions
CI / Run Go tests with data race detection (push) Blocked by required conditions
CI / Run Go tests with FIPS configuration (push) Blocked by required conditions
CI / Test UI (push) Blocked by required conditions
CI / tests-completed (push) Blocked by required conditions
Run linters / Setup (push) Waiting to run
Run linters / Deprecated functions (push) Blocked by required conditions
Run linters / Code checks (push) Blocked by required conditions
Run linters / Protobuf generate delta (push) Blocked by required conditions
Run linters / Format (push) Blocked by required conditions
Run linters / Semgrep (push) Waiting to run
Check Copywrite Headers / copywrite (push) Waiting to run
Security Scan / scan (push) Waiting to run
2026-02-13 01:33:01 +00:00
Vault Automation
9839d40b10
Backport rotationMgr: enable RM to send rotation information to plugins on registration/rotation operations into ce/main (#12308)
* rotation-manager: enable RM to send rotation information to plugins on registration/rotation operations (#11810)

* initial commit for sending NVR to plugins

* add changelog

* add NVR to plugin fields, add RotationInfo to GRPC request handler

* fix tests

* ensure consistent formats on times and ttls

* add translation to allow grpc data transfer

* fix tests and rename fields

* fix missed field renames in tests

* make all methods net-new for backwards compatibility

* update mock plugin and add oss stub back

* remove method with no usages

* Address wrapper comments

* Rebuild proto

* Nil check around SetRotationInfo, return n/a for no last_vault_rotation

* Fix error to match other instances

* Update fields.go

* Return nil if unset for next/last vault rotation times

---------

Co-authored-by: robmonte <17119716+robmonte@users.noreply.github.com>

* Fix return type in stub method

---------

Co-authored-by: vinay-gopalan <86625824+vinay-gopalan@users.noreply.github.com>
Co-authored-by: robmonte <17119716+robmonte@users.noreply.github.com>
2026-02-12 18:25:47 -06:00
hc-github-team-secure-vault-core
3989ada0bd Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-13 00:07:26 +00:00
Vault Automation
2320a9cd1e
Vault 40747 Delete Previous Month Data & Reset (#12264) (#12331)
* define the proto, define the RPC

* add external unit tests

* change type of request from int to any

* fix things around after conflict merge

* protobuf lint

* protobuf lint issue fix

* implement cadence based testing of the standby worker

* expand the RPC to include transform call counts, update data returned from endpoint to include transform, remove all todo comments, add tests, fix test helper methods

* remove unnecessary locks from util testing methods, remove unused method

* Update vault/consumption_billing.go



* feedback: remove a check on whether system view is initialized

* re-add the check on initialized state of system view

* access the standby state field directly instead of using a method that uses a lock causing deadlock

* feedback: use require.Eventually instead of manual looping to wait for primary to update the count

* feedback: simplify logic to identify initialized consumption billing worker, remove unused methods

* Some edits to test

Added some functions to delete old month data

* Fixed some tests

* fix some merge conflicts

* Delete older month data

* Removed unused functions

* Some merge conflicts

* Adds some more tests

* Edit billing ent test

* temp

* Revert "temp"

This reverts commit f817b9813959fc2ab478669b67c7d67c381ceff6.

* Edited billing bp

* Reverted head

* Edited billing test

* Slight cleaning up

* Moved some things

* Revert changes on pb file

* Edited flaky test

* Edited some nits

* edited a comment

---------

Co-authored-by: divyaac <divya.chandrasekaran@hashicorp.com>
Co-authored-by: Amir Aslamov <amir.aslamov@hashicorp.com>
2026-02-12 23:25:55 +00:00
hc-github-team-secure-vault-core
0ac1611397 Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-12 17:20:57 +00:00
Vault Automation
b6e3759673
PKI: Allow the HTTP post body to be reread for binary paths (#12290) (#12316)
* PKI: Allow the HTTP post body to be reread for binary paths

* Use a TeeReader to simplify the solution

* Add test and cl

* Apply suggestions from code review



* PR feedback

---------

Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
2026-02-12 16:59:59 +00:00
hc-github-team-secure-vault-core
8107ef881b Merge remote-tracking branch 'remotes/from/ce/main'
Some checks are pending
build / setup (push) Waiting to run
build / Check ce/* Pull Requests (push) Blocked by required conditions
build / ui (push) Blocked by required conditions
build / artifacts-ce (push) Blocked by required conditions
build / artifacts-ent (push) Blocked by required conditions
build / hcp-image (push) Blocked by required conditions
build / test (push) Blocked by required conditions
build / test-hcp-image (push) Blocked by required conditions
build / completed-successfully (push) Blocked by required conditions
CI / setup (push) Waiting to run
CI / Run Autopilot upgrade tool (push) Blocked by required conditions
CI / Run Go tests (push) Blocked by required conditions
CI / Run Go tests tagged with testonly (push) Blocked by required conditions
CI / Run Go tests with data race detection (push) Blocked by required conditions
CI / Run Go tests with FIPS configuration (push) Blocked by required conditions
CI / Test UI (push) Blocked by required conditions
CI / tests-completed (push) Blocked by required conditions
Run linters / Setup (push) Waiting to run
Run linters / Deprecated functions (push) Blocked by required conditions
Run linters / Code checks (push) Blocked by required conditions
Run linters / Protobuf generate delta (push) Blocked by required conditions
Run linters / Format (push) Blocked by required conditions
Run linters / Semgrep (push) Waiting to run
Check Copywrite Headers / copywrite (push) Waiting to run
Security Scan / scan (push) Waiting to run
2026-02-12 00:05:35 +00:00
Vault Automation
a407faa971
Namespace Intro Page (#12255) (#12311)
* improve dismissal logic, use AutomationSnippet component, use wizard service for tracking dismissal

* use class helper to check for multiple nodes when rendering tree chart, add test coverage

* update comments

* add modal for namespace intro and improve reusability

* style updates and general reusability updates

* make intro pages more generic and rename welcome to intro

* update tests

* update styles, use service to track intro visibility, rename components

* Update arg docs

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-02-11 23:17:27 +00:00
hc-github-team-secure-vault-core
06730f0241 Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-11 23:07:27 +00:00
Vault Automation
6a71edd6dc
[VAULT-39996] pipeline(sync): add support for checking changed files (#12220) (#12296)
Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2026-02-11 15:15:26 -07:00
hc-github-team-secure-vault-core
0f6ff81ed0 Merge remote-tracking branch 'remotes/from/ce/main' 2026-02-11 21:10:40 +00:00
Vault Automation
ecb9574f67
VAULT-42187: add a new RPC to send data protection call count billing data from standby node to active node (#12213) (#12306)
* define the proto, define the RPC

* create new standby and active node workers

* fix bugs: set up consumption billing worker on standby nodes

* add external unit tests

* change type of request from int to any

* remove active node worker - the existing logic already updates and flushes data to storage for active node inside updateBillingMetrics

* fix things around after conflict merge

* make fmt

* protobuf lint

* protobuf lint issue fix

* implement cadence based testing of the standby worker

* protobuf formatting

* expand the RPC to include transform call counts, update data returned from endpoint to include transform, remove all todo comments, add tests, fix test helper methods

* create oss no-op stub for the standby worker

* remove unnecessary locks from util testing methods, remove unused method

* Update vault/consumption_billing.go



* remove unused method

* feedback: remove a check on whether system view is initialized

* re-add the check on initialized state of system view

* access the standby state field directly instead of using a method that uses a lock causing deadlock

* feedback: use require.Eventually instead of manual looping to wait for primary to update the count

* feedback: simplify logic to identify initialized consumption billing worker, remove unused methods

* feedback: use log.Error instead of log.Warn

* Update vault/consumption_billing_util_ent.go



* feedback: increase the timeout for the rpc call to 30 secs

* feedback: fix comments in tests to clarify active node and standby node definitions

---------

Co-authored-by: Amir Aslamov <amir.aslamov@hashicorp.com>
Co-authored-by: divyaac <divya.chandrasekaran@hashicorp.com>
2026-02-11 21:05:01 +00:00
Vault Automation
15fca8246d
Copy fix(transit): prevent panic on restore with missing policy into main (#12206) (#12305)
* Copy https://github.com/hashicorp/vault/pull/31733 into main




* fix(transit): prevent panic on restore with missing policy

* test: add unit test for RestorePolicy nil policy validation

* changelog: add entry for transit restore panic fix

* Update changelog/31733.txt



---------

Co-authored-by: Abhishek Dadwal <dadwalabhishek10@gmail.com>
Co-authored-by: Abhishek Dadwal <73817744+Abhishek00810@users.noreply.github.com>
Co-authored-by: Steven Clark <steven@sclark.me>
2026-02-11 15:58:00 -05:00
hc-github-team-secure-vault-core
fbbf175789 Merge remote-tracking branch 'remotes/from/ce/main'
Some checks are pending
build / setup (push) Waiting to run
build / Check ce/* Pull Requests (push) Blocked by required conditions
build / ui (push) Blocked by required conditions
build / artifacts-ce (push) Blocked by required conditions
build / artifacts-ent (push) Blocked by required conditions
build / hcp-image (push) Blocked by required conditions
build / test (push) Blocked by required conditions
build / test-hcp-image (push) Blocked by required conditions
build / completed-successfully (push) Blocked by required conditions
CI / setup (push) Waiting to run
CI / Run Autopilot upgrade tool (push) Blocked by required conditions
CI / Run Go tests (push) Blocked by required conditions
CI / Run Go tests tagged with testonly (push) Blocked by required conditions
CI / Run Go tests with data race detection (push) Blocked by required conditions
CI / Run Go tests with FIPS configuration (push) Blocked by required conditions
CI / Test UI (push) Blocked by required conditions
CI / tests-completed (push) Blocked by required conditions
Run linters / Setup (push) Waiting to run
Run linters / Deprecated functions (push) Blocked by required conditions
Run linters / Code checks (push) Blocked by required conditions
Run linters / Protobuf generate delta (push) Blocked by required conditions
Run linters / Format (push) Blocked by required conditions
Run linters / Semgrep (push) Waiting to run
Check Copywrite Headers / copywrite (push) Waiting to run
Security Scan / scan (push) Waiting to run
2026-02-11 18:16:30 +00:00
Vault Automation
5d265dd284
[UI][VAULT-42484][VAULT-42483]: sidebar bugs (#12263) (#12293)
* WIP

* WIP...

* Update page headers and move logic back

* remove unused stuff

* Fix failing tests

* Use hasNavPermission

* Update raft storage locatin and add namespace link on top

* Update access sidebar link to Access control

* Update order of API_PATHS

* Remove namespace link

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-02-11 09:49:53 -08:00
hc-github-team-secure-vault-core
64d7b4978b Merge remote-tracking branch 'remotes/from/ce/main'
Some checks are pending
build / setup (push) Waiting to run
build / Check ce/* Pull Requests (push) Blocked by required conditions
build / ui (push) Blocked by required conditions
build / artifacts-ce (push) Blocked by required conditions
build / artifacts-ent (push) Blocked by required conditions
build / hcp-image (push) Blocked by required conditions
build / test (push) Blocked by required conditions
build / test-hcp-image (push) Blocked by required conditions
build / completed-successfully (push) Blocked by required conditions
CI / setup (push) Waiting to run
CI / Run Autopilot upgrade tool (push) Blocked by required conditions
CI / Run Go tests (push) Blocked by required conditions
CI / Run Go tests tagged with testonly (push) Blocked by required conditions
CI / Run Go tests with data race detection (push) Blocked by required conditions
CI / Run Go tests with FIPS configuration (push) Blocked by required conditions
CI / Test UI (push) Blocked by required conditions
CI / tests-completed (push) Blocked by required conditions
Run linters / Setup (push) Waiting to run
Run linters / Deprecated functions (push) Blocked by required conditions
Run linters / Code checks (push) Blocked by required conditions
Run linters / Protobuf generate delta (push) Blocked by required conditions
Run linters / Format (push) Blocked by required conditions
Run linters / Semgrep (push) Waiting to run
Check Copywrite Headers / copywrite (push) Waiting to run
Security Scan / scan (push) Waiting to run
2026-02-10 23:13:12 +00:00
Vault Automation
af07b60f99
[VAULT-33083] support mount external engine (#11659) (#12284)
* [VAULT-33083] support mount external engine

* add "Plugin type" and "Plugin version" fields to the enable mount page

* add changelog

* address copilot review comments

* address PR comments, code cleanup

* fix test failures

* Add support for external plugins registered without a plugin version

* external plugin should be enabled for enterprise only, plugin version should be mandatory for external plugins

* fix tests

* address copilot feedback

* fix failing tests, add unit test coverage

* address PR comments

* address PR comments

* remove dead code

* move no external versions alert

* Only show un-versioned plugin message if there are un-versioned plugins in the catalog.

* address PR comments

* use ApiService instead of custom PluginPinsService; fix failing tests

* revert changes to forms/mount.ts and forms/auth/method.ts

Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
2026-02-10 14:18:14 -08:00