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

[User Story] - As a user of a SaaS service, I want to have access to audit logs of my account activities so that I can monitor and review actions taken on my account for security and compliance purposes #61

Open
ichirokentaro opened this issue Jun 7, 2024 · 0 comments

Comments

@ichirokentaro
Copy link
Contributor

User Story

As a user of a SaaS service, I want to have access to audit logs of my account activities so that I can monitor and review actions taken on my account for security and compliance purposes.

Acceptance Criteria:

  1. Access to Audit Logs:

    • Given I am logged in,
    • When I navigate to the account settings or security page,
    • Then I should see an option to view audit logs,
    • And I should be able to click on an "Audit Logs" link or button.
  2. Audit Logs Page Display:

    • Given I have clicked on the "Audit Logs" link,
    • When the audit logs page loads,
    • Then I should see a list of log entries,
    • And each log entry should include the date, time, action performed, user who performed the action, and IP address.
  3. Filtering Audit Logs:

    • Given I am on the audit logs page,
    • When I use the filtering options,
    • Then I should be able to filter logs by date range, action type, user, and IP address,
    • And the log entries should update to reflect the applied filters.
  4. Searching Audit Logs:

    • Given I am on the audit logs page,
    • When I use the search bar,
    • Then I should be able to search log entries by keywords,
    • And the log entries should update to reflect the search criteria.
  5. Exporting Audit Logs:

    • Given I am on the audit logs page,
    • When I click the "Export" button,
    • Then I should be able to download the audit logs as a CSV or PDF file,
    • And the file should include all the displayed log entries based on applied filters and search criteria.
  6. Pagination of Audit Logs:

    • Given I am on the audit logs page,
    • When there are more log entries than can be displayed on a single page,
    • Then I should see pagination controls at the bottom of the page,
    • And I should be able to navigate through pages of log entries.
  7. Detailed Log Entry View:

    • Given I am on the audit logs page,
    • When I click on a specific log entry,
    • Then I should see a detailed view of the log entry,
    • And the detailed view should include additional information such as the user agent, affected resources, and any additional metadata.
  8. Real-Time Updates:

    • Given I am on the audit logs page,
    • When new actions are performed on my account,
    • Then the audit logs should update in real-time to reflect the new activities,
    • And I should see a notification indicating that new log entries are available.
  9. Security and Permissions:

    • Given I am a user with appropriate permissions,
    • When I access the audit logs page,
    • Then I should be able to view all relevant audit logs for my account,
    • And if I do not have appropriate permissions, I should see an error message indicating that I do not have access to view audit logs.
  10. Integrity and Tamper-Proof Logs:

    • Given I am viewing the audit logs,
    • When I review the log entries,
    • Then I should be confident that the logs are tamper-proof and have not been altered,
    • And any attempts to modify or delete log entries should be logged and alerted to the user.
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

No branches or pull requests

1 participant