Project

General

Profile

Actions

Bug #20470

closed

Filter modification on roles is not audited

Added by Tomer Brisker over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Audit Log
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1425977

Description of problem:
If we create, delete or rename a role, it is creating an audit entry, but when we add or remove a filter, it does not appear in audits.

Version-Release number of selected component (if applicable):
6.2.7

How reproducible:
100%

Steps to Reproduce:
1. Create a new role: Administer > Roles
2. Click on "New role"
3. For this example, I am creating a role called: bug_test_role
4. Click Submit
5. Under Monitor > Audits
We can see a new entry
Ex: Admin (192.168.1.1) created Role: bug_test_role
6. Go back to Administer > Roles
7. Click on bug_test_role to edit the role
8. Add 1 or more filter to that role
9, Under Monitor > Audits
No new entry is created for the Filter added to the role

Actual results:
No audit entry is created.

Expected results:
Have a "update" entry for the role indicating what filter were added or removed

Additional info:
More details on the audit logs from the api
Check the audits logs from the API
  1. curl -X GET -s -k -u admin:changeme https://satellite.domain.com/api/v2/audits | jq .results[] | jq 'select(.auditable_name=="bug_test_role")'
Actions #1

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Tomer Brisker
  • Pull request https://github.com/theforeman/foreman/pull/4708 added
Actions #2

Updated by Anonymous about 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Marek Hulán about 7 years ago

  • Translation missing: en.field_release set to 296
Actions

Also available in: Atom PDF