2082 Commits

Author SHA1 Message Date
Vault Automation
d17181c596
UI: Replace toolbar filters on Secret Engines List page (#9577) (#9692)
* first full pass with new filtering

* updates and making dropdowns searchable

* fixing tests

* updates, test fix

* update version dropdown

* update icons

* comments and cleanup

* filter fixes, update template and add test

* fix tests

* fix tests but not insane

* update, changelog

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2025-09-26 14:34:43 -04:00
Vault Automation
fb68084036
UI: Recovery test coverage and request updates (#9659) (#9675)
* update component names

* VAULT-39340 update db request

* add test coverage for backup input and copy recovery

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-26 01:31:57 +00:00
Vault Automation
fefc549e59
UI: Small design updates following TOTP self-enroll demo (#9578) (#9619)
* copy changes WIP

* update descriptions and headers to match latest designs

* add details to method info table

* update test assertion

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-25 23:42:49 +00:00
Vault Automation
c777815f62
Backport Update typescript client into ce/main (#9650)
* Update typescript client (#9624)

* update typescript client

* update args to match new typescript client expectation

* use api service for snapshot-load

* restart tests

---------

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
2025-09-25 16:01:59 -07:00
Vault Automation
2b0a682b4d
UI: Support Recover to Copy (#9608) (#9627)
* add support for recover to copy

* handle read db errors + recover to copy

* update tests

* update changelog entry + prefill copy path

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2025-09-25 12:49:25 -05:00
Vault Automation
0400a442c0
UI: Skip recovery requests for community versions (#9555) (#9588)
* use "redirect" instead of "afterModel"

* fix styling of radio group buttons

* remove redundant route redirect

* wrap mount dropdown in loading conditional

* reuse parent redirect logic, delete unused outlet

* minor padding adjustments

* force restart tests

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-23 16:12:01 -07:00
Vault Automation
24f7d63a13
UI: Customize error handling for recovery errors (#9533) (#9550)
* add error template for recovery routes

* only render one link

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-22 15:51:00 -07:00
Vault Automation
2fb842d0c8
show recovery during production (#9532) (#9549)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-22 15:50:51 -07:00
Vault Automation
8ce8932117
UI: MFA self-enroll cleanup tasks (#9441) (#9456)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-19 08:56:44 -07:00
Vault Automation
15ed6007d0
UI: Support database static roles recovery (#9374) (#9444)
* support read and recovery of database static roles

* add and update tests

* add changelog entry

* add manual database input support and fix search

* change dropdown alignment

* update changelog entry

* tidy

* update changelog and api headers

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2025-09-18 20:52:30 +00:00
Vault Automation
5c750e4ebb
UI: Implement MFA TOTP self-enrollment (#9161) (#9427)
* support wide width splash page

* add enable_self_enrollment param to mfa-method config

* build and implement mfa setup-card display only component

* fix transition bug navigating away from mfa method

* rename mfa card

* WIP implement self-enrollment workflow

* wip integration tests

* convert mfa-form to typescript

* remove unused import

* show alert whenver there is a QR code

* organze mfa steps into Mfa::VerifyForm and Mfa::SelfEnroll

* WIP stretch goals of mfa redesign

* add copyright headers

* update test

* add support for multiple constraints with self-enrollment

* remove comment

* fix multi-method UX

* fix state for failed validation

* remove changing button for error states

* add error handling and validation messages

* minor cleanup for params

* first round of cleanup and reorganization

* final round of logic cleanup and organization

* touch ups after testing with live backend

* fix comment

* final test cleanup!

* Apply suggestions from code review

* improve mirage error handling to more accurately mimic real failures

* add test coverage

* make qr rendering logic easier

* address PR feedback

* submit enroll form on enter, remove code digit number from copy, reset enroll state

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-18 10:00:09 -07:00
Vault Automation
24cf5eef07
move client count typescript declarations to separate file (#9418) (#9429)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-18 16:31:15 +00:00
Vault Automation
3aba34f58a
UI: Update header for Secret engines list page (#9416) (#9428)
* replacing page header with hds / updates

* add cluster name

* fix import

* move to exisiting getVersion task, update ref

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2025-09-18 12:30:02 -04:00
Vault Automation
bf0cecea38
UI: Uninstall unused node-notifier dep (#9404) (#9419)
* remove node-notifier

* remove version pinning of node-notifier

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-18 08:53:41 -07:00
Vault Automation
02dd079e91
Backport UI: General settings Integration and Acceptance Tests. into ce/main (#9382)
* UI: General settings Integration and Acceptance Tests. (#9363)

* General settings integration tests

* Add page header integration tests

* Add page header test for plugin settings as a tab too

* More tests!

* Acceptance tests!

* Add more acceptnace tests

* Add copywrite headers

* Fix linting error

* Fix accessibility errors

* Remove unused vars

* Put mock secret engine back into beforeHook

* Add enterprise to key management test (#9392)

---------

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2025-09-17 16:47:58 -07:00
Vault Automation
cc9e227d0b
feat: pre-fill SAML login role from URL (#9394) (#9402)
* prefill role for saml auth method

* add changelog

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-17 18:16:57 +00:00
Vault Automation
dfc8b589be
feat: pre-fill OIDC login role from URL (#9342) (#9391)
* feat: pre-fill OIDC login role from URL

Closes #31340

* chore: add changelog file

* chore: format

* test: cover new behavior

* refactor: avoid router access within component

* chore: remove unused `value` from auth field model

* refactor: pass query param value by key

* =rename changelog

* Credit attribution.

 Co-authored-by: evan-cohen <25253818+evan-cohen@users.noreply.github.com>

---------

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Co-authored-by: Evan Cohen <25253818+evan-cohen@users.noreply.github.com>
2025-09-17 09:42:12 -07:00
Vault Automation
de3d4453a3
UI: Improve formatting of API errors (#9330) (#9390)
* format error message with bullets

* format error message with bullets

* add changelog

* update kv error messages

* address tests and add coverage

* fix tests

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-17 09:41:24 -07:00
Vault Automation
64d421da69
UI: Add donut chart to client counts overview (#9040) (#9367)
* =replace client stats with donut chart viz

* update chart styling

* add a changelog entry

* test updates

* remove css changes

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2025-09-17 15:12:06 +00:00
Vault Automation
3942acf61a
[VAULT-39571] Update vault-reporting package to 0.8.0 (#9340) (#9344)
Co-authored-by: Eren Tantekin <eren.tantekin@hashicorp.com>
2025-09-16 15:17:27 -07:00
Vault Automation
f17451d675
[VAULT-39375] Ability to pick namespaces in usage dashboard (#9143) (#9259)
Co-authored-by: Eren Tantekin <eren.tantekin@hashicorp.com>
Co-authored-by: Jim Wright <jim.wright@hashicorp.com>
2025-09-16 13:36:39 -07:00
Vault Automation
528434ab83
UI: updates to how we handle unknown mount type (#9349) (#9378)
* updates to how we handle unknown mount type

* update test

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2025-09-16 18:12:03 +00:00
Vault Automation
1515ea76fe
[VAULT-39375] Update vault-reporting to 0.5.1 (#9094) (#9141)
Co-authored-by: Eren Tantekin <eren.tantekin@hashicorp.com>
2025-09-16 11:01:11 -07:00
Vault Automation
afd8a99bef
[VAULT-37521] UI: Enable secret engine remove bottom horizontal line (#9350) (#9353)
Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
2025-09-16 08:04:57 -07:00
Vault Automation
37ddf246b4
use secure random number generation in lieu of (#9320) (#9355)
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2025-09-15 22:52:58 +00:00
Vault Automation
b4a1f08580
UI: Snapshot Recovery Improvements (#9225) (#9354)
* include mount and ns in recovery message, fix state issue

* fix state issue

* show in prod and add changelog

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2025-09-15 22:02:49 +00:00
Vault Automation
7d026fa5a8
[VAULT-37521] UI: decouple auth and secret engines (#9307) (#9347)
* [VAULT-37521] UI: decouple auth and secret engines

* add copyright header

* address acceptance test failure

Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
2025-09-15 18:22:35 +00:00
Vault Automation
7a6d1b5b6b
adding tests for plugin settings page (#9292) (#9296)
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2025-09-11 21:15:48 +00:00
Vault Automation
91eabbd0db
[Feature][UI]: General Settings Follow Up Items (#8965) (#9262)
* UI: VAULT-39172 VAULT-38567 general settings followup (#8910)

* Add unsaved changes fields

* Set up default values for TTL and update general-settings

* Add form error state

* Ass TODO cmment

* Move actions back!

* Update unsaved changes state

* Address comments and add TODOs

* UI: VAULT-39264 Lease Duration TTL picker (#9080)

* Update default and max ttl to show correct default

* Query sys/internal endpoint for ttl values

* WIP ttl-picker-v2

* Intialize values and check for if ttl value is unset

* Use ttlKey instead of name

* Set name to be ttlKey

* Show validation for ttl picker

* Fix validation bugs

* Remove lease duration files

* Add copyright headers

* Initalize only when its a custom value

* Update ttl-picker to not have a dropdown

* Validate field before converting to secs

* [UI] Fix styling and update version card component (#9214)

* Fix styling and update version card component

* Update unsaved changes

* Code cleanup

* More code cleanup!

* Add helper function

* Remove query for lease duration

* Fix outstanding issues

* Captialize unsaved changes

* Update util name

* Remove action helper

* [UI]: General Settings design feedback updates (#9257)

* Small refactor based on design feedback

* More refactoring!

* Rename variables so it makes more sense!

* Remove unused modal fields

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2025-09-10 15:27:45 -07:00
Vault Automation
5ead15b8f2
UI: Add month filtering to client count dashboard (#9148) (#9255)
* delete activity component, convert date-formatters to ts

* add "month" filter to overview tab

* add test coverage for date range dropdown

* add month filtering to client-list

* remove old comment

* wire up clients to route filters for client-list

* adds changelog

* only link to client-list for enterprise versions

* add refresh page link

* render all tabs, add custom empty state for secret sycn clients

* cleanup unused service imports

* revert billing periods as first of the month

* first round of test updates

* update client count utils test

* fix comment typo

* organize tests

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-10 18:09:20 +00:00
Vault Automation
50fba16df4
VAULT-15663 UI: Fix padding issue in generate creds page for SSH secret engine. (#9073) (#9163)
Co-authored-by: Balaji <balaji.b@hashicorp.com>
2025-09-10 23:01:06 +05:30
Vault Automation
72d941454f
UI: Add engine disable functionality to delete dropdown option (#9235) (#9249)
* mimic engine disable function from list view into dropdown option

* add line

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2025-09-10 16:19:27 +00:00
Vault Automation
d173b10eb1
[VAULT-37521] UI: update secrets/mounts route to call plugin-catalog endpoint (#9224) (#9236)
Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
2025-09-09 16:40:28 -07:00
Vault Automation
98108f8e0e
UI: Rely on sys/internal/counters/activity response to set time period for client data (#9096) (#9137)
* add error handling for permission denied

* one more for the error handling business

* remove date range alert

* add more test coverage to date formatters

* update date querying and test coverage

* one more lil cleanup

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-06 13:30:00 -07:00
Vault Automation
556810cd81
stub billing start for CE test runs (#9159) (#9160)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-06 12:27:48 -07:00
Vault Automation
0fe881578b
removes listing visibility config field from secrets engine form (#9113) (#9128)
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-09-05 21:12:32 +00:00
Vault Automation
27ba63f9a6
pluralize model for dynamic segment (#9149) (#9155)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-05 18:11:45 +00:00
Vault Automation
0cb3c19047
fix setting type in test (#9152) (#9154)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-05 18:06:50 +00:00
Vault Automation
b79dcd715a
[UI] Ember Data Migration - Auth Method/Config Cleanup (#9033) (#9058)
* removes remaining instances of auth-method model/adapter use

* removes auth method and config models/adapters/serializers

* fixes field to attrs tests

* fixes mfa tests

* fixes password reset

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
Co-authored-by: Jordan Reimer <jordan.reimer@hashicorp.com>
2025-09-04 11:00:29 -06:00
Jordan Reimer
d8ecd066b8
Copy [UI] Ember Data Migration - Auth Method Configs into main (#9000) (#9099)
* updates auth method options route to use form and api client

* updates auth method config and section routes to use api client and open api form

* updates display attrs for auth method configs

* fixes plugin identity util fields tests

* fixes js lint error

* updates enable-tune-form tests

* hides specific form field for jwt/oidc auth config types

* Revert "updates display attrs for auth method configs"

This reverts commit 5d382f79276f56b3fdbe64fcbc9c8365c5f4b421.

* Revert "fixes plugin identity util fields tests"

This reverts commit 6d4acbe3228c796745f2dea6279c1540bb053c62.

* fixes config section test

* bumps api client version

* updates auth config form options component to use proper endpoint

* fixes enable tune form tests

* fixes auth config form options tests

* fixes type errors in snapshot-manage component

* updates recover_source_path arg to undefined so it is not included in the query params

* fixes remaining test failures related to user_lockout_config

---------

Co-authored-by: Vault Automation <github-team-secure-vault-core@hashicorp.com>
2025-09-03 17:11:41 -07:00
Ryan Cragun
d283ef5897
renables test server setting that was reverted (#9046) (#9098)
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-09-03 23:00:04 +00:00
Jordan Reimer
a5216935da
UI: Snapshot details view (#8974) (#9097)
* snapshot details view

* acceptance tests + polling improvements

* fix routing issue when navigating via side nav

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2025-09-03 16:21:16 -06:00
Vault Automation
7bd975f3e1
add aria-describedby and id to non-accessible elements (#9025) (#9030)
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2025-09-03 15:47:28 -06:00
Jordan Reimer
27f194f9d3
UI: Snapshot load form (#8743) (#9093)
* build mirage handler for snapshot recovery endpoints

* WIP add namespace and mount fields to read/recover form

* change option to engine object

* update badge color according to status and make loaded snapshot reqs within root ns

* wip read reqs and view

* add recovery banner and form validation

* move read view into modal

* tidying

* organize

* tests

* style fixes

* error handling

* tests

* WIP load form and update header

* styling

* update requests with snapshot params

* style fix

* yarn lock update for latest spec updates

* hide dr seconday + flesh out load reqs

* tests

* add polling for snapshot status

* disable button when not in ready state

* reset errors

* don't poll during tests

* remove todo

* test updates

* fix ns select + test

* remove todo

* Revert "Merge branch 'copy/main/VAULT-38374/build-snapshot-manage-form' into ui/VAULT-38373/build-snapshot-load-form"

This reverts commit f7cce759cda286bc7b76e84186b5497589706095, reversing
changes made to 6cba99557ce6d8478f4c875579b71be4c531522e.

* add breadcrumbs for load form

* hide shared paths on performance secondaries

* styling, tidy, mount options, engine types

* lots of tidying, add manual mount input, slower polling

* make read + recover requests in selected namespace

* link to child ns if recovering there

* test updates

* remove todos

* centralize recovery data values

* type, state and error improvements

* update FileToArrayBuffer to use HDS FileInput

* error handling

* allow manual input

* tests

* remove unneeded services

* api call update

* update radio fields to allow a badge for 404 message

* update tests

---------

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
2025-09-03 15:36:57 -06:00
Vault Automation
9538905b86
UI: Build snapshot manage form (#8675) (#8957)
* build mirage handler for snapshot recovery endpoints

* WIP add namespace and mount fields to read/recover form

* change option to engine object

* update badge color according to status and make loaded snapshot reqs within root ns

* wip read reqs and view

* add recovery banner and form validation

* move read view into modal

* tidying

* organize

* tests

* style fixes

* error handling

* tests

* update requests with snapshot params

* style fix

* yarn lock update for latest spec updates

* tests

* add polling for snapshot status

* disable button when not in ready state

* reset errors

* don't poll during tests

* remove todo

* test updates

* fix ns select + test

* remove todo

* styling, tidy, mount options, engine types

* lots of tidying, add manual mount input, slower polling

* make read + recover requests in selected namespace

* link to child ns if recovering there

* test updates

* centralize recovery data values

* type, state and error improvements

---------

Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
Co-authored-by: Lane Wetmore <lane.wetmore@hashicorp.com>
2025-09-03 12:22:30 -06:00
Vault Automation
c2823e96eb
UI: Render client export table in "Client list" tab (#8880) (#9071)
* render export activity in table by client type

* refactor filter toolbar to apply filters when selected

* finish filter toolbar refactor

* finish building client-list page

* remaing test updates from the filter-toolbar refactor

* WIP tests

* finish tests for export tab!

* add test for bar chart colors

* reveal client list tab

* add changelog

* filter root namespace on empty string or "root"

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-03 00:24:00 +00:00
Vault Automation
6a50eeed9f
UI: Fix entities and groups error when navigating away from list views (#9060) (#9066)
* add model to pagination component

* add test coverage

* add changelog

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-02 23:54:59 +00:00
Vault Automation
ea46b31d25
UI: Fix chart legend order (#8827) (#8856)
* fix chart legend order and make sync clients last

* reimplement using idx in chart legend

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
2025-09-02 16:43:21 -07:00
Vault Automation
db994695e0
Backport UI: Reorganize client components into ce/main (#8826)
* UI: Reorganize client components (#8742)

* remove complex logic from running totals component

* move byMonthNewClients getter to overview

* organization: remove unused @versionHistory, update tests

* rename namespaceLabels getter

* refactor filter-toolbar to manage drodown Sets

* add search bar to filter toolbar

* make export request

* finish adding search logic to dropdown

* rename route method

* move typescript declarations because all of the client ones are in client-count-utils

* add error template for failed export request

* update tests

* stub activity export adapter method instead of trying to mock readable stream

* lint

---------

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
2025-09-02 15:54:52 -07:00
Vault Automation
2b469deeca
UI: Update client count overview table and add filtering (#8663) (#9057)
* rename query params to match keys from api response

* move type guard check to util

* update color scheme

* remove passing selected namespace to export activity data request

* remove namespace and mount filter toolbar

* update response, sort by client count number

* remove default page size for testing

* implement table and filters in overview tab

* remove old query params

* cleanup unused args

* revert page header changes

* update mirage, remove month from utils

* update client count utils

* one more color!

* reset table to page 1;

* workaround to force Hds::Pagination::Numbered to update when currentPage changes

* add empty state test for no attribution

* delete unused methods

* add test for new utils

* add changelog

* rename changelog

---------

Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
2025-09-02 13:43:02 -07:00