Commit Graph
3242 Commits
Author SHA1 Message Date
irenarindos 93e09c4888 Update changelog for 0.13.1 2023-07-10 16:03:41 -04:00
Michael MiltonandMichael Gaffney 8527f0305d Fix issue where snapshot conflicts weren't being handled (#3406)
* fix issue where conflicts weren't being handled

* Instead of using on collision, alter the daily_range

* move tests to appropriate file

* Apply suggestions from code review

Co-authored-by: Michael Gaffney <mike@gaffney.cc>

---------

Co-authored-by: Michael Gaffney <mike@gaffney.cc>
2023-07-10 15:50:38 -04:00
Dan Heath bf3605b346 docs: Fix a capitalization error in the TOC (#3401) 2023-07-07 15:05:29 -06:00
Dan Heath 3f4cd53d16 docs: Update headings for new style rule (#3396)
* docs: Update headings for new style rule

* docs: Fix headings - Get started

* docs: Fix headings - Install

* docs: Fix headings - Concepts

* docs: Fix typos

* docs: Fix headings - Configuration

* docs: Fix headings - Operations

* docs: Fix headings - Troubleshoot

* docs: Fix headings - Clients and Develop

* docs: Fix headings - HCP and ENT

* docs: Fix headings - Release notes

* docs: Fix typos

* docs: Fix capitalization in TOC
2023-07-07 14:42:11 -04:00
Ryan Cragun 96d2531fbb chore: [QT-587] Update service and demo user IAM policies (#3398)
* Update the service user IAM policies to allow for managing S3 buckets.
* Update the demo user to allow for managing S3 objects.

Signed-off-by: Ryan Cragun <me@ryan.ec>
2023-07-07 12:12:17 -06:00
Stan Ryzhov 732973c7b8 test(e2e): Add test to connect to target via its name and scope (#3387) 2023-07-06 16:41:39 -04:00
Irena Rindos a8e363888a bug(workerAuth): allow duplicate workerAuth inserts if records match (#3389)
* bug(workerAuth): allow duplicate workerAuth inserts if records match
2023-07-06 15:07:28 -04:00
edorionandDan Heath eb63a339f0 Update enable-session-recording.mdx to link bsr controler config to bsr kms key doc (#3382)
* Update enable-session-recording.mdx

* docs: Minor copy edit

---------

Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com>
2023-07-06 14:00:19 -04:00
edorion f22abbb567 Update create-storage-bucket.mdx PKI worker to session recording config (#3381)
link PKI worker link to session recoding config
2023-07-06 13:39:52 -04:00
edorion e4e06e63d9 Update SSH target attributes url typo (#3380)
https://developer.hashicorp.com/boundary/docs/concepts/docmain-model/targets#ssh-target-attributes-hcp-ent should be https://developer.hashicorp.com/boundary/docs/concepts/domain-model/targets#ssh-target-attributes-hcp-ent

(domain not docmain)
2023-07-06 13:35:29 -04:00
Michael Li eed17d63b5 test(e2e): Update to use fmt.Sprintf (#3388) 2023-07-06 11:52:52 -04:00
Michael MiltonandMichael Gaffney 23c40a0bc3 Update census to run less frequently (#3346)
* update census to run less frequently

* Update internal/census/census_job.go

Co-authored-by: Michael Gaffney <mike@gaffney.cc>

* change nextrunin duration

---------

Co-authored-by: Michael Gaffney <mike@gaffney.cc>
2023-07-05 15:33:18 -04:00
Dan Heath 02c1b74551 docs: Update HCP only references (#3383) 2023-07-05 14:02:09 -04:00
Stan Ryzhov 1f16293f65 test(e2e): Add helper method for boundary connect (#3379) 2023-07-05 10:48:16 -04:00
Michael Li 23d500917b chore: Remove check-legacy-links-format workflow (#3376)
This workflow has been deprecated in favor of similar checks in other places.
2023-06-29 11:21:41 -04:00
Dan Heath aeda1d0d2e docs: Rename service discovery (#3375)
* docs: Rename service discovery

* docs: Fix level 2 heading
2023-06-29 11:20:39 -04:00
Michael Li e39f0406f3 test(e2e): Update worker module to create recordings directory if defined (#3340) 2023-06-29 11:20:12 -04:00
Todd 8d9222bec3 Add credential and libraries to session recording resource (#3374) 2023-06-28 09:55:29 -07:00
Irena RindosandDan Heath b2266b69d4 chore: fix mlock typo in docs (#3371)
* chore: fix mlock typo in docs

* docs: Fix other typo

---------

Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com>
2023-06-28 10:49:40 -04:00
Irena Rindos be074ecbb3 chore: fix op for end chunk (#3370) 2023-06-28 08:38:57 -04:00
Dan Heath 01ed90e916 docs: Add default client port to domain model (#3367)
* docs: Add default client port to domain model

* docs: Minor edit

* docs: Consolidate overlapping attributes

* docs: Make connections generic, add ENT/HCP
2023-06-27 15:45:47 -04:00
Michael Li 0af862ba5d test(e2e): Update test names (#3362) 2023-06-27 14:03:48 -04:00
Jim 474afe4671 fix: allow ldap managed grps to be set and removed as principals… (#3363) 2023-06-27 12:13:13 -04:00
Irena Rindos 7f1d20ff3a docs: remove recovery crash scenario from 0.13.0 release notes (#3364) 2023-06-27 10:28:16 -04:00
Jim 84cc3a5988 fix(ldap managed grp): allow ldap managed grps to be added as principals (#3361) 2023-06-26 17:05:54 -04:00
Michael Li 42ab20b37b refact(e2e): Rename some test files and methods (#3360)
* refact: Rename method for clarity

* refact: Rename test files for clarity

* test(e2e): Add method for removing brokered credential
2023-06-26 13:21:45 -04:00
Michael Li a751d65831 chore: Update actionlint to a trusted version (#3357) 2023-06-23 12:59:01 -04:00
Michael Li bfc3babd20 chore(e2e): Change port used by vault docker container (#3355)
* chore: Update scenario reference name

* chore: Use different port for vault

This avoids any conflicts with other uses of vault
2023-06-22 16:12:00 -04:00
Johan Brandhorst-Satzkorn 2ae007d61e cmd: fix session recording download flag help (#3351)
When using an alias, we automatically add a little
blurb to the end of the flag help. When not terminating
the flag help with a full stop, this looks a bit odd. Add
full stops to all the download flags for consistency.
2023-06-22 07:31:21 -07:00
Johan Brandhorst-Satzkorn f698f2a442 systemd: merge controller/worker config examples (#3342)
Our systemd setup included both a controller and worker
configuration example, and a %i templated config file meant
to be used to determine which to use. For ease of use, merge
the two config files into a predictably named "boundary.hcl".
2023-06-21 13:51:13 -07:00
Jim 7de0a299e4 chore: update gldap dep to fix intermittent shutdown/stop error (#3350)
Occasionally, we see an error from the gldap test directory reported
during the shutdown/close of the directories listener.   This update
should fix that issue.
2023-06-21 16:03:51 -04:00
Stan Ryzhov dbad3eee56 test(e2e): Update env variables and target creation (#3339) 2023-06-21 15:45:22 -04:00
Cameron Perera a9b6c76d26 chore: update copyright_year in copywrite config (#3349) 2023-06-21 13:27:01 -05:00
Michael Li d920676112 chore: Update some e2e test scenarios to use docker-based infra (#3345)
* chore: Update docker scenario to check edition

* chore: Use large runner to resolve flakiness issues

* chore: Migrate enos scenarios to use docker
2023-06-21 11:36:47 -04:00
Jim fabcb8eeeb fix: update recursive auth-method listing test (#3348)
Recently, we made the initial dev ldap auth-method active-public, so
it now shows up in listings.  This simply fixes the tests to
reflect that change.
2023-06-21 09:38:47 -04:00
Johan Brandhorst-Satzkorn 9474b373b8 api: remove create from auth-tokens help (#3341)
The auth-tokens help command included a reference to
a non-existent auth-tokens create command. Replace the
default help and also add a helpful pointer to the authenticate
command.
2023-06-20 13:17:43 -07:00
Elim Tsiagbey 103b1e78aa docs: update NormalizeSetData comments (#3343)
* docs: update NormalizeSetData comments

Update comments for `NormalizeSetData` to include when `NormalizeSetData` could be useful and the non-obvious consequences of using it.
2023-06-20 16:11:04 -04:00
Jim 723dbdfedf fix (boundary dev): make the LDAP auth method active-public (#3344) 2023-06-20 13:56:20 -04:00
Elim Tsiagbey 15e7bbe816 fix: add plugin normalization for onCreate methods (#3338)
onUpdate for host catalog & host set make a call to the plugin to normalize attributes based in. This behavior was introduced [PR-2376](https://github.com/hashicorp/boundary/pull/2376) but was only applied on onUpdate. This created different data structures for onCreate calls and onUpdate calls.
2023-06-20 13:38:52 -04:00
Michael Li b9bef35f51 chore: Ignore tags in workflow (#3337) 2023-06-16 12:51:30 -04:00
Dan Heath 461427adbc docs: Fix display issue with bullets and code (#3333) 2023-06-15 13:05:16 -04:00
Michael Li 401493d225 test(e2e): Rename test packages (#3334) 2023-06-15 11:51:14 -04:00
Jeff Mitchell 3a9903a836 Don't attempt session teardown if the session is expired (#3312)
This avoids a situation where teardown results in an error due to the
worker not accepting the connection (since the credentials are invalid).
Teardown is a best-effort way to avoid sessions that have long lifetimes
ending up having to wait for expiration before cleanup, but if we're
near expiration it doesn't really matter.

Fixes ICU-9633
2023-06-14 21:55:24 -04:00
Jeff Mitchell 8322916fb4 Remove all deprecated Err/Wrap/E calls (#3286) 2023-06-14 21:55:24 -04:00
Jeff Mitchell feb3aea38f Support multiple IDs in grants (#3263)
This allows specifying multiple IDs in grants via an `ids` field, which
will eventually become the normal way to specify IDs. Internally, each
grant with multiple IDs turns into multiple ACL grants each with a
single ID; to make this distinction clearer and allow for better
separation of concerns an AclGrant type has been introduced, so really
multiple IDs in a Grant turn into multiple AclGrants.

The nice thing about doing it this way is that it becomes purely a
parsing concern; no actual validation logic has changed.

For backwards compatibility with grants already stored in roles, we do
not error out if `id` is specified. However, eventually we will simply
not support grants with `id` coming via the API; they will fail API
validation, such that new grants will require the use of the updated
`ids` field.

A follow-on PR will plumb this through the service handlers/API/CLI, but
I decided to do it in separate chunks to make reviewing easier, given
that they are easily separable into the internal and external aspects of
the change.

* Add CLI/API checks around using ID in grants (#3264)

* Plumb through some contexts to remove a lot of deprecated errors (#3268)
2023-06-14 21:55:24 -04:00
Dan Heath 8acc73dc6e docs: Add bsr key to requirements (#3330)
* docs: Add bsr key to requirements

* docs: Rewrite for clarity

* docs: Add bsr key definition to security page
2023-06-14 15:58:24 -04:00
Michael Li 5f2f6ca6ca test: Set worker config to a variable (#3324) 2023-06-14 13:44:08 -04:00
PPacent d15f3cec88 Update system-requirements.mdx (#3327)
Clarify Postgres version recommendation
2023-06-14 12:55:16 -04:00
Irena RindosandDan Heath c0538bd074 docs: Update storage bucket worker requirement (#3320)
* docs: Update storage bucket worker requirement

* docs: Minor copy edits

---------

Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com>
2023-06-14 11:18:20 -04:00
Michael Li 4f1552abde chore: Add check for go mod tidy (#3321) 2023-06-13 14:33:26 -04:00