Bug 1296228 - Host destroy audit entry does not show user
Summary: Host destroy audit entry does not show user
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Audit Log
Version: 6.1.5
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-06 16:19 UTC by Andrew Schofield
Modified: 2017-08-01 20:34 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-01 20:34:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Andrew Schofield 2016-01-06 16:19:28 UTC
Description of problem:
When destroying a host, the audit entry for this action does not indicate the user who destroyed the host.

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

How reproducible:
Repeatable. 

Steps to Reproduce:
1. Create host
2. Destroy host

Actual results:
Audit entry generated indicating host destroyed, but no indication of the user who destroyed the host.

Expected results:
Audit entry should should the user who destroyed the host.

Additional info:
Update, Create actions on hosts DO show the user correctly.

 destroyed Host: <hostname>
 API Admin (<capsule>) updated Host: <hostname>

Comment 1 Bryan Kearney 2016-07-26 19:07:15 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 2 Andrew Schofield 2017-01-12 23:02:29 UTC
This is not an issues on 6.2.5:

From the UI:

Admin destroyed Host: <hostname>

From the API:


{
  "user_id": 3,
  "user_type": null,
  "user_name": "admin",
  "version": 2,
  "comment": null,
  "associated_id": null,
  "associated_type": null,
  "remote_address": null,
  "associated_name": null,
  "created_at": "2017-01-12 22:52:23 UTC",
  "id": 21751,
  "auditable_id": 851,
  "auditable_name": <hostname>,
  "auditable_type": "Host",
  "action": "destroy",
  "audited_changes": {
<--snip-->

Comment 3 Bryan Kearney 2017-08-01 20:34:34 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.


Note You need to log in before you can comment on or make changes to this bug.