Skip to content

Added tenant acl ea support #1166

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

Merged
merged 62 commits into from
Apr 28, 2025
Merged
Show file tree
Hide file tree
Changes from 38 commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
7781a13
Add Network ACL commands
kushalshit27 Mar 14, 2025
0d6c889
Update network ACL command --no-input
kushalshit27 Mar 14, 2025
22b225c
Enhance network ACL update command to support match and not match cri…
kushalshit27 Mar 14, 2025
2a518f6
Enhance interactive update flow for network ACL to allow selective fi…
kushalshit27 Mar 16, 2025
558bd4d
Fix default scope assignment in network ACL update to allow empty scope
kushalshit27 Mar 16, 2025
0edd189
Add network ACL resource fetcher to support fetching network ACL data
kushalshit27 Mar 17, 2025
3c95950
Add mock implementation for NetworkACLAPI and corresponding tests
kushalshit27 Mar 17, 2025
ecc8888
mockgen file created
kushalshit27 Mar 17, 2025
0a35090
Add match/not match rule selection to network ACL command
kushalshit27 Mar 17, 2025
608b4aa
Add integration tests for network ACL commands and a script to fetch …
kushalshit27 Mar 19, 2025
712d522
Make docs
kushalshit27 Mar 19, 2025
c3f9208
lint fix
kushalshit27 Mar 19, 2025
ca4eda7
Merge branch 'main' into DXCDT-870-tenant-acl-ea-auth-0-cli-support
kushalshit27 Mar 19, 2025
b722380
Enhance help messages for network ACL flags with usage examples
kushalshit27 Mar 26, 2025
638210c
Enhance doc
kushalshit27 Mar 26, 2025
dba2033
integartion tes: network ACLs
kushalshit27 Mar 26, 2025
04af3db
update to go-auth0 v1.18.1-0.20250326075009-e865086539dc
kushalshit27 Mar 26, 2025
b9d022e
fix: go.sum
kushalshit27 Mar 26, 2025
6ab2a2d
Update go-auth0 v1.19.0
kushalshit27 Apr 8, 2025
7369cc0
fix: update dependencies and improve command options for user import …
kushalshit27 Apr 8, 2025
2188ed5
fix: update go-auth0 to v1.19.0
kushalshit27 Apr 8, 2025
983ac41
fix: update JSON key for IPv4 CIDR in network ACL examples
kushalshit27 Apr 8, 2025
7b3e087
fix: comment out network ACL test cases in YAML file
kushalshit27 Apr 8, 2025
97ec9ee
fix: update IPv4 CIDR key in network ACL commands and modify test cases
kushalshit27 Apr 8, 2025
41c1435
fix: update network ACL test cases for improved clarity and modify pr…
kushalshit27 Apr 8, 2025
db411c1
fix: update test case numbers in network ACL YAML file for consistency
kushalshit27 Apr 8, 2025
6490486
fix: remove anonymous proxy handling from network ACL commands and di…
kushalshit27 Apr 15, 2025
f523f88
fix: remove anonymous proxy handling from network ACL create and upda…
kushalshit27 Apr 15, 2025
20e2ed1
fix: update network ACL test cases for consistency and clarity
kushalshit27 Apr 15, 2025
37a2772
fix: update event stream test cases to reflect enabled status
kushalshit27 Apr 16, 2025
cefe119
fix: update network ACL test cases for geo_country_codes and improve …
kushalshit27 Apr 16, 2025
285a6d3
fix: update network ACL commands to use geo_country_codes instead of …
kushalshit27 Apr 16, 2025
81869e2
fix: update description in network ACL creation test case for consist…
kushalshit27 Apr 16, 2025
2ba989f
fix: comment out the create network ACL test case for clarity
kushalshit27 Apr 16, 2025
f9ba686
fix: update network ACL test cases for consistency and correct ipv4_c…
kushalshit27 Apr 16, 2025
85995aa
Merge branch 'main' into DXCDT-870-tenant-acl-ea-auth-0-cli-support
kushalshit27 Apr 17, 2025
7a9771e
fix: restore and update create network ACL test case for clarity and …
kushalshit27 Apr 17, 2025
93ac503
fix: update network ACL test cases and documentation to use consisten…
kushalshit27 Apr 21, 2025
c63eab4
fix: refactor network ACL view to improve data handling and display c…
kushalshit27 Apr 21, 2025
3c6e702
fix: update examples in network ACL create and update documentation f…
kushalshit27 Apr 21, 2025
03e0908
fix: update network ACL test cases for priority adjustments and outpu…
kushalshit27 Apr 21, 2025
c6f70db
fix: improve comments for clarity in network ACL management code
kushalshit27 Apr 21, 2025
d2db3f8
Merge branch 'main' into DXCDT-870-tenant-acl-ea-auth-0-cli-support
kushalshit27 Apr 21, 2025
9ded511
fix: enhance comments for consistency in network ACL management code
kushalshit27 Apr 21, 2025
149917a
fix: standardize description in network ACL test case for consistency
kushalshit27 Apr 21, 2025
75ee69b
fix: update network ACL test cases to include ID and improve output c…
kushalshit27 Apr 22, 2025
472b789
fix: remove ID check from network ACL test case output validation
kushalshit27 Apr 22, 2025
8464382
fix: update network ACL test case to include active status in output …
kushalshit27 Apr 22, 2025
61fd153
fix remove DESCRIPTION
kushalshit27 Apr 22, 2025
9447a9a
fix: add interval configuration and update output validation to inclu…
kushalshit27 Apr 22, 2025
8ba7762
fix: remove unused AskIntSliceU and RegisterIntSliceU functions from …
kushalshit27 Apr 22, 2025
6d49db7
fix: update help messages to indicate required fields and default val…
kushalshit27 Apr 23, 2025
170d402
fix: implement parameter selection for network ACL configuration
kushalshit27 Apr 24, 2025
61ea43d
fix: enhance parameter selection for network ACL configuration with f…
kushalshit27 Apr 24, 2025
c88c2ad
fix: clean up comments and formatting in network ACL configuration
kushalshit27 Apr 24, 2025
f43e7b7
Merge branch 'main' into DXCDT-870-tenant-acl-ea-auth-0-cli-support
kushalshit27 Apr 28, 2025
e28de58
lint fix
kushalshit27 Apr 28, 2025
b67d4d8
Merge branch 'main' into DXCDT-870-tenant-acl-ea-auth-0-cli-support
kushalshit27 Apr 28, 2025
469b72e
Update network ACL help text and improve priority validation error me…
kushalshit27 Apr 28, 2025
3300116
test: add unit tests for network ACL resource fetcher
kushalshit27 Apr 28, 2025
9cf3ba6
refactor: simplify parameter selection for network ACL configuration
kushalshit27 Apr 28, 2025
d6c7ddf
refactor: improve prompt messages for match criteria updates in netwo…
kushalshit27 Apr 28, 2025
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
19 changes: 19 additions & 0 deletions docs/auth0_network-acl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
layout: default
has_toc: false
has_children: true
---
# auth0 network-acl

