Skip to main content

Module secureboot_log

Module secureboot_log 

Source
Expand description

Secure Boot certificate update log parser.

Parses log lines in the format: YYYY-MM-DD HH:MM:SS [SCRIPTNAME] [LEVEL] Message

Where LEVEL is one of: INFO, WARNING, ERROR, SUCCESS, SYSTEM.

Examples: 2026-04-07 11:25:47 [DETECT] [INFO] ========== DETECTION STARTED ========== 2026-04-07 11:25:48 [DETECT] [WARNING] MicrosoftUpdateManagedOptIn is NOT SET 2026-04-07 11:25:48 [DETECT] [SUCCESS] Secure Boot is ENABLED

Functionsยง

matches_secureboot_log_record
Check if a line matches the SecureBoot certificate update log format.
parse_lines
Parse all lines as SecureBoot certificate update log format.