Stamp the vault version into the debug info ldflags
Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: mickael-hc <86245626+mickael-hc@users.noreply.github.com>
Co-authored-by: Ryan Cragun <me@ryan.ec>
* fix LIST request for metadata endpoint
* add test coverage
* update kv suggestion input compoent
* update comment, add another test for kv suggestion input
* fix typo in web REPL for metadata flag, add test
* update from curly to angle bracket syntax
* sanitize url in api service VAULT-40414
* add fallback return for no url to removeDuplicateSlashes method
* move sanitization directly to middleware
* remove sanitization for kv list requests
* strip requests of trailing slash
* revert changes to api pre request middleware
* update vault-client-typescript
* add changelog
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* actions(setup-enos): update action-setup-enos to pull in enos 0.0.34 (#10561)
Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
* install sqlc before building vcm
* make a meaningless change to trigger CI
* turn off the go.work file
* remove test comment
Co-authored-by: Josh Black <raskchanky@gmail.com>
* change what performance replication checker script is checking
* fix lint errors
* enable consul backends for ent build samples
* fix up samples
* fix linting
* update release samples
* fix linting again
* output to stderr
Co-authored-by: Josh Black <raskchanky@gmail.com>
* replacing with hds dropdown
* update and comment
* update confirm model to launch from interactive
* remove test line
* updates to hbs
* update tests
* styling and structure updates
* add settled line before click
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
When a pull request is created against a CE branch and it has changed any files in the `gotoolchain` group we'll automatically trigger the diff for every Go module file in the repo against the equivalent in the corresponding enterprise branch. If there's a delta in like configuration it will automatically fail the `build/ce-checks` job. It will also write a complete explanation of the diff to the step output and also to the `build/ce-checks` job step summary.
Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
* [VAULT-40165] pipeline(github): add `check go-mod-diff` command
Add `pipeline github check go-mod-diff` command that is capable of
creating a Go module diff between one-or-more go.mod files in two
different Github branches. There are flags for the owner, repo, and
branch for both the A and B sides of the diff, as well as the `--path`
or `-p` flag that can be specified any number of times with relative
paths in the repository of go.mod files to compare. We assume that the
path is the same in both repositories.
This work will be followed up with another PR that removes the
enterprise only go.mod file and enables Go module diff checking on pull
requests to CE branches that change the go toolchain.
Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
Updated CHANGELOG for version 1.21.0, including security fixes, changes, improvements, deprecations, and bug fixes.
Co-authored-by: Tony Wittinger <anwittin@users.noreply.github.com>
* WIP
* VAULT-40037 Updates to PKI observations
* review feedback
* public key size
* make fmt
* issuerId for sign self issued
* remove confusing issuer_name
* remove unused var
* whoops common name
* role -> role_name
* role name
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
* Set up dynamic page header component and update secret engine header
* Add copyright headers
* Remvoe unsused tab for now
* Add page header test
* Remove component test since we deleted component
* Address feedback..
* Add deprecation comment
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* update jsondiffpatch dep + use webpack to convert into UMD format
* do not lint vendor files
* update test
* lint fix
* fix merge conflict error
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
* replace instances of ToolTip component with HDS tooltip
* Replace InfoTooltip component instances with HDS tooltip
* update tests
* remove remaining custom tooltip code
* remove rich tooltip with copy
* update test and update toolbar link with styling to remove extra link
* Apply suggestions from code review
* update test and remove setRunOptions now that tooltip violations are addressed
* Revert "Apply suggestions from code review"
This reverts commit 90f01c653be68f23b6dbd75f252d227e38dbe53f.
* Remove unused disabled tooltip code
* add comment and TODO explaining conditional modifier pattern
---------
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* disable scarf for this package
* add changelog
* use correct changelog format
Co-authored-by: Evan Moncuso <46458931+emoncuso@users.noreply.github.com>
* [VAULT-40043]: pipeline: add `go diff mod` command
Add a `pipeline go diff mod` command that is capable of comparing two
go.mod files at a directive level. We also support strict or lax
comparisons of several directives to flexible diff comparisons. This is
especially useful when you want to compare two go.mod files that have
some different dependencies (CE vs. Ent) but still want to compare
versions of like dependencies.
This command is not currently used in the pipeline but was useful in
developing the diff library that is used. Subsequent work will use the
library and be integrated into CI.
* review feedback
* one more comment fix
---------
Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
* license: update headers to IBM Corp.
* `make proto`
* update offset because source file changed
Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
* fix aws auth client cache to use accound ID
* return error if no sts config found
* cache ec2 clients by account ID, region, and role
* add changelog
* fix log syntax
Co-authored-by: John-Michael Faircloth <fairclothjm@users.noreply.github.com>
* pipeline(changed-files): fix false positives for some files (#10239)
Signed-off-by: Ryan Cragun <me@ryan.ec>
* make fmt
Signed-off-by: Ryan Cragun <me@ryan.ec>
---------
Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
Migrate all slack notifications to the `ibm-hashicorp` workspace. This
required creating three new `incoming-webhook` configurations which are
capable of posting into three different Slack channels, depending on the
workflow.
As they all use the `incoming-webhook` event, many of our integrations
had to be migrated from `chat.postMessage` and those changes are
reflected here.
Of note, there are lots of changes to the `release-procedure-ent`
workflow as it has by far the most uses of the Slack integrations. In
some cases it was to appease `actionlint` issues, in others I made small
idiomatic tweaks. I translated all of the payload messages to YAML
instead of JSON, which fits better into our existing workflows and also
because most of the payload messages were invalid JSON all together.
Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
* updating routes from mounts/ to enable and updates to breadcrumbs
* updating all relevant tests
* leftover tests
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
* handle log_requests_level empty string or off with SIGHUP
* Update vault/core.go
* add unit test and update comment on ReloadLogRequest to indicate different than first config read
* test coverage for FinalizeInFlightReqData changes
* changelog
---------
Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>