Commit Graph

1511 Commits

Author SHA1 Message Date
hc-github-team-secure-vault-core 190f29e2a4
backport of commit 91ec1a788b46c0bf12a3351e5e3339474400eee9 (#24363)
Co-authored-by: Scott Miller <smiller@hashicorp.com>
2023-12-04 23:00:39 +00:00
hc-github-team-secure-vault-core 7dcda6bb20
backport of commit 4a7bee5a02db880d543692386ccd597f33e29624 (#24331)
Co-authored-by: Mike Palmiotto <mike.palmiotto@hashicorp.com>
2023-12-01 15:11:04 +00:00
hc-github-team-secure-vault-core 5efd02708e
Backport of fix `-log-file` so that it uses the correct name and only adds timestamps on rotation into release/1.14.x (#24322)
* backport of commit 06b9325bb9e6616789c4fe5e7778459ba98a14ab

* fix server.go imports

---------

Co-authored-by: Peter Wilson <peter.wilson@hashicorp.com>
2023-12-01 12:33:09 +00:00
hc-github-team-secure-vault-core 58ce1d55db
backport of UI: prevent replication disable action from sending payload (#24296)
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
2023-11-29 22:57:58 +00:00
hc-github-team-secure-vault-core 63b7c27162
backport of commit 64dfff080a658890a4eb7924fd465e20d71c386a (#24285)
Co-authored-by: Peter Wilson <peter.wilson@hashicorp.com>
2023-11-29 14:10:52 +00:00
hc-github-team-secure-vault-core f5fedb026f
backport of commit c329ed8d3b02b92dfded30065317c82648d3cae3 (#24260)
Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2023-11-27 16:21:51 -05:00
hc-github-team-secure-vault-core a73098c99e
backport of commit bcbd45b380d2cf776cb3cd920f03291301cee998 (#24198)
Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2023-11-20 16:15:28 +00:00
hc-github-team-secure-vault-core ff81ab8a30
backport of commit 53040690a2bb89a71b723cd888411182295abcd6 (#24195)
Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2023-11-20 15:58:50 +00:00
hc-github-team-secure-vault-core 781fbc7774
backport of UI: Allow token configuration tune (#24149)
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
2023-11-15 17:35:53 -06:00
Chelsea Shaw 5917d9ae47
UI: helper sort-objects to alphabetize list items (#24103) (#24145)
* 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

---------
2023-11-15 20:58:12 +00:00
hc-github-team-secure-vault-core 2d3e52fa92
backport of commit 28e3507680d78dbf80b3edc78bc16119088d4ba2 (#24142)
Co-authored-by: Robert Hanzlík <robi@junyks.cz>
2023-11-15 16:33:02 +00:00
hc-github-team-secure-vault-core de1275adad
backport of commit 0ab8cfdff681dc42753e080481ae3e9dca6e4031 (#24138)
Co-authored-by: davidadeleon <56207066+davidadeleon@users.noreply.github.com>
2023-11-15 09:38:03 -05:00
Hamid Ghaf 9576418a5e
update go version to 1.20.11 (#24123) 2023-11-14 21:29:33 +00:00
hc-github-team-secure-vault-core 8759d95eb8
Address a panic when exporting RSA public keys in transit (#24054) (#24116)
* 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

Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2023-11-14 15:14:47 +00:00
Angel Garbarino f9ab81e55f
manual backport (#24035) 2023-11-13 12:45:53 -07:00
hc-github-team-secure-vault-core 86d4f98ddc
Backport of fix `log_requests_level` misconfiguration into release/1.14.x (#24058)
* backport of commit 0f5f648c1c9505e975ea2d479aa5e9f27bb1d935

* changelog

---------

Co-authored-by: Peter Wilson <peter.wilson@hashicorp.com>
2023-11-08 10:01:32 +00:00
hc-github-team-secure-vault-core 1014555b27
backport of commit 7ec3867eea2ad3c405f15f9ab5447618685739cf (#24031)
Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
2023-11-06 15:48:43 +00:00
Hamid Ghaf 22553906fb
Revert "Automatically track subloggers in allLoggers (#22038)" (#24005)
This reverts commit 4c8cc87794ed2d989f515cd30c1c1b953d092ef3.
2023-11-03 14:40:17 -07:00
hc-github-team-secure-vault-core c3ac053218
backport of commit 63ab253cb429c6fd7d7d61be6f76b25c742de7d1 (#23929)
Co-authored-by: Ellie <ellie.sterner@hashicorp.com>
2023-10-31 15:18:21 -05:00
hc-github-team-secure-vault-core 0b1ceb8943
backport of commit 9b1120b0830060b3656977b4ce0d357fda2e5036 (#23917)
Co-authored-by: davidadeleon <56207066+davidadeleon@users.noreply.github.com>
2023-10-31 10:49:28 -04:00
hc-github-team-secure-vault-core a5cd06dc04
Backport of core: fix bug where deadlock detection was always on for expiration and quotas into release/1.14.x (#23904)
* backport of commit 66494c8129cddf33eb0cf435b6cb2f76bc47416f

* Remove slices package

* remove slices

---------

Co-authored-by: Jason O'Donnell <2160810+jasonodonnell@users.noreply.github.com>
2023-10-30 17:21:47 +00:00
hc-github-team-secure-vault-core f752283c08
backport of commit 26bae559979bb6cc9f086d26f9c6450aa5173e95 (#23900)
Co-authored-by: Hamid Ghaf <83242695+hghaf099@users.noreply.github.com>
2023-10-30 08:47:45 -07:00
hc-github-team-secure-vault-core 435363ef2a
backport of commit 425b1e333d008f37fe517ee3c886e8fe96c3e5ce (#23885)
Co-authored-by: Josh Black <raskchanky@gmail.com>
2023-10-27 16:42:18 +00:00
hc-github-team-secure-vault-core bc19a6d305
api/seal-status: fix deadlock when namespace is set on seal-status calls (#23861) (#23879)
* api/seal-status: fix deadlock when namespace is set on seal-status calls

* changelog

Co-authored-by: Jason O'Donnell <2160810+jasonodonnell@users.noreply.github.com>
2023-10-27 14:47:12 +00:00
hc-github-team-secure-vault-core 0ca886beaf
backport of commit fb97a459ece4420cdb1237836affbfb40c24ad92 (#23876)
Co-authored-by: miagilepner <mia.epner@hashicorp.com>
2023-10-27 14:28:07 +00:00
hc-github-team-secure-vault-core 19d740c312
Backport of Update hashicorp/vault-plugin-secrets-mongodbatlas to v0.10.2 into release/1.14.x (#23851)
* Update hashicorp/vault-plugin-secrets-mongodbatlas to v0.10.2 (#23849)

* Automated dependency upgrades

* Add changelog

---------

Co-authored-by: hc-github-team-secure-vault-ecosystem <hc-github-team-secure-vault-ecosystem@users.noreply.github.com>

* Run tidy

---------

Co-authored-by: hc-github-team-secure-vault-ecosystem <hc-github-team-secure-vault-ecosystem@users.noreply.github.com>
Co-authored-by: Luis (LT) Carbonell <lt.carbonell@hashicorp.com>
2023-10-26 10:32:08 -04:00
hc-github-team-secure-vault-core 3fd8659fe8
Fix segments fragments loss (#23781) (#23841)
* add ent changes

* add changelog

* make fmt

Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>
2023-10-25 21:55:45 +00:00
hc-github-team-secure-vault-core 9c14ea8114
Revert "Implement user lockout log (#23140)" (#23741) (#23765)
This reverts commit 92fcfda8ad30a539be67b7fb7abff539bf93a098.

Co-authored-by: davidadeleon <56207066+davidadeleon@users.noreply.github.com>
2023-10-25 15:38:58 +00:00
hc-github-team-secure-vault-core a7f5d0c8ea
backport of commit 87376a1f5c676c9a54e1050b3e71e32c4ac92595 (#23790)
Co-authored-by: Hamid Ghaf <83242695+hghaf099@users.noreply.github.com>
2023-10-23 16:19:20 +00:00
hc-github-team-secure-vault-core bcb56630e7
Backport of Fix consul token revocation with namespace specific policies into release/1.14.x (#23778)
* backport of commit 72d66e28132aa783ffe530275fb555f2a028ab08

---------

Co-authored-by: davidadeleon <56207066+davidadeleon@users.noreply.github.com>
Co-authored-by: robmonte <17119716+robmonte@users.noreply.github.com>
2023-10-20 18:57:39 +00:00
Jordan Reimer cea9b067a0
Backport KV Download Value Stringify Toggle (#23747) to 1.14 (#23769)
* KV Download Value Stringify Toggle (#23747)

* adds stringify toggle to masked-input download modal

* updates stringify toggle copy and adds a test

* adds changelog entry

* removes extra test from backport for masked input

* adds modal wormhole to test
2023-10-20 16:50:30 +00:00
hc-github-team-secure-vault-core 4537223d3f
backport of commit 28e3b78e8efbf0f9ed7dcf098a78d3eb0af2b8d9 (#23760)
Co-authored-by: Jason O'Donnell <2160810+jasonodonnell@users.noreply.github.com>
2023-10-20 14:29:08 +00:00
hc-github-team-secure-vault-core bd3434837c
backport of commit d0501db90f2b36eb535b2526ed04a364f9f06340 (#23745)
Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2023-10-19 19:49:58 +00:00
Kianna 0e3994d44a
UI: VAULT-20186 Backport 1.14.x: Decode connection_url in database (#23705) 2023-10-18 09:02:36 -07:00
Christopher Swenson 5038953f3d
Update go to version 1.20.10 (#23712)
And update:
* `google.golang.org/grpc` v1.55.0 => v1.58.3
* `golang.org/x/net` v0.13.0 => v0.17.0

and run `go mod tidy`
2023-10-17 15:31:01 -07:00
hc-github-team-secure-vault-core ea40c49f6a
backport of commit 4e3b91d91f379b6368e778849c044fadfa7e67e5 (#23691)
* backport of commit 4e3b91d91f379b6368e778849c044fadfa7e67e5

* workerpool implementation

* rollback tests

* website documentation

* add changelog

* fix failing test

* backport of commit de043d673692e91bdb82f0decb5dfa316dcbc48a

* fix flaky rollback test

* better fix

* switch to defer

* add comment

---------

Co-authored-by: miagilepner <mia.epner@hashicorp.com>
2023-10-17 14:33:54 +02:00
hc-github-team-secure-vault-core 79441cfed7
backport of commit 7872338ec15b263cf53073e973fa92dfc5b7a506 (#23639)
Co-authored-by: Jason O'Donnell <2160810+jasonodonnell@users.noreply.github.com>
2023-10-12 18:49:44 +00:00
davidadeleon ca247609c7
Backport of Implement user lockout log into release/1.14.x (#23630)
* Implement user lockout log (#23140)

* implement user lockout logger

* formatting

* make user lockout log interval configurable

* create func to get locked user count, and fix potential deadlock

* fix test

* fix test

* add changelog

* fix panic when unlocking unlocked user (#23611)
2023-10-12 11:24:52 -04:00
Angel Garbarino f694c7ffb0
Fix copy button in collapsed sidebar nav in CopyButton component (#23564)
* fix (#23511)

* changelog
2023-10-09 11:39:50 -06:00
Angel Garbarino 89de6267c7
Allow AWS secret engine to send empty policy document (#23470) (#23509)
* fix

* changelog

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2023-10-08 13:10:35 -06:00
hc-github-team-secure-vault-core f4453384cb
events: Ignore send context (#23500) (#23538)
When sending an event asynchronously, the original context used for
whatever generated the event (probably a synchronous, quick HTTP
context) is probably not what is wanted for sending the event, which
could face delays if a consumer is backed up.

I will admit myself to sometimes having "context blindness", where
I just take whatever context is incoming in a function and thread it
out to all calls. Normally this is the right thing to do when, say,
tying downstream API calls to an upstream HTTP timeout.

When making KV events, for example, we used the HTTP context for
`SendEvent()`, and this can cause the events to be dropped if they
aren't taken from the channel before the HTTP request finishes.

In retrospect, it was probably unnecessary to include a context in
the `SendEvent` interface.

We keep the context in place for backwards compability, but also in
case we want to use it for purposes other than timeouts and
cancellations in the future.

Co-authored-by: Christopher Swenson <christopher.swenson@hashicorp.com>
2023-10-05 21:35:10 +00:00
hc-github-team-secure-vault-core cf7c5ee6d9
backport of commit cbb96b230c296402341aba11fc1cf41d4f9c2e25 (#23524)
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2023-10-05 09:54:03 -06:00
hc-github-team-secure-vault-core c90b7cddb7
backport of commit 9019203e9f052b6e58a14cbfab4a559d5e7e5883 (#23491)
Co-authored-by: Conor McCullough <103977699+conor-mccullough@users.noreply.github.com>
2023-10-04 09:13:33 -05:00
hc-github-team-secure-vault-core 28f2585da3
backport of commit 0fa36a36ae1b4842d96623eef0d20af5dea557c0 (#23443)
Co-authored-by: Paul Banks <pbanks@hashicorp.com>
2023-10-02 09:49:05 -07:00
hc-github-team-secure-vault-core f761e5c1ee
backport of commit a3936f14679e34b5b84e88e94cc301704cf1df10 (#23372)
Co-authored-by: Marc Boudreau <marc.boudreau@hashicorp.com>
2023-09-28 13:16:28 -07:00
hc-github-team-secure-vault-core d8d5e440fe
backport of commit 547bff752e056ff81d4359267e0f8afa4629f505 (#23321) 2023-09-27 16:03:53 -04:00
hc-github-team-secure-vault-core c08d731634
backport of commit dbfaa6f81a156ec1dcb85d8d76941d4ac70c91fb (#23285)
Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2023-09-26 18:18:06 +00:00
claire bontempo ab1f3c8b83
cherry pick (#23264) 2023-09-22 21:29:05 +00:00
Chelsea Shaw 36452c0849
UI: add pagination to new PKI (#23193) (#23239)
* UI: add pagination to new PKI (#23193)

* fixes store type import

* fixes tests

---------

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2023-09-22 10:47:55 -06:00
hc-github-team-secure-vault-core c29b24b07d
backport of commit 1d61aeb8aebc96eecbb6a35e10bd914b4d0f41f4 (#23250)
Co-authored-by: Sergey Kutovoy <kutovoy.s@gmail.com>
2023-09-22 09:06:23 -07:00