Manage network access control list (ACL) settings for your tenant.
Network ACLs allow you to control access to your applications based on IP addresses,
country codes, anonymous proxies, and other criteria.

## Commands

- [auth0 network-acl create](auth0_network-acl_create.md) - Create a new network ACL
- [auth0 network-acl delete](auth0_network-acl_delete.md) - Delete a network ACL
- [auth0 network-acl list](auth0_network-acl_list.md) - List network ACLs
- [auth0 network-acl show](auth0_network-acl_show.md) - Show a network ACL
- [auth0 network-acl update](auth0_network-acl_update.md) - Update a network ACL

70 changes: 70 additions & 0 deletions docs/auth0_network-acl_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
---
layout: default
parent: auth0 network-acl
has_toc: false
---
# auth0 network-acl create

Create a new network ACL.
To create interactively, use "auth0 network-acl create" with no arguments.
To create non-interactively, supply the required parameters (description, active, priority, and rule) through flags.
The --rule parameter is required and must contain a valid JSON object with action, scope, and match properties.

## Usage
```
auth0 network-acl create [flags]
```

## Examples

```
auth0 network-acl create
auth0 network-acl create --description "Block IPs" --priority 1 --active true --rule '{"action":{"block":true},"scope":"tenant","match":{"ipv4_cidrs":["192.168.1.0/24","10.0.0.0/8"]}}'
auth0 network-acl create --description "Geo Block" --priority 2 --active true --rule '{"action":{"block":true},"scope":"authentication","match":{"geo_country_codes":["US","CA"],"anonymous_proxy":true}}'
auth0 network-acl create --description "Redirect Traffic" --priority 3 --active true --rule '{"action":{"redirect":true,"redirect_uri":"https://example.com"},"scope":"management","match":{"ipv4_cidrs":["192.168.1.0/24"]}}'
auth0 network-acl create -d "Block Bots" -p 4 --active true --rule '{"action":{"block":true},"scope":"tenant","match":{"user_agents":["badbot/*","malicious/*"],"ja3_fingerprints":["deadbeef","cafebabe"]}}'
auth0 network-acl create --description "Complex Rule" --priority 5 --active true --rule '{"action":{"block":true},"scope":"tenant","match":{"ipv4_cidrs":["192.168.1.0/24"],"geo_country_codes":["US"]}}'
```


