Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/DISCUSSION_TEMPLATE/issue-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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:"
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
golang 1.22
golang 1.25.5
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions cmd/granted/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/testing/creds/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"
"os"

"github.com/common-fate/granted/pkg/cfaws"
"github.com/fwdcloudsec/granted/pkg/cfaws"
)

type opts struct {
Expand Down
6 changes: 2 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions pkg/alias/alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
20 changes: 10 additions & 10 deletions pkg/assume/assume.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"),
)
}

Expand Down
4 changes: 2 additions & 2 deletions pkg/assume/completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
14 changes: 7 additions & 7 deletions pkg/assume/entrypoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
4 changes: 2 additions & 2 deletions pkg/assume/sso.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/autosync/autosync.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/autosync/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions pkg/browser/detect.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cfaws/assumer_aws_gimme_aws_creds.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/cfaws/assumer_aws_iam.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/cfaws/assumer_aws_sso.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions pkg/cfaws/cred_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
6 changes: 3 additions & 3 deletions pkg/cfaws/creds.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion pkg/cfaws/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/cfaws/frecent_profiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/cfaws/profiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/cfaws/ssotoken.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion pkg/chromemsg/configure_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/chromemsg/write_manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"path/filepath"
"runtime"

"github.com/common-fate/granted/internal/build"
"github.com/fwdcloudsec/granted/internal/build"
)

type HostManifest struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion pkg/frecency/frecency.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pkg/granted/awsmerge/merge_from_registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/granted/browser.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/granted/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
6 changes: 3 additions & 3 deletions pkg/granted/chrome_extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
8 changes: 4 additions & 4 deletions pkg/granted/completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
14 changes: 7 additions & 7 deletions pkg/granted/console.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
Loading
Loading