summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorKate Hsuan <hpa@redhat.com>2021-12-07 18:57:13 +0800
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2022-06-27 13:53:30 -0300
commit69598b9e088da2721847e1e299d18722c5bdb1df (patch)
tree6f195ad4476c9ec2d9c5c7d6f94cae6539091621 /shell
parent9e4f15353c9601dd7a57f49abacb115f3592c2bb (diff)
downloadgnome-control-center-69598b9e088da2721847e1e299d18722c5bdb1df.tar.gz
Add Firmware Security panel
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
Diffstat (limited to 'shell')
-rw-r--r--shell/cc-panel-list.c1
-rw-r--r--shell/cc-panel-loader.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/shell/cc-panel-list.c b/shell/cc-panel-list.c
index 6cbc16bbd..64bf7ae89 100644
--- a/shell/cc-panel-list.c
+++ b/shell/cc-panel-list.c
@@ -398,6 +398,7 @@ static const gchar * const panel_order[] = {
"usage",
"lock",
"diagnostics",
+ "firmware-security",
/* Devices page */
"sound",
diff --git a/shell/cc-panel-loader.c b/shell/cc-panel-loader.c
index 1d2b83ac0..57b2d5bed 100644
--- a/shell/cc-panel-loader.c
+++ b/shell/cc-panel-loader.c
@@ -69,6 +69,7 @@ extern GType cc_wacom_panel_get_type (void);
extern GType cc_wwan_panel_get_type (void);
#endif /* BUILD_WWAN */
extern GType cc_location_panel_get_type (void);
+extern GType cc_firmware_security_panel_get_type (void);
extern GType cc_camera_panel_get_type (void);
extern GType cc_microphone_panel_get_type (void);
extern GType cc_usage_panel_get_type (void);
@@ -111,6 +112,7 @@ static CcPanelLoaderVtable default_panels[] =
PANEL_TYPE("info-overview", cc_info_overview_panel_get_type, NULL),
PANEL_TYPE("keyboard", cc_keyboard_panel_get_type, NULL),
PANEL_TYPE("location", cc_location_panel_get_type, NULL),
+ PANEL_TYPE("firmware-security",cc_firmware_security_panel_get_type, NULL),
PANEL_TYPE("lock", cc_lock_panel_get_type, NULL),
PANEL_TYPE("microphone", cc_microphone_panel_get_type, NULL),
PANEL_TYPE("mouse", cc_mouse_panel_get_type, NULL),