Commit Graph

19570 Commits

Author SHA1 Message Date
claire bontempo
1e8eefade1 UI: wrap client count card in permission conditional (#26848)
* consistent timestamp format

* wrap client count card in permissions

* add test

* add changelog

* move tests into module, add more!

* final test cleanup, stub permissions manually without helper

* use current_billing_period for dashboard, add tests

* update mirage to handle new client param

* Update ui/app/components/dashboard/client-count-card.js
2024-05-07 17:45:42 +00:00
divyaac
57e6795c0c Updated consul-template version (#26863)
* Updated consul-template version

* Added changelog

* Update changelog/26863.txt

Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>

---------

Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2024-05-07 17:25:18 +00:00
Chelsea Shaw
c02787cd8f UI: upgrade Ember to 5.4 (#26708) 2024-05-07 11:34:21 -05:00
Peter Wilson
ec1f261db9 NewTestCluster: default to enabling a 'discard' file audit device when none are configured (#26861)
* Removed unrequired noop audit factory declaration

* Default NewTestCluster to using file audit device (discard)
2024-05-07 16:49:20 +01:00
kpcraig
bef178b4a5 Add ExternalID support to AWS Auth STS configuration (#26628)
* add basic external id support to aws auth sts configuration

---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2024-05-07 11:10:57 -04:00
Jason O'Donnell
6a351401e6 ui: fix broken helper link for web command (#26858)
* ui: fix broken helper link for web command

* changelog
2024-05-07 15:07:38 +00:00
Mike Palmiotto
2d75711019 make proto 1.34.1 (#26856) 2024-05-07 14:33:18 +00:00
Mike Palmiotto
195b00e77f Bump cockroach-go to v2.3.8 (#26842)
PR https://github.com/cockroachdb/cockroach-go/pull/179 addresses
CVE-2024-27289 and CVE-2024-27304 by bumping jackc/pgx to v4.18.3.

This PR pulls in these changes by updating our cockroach-go dep to
v2.3.8.

Resolves: VAULT-26033
2024-05-07 09:20:49 -04:00
Peter Wilson
e9e79b4c16 Tweak text to clarify (#26804) 2024-05-07 11:42:07 +01:00
Chelsea Shaw
d4671a98aa UI: Update behavior when deleting nested secret from list (#26845)
* Update error states on secret list template

* Remove usage of navToNearestAncestor mixin

* don't throw error on list when 404

* Update test with expected behavior

* cleanup

* Add changelog
2024-05-06 21:04:37 +00:00
claire bontempo
843270df7c UI: Add 1.17 changes to upgrade alert (#26843)
* add upgrade alert for 1.17

* add acme clients to modal export text

* add to mirage for tests

* add test
2024-05-06 18:56:37 +01:00
Meggie
f298ef763a Fix docker image in developer quickstart (#26805)
We were pointing to the deprecated official images (https://hub.docker.com/_/vault) instead of the verified publisher images (https://hub.docker.com/r/hashicorp/vault) which is the one we publish `latest` to.

See also https://github.com/hashicorp/vault/pull/23581
2024-05-06 11:22:25 -04:00
benz0
758c967369 Update tcp.mdx (#26816)
per customer request in support ticket #141025 I've updated the description of tls_disable_client_certs to provide clarification.

previous pr for this change was approved but needed to be resubmitted because of problems with my GH account.  See #26601
2024-05-06 11:03:13 -04:00
Chelsea Shaw
9a9086ef4b UI: Fix sync test (#26820)
* Add mirage response for internal/counters/config to set a static billingStartTimestamp before STATIC_NOW

* Export config response from mirage handler
2024-05-06 14:37:46 +00:00
claire bontempo
b58084291e install ember-sinon-qunit (#26807)
* install ember-sinon-qunit

* replace stubbed timestamps part 1

* replace clients/ timestamp stubs

* actually stub correctly

* oops got a little excited, these dont need replacing

* and revert client ones as well

* oh my gosh claire stop rushing

* there we go

* move timestamp stub to beforeEach

* more moves to beforeEach

* final CE test moves to beforeEach hook!

* use .replace and .fake instead of callsFake

* license-banner test

* remove remaining callsFake for consistency

* use the timestamp instead of separate date
2024-05-06 14:11:00 +00:00
Robert
1bfc4f90eb Adjust sync clients reference link (#26818) 2024-05-03 15:37:55 -05:00
Violet Hynes
f2b4ca4def VAULT-24736 CE changes for static secret capability behaviour toggle (#26744) 2024-05-03 14:12:19 -04:00
Chelsea Shaw
2a99b3651f UI: Update engine dropdowns (#26806)
* Update search-select component
- Add aria-label arg
- use label or humanized ID as fallback aria-label
- protect against non-array options arg

* remove overflow-x rule on toolbar-scroller so dropdowns can render in place

* add renderInPlace to dropdowns in pki engine

* Update replication package.json and add renderInPlace

* Add renderInPlace to search-select and basic-dropdown in engines (kubernetes, kv, ldap, sync)

* small cleanup
2024-05-03 12:09:03 -05:00
mickael-hc
efa3f93e5f ui dependencies: specify @ember (#26784)
out of an abundance of caution, we should avoid having the package manager making inferrences.
2024-05-03 11:58:13 -05:00
Peter Wilson
cbda3fddb9 use timeout (5s) (#26803) 2024-05-03 10:39:48 +00:00
Ryan Cragun
1f2f3ff20a [QT-711] Pin to latest github actions (#26789)
Pin to the latest actions in preparation for the migration to
`actions/upload-artifact@v4`, `actions/download-artifact@v4`, and
`hashicorp/actions-docker-build@v2` on May 6 or 7.

Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-05-02 13:29:20 -06:00
Angel Garbarino
77d10891b3 Namespace banner bug Secrets Sync (#26790)
* replace transitionTo with router.refresh

* cleanup

* changelog

* nice test catch

* words are hard
2024-05-02 13:25:34 -06:00
claire bontempo
6d0e4f654e UI: Update dashboard client count query to use billing_start_timestamp (#26729)
* remvoe request tolicense in dashboard client count card

* cleanup jsdoc

* add changelog

* use helper to set start time

* update component tests

* update overview test

* update util tests

* throw error instead, add comment to util file

* fix accidentally removed type from import

* remove typo arg from test component

* rename token stat getter to avoid future typos
2024-05-02 17:45:33 +00:00
Steven Clark
e7778e2018 Address go format and proto linting issues (#26782)
* make fmt

* Fix various issues with new proto file
2024-05-02 12:03:06 -04:00
gabeknell
de11f27713 Update kmip.mdx (#24159)
* Update kmip.mdx

Added "performance standby" to the servers the KMIP client can connect to

---------

Co-authored-by: Peter Wilson <peter.wilson@hashicorp.com>
2024-05-02 16:01:58 +00:00
claire bontempo
3282554d7a UI: Update openapi to include metadata for pki certificates (#26785)
* fix openapi failures

* add metadata to certificate form

* POC for adding metadata

* Revert "POC for adding metadata"

This reverts commit 1bb90579d62293a80da4e3f4ea173196471ed450.

* Revert "add metadata to certificate form"

This reverts commit 619d81fa7b72e6f2beb8915b7324babb308dd89d.
2024-05-02 15:49:35 +00:00
Christopher Swenson
e7ada1e35c Add stub enterprise logical system backend and init (#26712)
This is used so that Enterprise code can do
additional initialization and store additional
state in the logical `SystemBackend`.
2024-05-02 08:46:50 -07:00
miagilepner
7a10a095a2 Client count generation simplification, take 2 (#26781)
* fix

* actually works

* use now for the intent log, and run pq concurrently
2024-05-02 16:27:10 +02:00
Mike Palmiotto
fdc330e622 Add inmem_transactional storage option for tests (#26780)
This PR adds inmem_transactional to the map of available physical
backends for TestServerCommand. This is harmless, as tests need to opt
into the backend.

This is required to test AOP configuration on enterprise.
2024-05-02 12:43:55 +00:00
prabhat-hashi
c88967abb5 Docs- Update info on key rotation (#23274)
* Docs- Update info on key rotation

Added a sentence about needing to seal-rewrap if you want to disable or delete old key.

* rectified the url for seal-rewrap

rectified the url for seal-rewrap

* fixed some grammar

* Update website/content/docs/configuration/seal/pkcs11.mdx

---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2024-05-01 15:42:54 -07:00
Mitch Pronschinske
07bfa6bd92 Fix "auto unseal" case inconsistency (#25119)
There was inconsistency in the capitalization of auto unseal in this doc.  The initial heading had it right. It shouldn't be capitalized according to the documentation style guidance for feature capitalization. Also, high availability doesn't need to be capitalized.

Change warning to tag syntax so it's clear what should be part of the aside

---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2024-05-01 15:32:34 -07:00
prabhat-hashi
02a8900f7b Docs - Updated info on seal-rewrap during seal migration (#23275)
Added a note about seal-rewrap in the steps to perform seal migration post Vault 1.5.1
---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2024-05-01 15:18:39 -07:00
Lucy Davinhart || Strawb System
674edc5bc6 Link to deprecation notice page in upgrade guide (#23569)
* Link to deprecation notice page in upgrade guide

---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2024-05-01 15:17:46 -07:00
divyaac
f0de899fae Upgrade consul-template (#26764) 2024-05-01 22:17:15 +00:00
Soromeister
fbdc1e6248 Add link for Priority matching in Policies. (#24341)
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2024-05-01 15:16:45 -07:00
Ray Gollihue
aa15604a1a update azure secret path (#24111)
Replaced stores with destinations in azure secrets sync configuration path
2024-05-01 14:23:10 -07:00
kevin-loehfelm
1b21400195 added documentation for mongodb atlas database secrets engine eventua… (#24152)
* added documentation for mongodb atlas database secrets engine eventual consistency
2024-05-01 14:19:26 -07:00
Jason Peng
e17b57f5c1 Update vault-ha-upgrade.mdx to not step-down during upgrades (#24457)
Due to the reported issue under https://github.com/hashicorp/vault/pull/24441, we identified that there are users issuing step-down during the upgrade, which is unintended.

We modified the documentation to make it clear that step-down should not be attempted, in addition rephrased the sentence with "step-down" word and exclude that term to avoid confusion.
2024-05-01 14:18:07 -07:00
Mark Lewis
e6a4b8290e Update metrics.mdx (#24539)
Adding a note to clarify to customers that the standby nodes will not respond to metrics requests to this API endpoint
---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2024-05-01 14:17:54 -07:00
preetibhat6
6573fdb6c2 Update events.mdx (#25835)
Added missing ' to the command at the end
2024-05-01 14:12:59 -07:00
preetibhat6
f3e6bf572f docs/Update cert.mdx (#26165)
Changed sample request for Configure TLS certificate method from auth/cert/certs/cert1 to auth/cert/config
2024-05-01 14:09:38 -07:00
sylvia-petsanova
716d577190 Add policy creation to AppRole setup (#26700)
It's not immediately obvious that the demo policy needs to be created beforehand and does not exist if only the tutorial steps are followed. Prompted by support ticket ZD-143426.
2024-05-01 14:09:02 -07:00
Scott Miller
9f5da77fa0 Certificate Metadata, CE components (#26710)
* Certificate Metadata, CE components

* License headers

* make proto

* move pathFetchMetadata to ENT

* move pathFetchMetadata path to ENT

* correct stub sig

* Issuers may not be available in legacy CA storage, shouldn't fail issue/sign

* clarify error msg
2024-05-01 15:19:53 -05:00
Mike Palmiotto
d4a046820d AOP: Add NeverDrop request priority (enterprise) (#26745)
This PR introduces the CE plumbing for a new high WritePriority, meant
to bypass rejection from the AOP write controller. We attach this
priority to any request on a sudo path, such that administrators can
still perform necessary operations during an overload.
2024-05-01 15:45:34 -04:00
Mike Palmiotto
c5fac98d2d AOP: Force reject header (enterprise) (#26702)
This PR introduces the CE plumbing for a new HTTP header, called
X-Vault-AOP-Force-Reject, which will force any associated request to
reject storage writes as if Vault were overloaded.

This flag is intended to test end-to-end functionality of write
rejection in Vault. This is specifically useful for testing 503 -
Service Unavailable HTTP response codes during load shedding.
2024-05-01 14:11:24 -04:00
Isabelle Kraemer
b4a2e40124 adding private DNS name as EC2 metadata (#25418)
add instance dns name as inferred_hostname metadata field

Co-authored-by: kpcraig <3031348+kpcraig@users.noreply.github.com>
2024-05-01 12:45:22 -04:00
miagilepner
9e39a5f2a4 Revert "Client count generation simplification (#26692)" (#26736)
This reverts commit b84af55a20.
2024-05-01 16:16:23 +00:00
Scott Miller
c4839ad05c Document tokenization DELETE (#26622)
* Document tokenization DELETE

* typo

* Update website/content/api-docs/secret/transform.mdx

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

---------

Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2024-05-01 15:18:44 +00:00
Paul Banks
259313648f Fix places where we fail to propagate storage errors like ErrReadOnly (#26711) 2024-05-01 15:46:23 +01:00
Kuba Wieczorek
cb36fba177 Remove duplicated text field in tests-completed Slack payload (#26733) 2024-05-01 13:06:47 +00:00