Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add authorizer v2 commands #45

Closed
wants to merge 6 commits into from
Closed
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
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ cover.out
config-dev*.yaml

VERSION.txt
/go.work.sum

# https://github.com/golang/go/issues/53502
# go.work.sum is machine specific and should not be checked in
go.work.sum
8 changes: 4 additions & 4 deletions Depfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
go:
sver:
importPath: "github.com/aserto-dev/sver/cmd/sver"
version: "v1.3.11"
version: "v1.3.13"
wire:
importPath: "github.com/google/wire/cmd/wire"
version: "v0.5.0"
goreleaser:
importPath: github.com/goreleaser/goreleaser
version: "v1.16.2"
version: "v1.18.2"
gotestsum:
importPath: "gotest.tools/gotestsum"
version: "v1.9.0"
version: "v1.10.0"
golangci-lint:
importPath: "github.com/golangci/golangci-lint/cmd/golangci-lint"
version: "v1.52.2"
version: "v1.53.3"
2 changes: 1 addition & 1 deletion cmd/aserto/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func main() {
Tree: false,
FlagsLast: true,
Indenter: kong.SpaceIndenter,
NoExpandSubcommands: false,
NoExpandSubcommands: true,
}),
kong.Resolvers(ConfigResolver()),
kong.NamedMapper("conf", conf.ConfigFileMapper(configDir)), // attach to tag `type:"conf"`
Expand Down
79 changes: 39 additions & 40 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,54 +2,59 @@ module github.com/aserto-dev/aserto

go 1.19

// replace github.com/aserto-dev/go-grpc => ../go-grpc

// replace github.com/aserto-dev/go-grpc-authz => ../go-grpc-authz

// replace github.com/aserto-dev/aserto-go => ../aserto-go
// replace github.com/aserto-dev/go-aserto => ../go-aserto

require (
github.com/alecthomas/kong v0.7.1
github.com/aserto-dev/aserto-go v0.8.13
github.com/alecthomas/kong v0.8.0
github.com/aserto-dev/certs v0.0.3
github.com/aserto-dev/clui v0.8.2
github.com/aserto-dev/clui v0.8.1
github.com/aserto-dev/go-aserto v0.20.3
github.com/aserto-dev/go-authorizer v0.20.2
github.com/aserto-dev/go-decision-logs v0.0.4
github.com/aserto-dev/go-grpc v0.8.56
github.com/aserto-dev/go-grpc-authz v0.8.0
github.com/aserto-dev/logger v0.0.3
github.com/cli/browser v1.1.0
github.com/aserto-dev/go-grpc v0.8.57
github.com/aserto-dev/logger v0.0.4
github.com/auth0/go-auth0 v0.17.2
github.com/cli/browser v1.2.0
github.com/fatih/color v1.15.0
github.com/getkin/kin-openapi v0.115.0
github.com/getkin/kin-openapi v0.118.0
github.com/google/wire v0.5.0
github.com/hashicorp/go-multierror v1.1.1
github.com/joho/godotenv v1.5.1
github.com/magefile/mage v1.14.0
github.com/magefile/mage v1.15.0
github.com/mitchellh/mapstructure v1.5.0
github.com/pkg/errors v0.9.1
github.com/rs/zerolog v1.29.0
github.com/spf13/viper v1.15.0
github.com/stretchr/testify v1.8.2
github.com/zalando/go-keyring v0.2.2
github.com/rs/zerolog v1.29.1
github.com/spf13/viper v1.16.0
github.com/stretchr/testify v1.8.4
github.com/zalando/go-keyring v0.2.3
github.com/zenizh/go-capturer v0.0.0-20211219060012-52ea6c8fed04
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1
google.golang.org/grpc v1.54.0
google.golang.org/protobuf v1.30.0
gopkg.in/auth0.v5 v5.21.1
google.golang.org/genproto/googleapis/rpc v0.0.0-20230717213848-3f92550aa753
google.golang.org/grpc v1.56.2
google.golang.org/protobuf v1.31.0
)

require (
golang.org/x/mod v0.8.0 // indirect
golang.org/x/net v0.12.0 // indirect
golang.org/x/oauth2 v0.8.0 // indirect
golang.org/x/sys v0.10.0 // indirect
golang.org/x/term v0.10.0 // indirect
golang.org/x/text v0.11.0 // indirect
golang.org/x/tools v0.6.0 // indirect
)

require (
github.com/PuerkitoBio/rehttp v1.0.0 // indirect
github.com/PuerkitoBio/rehttp v1.2.0 // indirect
github.com/alessio/shellescape v1.4.1 // indirect
github.com/benbjohnson/clock v1.1.0 // indirect
github.com/danieljoos/wincred v1.1.2 // indirect
github.com/danieljoos/wincred v1.2.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/go-openapi/jsonpointer v0.19.6 // indirect
github.com/go-openapi/swag v0.22.3 // indirect
github.com/go-openapi/swag v0.22.4 // indirect
github.com/godbus/dbus/v5 v5.1.0 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/subcommands v1.2.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.15.2 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/invopop/yaml v0.1.0 // indirect
Expand All @@ -58,29 +63,23 @@ require (
github.com/magiconair/properties v1.8.7 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.17 // indirect
github.com/mattn/go-runewidth v0.0.13 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mattn/go-runewidth v0.0.14 // indirect
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
github.com/perimeterx/marshmallow v1.1.4 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rivo/uniseg v0.2.0 // indirect
github.com/sirupsen/logrus v1.9.0 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/spf13/afero v1.9.5 // indirect
github.com/spf13/cast v1.5.0 // indirect
github.com/spf13/cast v1.5.1 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.4.2 // indirect
golang.org/x/mod v0.10.0 // indirect
golang.org/x/net v0.9.0 // indirect
golang.org/x/oauth2 v0.7.0 // indirect
golang.org/x/sync v0.3.0 // indirect
golang.org/x/sys v0.11.0 // indirect
golang.org/x/term v0.11.0 // indirect
golang.org/x/text v0.12.0 // indirect
golang.org/x/tools v0.8.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230711160842-782d3b101e98 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230711160842-782d3b101e98 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading
Loading