"skip"/"ignore" option for logprof and genprof

Bug #881006 reported by Christian Boltz
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
AppArmor
Fix Released
Wishlist
Unassigned

Bug Description

logprof and genprof should have an option to ignore/skip an entry in the audit.log _without_ adding an allow or deny rule to the profile. The intention is: it should be possible to postpone the decision about some permissions.

[19:41] <cboltz> I got a feature request to add a "skip" option to logprof/genprof
[19:41] <cboltz> in case someone wants to ignore a log entry without adding a allow or deny rule
[19:41] <cboltz> what do you thing about this?
[19:45] <jjohansen> cboltz: I am not opposed, though that was the primary purpose of deny
[19:45] <cboltz> I could argue that logprof had this feature before deny rules were introduced ;-)
[19:45] <jjohansen> basically it was a way recording that logprof has seen the event and told to skip it.
[19:46] <cboltz> I know
[19:46] <jjohansen> the problem with skip from a logprof pov is you run it through a log and then it exits, and then you run it again it has forgotten what to skip
[19:47] <cboltz> I know, this is exactly what this user requested ;-)
[19:47] <jjohansen> of course from a genprof pov, skip without adding deny rules makes perfect sense
[19:47] <jjohansen> as you never process the same logs twice
[19:47] <jjohansen> cboltz: so sure we can add it, but its pretty low priority

Christian Boltz (cboltz)
Changed in apparmor:
importance: Undecided → Wishlist
Revision history for this message
Christian Boltz (cboltz) wrote :

The python utils in bzr trunk have this feature :-)

Changed in apparmor:
status: New → Fix Committed
Steve Beattie (sbeattie)
Changed in apparmor:
milestone: none → 2.9.0
Revision history for this message
Steve Beattie (sbeattie) wrote :

Apparmor 2.9.0 has been released; closing.

Changed in apparmor:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.