MokutilSbstate - command mokutil --sb-state

class insights.parsers.mokutil_sbstate.MokutilSbstate(context, extra_bad_lines=None)[source]

Bases: insights.core.CommandParser

Class for parsing the mokutil --sb-state command.

secureboot_enabled

True if SecureBoot is enabled, False if SecureBoot is disabled, otherwise None.

Type

bool

Sample output of this command is:

SecureBoot enabled

Examples

>>> type(mokutil)
<class 'insights.parsers.mokutil_sbstate.MokutilSbstate'>
>>> mokutil.secureboot_enabled
True
parse_content(content)[source]

This method must be implemented by classes based on this class.