Commit Graph
4564 Commits
Author SHA1 Message Date
hashicorp-tsccr[bot]andhashicorp-tsccr[bot] ca0deb91c1 Result of tsccr-helper -log-level=info gha update -latest .github/ (#5505)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2025-02-11 08:37:00 -08:00
Elim Tsiagbey 9e5c1b846f chore: Update changelog dates (#5536) 2025-02-11 10:52:59 -05:00
Dan Heath 90ec561804 docs: Update 0.17.x and 0.18.x release notes (#5533)
* docs: Update 0.17.x and 0.18.x release notes

* docs: Rephrase language re. Go update
2025-02-10 13:53:07 -05:00
Elim Tsiagbey 777ea9199c docs: update changelog to include security dependency updates (#5529) 2025-02-10 13:10:00 -05:00
Dan Heath 79770b26f2 docs: Update release date (#5530) 2025-02-10 11:12:58 -05:00
Elim Tsiagbey 207b02bf15 chore: Update changelog (#5527)
* chore: Update changelog

update changelog for  0.19.0, 0.17.4, 0.18.3 and add missing 0.17.3 entry
2025-02-07 17:00:17 -05:00
Johan Brandhorst-Satzkorn 5de0c8c102 internal: ensure schema manager is closed (#5521)
This releases the connection it holds indefinitely
2025-02-06 13:49:49 -08:00
Damian DebkowskiandJohan Brandhorst-Satzkorn acc40e0d08 fix: resolve small issues in db transactions (#5522)
* fix: use the db transaction reader and writer

* fix: internal/server: use ctx when scanning rows

* fix(host): pass db tx reader/writer into helper funcs

* fix: more precise nil check against db.Reader & db.Writer

---------

Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
2025-02-06 12:20:39 -08:00
Robin BeckandDan Heath 2d802fe3f5 Docs: add AWS DHC policy examples (#5514)
* adds IAM policy examples

* adds missing worker-filter command option

* Apply suggestions from code review

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

* adds cross-account access note, style fixes

* Update website/content/docs/concepts/host-discovery/aws.mdx

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

---------

Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com>
2025-02-05 14:03:12 -07:00
Johan Brandhorst-Satzkorn 35943cb408 docs: add note about MacOS 15.1, 15.2 incompatibility (#5515) 2025-02-05 09:14:38 -08:00
Cameron Perera fc5aa31add bump ui commit to c9a74f2 (#5512) 2025-02-04 16:42:19 -06:00
Damian Debkowski 5bd142ddb4 fix(worker): set session.CloseCallTimeout to non-zero value (#5510) 2025-02-04 13:47:32 -08:00
Lauren 43338db7ed bump ui commit 835b302c1 (#5508) 2025-02-03 15:01:28 -05:00
Michael Li 26608ede70 chore: Add note for modifying /etc/hosts (#5499) 2025-01-31 09:28:38 -05:00
vanphan24 a0b0a4def9 Update index.mdx, added note about credentials command (#5479)
Added note about `Boundary credentials` command not supporting vault cred store
2025-01-30 16:52:28 -05:00
Dan Heathandstellarsquall 62e90ccacd docs: Update DHC workflows (#5430)
* docs: Update DHC workflows

* docs: Update field definitions

* docs: Add GCP workflows

* docs: Add note about required fields

* adds jq private key example code

* use : operator for label filters

* use generic TF variables, CLI attr fixes

---------

Co-authored-by: stellarsquall <stellarsquall@protonmail.ch>
2025-01-30 16:31:59 -05:00
Robin Beck f61354d11d Docs: update worker filter UI (#5489)
* replaces screenshots and paths

* updates worker filter UI descriptions and screenshots
2025-01-30 12:40:15 -05:00
Dan Heath 81f1151ba2 docs: Update release notes (#5480)
* docs: Update release notes

* docs: Add new features

* docs: Fix date

* docs: Update worker filter feature description
2025-01-30 12:06:54 -05:00
Louis Ruch 47e314ebc2 fix(scheduler): ignore 404 when updating job run (#5495) 2025-01-29 11:33:01 -08:00
Judith Malnick 628f3fb0c7 Remove web team from CODEOWNERS for content directories (#5476)
* remove web team from contenet directories

* fix the name of the education team

* re-remove old section for education and web
2025-01-29 10:48:46 -05:00
Lisbet Alvarez 348abb164a bump ui commit ae1e6d2 (#5490) 2025-01-28 17:02:49 -08:00
Elim Tsiagbey c5cc20c649 fix(worker): add GCP plugin support on the worker (#5484)
Enable worker to run GCP plugin
2025-01-28 09:35:14 -05:00
Lauren 6065350d35 bump ui commit 639aa47e1 (#5485) 2025-01-27 19:39:54 -05:00
Damian Debkowski 94e2aceaca fix(alias): remove unnecessary subquery from alias refresh (#5481) 2025-01-27 14:18:42 -08:00
Lauren bdd2332586 bump ui commit fed32aa57 (#5475) 2025-01-24 17:00:16 -05:00
Aditya SharmaandDan Heath 0d206aab74 docs: Adds conflicts with Huntress EDR (#5454)
* docs: Adds conflicts with Huntress EDR

* Apply suggestions from code review

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

---------

Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com>
2025-01-24 14:15:30 -05:00
Johan Brandhorst-Satzkorn 936d320ca6 internal/scheduler/job: fix test failure (#5472)
This was failing because the compared values weren't
pointers. It was probably caused by a depedency version
update changing the behavior of this function.
2025-01-24 10:25:56 -08:00
7c4451dc73 Bug: fix groups in children scopes being filtered out by grants (#5418)
* add utility functions for grants tests

* use passed in scopeID to create user

* add test for groups list

* groups: set ParentScopeId before FetchActionSetForId

* add comment to TestRoleGrantsForToken

* lint and ran make gen

* fix import groups

* add an additional test case

* remove print

* changelog

* fix(alias): set parent scope id for alias resource (#5434)

set the `ParentScopeId` before fetching authorized actions for alias

* fix(worker): set parent scope id for worker resource (#5435)

set the `ParentScopeId` before fetching authorized actions for worker

* fix(user): children scopes being filtered out by grants for user (#5436)

* fix(user): children scopes being filtered out by grants for user

Resources are being filtered out due to missing ParentScopeId when constructing Resource to pass into authResults.FetchActionSetForId.

* fix(scope): set parent scope id for worker resource (#5439)

set the `ParentScopeId` before fetching authorized actions for worker

* fix(target): set parent scope id for target resource (#5447)

set the `ParentScopeId` before fetching authorized actions for target

* fix(roles): set parent scope id for roles resource (#5452)

* fix(roles): set parent scope id for roles resource

set the `ParentScopeId` before fetching authorized actions for role resource

* test(managed-group): add grants test coverage (#5453)

* fix(managed-group): set parent scope id for managed-group resource

set the ParentScopeId before fetching authorized actions for managed resource

* fix(host): set parent scope id for host resource (#5455)

set the `ParentScopeId` before fetching authorized actions for host resource

* fix(host-set): set parent scope id for host-set resource (#5456)

set the ParentScopeId before fetching authorized actions for host-set resource

* fix(host-catalog): set parent scope id for host-catalog resource (#5457)

set the ParentScopeId before fetching authorized actions for host-catalog resource

* fix(credential-store): set parent scope id for credential-store resource (#5458)

set the ParentScopeId before fetching authorized actions for credential-store resource

* fix(authmethods): set parent scope ID for auth methods resource (#5448)

* handlers/authmethods: fix children permission

* documentation

* formatting

* fix(credential): set parent scope id for credential resource (#5459)

set the `ParentScopeId` before fetching authorized actions for credential resource

* fix(accounts): bug grants filter children accounts (#5431)

* handlers/accounts: fix children grants filtering out results unexpectedly

* make gen

* fix(authtokens): set parent scope ID for auth token resource (#5451)

* fix authtokens not passing children scope ID

* make gen

* fix(credential-libraries): set parent scope ID (#5463)

* fix(common) set parent ID before fetching action setsparent ID before fetching action sets (#5467)

* fix(common) set parent ID before fetching action sets

* make gen

* additional test

* rename test

* more tests

* remove duplicate test

* make gen

* Update CHANGELOG.md

Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>

---------

Co-authored-by: Elim Tsiagbey <elim.tsiagbey@hashicorp.com>
Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
2025-01-24 10:23:33 -08:00
Michael Li 80c9f07a48 chore(hcp): Update use of module (#5469) 2025-01-24 10:04:45 -05:00
Lauren 54d438f367 bump ui commit 064375d45 (#5471) 2025-01-23 18:23:03 -05:00
Elim Tsiagbey 5b802426fa chore: update changelog for version 0.19.0 and reorganize bug fixes (#5470) 2025-01-23 17:03:34 -05:00
April Ayres b18b586ec8 add noOp license validator function (#5468) 2025-01-23 11:55:11 -08:00
Lauren 29170c3701 update changelog for UI 0.19.0 (#5466) 2025-01-23 12:39:27 -05:00
Johan Brandhorst-Satzkorn 40cb9f5c9e Restrict concurrent password hashes (#5437)
* internal/auth/password: add resizable pool

The resizable pool wraps the permit pool with a mutex
to allow it to be resized at runtime.

* internal/auth/password: add concurrency limit

The default concurrency limit is 1, and it can be
set using the SetHashingPermits function.

* internal/cmd/config: allow configuring hashing limits

The new concurrent_password_hash_workers configuration
value can be used to loosen the constraints on the
userpass auth method hashing operation.

* internal/cmd: set password hashing constraints

Sets the password hashing concurrency constraints on
startup and config reload.

* CHANGELOG: add notice about password concurrency limit
2025-01-22 13:31:42 -08:00
Johan Brandhorst-Satzkorn aad833fe09 CHANGELOG: add note about worker status refactor (#5465) 2025-01-22 11:53:35 -08:00
Elim Tsiagbey 91c1308924 chore: Update boundary-plugin-gcp to version v0.1.0 (#5462)
Update the GCP plugin dependency to point the latest released version
2025-01-22 13:29:14 -05:00
Damian Debkowski efe9fe780d chore: update changelog with bug fix (#5460) 2025-01-22 10:05:16 -08:00
Irena Rindos dfe4f91be3 refactor(server): refactor worker tags (#5445)
* refactor(server): refactor worker tags
2025-01-22 13:03:55 -05:00
Irena Rindos e2102f65dd chore: update changelog for worker domain refactor (#5461) 2025-01-22 13:01:57 -05:00
Louis Ruch 75aac063ba chore: Update minio plugin version (#5444) 2025-01-22 09:58:47 -08:00
Michael Li 00a5a8f4c5 test(e2e): Address flakiness in bytes up/down test (#5450) 2025-01-22 11:14:00 -05:00
Michael Li 272c7cf4d3 chore: Add permissions to CI user (#5446) 2025-01-22 10:59:10 -05:00
Lauren 4731bc8747 bump-ui-commit-904864b14 (#5449) 2025-01-21 15:38:53 -08:00
Michael Li 54c9dc850d chore: Handle case with multiple artifacts (#5442) 2025-01-21 14:11:35 -05:00
Johan Brandhorst-Satzkorn a43cb90a32 internal/session: ensure orphaned connection cleanup (#5438)
Previously, the orphaned connection cleanup job would
not detect that a connection that was created before a
worker had submitted a successful session info was
orphaned. We now fall back to using the worker update
time as an indicator if the session info time is not set.
2025-01-21 11:09:15 -08:00
vanphan24 196f01bbd5 Update what-is-boundary.mdx (#5433)
added HTTPS and minor edits to the "Just-in-time network access" feature table
2025-01-21 10:30:02 -07:00
dd9c7b9d60 Create IPv6 and dual stack enos tests (#5212)
Co-authored-by: Danielle Miu <29378233+DanielleMiu@users.noreply.github.com>
Co-authored-by: Damian Debkowski <damian.debkowski@hashicorp.com>
2025-01-21 07:37:04 -08:00
Elim Tsiagbey 34d13a0aae chore: update boundary-plugin-gcp dependency to latest version (#5419)
* chore: update boundary-plugin-gcp dependency to latest version
2025-01-09 15:53:08 -05:00
Johan Brandhorst-SatzkornandDamian Debkowski ec0a3f964b Worker status refactor (#5417)
* oss: feat(proto): statistics rpc added to server coordination service

* oss: feat(session): add update statistics status service

* oss: feat(handlers): add Statistics method to worker service server

* oss: feat(worker): add statistics ticking

* oss: internal/proto: define the new RoutingInfo RPC

* oss: internal/server: repository changes for RoutingInfo RPC

* oss: internal/daemon: add RoutingInfo handler to worker service

The new RoutingInfo RPC is used to get information from the worker
that is used to make routing decisions on the controller. It also
handles the initial request from the worker.

* oss: feat(db): server_worker_session_info table

* oss: feat(proto): session info rpc for server coordination service

* oss: feat(server): worker session info request data type

* oss: feat(worker): session info ticker

* oss: feat(handler): server coordination handler for session info

* oss: feat(session): utilize session info request time for session cleanup

* oss: proto: fix some gotags comments

Some of these fields were missing comments, while others had
incorrectly formatted comments.

* oss: worker: send connection status to server

This is required for the correct tracking of orphaned connections

* oss: internal/daemon/worker: add function to wait for Statistics RPC

* oss: internal/daemon/worker: add routing info RPC

The new RoutingInfo RPC replaces part of the Status RPC,
namely the part which is used by the controller and worker
to perform decisions around the establishment of new sessions
and new worker connections.

* oss: internal/daemon/worker: remove unnecessary error check

* oss: internal/daemon/worker: lock access to config and upstreams

The new confLock protects access to the conf value and to the
addressReceivers slice.

* oss: worker: replace Status RPC with RoutingInfo

* oss: worker: deprecate the Status RPC and related types

The Status RPC and related messages have been replaced
by the RoutingInfo/SessionInfo/Statistics RPCs. The controller
will continue to support the Status RPC until two new minor
versions have been released.

* oss: internal/event: add default deny for new worker RPCs

* oss: internal/daemon/worker: allow RPC interval to be set

The new SessionInfo/RoutingInfo/Statistics RPCs run at
long intervals, which make some of our cluster tests take
a long time to complete. This allows their interval to be
configured in tests.

* oss: all: use TestWorkerRPCInterval in slow tests

This should speed up these tests significantly.

* oss: internal/tests/cluster: reset sys eventer in test

---------

Co-authored-by: Damian Debkowski <damian.debkowski@hashicorp.com>
2025-01-09 10:26:37 -08:00
Michael Li 554195f49f test(e2e): Add test for connect http (#5423)
* test(e2e): Add comment to test

* test(e2e): Add test for connect http

* CR
2025-01-09 12:43:21 -05:00