## Flags

```
--action string Action for the rule (block, allow, log, redirect)
--active string Whether the network ACL is active (required, 'true' or 'false')
--asns ints Comma-separated list of ASNs to match (Eg. 64496,64497,64498)
--country-codes strings Comma-separated list of country codes to match (Eg. US,CA,MX)
-d, --description string Description of the network ACL (required)
--ipv4-cidrs strings Comma-separated list of IPv4 CIDR ranges (Eg. 192.168.1.0/24,10.0.0.0/8)
--ipv6-cidrs strings Comma-separated list of IPv6 CIDR ranges (Eg. 2001:db8::/32,2001:db8:1234::/48)
--ja3-fingerprints strings Comma-separated list of JA3 fingerprints to match (Eg. deadbeef,cafebabe)
--ja4-fingerprints strings Comma-separated list of JA4 fingerprints to match (Eg. t13d1516h2_8daaf6152771)
--json Output in json format.
-p, --priority int Priority of the network ACL (required, 1-10)
--redirect-uri string URI to redirect to when action is redirect
--rule string Network ACL rule configuration in JSON format (required for non-interactive mode)
--scope string Scope of the rule (management, authentication, tenant)
--subdivision-codes strings Comma-separated list of subdivision codes to match (Eg. US-NY,US-CA)
--user-agents strings Comma-separated list of user agents to match (Eg. badbot/*,malicious/*)
```


## Inherited Flags

```
--debug Enable debug mode.
--no-color Disable colors.
--no-input Disable interactivity.
--tenant string Specific tenant to use.
```


## Related Commands

- [auth0 network-acl create](auth0_network-acl_create.md) - Create a new network ACL
- [auth0 network-acl delete](auth0_network-acl_delete.md) - Delete a network ACL
- [auth0 network-acl list](auth0_network-acl_list.md) - List network ACLs
- [auth0 network-acl show](auth0_network-acl_show.md) - Show a network ACL
- [auth0 network-acl update](auth0_network-acl_update.md) - Update a network ACL


55 changes: 55 additions & 0 deletions docs/auth0_network-acl_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
layout: default
parent: auth0 network-acl
has_toc: false
---
# auth0 network-acl delete

Delete a network ACL.
To delete interactively, use "auth0 network-acl delete" with no arguments.
To delete non-interactively, supply the network ACL ID and --force flag to skip confirmation.
Use --all flag to delete all network ACLs at once.

## Usage
```
auth0 network-acl delete [flags]
```

## Examples

```
auth0 network-acl delete
auth0 network-acl delete <id>
auth0 network-acl delete <id> --force
auth0 network-acl delete --all
auth0 network-acl delete --all --force
```


## Flags

```
--all Delete all network ACLs
--force Skip confirmation
```


