Commit Graph
3324 Commits
Author SHA1 Message Date
Dan HeathandRobin Beck 5b9369e8a5 docs: Update worker config with tabs (#3614)
* docs: Update worker config with tabs

* docs: Apply batch of suggestions from code review

Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com>

* docs: Fix spacing in Note

* docs: Note appears in 2 places

---------

Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com>
2023-08-23 13:54:27 -04:00
Louis Ruch 17c0774bce chore: bump version 2023-08-21 16:03:54 -07:00
Louis Ruch fdf1e0c630 chore: bump version 2023-08-21 16:02:11 -07:00
Michael Li 9687535ab0 test(e2e): Add an enos module for docker-based workers (#3603)
* test(e2e): Add an enos module for a worker in docker

* fixup! test(e2e): Add an enos module for a worker in docker
2023-08-18 09:19:48 -04:00
Dan Heath 06a37f605a docs: Add recording storage path to worker config (#3604) 2023-08-17 15:58:19 -04:00
Irena Rindos df1e64f412 chore(connect): improve messaging if tofu token already used (#3602) 2023-08-17 08:59:17 -04:00
Lars Lehtonen ee6803d106 internal/server: fix dropped testing error (#3015) 2023-08-17 08:55:57 -04:00
Dan Heath 2bc3682323 docs: Update automated license reporting topic (#3595)
* docs: Update automated license reporting topic

* docs: Apply edit from Vault PR
2023-08-16 15:46:27 -04:00
Dan Heath de813c9af9 docs: Update oss references (#3588) 2023-08-16 13:47:23 -04:00
Dan Heath 66aaebcc70 docs: Update listener ports in worker config (#3580) 2023-08-15 15:25:01 -05:00
Robin BeckandDan Heath 7df211f41e adds tabs for Enterprise vs Community (#3585)
* adds tabs for Enterprise vs Community

* docs: rebuild Vercel

* docs: Fix closing tag

* docs: Capitalize edition

---------

Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com>
2023-08-15 15:24:41 -05:00
Johan Brandhorst-Satzkorn e108ae40ad Upgrade to Go 1.21 (#3573)
* Upgrade to Go 1.21

* event: remove tests depending on pointer comparison

The test now just tests that the logger is non-nil. For
some reason the old test was broken by upgrading
to Go 1.21.0.

* api: use dummy Host header for unix sockets

When using unix sockets with the net/http.Client,
we cannot use the unix socket address directly
in the Host header, as it fails the validation step.
Instead, use a dummy address in the Host header.
2023-08-15 12:04:58 -07:00
Michael Li 067a42c715 test(e2e): Build docker image based on host architecture (#3584) 2023-08-15 11:18:33 -04:00
Michael Li 1c8c11c551 test(e2e): Add license env (#3583) 2023-08-15 10:15:00 -04:00
Michael Li 55d85f90b9 test(e2e): Refactor migration test docker repo definition (#3578)
This commit refactors docker repo definitions in the migration test to make it simpler to modify which version of boundary is being used. Additionally, this also refactors where "pull image" is performed to reduce another spot where the docker repository needs to be passed in.
2023-08-14 16:03:30 -04:00
Johan Brandhorst-Satzkorn bae219d461 Re-enable copywrite with hack (#3569)
* Ignore license change commit from blame

This changed almost all the files in the repo

* Re-enable copywrite with hack

Adds a hack that removes existing copyright headers
from files before rerunning copywrite with directory
specific configuration.
2023-08-11 15:02:29 -07:00
hashicorp-copywrite[bot]andJohan Brandhorst-Satzkorn 29da0bcb92 [COMPLIANCE] License changes (#3567)
* Adding explicit MPL license for sub-package.

This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository.

* Adding explicit MPL license for sub-package

This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository.

* Updating the license from MPL to Business Source License

Going forward, this project will be licensed under the Business Source License v1.1. Please see our blog post for more details at https://hashi.co/bsl-blog, FAQ at www.hashicorp.com/licensing-faq, and details of the license at www.hashicorp.com/bsl.

* Update copyright file headers to BUS-1.1

* Rerun make gen

This will pick up the last of the license changes

* Revert "Rerun make gen"

This reverts commit dbe0968bffd92745d8663c6940debae098395a6b.

* Remove copywrite from generation script

The current version of copywrite is not sophisticated enough
to only apply the copywrite changes to certain subdirectories,
so to avoid accidentally relicensing our api and sdk modules,
we will stop running the copywrite script until such time
that it can do the right thing.

* License protobuf API as MPL

The protobuf API files are used to generate the SDK,
since we want the SDK to be MPL, the protobuf files
must also be MPL. This extends to all protobuf files
whose sources end up in the SDK directory, including:

- internal/proto/controller/api
- internal/proto/controller/custom_options
- internal/proto/plugin

It also includes the generated service directory in
internal/gen/controller/api/services, since they are
generated from the protobuf sources used for the SDK.

* Change website license file name

This makes the naming scheme consistent with the rest
of the repository.

* Add note on licensing to README

* Set copywrite license to BUSL

* Revert "Add note on licensing to README"

This reverts commit 4d865a91a7a4f11605f0dc4609355d7e3c3cfffe.

---------

Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
2023-08-11 10:31:53 -07:00
Irena Rindos 8396dff233 fix(session recording): correctly return and join errors (#3565)
* fix(session recording): correctly return and join errors
2023-08-10 09:01:55 -04:00
Michael Li 6c57aa7fda test(e2e): Add pieces necessary for enterprise migration test (#3555) 2023-08-09 14:43:41 -04:00
Michael Li dec3bf3a5c chore: Change workflow to use launch (#3551) 2023-08-09 12:26:36 -04:00
Dan Heath 8764badf8c docs: Update session recording configuration (#3548) 2023-08-08 14:55:24 -04:00
Michael Li 0af4c38230 chore: Modify go test retry settings (#3536) 2023-08-07 09:45:13 -04:00
Elim Tsiagbey 4564d15901 feat: Validate BSR files (#3507)
* feat: Validate BSR files

Add support for validating all files in a Boundary Session Recording (BSR). All files and sub container files will be verified by comparing it against checksums for each file in `SHA256SUM` file

### Considerations
- Validation will continue even if there's an error encountered during validation. The validation error will be added to the Validation struct `Error` field
2023-08-04 14:31:20 -04:00
Michael Li f88d3892cb test(e2e): Add infra for ssh certificate injection test (#3532) 2023-08-04 12:56:24 -04:00
Johan Brandhorst-Satzkorn 5e78fc72c5 tests: add timeout to key version destruction test (#3537) 2023-08-03 11:08:28 -07:00
Irena Rindos 65f20f3d6f fix(bsr): limit chunk length (#3500)
* fix(bsr): limit chunk length
2023-08-03 13:57:49 -04:00
Timothy Messier af92f20633 chore: Use version/VERSION as single source of version number
This updates the version make target to use the version/VERSION file in
the same manner as the build system. This ensures that the VERSION file
is the single source of truth for the version number.
2023-08-02 17:27:47 +00:00
Lars Lehtonen ecadeaee2d internal/daemon/controller/handlers/sessions: fix dropped error (#3529) 2023-08-01 11:26:48 -07:00
Elim Tsiagbey 91b74a04d6 chore: BSR container close check (#3528)
Add check to make sure container isn't nil before `container.close()` is called
2023-08-01 10:19:12 -04:00
hashicorp-tsccr[bot]andhashicorp-tsccr[bot] e8207d4bb2 Result of tsccr-helper -log-level=info -pin-all-workflows . (#3527)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-08-01 08:42:39 -04:00
Elim Tsiagbey 1548d48f00 fix: Close opened BSR files (#3519)
* fix: Close opened BSR files

- Add checks to close a file if it's not nil
- Close files opened during reads for `OpenSession`, `OpenConnection` & `OpenChannel`
- Close opened scanner readers
2023-07-31 17:13:24 -04:00
Johan Brandhorst-Satzkorn c644396916 server: allow release version to be set in test (#3517)
The old logic made it impossible for the caller to set
the release version with WithReleaseVersion. Only
set the release version when it's not explicitly set already.
2023-07-31 09:41:22 -07:00
Michael Li ef3954c561 test(e2e): Add a docker test runner (#3499)
* test(e2e): Add a docker test runner

* !fixup: Self-review

* !fixup: Make vault address compatible with local runs

* !fixup: Remove unnecessary modification

* !fixup: Remove arm64 requirement

* !fixup: extend timeout
2023-07-31 09:10:21 -04:00
Damian Debkowski 0dcdee4758 feat(bsr): support container validation (#3504) 2023-07-28 13:38:51 -07:00
Dan Heath 4c61c9631f docs: Add note regarding HCP workers (#3514)
* docs: Add note regarding HCP workers

* docs: Make parameter link

* docs: Reword and move `hcp_boundary_cluster_id`
2023-07-28 11:25:33 -04:00
Jim f8ea8c9744 fix (ldap): support only updating the bind-dn and/or bind-password (#3511)
* fix (ldap): support only updating the bind-dn and/or bind-password

* chore: changelog entry for PR #3511
2023-07-27 15:41:37 -04:00
Damian Debkowski da7e8f7c1c fix(bsr): allow reading twice from the same fstest.MemFile (#3498) 2023-07-27 09:25:01 -07:00
a839bf9cfa Worker concepts doc (#3487)
* Worker concepts doc

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com>
Co-authored-by: Irena Rindos <irenarindos@users.noreply.github.com>

* Apply suggestions from code review

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

* docs: Minor copy edits, clean up Markdown

* doc: Omit parentheses

---------

Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com>
Co-authored-by: Irena Rindos <irenarindos@users.noreply.github.com>
2023-07-27 10:40:05 -04:00
Lennart Passig f2ec01e214 Update configure-controllers.mdx (#3407)
Not correct based on: 
https://developer.hashicorp.com/boundary/docs/configuration/controller#public_cluster_addr
2023-07-26 15:00:08 -04:00
Damian Debkowski a67e42b00f refactor(bsr): optimize ChunkEncoder.Encode() (#3476) 2023-07-26 09:12:19 -07:00
Dan Heath 1f6e000357 docs: Reorg session recording operations (#3483)
* docs: Reorg session recording operations

* docs: Improve linking and meta content

* docs: Add redirect for old "Manage" topic

* docs: Updates to data store validation topic

* docs: Fix link name in index topic
2023-07-26 11:27:41 -04:00
Dan Heath cbebe0ae2f docs: Clarify storage bucket terminology (#3485)
* docs: Clarify storage bucket terminology

* docs: Additional edits
2023-07-26 11:18:05 -04:00
Irena Rindos dcdb257b93 fix(bsr): check nanosecond range during decoding (#3496) 2023-07-25 11:58:15 -04:00
Jim f59b6364f2 chore: update "go mod tidy" 2023-07-25 10:43:42 -04:00
Jim 97c5e7dbc6 chore: update cap dependency (#3495) 2023-07-25 08:56:56 -04:00
JimandDan Heath 4cb020fb3f docs (domain/OIDC): add domain docs for OIDC auth method attributes (#3490)
* docs (domain/OIDC): add domain docs for OIDC auth method attributes

* Update website/content/docs/concepts/domain-model/auth-methods.mdx

Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com>

* Update website/content/docs/concepts/domain-model/auth-methods.mdx

Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com>

* Update website/content/docs/concepts/domain-model/auth-methods.mdx

Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com>

* Update website/content/docs/concepts/domain-model/auth-methods.mdx

Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com>

* Update website/content/docs/concepts/domain-model/auth-methods.mdx

Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com>

* Update website/content/docs/concepts/domain-model/auth-methods.mdx

Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com>

* Update website/content/docs/concepts/domain-model/auth-methods.mdx

Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com>

* Update website/content/docs/concepts/domain-model/auth-methods.mdx

Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com>

* Update website/content/docs/concepts/domain-model/auth-methods.mdx

Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com>

* Update website/content/docs/concepts/domain-model/auth-methods.mdx

Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com>

* Update website/content/docs/concepts/domain-model/auth-methods.mdx

Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com>

* fixup! docs (domain/OIDC): add domain docs for OIDC auth method attributes

---------

Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com>
2023-07-24 13:16:10 -04:00
Dan Heath 736f45574b docs: Update license utilization reporting topic (#3491) 2023-07-24 10:18:28 -04:00
Johan Brandhorst-SatzkornandDan Heath 28de3d712b Connect option docs (#3424)
* docs: add ssh connect helper

Really just splits this up into a separate heading. We will add
more connect helpers as we go.

* docs: add RDP connect helper

* docs: add postgres connect helper

* docs: add http connect helper

* docs: add kube connect helper

* docs: remove duplicate mention of helpers

* docs: Copy edits to dev-mode topic

* docs: Copy edits to hcp topic

* docs: Minor copy edits

---------

Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com>
2023-07-21 15:12:55 -04:00
Irena Rindos 39953fe329 fix(targets): return LookupTargets error in AuthorizeSession (#3484)
* fix(targets): return LookupTargets error in AuthorizeSession
2023-07-20 11:01:20 -04:00
Michael Li cce722c773 test(e2e): Add "update host set filter" check (#3482) 2023-07-20 10:50:18 -04:00