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

Conversation

kushalshit27
Copy link
Contributor

@kushalshit27 kushalshit27 commented Mar 19, 2025

🔧 Changes

Tenant Network ACL EA support:

auth0 network-acl list
auth0 network-acl show 
auth0 network-acl create
auth0 network-acl update 
auth0 network-acl delete 

Added tenant acl ea support

📚 References

🔬 Testing

  • Added unit test
  • Added integration test

📝 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

@kushalshit27 kushalshit27 marked this pull request as ready for review April 22, 2025 10:01
duedares-rvj
duedares-rvj previously approved these changes Apr 28, 2025
@kushalshit27 kushalshit27 requested a review from ramya18101 April 28, 2025 07:51
@ramya18101 ramya18101 merged commit 65f54e6 into main Apr 28, 2025
9 checks passed
@ramya18101 ramya18101 deleted the DXCDT-870-tenant-acl-ea-auth-0-cli-support branch April 28, 2025 11:33
duedares-rvj pushed a commit that referenced this pull request Apr 29, 2025
* Add Network ACL commands

* Update network ACL command --no-input

* Enhance network ACL update command to support match and not match criteria with user prompts

* Enhance interactive update flow for network ACL to allow selective field updates

* Fix default scope assignment in network ACL update to allow empty scope

* Add network ACL resource fetcher to support fetching network ACL data

* Add mock implementation for NetworkACLAPI and corresponding tests

* mockgen file created

* Add match/not match rule selection to network ACL command

* Add integration tests for network ACL commands and a script to fetch ACL IDs

* Make docs

* lint fix

* Enhance help messages for network ACL flags with usage examples

* Enhance doc

* integartion tes:  network ACLs

* update to go-auth0 v1.18.1-0.20250326075009-e865086539dc

* fix: go.sum

* Update go-auth0 v1.19.0

* fix: update go-auth0 to v1.19.0

* fix: update JSON key for IPv4 CIDR in network ACL examples

* fix: comment out network ACL test cases in YAML file

* fix: update IPv4 CIDR key in network ACL commands and modify test cases

* fix: update network ACL test cases for improved clarity and modify priority settings

* fix: update test case numbers in network ACL YAML file for consistency

* fix: remove anonymous proxy handling from network ACL commands and display

* fix: remove anonymous proxy handling from network ACL create and update documentation

* fix: update network ACL test cases for consistency and clarity

* fix: update event stream test cases to reflect enabled status

* fix: update network ACL test cases for geo_country_codes and improve output consistency

* fix: update network ACL commands to use geo_country_codes instead of country_codes

* fix: update description in network ACL creation test case for consistency

* fix: comment out the create network ACL test case for clarity

* fix: update network ACL test cases for consistency and correct ipv4_cidrs usage

* fix: restore and update create network ACL test case for clarity and output validation

* fix: update network ACL test cases and documentation to use consistent ipv4_cidrs notation

* fix: refactor network ACL view to improve data handling and display consistency

* fix: update examples in network ACL create and update documentation for accuracy

* fix: update network ACL test cases for priority adjustments and output validation

* fix: improve comments for clarity in network ACL management code

* fix: enhance comments for consistency in network ACL management code

* fix: standardize description in network ACL test case for consistency

* fix: update network ACL test cases to include ID and improve output consistency

* fix: remove ID check from network ACL test case output validation

* fix: update network ACL test case to include active status in output validation

* fix remove DESCRIPTION

* fix: add interval configuration and update output validation to include DESCRIPTION in network ACL test case

* fix: remove unused AskIntSliceU and RegisterIntSliceU functions from flags.go

* fix: update help messages to indicate required fields and default values in network ACL configuration

* fix: implement parameter selection for network ACL configuration

* fix: enhance parameter selection for network ACL configuration with formatted values

* fix: clean up comments and formatting in network ACL configuration

* lint fix

* Update network ACL help text and improve priority validation error message

* test: add unit tests for network ACL resource fetcher

* refactor: simplify parameter selection for network ACL configuration

* refactor: improve prompt messages for match criteria updates in network ACL
duedares-rvj added a commit that referenced this pull request May 5, 2025
* v1

* final updates

* comments

