Commit Graph
4582 Commits
Author SHA1 Message Date
Hugo 1fb52206e2 chore: Update AWS and MinIO plugins (#5598) 2025-03-14 15:50:54 +00:00
daniandDanielle Miu 2ed3430069 Modify storage bucket service to include NormalizeStorageBucketData (#5590)
NormalizeStorageBucketData normalizes a given's storage bucket attributes before persisting.

Co-authored-by: Danielle Miu <29378233+DanielleMiu@users.noreply.github.com>
2025-03-14 14:49:23 +00:00
Damian Debkowski 70cdd3823c fix(db): return expected rows err for migration logs (#5597) 2025-03-13 17:18:05 -07:00
Damian Debkowski 29ab0c3594 fix(handlers): resolve nil reference pointer for authorize session (#5596) 2025-03-13 16:20:17 -07:00
Damian Debkowski 32be170562 fix(token): utilize a more accurate comparison method (#5594) 2025-03-13 15:08:09 -07:00
Michael Li 132a52c5d9 chore(e2e): Set up ec2 instance storage with encryption (#5580) 2025-03-06 09:55:18 -05:00
Michael Li e5b3f822c5 test(e2e): Address flake in search test (#5572)
* test(e2e): Address flake in search test

* CR: Add ticket
2025-03-06 09:46:11 -05:00
Dan Heath c881d1f5cb docs: Revise description of HCP Boundary (#5577) 2025-03-04 15:49:48 -05:00
Dan Heath 252e44fbc7 docs: Update release notes (#5574)
* docs: Update release notes

* docs: Clarify support in DHC topic

* docs: Rewrite known issue for accuracy

* docs: Punctuation fix
2025-03-04 14:10:40 -05:00
Dan Heath 046c24dbe1 docs: Fix a typo in page title (#5565) 2025-02-26 14:04:06 -05:00
Johan Brandhorst-Satzkorn 3d2fa8b9d0 plugins/boundary/mains/azure: update dependency (#5464)
v0.2.0 of the Azure plugin adds support for Virtual Machine
Scale Sets (VMSS) in addition to Virtual Machines.
2025-02-24 11:22:28 -08:00
Johan Brandhorst-SatzkornandMichael Li 262693f47c Restore soft deleted users on authentication (#5549)
* internal/clientcache: restore user on login

A user that previously had its last auth token deleted
(for example, if they logged out), should be restored
again when they successfully authenticate again.

* internal/clientcache: delete keyringless expired auth tokens

Previously, we would only correctly delete auth tokens
that were expired (or deleted) if they were also in the
keyring.

* internal/clientcache: remove tautological condition

At this stage we already know that at is non-nil, because
the case above would have been true if it was nil.

* internal/clientcache: improve error handling

The previous error handling would have ignored API errors that were not ErrUnauthorized or ErrNotFound.
Handle all API errors the same as other unexpected errors.

* internal/clientcache: make errors distinct

These two error conditions are otherwise impossible
to tell apart.

* test(e2e): Update search test to catch bug (#5551)

---------

Co-authored-by: Michael Li <michael.li@hashicorp.com>
2025-02-24 09:16:07 -08:00
Robin Beck 11c19d574f fixes incorrect AssumeRole policy (#5555) 2025-02-21 12:32:57 -07:00
Michael Li 14808d197f test(e2e): Differentiate between public and private vault addresses (#5553) 2025-02-20 10:27:43 -05:00
Johan Brandhorst-Satzkorn 99f4bc092f Update go-plugin dep (#5552)
* mod: remove unnecessary import groupings

Move all imports into one of two groupings:

1. Direct dependencies
2. Indirect dependencies

This is the standard used by the go tool. The old groupings
seemed very random.

* mod: update go-plugin dependency
2025-02-19 09:14:41 -08:00
d001e82817 docs: Fixes examples for alias_refresh_interval & dns_request_timeout (#5544)
* docs: Fixes examples for alias_refresh_interval & dns_request_timeout

* Update website/content/docs/api-clients/client-agent.mdx

Co-authored-by: Michael Li <michael.li@hashicorp.com>

---------

Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com>
Co-authored-by: Michael Li <michael.li@hashicorp.com>
2025-02-13 09:14:18 -08:00
Johan Brandhorst-SatzkornandRobin Beck c593943209 docs/client-agent: add warning about MacOS 15 (#5543)
* docs/client-agent: add warning about MacOS 15

MacOS 15.3 has been known to sometimes block users
from using the client agent altogether. Explicitly
allowing it access to incoming network connections
resolves the issue.

* Update website/content/docs/api-clients/client-agent.mdx

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

---------

Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com>
2025-02-11 15:50:40 -08:00
Elim Tsiagbey 3ab6828a83 chore: bump sdk & api deps (#5539)
Post-release step: Bump`sdk` and `api` based off `0.19.0` release
2025-02-11 14:44:09 -05:00
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