This repository has been archived by the owner on Dec 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
DBUS
Petr Lautrbach edited this page Jun 3, 2016
·
1 revision
Returns number of all and red alerts which occurred after last_seen_id.
-
last_seen_id(s)
: a local_id which was last seen by a client
-
count(i)
: number of all alerts since last_seen_id occurred -
red(i)
: number of red alerts since last_seen_id occurred
Deletes an alert from the database.
-
local_id(s)
: an alert id
-
success(b)
: True if the method was succesful
Returns an alert with summary, audit events, fix suggestions
-
local_id(s)
: an alert id
-
local_id(s)
: an alert id -
summary(s)
: a brief description of an alert. E.g."SELinux is preventing /usr/bin/bash from ioctl access on the unix_stream_socket unix_stream_socket."
-
report_count(i)
: count of reports of this alert -
audit_event(as)
: an array of audit events (AVC, SYSCALL) connected to the alert -
plugin_analysis(a(ssssbb)
: an array of plugin analysis structure -
if_text(s)
: then_text(s)
do_text(s)
-
analysis_id(s)
: plugin id. It can be used inorg.fedoraproject.SetroubleshootFixit.run_fix()
-
fixable(b)
: True when an alert is fixable by a plugin -
report_bug(b)
: True when an alert should be reported to bugzilla -
priority(i)
: An analysis priority. Typically the value is between 1 - 100. Higher value means that the analysis should have higher priority then other with lower values. -
first_seen_date(t)
: when the alert was seen for the first time, number of microseconds since the Epoch -
last_seen_date(t)
: when the alert was seen for the last time, number of microseconds since the Epoch -
level(s)
: "green", "yellow" or "red"
Returns an array of local_id's, summary's, and report_count's of all current alerts in a setroubleshoot database
- array of
-
local_id(s)
: an alert id in a setroubleshoot database -
summary(s)
: a brief description of an alert. E.g."SELinux is preventing /usr/bin/bash from ioctl access on the unix_stream_socket unix_stream_socket."
-
report_count(i)
: count of reports of this alert
Returns an array of local_id's, summary's, and report_count's of all alerts which a user set to be ignored
- array of
-
local_id(s)
: an alert id in a setroubleshoot database -
summary(s)
: a brief description of an alert. E.g."SELinux is preventing /usr/bin/bash from ioctl access on the unix_stream_socket unix_stream_socket."
-
report_count(i)
: count of reports of this alert
Returns array of alerts as in get_all_alerts() but only since since timestamp in microseconds
-
since(t)
: number of microseconds since the Epoch
see get_all_alerts()
Sets a filter on an alert. The alert can be "always" filtered, "never" filtered or "after_first" filtered.
-
local_id(s)
: an alert id -
filter_type(s)
: "always", "never", "after_first", see https://fedorahosted.org/setroubleshoot/wiki/SETroubleShoot%20User%20FAQ#email-alerts
-
success(b)
: True if the method was succesful
Emitted when a new alert is stored.
-
level
: either red or "yellow". red means a serious problem. -
local_id(s)
: an alert id