## Inherited Flags

```
--debug Enable debug mode.
--no-color Disable colors.
--no-input Disable interactivity.
--tenant string Specific tenant to use.
```


## Related Commands

- [auth0 network-acl create](auth0_network-acl_create.md) - Create a new network ACL
- [auth0 network-acl delete](auth0_network-acl_delete.md) - Delete a network ACL
- [auth0 network-acl list](auth0_network-acl_list.md) - List network ACLs
- [auth0 network-acl show](auth0_network-acl_show.md) - Show a network ACL
- [auth0 network-acl update](auth0_network-acl_update.md) - Update a network ACL


49 changes: 49 additions & 0 deletions docs/auth0_network-acl_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
layout: default
parent: auth0 network-acl
has_toc: false
---
# auth0 network-acl list

List your network ACLs. To create one, run: auth0 network-acl create

## Usage
```
auth0 network-acl list [flags]
```

## Examples

```
auth0 network-acl list
auth0 network-acl ls
auth0 network-acl ls --json
```


## Flags

```
--json Output in JSON format
```


## Inherited Flags

```
--debug Enable debug mode.
--no-color Disable colors.
--no-input Disable interactivity.
--tenant string Specific tenant to use.
```


## Related Commands

- [auth0 network-acl create](auth0_network-acl_create.md) - Create a new network ACL
- [auth0 network-acl delete](auth0_network-acl_delete.md) - Delete a network ACL
- [auth0 network-acl list](auth0_network-acl_list.md) - List network ACLs
- [auth0 network-acl show](auth0_network-acl_show.md) - Show a network ACL
- [auth0 network-acl update](auth0_network-acl_update.md) - Update a network ACL


48 changes: 48 additions & 0 deletions docs/auth0_network-acl_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
layout: default
parent: auth0 network-acl
has_toc: false
---
# auth0 network-acl show

Show the details of a network ACL.

## Usage
```
auth0 network-acl show [flags]
```

## Examples

```
auth0 network-acl show <id>
auth0 network-acl show <id> --json
```


## Flags

```
--json Output in JSON format
```


## Inherited Flags

```
--debug Enable debug mode.
--no-color Disable colors.
--no-input Disable interactivity.
--tenant string Specific tenant to use.
```


## Related Commands

- [auth0 network-acl create](auth0_network-acl_create.md) - Create a new network ACL
- [auth0 network-acl delete](auth0_network-acl_delete.md) - Delete a network ACL
- [auth0 network-acl list](auth0_network-acl_list.md) - List network ACLs
- [auth0 network-acl show](auth0_network-acl_show.md) - Show a network ACL
- [auth0 network-acl update](auth0_network-acl_update.md) - Update a network ACL


68 changes: 68 additions & 0 deletions docs/auth0_network-acl_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
layout: default
parent: auth0 network-acl
has_toc: false
---
# auth0 network-acl update

Update a network ACL.
To update interactively, use "auth0 network-acl update" with no arguments.
To update non-interactively, supply the required parameters (description, active, priority, and rule) through flags.
When updating the rule, provide a complete JSON object with action, scope, and match/not_match properties.

## Usage
```
auth0 network-acl update [flags]
```

## Examples

```
auth0 network-acl update <id>
auth0 network-acl update <id> --priority 5
auth0 network-acl update <id> --active true
auth0 network-acl update <id> --description "Complex Rule updated" --priority 9 --active true --rule '{"action":{"block":true},"scope":"tenant","match":{"ipv4_cidrs":["192.168.1.0/24"],"geo_country_codes":["US"]}}'
```


## Flags

