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

feat: audit logs #62

Open
golanglemonade opened this issue Nov 11, 2024 · 0 comments
Open

feat: audit logs #62

golanglemonade opened this issue Nov 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@golanglemonade
Copy link
Member

Add a search + table view of audit logs to: https://console.theopenlane.io/organization-settings/logs

The backend includes a history table for all object types

  1. Allow users to filter by the object type, date range
  2. Paginate through results
  3. Add search bar to filter
  4. Only display the audit logs in the navigation to users with the audit_log_viewer role, restrict the page from displaying data to users with that role

You can get all roles in an organization for a user by using:

v1/account/roles/organization 
{
  "success": true,
  "roles": [
    "can_view",
    "can_edit",
    "can_delete",
    "audit_log_viewer",
    "can_invite_admins",
    "can_invite_members"
  ],
  "organization_id": "01JCCBBVGZG0829A0JDTR0Q00G"
}
@golanglemonade golanglemonade added the enhancement New feature or request label Nov 15, 2024
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