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 1292510

Summary: [RFE] Satellite should support OpenSCAP tailoring file
Product: Red Hat Satellite Reporter: Rob Marti <rmarti>
Component: SCAP PluginAssignee: Ondřej Pražák <oprazak>
Status: CLOSED ERRATA QA Contact: Sanket Jagtap <sjagtap>
Severity: medium Docs Contact:
Priority: medium    
Version: UnspecifiedCC: bbilgin, bkearney, bruce.howells, byount, csulekha, degts, egolov, ehelms, jcallaha, jhunt, jlieskov, kbidarka, kelly.brown1, mburgerh, mhulan, mpreisle, nitthoma, pdwyer, pghadge, rdixon, rjerrido, robert.necela, sjagtap, slutade, unwosu, xdmoon, Yannick.Charton
Target Milestone: UnspecifiedKeywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 12:33:41 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:
Bug Depends On:    
Bug Blocks: 1454565    
Attachments:
Description Flags
wizard for adding tailoring file none

Comment 6 Bryan Kearney 2016-07-08 20:23:08 UTC
Per 6.3 planning, moving out non acked bugs to the backlog

Comment 8 Martin Preisler 2016-07-11 15:51:07 UTC
This is a very common issue that I get asked about all the time when talking about OpenSCAP. It should be fairly easy to implement. Is there anything I can do to help get this done for Satellite 6.3?

Comment 9 Rob Marti 2016-10-13 02:48:47 UTC
Are we still on track for 6.3 for this?

Comment 10 Bryan Kearney 2016-11-29 11:15:54 UTC
Upstream bug assigned to oprazak

Comment 11 Bryan Kearney 2016-11-29 11:16:01 UTC
Upstream bug assigned to oprazak

Comment 13 Satellite Program 2017-01-06 13:15:20 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/14158 has been resolved.

Comment 15 Sanket Jagtap 2017-10-24 19:24:13 UTC
Build : Satellite 6.3.0 snap 21

Tailoring File support is added in 6.3.
New option to add a tailoring file is added to scap section 
tailoring File is associated with policy and configured in respective clients

PFA

Client output:

foreman_scap_client 1
File /var/lib/openscap/content/96c2a9d5278d5da905221bbb2dc61d0ace7ee3d97f021fccac994d26296d986d.xml is missing. Downloading it from proxy.
Download SCAP content xml from: https://.com:9090/compliance/policies/1/content/96c2a9d5278d5da905221bbb2dc61d0ace7ee3d97f021fccac994d26296d986d
File /var/lib/openscap/tailoring/dec2ea0e92e7abeccabff684631a1bb3f18d040a8f23cb172074776af4b41991.xml is missing. Downloading it from proxy.
Download Tailoring file xml from: https://.com:9090/compliance/policies/1/tailoring/dec2ea0e92e7abeccabff684631a1bb3f18d040a8f23cb172074776af4b41991
DEBUG: running: oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_common_customized_tailoring1 --tailoring-file /var/lib/openscap/tailoring/dec2ea0e92e7abeccabff684631a1bb3f18d040a8f23cb172074776af4b41991.xml --results-arf /tmp/d20171024-2789-b266bk/results.xml /var/lib/openscap/content/96c2a9d5278d5da905221bbb2dc61d0ace7ee3d97f021fccac994d26296d986d.xml
WARNING: This content points out to the remote resources. Use `--fetch-remote-resources' option to download them.
WARNING: Skipping https://www.redhat.com/security/data/oval/com.redhat.rhsa-RHEL7.xml.bz2 file which is referenced from XCCDF content
DEBUG: running: /usr/bin/bzip2 /tmp/d20171024-2789-b266bk/results.xml
Uploading results to https://.com:9090/compliance/arf/1

Comment 16 Sanket Jagtap 2017-10-24 19:25:43 UTC
Created attachment 1342934 [details]
wizard for adding tailoring file

Comment 19 errata-xmlrpc 2018-02-21 12:33:41 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:0336