The propery decorator had gone missing which meant
the dump of host facts was missing the kernel security
(LSM) settings. This patch just adds the @property
decorator back
Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
(cherry picked from commit
1bc953cfbfe015d3eccf9ead002b9eb0253a6825)
up_secs, _ = raw_time.split()
return float(up_secs)
+ @property
def kernel_security(self):
# type: () -> Optional[Dict[str, str]]
"""Determine the security features enabled in the kernel - SELinux, AppArmor"""