The Firmware Security panel exposes the host security levels and details. The information is generated by fwupd. The panel also exposes hardware configuration changes to pinpoint the configuration changing time. Currently this panel shows: - HSI and secure boot status - Details of HSI and secure boot - Configuration changelog - Digested security level - Extended protection
164 lines
7.5 KiB
XML
164 lines
7.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<template class="CcfirmwareSecurityPanel" parent="CcPanel">
|
|
<child type="content">
|
|
<object class="AdwPreferencesPage">
|
|
|
|
<child>
|
|
<object class="AdwPreferencesGroup">
|
|
|
|
<child>
|
|
<object class="GtkBox" id="firmware_security_hbox">
|
|
<property name="spacing">24</property>
|
|
<property name="homogeneous">True</property>
|
|
<child>
|
|
<object class="GtkButton" id="hsi_button">
|
|
<property name="receives-default">True</property>
|
|
<property name="sensitive">True</property>
|
|
<signal name="clicked" handler="on_hsi_button_clicked_cb" swapped="no" />
|
|
<style>
|
|
<class name="card" />
|
|
</style>
|
|
<child>
|
|
<object class="GtkBox" id="hsi_box">
|
|
<property name="orientation">vertical</property>
|
|
<property name="halign">fill</property>
|
|
<property name="valign">start</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">12</property>
|
|
<property name="margin-top">24</property>
|
|
<property name="margin-bottom">24</property>
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkImage" id="hsi_icon">
|
|
<property name="halign">center</property>
|
|
<property name="valign">center</property>
|
|
<property name="icon-name">security-low-symbolic</property>
|
|
<property name="pixel-size">32</property>
|
|
<property name="margin-bottom">6</property>
|
|
<style>
|
|
<class name="security-level-icon"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="hsi_label">
|
|
<property name="justify">center</property>
|
|
<property name="wrap">True</property>
|
|
<style>
|
|
<class name="heading" />
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="hsi_description">
|
|
<property name="wrap">True</property>
|
|
<property name="justify">center</property>
|
|
<property name="ellipsize">none</property>
|
|
<property name="lines">2</property>
|
|
<style>
|
|
<class name="caption" />
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="secure_boot_button">
|
|
<property name="receives-default">True</property>
|
|
<signal name="clicked" handler="on_secure_boot_button_clicked_cb" swapped="no" />
|
|
<style>
|
|
<class name="card" />
|
|
</style>
|
|
<child>
|
|
<object class="GtkBox" id="secure_boot_box">
|
|
<property name="orientation">vertical</property>
|
|
<property name="halign">fill</property>
|
|
<property name="valign">start</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">12</property>
|
|
<property name="margin-top">24</property>
|
|
<property name="margin-bottom">24</property>
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkImage" id="secure_boot_icon">
|
|
<property name="pixel-size">32</property>
|
|
<property name="halign">center</property>
|
|
<property name="valign">center</property>
|
|
<property name="icon-name">system-reboot-symbolic</property>
|
|
<property name="margin-bottom">6</property>
|
|
<style>
|
|
<class name="security-level-icon"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="secure_boot_label">
|
|
<property name="justify">center</property>
|
|
<property name="wrap">True</property>
|
|
<style>
|
|
<class name="heading" />
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="secure_boot_description">
|
|
<property name="wrap">True</property>
|
|
<property name="justify">center</property>
|
|
<property name="ellipsize">none</property>
|
|
<property name="lines">2</property>
|
|
<style>
|
|
<class name="caption" />
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="AdwPreferencesGroup">
|
|
<property name="title">Security Events</property>
|
|
<child>
|
|
<object class="AdwViewStack" id="firmware_security_log_stack">
|
|
<child>
|
|
<object class="AdwViewStackPage">
|
|
<property name="name">no_event</property>
|
|
<property name="child">
|
|
<object class="AdwStatusPage">
|
|
<property name="vexpand">True</property>
|
|
<property name="opacity">0.5</property>
|
|
<property name="title" translatable="yes">No Events</property>
|
|
<property name="icon-name">document-open-recent-symbolic</property>
|
|
<style>
|
|
<class name="card" />
|
|
<class name="compact" />
|
|
</style>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="AdwViewStackPage">
|
|
<property name="name">page2</property>
|
|
<property name="child">
|
|
<object class="AdwPreferencesGroup" id="firmware_security_log_pgroup" />
|
|
</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|