Class
FwupdSecurityAttr
Description [src]
class Fwupd.SecurityAttr : GObject.Object
implements Fwupd.Codec {
/* No available fields */
}
A Host Security ID attribute that represents something that was measured.
Instance methods
fwupd_security_attr_add_guid
Adds a device GUID to the attribute. This indicates the GUID in some way contributed to the result decided.
since: 1.7.0
fwupd_security_attr_add_guids
Adds device GUIDs to the attribute. This indicates the GUIDs in some way contributed to the result decided.
since: 1.7.0
fwupd_security_attr_add_metadata
Adds metadata to the attribute which may be used in the name.
since: 1.5.0
fwupd_security_attr_add_obsolete
Adds an attribute appstream_id to obsolete. The obsoleted attribute will not contribute to the calculated HSI value or be visible in command line tools.
since: 1.5.0
fwupd_security_attr_get_bios_setting_current_value
Gets the current value of the BIOS setting that can be changed.
since: 1.8.4
fwupd_security_attr_get_bios_setting_id
Gets the FwupdBiosSetting
that can be used to improve this
FwupdSecurityAttr
.
since: 1.8.4
fwupd_security_attr_get_bios_setting_target_value
Gets the value that when written to an attribute would activate it or satisfy a security requirement.
since: 1.8.4
fwupd_security_attr_get_description
Gets the attribute description which is a few lines of prose that normal users will understand.
since: 1.8.2
fwupd_security_attr_get_guids
Gets the list of attribute GUIDs. The GUID values will not modify the calculated HSI value.
since: 1.7.0
fwupd_security_attr_get_kernel_current_value
Gets the current value of the BIOS setting that can be changed.
since: 1.9.6
fwupd_security_attr_get_kernel_target_value
Gets the target value of the kernel setting that can be changed.
since: 1.9.6
fwupd_security_attr_get_metadata
Gets private metadata from the attribute which may be used in the name.
since: 1.5.0
fwupd_security_attr_get_obsoletes
Gets the list of attribute obsoletes. The obsoleted attributes will not contribute to the calculated HSI value or be visible in command line tools.
since: 1.5.0
fwupd_security_attr_get_title
Gets the attribute title, which is typically a two word title.
since: 1.8.2
fwupd_security_attr_has_obsolete
Finds out if the attribute obsoletes a specific appstream_id.
since: 1.5.0
fwupd_security_attr_set_bios_setting_current_value
Sets the current value of the BIOS setting that can be changed.
since: 1.8.4
fwupd_security_attr_set_bios_setting_id
Sets the FwupdBiosSetting
that can be used to improve this
FwupdSecurityAttr
.
since: 1.8.4
fwupd_security_attr_set_bios_setting_target_value
Sets the string used for the target value of an attribute.
since: 1.8.4
fwupd_security_attr_set_kernel_current_value
Sets the current value of the BIOS setting that can be changed.
since: 1.9.6
fwupd_security_attr_set_kernel_target_value
Sets the target value of the kernel setting that can be changed.
since: 1.9.6
fwupd_security_attr_set_level
Sets the HSI level. A level
of FWUPD_SECURITY_ATTR_LEVEL_NONE
is not used
for the HSI calculation.
since: 1.5.0
fwupd_security_attr_set_result
Sets the optional HSI result. This is required because some attributes may
be a “success” when something is locked
or may be “failed” if found
.
since: 1.5.0
fwupd_security_attr_set_result_fallback
Sets the optional fallback HSI result. The fallback may represent the old state, or a state that may be considered equivalent.
since: 1.7.1
Methods inherited from FwupdCodec (8)
fwupd_codec_add_string
Converts an object that implements FwupdCodec
to a debug string, appending it to str
.
since: 2.0.0
fwupd_codec_from_json
Converts an object that implements FwupdCodec
from a JSON object.
since: 2.0.0
fwupd_codec_from_json_string
Converts an object that implements FwupdCodec
from a JSON string.
since: 2.0.0
fwupd_codec_from_variant
Converts an object that implements FwupdCodec
from a GVariant
value.
since: 2.0.0
fwupd_codec_to_json
Converts an object that implements FwupdCodec
to a JSON builder object.
since: 2.0.0
fwupd_codec_to_json_string
Converts an object that implements FwupdCodec
to a JSON string.
since: 2.0.0
fwupd_codec_to_string
Converts an object that implements FwupdCodec
to a debug string.
since: 2.0.0
fwupd_codec_to_variant
Converts an object that implements FwupdCodec
to a GVariant
.
since: 2.0.0
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct FwupdSecurityAttrClass {
GObjectClass parent_class;
void (* _fwupd_reserved1) (
void
);
void (* _fwupd_reserved2) (
void
);
void (* _fwupd_reserved3) (
void
);
void (* _fwupd_reserved4) (
void
);
void (* _fwupd_reserved5) (
void
);
void (* _fwupd_reserved6) (
void
);
void (* _fwupd_reserved7) (
void
);
}
No description available.
Class members
parent_class: GObjectClass
No description available.
_fwupd_reserved1: void (* _fwupd_reserved1) ( void )
No description available.
_fwupd_reserved2: void (* _fwupd_reserved2) ( void )
No description available.
_fwupd_reserved3: void (* _fwupd_reserved3) ( void )
No description available.
_fwupd_reserved4: void (* _fwupd_reserved4) ( void )
No description available.
_fwupd_reserved5: void (* _fwupd_reserved5) ( void )
No description available.
_fwupd_reserved6: void (* _fwupd_reserved6) ( void )
No description available.
_fwupd_reserved7: void (* _fwupd_reserved7) ( void )
No description available.