800 Commits

Author SHA1 Message Date
Vault Automation
5013a5e764
UI: Updating KVV2 to use new config/tune flow (#11256) (#11511)
* separate header comp

* replacing header

* redirect to general settings

* moving kv configure under plugin settings

* add exit button

* removing all use of old header with new, updated logic

* reuse secretPath, add button to badge

* test updates pt1

* test updates pt2, refactors

* test fixes

* testing

* removing extendedConfig

* put tabs out of header

* adding new config edit page & updates

* adding page test

* pr comments

* replace type with effectiveType

* test fixes

* adding badges, cleanup test

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2025-12-18 23:19:37 +00:00
Vault Automation
91025c9ce7
[VAULT-33083] UI: support builtin plugins as external plugins (#11244) (#11489)
* [VAULT-33083] UI: support builtin plugins as external plugins

* address copilot review comments

* add changelog

* remove unused id property

* address some nits & add test coverage

* should use utils instead of mixins

* update comments

* move/consolidate logic for 'transform' engine type into ENGINE_TYPE_TO_MODEL_TYPE_MAP, added/updated test coverage

* cleanup: extract transform engine model type logic into helper functions

* address pr comment

* separation of concerns - move relevant vars/fns from all engines metadata to external plugin helpers & secret engine model helpers files

* add TODO; remove unnecessary exports

* rename secret-engine-model-helpers to secret-engine-helpers

* update unknown engine metadata from var to fn to handle a methodType param

* remove unnecessary test

* update changelog; return methodType for unknown engine metadata, simplify code for readability

* add optional chaining for fail-safe

* address kvv1 edge case - on exit configuration, kvv1 should redirect to list-root while kvv2 should redirect to the engineRoute defined in all-engines-metadata

* add ibm header

* fix test failure after updating unknown engine type

Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
2025-12-18 18:29:20 +00:00
Vault Automation
601e2cea29
[UI][VAULT-40916] Update page headers ui/app/components (#11104) (#11417)
* Update page headers for database components

* Update generate forms and license info

* Mount backend form page headers..

* Raft page headers

* Update role-aws-edit page header

* Tools, role-ssh, mount-backend-form and fix tests

* OIDC, TOTP and userpass page headers and tsts

* odic, keymgmt, and dashboard

* Fix dashboard title tests

* Fix breadcrumbs

* MFA, idenitity, and generated item

* Fix mfa enforcement page header tests

* Move tabs out of page header

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2025-12-18 11:29:04 -05:00
Vault Automation
4900cbfe1a
[UI] Ember Data Migration - Kubernetes Overview/Cleanup (#11430) (#11435)
* converts kubernetes overview page component to ts

* converts kubernetes role index controller to ts

* updates kubernetes overview to use api service

* removes store service from kubernetes engine

* removes kubernetes models, adapters and serializers

* removes unused types

* updates removed type references

* removes fetch-secrets-config decorator

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-12-17 17:26:50 +00:00
Vault Automation
366e77bac5
UI: Convert file policy-form to typescript (#11368) (#11434)
* convert file to typescript

* remove unused util

* add support for nested options

* move automation snippets outside of builder component

* update snippet utils

* Revert "remove unused util"

This reverts commit bcb53271e63dd1fc3d2f735d7f7fcc54e5e31988.

* render automation snippets for only acl policy types

* cleanup old args

* add default arg for formatEot

* make tfvp formatters easier to follow, maybe?

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-12-17 17:20:19 +00:00
Vault Automation
304ba958fe
[UI] Ember Data Migration - Kubernetes Roles (#11403) (#11419)
* enables typescript in kubernetes engine

* adds api service to kubernetes engine

* removes mounts handler from kubernetes mirage handler

* adds kubernetes application route to handle withConfig decorator check

* updates usage of application model in kubernetes engine

* updates kubernetes configuration route to use api service fetched config

* adds kubernetes config form class

* updates error route backend references to secretsEngine

* updates kubernetes configure workflow to use api service and form class

* fixes tests

* converts kubernetes index route to ts

* adds capabilities service to kubernetes engine

* updates kubernetes roles view to use api service

* converts kubernetes role details component to ts

* updates kubernetes role details route to use api service

* reverts kubernetes mirage handler change

* converts kubernetes role index route to ts

* updates kubernetes generate credentials workflow to use api service

* converts kubernetes role edit and create routes to ts

* converts kubernetes create-and-edit component to ts

* adds form class for kubernetes role

* updates kubernetes create and edit routes to use api service and form class

* fixes tests

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-12-16 23:13:18 +00:00
Vault Automation
2bc8a58cfd
[UI] Ember Data Migration - Kubernetes Config (#11358) (#11401)
* enables typescript in kubernetes engine

* adds api service to kubernetes engine

* removes mounts handler from kubernetes mirage handler

* adds kubernetes application route to handle withConfig decorator check

* updates usage of application model in kubernetes engine

* updates kubernetes configuration route to use api service fetched config

* adds kubernetes config form class

* updates error route backend references to secretsEngine

* updates kubernetes configure workflow to use api service and form class

* fixes tests

* reverts kubernetes mirage handler change

* updates type for inferredState in kubernetes config page component

* removes commented out form field in kubernetes config form

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-12-16 19:24:27 +00:00
Vault Automation
56de87a0c8
UI: Implement visual policy builder (#11250) (#11367)
* replace Hds::Reveal with Hds::Accordion

* adjust spacing to render in Hds::Form component

* fix spacing in policy-example

* cleanup form-section class usage

* implement visual builder in create policy form

* hide visual editor in search select modal

* use general selectors, alphabetize form/field selectors

* update test coverage to check for visual policy editor

* reorganzie tests by module

* add saving functionality for visual editor

* refactor event handling methods

* refactor component so parent manages stanzas

* move snippets to automation-snippets tab component

* polish up policy diff modal

* refactor arg to be isCompact

* update test coverage and export new component

* rearrange methods to make diff easier

* small cleanup, abc vars and remove unneeded change

* add lanuage and update test coverage

* update comment

* fix form hierarchy

* fix modal spacing;

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-12-15 20:42:13 +00:00
Vault Automation
fdacc28522
[UI] Ember Data Migration - LDAP Overview/Cleanup (#11255) (#11297)
* removes withConfig decorator and moves check to application route

* updates backendModel references in ldap engine to secretsEngine

* adds ldap config form class

* updates ldap config type in application route

* updates ldap configure and configuration routes to use api service

* adds capabilities service to ldap engine

* updates ldap mirage handler and scenario

* adds ldap capabilities constants and helper for fetching capabilities for roles

* updates ldap roles view to use api service

* updates ldap role details view to use api service

* updates ldap role create/edit views to use api service and form classes

* updates ldap role subdirectory view to use api service

* updates ldap role credentials view to use api service

* updates ldap libraries list views to use api service

* updates ldap library details view to use api service

* updates ldap library details accounts view to use api service

* updates ldap library details accounts check out view to use api service

* updates ldap library details configuration view to use api service

* updates ldap library create/edit workflows to use api service and form class

* fixes lint errors

* updates ldap overview to use api service

* updates ldap overview tests

* removes store and pagination services from ldap engine

* removes ldap related ember data files

* updates path_to_library var casing

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-12-11 18:37:17 +00:00
Vault Automation
2e0f2f1646
[UI] Ember Data Migration - LDAP Library (#11254) (#11260)
* removes withConfig decorator and moves check to application route

* updates backendModel references in ldap engine to secretsEngine

* adds ldap config form class

* updates ldap config type in application route

* updates ldap configure and configuration routes to use api service

* adds capabilities service to ldap engine

* updates ldap mirage handler and scenario

* adds ldap capabilities constants and helper for fetching capabilities for roles

* updates ldap roles view to use api service

* updates ldap role details view to use api service

* updates ldap role create/edit views to use api service and form classes

* updates ldap role subdirectory view to use api service

* updates ldap role credentials view to use api service

* updates ldap libraries list views to use api service

* updates ldap library details view to use api service

* updates ldap library details accounts view to use api service

* updates ldap library details accounts check out view to use api service

* updates ldap library details configuration view to use api service

* updates ldap library create/edit workflows to use api service and form class

* fixes lint errors

* removes errant log

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-12-10 10:38:40 -07:00
Vault Automation
80a5800c16
[UI] Ember Data Migration - LDAP Roles (#11196) (#11249)
* removes withConfig decorator and moves check to application route

* updates backendModel references in ldap engine to secretsEngine

* adds ldap config form class

* updates ldap config type in application route

* updates ldap configure and configuration routes to use api service

* adds capabilities service to ldap engine

* updates ldap mirage handler and scenario

* adds ldap capabilities constants and helper for fetching capabilities for roles

* updates ldap roles view to use api service

* updates ldap role details view to use api service

* updates ldap role create/edit views to use api service and form classes

* updates ldap role subdirectory view to use api service

* updates ldap role credentials view to use api service

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-12-09 17:26:04 +00:00
Vault Automation
78a4ea458f
replace vault-logo-spinner inline styles (#11234) (#11235)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-12-08 13:32:57 -08:00
Vault Automation
63bbbd163b
UI: Build policy generator (#10985) (#11209)
* wip policy stanza builder

* Implement add and delete new stanza functionality

* refactor to use Set()

* make copy updates, add callback functionality to pass policy to parent

* move policy formatter to util, add test coverage

* =separate acl-policy component into two smaller components, add automation snippets

* reorganize utils, add test coverage

* finish rename

* reduce scope of builder

* fix spacing

* add a ns test, remove unused spacing var

* rename arg

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-12-05 22:28:39 +00:00
Vault Automation
c34e25fb76
[UI] Ember Data Migration - LDAP Config (#11048) (#11194)
* removes withConfig decorator and moves check to application route

* updates backendModel references in ldap engine to secretsEngine

* adds ldap config form class

* updates ldap config type in application route

* updates ldap configure and configuration routes to use api service

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-12-05 17:43:38 +00:00
Vault Automation
950d85a1dd
[UI][VAULT-40925]: PKI page headers (#11081) (#11148)
* Sign cerficate page header

* Generate certificates page header

* Role edit page header

* Role details page header

* Role create page header

* configure create and generate intemediate page headers

* generate root page header

* Pki issuer and tidy page headers

* More PKI page headers

* Update more pki page headers!

* Update PkiPageHeader component

* Pki error page header

* Fix page header title tests

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2025-12-04 16:00:06 +00:00
Vault Automation
e6072b50e5
[UI] Ember Data Migration - PKI Overview/Cleanup (#11024) (#11117)
* removes store query from pki config route

* updates pki overview route to use api service

* removes remaining references to store in pki tests

* removes unused store service injections in pki components

* removes store dependency from pki engine

* removes ember data related unit tests for pki

* removes pki ember data models, adapters and serializers

* removes unused pagination service injections in config-ui, kv, pki and sync engines

* removes unused store service injections from pki engine

* updates dashboard quick-actions-card component to fetch options using api service

* removes path-help test using pki model

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-12-03 20:37:20 +00:00
Vault Automation
0e13196509
UI: Clarifies warning alert for string list input when a comma is intentional (#11046) (#11099)
* clarify warning message for scenarios where a comma is intentional

* add test

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-12-03 10:23:29 -08:00
Vault Automation
cae5303ed9
[UI][VAULT-40924]: update remaining ldap page headers (#11042) (#11094)
* VAULT-40924 update remaining ldap page headers

* Fix failing tests!

* Add dropdown to LDAP libary details page header

* Fix libraries fix and add roles dropdown

* Update tests

* Apply suggestions from code review



* Fix failing tests.

---------

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2025-12-02 22:18:21 -08:00
Vault Automation
004d6da92c
[UI] Ember Data Migration: PKI Tidy (#11020) (#11049)
* updates pki tidy auto route to use api service

* updates pki tidy status view to use api service

* updates pki tidy auto and manual workflows to use api service and form class

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-12-01 20:59:50 +00:00
Vault Automation
a2eb1cf5df
[UI] VAULT-40910 VAULT-40947 VAULT-40948 VAULT-40949 VAULT-40950 VAULT-40953 Add top nav and update sidenav (#10982) (#11019)
* Add top nav and update sidenav

* Only show app-header when logged in

* Add and fix tests!

* Add changelog...

* Update SideNav to AppSideNav

* Fix ts errors

* Add dropdown back...

* Fix homelink

* Fix docs sidenav

* Update comments

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2025-11-26 19:36:33 +00:00
Vault Automation
5ff894f494
[UI] Ember Data Migration - PKI Roles/Certificates (#11004) (#11016)
* removes unused model hook from issuer import route

* updates pki roles route to use api service

* updates pki role details route to use api service

* removes Ember Data Model support from pki-not-valid-after-form component

* updates pki role generate and sign workflows to use certificate form and api service

* adds pki certificate form

* updates pki certificates routes to use api service

* adds pki role form

* removes Ember Data Model support from pki-key-parameters component

* removes Ember Data Model support from pki-key-usage component

* updates pki role create and edit views to use api service and form class

* fixes tests

* fixes a11y violations

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-11-26 09:29:58 -07:00
Vault Automation
51c6f056bb
UI: Remove extra request for LDAP engine config (#10919) (#10947)
* remove request for ldap config;

* simplify tabs to accept routes as args

* reuse tabs in ember engines

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-11-20 00:26:36 +00:00
Vault Automation
d602d6164f
UI: Unsaved changes modal refinements (#10148) (#10248)
* Initial unsaved changes bug fixes

* Fix some transition bugs

* VAULT-39913 mount params

* Fix failing tests

* spitballin (#10179)

* spitballin

* fix second save bug

* Fix failing tests

* set initital state

* Put initial state back

---------



* Address feedback!

* Fix failing tests

* Add changelog

---------

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-11-19 22:48:24 +00:00
Vault Automation
8d8b352662
[UI] Add exit configuration button to ldap and plugin settings (#10918) (#10945)
* Add exit configuration button to ldap and make it dynamic

* Fix spelling mistake

* Add exit configuration button tests

* Update tests!

* Add plugin-settings tests!

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2025-11-19 21:27:32 +00:00
Vault Automation
601846e3ab
UI: Add breadcrumbs to more pages (#10866) (#10942)
* add breadcrumbs to secret recovery pages

* Add breadcrumbs to auth method and mfa pages

* add breadcrumbs for oidc provider pages and fix breadcrumbs comp not checking current param

* remove todo

* update test

* tidy

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2025-11-19 20:13:39 +00:00
Vault Automation
3092a60978
Cleanup secrets engine test selectors (#10898) (#10920)
* use SES.configure selector consistently

* VAULT-40956 remove duplicate "Configure" toolbar actions for kubernetes

* remaining selector cleanup and consolidation

* update tests

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-11-19 03:21:32 +00:00
Vault Automation
38b25c639f
[UI] Remove LDAP toolbar configure button (#10897) (#10909)
* Remove toolbar tests

* Use unless instead if not

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2025-11-18 19:31:32 +00:00
Vault Automation
35c746b2cf
[UI] Ember Data Migration - PKI Keys (#10825) (#10903)
* updates issuers list route to use api service

* updates issuer details route to use api service

* updates issuer edit route to use api service

* updates issuer cross sign route to use api service

* updates issuer sign intermediate route to use api service

* updates rotate root route to use api service

* fixes a11y violation in pki-issuer-edit component

* updates pki keys list view to api service

* updates pki key details view to api service

* updates pki key import view to api service

* updates pki key create/edit views to api service

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-11-18 11:56:48 -07:00
Jordan Reimer
66faca3a63
[UI] Ember Data Migration - PKI Issuers (#10757) (#10896)
* updates issuers list route to use api service

* updates issuer details route to use api service

* updates issuer edit route to use api service

* updates issuer cross sign route to use api service

* updates issuer sign intermediate route to use api service

* updates rotate root route to use api service

* fixes a11y violation in pki-issuer-edit component

* updates subject_serial_number to serial_number for pki
2025-11-18 10:39:26 -07:00
Vault Automation
71dee6b2e5
[UI] Ember Data Migration - PKI Configuration (#10328) (#10523)
* [UI] Ember Data Migration - PKI Config Setup (#10320)

* adds api and capabilities services to pki engine

* updates eslintrc to ignore rest siblings for no-unused-vars rule

* adds ember-template-lint to pki engine

* updates check-issuers decorator to use api service

* adds constants for pki capabilities paths

* updates pki configuration route to use api service and fetch capabilities

* [UI] Ember Data Migration - PKI Config Generate Form (#10322)

* updates form class data object to tracked

* adds isNot validator

* updates tsconfig to resolve json modules

* updates open-api form class to use the spec file rather than help response for form field/group generation

* adds pki config generate form

* [UI] Ember Data Migration - PKI Config Create (#10331)

* updates pki configure create route and component

* updates pki generate csr component to use api service and form class

* updates pki generate root component to use api service and form class

* updates pki import bundle component to use api service

* [UI] Ember Data Migration - PKI Config Generate Sub Components (#10332)

* updates pki generate toggle groups component to support form class

* updates pki key parameters component to support form class

* updates pki generate immediate component based on csr component changes

* updates pki generate root component based on root component changes

* more pki config sub component updates

* updates pki issuer rotate root component to use api serivce and form

* updates pki acceptance tests (#10341)

* [UI] Ember Data Migration - PKI Configuration Edit (#10339)

* adds forms for pki config acme, cluster, crl and urls

* updates pki config edit worflow to use api service and forms

* updates pki config details workflow to use api service (#10340)

* updates auth configure section route to pass schema key to OpenApiForm constructor

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-11-18 09:42:22 -07:00
Vault Automation
a629acd818
[UI] VAULT-40825 LDAP Engine Plugin Settings Follow-on Tickets (#10768) (#10870)
* VAULT-40827 Remove isOldEngine property

* VAULT-40826 clean up plugin links logic

* Fix plugin settings logic..

* Add comments..

* Fix bug!

* AAdd configEdit and configRead route

* Configure tabs suggestion (#10795)

* refactor logic into one local helper

* refactor to pass in metadata

* update comments

* fix arg typo

* don't make assumptions! explicitly check whether an engine isConfigurable

* pass in @isConfigured arg and add isConfigurable boolean for any engine

* add integration test

* add acceptance test

* Use configs

* Remove unused vars

* Use configurableEngines

* Add aftermodel hook..

* add list route nav test

* Remove dropdown

* Remove mount config test

* Fix failign tests

* Fix tests..

---------

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
2025-11-17 17:48:12 -08:00
Vault Automation
a92bffe5ce
UI: Hide Client Count Dashboard for PKI Only Clusters (#10513) (#10831)
* hide client counting dashboard for PKI only clusters

* add test and hide client count card

* convert to ts,
add pki only license banner, add comments, and support for multiple dismissed types

* add banner description

* add changelog entry

* update tests + add test coverage for multiple banners + info banner

* update tests

* add doc link

* Apply suggestions from code review



* naming updates

* update feature key format

* update casing

* add enum, revert naming, move helper to util

* test hidden nav link and dashboard card

---------

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-11-17 09:11:14 -06:00
Vault Automation
621e3686f0
UI: LDAP Plugin settings (#10476) (#10763)
* Update plugin-settings tab routes

* Get LDAP engine working with plugin-settings and general-settings

* Add copyright headers

* Fix ts error

* Fix more failing tests

* Gate header by ff

* Update failing tests and fix bugs

* Add changelog

* Fix configure tabs route name

* Update comment

* Address some comments

* configuration route..

* Update configure and configuration routes to use header

* Update tab-page-header component name

* Fix onClose modal issue where screen locks up

* Put configure back..

* Fix template errors

* Update manage dropdown..

* Move things back..

* Fix tests!

* Fix modal locked in bug

* Fix failing test where it wasnt transitioning to the configuration route

* Use ember concurrency instead

* Check if onConfirm exists before calling it

* Update variable

* Remove unused ConfigureTabs

* Fix JS doc and remove conditional

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2025-11-12 18:02:16 -08:00
Vault Automation
01e4c042d0
UI: Fix Secrets table viewport being cutoff on smaller sizes (#10607) (#10637)
* swapping to advanced table to handle resize bug

* fixing tests

* fix list table test

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2025-11-05 22:55:06 +00:00
Vault Automation
6c4e6a567e
UI: fix LIST request for metadata endpoint (#10371) (#10584)
* fix LIST request for metadata endpoint

* add test coverage

* update kv suggestion input compoent

* update comment, add another test for kv suggestion input

* fix typo in web REPL for metadata flag, add test

* update from curly to angle bracket syntax

* sanitize url in api service VAULT-40414

* add fallback return for no url to removeDuplicateSlashes method

* move sanitization directly to middleware

* remove sanitization for kv list requests

* strip requests of trailing slash

* revert changes to api pre request middleware

* update vault-client-typescript

* add changelog

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-11-04 23:57:54 +00:00
Vault Automation
091633203a
[VAULT-39917] UI: bugfix to support hierarchical ldap libraries (#10180) (#10569)
* [VAULT-39917] UI: bugfix to support hierarchical ldap libraries

* add loading state instead of staying on secret engine list page

* support deeply nested hierarchical libraries using recursion

* show library count as soon as we have it available

* fix breadcrumbs by supporting subdirectory routes

* code cleanup

* remove unnecessary loading text

* additional code cleanup

* more code cleanup / updating comments

* add changelog

* update tests

* fix build issues

* fix test failure

* address pr comments: update comment, use ember-concurrency for loading states

* address pr comment: changelog updates

* address PR comment: use await .last instead of .then()

* address pr comment: cleanup - remove unused args

* address PR comment: remove dup request for root libraries, add inline error

* remove unnecessary, dup logic

* update failing tests

* update failing tests

* Update comment

* bug fix: update record should support hierarchical paths; added test coverage

Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
2025-11-04 13:52:38 -08:00
Vault Automation
0e6dc73772
UI: fix PKI certificate key_usage parsing and add extended key flags to role form (#10416) (#10479)
* fix parsing of key_usage VAULT-40303

* VAULT-40220 add extended key usage flags and test coverage

* add test coverage

* add changelog

* fix mislabeled role parameter

* update tests

* VAULT-40219 link jira

* update changelog text

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-10-29 18:47:57 +00:00
Vault Automation
bfac07958a
UI: Pull nested interactives out of labels (#10231) (#10367)
* pull nested interactives out of labels

* move label styles into new class

* update tooltip testd

* fix test

* update missed css classes + update css variable usage

* update font size

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2025-10-24 13:01:19 -05:00
Vault Automation
3a4d34f241
[UI] Set up core page header component and update secret engine header (#10274) (#10330)
* Set up dynamic page header component and update secret engine header

* Add copyright headers

* Remvoe unsused tab for now

* Add page header test

* Remove component test since we deleted component

* Address feedback..

* Add deprecation comment

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2025-10-23 09:48:02 -07:00
Vault Automation
42d01ee5fe
Upgrade jsondiffpatch dependency version (#9651) (#10282)
* update jsondiffpatch dep + use webpack to convert into UMD format

* do not lint vendor files

* update test

* lint fix

* fix merge conflict error

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2025-10-22 15:02:47 -05:00
Vault Automation
0845606fe3
UI: Adopt HDS tooltip (#9967) (#10326)
* replace instances of ToolTip component with HDS tooltip

* Replace InfoTooltip component instances with HDS tooltip

* update tests

* remove remaining custom tooltip code

* remove rich tooltip with copy

* update test and update toolbar link with styling to remove extra link

* Apply suggestions from code review



* update test and remove setRunOptions now that tooltip violations are addressed

* Revert "Apply suggestions from code review"

This reverts commit 90f01c653be68f23b6dbd75f252d227e38dbe53f.

* Remove unused disabled tooltip code

* add comment and TODO explaining conditional modifier pattern

---------

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-10-22 18:24:50 +00:00
Vault Automation
0c6c13dd38
license: update headers to IBM Corp. (#10229) (#10233)
* license: update headers to IBM Corp.
* `make proto`
* update offset because source file changed

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2025-10-21 15:20:20 -06:00
Vault Automation
f39bb43a4c
UI: Fix JsonEditor updates after migration to Hds::CodeEditor (#10140) (#10166)
* fix code editor updates on @value change

* fix test failures

* remove setRunOptions

* use component "restore example" instead of custom one"

* add test coverage

* Revert "use component "restore example" instead of custom one""

This reverts commit 8e685f871cefd3f8a8be72b094b5e1b5fb93c894.

* fix formfield reset action

* remove remaining unused @container args

* add comment

* use helpText

* add test coverage

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-10-15 23:07:58 +00:00
Vault Automation
4617d3fd16
fix color contrast ratio (#10154) (#10162)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-10-15 15:29:31 -07:00
Vault Automation
6886447328
General test improvements (#10099) (#10147)
* add parallel command

* declare vault-keys module for test helpers

* use mirage to make dropdown check more reliably

* wait for inputs

* attempt to stabilize dashboard tests in parallel

* revert wait for inputs

* move problem acceptance tests to integration tests

* move more tests to integration

* remove assert.expect()  because there are no callback assertions

* delete redundant acceptance tests

* cleanup login state in afterEach hook

* use mirage for login settings test

* update other test based on mirage handler changes

* throw some waitFor in there

* revert waitFor

* use mirage in shared-identity-test

* remove storage cleanup from this pr

* remove parallel..again

* remove unnecessary auth login changes

* add version to dashboard/overview test "it shows the learn more card on enterprise"

* convert "version 2 with no update to config endpoint still allows mount of secret engine" to integration test

* restart tests

* Apply suggestion from @hellobontempo

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-10-15 19:50:39 +00:00
Vault Automation
b2c8b1b78d
update multi delete button text, remove css class (#10145) (#10146)
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2025-10-15 14:35:29 -04:00
Vault Automation
ceed8011de
UI: Add new List-table component & replace list with table for Secret Engines (#9724) (#10113)
* sample setup with table & pagination

* adding selected, hooking actions

* no side border

* adding multi disable

* updates to placement, test labels

* updates for pagination, design change on filter

* update test

* update test selectors

* straggler test

* more test fixes

* minor fixes

* change back

* refactor components

* fixing tests, pls be the end

* some cleanup, adding comments

* adding cleanup for these tests

* added changelog

* modernize test and pray

* last try

* updates

* updates and I love tests, pt1

* i love tests pt2

* minor fix

* update card

* update card test

* pr comments

* updating disable tasks, test fix

* fix test

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2025-10-14 14:07:21 -04:00
Vault Automation
a5c1e7f428
[UI][Bugfix]: Unsaved changes modal + Confirm Leave (#9984) (#10091)
* Update unsaved changes service + modal

* Remove more unused consts..

* Remove controller

* Fix bugs!

* Add copyright headers

* Add sevice comment

* suggested changes (#9998)

* Address more feedback

* Add unsaved changes modals

* Update modal header and add generalized text

* Add tests

* Fix ts errors

* Address feedback

* Redirect to general-settings route

* Address feedback!

* Remove extra data-test-breadcrumb!

* Remove ember testing..

---------

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-10-13 15:07:44 -07:00
Vault Automation
bf32d52450
[UI] Ember Data Migration - KV Cleanup (#9623) (#9794)
* adds error handling for control groups to api service as post request middleware

* updates kv list route to use api service

* updates kv config route to use api service

* updates kv secrets overview route to use api service

* updates kv secret details route to use api service

* adds kv form

* updates kv metadata details route to use api service

* updates kv paths and version history routes to use api service

* refactors kv-data-fields component to form component

* updates kv secret create route to use api service

* updates kv secret edit route to use api service

* updates kv metadata edit route to use api service

* adds waitFor to async middleware in api service to attempt to fix race conditions in tests

* adds kvMetadata path to capabilities path map

* fixes kv list item delete test selector

* removes kv models, adapters and serializers

* removes store from kv addon

* removes ember data related test helpers from kv-run-commands

* updates comments that referred to kv ember data models

* updates kv-page-header tests

* updates model-form-fields test to use totp-key model rather than kv/data

* removes another reference to kv/data model from path-help test

* fixes kv v2 workflow create tests

* fixes issue returning metadata for secret when latest version is deleted

* decodes uri in path returned by api service parseError method

* fixes kv v2 edge cases tests

* fixes issue deleteing control group token in api service

* decodes url for control group token lookup in api service

* fixes version history linked block link

* defaults cas to 0 when creating new secret

* removes log

* adds ember-template-lint to kv engine

* more test fixes

* updates kv-suggestion-input component to use api service

* removes kv metadata model reference from quick actions card

* fixes sync destination sync secrets tests

* updates kv helpers from classic format

* updates kv helpers imports

* reverts to use secret.version in details edit route

* fixes isDeleted import in kv version history test

* adds waitFor to api service parseError method

* reverts removing async from addQueryParams api method

* attempts to fix test flakiness requesting custom metadata from data endpoint

* more tweaks to requesting metadata from data

* adds waitFor to requestData method

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-10-02 12:52:26 -06:00
Vault Automation
0b939eaaf4
[UI] Ember Data Migration - KV Secrets/Metadata (#9508) (#9762)
* adds error handling for control groups to api service as post request middleware

* updates kv list route to use api service

* updates kv config route to use api service

* updates kv secrets overview route to use api service

* updates kv secret details route to use api service

* adds kv form

* updates kv metadata details route to use api service

* updates kv paths and version history routes to use api service

* refactors kv-data-fields component to form component

* updates kv secret create route to use api service

* updates kv secret edit route to use api service

* updates kv metadata edit route to use api service

* adds waitFor to async middleware in api service to attempt to fix race conditions in tests

* adds kvMetadata path to capabilities path map

* fixes kv list item delete test selector

* fixes kv v2 workflow create tests

* fixes issue returning metadata for secret when latest version is deleted

* decodes uri in path returned by api service parseError method

* fixes kv v2 edge cases tests

* fixes issue deleteing control group token in api service

* decodes url for control group token lookup in api service

* fixes version history linked block link

* defaults cas to 0 when creating new secret

* removes log

* adds ember-template-lint to kv engine

* more test fixes

* updates kv helpers from classic format

* updates kv helpers imports

* reverts to use secret.version in details edit route

* fixes isDeleted import in kv version history test

* adds waitFor to api service parseError method

* reverts removing async from addQueryParams api method

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-10-02 10:44:22 -06:00