```
--action string Action for the rule (block, allow, log, redirect)
--active string Whether the network ACL is active ('true' or 'false')
--asns ints Comma-separated list of ASNs to match (Eg. 64496,64497,64498)
--country-codes strings Comma-separated list of country codes to match (Eg. US,CA,MX)
-d, --description string Description of the network ACL
--ipv4-cidrs strings Comma-separated list of IPv4 CIDR ranges (Eg. 192.168.1.0/24,10.0.0.0/8)
--ipv6-cidrs strings Comma-separated list of IPv6 CIDR ranges (Eg. 2001:db8::/32,2001:db8:1234::/48)
--ja3-fingerprints strings Comma-separated list of JA3 fingerprints to match (Eg. deadbeef,cafebabe)
--ja4-fingerprints strings Comma-separated list of JA4 fingerprints to match (Eg. t13d1516h2_8daaf6152771)
--json Output in JSON format
-p, --priority int Priority of the network ACL (1-10) (default 1)
--redirect-uri string URI to redirect to when action is redirect
--rule string Network ACL rule configuration in JSON format
--scope string Scope of the rule (management, authentication, tenant)
--subdivision-codes strings Comma-separated list of subdivision codes to match (Eg. US-NY,US-CA)
--user-agents strings Comma-separated list of user agents to match (Eg. badbot/*,malicious/*)
```


## Inherited Flags

```
--debug Enable debug mode.
--no-color Disable colors.
--no-input Disable interactivity.
--tenant string Specific tenant to use.
```


## Related Commands

- [auth0 network-acl create](auth0_network-acl_create.md) - Create a new network ACL
- [auth0 network-acl delete](auth0_network-acl_delete.md) - Delete a network ACL
- [auth0 network-acl list](auth0_network-acl_list.md) - List network ACLs
- [auth0 network-acl show](auth0_network-acl_show.md) - Show a network ACL
- [auth0 network-acl update](auth0_network-acl_update.md) - Update a network ACL


2 changes: 1 addition & 1 deletion docs/auth0_terraform_generate.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ auth0 terraform generate [flags]
```
--force Skip confirmation.
-o, --output-dir string Output directory for the generated Terraform config files. If not provided, the files will be saved in the current working directory. (default "./")
-r, --resources strings Resource types to generate Terraform config for. If not provided, config files for all available resources will be generated. (default [auth0_action,auth0_attack_protection,auth0_branding,auth0_phone_provider,auth0_client,auth0_client_grant,auth0_connection,auth0_custom_domain,auth0_flow,auth0_flow_vault_connection,auth0_form,auth0_email_provider,auth0_email_template,auth0_guardian,auth0_organization,auth0_pages,auth0_prompt,auth0_prompt_custom_text,auth0_prompt_screen_renderer,auth0_resource_server,auth0_role,auth0_tenant,auth0_trigger_actions])
-r, --resources strings Resource types to generate Terraform config for. If not provided, config files for all available resources will be generated. (default [auth0_action,auth0_attack_protection,auth0_branding,auth0_phone_provider,auth0_client,auth0_client_grant,auth0_connection,auth0_custom_domain,auth0_flow,auth0_flow_vault_connection,auth0_form,auth0_email_provider,auth0_email_template,auth0_guardian,auth0_organization,auth0_network_acl,auth0_pages,auth0_prompt,auth0_prompt_custom_text,auth0_prompt_screen_renderer,auth0_resource_server,auth0_role,auth0_tenant,auth0_trigger_actions])
-v, --tf-version string Terraform version that ought to be used while generating the terraform files for resources. If not provided, 1.5.0 is used by default (default "1.5.0")
```

