Skip to content

Improved support for visualizing logs #1195

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 23 commits into from
May 5, 2025
Merged

Conversation

duedares-rvj
Copy link
Member

@duedares-rvj duedares-rvj commented Apr 28, 2025

Auth0 CLI allows users to view logs generated on their tenant. However, the CLI experience is subpar compared to the one offered by the dashboard. As a result, users are forced to use the dashboard for a deeper investigation on tenant logs.

Goal: Support the ability to view additional details for a log entry

🔧 Changes

Introduced a --picker flag on the auth0 logs ls command. When in use, it'd show a toggle ↑ ↓ and allow user to choose a log in particular, and display detailed json for the same.

To test, checkout the branch and run make install && auth0 logs ls -p

📝 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)

@duedares-rvj duedares-rvj changed the title v1 Improved support for visualizing logs Apr 29, 2025
duedares-rvj and others added 10 commits April 29, 2025 15:01
* 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
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]>
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>
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]>
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]>
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

* Update change log for v1.12.0
@duedares-rvj duedares-rvj marked this pull request as ready for review April 29, 2025 10:02
@duedares-rvj duedares-rvj requested a review from a team as a code owner April 29, 2025 10:02
@duedares-rvj duedares-rvj merged commit 6521f9c into main May 5, 2025
9 checks passed
@duedares-rvj duedares-rvj deleted the DXCDT-824/auth0_logs branch May 5, 2025 13:30
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