Ubuntu Pastebin

Paste from jdstrand at Thu, 12 Nov 2015 21:45:31 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
=== modified file 'bin/snappy-security-scanlog'
--- bin/snappy-security-scanlog	2015-10-27 17:41:24 +0000
+++ bin/snappy-security-scanlog	2015-11-12 21:44:54 +0000
@@ -74,10 +74,10 @@
 
     def scan_log(self, log_file, snap_name, follow):
         def _scan_line(line, snap_name):
-            apparmor_re = re.compile("audit: type=1400 audit")
-            seccomp_re = re.compile("audit: type=1326 audit")
+            apparmor_re = re.compile("type=1400 ")
+            seccomp_re = re.compile("type=1326 ")
             log_re = re.compile(
-                r"^.* audit: type=[0-9]+ audit\([0-9]+\.[0-9]+:[0-9]+\): ")
+                r"^.*type=[0-9]+ audit\([0-9]+\.[0-9]+:[0-9]+\): ")
 
             show = False
             rec = None
Download as text