Expand Down
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ Authenticating as a user is not supported for **private cloud** tenants. Instead
- [auth0 login](auth0_login.md) - Authenticate the Auth0 CLI
- [auth0 logout](auth0_logout.md) - Log out of a tenant's session
- [auth0 logs](auth0_logs.md) - View tenant logs
- [auth0 network-acl](auth0_network-acl.md) - Manage network ACL settings
- [auth0 orgs](auth0_orgs.md) - Manage resources for organizations
- [auth0 phone](auth0_phone.md) - Manage phone providers
- [auth0 protection](auth0_protection.md) - Manage resources for attack protection
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/AlecAivazis/survey/v2 v2.3.7
github.com/PuerkitoBio/rehttp v1.4.0
github.com/atotto/clipboard v0.1.4
github.com/auth0/go-auth0 v1.18.0
github.com/auth0/go-auth0 v1.19.0
github.com/briandowns/spinner v1.23.2
github.com/charmbracelet/glamour v0.8.0
github.com/fsnotify/fsnotify v1.8.0
Expand All @@ -30,8 +30,8 @@ require (
github.com/pkg/browser v0.0.0-20210706143420-7d21f8c997e2
github.com/pkg/errors v0.9.1
github.com/schollz/progressbar/v3 v3.17.1
github.com/spf13/cobra v1.9.1
github.com/spf13/pflag v1.0.6
github.com/spf13/cobra v1.8.1
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.10.0
github.com/tidwall/pretty v1.2.1
github.com/zalando/go-keyring v0.2.6
Expand Down
14 changes: 7 additions & 7 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ github.com/apparentlymart/go-textseg/v15 v15.0.0 h1:uYvfpb3DyLSCGWnctWKGj857c6ew
github.com/apparentlymart/go-textseg/v15 v15.0.0/go.mod h1:K8XmNZdhEBkdlyDdvbmmsvpAG721bKi0joRfFdHIWJ4=
github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4=
github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI=
github.com/auth0/go-auth0 v1.18.0 h1:GOuqS8N8oN3QElljGQv+r1AN0EFPQbnyCSsfGsPreLM=
github.com/auth0/go-auth0 v1.18.0/go.mod h1:6g0NRYWA+rzTLG5AohwCJ0YCEqbzphKcdjt+PWrgcPk=
github.com/auth0/go-auth0 v1.19.0 h1:LZAVZCiZsENm0wX/PvRwN+mLbyCb4PPCfyKww8b7KR4=
github.com/auth0/go-auth0 v1.19.0/go.mod h1:6g0NRYWA+rzTLG5AohwCJ0YCEqbzphKcdjt+PWrgcPk=
github.com/aybabtme/iocontrol v0.0.0-20150809002002-ad15bcfc95a0 h1:0NmehRCgyk5rljDQLKUO+cRJCnduDyn11+zGZIc9Z48=
github.com/aybabtme/iocontrol v0.0.0-20150809002002-ad15bcfc95a0/go.mod h1:6L7zgvqo0idzI7IO8de6ZC051AfXb5ipkIJ7bIA2tGA=
github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k=
Expand All @@ -53,7 +53,7 @@ github.com/chengxilo/virtualterm v1.0.4 h1:Z6IpERbRVlfB8WkOmtbHiDbBANU7cimRIof7m
github.com/chengxilo/virtualterm v1.0.4/go.mod h1:DyxxBZz/x1iqJjFxTFcr6/x+jSpqN0iwWCOK1q10rlY=
github.com/cloudflare/circl v1.3.7 h1:qlCDlTPz2n9fu58M0Nh1J/JzcFpfgkFHHX3O35r5vcU=
github.com/cloudflare/circl v1.3.7/go.mod h1:sRTcRWXGLrKw6yIGJ+l7amYJFfAXbZG0kBSc8r4zxgA=
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/creack/pty v1.1.17 h1:QeVUsEDNrLBW4tMgZHvxy18sKtr6VI492kBhUfhDJNI=
github.com/creack/pty v1.1.17/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4=
Expand Down Expand Up @@ -218,10 +218,10 @@ github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 h1:n661drycOFuPLCN
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4=
github.com/skeema/knownhosts v1.3.0 h1:AM+y0rI04VksttfwjkSTNQorvGqmwATnvnAHpSgc0LY=
github.com/skeema/knownhosts v1.3.0/go.mod h1:sPINvnADmT/qYH1kfv+ePMmOBTH6Tbl7b5LvTDjFK7M=
github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo=
github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0=
github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM=
github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
Expand Down
1 change: 1 addition & 0 deletions internal/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ var RequiredScopes = []string{
"read:prompts", "update:prompts",
"read:attack_protection", "update:attack_protection",
"read:event_streams", "create:event_streams", "update:event_streams", "delete:event_streams",
"read:network_acls", "create:network_acls", "update:network_acls", "delete:network_acls",
}

// GetDeviceCode kicks-off the device authentication flow by requesting
Expand Down
Loading
Loading