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

Idea: A gort logs command to allow easier access to audit logs #156

Open
clockworksoul opened this issue Nov 16, 2021 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@clockworksoul
Copy link
Member

Currently audit logs are written to the database, but access to them requires querying the table directly. A gort logs command would be very helpful.

  • It should only be available to users with the gort:auditor permission.
  • Possible flags:
    • --from <date> -- Start date/time
    • --to <date> -- End date/time
    • --duration <time>
      • If --from specified: the amount of time forward from the from date/time
      • If --to specified: the amount of time backwards from the to date/time
      • Else, the amount of time backwards from now
    • -f -- Follow

This will require the following changes:

  • Support in the DAL
  • Support in the service
  • Support in the CLI client
  • New commands
@clockworksoul clockworksoul added the enhancement New feature or request label Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant