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 clientcount(i)
: number of all alerts since last_seen_id occurredred(i)
: number of red alerts since last_seen_id occurredDeletes an alert from the database.
local_id(s)
: an alert idsuccess(b)
: True if the method was successfulReturns an alert with summary, audit events, fix suggestions
local_id(s)
: an alert idlocal_id(s)
: an alert idsummary(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 alertaudit_event(as)
: an array of audit events (AVC, SYSCALL) connected to the alertplugin_analysis(a(ssssbb)
: an array of plugin analysis structureif_text(s)
:then_text(s)
do_text(s)
analysis_id(s)
: plugin id. It can be used in org.fedoraproject.SetroubleshootFixit.run_fix()
fixable(b)
: True when an alert is fixable by a pluginreport_bug(b)
: True when an alert should be reported to bugzillapriority(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 Epochlast_seen_date(t)
: when the alert was seen for the last time, number of microseconds since the Epochlevel(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
local_id(s)
: an alert id in a setroubleshoot databasesummary(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 alertReturns an array of local_id's, summary's, and report_count's of all alerts which a user set to be ignored by a user
local_id(s)
: an alert id in a setroubleshoot databasesummary(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 alertReturns array of alerts as in get_all_alerts() but only since since timedate
since(t)
: number of microseconds since the Epochsee 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 idfilter_type(s)
: "always", "never", "after_first", see
https://fedorahosted.org/setroubleshoot/wiki/SETroubleShoot%20User%20FAQ#email-alertssuccess(b)
: True if the method was successfulEmitted when a new alert is stored.
level
: either red or "yellow". red means a serious problem.local_id(s)
: an alert id