Bug 1523291 - [RFE] Provide Audits options from hammer cli
Summary: [RFE] Provide Audits options from hammer cli
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Audit Log
Version: 6.2.12
Hardware: All
OS: Linux
unspecified
low
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Roman Plevka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-07 16:30 UTC by Christian Marineau
Modified: 2021-03-11 16:33 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-28 12:20:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Christian Marineau 2017-12-07 16:30:48 UTC
Description of problem:
At this time we can consult the Audits logs from the Satellite WebUI (/audits) and from the api (/api/audits), but there is no such option from hammer cli.

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

Actual results:
No audits options from hammer 
  # hammer --help

Expected results:
  1. Have an option similar to the following:
     # hammer audit ...

  2. Also, have different audit options like showing audits for specific dates, actions, auditable types, etc.

  3. Have an option to export the audits into a standardize logs and output so it can be archive, exports and consults easily.

Comment 1 Marek Hulan 2019-01-28 12:20:03 UTC
This is available since hammer-cli-foreman 0.13.0


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