* Added tenant acl ea support (#1166)

* Add Network ACL commands

* Update network ACL command --no-input

* Enhance network ACL update command to support match and not match criteria with user prompts

* Enhance interactive update flow for network ACL to allow selective field updates

* Fix default scope assignment in network ACL update to allow empty scope

* Add network ACL resource fetcher to support fetching network ACL data

* Add mock implementation for NetworkACLAPI and corresponding tests

* mockgen file created

* Add match/not match rule selection to network ACL command

* Add integration tests for network ACL commands and a script to fetch ACL IDs

* Make docs

* lint fix

* Enhance help messages for network ACL flags with usage examples

* Enhance doc

* integartion tes:  network ACLs

* update to go-auth0 v1.18.1-0.20250326075009-e865086539dc

* fix: go.sum

* Update go-auth0 v1.19.0

* fix: update go-auth0 to v1.19.0

* fix: update JSON key for IPv4 CIDR in network ACL examples

* fix: comment out network ACL test cases in YAML file

* fix: update IPv4 CIDR key in network ACL commands and modify test cases

* fix: update network ACL test cases for improved clarity and modify priority settings

* fix: update test case numbers in network ACL YAML file for consistency

* fix: remove anonymous proxy handling from network ACL commands and display

* fix: remove anonymous proxy handling from network ACL create and update documentation

* fix: update network ACL test cases for consistency and clarity

* fix: update event stream test cases to reflect enabled status

* fix: update network ACL test cases for geo_country_codes and improve output consistency

* fix: update network ACL commands to use geo_country_codes instead of country_codes

* fix: update description in network ACL creation test case for consistency

* fix: comment out the create network ACL test case for clarity

* fix: update network ACL test cases for consistency and correct ipv4_cidrs usage

* fix: restore and update create network ACL test case for clarity and output validation

* fix: update network ACL test cases and documentation to use consistent ipv4_cidrs notation

* fix: refactor network ACL view to improve data handling and display consistency

* fix: update examples in network ACL create and update documentation for accuracy

* fix: update network ACL test cases for priority adjustments and output validation

* fix: improve comments for clarity in network ACL management code

* fix: enhance comments for consistency in network ACL management code

* fix: standardize description in network ACL test case for consistency

* fix: update network ACL test cases to include ID and improve output consistency

* fix: remove ID check from network ACL test case output validation

* fix: update network ACL test case to include active status in output validation

* fix remove DESCRIPTION

* fix: add interval configuration and update output validation to include DESCRIPTION in network ACL test case

* fix: remove unused AskIntSliceU and RegisterIntSliceU functions from flags.go

* fix: update help messages to indicate required fields and default values in network ACL configuration

* fix: implement parameter selection for network ACL configuration

* fix: enhance parameter selection for network ACL configuration with formatted values

* fix: clean up comments and formatting in network ACL configuration

* lint fix

* Update network ACL help text and improve priority validation error message

* test: add unit tests for network ACL resource fetcher

* refactor: simplify parameter selection for network ACL configuration

* refactor: improve prompt messages for match criteria updates in network ACL

* Bump golang.org/x/text from 0.23.0 to 0.24.0 (#1193)

Bumps [golang.org/x/text](https://github.com/golang/text) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.23.0...v0.24.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-version: 0.24.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ramya Anusri <[email protected]>

* Bump golang.org/x/net from 0.38.0 to 0.39.0 (#1190)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.38.0 to 0.39.0.
- [Commits](golang/net@v0.38.0...v0.39.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/getsentry/sentry-go from 0.31.1 to 0.32.0 (#1191)

Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go) from 0.31.1 to 0.32.0.
- [Release notes](https://github.com/getsentry/sentry-go/releases)
- [Changelog](https://github.com/getsentry/sentry-go/blob/master/CHANGELOG.md)
- [Commits](getsentry/sentry-go@v0.31.1...v0.32.0)

---
updated-dependencies:
- dependency-name: github.com/getsentry/sentry-go
  dependency-version: 0.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ramya Anusri <[email protected]>

* Bump nokogiri from 1.18.4 to 1.18.8 in /docs (#1186)

Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.18.4 to 1.18.8.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](sparklemotion/nokogiri@v1.18.4...v1.18.8)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-version: 1.18.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ramya Anusri <[email protected]>

* Bump github.com/charmbracelet/glamour from 0.8.0 to 0.10.0 (#1189)

Bumps [github.com/charmbracelet/glamour](https://github.com/charmbracelet/glamour) from 0.8.0 to 0.10.0.
- [Release notes](https://github.com/charmbracelet/glamour/releases)
- [Changelog](https://github.com/charmbracelet/glamour/blob/master/.goreleaser.yml)
- [Commits](charmbracelet/glamour@v0.8.0...v0.10.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/glamour
  dependency-version: 0.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ramya Anusri <[email protected]>

* Add change log for v1.12.0 (#1194)

* Add change log for v1.12.0

* Update change log for v1.12.0

* rebased main

* updated go sum

* lint

* lint

* Final changes

* lint and go mod

* minor refactor

* updated lint

* lint fix

* FINAL LINT

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Kushal <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ramya Anusri <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants