20405 Commits

Author SHA1 Message Date
Kuba Wieczorek
5d172d5861
[VAULT-28666] Use the retry script to check release version for gotestsum in CI (#27878) 2024-07-26 16:41:01 +00:00
Kuba Wieczorek
7a4cf3d273
[VAULT-28666] Use the retry script to check release versions for external tools installed in CI (#27873) 2024-07-26 10:17:32 -04:00
JMGoldsmith
a27c133e37
[VAULT-28670] Updating the consul-template. (#27799)
* updating the consul-template.

* adding changelog

* actually adding changelog

* updating dependencies
2024-07-26 14:43:03 +02:00
Ellie
9274d74698
fix bug in which vault altered a canonical ID belonging to an alias, not a clone (#27824) 2024-07-26 07:13:11 -05:00
Marc Boudreau
a41c21b0f0
VAULT-28677: Fix dangling entity-aliases in MemDB after invalidation (#27750)
* properly cleanup aliases no longer in entity during invalidation

* test: verify proper alias removal from entity in invalidation

* add changelog entry

* document dangling entity-alias known issue

* improve entity-alias delete test

* fixup! document dangling entity-alias known issue

* use simpler approach to reconcile entity aliases in invalidation

* adjust comment to match previous code change

* add test covering local aliases

* pre-delete changed entity in invalidation
2024-07-25 15:36:42 -04:00
divyaac
4bde6b5e55
Remove distinct_entities and non_entity_tokens from ResponseCounts and update docs (#27849)
* Updated response counts

* Updated docs and removed references to derpecated fields in ResponseCounts
2024-07-25 10:29:23 -07:00
miagilepner
c1fcf6ad8e
cleanup after handlequery changes (#27776) 2024-07-25 14:04:48 +02:00
Ellie
4f9d292155
Send warning and do not return error on group update if cluster is a PR secondary and RPC client is nil (#27779)
* warn if unable to persist group update to storage

* add testing helpers

* Update vault/identity_store_util.go

Co-authored-by: Paul Banks <pbanks@hashicorp.com>

* separate ifs

---------

Co-authored-by: Paul Banks <pbanks@hashicorp.com>
2024-07-24 17:16:14 -05:00
Peter Wilson
6ec5fa00e1
Remove multi-errors and update expected error msg in tests (#27861) 2024-07-24 23:07:37 +01:00
Peter Wilson
69c0433f9f
Audit: optional logger for sinks will log on errors when context is done (#27859)
* Added optional logger for sink nodes (supplied by backends) will log on errors when context is also done

* changelog
2024-07-24 22:57:15 +01:00
Peter Wilson
46d2f41000
Use the core logger for audit enable errors (not the system backend) (#27860) 2024-07-24 22:56:59 +01:00
Yoko Hyakuna
f2ce14b4b2
[Docs] Minor editorial fixes - "token capabilities" (#27851)
* Minor editorial fixes

* Fix a typo
2024-07-24 09:00:53 -07:00
Chris Capurso
a28464b860
Add non-root access with filtering support to activity export API (#27846)
* VAULT-28577: change CSV MIME type to text/csv

* VAULT-28578: require sudo for export API

* add validation and associated error handling

* change export API default to 204 if no data returned

* VAULT-28579: allow export API in non-root namespace, add filtering support

* update test fixtures to reflect filtering changes

* TestActivityLog_Export moved to ENT-only test

* add test to verify sudo access

* add changelog entry
2024-07-24 09:21:52 -04:00
Violet Hynes
ec399e6226
VAULT-27563 CE changes (#27847)
* VAULT-27563 CE changes

* Missed push
2024-07-24 09:11:59 -04:00
Kuba Wieczorek
920c08966c
[VAULT-28666] Enable the --clobber flag on GitHub CLI release downloads in CI to avoid errors when retrying (#27852) 2024-07-24 12:24:30 +01:00
claire bontempo
08b5d87965
UI: Move OIDC key header out of form component (#27848)
* move pageheader to route template

* remove title assertions because no longer reliant on isNew logic

* change @model to this.model

* remove test selectors

* add keys base breadcrumb

* update assertion count
2024-07-23 15:21:05 -07:00
divyaac
b32231a9eb
Deprecate distinct_entities and nont_entity_tokens (#27830)
* OSS Changes

* Added changelog

* Fix build errors
2024-07-23 20:57:38 +00:00
Kuba Wieczorek
74d15e3d50
[VAULT-28666] Remove the errexit option from the retry script and add increasing wait on failure (up to 5 seconds and 5 retries) (#27842)
Co-authored-by: VAL <val@hashicorp.com>
2024-07-23 17:58:37 +00:00
claire bontempo
575a632073
UI: upgrade HDS to 4.6.0 (#27843)
* fresh yarn lock

* upgrade hds to 4.6.0
2024-07-23 09:10:05 -07:00
Ben Ash
6a6a35a2f0
Bump VSO versions to 0.8.0 (#27835) 2024-07-22 17:03:17 -04:00
Violet Hynes
dbecbcec18
VAULT-27384 Fix faulty assignments and unchecked errors (#27810)
* VAULT-27384 Fix faulty assignments and unchecked errors

* Another missed error

* Small refactor
2024-07-22 16:53:02 -04:00
Mike Palmiotto
f248262466
CE no-op CensusManager (#27827)
This PR introduces a no-op CensusManager in CE in an effort to simplify
overall maintenance.

Resolves: VAULT-27562
Enterprise PR: hashicorp/vault-enterprise#6231
2024-07-22 16:52:45 -04:00
dependabot[bot]
c37985bac9
Bump google.golang.org/grpc from 1.64.0 to 1.64.1 (#27737)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.64.0 to 1.64.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.64.0...v1.64.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2024-07-22 11:56:25 -04:00
Ben Ash
137bba2b70
VSO: update docs for VaultAuthGlobals (#27797)
---------

Co-authored-by: Theron Voran <tvoran@users.noreply.github.com>
2024-07-22 11:03:33 -04:00
Ben Ash
fb5000c379
Update VSO docs for auto CRD upgrade behaviour (#27763) 2024-07-22 11:02:23 -04:00
Theron Voran
7235c269b7
docs/vso: instant updates (#27668) 2024-07-22 11:01:52 -04:00
miagilepner
4b8ecf5e05
VAULT-28329: Fix months activity log counts when querying for a namespace (#27790)
* start implementation and testing

* changelog

* switch changelog description to change
2024-07-22 09:01:14 +00:00
Theron Voran
6d4cb5e49a
Docs update for vault helm v0.28.1 release (#27766) 2024-07-19 17:12:07 -07:00
Yoko Hyakuna
f1aa3bd7ca
[Docs] Add a warning about namespace info for HVD (#27812)
* Add a warning about namespace info for HVD

* Minor edit
2024-07-19 13:04:51 -07:00
Johnny Fang
7ca16627f5
Fixing typo "auth_auth" should be "auto_auth" (#27758)
Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com>
2024-07-19 12:12:02 -07:00
Angel Garbarino
d5e836b143
Title case all static breadcrumbs (#27808)
* title case all static breadcrumb labels

* test fixes

* add missing model
2024-07-19 11:57:53 -06:00
Altabay-HashiCorp
7d6986cc84
Docs: Add a Priority matching policy example using Namespaces (#27792)
* Policy priority NS example

* Update website/content/docs/concepts/policies.mdx

Modification after review

Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com>

---------

Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com>
2024-07-19 09:21:16 -07:00
John-Michael Faircloth
d6a588b8d2
db: refactor postgres test helpers (#27811)
* db: refactor postgres test helpers

* fix references to refactored test helper

* fix references to refactored test helper

* fix failing test
2024-07-19 09:47:34 -05:00
Peter Wilson
39b99b2e05
Audit: log 'warnings' from eventlogger even if audit is deemed a success (#27809)
* make sure we still log underyling pipeline errors even if audit is deemed a success

* changelog
2024-07-19 11:12:51 +01:00
Peter Wilson
f959f46dd0
name audit logger for standardUnsealStrategy's unseal (#27806) 2024-07-18 17:29:59 +01:00
John-Michael Faircloth
3f90e9ac38
docs: add missing rotation_statements to oracle docs (#27802) 2024-07-17 18:14:49 -04:00
Chelsea Shaw
050a90b2ab
UI: Update date-picker UX in Client Counts (#27796)
* Create date-range component with tests

* update selectors and callback behavior

* update cc tests & selectors

* cleanup

* RIP calendar-widget and date-dropdown -- you were good components

* reset on close

* Add changelog

* use parseApiTimestamp

* fix test

* cleanup

* make date-range typescript, update behavior

* add words

* minor styling

* fix test
2024-07-17 11:48:44 -05:00
John-Michael Faircloth
d444a32f8c
docs: add missing rotation_statements to mssql api docs (#27800) 2024-07-17 10:30:00 -05:00
claire bontempo
e88b6b117e
UI: update overview card action handling (#27785)
* yield all overview card actions

* yield remaining overview card content to the correct block

* close overview card in test

* fix typo

* fix route typo, add selectors where needed

* fix class typo add one more selector
2024-07-16 12:40:35 -07:00
Violet Hynes
ce904105f9
Update docs around dead_server_last_contact_threshold (#27793)
* Update docs around dead_server_last_contact_threshold

* Grammar
2024-07-16 14:44:33 -04:00
John-Michael Faircloth
bf569c377e
remove redundant call to set token in tests (#27723) 2024-07-16 11:24:21 -04:00
Kuba Wieczorek
b7d9008e5b
[VAULT-28666] Retry tool download from GitHub releases on failure in GitHub Actions (GHA) (#27786) 2024-07-16 09:07:30 +01:00
claire bontempo
d35a915f57
UI: Refactor auth controller so it does less (#27710)
* move some auth controller logic to route page component

* remove unused vars

* fix action handling so this context is retained

* rename authpage to auth-form-page

* rename auth-route-page to auth-splash-page

* link jira VAULT-28251

* wowww typo

* add padding to mfa form alert message

* update component name in tests

* alphabetize args

* use auth helpers for login method

* remove async, await

* rename components

* update jsdoc

* add comment
2024-07-15 10:49:06 -07:00
Kuba Wieczorek
d9cd3a094a
[VAULT-28666] Retry staticcheck download on failure in GitHub Actions (GHA) (#27781) 2024-07-15 13:19:16 -04:00
Chelsea Shaw
d2116025be
UI: Move useOpenApi and getHelpUrl methods to util (#27764)
* Add map between model types and helpUrls, update tests

* replace modelProto.getHelpUrl with new helper util

* Remove all useOpenApi and getHelpUrl instances from models

* Add missing auth config model type
2024-07-15 10:57:06 -05:00
aphorise
3d4f00a1d5
Docs: autosnapshots notes around AWS EKS & S3 configuration requirments (#27646)
* Docs: autosnapshots notes around AWS EKS & S3 configuration requirments.

* Docs: corrected autosnapshots notes around AWS EKS & S3 configuration requirments.

* Update website/content/docs/enterprise/automated-integrated-storage-snapshots.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* Update website/content/api-docs/system/storage/raftautosnapshots.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2024-07-15 06:31:24 -07:00
aphorise
139253657d
Docs: PGP & gpg version requirements with ECDH & Vault 1.13.x or higher (#27767)
* Docs: PGP & gpg version requirements with ECDH & Vault 1.13.x or higher.

* Update website/content/docs/concepts/pgp-gpg-keybase.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2024-07-15 06:30:49 -07:00
Peter Wilson
815a0759f7
Update go.mod and sdk/go.mod to Go 1.22 (#27771)
* Update go.mod and sdk/go.mod to Go 1.22

* manually bump the import and re-go-mod-tidy
2024-07-15 09:24:53 +01:00
Josh Black
56b32081f0
add a retry-command script (#27754)
* add a retry-command script

* add license header to retry script
2024-07-12 13:18:41 -07:00
Chelsea Shaw
979cf9011c
don't regenerate mirage data if the date range has already been queried (#27760) 2024-07-11 16:29:24 -05:00