Skip to content

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

Description

@clockworksoul

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions