You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
429 B

10 months ago
from leapp.models import fields, Model
from leapp.topics import SystemFactsTopic
class SELinuxFacts(Model):
topic = SystemFactsTopic
runtime_mode = fields.Nullable(fields.StringEnum(['enforcing', 'permissive']))
static_mode = fields.StringEnum(['enforcing', 'permissive', 'disabled'])
enabled = fields.Boolean()
policy = fields.StringEnum(['targeted', 'minimum', 'mls'])
mls_enabled = fields.Boolean()