Commit Graph

19063 Commits

Author SHA1 Message Date
Yoko Hyakuna
80eafef4e2 [Docs] Add manual reporting doc (#25309)
* Add manual util reporting doc

* Update the instruction

* Fix format

* Remove the note about API endpoint

* Removed minimum days requirement from the sentence

* Update website/content/docs/enterprise/license/manual-reporting.mdx

Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>

* Update website/content/docs/enterprise/license/manual-reporting.mdx

Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>

* Update website/content/docs/enterprise/license/manual-reporting.mdx

Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>

* Update website/content/docs/enterprise/license/manual-reporting.mdx

Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>

* Update website/content/docs/enterprise/license/manual-reporting.mdx

Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>

* Incorporated review feedbacks

* Update the sample payload

---------

Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>
2024-02-15 14:42:49 -08:00
Scott Miller
734afbe09e Cache trusted cert values, invalidating when anything changes (#25421)
* Cache trusted cert values, invalidating when anything changes

* rename to something more indicative

* defer

* changelog

* Use an LRU cache rather than a static map so we can't use too much memory.  Add docs, unit tests

* Don't add to cache if disabled.  But this races if just a bool, so make the disabled an atomic
2024-02-15 21:48:30 +00:00
Violet Hynes
e6e0863178 VAULT-23589 add replace directive to CE (#25453) 2024-02-15 16:07:38 -05:00
Ben Ash
f939c86156 Update docs for VSO v0.5.0 (#25394)
---------

Co-authored-by: Theron Voran <tvoran@users.noreply.github.com>
2024-02-15 16:03:41 -05:00
Peter Wilson
83986f342b Audit: Extracted SSCT related auditing code to formatter node (#25443)
* Removed unneeded header tracking in log request/log response of audit broker, moved SSCT overwrite to entry formatter

* added changelog
2024-02-15 20:02:58 +00:00
Mark Collao
0b5bd2dd3b PSA-714 - update ubi-minimal to 8.9 for security fixes (#25417) 2024-02-15 19:10:55 +00:00
claire bontempo
0deca434ce UI: Control group flaky enterprise test fix attempt (#25450)
* add async?

* fix merge conflict fail
2024-02-15 18:20:49 +00:00
Hamid Ghaf
a4be0c940c vault-23135 - fix modify storage keys ending with .temp causes overwr… (#25395)
* vault-23135 - fix modify storage keys ending with .temp causes overwriting

* CL

* use t.TempDir
2024-02-15 17:34:37 +00:00
Ryan Cragun
797b4fc6da changelog: update changelog for 1.16.0-rc1 (#25438)
Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-02-15 06:53:41 +00:00
Chelsea Shaw
481d0653d4 UI: fix items displayed in sidenav for chroot (#25393)
* fix items displayed in sidenav for chroot

* don't freak out when there's no currentcluster
2024-02-14 13:37:32 -06:00
Chelsea Shaw
59577f41de UI: Skip OpenAPI call for unmanaged auth methods (#25364)
* Skip fetching OpenAPI if the auth method is not managable in the UI. Fixes #24160

* remove map

* add changelog
2024-02-14 19:36:54 +00:00
claire bontempo
2f2e0184bb UI: Fix copy button for PKI ca_chain certificate card (#25399)
* use format-copy-value helper for copy text in Hds::Copy::Button

* delete helper and revert masked input

* update certificate card to format to string

* add test

* add changelog;
2024-02-14 11:04:20 -08:00
Kianna
483da17588 UI: VAULT-21514 filter by message type and status (#25384)
* Working filter

* Refactor action

* Reset query params

* Add filter tests

* Clean up tests

* Add changelog

* Remove extra space

* Address feedback

* Dont reset query params

* Remove changelog
2024-02-14 10:28:08 -08:00
Robert
efdaab7279 Update changelog 23690.txt (#25414)
* Update 23690.txt

* Update 25275.txt
2024-02-14 11:52:34 -06:00
Ryan Cragun
a79d8a3f69 ci: install gosimports (#25400)
https://github.com/hashicorp/vault/pull/25383 add gosimports to the list
of external tools that are required. The precheck for some linting
workflows fail because we didn't add a corresponding workflow to install
them.

Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-02-14 09:56:28 -07:00
Chelsea Shaw
2d1215a1e2 UI: Update Auth Method Popup (#25366)
* Glimmerize auth-method model, move check for aws into template

* Replace access/methods popup menu

* Add popup menu coverage

* remove unused imports

* remove buttonText arg
2024-02-14 16:33:51 +00:00
Ellie
c92a58bb74 fix changelog formatting for vault snapshot inspector feature (#25401) 2024-02-14 07:14:41 -06:00
Thy Ton
a1fc106008 explicitly use runc runtime to test containerized plugins (#25396) 2024-02-13 21:53:04 -08:00
Christopher Swenson
c62f14e725 24718 conform to changelog process (#25404) 2024-02-14 01:03:31 +00:00
Josh Black
ec7a25151f update styling of raft-wal changelog entry to reflect its feature status (#25402) 2024-02-13 16:52:30 -08:00
Josh Black
fa13dbd381 add gosimport to make fmt and run it (#25383)
* add gosimport to make fmt and run it

* move installation to tools.sh

* correct weird spacing issue

* Update Makefile

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>

* fix a weird issue

---------

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
2024-02-13 14:07:02 -08:00
Ryan Cragun
f19a04b4b5 build: don't build artifacts on UI only changes (#25389)
Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-02-13 14:44:18 -07:00
Chelsea Shaw
267e06d94e UI: glimmerize services (#25295) 2024-02-13 20:44:53 +00:00
Violet Hynes
a1cb18b2c2 VAULT-528 Fix Vault Agent being unable to render secrets with delete_version_after set. (#25387)
* VAULT-528 add test reproducing the failure that should pass after the fix

* VAULT-528 Upgrade consul-template to version with the fix

* VAULT-528 changelog
2024-02-13 14:49:35 -05:00
Thy Ton
4caa8db740 fix plugin register cli error on unfound oci images (#24990)
---------

Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com>
2024-02-13 10:33:47 -08:00
Paul Banks
186fdc373d Fix raft tests so they don't capture the parent's t (#25382) 2024-02-13 17:22:38 +00:00
Angel Garbarino
44af0978e6 Replace all service injects with updated import syntax (#25367)
* replace all injects with import syntax

* Delete ui/app/components/identity/_popup-base.js
2024-02-13 10:00:31 -07:00
Ryan Cragun
70725fb0f7 build: allow building all artifacts with empty pull requests (#25376)
Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-02-12 23:02:47 +00:00
Ryan Cragun
d255cb86b2 build: use the version with metadata in our metadata file (#25372)
Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-02-12 21:24:11 +00:00
Ryan Cragun
b34e05e3cf ci: namespace data race logs (#25370)
* Namespace our data race logs so that other workflows don't use them to
set their status[0].
* Namespace our test results to avoid downloading other workflow
  results.
* Handle multiline output of data race results

[0] https://github.com/hashicorp/vault-enterprise/actions/runs/7875954928/job/21490054433?pr=5411#step:3:39

Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-02-12 12:46:12 -07:00
Ryan Cragun
f12014506b Rollback couchbase/gocb/v2 to v2.6.5 for 386 compat (#25368)
v2.7.x overflows on 386 targets:
../../../.go/pkg/mod/github.com/couchbase/gocb/v2@v2.7.0/search/internal.go:31:62: cannot use math.MaxUint32 (untyped int constant 4294967295) as int value in argument to fmt.Errorf (overflows)

This rolls us back to 2.6.5 until it's fixed upstream.

Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-02-12 19:13:59 +00:00
Angel Garbarino
02bbe2e397 update dependencies (#25363) 2024-02-12 11:10:13 -07:00
Ryan Cragun
15eb4e4060 ci: fix notifications and comments (#25356)
* Fix the build notification. It appears that during a rebase the JSON
  payload was slightly corrupted.
* Don't create a successful CI step summary if the CI workflow is
  cancelled.
* Don't create a successful CI comment if the workflow was cancelled.

Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-02-12 09:52:13 -07:00
Angel Garbarino
e5a1555a6f seal changes (#25254) 2024-02-12 16:45:58 +00:00
Chelsea Shaw
9144825356 UI: reauth banner is at top of page again (#25349) 2024-02-09 22:15:18 +00:00
Kianna
ab6fb6eb20 UI: Add acceptance tests (#25313)
* Add tests

* Move tests

* Rename files

* Update test names
2024-02-09 14:01:13 -08:00
Hamid Ghaf
a041111206 remove regular expression comparison in a GHA script (#25347) 2024-02-09 13:57:46 -08:00
Jordan Reimer
baac570898 Hide Sync Destination Actions When Purging (#25334)
* blocks edit and sync actions on destinations where a purge was initiated

* adds flash message for sync destination transition redirect
2024-02-09 13:33:44 -07:00
Steven Clark
7463055f07 Transit: Release locks using defer statements (#25336)
* Transit: Release locks using defer statements

 - Leverage defer statements to Unlock the fetched policy
   to avoid issues with forgetting to manually Unlock during
   each return statement

* Add cl
2024-02-09 14:06:23 -05:00
Chelsea Shaw
f4248bf16c UI: Redirect after logging in from token expiry (#25335)
* Redirect after logging in from token expiry. Fixes #10963

* Add changelog
2024-02-09 12:38:55 -06:00
claire bontempo
fe56069f67 UI: Hds::Dropdown replace PopupMenu (#25321) 2024-02-09 12:38:14 -06:00
Chelsea Shaw
28d81ed832 UI: Fix openAPI test for JWT (#25331)
* Fix openAPI test for JWT

* Revert "Fix openAPI test for JWT"

This reverts commit ad5d1f4ca599bacf2a035ee66a6780bdb3bbd985.

* Fix openAPI test for JWT

* Prevent jwks pairs from showing in UI until we have a component to handle the data
2024-02-09 10:57:50 -06:00
Nick Cabatoff
3bc8379a96 Router: fix missing lock on routeEntry when accessing backend field (#25191)
Re-implement MatchingSystemView in terms of MatchingBackend, which fixes a missing lock on routeEntry.  Remove unused MatchingMountByAPIPath and an unused ctx argument from some funcs.
2024-02-09 10:13:32 -05:00
Nick Cabatoff
1b8606d9ec Minor improvements to test cluster libraries (#25329)
Add WaitForMatchingMerkleRootsClients and Clients to sdk testcluster.  Fix internal TestCluster.SetRootToken, which wasn't updating the builtin clients' token.
2024-02-09 09:45:43 -05:00
Nick Cabatoff
53f0622af5 Add some helpers to the sdk for working with namespaces. (#25270) 2024-02-09 09:24:08 -05:00
hc-github-team-secure-vault-core
5a13395717 Update vault-plugin-auth-jwt to v0.20.0 (#25326)
* Automated dependency upgrades

* Add changelog

---------

Co-authored-by: hc-github-team-secure-vault-ecosystem <hc-github-team-secure-vault-ecosystem@users.noreply.github.com>
2024-02-08 16:32:59 -08:00
Ryan Cragun
505590fecb ci: always upload data race logs (#25322)
Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-02-08 16:11:43 -07:00
Scott Miller
96498316f1 Seal HA documentation updates (#25316)
* Seal HA documentation updates

* anchor

* rel link

* remove beta

* try again on internal link

* still trying to get this internal redirect to work

* try without path
2024-02-08 16:00:50 -06:00
Steven Clark
3cd74cef9c Forward EST .well-known requests on performance replicas (#25304)
- CE fix for properly forwarding the EST .well-known requests to
   performance replicas internally instead of redirecting through
   http headers
2024-02-08 16:33:53 -05:00
Ryan Cragun
53d66cf592 test-go: only install datadog-ci if necessary (#25317)
Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-02-08 14:14:17 -07:00