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
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ representative at an online or offline event.

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
abuse@commonfate.io.
granted-support@fwdcloudsec.org.
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Granted consists of two binaries:

- `assume`: used to assume roles

You can read about how the `assume` binary exports environment variables [here](https://docs.commonfate.io/granted/internals/shell-alias).
You can read about how the `assume` binary exports environment variables [here](https://docs.granted.dev/internals/shell-alias).

In development we use `dassume` and `dgranted` to avoid collisions between the released and development binaries.

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</p>

<p align="center">
<a href="https://docs.commonfate.io/granted/getting-started">🚀 Get Started</a>
<a href="https://docs.granted.dev/getting-started">🚀 Get Started</a>
</p>

<p align="center">
Expand Down Expand Up @@ -38,12 +38,12 @@ Currently Granted supports accessing roles in AWS. If you'd like to see support

## Documentation

Get started by [reading our documentation](https://docs.commonfate.io/granted/getting-started).
Get started by [reading our documentation](https://docs.granted.dev/getting-started).

## Contributing

See [CONTRIBUTING.md](./CONTRIBUTING.md) for information on how to contribute. We welcome all contributors - [join our Slack](https://join.slack.com/t/commonfatecommunity/shared_invite/zt-q4m96ypu-_gYlRWD3k5rIsaSsqP7QMg) to discuss the project!

## Security

See [SECURITY.md](./SECURITY.md) for security information. You can view our full security documentation on the [Granted website](https://docs.commonfate.io/granted/security).
See [SECURITY.md](./SECURITY.md) for security information. You can view our full security documentation on the [Granted website](https://docs.granted.dev/security).
148 changes: 51 additions & 97 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,106 +1,60 @@
# Security

Security details, including our vulnerability disclosure and release verification processes, are listed in the Granted documentation [here](https://docs.commonfate.io/granted/security).
Security details, including our vulnerability disclosure and release verification processes, are listed in the Granted documentation [here](https://docs.granted.dev/security).

If you have any questions or would like to report a vulnerability you can email us at security@commonfate.io. You may encrypt your message with our PGP key printed below.
If you have any questions or would like to report a vulnerability you can email us at granted-support@fwdcloudsec.org. You may encrypt your message with our PGP key printed below.

```
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBGCb9UABEADcK6S4PPSDZRcgR4ToKvljghmL3m8v9A32CvHOTBpWumhfmHoi
9zDq/fB/vzhMcxGKrD4D64Rna3T2L2NGVEYTxwm4iwTNBNxKb1VFRlXKZtqXsYk6
JCplGLinkSROoZhhGFbJjUE5GGbnuhWgAZbJRd937rumHgA9RNXy2lV0APQo9qvR
TkOfqS8LgKNQDY7ljYcGsNgj1uWTqshsYzqm7D/QLy9L+9zR9nD7oO7yoJAmbeyO
RayAXcZZafw/SXHHZDeiuQgJwsuAP+Xgg63TGyAZgB/k73tAvw+CfNKejlan0r2u
I7JvP9RZI+q+UXVKtiWYCadvmMD6TnXpwlDguR1wF9O8I00UjSm9Uv8I4IHVlaO4
cX1NOfA4LaHEgH+43Zefkcl0kq1gkHOq34JjHf1DNAaxT4BDx8GZPIw14dXw3PLu
CF1xAjqTA5KuAH6A91ZeIkaYAWmZJeZo7HyLXhrN9oMeFY0EyAXBcnHLapHcqwlq
32eECjN1k6wgeiygNjOLvGx5n3UG5lTg3EJ3CIAwxnWROGQDnZ3u3ibxJi80saVv
IBpheTr+hIUQMal/3QKX4JRl/+CYbtypazIOc9UNRxEkRENqJTaD24ww//iyITXY
L5yXlhl5Z8nIJui4q3z1nBvmTBkF1H0BVacBPeI2abEXZjMp2L2FT7cZJQARAQAB
tCRDb21tb24gRmF0ZSA8c2VjdXJpdHlAY29tb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dOggNZKlL1Z18OicZLyH
5ePXvh0MCnE9GXMgkyZz93N0PoCt8DFJ+4sP68goSd4PO5fLBh7V0pyBxsyIDlZe
lVFJXkIgVkjdYyRHABEBAAGJAjYEGAEIACAWIQRZrQWk2nP9Rbq7DRQjb7XjhVKO
tAUCacgt7wIbDAAKCRAjb7XjhVKOtCk4D/oCBA4LOCa+PCwZ1BmVhegu+2xmz2yz
cdJ8saspp9p8+yJH2lgLzXDm6uhA5ANBA+TxrEUoZPRde4Rx6/RqvZZCeIjgbQuC
ONwc7Q+opGdEvAiiTHezaEqphwwy8i/PYGwAP1GdR22yra2qiwdbkyKQEV6nxx3p
1cLHPbnJDdAwOm/+zmL9jIHhim7/2Jh7SfujA/FdN9sMktM6P7BOOAG/rUMsbpDU
AB9/MPFpfODA7InLE2GT1of1SsksL66gd4HiiEYlWdy28lDWWtJeMPTBm3cCokxN
O44IZN6Qqmp44/R/fnAM6RhwvGGVhFq8mcWn72KVVSxV/ncbrJfSHFWzHA2WOLcQ
DGhDBOEMiYpX5/0Ewutk/fLhlrJCEMsfgtzt0HOSoUUbx1khHFPWt30Agqdhac4W
eyTYTeyArQwQ+Lukhw5fQRyi6Aqr41YZcGNqbeywFehDyW1nPcftr+CBnovcAA8A
QvVoUADP6BuTORfq/HuUIk9YjFpyqE6/PY/OFreE+4IjLWC3yzj6Dt833sZJpNxU
evawqa9GZIB8E1zNoFWwSk/xL4j4iutbkfKrHddubwvwJUglzm+28xUkJ4vyiXmC
UFE3u0eyeJAybmkm0A2LWA/5p6Ai02YFREfJc34aNp0K84anU2E3uTF5q/uHyW4w
rTAMWpZF8QMyDw==
=hl9c
-----END PGP PUBLIC KEY BLOCK-----
```
4 changes: 2 additions & 2 deletions pkg/alias/alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func GetShellFromShellEnv(shellEnv string) (string, error) {
// Fallback to POSIX
return "posix", nil
} else {
return "", fmt.Errorf("we couldn't detect your shell type (%s). Please follow the steps at https://docs.commonfate.io/granted/internals/shell-alias to assume roles with Granted", shellEnv)
return "", fmt.Errorf("we couldn't detect your shell type (%s). Please follow the steps at https://docs.granted.dev/internals/shell-alias to assume roles with Granted", shellEnv)
}
}

Expand Down Expand Up @@ -196,7 +196,7 @@ func SetupShellWizard(autoConfigure bool) error {

// skip prompt if autoConfigure is set to true
if !autoConfigure {
clio.Info("To assume roles with Granted, we need to add an alias to your shell profile (https://docs.commonfate.io/granted/internals/shell-alias)")
clio.Info("To assume roles with Granted, we need to add an alias to your shell profile (https://docs.granted.dev/internals/shell-alias)")
withStdio := survey.WithStdio(os.Stdin, os.Stderr, os.Stderr)
in := &survey.Confirm{
Message: fmt.Sprintf("Install %s alias at %s", shell, cfg.File),
Expand Down
4 changes: 2 additions & 2 deletions pkg/assume/assume.go
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ func printFlagUsage(region, service string) {
m = append(m, "use -s to open a specific service")
}
if region == "" || service == "" {
clio.Infof("%s ( https://docs.commonfate.io/granted/usage/console )", strings.Join(m, " or "))
clio.Infof("%s ( https://docs.granted.dev/usage/console )", strings.Join(m, " or "))
}
}

Expand Down Expand Up @@ -697,7 +697,7 @@ func QueryProfiles(profiles *cfaws.Profiles) (string, error) {
if len(profileKeys) == 0 {
return "", clierr.New("Granted couldn't find any AWS profiles in your config file or your credentials file",
clierr.Info("You can add profiles to your AWS config by following our guide: "),
clierr.Info("https://docs.commonfate.io/granted/getting-started#set-up-your-aws-profile-file"),
clierr.Info("https://docs.granted.dev/getting-started#set-up-your-aws-profile-file"),
)
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/browser/detect.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ func HandleBrowserWizard(ctx *cli.Context) (string, error) {
browserTitle := title.String((strings.ToLower(GetBrowserKey(browserName))))
clio.Info("Thanks for using Granted!")
clio.Infof("By default, Granted will open the AWS console with this browser: %s", browserTitle)
clio.Warn("Granted works best with Firefox but also supports Chrome, Brave, and Edge (https://docs.commonfate.io/granted/introduction#supported-browsers). You can change this setting later by running 'granted browser set'")
clio.Warn("Granted works best with Firefox but also supports Chrome, Brave, and Edge (https://docs.granted.dev/introduction#supported-browsers). You can change this setting later by running 'granted browser set'")
in := survey.Confirm{
Message: "Use Firefox as default Granted browser?",
Default: true,
Expand Down
4 changes: 2 additions & 2 deletions pkg/granted/completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ var CompletionCommand = cli.Command{
case "bash":
err = installBashCompletions(c)
default:
clio.Info("To install completions for other shells, please see our docs: https://docs.commonfate.io/granted/configuration#autocompletion")
clio.Info("To install completions for other shells, please see our docs: https://docs.granted.dev/configuration#autocompletion")
}
return err
},

Description: "Install completions for fish, zsh, or bash. To install completions for other shells, please see our docs:\nhttps://docs.commonfate.io/granted/configuration#autocompletion\n",
Description: "Install completions for fish, zsh, or bash. To install completions for other shells, please see our docs:\nhttps://docs.granted.dev/configuration#autocompletion\n",
}

func installFishCompletions(c *cli.Context) error {
Expand Down
Loading