Commit Graph

17340 Commits

Author SHA1 Message Date
prajnamohan1
b3c94de04b backport of commit 7ffad66b0b 2024-01-08 19:22:03 +00:00
Steven Clark
e3f09b8c6d Update licensing across various source files - 1.13 (#24675)
* Fix licensing on various files

* Update packaging to use BUSL-1.1

* Update offset within config_test_helpers.go

 - Fix a test the same way it's been fixed on main/1.15
2024-01-08 12:24:57 -05:00
hc-github-team-secure-vault-core
1334ebee88 backport of commit ee0ccea547 (#24699)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2024-01-07 20:23:49 +00:00
Kianna
3676a9718e Delete empty file thats causing ui errors (#24661) 2024-01-03 10:17:23 -08:00
hc-github-team-es-release-engineering
2766fa2297 [DO NOT MERGE UNTIL EOY] EOY license fixes 1.13.x (#24391) 2024-01-02 10:35:40 -08:00
hc-github-team-secure-vault-core
ed5f9fb75b backport of commit 6a2ff07ba2 (#24519)
Co-authored-by: ram-parameswaran <109940849+ram-parameswaran@users.noreply.github.com>
2023-12-20 17:56:07 -08:00
Yoko Hyakuna
efbae09ce6 Add some clarity to retry_join docs (#24605) (#24615)
This edit was made based on customer feedback

Co-authored-by: Justin Clayton <justinclayton@users.noreply.github.com>
2023-12-20 16:56:02 -08:00
hc-github-team-secure-vault-core
1c5ef3cd88 backport of commit 3389a572b9 (#24609) 2023-12-21 00:26:40 +00:00
hc-github-team-secure-vault-core
d940edf00d backport of commit 7df1b64a3d (#24531)
Co-authored-by: owenzorrin <86668876+owenzorrin@users.noreply.github.com>
2023-12-19 12:08:46 -08:00
hc-github-team-secure-vault-core
4496de2013 backport of commit 954da5006c (#24588)
Co-authored-by: benz0 <benz0@benz0.com>
2023-12-19 10:13:02 -08:00
hc-github-team-secure-vault-core
195f3063bd Backport of commit 4980cb0fe1 (#24569)
Co-authored-by: Christopher Swenson <christopher.swenson@hashicorp.com>
2023-12-18 11:29:28 -08:00
hc-github-team-secure-vault-core
5253baaded backport of commit ac1e9194da (#24522)
Co-authored-by: benz0 <benz0@benz0.com>
2023-12-13 14:03:44 -08:00
hc-github-team-secure-vault-core
817e0193a8 backport of commit d6bfe428f3 (#24485)
Co-authored-by: Ryan Cragun <me@ryan.ec>
2023-12-11 21:43:31 +00:00
Hamid Ghaf
96cfe2c0d8 release log gate if disable-gated-logs flag is set (#24280) (#24475)
* release log gate if disable-gated-logs flag is set

* CL

* Update changelog/24280.txt



---------

Co-authored-by: Peter Wilson <peter.wilson@hashicorp.com>
Co-authored-by: Josh Black <raskchanky@gmail.com>
2023-12-11 13:12:51 -08:00
hc-github-team-secure-vault-core
77d4cadf2e backport of commit 10f7011ca3 (#24458)
Co-authored-by: brendanelmes <44867387+brendanelmes@users.noreply.github.com>
2023-12-08 22:22:06 +00:00
hc-github-team-secure-vault-core
008943e96e Backport of [QT-627] enos: add pkcs11 seal testing with softhsm into release/1.13.x (#24453)
* [QT-627] enos: add `pkcs11` seal testing with softhsm (#24349)

Add support for testing `+ent.hsm` and `+ent.hsm.fips1402` Vault editions
with `pkcs11` seal types utilizing a shared `softhsm` token. Softhsm2 is
a software HSM that will load seal keys from a local disk via pkcs11.
The pkcs11 seal implementation is fairly complex as we have to create a
one or more shared tokens with various keys and distribute them to all
nodes in the cluster before starting Vault. We also have to ensure that
each sets labels are unique.

We also make a few quality of life updates by utilizing globals for
variants that don't often change and update base versions for various
scenarios.

* Add `seal_pkcs11` module for creating a `pkcs11` seal key using
  `softhsm2` as our backing implementation.
* Require the latest enos provider to gain access to the `enos_user`
  resource to ensure correct ownership and permissions of the
  `softhsm2` data directory and files.
* Add `pkcs11` seal to all scenarios that support configuring a seal
  type.
* Extract system package installation out of the `vault_cluster` module
  and into its own `install_package` module that we can reuse.
* Fix a bug when using the local builder variant that mangled the path.
  This likely slipped in during the migration to auto-version bumping.
* Fix an issue where restarting Vault nodes with a socket seal would
  fail because a seal socket sync wasn't available on all nodes. Now we
  start the socket listener on all nodes to ensure any node can become
  primary and "audit" to the socket listner.
* Remove unused attributes from some verify modules.
* Go back to using cheaper AWS regions.
* Use globals for variants.
* Update initial vault version for `upgrade` and `autopilot` scenarios.
* Update the consul versions for all scenarios that support a consul
  storage backend.
* use MPL-2.0 for branches that are still MPL-2.0

Signed-off-by: Ryan Cragun <me@ryan.ec>
2023-12-08 22:00:01 +00:00
hc-github-team-es-release-engineering
3c9dfb0223 Bumped product version to 1.13.13. 2023-12-05 13:59:14 -08:00
Hamid Ghaf
c19fea2527 Buffer body read up to MaxRequestSize (#24354) (#24365)
* Buffer body read up to MaxRequestSize (#24354)

* adding back a context
v1.13.12
2023-12-04 17:45:17 -08:00
hc-github-team-secure-vault-core
79f170d0f0 backport of commit 91ec1a788b (#24362)
Co-authored-by: Scott Miller <smiller@hashicorp.com>
2023-12-04 22:58:15 +00:00
hc-github-team-secure-vault-core
b0b53cf811 backport of commit 4a7bee5a02 (#24334)
Co-authored-by: Mike Palmiotto <mike.palmiotto@hashicorp.com>
2023-12-01 20:35:17 +00:00
hc-github-team-secure-vault-core
f1016e7f0f backport of commit 5ee68b2e8d50239ffa4d3de33e692d68b3924603 (#24326)
Co-authored-by: Mike Palmiotto <mike.palmiotto@hashicorp.com>
2023-12-01 20:15:17 +00:00
hc-github-team-secure-vault-core
0fe4970c06 fix -log-file so that it uses the correct name and only adds timestamps on rotation (#24297) (#24321)
* fix -log-file so that it uses the correct name and only adds timestamps on rotation

* added some tests for naming/rotation

* changelog

* revert to previous way of getting created time

* remove unused stat

* comment shuffle

* Update changelog/24297.txt



* Update website/content/docs/agent-and-proxy/agent/index.mdx

Update 'agent' docs page



* Update website/content/docs/agent-and-proxy/proxy/index.mdx

Update 'proxy' docs page



* Update website/content/docs/commands/server.mdx

Update 'server' docs page



* fix typos

---------

Co-authored-by: Peter Wilson <peter.wilson@hashicorp.com>
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2023-12-01 12:33:00 +00:00
hc-github-team-es-release-engineering
cfc345b320 Bumped product version to 1.13.12. 2023-11-30 13:21:10 -08:00
hc-github-team-secure-vault-core
02edc12981 backport of UI: prevent replication disable action from sending payload (#24295)
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
2023-11-29 23:09:50 +00:00
hc-github-team-secure-vault-core
4e676c55a1 backport of commit c329ed8d3b (#24259)
Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2023-11-27 16:19:36 -05:00
Josh Black
58492f90e4 update go-jose dep (#24234) v1.13.11 2023-11-21 23:51:12 +00:00
hc-github-team-secure-vault-core
ed1d233f59 backport of commit 66b3e439d8 (#24219)
Co-authored-by: Scott Miller <smiller@hashicorp.com>
2023-11-21 10:01:08 -06:00
Chelsea Shaw
7c66b952f6 Backport UI fix auth list test (#24203) 2023-11-20 13:54:31 -06:00
hc-github-team-secure-vault-core
d20526b09b backport of commit bcbd45b380 (#24197)
Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2023-11-20 16:09:12 +00:00
hc-github-team-secure-vault-core
c029f6fb10 PKI: Do not set NextUpdate OCSP field when ocsp_expiry is 0 (#24192) (#24194)
* Do not set NextUpdate OCSP field when ocsp_expiry is 0

* Add cl

Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2023-11-20 16:03:13 +00:00
Ryan Cragun
4af9178d7e enos: fix licensing on backported files (#24163)
Signed-off-by: Ryan Cragun <me@ryan.ec>
2023-11-16 12:59:51 -07:00
hc-github-team-secure-vault-core
6309ee7330 backport of UI: Allow token configuration tune (#24148)
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
2023-11-15 17:35:45 -06:00
Chelsea Shaw
8d2ae17dae UI: helper sort-objects to alphabetize list items (#24103) (#24146)
* 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: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2023-11-15 20:58:10 +00:00
hc-github-team-secure-vault-core
170ae17628 backport of commit 0ab8cfdff6 (#24137)
Co-authored-by: davidadeleon <56207066+davidadeleon@users.noreply.github.com>
2023-11-15 09:40:17 -05:00
Hamid Ghaf
7a24549178 update go version to 1.20.11 (#24124) 2023-11-14 13:23:04 -08:00
hc-github-team-secure-vault-core
132a4e5e06 Backport of Remove duplicate partial reference from release-notes into release/1.13.x (#24086)
* 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>

* bring in updated known-issue partial

---------

Co-authored-by: davidadeleon <56207066+davidadeleon@users.noreply.github.com>
Co-authored-by: Meggie Ladlow <meggie@hashicorp.com>
2023-11-10 14:45:50 -05:00
hc-github-team-es-release-engineering
282858c5cf Bumped product version to 1.13.11. 2023-11-08 09:34:06 -08:00
hc-github-team-secure-vault-core
625797eefc Backport of fix log_requests_level misconfiguration into release/1.13.x (#24057)
* backport of commit 0f5f648c1c

* changelog

---------

Co-authored-by: Peter Wilson <peter.wilson@hashicorp.com>
2023-11-08 10:11:10 +00:00
hc-github-team-secure-vault-core
39680359a1 backport of commit 7ec3867eea (#24030)
Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
v1.13.10
2023-11-06 15:45:32 +00:00
hc-github-team-secure-vault-core
e273d02e20 backport of commit b19562db9a (#24024)
Co-authored-by: Kuba Wieczorek <kuba.wieczorek@hashicorp.com>
2023-11-06 13:48:37 +00:00
hc-github-team-secure-vault-core
ac3bfb4472 docs: add workaround to known issue loading missing policies from other namespaces (#23909) (#24016)
* add workaround to known issue with loading missing policies from other namespaces

* remove backtick

* Update website/content/partials/known-issues/internal-error-namespace-missing-policy.mdx



* fix formatting

* Update website/content/partials/known-issues/internal-error-namespace-missing-policy.mdx



* Update website/content/partials/known-issues/internal-error-namespace-missing-policy.mdx



* Update website/content/partials/known-issues/internal-error-namespace-missing-policy.mdx



* Update website/content/partials/known-issues/internal-error-namespace-missing-policy.mdx



* Update website/content/partials/known-issues/internal-error-namespace-missing-policy.mdx



* Update website/content/partials/known-issues/internal-error-namespace-missing-policy.mdx



* Update website/content/partials/known-issues/internal-error-namespace-missing-policy.mdx



* Update website/content/partials/known-issues/internal-error-namespace-missing-policy.mdx



* update count

* Update website/content/partials/known-issues/internal-error-namespace-missing-policy.mdx



* Update website/content/partials/known-issues/internal-error-namespace-missing-policy.mdx



* add link to table

* change naming

* fix reference

* remove backtick

---------

Co-authored-by: Ellie <ellie.sterner@hashicorp.com>
Co-authored-by: davidadeleon <56207066+davidadeleon@users.noreply.github.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2023-11-03 19:20:28 -05:00
Hamid Ghaf
e8ebe6b565 Revert "Automatically track subloggers in allLoggers (#22038)" (#24004)
This reverts commit 4c8cc87794.
2023-11-03 14:39:56 -07:00
hc-github-team-secure-vault-core
0b0b730710 Add known issue for sublogger memory leak (#23977) (#24007)
* add known issue for sublogger memory leak

* update known issue

* Update website/content/partials/known-issues/ephemeral-loggers-memory-leak.mdx



* Update website/content/partials/known-issues/ephemeral-loggers-memory-leak.mdx



* Update website/content/partials/known-issues/ephemeral-loggers-memory-leak.mdx



---------

Co-authored-by: davidadeleon <56207066+davidadeleon@users.noreply.github.com>
Co-authored-by: Hamid Ghaf <83242695+hghaf099@users.noreply.github.com>
Co-authored-by: Jason O'Donnell <2160810+jasonodonnell@users.noreply.github.com>
Co-authored-by: Brian Kassouf <briankassouf@users.noreply.github.com>
2023-11-03 16:57:13 -04:00
hc-github-team-secure-vault-core
535ca5f0d1 backport of commit 9538c6e59b (#23996)
Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com>
2023-11-03 11:07:22 -07:00
hc-github-team-secure-vault-core
9ec145bd55 backport of commit d93a13a7e3 (#23989)
Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com>
2023-11-03 17:24:50 +00:00
hc-github-team-secure-vault-core
fa61a0be08 replace nytimes/gziphandler with klauspost/compress/gzhttp (#23898) (#23961)
no-op commit due to failed cherry-picking

Co-authored-by: Marc Boudreau <marc.boudreau@hashicorp.com>
2023-11-02 16:53:17 -04:00
hc-github-team-secure-vault-core
2f510ccb8a backport of commit 750ab337ea (#23954)
Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2023-11-02 12:28:26 +00:00
hc-github-team-secure-vault-core
89c37a738e Backport of [DOCS] Link to compliance page for vault instead of a pdf into release/1.13.x (#23932)
* backport of commit 95535193a4

* Empty commit to trigger rebuild
2023-11-01 18:00:57 +00:00
hc-github-team-secure-vault-core
70cc195561 backport of commit 30a8435499 (#23925)
Co-authored-by: Ryan Cragun <me@ryan.ec>
2023-10-31 15:34:11 -06:00
hc-github-team-secure-vault-core
cbb4be0715 backport of commit 63ab253cb4 (#23928)
Co-authored-by: Ellie <ellie.sterner@hashicorp.com>
2023-10-31 15:18:59 -05:00