From ad32c8d2367a24385e8258d8ffdb613ff281b39d Mon Sep 17 00:00:00 2001 From: Josh Date: Mon, 12 Oct 2026 10:28:02 -0700 Subject: [PATCH] Rename module and SDK import paths for Threshold Fork of hashicorp/boundary-plugin-azure (MPL-2.0). Module path and Boundary SDK imports now point at repo.anhonesthost.net/CyberCoveLLC. Adds NOTICE and an About this fork section to the README. Co-Authored-By: Claude Sonnet 5.5 --- NOTICE | 9 +++++++++ README.md | 9 +++++++++ go.mod | 4 ++-- go.sum | 2 -- plugin/auth.go | 2 +- plugin/plugin.go | 6 +++--- plugin/plugin_test.go | 6 +++--- 7 files changed, 27 insertions(+), 11 deletions(-) create mode 100644 NOTICE diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000..54a2f80 --- /dev/null +++ b/NOTICE @@ -0,0 +1,9 @@ +This repository is a community fork of hashicorp/boundary-plugin-azure +(https://github.com/hashicorp/boundary-plugin-azure), maintained for Threshold. + +The original work is licensed under the Mozilla Public License 2.0 (see LICENSE). +Original copyright IBM Corp. / HashiCorp, Inc. is retained in all source file +headers and in LICENSE. Modifications are limited to the Go module path and the +import paths of the Boundary SDK/API packages. + +This fork is not affiliated with, endorsed by, or supported by HashiCorp or IBM. diff --git a/README.md b/README.md index 0af97d6..9f0f250 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,12 @@ +## About this fork + +This is a community fork of +[hashicorp/boundary-plugin-azure](https://github.com/hashicorp/boundary-plugin-azure) +for use with Threshold. It is licensed under the MPL-2.0 (see `LICENSE`), and +the original copyright notices are retained. It is not affiliated with, +endorsed by, or supported by HashiCorp or IBM. Changes from upstream are limited +to the Go module path and SDK import paths; see `NOTICE`. + # Azure Host Plugin for HashiCorp Boundary This repo contains a Host-type plugin for [HashiCorp diff --git a/go.mod b/go.mod index 8f67770..e8220e6 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/hashicorp/boundary-plugin-azure +module repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-azure go 1.25.0 @@ -6,7 +6,7 @@ require ( github.com/Azure/azure-sdk-for-go v66.0.0+incompatible github.com/Azure/go-autorest/autorest v0.11.28 github.com/Azure/go-autorest/autorest/azure/auth v0.5.11 - github.com/hashicorp/boundary/sdk v0.0.31 + repo.anhonesthost.net/CyberCoveLLC/threshold/sdk v0.1.0 github.com/hashicorp/go-secure-stdlib/parseutil v0.1.7 github.com/kr/pretty v0.3.0 github.com/manicminer/hamilton v0.46.0 diff --git a/go.sum b/go.sum index b568ff4..0f3f802 100644 --- a/go.sum +++ b/go.sum @@ -159,8 +159,6 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/hashicorp/boundary/sdk v0.0.31 h1:KAPWpic7UFSUc/V4BDOVmXBYtSbSHKwAVrDXA8u/CxE= -github.com/hashicorp/boundary/sdk v0.0.31/go.mod h1:6SNSerq1eWX35xsC2NE3VLmFzMjsllCbaVXE7dsueaI= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= diff --git a/plugin/auth.go b/plugin/auth.go index 34e4b02..1152290 100644 --- a/plugin/auth.go +++ b/plugin/auth.go @@ -11,7 +11,7 @@ import ( "github.com/Azure/go-autorest/autorest" "github.com/Azure/go-autorest/autorest/azure/auth" - "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/hostcatalogs" + "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/hostcatalogs" hauth "github.com/manicminer/hamilton/auth" "github.com/manicminer/hamilton/environments" "github.com/manicminer/hamilton/msgraph" diff --git a/plugin/plugin.go b/plugin/plugin.go index 8d8197b..5f8b280 100644 --- a/plugin/plugin.go +++ b/plugin/plugin.go @@ -22,9 +22,9 @@ import ( "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/structpb" - "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/hostcatalogs" - "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/hostsets" - pb "github.com/hashicorp/boundary/sdk/pbs/plugin" + "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/hostcatalogs" + "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/hostsets" + pb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin" ) // AzurePlugin implements the HostPluginServiceServer interface diff --git a/plugin/plugin_test.go b/plugin/plugin_test.go index e1633d3..eec834f 100644 --- a/plugin/plugin_test.go +++ b/plugin/plugin_test.go @@ -12,9 +12,9 @@ import ( "testing" "time" - "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/hostcatalogs" - "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/hostsets" - pb "github.com/hashicorp/boundary/sdk/pbs/plugin" + "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/hostcatalogs" + "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/hostsets" + pb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin" "github.com/hashicorp/go-secure-stdlib/parseutil" "github.com/kr/pretty" "github.com/manicminer/hamilton/auth"