Commit Graph
1790 Commits
Author SHA1 Message Date
Timothy Messier 761acd37b8 fix(makefile): Update docker-build-dev to use correct target
When the make targets where updated to switch from `make dev` to
`make build`, the dependency for the `docker-build-dev` target was not
updated.

See: b53e4d4c3e
2022-03-11 13:55:23 -05:00
Timothy Messier 839f9efcfb chore(dbtest): Build test database docker image for arm64
This adds a new makefile target to build and publish the test database
docker image for multiple architectures. It will create images for:

- linux/amd64
- linux/arm64

The target uses docker buildx to build the images. To build the images:

    docker buildx create --driver docker-container --use
    make docker-buildx
    docker buildx rm

See: https://docs.docker.com/buildx/working-with-buildx/
2022-03-11 13:55:23 -05:00
Michele Degges 2b2cc0bf19 Turn nvd security scanning off temporarily (#1911) 2022-03-11 10:18:18 -08:00
Robin BeckandHugo 860a053ba8 Docs: Update connect-to-target page with target-name example (#1887)
* added boundary connect -target-name example

* removes some passive and ableist language

* Apply suggestions from code review

add rewrite suggestions from @hugoamvieira

Co-authored-by: Hugo <hugoamvieira@users.noreply.github.com>

* update Using Connect Helpers copy

Co-authored-by: Hugo <hugoamvieira@users.noreply.github.com>
2022-03-10 11:26:48 -07:00
Jeff Mitchell b53e4d4c3e Update make targets: (#1900)
* Update make targets:

* `make dev` now shows a message indicating the new commands
* `make build` builds the binary into bin/
* `make install` will subsequently `mv` (not copy) the binary into
  GOPATH/bin

The reason for the `mv` is that M1 Macs seem to get pretty unhappy about
executing a copied binary if it's been modified, so an initial binary is
fine, then after changing and recompiling the command keeps getting
killed.

* Make the 'make install' text more clear
2022-03-09 16:20:44 -05:00
Irena Rindos bc6689fb16 docs(permissions): break permissions into sections (#1893)
* docs(permissions): break permissions into sections

* fixup! docs(permissions): break permissions into sections
2022-03-08 10:36:11 -05:00
Michele Degges 82b121c9ec Turn OSV scanning off temporarily (#1894) 2022-03-07 13:09:55 -08:00
Timothy Messier bdb98d508e fix(genapi): Sort slice in removeDups template function (#1889)
The removeDups template function converts a slice into a map and
back into a slice in order to leverage the map keys to remove
duplicates. However, since the iteration order over a map is not
specified it would be possible to get different orders for multiple runs
of `make api`. While this would not have an impact on any functionality,
it is causing sporadic failures for the new make-gen-deltas CI job.

See: https://go.dev/ref/spec#For_statements
Ref: d57603022a
2022-03-04 11:44:41 -05:00
Swati Saxena be75a2cd3c Update roadmap.mdx (#1885) 2022-03-04 07:52:19 -08:00
xka5h 237f0c5704 updated CLI connection options, including addr (#1884) 2022-03-03 14:15:18 -08:00
Irena Rindos 718e746480 docs(targets): remove default port option (#1883) 2022-03-03 10:44:25 -08:00
Michael Gaffney 2fabfd99e5 docs: add database indexes under performance in contributing guide (#1881) 2022-03-02 08:00:37 -05:00
Dharini Jeeva de96cac780 chore: updates to azure, aws doc links (#1876) 2022-03-01 10:09:32 -08:00
Justen Walker 8279397dbb fix(connect): do not panic on multiple -- args (#1858)
Passthrough args looks for the an instance of -- and re-slices the arg
list to pass through those args to the underlying connect exec command.
However such commands may also need to parse their own '--', such as
kubectl exec.

This change updates the logic so that boundary arg parser only considers
the first instance of '--' when deciding which args to pass to the
-exec= commands.

Fixes: #1857
2022-02-28 10:39:09 -07:00
Sarah Thompson d52f841d8b Adding promotion and post-publish events. (#1871) 2022-02-25 17:32:49 +00:00
Sarah Thompson 3d0b3d4072 Fix UI build caching and set network-timeout (#1875) 2022-02-24 13:20:45 -08:00
Michele Degges 9ec23fbf80 Remove setup-qemu step from Docker build job (#1873) 2022-02-24 12:00:38 -08:00
Timothy Messier 59d754e85f chore: Prep for next version 2022-02-17 14:58:13 -05:00
Timothy Messier 3446a0af39 chore(website): Update version to 0.7.5 2022-02-17 14:54:46 -05:00
claire labry 1361261f67 [RDX-309] UI build timeout fix (#1870)
* testing network concurrency flag

* trigger ui build

* trigger ui build

* trigger ui build

* whoops, cleaning up
2022-02-17 13:46:24 -05:00
Timothy Messier a2dc9dfd40 fix(build): Use POSIX compatible comparison
In CI were errors/warnings like:

    ./scripts/plugins.sh: 7: [: windowsx: unexpected operator

This comparison is compatible with more versions of bash and other
shells and should prevent these messages.
2022-02-17 11:15:36 -05:00
Todd 65c41e5b14 Update changelog to include set ids on static host API resource fix. (#1869) 2022-02-17 08:51:43 -07:00
Carlos Alcaide Corvo b529f4af44 Bump ui version (#1868) 2022-02-17 10:49:39 -05:00
Timothy Messier 44d269fdbd fix(build): Include .exe suffix when building plugins for Windows (#1867)
When moving to the new CRT build process, this was missed from the older
build scripts. When building the plugins for Windows, if the files do
not have the `.exe` suffix, boundary fails with errors like the
following:

    Error initializing controller: error creating aws host plugin: error fetching host plugin rpc client: exec:
    "C:\\Users\\alice\\AppData\\Local\\Temp\\441718622\\boundary-plugin-host-aws": file does not exist
2022-02-17 10:48:15 -05:00
Louis Ruch 4ed4575802 chore(fmt): make fmt 2022-02-16 15:52:37 -08:00
Louis Ruch 64fd93e088 chore(release): Bump API version and changelog for 0.7.5 2022-02-16 15:35:03 -08:00
Todd 7ee1f74388 fix(hostsets/plugin): Only delete preferred endpoints when there are preferred endpoints to delete. (#1865) 2022-02-16 16:12:34 -07:00
Carlos Alcaide Corvo 360ff9cf2b Update changelog with latest changes in the UI (#1866)
* Update changelog with latest changes in the UI

* Change to lowercase for consistency

* Bump UI version
2022-02-16 18:00:08 -05:00
Dharini Jeeva d7d3bdf5e8 add doc link for dynamic host catalog hosts setup (#1861) 2022-02-16 08:55:34 -08:00
Irena Rindos be569dee78 Merge pull request #1862 from hashicorp/irindos-api-client-path
fix(api): address base paths containing a v1 were being truncated
2022-02-16 07:36:17 -08:00
Irena Rindos a6f50e675c fix(api): address base paths containing a v1 were being truncated 2022-02-16 10:15:02 -05:00
Todd e4d1e501cf fix(warehouse): Handle duplicate addresses when migrating into wh_network_address_dimension (#1860) 2022-02-15 15:49:41 -07:00
Irena Rindos c6c10cbec7 Merge pull request #1859 from hashicorp/irindos-remove-terminate-session
refactor(session): Remove dead session termination code
2022-02-15 06:39:43 -08:00
Irena Rindos 5d6aa3b729 refactor(session): Remove dead session termination code 2022-02-15 08:55:25 -05:00
Todd 11ce54f8fb Add DW network address dimension tables (#1855) 2022-02-14 16:30:18 -07:00
Louis Ruch 8cab9a4315 feat(scheduler): Update job description on conflict (#1852) 2022-02-11 17:20:19 -08:00
Todd 3242d3936e Add test coverage for dns names on a host when authorizing a session in target_service_test.go. Add the recent fixes to the changelog. (#1854) 2022-02-10 16:06:03 -07:00
Justen Walker bd30ff4140 fix(controller/targets): authorize-session should allow h_ ids (#1853)
* fix(controller/targets): authorize-session should allow h_ ids

The targets controller previously only allowed hosts from a static catalog
since it checked for the ID subtype from the static package.

This change validates host ids with the plugin.Subtype as well

Fixes: #1850

* test: cover authorize-session with host id

Add a regression test to cover the case where an explicit host ID was
given when calling AuthorizeSession
2022-02-10 13:59:57 -07:00
Justen Walker 6166d2240f bug(plugin): Fix incorrect use of WithIpAddrs in Repository.Endpoints (#1849)
When creating the options for the preferencer, this used WithIpAddrs for both the host addresses and also DNS names. This causes errors when a host contains DNS names that are not IP addresses (ie: whenever dns names are present).

This change will:
- Replace WithIpAddrs with WithDNSNames option for DNS Names when constructing options for the preferencer.
- Add a test which includes a DNS name to prevent regressions

Fixes #1848
2022-02-10 13:59:35 -07:00
Irena Rindos befdc7612c Merge pull request #1842 from hashicorp/irindos-circli-proto-delta
ci(proto): Detect unchecked API and proto changes
2022-02-10 06:55:05 -08:00
Irena Rindos d57603022a ci(proto): Detect unchecked API and proto changes 2022-02-10 09:08:21 -05:00
Timothy Messier 60bbadd125 chore: Set next version to 0.7.5 (#1847) 2022-02-09 16:12:53 -05:00
Louis Ruch aaaf0241ff bug(host): Fix sync job failure blocking other set syncs (#1841)
During the plugin_host_set_sync job, a single set failing to  sync
can cause all following syncs to fail.
2022-02-04 12:02:37 -08:00
modrake 2f7b4e5451 Docker version parity to reduce oss->ent merge conflicts (#1843) 2022-02-04 09:54:26 -08:00
Timothy Messier 8557442370 ci: Add plugin compile step (#1840)
Some OS build steps were not compiling the plugins before compiling the
boundary binary. This resulted in binaries that did not have plugins
included, and would result in an error when starting a boundary server.
2022-02-02 17:29:29 -05:00
Dylan StaleyandRandall Morey 7bbe44a029 website: display warning in IE 11 (#1829)
* feat: display warning in IE 11

* Use innerHTML instead of manual DOM

Co-authored-by: Randall Morey <randall@hashicorp.com>

* link to HashiCorp IE11 deprecation page

Co-authored-by: Randall Morey <randall@hashicorp.com>
2022-02-01 12:20:52 -08:00
Haotian fa00a06bef feat(host): Add host set information to static host (#1828)
* feat(host): Add host set information to static host

Updates LookupHost and ListHost API to include sets a static host is part of, as like with plugin hosts.

* test: updated TestList_Plugin and TestCrud to be more consistent under race conditions
2022-02-01 10:06:13 -08:00
84f6cc698c Onboard Boundary to CRT (#1786)
Onboard Boundary to Common Release Tooling

Co-authored-by: mdrake <mdrake@hashicorp.com>
Co-authored-by: jeanneryan <jeanneryan@hashicorp.com>
2022-02-01 07:41:27 -08:00
Jeff Mitchell 5743580ca5 Update authenticate command/subcommands help text (#1835)
* Make it clear in the subcommands that the given strings are examples
* Add an OIDC example to show that there are different types
* Remove password flag from examples
2022-01-31 11:50:45 -05:00
Noel Quiles 029569a201 website: Add Demandbase tag to consent manager (#1832)
* chore: Add Demandbase tag to consent manager

* fix: Add services to manager options
2022-01-28 13:30:36 -05:00