23163 Commits

Author SHA1 Message Date
hc-github-team-secure-vault-core
b672097748 Merge remote-tracking branch 'remotes/from/ce/main' 2026-04-10 22:09:01 +00:00
Vault Automation
59f8b38ffa
[VAULT-43581] sdk: Add MongoDB static role delete tests (#13747) (#13886)
- Implement delete existing role test
- Add delete prevents credential access test
- Add delete idempotency test
- Add delete non-existent role test
- Follow established patterns with constants and helper reuse
- All tests verify proper cleanup and error handling

Co-authored-by: Luis (LT) Carbonell <lt.carbonell@hashicorp.com>
2026-04-10 21:32:17 +00:00
Vault Automation
619d865ed7
Enable sys/billing/overview in admin namespace (#13049) (#13885)
* allow billing overview endpoint from admin ns

* add changelog

* add enterprise build tag

Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>
2026-04-10 14:20:33 -07:00
Vault Automation
4f973ee4df
Backport go: resolve GHSA-92mm-2pjq-r785 by upgrade github.com/hashicorp/go-getter into ce/main (#13879)
* go: resolve GHSA-92mm-2pjq-r785 by upgrade github.com/hashicorp/go-getter (#13878)

* go: resolve GHSA-92mm-2pjq-r785 by upgrade github.com/hashicorp/go-getter

Signed-off-by: Ryan Cragun <me@ryan.ec>

* go mod tidy

NOTE: go-getter is only used in vault-enterprise. As such this change
only represents modified transient dependencies.

Signed-off-by: Ryan Cragun <me@ryan.ec>

---------

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2026-04-10 14:11:45 -07:00
hc-github-team-secure-vault-core
f5fcb453e6 Merge remote-tracking branch 'remotes/from/ce/main' 2026-04-10 17:15:21 +00:00
Vault Automation
af1134ca3f
VAULT-43968 allow simple value filter on SCIM group member PATCH (#13833) (#13870)
* first LLM attempt

* temporarily return to version 2 to allow HCP image build

* fix test and set version back to 3

* undo version change

* lint and changelog

* rename changelog

* rename changelog.. again

Co-authored-by: Bruno Oliveira de Souza <bruno.souza@hashicorp.com>
2026-04-10 17:10:35 +00:00
hc-github-team-secure-vault-core
fe9be7e934 Merge remote-tracking branch 'remotes/from/ce/main' 2026-04-10 16:15:43 +00:00
Vault Automation
6441ee5d14
fixes issue with entity delete request failure displaying success flash message (#13856) (#13865)
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-04-10 15:27:52 +00:00
hc-github-team-secure-vault-core
51121c728f Merge remote-tracking branch 'remotes/from/ce/main' 2026-04-10 15:15:19 +00:00
Vault Automation
a02c0fa26a
[UI][Bugfix] VAULT-43725 Add validations for LDAP roles create / edit forms (#13757) (#13859)
* LDAP create role name field should only contain lowercase and alphanumeric characters

* Add changelog..

* Fix controller issue

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-04-10 07:43:56 -07:00
hc-github-team-secure-vault-core
3565522bc3 Merge remote-tracking branch 'remotes/from/ce/main' 2026-04-10 14:22:07 +00:00
Vault Automation
4a2a1133fc
Backport Add default ceiling policy into ce/main (#13821) 2026-04-10 07:04:46 -07:00
hc-github-team-secure-vault-core
8fff9dd129 Merge remote-tracking branch 'remotes/from/ce/main' 2026-04-10 08:27:33 +00:00
Vault Automation
b98004d1dc
Allow oauth profile alias accessors (#13482) (#13548)
* identity: allow oauth profile alias accessors

Allow identity/entity-alias mount_accessor to use sys/config/oauth-resource-server/<profile> when the profile exists in the request namespace, while preserving existing mount accessor and namespace checks for real mounts.

Add focused identity alias tests for valid profile accessor acceptance and unknown profile rejection.



* identity: document alias accessor validation cases

Add GoDoc for validateAliasMountAccessor to clarify supported mount_accessor validation for auth-method aliases and OAuth/External JWT profile-style aliases.



* identity: use namespace+configid oauth alias accessor

Implement synthetic OAuth alias mount_accessor format as oauth_resource_server_<namespace_id>_<config_id> and validate by namespace and config ID for identity/entity-alias.

Add stable config_id to OAuth resource-server profiles, expose it on profile read responses, and add compatibility hydration for older stored profiles missing config_id.

Update identity alias tests for new accessor encoding and add cross-namespace rejection coverage.



* oauth: persist legacy profile config ids on read

Backfill missing OAuth Resource Server profile config_id under profile lock and persist it so config_id remains stable for synthetic identity alias accessors.

Update config-id lookup to resolve profiles through the read path so legacy entries are migrated before matching.

Add regression test covering legacy no-config_id profile migration and successful alias creation with migrated accessor.



* identity: clarify oauth profile existence check

Document that getOAuthResourceServerConfigProfileByConfigID is used only to verify the referenced OAuth profile exists during synthetic mount_accessor validation.



* oauth: add config-id index for O(1) lookup

Add profiles-by-config-id storage index and switch getOAuthResourceServerConfigProfileByConfigID to index-based resolution to avoid O(N) profile scans during alias accessor validation.

Persist index entries on profile upsert, clean them up on delete, and keep legacy config_id backfill path consistent with indexed storage.

Add regression tests for indexed lookup, missing-index behavior, and index cleanup on delete.



* vault: isolate oauth alias validation by build tag



* vault: move oauth accessor constants to enterprise file



* vault: tighten alias accessor validation returns



* vault: require oauth profile config_id on read



* vault: redact oauth profile identifiers in logs



* vault: remove oauth profile identifiers from logs



* vault: harden oauth log redaction paths



* vault: fix oauth invalidation replicated-path test fixture



* vault: remove sensitive error payloads from oauth logs



* Address PR review feedback for logging and tests

- restore operational error logging in OAuth invalidation/read/delete paths

- improve nil synthetic alias validator diagnostics with explicit log + internal error

- move config_id index tests from core-based vault tests to external NewTestCluster tests

- export GetOAuthResourceServerConfigProfileByConfigID for external coverage



* Apply review feedback for alias validator nil case

- include mount_accessor context in operational log when synthetic validator is nil

- return accessor-specific internal configuration error for easier troubleshooting



* Consolidate OAuth config_id tests into existing storage test file

- move config_id index coverage into oauth_resource_storage_ent_test.go

- remove standalone oauth_resource_config_id_index_ent_test.go



* Apply review nit for accessor prefix constant

- trim oauthResourceServerAliasAccessorPrefix to remove trailing underscore

- build synthetic accessor using explicit separator concatenation



* tests: migrate oauth alias accessor coverage to external



* identity: switch oauth synthetic accessor prefix to hyphenated



---------

Co-authored-by: Bianca <48203644+biazmoreira@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-10 09:36:15 +02:00
hc-github-team-secure-vault-core
8416951dd7 Merge remote-tracking branch 'remotes/from/ce/main' 2026-04-09 23:13:38 +00:00
Vault Automation
28a1f595c5
[UI][vault-43821]Update table to accurately fetch results when pagination is out of bounds (#13794) (#13850)
* fix(secrets-engines): update table to accurately fetch results when current page is out of bounds

* fix(tests): update table and util fn tests

* fix(changelog): introduce changelog for bug fix

* Update changelog/_13794.txt



---------

Co-authored-by: Nina Bucholtz <nina.balachandranmary@gmail.com>
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-04-09 22:53:44 +00:00
hc-github-team-secure-vault-core
c569259683 Merge remote-tracking branch 'remotes/from/ce/main' 2026-04-09 22:11:24 +00:00
Vault Automation
afd4002e07
update picomatch versions (#13846) (#13848)
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2026-04-09 22:09:24 +00:00
hc-github-team-secure-vault-core
3d68dbdd48 Merge remote-tracking branch 'remotes/from/ce/main' 2026-04-09 19:25:22 +00:00
Vault Automation
8cfd437830
fixes min height issue in page container and console panel (#13827) (#13828)
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-04-09 13:10:04 -06:00
hc-github-team-secure-vault-core
0dcc9b95c0 Merge remote-tracking branch 'remotes/from/ce/main' 2026-04-09 18:18:51 +00:00
Vault Automation
b8de7e5177
no-op commit (#13557) 2026-04-09 19:38:57 +02:00
hc-github-team-secure-vault-core
a30f9ebd36 Merge remote-tracking branch 'remotes/from/ce/main' 2026-04-09 17:23:42 +00:00
Vault Automation
d5b7b698d3
Add Freshest CRL to Base CRL (#13564) (#13766)
* add freshest crl to base

* add test

* add helper, add test case for delta crl

* add openssl test

* add changelog

* add removed nil check

* add go doc

* change keytype to ec

* rotate CRL instead of role/issue/revoke a cert and add ldap url test case

* move root generation outside test loop

* remove length check so urls are always set for each test case

* remove unnecessary clearing

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-04-09 10:06:01 -07:00
Vault Automation
df4c18296b
added .git to ignore list (#13817) (#13820)
Co-authored-by: kelly <69541941+kporter101@users.noreply.github.com>
2026-04-09 12:47:09 -04:00
hc-github-team-secure-vault-core
d696b5555f Merge remote-tracking branch 'remotes/from/ce/main' 2026-04-09 16:26:23 +00:00
Vault Automation
7e23bd9cee
Update DOMPurify and Carbon Charts for UI security remediation (#13511) (#13519)
Pull in the patched DOMPurify release used by the UI sanitizer helper and Carbon Charts.

Co-authored-by: Angelo Cordon <angelo.cordon@hashicorp.com>
Co-authored-by: OpenCode Agent (GPT-5.4) <opencode-agent@users.noreply.github.com>
2026-04-09 10:55:42 -05:00
hc-github-team-secure-vault-core
d73581e235 Merge remote-tracking branch 'remotes/from/ce/main' 2026-04-09 00:07:46 +00:00
Vault Automation
c9aff8aed5
go: resolve CVE-2026-39883 by upgrading go.opentelemetry.io/otel/sdk to v1.43.0
* go: resolve CVE-2026-39883 by upgrading go.opentelemetry.io/otel/sdk to v1.43.0

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2026-04-08 23:45:39 +00:00
Vault Automation
67a4593a4b
ci: use os=ubuntu label for linux/amd64 on-demand runners
Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2026-04-08 23:42:58 +00:00
hc-github-team-secure-vault-core
aeb8f7696a Merge remote-tracking branch 'remotes/from/ce/main' 2026-04-08 22:11:53 +00:00
Vault Automation
cae8a2c58f
Backport ci: add more backup self-hosted runner types into ce/main
* ci: add more backup self-hosted runner types (#13763)

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2026-04-08 15:04:16 -07:00
Vault Automation
64f9758071
Backport Add PostgreSQL Blackbox Coverage for DB Connection Management With Infra setup into ce/main (#13631)
* Add PostgreSQL Blackbox Coverage for DB Connection Management (#13313)

* Add blackbox test for PostgreSQL database config create endpoint

* Moving to postgresql folder

* Adding test case for multi-host PostgreSQL connection

* Adding DSN test case

* Adding Connection verification test

* Get Connection verification test

* Adding test cases for list/delete/reset connections

* Refactoring and adding helper

* Refactoring and adding helper

---------

Co-authored-by: Kajal Kusum <kajal.kusum@ibm.com>

* Move postgres tests to database subdirectory to match modular structure

* go mod

* go mod

* pgx

---------

Co-authored-by: KajalKusum <kajal.kusum@hashicorp.com>
Co-authored-by: Kajal Kusum <kajal.kusum@ibm.com>
Co-authored-by: LT Carbonell <ltcarbonell@pm.me>
2026-04-08 14:16:26 -07:00
hc-github-team-secure-vault-core
a4e20a29fc Merge remote-tracking branch 'remotes/from/ce/main' 2026-04-08 21:14:05 +00:00
Vault Automation
9f9813e4c7
Backport [VAULT-43924] resolve GHSA-xmrv-pmrh-hhx2 and various Go stdlib vulns into ce/main (#13771)
- Resolve GHSA-xmrv-pmrh-hhx2 by upgrading our AWS v2 modules.
- Add an exemption for GHSA-6jwv-w5xf-7j27 as it is not really an issue. See the note in the scanner config for more info.
- Resolve GO-2026-4870, GO-2026-4947, GO-2026-4866, GO-2026-4864, GO-2026-4869, GO-2026-4865, and GO-2026-4946 by upgrading to Go 1.26.2

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2026-04-08 20:37:55 +00:00
hc-github-team-secure-vault-core
2d75065fb1 Merge remote-tracking branch 'remotes/from/ce/main' 2026-04-08 20:10:40 +00:00
Vault Automation
34af25132d
start the 3.x go version changelog (#13777) (#13778)
Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2026-04-08 13:53:50 -06:00
hc-github-team-secure-vault-core
d67b52b24f Merge remote-tracking branch 'remotes/from/ce/main' 2026-04-08 19:29:05 +00:00
Vault Automation
6066dd4f22
VAULT-43099: Perform enterprise token lookup on provided token instead of caller token. (#13695) (#13759)
parse token from request body instead of targeting the request token

---------

Co-authored-by: Michael Stott <michael.stott@hashicorp.com>
Co-authored-by: mstott2 <michael.stott@hashicorp.com`>
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2026-04-08 15:16:36 -04:00
hc-github-team-secure-vault-core
08503e7dd0 Merge remote-tracking branch 'remotes/from/ce/main' 2026-04-08 17:22:40 +00:00
Vault Automation
6b268e369c
Backport [Mongo SDK Plugin] (enos): Add MongoDB plugin test framework for Enos into ce/main (#13700)
* no-op commit

* [Mongo SDK Plugin] (enos): Add MongoDB plugin test framework for Enos (#13576)

* Add modular database infrastructure for Enos testing

Infrastructure Changes:
- Created generic database_container module supporting PostgreSQL, MongoDB, MySQL
- Consolidated database configs in enos-globals.hcl with dynamic port generation
- Refactored set_up_external_integration_target to use generic module with for_each
- Updated enos-scenario-plugin.hcl to pass database_configs from globals

Test Organization:
- Reorganized test structure: moved postgres/ and mongodb/ into database/ directory
- Maintains existing production-ready test helpers
- Structure: plugins/database/{postgres,mongodb}/ for better organization

Benefits:
- Easy to add new databases (just add to database_configs in globals)
- No code duplication across database types
- Consistent patterns for all database testing
- Supports both Docker containers and external database URLs

---------

Co-authored-by: Luis (LT) Carbonell <lt.carbonell@hashicorp.com>
2026-04-08 12:25:01 -04:00
hc-github-team-secure-vault-core
29d461d0ff Merge remote-tracking branch 'remotes/from/ce/main' 2026-04-08 16:23:49 +00:00
Vault Automation
3a328ba060
go: bump vault/sdk to v0.25.1 (#13729) (#13736)
Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2026-04-08 16:07:27 +00:00
hc-github-team-secure-vault-core
b59f600c48 Merge remote-tracking branch 'remotes/from/ce/main' 2026-04-08 14:31:44 +00:00
Vault Automation
077234b2bc
Update Slack channel reference from #team-quality to #team-vault-automation (#13724) (#13743)
Co-authored-by: Luis (LT) Carbonell <lt.carbonell@hashicorp.com>
2026-04-08 13:48:25 +00:00
hc-github-team-secure-vault-core
21a1b04bb3 Merge remote-tracking branch 'remotes/from/ce/main' 2026-04-07 23:11:18 +00:00
Vault Automation
ae01011393
[UI] Prune Dependency Overrides (#13698) (#13733)
* removes unnecessary version overrides for deps

* reverts unpinning @embroider/macros

* bumps @embroider/macros to latest and removes pin

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-04-07 16:37:02 -06:00
Vault Automation
547255b0d4
adds script to generate report for dependency overrides (#13179) (#13731)
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-04-07 16:30:08 -06:00
hc-github-team-secure-vault-core
41d67659f3 Merge remote-tracking branch 'remotes/from/ce/main' 2026-04-07 19:24:45 +00:00
Vault Automation
6469a5a312
security: add exemptions for various false positives (#13699) (#13713)
Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2026-04-07 19:24:34 +00:00