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

feature: Audit log CLI #194

Merged
merged 4 commits into from
Jul 12, 2021
Merged

feature: Audit log CLI #194

merged 4 commits into from
Jul 12, 2021

Conversation

charithe
Copy link
Contributor

@charithe charithe commented Jul 9, 2021

Adds a ctl command to Cerbos with the following subcommands:

  • audit : View access and decision logs as formatted JSON or line-delimited raw JSON
  • decisions: TUI for exploring decisions made by the Cerbos instance

cerbos

Both commands support the following filtering options:

  • tail: View last N records
  • between: View records between two timestamps
  • since: View records captured in the last N hours
  • lookup: View a specific record

Fixes #189

@charithe charithe added area/documentation Improvements or additions to documentation kind/feature labels Jul 9, 2021
@charithe charithe merged commit 1a7d2eb into cerbos:main Jul 12, 2021
@charithe charithe deleted the feature/cerbosctl-ui branch July 12, 2021 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Improvements or additions to documentation kind/feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cerbosctl CLI
1 participant