diff --git a/.github/DISCUSSION_TEMPLATE/issue-triage.yml b/.github/DISCUSSION_TEMPLATE/issue-triage.yml index 696ed5eb..ec9bf078 100644 --- a/.github/DISCUSSION_TEMPLATE/issue-triage.yml +++ b/.github/DISCUSSION_TEMPLATE/issue-triage.yml @@ -4,7 +4,7 @@ body: attributes: value: | > [!IMPORTANT] - > Please read through [the code of conduct](https://github.com/common-fate/granted/blob/main/CODE_OF_CONDUCT.md), and check for both existing [Discussions](https://github.com/common-fate/granted/discussions?discussions_q=) and [Issues](https://github.com/common-fate/granted/issues?q=sort%3Areactions-desc) prior to opening a new Discussion. + > Please read through [the code of conduct](https://github.com/fwdcloudsec/granted/blob/main/CODE_OF_CONDUCT.md), and check for both existing [Discussions](https://github.com/fwdcloudsec/granted/discussions?discussions_q=) and [Issues](https://github.com/fwdcloudsec/granted/issues?q=sort%3Areactions-desc) prior to opening a new Discussion. - type: markdown attributes: value: "# Issue Details" @@ -113,7 +113,7 @@ body: value: | # User Acknowledgements > [!TIP] - > Use these links to review the existing Granted [Discussions](https://github.com/common-fate/granted/discussions?discussions_q=) and [Issues](https://github.com/common-fate/granted/issues?q=sort%3Areactions-desc). + > Use these links to review the existing Granted [Discussions](https://github.com/fwdcloudsec/granted/discussions?discussions_q=) and [Issues](https://github.com/fwdcloudsec/granted/issues?q=sort%3Areactions-desc). - type: checkboxes attributes: label: "I acknowledge that:" diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index ef916d6e..8ad2c196 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,5 +1,5 @@ blank_issues_enabled: false contact_links: - name: Features, Bug Reports, Questions - url: https://github.com/common-fate/granted/discussions/new/choose + url: https://github.com/fwdcloudsec/granted/discussions/new/choose about: Our preferred starting point if you have any questions or suggestions about configuration, features or behavior. \ No newline at end of file diff --git a/.tool-versions b/.tool-versions index 48e0dab0..309ff5cb 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -golang 1.22 +golang 1.25.5 diff --git a/README.md b/README.md index 62202238..10cc63e7 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Granted is a command line interface (CLI) application which simplifies access to Granted supports MacOS, Linux, and Windows. Our Windows support is less extensively tested than other platforms so if you run into any problems please [let us know](https://join.slack.com/t/commonfatecommunity/shared_invite/zt-q4m96ypu-_gYlRWD3k5rIsaSsqP7QMg). -Currently Granted supports accessing roles in AWS. If you'd like to see support for another cloud provider please [open an issue](https://github.com/common-fate/granted/issues/new)! +Currently Granted supports accessing roles in AWS. If you'd like to see support for another cloud provider please [open an issue](https://github.com/fwdcloudsec/granted/issues/new)! ## Documentation diff --git a/cmd/granted/main.go b/cmd/granted/main.go index 19136423..542602a7 100644 --- a/cmd/granted/main.go +++ b/cmd/granted/main.go @@ -10,8 +10,8 @@ import ( "github.com/common-fate/clio" "github.com/common-fate/clio/clierr" - "github.com/common-fate/granted/pkg/assume" - "github.com/common-fate/granted/pkg/granted" + "github.com/fwdcloudsec/granted/pkg/assume" + "github.com/fwdcloudsec/granted/pkg/granted" "github.com/urfave/cli/v2" ) diff --git a/cmd/testing/creds/main.go b/cmd/testing/creds/main.go index a507e7d3..ddaaf8c5 100644 --- a/cmd/testing/creds/main.go +++ b/cmd/testing/creds/main.go @@ -6,7 +6,7 @@ import ( "fmt" "os" - "github.com/common-fate/granted/pkg/cfaws" + "github.com/fwdcloudsec/granted/pkg/cfaws" ) type opts struct { diff --git a/go.mod b/go.mod index 947bbdcd..c8934e53 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ -module github.com/common-fate/granted +module github.com/fwdcloudsec/granted -go 1.23.0 - -toolchain go1.24.2 +go 1.25.5 require ( github.com/99designs/keyring v1.2.2 diff --git a/pkg/alias/alias.go b/pkg/alias/alias.go index 78930b68..978355c6 100644 --- a/pkg/alias/alias.go +++ b/pkg/alias/alias.go @@ -15,8 +15,8 @@ import ( "github.com/AlecAivazis/survey/v2" "github.com/common-fate/clio" - "github.com/common-fate/granted/internal/build" - "github.com/common-fate/granted/pkg/shells" + "github.com/fwdcloudsec/granted/internal/build" + "github.com/fwdcloudsec/granted/pkg/shells" "github.com/fatih/color" ) diff --git a/pkg/assume/assume.go b/pkg/assume/assume.go index 67aa24a0..d14c2d04 100644 --- a/pkg/assume/assume.go +++ b/pkg/assume/assume.go @@ -21,15 +21,15 @@ import ( "github.com/common-fate/clio" "github.com/common-fate/clio/ansi" "github.com/common-fate/clio/clierr" - "github.com/common-fate/granted/pkg/assumeprint" - "github.com/common-fate/granted/pkg/browser" - "github.com/common-fate/granted/pkg/cfaws" - "github.com/common-fate/granted/pkg/config" - "github.com/common-fate/granted/pkg/console" - "github.com/common-fate/granted/pkg/forkprocess" - "github.com/common-fate/granted/pkg/launcher" - "github.com/common-fate/granted/pkg/testable" - cfflags "github.com/common-fate/granted/pkg/urfav_overrides" + "github.com/fwdcloudsec/granted/pkg/assumeprint" + "github.com/fwdcloudsec/granted/pkg/browser" + "github.com/fwdcloudsec/granted/pkg/cfaws" + "github.com/fwdcloudsec/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/console" + "github.com/fwdcloudsec/granted/pkg/forkprocess" + "github.com/fwdcloudsec/granted/pkg/launcher" + "github.com/fwdcloudsec/granted/pkg/testable" + cfflags "github.com/fwdcloudsec/granted/pkg/urfav_overrides" "github.com/fatih/color" "github.com/hako/durafmt" "github.com/urfave/cli/v2" @@ -102,7 +102,7 @@ func AssumeCommand(c *cli.Context) error { if assumeFlags.String("exec") != "" && runtime.GOOS == "windows" { return clierr.New("--exec flag is not currently supported on Windows", - clierr.Info("Let us know if you'd like support for this by creating an issue on our Github repo: https://github.com/common-fate/granted/issues/new"), + clierr.Info("Let us know if you'd like support for this by creating an issue on our Github repo: https://github.com/fwdcloudsec/granted/issues/new"), ) } diff --git a/pkg/assume/completion.go b/pkg/assume/completion.go index 9e42e9b8..ff7c8d22 100644 --- a/pkg/assume/completion.go +++ b/pkg/assume/completion.go @@ -6,8 +6,8 @@ import ( "strings" "github.com/common-fate/clio" - "github.com/common-fate/granted/pkg/cfaws" - "github.com/common-fate/granted/pkg/console" + "github.com/fwdcloudsec/granted/pkg/cfaws" + "github.com/fwdcloudsec/granted/pkg/console" "github.com/urfave/cli/v2" ) diff --git a/pkg/assume/entrypoint.go b/pkg/assume/entrypoint.go index 0d6ebb85..4f22154d 100644 --- a/pkg/assume/entrypoint.go +++ b/pkg/assume/entrypoint.go @@ -7,13 +7,13 @@ import ( "github.com/common-fate/clio" "github.com/common-fate/clio/cliolog" - "github.com/common-fate/granted/internal/build" - "github.com/common-fate/granted/pkg/alias" - "github.com/common-fate/granted/pkg/assumeprint" - "github.com/common-fate/granted/pkg/autosync" - "github.com/common-fate/granted/pkg/browser" - "github.com/common-fate/granted/pkg/chromemsg" - "github.com/common-fate/granted/pkg/config" + "github.com/fwdcloudsec/granted/internal/build" + "github.com/fwdcloudsec/granted/pkg/alias" + "github.com/fwdcloudsec/granted/pkg/assumeprint" + "github.com/fwdcloudsec/granted/pkg/autosync" + "github.com/fwdcloudsec/granted/pkg/browser" + "github.com/fwdcloudsec/granted/pkg/chromemsg" + "github.com/fwdcloudsec/granted/pkg/config" "github.com/urfave/cli/v2" "go.uber.org/zap" ) diff --git a/pkg/assume/sso.go b/pkg/assume/sso.go index d928a64f..07c150d5 100644 --- a/pkg/assume/sso.go +++ b/pkg/assume/sso.go @@ -5,8 +5,8 @@ import ( "os" "github.com/aws/aws-sdk-go-v2/config" - "github.com/common-fate/granted/pkg/cfaws" - cfflags "github.com/common-fate/granted/pkg/urfav_overrides" + "github.com/fwdcloudsec/granted/pkg/cfaws" + cfflags "github.com/fwdcloudsec/granted/pkg/urfav_overrides" "github.com/urfave/cli/v2" ) diff --git a/pkg/autosync/autosync.go b/pkg/autosync/autosync.go index 36095c8e..d53ac7ce 100644 --- a/pkg/autosync/autosync.go +++ b/pkg/autosync/autosync.go @@ -5,7 +5,7 @@ import ( "time" "github.com/common-fate/clio" - "github.com/common-fate/granted/pkg/granted/registry" + "github.com/fwdcloudsec/granted/pkg/granted/registry" ) // interactive when false will fail the profile registry sync diff --git a/pkg/autosync/registry.go b/pkg/autosync/registry.go index 2d14b177..39992e71 100644 --- a/pkg/autosync/registry.go +++ b/pkg/autosync/registry.go @@ -6,7 +6,7 @@ import ( "time" "github.com/common-fate/clio" - "github.com/common-fate/granted/pkg/granted/registry" + "github.com/fwdcloudsec/granted/pkg/granted/registry" ) func runSync(ctx context.Context, rc RegistrySyncConfig, interactive bool) error { diff --git a/pkg/browser/detect.go b/pkg/browser/detect.go index e976c32c..a95d2c36 100644 --- a/pkg/browser/detect.go +++ b/pkg/browser/detect.go @@ -11,8 +11,8 @@ import ( "github.com/AlecAivazis/survey/v2" "github.com/common-fate/clio" - "github.com/common-fate/granted/pkg/config" - "github.com/common-fate/granted/pkg/testable" + "github.com/fwdcloudsec/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/testable" "github.com/pkg/errors" "github.com/urfave/cli/v2" "golang.org/x/text/cases" diff --git a/pkg/cfaws/assumer_aws_gimme_aws_creds.go b/pkg/cfaws/assumer_aws_gimme_aws_creds.go index c9129667..30847476 100644 --- a/pkg/cfaws/assumer_aws_gimme_aws_creds.go +++ b/pkg/cfaws/assumer_aws_gimme_aws_creds.go @@ -14,7 +14,7 @@ import ( "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/config" "github.com/common-fate/clio" - "github.com/common-fate/granted/pkg/securestorage" + "github.com/fwdcloudsec/granted/pkg/securestorage" "github.com/hashicorp/go-version" "gopkg.in/ini.v1" ) diff --git a/pkg/cfaws/assumer_aws_iam.go b/pkg/cfaws/assumer_aws_iam.go index dc3eee96..ffb9eaf7 100644 --- a/pkg/cfaws/assumer_aws_iam.go +++ b/pkg/cfaws/assumer_aws_iam.go @@ -13,7 +13,7 @@ import ( "github.com/aws/aws-sdk-go-v2/service/sts" "github.com/aws/aws-sdk-go-v2/service/sts/types" "github.com/common-fate/clio" - "github.com/common-fate/granted/pkg/securestorage" + "github.com/fwdcloudsec/granted/pkg/securestorage" "gopkg.in/ini.v1" ) diff --git a/pkg/cfaws/assumer_aws_sso.go b/pkg/cfaws/assumer_aws_sso.go index 9eea9a00..35a065aa 100644 --- a/pkg/cfaws/assumer_aws_sso.go +++ b/pkg/cfaws/assumer_aws_sso.go @@ -16,8 +16,8 @@ import ( "github.com/aws/aws-sdk-go-v2/service/sts" "github.com/aws/smithy-go" "github.com/common-fate/clio" - "github.com/common-fate/granted/pkg/idclogin" - "github.com/common-fate/granted/pkg/securestorage" + "github.com/fwdcloudsec/granted/pkg/idclogin" + "github.com/fwdcloudsec/granted/pkg/securestorage" "github.com/hako/durafmt" "github.com/pkg/errors" "gopkg.in/ini.v1" diff --git a/pkg/cfaws/cred_exporter.go b/pkg/cfaws/cred_exporter.go index 77e79a16..487d3611 100644 --- a/pkg/cfaws/cred_exporter.go +++ b/pkg/cfaws/cred_exporter.go @@ -6,8 +6,8 @@ import ( "github.com/aws/aws-sdk-go-v2/aws" "github.com/common-fate/clio" - gconfig "github.com/common-fate/granted/pkg/config" - "github.com/common-fate/granted/pkg/securestorage" + gconfig "github.com/fwdcloudsec/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/securestorage" "gopkg.in/ini.v1" ) diff --git a/pkg/cfaws/creds.go b/pkg/cfaws/creds.go index e0d6b813..adb61f24 100644 --- a/pkg/cfaws/creds.go +++ b/pkg/cfaws/creds.go @@ -12,9 +12,9 @@ import ( "github.com/aws/aws-sdk-go-v2/service/sts" "github.com/aws/aws-sdk-go-v2/service/sts/types" "github.com/common-fate/clio" - "github.com/common-fate/granted/pkg/config" - "github.com/common-fate/granted/pkg/securestorage" - "github.com/common-fate/granted/pkg/testable" + "github.com/fwdcloudsec/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/securestorage" + "github.com/fwdcloudsec/granted/pkg/testable" ) func TypeCredsToAwsCreds(c types.Credentials) aws.Credentials { diff --git a/pkg/cfaws/env.go b/pkg/cfaws/env.go index 1824d308..072bd73b 100644 --- a/pkg/cfaws/env.go +++ b/pkg/cfaws/env.go @@ -8,7 +8,7 @@ import ( "github.com/AlecAivazis/survey/v2" "github.com/aws/aws-sdk-go-v2/aws" "github.com/common-fate/clio" - "github.com/common-fate/granted/pkg/testable" + "github.com/fwdcloudsec/granted/pkg/testable" "github.com/joho/godotenv" ) diff --git a/pkg/cfaws/frecent_profiles.go b/pkg/cfaws/frecent_profiles.go index 0c11f085..63ca3d50 100644 --- a/pkg/cfaws/frecent_profiles.go +++ b/pkg/cfaws/frecent_profiles.go @@ -2,7 +2,7 @@ package cfaws import ( "github.com/common-fate/clio" - "github.com/common-fate/granted/pkg/frecency" + "github.com/fwdcloudsec/granted/pkg/frecency" "github.com/pkg/errors" ) diff --git a/pkg/cfaws/profiles.go b/pkg/cfaws/profiles.go index 4110c335..140db9e9 100644 --- a/pkg/cfaws/profiles.go +++ b/pkg/cfaws/profiles.go @@ -15,7 +15,7 @@ import ( "github.com/aws/aws-sdk-go-v2/config" "github.com/aws/aws-sdk-go-v2/credentials/ssocreds" "github.com/common-fate/clio" - "github.com/common-fate/granted/internal/build" + "github.com/fwdcloudsec/granted/internal/build" "gopkg.in/ini.v1" ) diff --git a/pkg/cfaws/ssotoken.go b/pkg/cfaws/ssotoken.go index 89cf53bf..a68052ef 100644 --- a/pkg/cfaws/ssotoken.go +++ b/pkg/cfaws/ssotoken.go @@ -12,7 +12,7 @@ import ( "time" "github.com/aws/aws-sdk-go-v2/config" - "github.com/common-fate/granted/pkg/securestorage" + "github.com/fwdcloudsec/granted/pkg/securestorage" ) type SSOPlainTextOut struct { diff --git a/pkg/chromemsg/configure_windows.go b/pkg/chromemsg/configure_windows.go index 0e8a83a3..bfea9267 100644 --- a/pkg/chromemsg/configure_windows.go +++ b/pkg/chromemsg/configure_windows.go @@ -6,7 +6,7 @@ package chromemsg import ( "path/filepath" - "github.com/common-fate/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/config" "golang.org/x/sys/windows/registry" ) diff --git a/pkg/chromemsg/write_manifest.go b/pkg/chromemsg/write_manifest.go index d78e005f..68a4513b 100644 --- a/pkg/chromemsg/write_manifest.go +++ b/pkg/chromemsg/write_manifest.go @@ -7,7 +7,7 @@ import ( "path/filepath" "runtime" - "github.com/common-fate/granted/internal/build" + "github.com/fwdcloudsec/granted/internal/build" ) type HostManifest struct { diff --git a/pkg/config/config.go b/pkg/config/config.go index 497032ca..1f89e66c 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -14,7 +14,7 @@ import ( "github.com/BurntSushi/toml" - "github.com/common-fate/granted/internal/build" + "github.com/fwdcloudsec/granted/internal/build" ) type BrowserLaunchTemplate struct { diff --git a/pkg/frecency/frecency.go b/pkg/frecency/frecency.go index 8b3980c3..b1d18a71 100644 --- a/pkg/frecency/frecency.go +++ b/pkg/frecency/frecency.go @@ -8,7 +8,7 @@ import ( "sort" "time" - "github.com/common-fate/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/config" ) // change these to play with the weights diff --git a/pkg/granted/awsmerge/merge_from_registry.go b/pkg/granted/awsmerge/merge_from_registry.go index 99dfda22..f37ea4d9 100644 --- a/pkg/granted/awsmerge/merge_from_registry.go +++ b/pkg/granted/awsmerge/merge_from_registry.go @@ -10,8 +10,8 @@ import ( "strings" "github.com/common-fate/clio" - "github.com/common-fate/granted/pkg/cfaws" - grantedConfig "github.com/common-fate/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/cfaws" + grantedConfig "github.com/fwdcloudsec/granted/pkg/config" "gopkg.in/ini.v1" ) diff --git a/pkg/granted/browser.go b/pkg/granted/browser.go index 8d7791e3..252a35ce 100644 --- a/pkg/granted/browser.go +++ b/pkg/granted/browser.go @@ -2,8 +2,8 @@ package granted import ( "github.com/common-fate/clio" - "github.com/common-fate/granted/pkg/browser" - "github.com/common-fate/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/browser" + "github.com/fwdcloudsec/granted/pkg/config" "github.com/urfave/cli/v2" ) diff --git a/pkg/granted/cache.go b/pkg/granted/cache.go index b098d923..24284010 100644 --- a/pkg/granted/cache.go +++ b/pkg/granted/cache.go @@ -8,7 +8,7 @@ import ( "text/tabwriter" "github.com/common-fate/clio" - "github.com/common-fate/granted/pkg/securestorage" + "github.com/fwdcloudsec/granted/pkg/securestorage" "github.com/urfave/cli/v2" ) diff --git a/pkg/granted/chrome_extension.go b/pkg/granted/chrome_extension.go index 353a8b4a..6a5b2eef 100644 --- a/pkg/granted/chrome_extension.go +++ b/pkg/granted/chrome_extension.go @@ -6,9 +6,9 @@ import ( "net/url" "os" - "github.com/common-fate/granted/internal/build" - "github.com/common-fate/granted/pkg/chromemsg" - "github.com/common-fate/granted/pkg/securestorage" + "github.com/fwdcloudsec/granted/internal/build" + "github.com/fwdcloudsec/granted/pkg/chromemsg" + "github.com/fwdcloudsec/granted/pkg/securestorage" "github.com/urfave/cli/v2" ) diff --git a/pkg/granted/completion.go b/pkg/granted/completion.go index 11de12b3..fb8b876e 100644 --- a/pkg/granted/completion.go +++ b/pkg/granted/completion.go @@ -11,10 +11,10 @@ import ( "path" "github.com/common-fate/clio" - "github.com/common-fate/granted/internal/build" - "github.com/common-fate/granted/pkg/assume" - "github.com/common-fate/granted/pkg/config" - "github.com/common-fate/granted/pkg/shells" + "github.com/fwdcloudsec/granted/internal/build" + "github.com/fwdcloudsec/granted/pkg/assume" + "github.com/fwdcloudsec/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/shells" "github.com/urfave/cli/v2" ) diff --git a/pkg/granted/console.go b/pkg/granted/console.go index b3f0fa50..b6ab3494 100644 --- a/pkg/granted/console.go +++ b/pkg/granted/console.go @@ -8,13 +8,13 @@ import ( "github.com/common-fate/clio" "github.com/common-fate/clio/clierr" - "github.com/common-fate/granted/pkg/assume" - "github.com/common-fate/granted/pkg/browser" - "github.com/common-fate/granted/pkg/cfaws" - "github.com/common-fate/granted/pkg/config" - "github.com/common-fate/granted/pkg/console" - "github.com/common-fate/granted/pkg/forkprocess" - "github.com/common-fate/granted/pkg/launcher" + "github.com/fwdcloudsec/granted/pkg/assume" + "github.com/fwdcloudsec/granted/pkg/browser" + "github.com/fwdcloudsec/granted/pkg/cfaws" + "github.com/fwdcloudsec/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/console" + "github.com/fwdcloudsec/granted/pkg/forkprocess" + "github.com/fwdcloudsec/granted/pkg/launcher" "github.com/urfave/cli/v2" ) diff --git a/pkg/granted/credential_process.go b/pkg/granted/credential_process.go index 1d282dfe..798b08ee 100644 --- a/pkg/granted/credential_process.go +++ b/pkg/granted/credential_process.go @@ -9,9 +9,9 @@ import ( "github.com/pkg/errors" "github.com/common-fate/clio" - "github.com/common-fate/granted/pkg/cfaws" - "github.com/common-fate/granted/pkg/config" - "github.com/common-fate/granted/pkg/securestorage" + "github.com/fwdcloudsec/granted/pkg/cfaws" + "github.com/fwdcloudsec/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/securestorage" "github.com/urfave/cli/v2" ) diff --git a/pkg/granted/credentials.go b/pkg/granted/credentials.go index d7fbc024..1d41380c 100644 --- a/pkg/granted/credentials.go +++ b/pkg/granted/credentials.go @@ -15,10 +15,10 @@ import ( "gopkg.in/ini.v1" "github.com/common-fate/clio" - "github.com/common-fate/granted/internal/build" - "github.com/common-fate/granted/pkg/cfaws" - "github.com/common-fate/granted/pkg/securestorage" - "github.com/common-fate/granted/pkg/testable" + "github.com/fwdcloudsec/granted/internal/build" + "github.com/fwdcloudsec/granted/pkg/cfaws" + "github.com/fwdcloudsec/granted/pkg/securestorage" + "github.com/fwdcloudsec/granted/pkg/testable" "github.com/urfave/cli/v2" ) diff --git a/pkg/granted/doctor/doctor.go b/pkg/granted/doctor/doctor.go index 69c84295..ae20e78d 100644 --- a/pkg/granted/doctor/doctor.go +++ b/pkg/granted/doctor/doctor.go @@ -13,11 +13,11 @@ import ( "github.com/aws/aws-sdk-go-v2/config" "github.com/aws/aws-sdk-go-v2/service/sts" "github.com/common-fate/clio" - "github.com/common-fate/granted/pkg/assume" - "github.com/common-fate/granted/pkg/browser" - "github.com/common-fate/granted/pkg/cfaws" - grantedConfig "github.com/common-fate/granted/pkg/config" - "github.com/common-fate/granted/pkg/securestorage" + "github.com/fwdcloudsec/granted/pkg/assume" + "github.com/fwdcloudsec/granted/pkg/browser" + "github.com/fwdcloudsec/granted/pkg/cfaws" + grantedConfig "github.com/fwdcloudsec/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/securestorage" "github.com/urfave/cli/v2" ) diff --git a/pkg/granted/entrypoint.go b/pkg/granted/entrypoint.go index d41aa50c..7679f9f2 100644 --- a/pkg/granted/entrypoint.go +++ b/pkg/granted/entrypoint.go @@ -8,13 +8,13 @@ import ( "github.com/common-fate/clio" "github.com/common-fate/clio/cliolog" - "github.com/common-fate/granted/internal/build" - "github.com/common-fate/granted/pkg/chromemsg" - "github.com/common-fate/granted/pkg/config" - "github.com/common-fate/granted/pkg/granted/doctor" - "github.com/common-fate/granted/pkg/granted/middleware" - "github.com/common-fate/granted/pkg/granted/registry" - "github.com/common-fate/granted/pkg/granted/settings" + "github.com/fwdcloudsec/granted/internal/build" + "github.com/fwdcloudsec/granted/pkg/chromemsg" + "github.com/fwdcloudsec/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/granted/doctor" + "github.com/fwdcloudsec/granted/pkg/granted/middleware" + "github.com/fwdcloudsec/granted/pkg/granted/registry" + "github.com/fwdcloudsec/granted/pkg/granted/settings" "github.com/urfave/cli/v2" "go.uber.org/zap" ) diff --git a/pkg/granted/middleware/sync.go b/pkg/granted/middleware/sync.go index 904d6d9a..b25c5f53 100644 --- a/pkg/granted/middleware/sync.go +++ b/pkg/granted/middleware/sync.go @@ -1,7 +1,7 @@ package middleware import ( - "github.com/common-fate/granted/pkg/autosync" + "github.com/fwdcloudsec/granted/pkg/autosync" "github.com/urfave/cli/v2" ) diff --git a/pkg/granted/registry/add.go b/pkg/granted/registry/add.go index 41443bdd..e1d8778b 100644 --- a/pkg/granted/registry/add.go +++ b/pkg/granted/registry/add.go @@ -6,10 +6,10 @@ import ( "github.com/AlecAivazis/survey/v2" "github.com/common-fate/clio" - grantedConfig "github.com/common-fate/granted/pkg/config" - "github.com/common-fate/granted/pkg/granted/awsmerge" - "github.com/common-fate/granted/pkg/granted/registry/gitregistry" - "github.com/common-fate/granted/pkg/testable" + grantedConfig "github.com/fwdcloudsec/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/granted/awsmerge" + "github.com/fwdcloudsec/granted/pkg/granted/registry/gitregistry" + "github.com/fwdcloudsec/granted/pkg/testable" "github.com/urfave/cli/v2" ) @@ -46,7 +46,7 @@ var AddCommand = cli.Command{ } if c.Bool("write-on-sync-failure") { - return errors.New("'--write-on-sync-failure' has been deprecated. Please raise an issue if this has affected your workflows: https://github.com/common-fate/granted/issues/new") + return errors.New("'--write-on-sync-failure' has been deprecated. Please raise an issue if this has affected your workflows: https://github.com/fwdcloudsec/granted/issues/new") } name := c.String("name") @@ -61,7 +61,7 @@ var AddCommand = cli.Command{ registryType := c.String("type") if registryType == "http" { - return fmt.Errorf("HTTP registries are not longer supported in this version of Granted: if you are impacted by this please raise an issue: https://github.com/common-fate/granted/issues/new") + return fmt.Errorf("HTTP registries are not longer supported in this version of Granted: if you are impacted by this please raise an issue: https://github.com/fwdcloudsec/granted/issues/new") } if registryType != "git" { diff --git a/pkg/granted/registry/add_test.go b/pkg/granted/registry/add_test.go index e1a25327..67ed033e 100644 --- a/pkg/granted/registry/add_test.go +++ b/pkg/granted/registry/add_test.go @@ -3,7 +3,7 @@ package registry import ( "testing" - "github.com/common-fate/granted/pkg/granted/registry/gitregistry" + "github.com/fwdcloudsec/granted/pkg/granted/registry/gitregistry" "github.com/stretchr/testify/assert" ) diff --git a/pkg/granted/registry/gitregistry/config_yaml.go b/pkg/granted/registry/gitregistry/config_yaml.go index a730c1f2..1af80361 100644 --- a/pkg/granted/registry/gitregistry/config_yaml.go +++ b/pkg/granted/registry/gitregistry/config_yaml.go @@ -8,7 +8,7 @@ import ( "github.com/AlecAivazis/survey/v2" "github.com/common-fate/clio" - grantedConfig "github.com/common-fate/granted/pkg/config" + grantedConfig "github.com/fwdcloudsec/granted/pkg/config" "gopkg.in/yaml.v3" ) diff --git a/pkg/granted/registry/gitregistry/gitregistry.go b/pkg/granted/registry/gitregistry/gitregistry.go index 68c9c50c..fd8e876f 100644 --- a/pkg/granted/registry/gitregistry/gitregistry.go +++ b/pkg/granted/registry/gitregistry/gitregistry.go @@ -5,7 +5,7 @@ import ( "path" "github.com/common-fate/clio" - grantedConfig "github.com/common-fate/granted/pkg/config" + grantedConfig "github.com/fwdcloudsec/granted/pkg/config" "gopkg.in/ini.v1" ) diff --git a/pkg/granted/registry/gitregistry/pull.go b/pkg/granted/registry/gitregistry/pull.go index 361002a5..969bd4a5 100644 --- a/pkg/granted/registry/gitregistry/pull.go +++ b/pkg/granted/registry/gitregistry/pull.go @@ -3,7 +3,7 @@ package gitregistry import ( "os" - "github.com/common-fate/granted/pkg/git" + "github.com/fwdcloudsec/granted/pkg/git" ) // pull ensures the remote git repo is cloned and the latest changes are pulled. diff --git a/pkg/granted/registry/migrate.go b/pkg/granted/registry/migrate.go index 3e0a3a9d..b3c29eae 100644 --- a/pkg/granted/registry/migrate.go +++ b/pkg/granted/registry/migrate.go @@ -5,8 +5,8 @@ import ( "github.com/AlecAivazis/survey/v2" "github.com/common-fate/clio" - grantedConfig "github.com/common-fate/granted/pkg/config" - "github.com/common-fate/granted/pkg/testable" + grantedConfig "github.com/fwdcloudsec/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/testable" "github.com/urfave/cli/v2" ) diff --git a/pkg/granted/registry/registry.go b/pkg/granted/registry/registry.go index f7ac6302..7f431925 100644 --- a/pkg/granted/registry/registry.go +++ b/pkg/granted/registry/registry.go @@ -4,8 +4,8 @@ import ( "context" "sort" - grantedConfig "github.com/common-fate/granted/pkg/config" - "github.com/common-fate/granted/pkg/granted/registry/gitregistry" + grantedConfig "github.com/fwdcloudsec/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/granted/registry/gitregistry" "gopkg.in/ini.v1" ) diff --git a/pkg/granted/registry/remove.go b/pkg/granted/registry/remove.go index bd60913b..26c7e14e 100644 --- a/pkg/granted/registry/remove.go +++ b/pkg/granted/registry/remove.go @@ -3,10 +3,10 @@ package registry import ( "github.com/AlecAivazis/survey/v2" "github.com/common-fate/clio" - grantedConfig "github.com/common-fate/granted/pkg/config" - "github.com/common-fate/granted/pkg/granted/awsmerge" - "github.com/common-fate/granted/pkg/granted/registry/gitregistry" - "github.com/common-fate/granted/pkg/testable" + grantedConfig "github.com/fwdcloudsec/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/granted/awsmerge" + "github.com/fwdcloudsec/granted/pkg/granted/registry/gitregistry" + "github.com/fwdcloudsec/granted/pkg/testable" "github.com/urfave/cli/v2" ) diff --git a/pkg/granted/registry/setup.go b/pkg/granted/registry/setup.go index 41047073..bdb0b008 100644 --- a/pkg/granted/registry/setup.go +++ b/pkg/granted/registry/setup.go @@ -7,7 +7,7 @@ import ( "github.com/AlecAivazis/survey/v2" "github.com/common-fate/clio" "github.com/common-fate/clio/clierr" - "github.com/common-fate/granted/pkg/git" + "github.com/fwdcloudsec/granted/pkg/git" "github.com/urfave/cli/v2" ) diff --git a/pkg/granted/registry/sync.go b/pkg/granted/registry/sync.go index 993b51d3..ea16663b 100644 --- a/pkg/granted/registry/sync.go +++ b/pkg/granted/registry/sync.go @@ -8,8 +8,8 @@ import ( "github.com/AlecAivazis/survey/v2" "github.com/common-fate/clio" - "github.com/common-fate/granted/pkg/granted/awsmerge" - "github.com/common-fate/granted/pkg/testable" + "github.com/fwdcloudsec/granted/pkg/granted/awsmerge" + "github.com/fwdcloudsec/granted/pkg/testable" "github.com/urfave/cli/v2" ) diff --git a/pkg/granted/settings/export.go b/pkg/granted/settings/export.go index f1100611..0134cebd 100644 --- a/pkg/granted/settings/export.go +++ b/pkg/granted/settings/export.go @@ -6,8 +6,8 @@ import ( "github.com/AlecAivazis/survey/v2" "github.com/common-fate/clio" - "github.com/common-fate/granted/pkg/config" - "github.com/common-fate/granted/pkg/testable" + "github.com/fwdcloudsec/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/testable" "github.com/urfave/cli/v2" ) diff --git a/pkg/granted/settings/frecency.go b/pkg/granted/settings/frecency.go index e890efdc..9f650e78 100644 --- a/pkg/granted/settings/frecency.go +++ b/pkg/granted/settings/frecency.go @@ -6,8 +6,8 @@ import ( "github.com/AlecAivazis/survey/v2" "github.com/common-fate/clio" - "github.com/common-fate/granted/pkg/config" - "github.com/common-fate/granted/pkg/testable" + "github.com/fwdcloudsec/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/testable" "github.com/urfave/cli/v2" ) diff --git a/pkg/granted/settings/print.go b/pkg/granted/settings/print.go index eab27997..b99c5169 100644 --- a/pkg/granted/settings/print.go +++ b/pkg/granted/settings/print.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - "github.com/common-fate/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/config" "github.com/fatih/structs" "github.com/olekukonko/tablewriter" "github.com/urfave/cli/v2" diff --git a/pkg/granted/settings/requesturl/clear.go b/pkg/granted/settings/requesturl/clear.go index 548b9aad..84fc9099 100644 --- a/pkg/granted/settings/requesturl/clear.go +++ b/pkg/granted/settings/requesturl/clear.go @@ -3,7 +3,7 @@ package requesturl import ( "fmt" - grantedConfig "github.com/common-fate/granted/pkg/config" + grantedConfig "github.com/fwdcloudsec/granted/pkg/config" "github.com/pkg/errors" "github.com/urfave/cli/v2" ) diff --git a/pkg/granted/settings/requesturl/requesturl.go b/pkg/granted/settings/requesturl/requesturl.go index b2ed7066..cf4ed064 100644 --- a/pkg/granted/settings/requesturl/requesturl.go +++ b/pkg/granted/settings/requesturl/requesturl.go @@ -3,7 +3,7 @@ package requesturl import ( "fmt" - grantedConfig "github.com/common-fate/granted/pkg/config" + grantedConfig "github.com/fwdcloudsec/granted/pkg/config" "github.com/pkg/errors" "github.com/urfave/cli/v2" diff --git a/pkg/granted/settings/requesturl/set.go b/pkg/granted/settings/requesturl/set.go index 0a060853..12941370 100644 --- a/pkg/granted/settings/requesturl/set.go +++ b/pkg/granted/settings/requesturl/set.go @@ -6,7 +6,7 @@ import ( "os" "github.com/AlecAivazis/survey/v2" - grantedConfig "github.com/common-fate/granted/pkg/config" + grantedConfig "github.com/fwdcloudsec/granted/pkg/config" "github.com/pkg/errors" "github.com/urfave/cli/v2" ) diff --git a/pkg/granted/settings/set.go b/pkg/granted/settings/set.go index b0836c9d..1ddeb170 100644 --- a/pkg/granted/settings/set.go +++ b/pkg/granted/settings/set.go @@ -8,7 +8,7 @@ import ( "github.com/AlecAivazis/survey/v2" "github.com/common-fate/clio" "github.com/common-fate/grab" - "github.com/common-fate/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/config" "github.com/urfave/cli/v2" ) diff --git a/pkg/granted/settings/settings.go b/pkg/granted/settings/settings.go index 3801b707..584fb23f 100644 --- a/pkg/granted/settings/settings.go +++ b/pkg/granted/settings/settings.go @@ -3,7 +3,7 @@ package settings import ( "github.com/urfave/cli/v2" - "github.com/common-fate/granted/pkg/granted/settings/requesturl" + "github.com/fwdcloudsec/granted/pkg/granted/settings/requesturl" ) var SettingsCommand = cli.Command{ diff --git a/pkg/granted/sso.go b/pkg/granted/sso.go index 35057308..0af49e28 100644 --- a/pkg/granted/sso.go +++ b/pkg/granted/sso.go @@ -20,11 +20,11 @@ import ( "github.com/common-fate/awsconfigfile" "github.com/common-fate/clio" "github.com/common-fate/clio/clierr" - "github.com/common-fate/granted/pkg/cfaws" - grantedconfig "github.com/common-fate/granted/pkg/config" - "github.com/common-fate/granted/pkg/idclogin" - "github.com/common-fate/granted/pkg/securestorage" - "github.com/common-fate/granted/pkg/testable" + "github.com/fwdcloudsec/granted/pkg/cfaws" + grantedconfig "github.com/fwdcloudsec/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/idclogin" + "github.com/fwdcloudsec/granted/pkg/securestorage" + "github.com/fwdcloudsec/granted/pkg/testable" "github.com/schollz/progressbar/v3" "github.com/urfave/cli/v2" uberratelimit "go.uber.org/ratelimit" diff --git a/pkg/granted/tokens.go b/pkg/granted/tokens.go index 7c4661dd..31f7866c 100644 --- a/pkg/granted/tokens.go +++ b/pkg/granted/tokens.go @@ -11,9 +11,9 @@ import ( "github.com/AlecAivazis/survey/v2" "github.com/common-fate/clio" - "github.com/common-fate/granted/pkg/cfaws" - "github.com/common-fate/granted/pkg/securestorage" - "github.com/common-fate/granted/pkg/testable" + "github.com/fwdcloudsec/granted/pkg/cfaws" + "github.com/fwdcloudsec/granted/pkg/securestorage" + "github.com/fwdcloudsec/granted/pkg/testable" "github.com/urfave/cli/v2" ) diff --git a/pkg/granted/uninstall.go b/pkg/granted/uninstall.go index d33608a7..cc80a90f 100644 --- a/pkg/granted/uninstall.go +++ b/pkg/granted/uninstall.go @@ -5,8 +5,8 @@ import ( "github.com/AlecAivazis/survey/v2" "github.com/common-fate/clio" - "github.com/common-fate/granted/pkg/alias" - "github.com/common-fate/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/alias" + "github.com/fwdcloudsec/granted/pkg/config" "github.com/urfave/cli/v2" ) diff --git a/pkg/idclogin/run.go b/pkg/idclogin/run.go index f3e6cd96..9dfab4e6 100644 --- a/pkg/idclogin/run.go +++ b/pkg/idclogin/run.go @@ -11,10 +11,10 @@ import ( "github.com/aws/aws-sdk-go-v2/service/ssooidc" "github.com/common-fate/clio" "github.com/common-fate/clio/clierr" - grantedConfig "github.com/common-fate/granted/pkg/config" - "github.com/common-fate/granted/pkg/forkprocess" - "github.com/common-fate/granted/pkg/launcher" - "github.com/common-fate/granted/pkg/securestorage" + grantedConfig "github.com/fwdcloudsec/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/forkprocess" + "github.com/fwdcloudsec/granted/pkg/launcher" + "github.com/fwdcloudsec/granted/pkg/securestorage" "github.com/pkg/browser" ) diff --git a/pkg/launcher/arc.go b/pkg/launcher/arc.go index 05e00240..34e41be8 100644 --- a/pkg/launcher/arc.go +++ b/pkg/launcher/arc.go @@ -1,6 +1,6 @@ package launcher -import "github.com/common-fate/granted/pkg/browser" +import "github.com/fwdcloudsec/granted/pkg/browser" type Arc struct { } diff --git a/pkg/launcher/chrome_profile.go b/pkg/launcher/chrome_profile.go index 5d1a074e..0925b024 100644 --- a/pkg/launcher/chrome_profile.go +++ b/pkg/launcher/chrome_profile.go @@ -9,7 +9,7 @@ import ( "strings" "github.com/common-fate/clio" - "github.com/common-fate/granted/pkg/browser" + "github.com/fwdcloudsec/granted/pkg/browser" ) type ChromeProfile struct { diff --git a/pkg/launcher/custom.go b/pkg/launcher/custom.go index 67c2bbf6..04a1b249 100644 --- a/pkg/launcher/custom.go +++ b/pkg/launcher/custom.go @@ -7,7 +7,7 @@ import ( "strings" "text/template" - "github.com/common-fate/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/config" ) type TemplateData struct { diff --git a/pkg/launcher/custom_test.go b/pkg/launcher/custom_test.go index 7129bf81..1cf9efe8 100644 --- a/pkg/launcher/custom_test.go +++ b/pkg/launcher/custom_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/common-fate/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/config" ) func TestCustom_LaunchCommand(t *testing.T) { diff --git a/pkg/launcher/open.go b/pkg/launcher/open.go index ffe4a565..d68e1e32 100644 --- a/pkg/launcher/open.go +++ b/pkg/launcher/open.go @@ -1,6 +1,6 @@ package launcher -import "github.com/common-fate/granted/pkg/browser" +import "github.com/fwdcloudsec/granted/pkg/browser" // Open calls the 'open' command to open a URL. // This is the same command as when you run 'open https://commonfate.io' diff --git a/pkg/launcher/safari.go b/pkg/launcher/safari.go index 89d1b225..459431d4 100644 --- a/pkg/launcher/safari.go +++ b/pkg/launcher/safari.go @@ -1,6 +1,6 @@ package launcher -import "github.com/common-fate/granted/pkg/browser" +import "github.com/fwdcloudsec/granted/pkg/browser" // Open calls the 'open' command to open a URL. // This is the same command as when you run 'open -a Safari https://commonfate.io' diff --git a/pkg/securestorage/securestorage.go b/pkg/securestorage/securestorage.go index fb7f583e..c8b4b458 100644 --- a/pkg/securestorage/securestorage.go +++ b/pkg/securestorage/securestorage.go @@ -8,7 +8,7 @@ import ( "github.com/99designs/keyring" "github.com/common-fate/clio" - "github.com/common-fate/granted/pkg/config" + "github.com/fwdcloudsec/granted/pkg/config" "github.com/pkg/errors" ) diff --git a/scripts/assume b/scripts/assume index f91fe758..67bbbe3c 100755 --- a/scripts/assume +++ b/scripts/assume @@ -119,7 +119,7 @@ _is_assume_expired() { local curent_time expiry current_time="$(date -Iseconds)" expiry="$AWS_SESSION_EXPIRATION" - # shellcheck disable=SC3010,SC3054 # Only used by zsh + # shellcheck disable=SC3010,SC3012,SC3054 # Only used by zsh [[ "${current_time}" > "${expiry}" ]] }