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 1236247

Summary: [RFE] Email Reporting for OpenSCAP Policy
Product: Red Hat Satellite Reporter: Rich Jerrido <rjerrido>
Component: SCAP PluginAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED ERRATA QA Contact: Roman Plevka <rplevka>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bbuckingham, kbidarka, rdickens, rplevka, sghai, sthirugn, szadok
Target Milestone: UnspecifiedKeywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/11085
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 09:16:16 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: 1285231    

Description Rich Jerrido 2015-06-27 00:16:16 UTC
Description of problem:

As a user of OpenSCAP in Red Hat Satellite 6.1, I would like the ability to receive email reports (such as those for puppet and errata) for my OpenSCAP Policies. These reports should contain (at a minimum):

* Name of the Policy
* Listing of hosts whose policy 'status' has changed (i.e, the number of passed/failed/error rules has changed)

Comment 1 RHEL Program Management 2015-06-27 00:32:26 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Bryan Kearney 2015-07-10 11:40:28 UTC
Created redmine issue http://projects.theforeman.org/issues/11085 from this bug

Comment 4 Bryan Kearney 2015-08-25 18:35:50 UTC
Upstream bug component is SCAP Plugin

Comment 5 Bryan Kearney 2015-08-27 15:37:34 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/11085 has been closed

Comment 6 Russell Dickenson 2015-12-17 01:22:23 UTC
I have sent the following to Shlomi via email, but so that all information is together, I have pasted it here.

-------
In looking at the Email preferences > Notifications section, I note
that there is the option "Build a query for audit summary". Does this
field operate like the search fields available elsewhere in the
Satellite/Foreman web UI?

Is there a reference somewhere as to the available query parameters?
I'm particularly curious about the following parameters: action,
changes, time, user and username.

I'll try putting this feature (as I understand it) into a real-life
scenario, so that you can either confirm my understanding is correct,
or correct my understanding. :D  Imagine I have 10 hosts under
Satellite management and I have a SCAP policy being run daily on all
those hosts. I want to be notified via email if the results of more
than 5 rules have changed since the policy was previously run.
-------

Comment 14 Roman Plevka 2016-07-22 13:29:37 UTC
VERIFIED

for satellite-6.2.0-20.1.el6sat.noarch
The email reports work fine now.

Comment 16 errata-xmlrpc 2016-07-27 09:16:16 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/RHBA-2016:1501