Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 1511606

Summary: aureport AVC report header is incomplete
Product: Red Hat Enterprise Linux 7 Reporter: Ondrej Moriš <omoris>
Component: auditAssignee: Steve Grubb <sgrubb>
Status: CLOSED ERRATA QA Contact: Ondrej Moriš <omoris>
Severity: low Docs Contact:
Priority: low    
Version: 7.5CC: mthacker
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: audit-2.8.4-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 11:28:31 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 Ondrej Moriš 2017-11-09 16:58:10 UTC
Description of problem:

Header of AVC report from aureport is missing "result" column.

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

audit-2.8.1-1.el7

How reproducible:

100%

Steps to Reproduce:

1. See below

Actual results:

# cat test.log
type=PROCTITLE msg=audit(1510234428.836:1358): proctitle="-bash" 
type=SYSCALL msg=audit(1510234428.836:1358): arch=c000003e syscall=59 success=no exit=-13 a0=1d001e0 a1=1cff160 a2=1d13f00 a3=7ffffa7df320 items=0 ppid=21266 pid=21285 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=pts1 ses=8 comm="bash" exe="/usr/bin/bash" subj=user_u:user_r:user_t:s0 key=(null) 
type=AVC msg=audit(1510234428.836:1358): avc:  denied  { execute } for  pid=21285 comm="bash" name="ls" dev="vda1" ino=667 scontext=user_u:user_r:user_t:s0 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file     

# aureport -a -if test.log
AVC Report
========================================================
# date time comm subj syscall class permission obj event
========================================================
1. 11/09/2017 08:33:48 bash user_u:user_r:user_t:s0 59 file execute unconfined_u:object_r:user_tmp_t:s0 denied 1358

Expected results:

AVC Report
===============================================================
# date time comm subj syscall class permission obj result event
===============================================================

Additional info:

N/A

Comment 2 Steve Grubb 2017-11-13 18:02:50 UTC
Fixed in upstream commit 679711a.

Comment 3 Steve Grubb 2018-06-20 14:01:19 UTC
audit-2.8.4-1.el7 was built to address this issue.

Comment 7 errata-xmlrpc 2018-10-30 11:28:31 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-2018:3237