18557 Commits

Author SHA1 Message Date
Victor Rodriguez
c0014c9640
Augment testCore_Rekey_Update_Common to test for RekeyUpdate errors. (#24206) 2023-11-21 08:56:58 -05:00
Chelsea Shaw
b833b30315
UI: always send capabilities-self request in user's root namespace (#24168)
* Add getRelativePath helper and use to calculate relativeNamespace

* Always request capabilities-self on users root ns and prefix body with relative path

* Update capabilities adapter with test

* add changelog

* Simplify getRelativePath logic

* test update
2023-11-20 13:21:00 -06:00
Alex
4cf837d56a
UI: HDS adoption replace footer element (#24191)
* Replace footer with `Hds::AppFooter`

* Remove unused `.footer` styles

* Add changelog entry

* Use `doc-link` helper for 'Documentation' link
2023-11-20 12:00:03 -06:00
Steven Clark
bcbd45b380
Handle expired OCSP responses from server (#24193)
* Handle expired OCSP responses from server

 - If a server replied with what we considered an expired OCSP response (nextUpdate is now or in the past), and it was our only response we would panic due to missing error handling logic.

* Add cl
2023-11-20 10:51:03 -05:00
Violet Hynes
d2afea92a1
VAULT-22030 update error message when from entity isn't found as part of automated entity merge (#24188)
* VAULT-22030 update error message when from entity isn't found as part of automated entity merge

* VAULT-22030 add extra info
2023-11-20 10:45:36 -05:00
Steven Clark
53040690a2
PKI: Do not set NextUpdate OCSP field when ocsp_expiry is 0 (#24192)
* Do not set NextUpdate OCSP field when ocsp_expiry is 0

* Add cl
2023-11-20 10:32:05 -05:00
claire bontempo
4ac07e1d97
UI: HDS adoption replace <ConfirmAction> component (#21520)
* replace confirm-action dropdown with button+modal

* add modal frame to sidebar

* fix weird paragraph indent

* pass button text as arg

* add warning color to rotate modals

* update seal action and config ssh

* cleanup confirm action

* edit form

* add dropdown arg

* put back seal text

* put back confirm button text

* fix toolbar stylinggp

* popup member group

* move up title

* finish popup- components

* keymgmt

* fix modal button logic

* remaining app template components

* add period for angel

* vault cluster items

* add button text assertion

* remaining instances

* remove arg for passing confirm text

* contextual confirm action components

* delete old components

* update docs

* ammend dropdown loading states, add getter for confirm button color

* address feedback

* remove @disabled arg and add @disabledMessage

* add changelog;

* mfa tests

* update test selectors

* lol cleanup selectors

* start confirm action tests WIP

* move dropdown class directly to component

* add default color of isInDropdown

* final cleanup

* add tests

* remove @buttonColor as arg for dropdown

* update confirm action tests

* updae modals with disabled message

* refactor provider edit test
2023-11-17 23:44:21 +00:00
Angel Garbarino
24f5807da4
UI: HDS adoption replace <Button> in lib/pki (#24176)
* initial run through

* search for button

* wip addressing pr comments

* wip clean up

* clean up

* address overview

* add in conditional
2023-11-17 22:34:54 +00:00
Divya Pola
117118e2bd
Add error checking when creating seal.Access object (#24181) 2023-11-17 19:28:24 +00:00
Theron Voran
5415d3c8a1
docs/vault-secrets-operator: GKE workload identity auth (#23684)
Adding overview docs for using GKE workload identity with Vault
Secrets Operator under Secret Sources/Vault/Auth Methods/. Updates the
Vault Auth method section in the Vault/Auth Methods overview page with
links to the VSO API sections for the other supported auth methods
(until they have their own pages).
---------
Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com>
2023-11-17 11:06:10 -08:00
Theron Voran
f951fe5429
docs/vault-helm: updates for v0.27.0 release (#24178) 2023-11-17 10:13:48 -08:00
Ben Ash
fb29c1437a
Update VSO docs for v0.4.0 (#24171) 2023-11-16 17:00:22 -05:00
Nick Cabatoff
edb60b63f7
Use test package parallelism of 2 for docker/binary-based tests. (#24173) 2023-11-16 16:27:43 -05:00
Victor Rodriguez
648dea82dc
Run make fmt. (#24174) 2023-11-16 20:52:21 +00:00
divyaac
5d5d3b832e
Implementation for global exempt paths: (#24172) 2023-11-16 12:11:59 -08:00
Victor Rodriguez
2f01a059c6
Use seal wrappers rather than config to determine autoSeal barrier type. (#24165)
* Use seal wrappers rather than config to determine autoSeal barrier type.

A seal's Access object contains all seal configuration, which in the case of
seal migration includes the "unwrap seal" as well as the barrier seal. Thus, to
determine whether an autoSeal is of a specific type such as 'Transit' or whether
it is a 'Multiseal', use the wrappers of the seal's Access.

* Fix seal type reported by /sys/seal-status.

Fix an error that resulted in the wrong seal type being reported while Vault is
in seal migration mode.
2023-11-16 19:17:40 +00:00
Chelsea Shaw
87f09c8b84
UI: Allow token configuration tune from namespace (#24147)
* check methodType instead of type when checking to remove token_type from payload

* Add changelog
2023-11-15 16:18:53 -06:00
Scott Miller
7a8ced4d36
Implement RFC 5785 (.well-known) Redirects (#23973)
* Re-implementation of API redirects with more deterministic matching

* add missing file

* Handle query params properly

* licensing

* Add single src deregister

* Implement specifically RFC 5785 (.well-known) redirects.

Also implement a unit test for HA setups, making sure the standby node redirects to the active (as usual), and that then the active redirects the .well-known request to a backend, and that that is subsequently satisfied.

* Remove test code

* Rename well known redirect logic

* comments/cleanup

* PR feedback

* Remove wip typo

* Update http/handler.go

Co-authored-by: Steven Clark <steven.clark@hashicorp.com>

* Fix registrations with trailing slashes

---------

Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2023-11-15 15:21:52 -06:00
claire bontempo
d7b8dddd2e
UI: HDS adoption replace <Button> in lib/core (2) (#24122)
* first four buttons

* swap button in object list input and update styling

* swap search select buttons

* string list input

* update text file

* toggle button

* add comment

* swap eye-con

* revert toggle button, add deprecation note

* cleanup css for object list input

* fix test

* revert toggle changes

* add margin
2023-11-15 19:58:41 +00:00
Chelsea Shaw
8756dccb11
Kv directory fixes (#24129)
* update icon if kv path ends in slash. Fixes #23978

* Correctly link to directory in kv if search-select uses fallback input
2023-11-15 10:51:26 -06:00
Robert Hanzlík
28e3507680
allow to skip TLS check in acme http-01 challenge (#22521)
* allow to skip TLS check in acme http-01 challenge

* remove configurable logic, just ignore TLS

* add changelog

* Add test case

---------

Co-authored-by: Steve Clark <steven.clark@hashicorp.com>
2023-11-15 11:10:29 -05:00
Violet Hynes
91ab8a5178
Add a sleep to give the event system time to start (#24141) 2023-11-15 10:33:27 -05:00
Violet Hynes
15ee7dd6c8
Update error message when merging entity fails due to alias deletion failure (#24125) 2023-11-15 09:11:24 -05:00
Violet Hynes
3e054cbd4c
VAULT-19239 Add capability to disable dynamic secret caching for Vault Proxy (#23801)
* VAULT-19239 create disable static secret caching config

* VAULT-19239 missed file

* VAULT-19239 didn't finish a log line

* VAULT-19239 adjust test to use new option

* Fix typo

Co-authored-by: Kuba Wieczorek <kuba.wieczorek@hashicorp.com>

---------

Co-authored-by: Kuba Wieczorek <kuba.wieczorek@hashicorp.com>
2023-11-15 09:11:10 -05:00
Nick Cabatoff
22a2e74fcc
Fix error not being handled when creating a docker cluster. (#24136) 2023-11-15 14:09:06 +00:00
davidadeleon
0ab8cfdff6
[VAULT-21623] Close rate-limit client purge goroutines when sealing (#24108)
* close purge goroutines when sealing

* add changelog
2023-11-15 08:49:29 -05:00
Jordan Reimer
a0562419ce
Copywrite pre-commit (#24091)
* adds pre-commit function for adding copyright headers for files in ui directory

* removes additional log level change

* fixes issue looping staged files

* adds comment

* updates to stage changes after adding headers rather than blocking commit

* cleanup comments and unused code from ui_copywrite bash function
2023-11-14 15:32:17 -07:00
claire bontempo
c265f5a132
UI: helper sort-objects to alphabetize list items (#24103)
* move list to component

* use helper instead

* add changelog

* clarify changelog copy

* delete components now that helper is in use

* move helper to util, remove template helper invokation

* add optional sorting to lazyPaginatedQuery based on sortBy query attribute

* Add serialization to entity-alias and entity so that they can be sorted by name on list view

* Same logic as base normalizeItems for extractLazyPaginatedData so that metadata shows on list

* Add headers

---------

Co-authored-by: Chelsea Shaw <cshaw@hashicorp.com>
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
2023-11-14 21:57:29 +00:00
Hamid Ghaf
e77800b2ff
update go version to 1.21.4 (#24121) 2023-11-14 13:21:24 -08:00
claire bontempo
55f187235d
UI: HDS adoption replace <Button> in lib/core (1) (#24113)
* fix pgp key label

* add todos for confirm action popup menu situation

* choose pgp form

* wrap secret button

* couplea form buttons

* readmore

* replication actions

* delete leftover file

* slattributes
2023-11-14 11:43:22 -08:00
Angel Garbarino
70d0e7c69c
Glimmerize Saml Auth (#24100)
* glimmerize saml

* update roleName

* remove constructor
2023-11-14 09:55:09 -07:00
Steven Clark
92682f33ce
Address a panic when exporting RSA public keys in transit (#24054)
* Address a panic export RSA public keys in transit

 - When attempting to export the public key for an RSA key that
   we only have a private key for, the export panics with a nil
   deference.
 - Add additional tests around Transit key exporting

* Add cl
2023-11-14 09:40:37 -05:00
claire bontempo
5f86fa7785
move to addon (#24112) 2023-11-13 21:51:45 -08:00
claire bontempo
7f03393630
UI: Increase base font size (#23994)
* fix button padding

* rename spacing variables using numerical values

* fix toggle aligment

* remove unused toggle classes

* replace margin and padding with spacing vars

* increase base font size

* remove switch css, use toggle consistently

* remaining margin/padding size vars to spacing pixels

* add deprecated note, rever changes to size vars

* decrease console size

* remove function

* adjust card size for small selectable cards

* fix select to fit to content width

* fix toolbar-scroller height

* add changelog;

* fix checkbox styling
2023-11-13 21:29:39 +00:00
Austin Gebauer
a21e58a7c9
sync: setup backend with system backend config (#24109) 2023-11-13 09:18:52 -08:00
Angel Garbarino
9506160c7d
Glimmerize old components (#24068)
* update transforms

* glimmer transform alphabet

* move alphabet edit

* license info and remove block error

* logo edition

* not found

* Update ui/app/components/logo-edition.js

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>

* ad js docs

---------

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2023-11-10 12:43:44 -07:00
Meggie
871537ff32
Update LICENSE for 1.15.2 (#24090) 2023-11-10 11:16:36 -05:00
Divya Pola
0575ca6955
Community changes for seal-ha seal wrap backend unit tests (#24073) 2023-11-10 09:46:04 -06:00
Victor Rodriguez
9735e41de2
Read seal configuration info from storage during unseal process. (#23992)
Do not blindly store computed seal configuration information during unsealing. Instead, read any
configuration already stored and determine whether the computed configuration during startup is
newer (has a newer generation number), whether the in-memory re-wrapped status needs to be
updated (if the generation numbers match), or whether the in-memory seal configuration is
outdated (the stored seal generation is newer).
2023-11-10 09:50:49 -05:00
Max Coulombe
af46b954f6
Document secrets sync LIST request modifications (#23975)
* * document list request adjustments

---------

Co-authored-by: Robert <17119716+robmonte@users.noreply.github.com>
2023-11-10 09:04:26 -05:00
mickael-hc
eb54346f41
update changelog with links to advisories for latest releases (#24089) 2023-11-09 19:28:15 +00:00
Violet Hynes
d7403d2790
VAULT-19275 Add pre-event stream static secret update mechanism (#23719)
* VAULT-19275 Add pre-event stream static secret update mechanism

* VAULT-19275 fix multierror append

* VAULT-19275 review updates
2023-11-09 13:56:29 -05:00
davidadeleon
880f4a35d7
Remove duplicate partial reference from release-notes (#24081)
* remove partial references from release-notes that link to upgrade guides, and change link in partial to anchor

* Clarify leak is memory consumption

There is no leak of information.

* update references in table

* update table to include range for affected versions

---------

Co-authored-by: Meggie Ladlow <meggie@hashicorp.com>
2023-11-09 13:48:27 -05:00
Meggie
a838a959d9
changelog++ (#24082)
Adding note about PR revert
2023-11-09 18:11:28 +00:00
hc-github-team-es-release-engineering
3edbcea908
REPLAT-962 Update LICENSE (#24052) 2023-11-09 09:12:48 -08:00
davidadeleon
05eba71561
uupdate latest known issues to reflect fixes arriving in latest release (#24077) 2023-11-09 08:33:11 -08:00
Chris Capurso
9e044ea26e
modify linux arm build strategy to use GOARM 6 (#24061) 2023-11-09 11:01:34 -05:00
Meggie
afa55867cf
changelog++ (#24076) 2023-11-09 15:22:52 +00:00
Violet Hynes
71f1472852
VAULT-21325 Use free ports for process manager Agent tests (#23943) 2023-11-09 09:23:42 -05:00
davidadeleon
d3bed43f40
Docs: Add expiration metrics fatal error known issue (#24050)
* add expiration metrics fatal error known issue

* adjust expected fix releases

* provide more clarity around issue
2023-11-08 23:40:50 +00:00