Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1485805

Summary: [RFE] hammer cli should allow to assign an audit policy to a single server
Product: Red Hat Satellite Reporter: Paolo Di Napoli <pdinapol>
Component: SCAP PluginAssignee: Ondřej Pražák <oprazak>
Status: CLOSED ERRATA QA Contact: Silvie Chlupova <schlupov>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.11CC: ajoseph, bmidwood, dhlavacd, mhulan, oprazak, schlupov, tstrachota
Target Milestone: 6.4.0Keywords: FutureFeature
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: tfm-rubygem-foreman_openscap-0.10.3-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-16 15:28:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Paolo Di Napoli 2017-08-28 06:48:58 UTC
Description of problem:

Using satellite GUI it is possible to assign an audit policy to a single server, on the other hand hammer cli is not allowing the same task

How to assign a policy to a single host via Satellite GUI is documented in the below article

https://access.redhat.com/articles/1438123

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

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:
hammer cli does not allow to assign an audit policy to a single host

Expected results:
hammer cli should allow to assign an audit policy to a single host

Additional info:

Comment 1 Marek Hulan 2017-08-28 08:52:05 UTC
Created redmine issue http://projects.theforeman.org/issues/20752 from this bug

Comment 2 Satellite Program 2017-11-13 11:09:32 UTC
Upstream bug assigned to oprazak

Comment 3 Satellite Program 2017-11-13 11:09:36 UTC
Upstream bug assigned to oprazak

Comment 4 Satellite Program 2017-11-23 13:08:32 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20752 has been resolved.

Comment 6 Ondřej Pražák 2018-08-14 10:45:33 UTC
Connecting redmine issue http://projects.theforeman.org/issues/24610 from this bug

Comment 7 Marek Hulan 2018-09-05 14:18:58 UTC
this is now pending 0.10.3 release

Comment 10 errata-xmlrpc 2018-10-16 15:28:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:2927

Comment 11 Ondřej Pražák 2018-11-29 07:58:11 UTC
*** Bug 1644849 has been marked as a duplicate of this bug. ***