#include <RootGuardPage.hpp>
Public Member Functions | |
| RootGuardPage () | |
| ~RootGuardPage () override | |
Definition at line 21 of file RootGuardPage.hpp.
| RootGuardPage::RootGuardPage | ( | ) |
Definition at line 275 of file RootGuardPage.cpp.
References _, add_installed_application_defaults(), auto_refresh_connection_, client_, client_update_connection_, denied_executables_entry_, denied_executables_list_, events_scroller_, events_view_, home_scope_value_, incidents_list_, incidents_scroller_, incidents_title_, init_value_, last_snapshot_, make_rule_editor(), mode_value_, on_auto_refresh(), on_protection_toggled(), on_snapshot(), page_stack_, page_switcher_, pid_value_, protection_info_button_, protection_info_popover_, protection_label_, protection_switch_, BastionGuard::RootGuard::Client::refresh(), refresh_button_, reload_button_, BastionGuard::RootGuard::Client::reload_policy(), render_events(), restart_button_, BastionGuard::RootGuard::Client::restart_service(), rules_stack_, rules_status_, rules_switcher_, save_application_rules(), save_rules_button_, service_value_, show_trusted_, BastionGuard::RootGuard::Client::signal_updated(), start_button_, BastionGuard::RootGuard::Client::start_service(), status_, stop_button_, BastionGuard::RootGuard::Client::stop_service(), system_scope_value_, title_, trusted_applications_entry_, trusted_applications_list_, trusted_executables_entry_, and trusted_executables_list_.
|
override |
Definition at line 573 of file RootGuardPage.cpp.
References alert_queue_, alive_, auto_refresh_connection_, client_update_connection_, and current_alert_.
|
private |
Definition at line 670 of file RootGuardPage.cpp.
References _, collect_rules(), mark_rules_dirty(), rules_status_, and trusted_applications_list_.
Referenced by RootGuardPage().
|
private |
Definition at line 643 of file RootGuardPage.cpp.
References _, collect_rules(), mark_rules_dirty(), and rules_status_.
Referenced by make_rule_editor().
|
private |
Definition at line 1263 of file RootGuardPage.cpp.
References alive_, current_alert_, and show_next_alert().
Referenced by show_next_alert().
|
private |
Definition at line 752 of file RootGuardPage.cpp.
Referenced by add_installed_application_defaults(), add_rule_from_entry(), and save_application_rules().
|
private |
Definition at line 1279 of file RootGuardPage.cpp.
References dismissed_events_, and BastionGuard::RootGuard::event_fingerprint().
Referenced by show_next_alert().
|
private |
Definition at line 1284 of file RootGuardPage.cpp.
References client_, dismissed_events_, dismissed_paths_, BastionGuard::RootGuard::event_fingerprint(), and BastionGuard::RootGuard::Client::refresh().
Referenced by render_incidents().
|
private |
Definition at line 587 of file RootGuardPage.cpp.
References _, add_rule_from_entry(), and remove_selected_rule().
Referenced by RootGuardPage().
|
private |
Definition at line 744 of file RootGuardPage.cpp.
References _, rules_dirty_, rules_saving_, rules_status_, and save_rules_button_.
Referenced by add_installed_application_defaults(), add_rule_from_entry(), and remove_selected_rule().
|
private |
Definition at line 820 of file RootGuardPage.cpp.
References client_, and BastionGuard::RootGuard::Client::refresh().
Referenced by RootGuardPage().
|
private |
Definition at line 826 of file RootGuardPage.cpp.
References _, client_, protection_switch_, BastionGuard::RootGuard::Client::set_immediate_protection(), status_, and updating_switch_.
Referenced by RootGuardPage().
|
private |
Definition at line 838 of file RootGuardPage.cpp.
References _, BastionGuard::RootGuard::ServiceStatus::active, BastionGuard::RootGuard::Snapshot::application_rules, BastionGuard::RootGuard::ServiceStatus::autoBlockServices, BastionGuard::RootGuard::ServiceStatus::blockUserHome, home_scope_value_, BastionGuard::RootGuard::ServiceStatus::immediateProtection, BastionGuard::RootGuard::ServiceStatus::init_system, init_value_, last_snapshot_, BastionGuard::RootGuard::ServiceStatus::mode, mode_value_, BastionGuard::RootGuard::Snapshot::operation_message, BastionGuard::RootGuard::Snapshot::operation_success, BastionGuard::RootGuard::ServiceStatus::pid, pid_value_, populate_application_rules(), protection_switch_, queue_new_alerts(), reload_button_, render_events(), render_incidents(), restart_button_, rules_dirty_, rules_saving_, rules_signature_, rules_status_, save_rules_button_, BastionGuard::RootGuard::Snapshot::service, service_value_, start_button_, status_, stop_button_, system_scope_value_, and updating_switch_.
Referenced by RootGuardPage().
|
private |
Definition at line 772 of file RootGuardPage.cpp.
References denied_executables_list_, BastionGuard::RootGuard::ApplicationRules::deniedExecutables, rules_dirty_, rules_saving_, rules_signature_, trusted_applications_list_, trusted_executables_list_, BastionGuard::RootGuard::ApplicationRules::trustedApplications, and BastionGuard::RootGuard::ApplicationRules::trustedExecutables.
Referenced by on_snapshot().
|
private |
Definition at line 1027 of file RootGuardPage.cpp.
References alert_queue_, current_alert_, dismissed_events_, dismissed_paths_, BastionGuard::RootGuard::event_fingerprint(), BastionGuard::RootGuard::Snapshot::events, initial_snapshot_, BastionGuard::RootGuard::is_actionable_incident(), last_global_burst_alert_shown_, notified_paths_, seen_events_, and show_next_alert().
Referenced by on_snapshot().
|
private |
Definition at line 1297 of file RootGuardPage.cpp.
References _, client_, BastionGuard::RootGuard::Client::remove_event(), and status_.
Referenced by render_incidents(), and show_next_alert().
|
private |
Definition at line 733 of file RootGuardPage.cpp.
References _, mark_rules_dirty(), and rules_status_.
Referenced by make_rule_editor().
|
private |
Definition at line 1005 of file RootGuardPage.cpp.
References _, BastionGuard::RootGuard::Snapshot::events, events_view_, BastionGuard::RootGuard::format_event(), and show_trusted_.
Referenced by on_snapshot(), and RootGuardPage().
|
private |
Definition at line 905 of file RootGuardPage.cpp.
References _, BastionGuard::RootGuard::classify_event(), dismiss_event(), dismissed_events_, dismissed_paths_, BastionGuard::RootGuard::event_fingerprint(), BastionGuard::RootGuard::Snapshot::events, BastionGuard::RootGuard::Incident, incidents_list_, BastionGuard::RootGuard::is_security_observation(), remove_event(), and restore_event().
Referenced by on_snapshot().
|
private |
Definition at line 1291 of file RootGuardPage.cpp.
References _, client_, BastionGuard::RootGuard::Client::restore_event(), and status_.
Referenced by render_incidents(), and show_next_alert().
|
private |
Definition at line 794 of file RootGuardPage.cpp.
References _, client_, collect_rules(), denied_executables_list_, BastionGuard::RootGuard::ApplicationRules::deniedExecutables, rules_saving_, rules_status_, BastionGuard::RootGuard::Client::save_application_rules(), save_rules_button_, status_, trusted_applications_list_, trusted_executables_list_, BastionGuard::RootGuard::ApplicationRules::trustedApplications, and BastionGuard::RootGuard::ApplicationRules::trustedExecutables.
Referenced by RootGuardPage().
|
private |
Definition at line 1100 of file RootGuardPage.cpp.
References _, alert_queue_, close_current_alert(), current_alert_, dismiss_alert(), BastionGuard::RootGuard::is_system_service_path(), last_global_burst_alert_shown_, remove_event(), restore_event(), and RG_REASON_METADATA_BURST.
Referenced by close_current_alert(), and queue_new_alerts().
|
private |
Definition at line 109 of file RootGuardPage.hpp.
Referenced by queue_new_alerts(), show_next_alert(), and ~RootGuardPage().
|
private |
Definition at line 112 of file RootGuardPage.hpp.
Referenced by close_current_alert(), and ~RootGuardPage().
|
private |
Definition at line 98 of file RootGuardPage.hpp.
Referenced by RootGuardPage(), and ~RootGuardPage().
|
private |
Definition at line 53 of file RootGuardPage.hpp.
Referenced by dismiss_event(), on_auto_refresh(), on_protection_toggled(), remove_event(), restore_event(), RootGuardPage(), and save_application_rules().
|
private |
Definition at line 97 of file RootGuardPage.hpp.
Referenced by RootGuardPage(), and ~RootGuardPage().
|
private |
Definition at line 111 of file RootGuardPage.hpp.
Referenced by close_current_alert(), queue_new_alerts(), show_next_alert(), and ~RootGuardPage().
|
private |
Definition at line 91 of file RootGuardPage.hpp.
Referenced by RootGuardPage().
|
private |
Definition at line 90 of file RootGuardPage.hpp.
Referenced by populate_application_rules(), RootGuardPage(), and save_application_rules().
|
private |
Definition at line 106 of file RootGuardPage.hpp.
Referenced by dismiss_alert(), dismiss_event(), queue_new_alerts(), and render_incidents().
|
private |
Definition at line 107 of file RootGuardPage.hpp.
Referenced by dismiss_event(), queue_new_alerts(), and render_incidents().
|
private |
Definition at line 81 of file RootGuardPage.hpp.
Referenced by RootGuardPage().
|
private |
Definition at line 82 of file RootGuardPage.hpp.
Referenced by render_events(), and RootGuardPage().
|
private |
Definition at line 69 of file RootGuardPage.hpp.
Referenced by on_snapshot(), and RootGuardPage().
|
private |
Definition at line 78 of file RootGuardPage.hpp.
Referenced by render_incidents(), and RootGuardPage().
|
private |
Definition at line 77 of file RootGuardPage.hpp.
Referenced by RootGuardPage().
|
private |
Definition at line 76 of file RootGuardPage.hpp.
Referenced by RootGuardPage().
|
private |
Definition at line 58 of file RootGuardPage.hpp.
Referenced by on_snapshot(), and RootGuardPage().
|
private |
Definition at line 100 of file RootGuardPage.hpp.
Referenced by queue_new_alerts().
|
private |
Definition at line 110 of file RootGuardPage.hpp.
Referenced by queue_new_alerts(), and show_next_alert().
|
private |
Definition at line 104 of file RootGuardPage.hpp.
Referenced by on_snapshot(), and RootGuardPage().
|
private |
Definition at line 57 of file RootGuardPage.hpp.
Referenced by on_snapshot(), and RootGuardPage().
|
private |
Definition at line 108 of file RootGuardPage.hpp.
Referenced by queue_new_alerts().
|
private |
Definition at line 61 of file RootGuardPage.hpp.
Referenced by RootGuardPage().
|
private |
Definition at line 62 of file RootGuardPage.hpp.
Referenced by RootGuardPage().
|
private |
Definition at line 59 of file RootGuardPage.hpp.
Referenced by on_snapshot(), and RootGuardPage().
|
private |
Definition at line 67 of file RootGuardPage.hpp.
Referenced by RootGuardPage().
|
private |
Definition at line 66 of file RootGuardPage.hpp.
Referenced by RootGuardPage().
|
private |
Definition at line 65 of file RootGuardPage.hpp.
Referenced by RootGuardPage().
|
private |
Definition at line 64 of file RootGuardPage.hpp.
Referenced by on_protection_toggled(), on_snapshot(), and RootGuardPage().
|
private |
Definition at line 74 of file RootGuardPage.hpp.
Referenced by RootGuardPage().
|
private |
Definition at line 72 of file RootGuardPage.hpp.
Referenced by on_snapshot(), and RootGuardPage().
|
private |
Definition at line 73 of file RootGuardPage.hpp.
Referenced by on_snapshot(), and RootGuardPage().
|
private |
Definition at line 101 of file RootGuardPage.hpp.
Referenced by mark_rules_dirty(), on_snapshot(), and populate_application_rules().
|
private |
Definition at line 102 of file RootGuardPage.hpp.
Referenced by mark_rules_dirty(), on_snapshot(), populate_application_rules(), and save_application_rules().
|
private |
Definition at line 103 of file RootGuardPage.hpp.
Referenced by on_snapshot(), and populate_application_rules().
|
private |
Definition at line 84 of file RootGuardPage.hpp.
Referenced by RootGuardPage().
|
private |
Definition at line 93 of file RootGuardPage.hpp.
Referenced by add_installed_application_defaults(), add_rule_from_entry(), mark_rules_dirty(), on_snapshot(), remove_selected_rule(), RootGuardPage(), and save_application_rules().
|
private |
Definition at line 85 of file RootGuardPage.hpp.
Referenced by RootGuardPage().
|
private |
Definition at line 92 of file RootGuardPage.hpp.
Referenced by mark_rules_dirty(), on_snapshot(), RootGuardPage(), and save_application_rules().
|
private |
Definition at line 105 of file RootGuardPage.hpp.
Referenced by queue_new_alerts().
|
private |
Definition at line 56 of file RootGuardPage.hpp.
Referenced by on_snapshot(), and RootGuardPage().
|
private |
Definition at line 80 of file RootGuardPage.hpp.
Referenced by render_events(), and RootGuardPage().
|
private |
Definition at line 70 of file RootGuardPage.hpp.
Referenced by on_snapshot(), and RootGuardPage().
|
private |
Definition at line 95 of file RootGuardPage.hpp.
Referenced by on_protection_toggled(), on_snapshot(), remove_event(), restore_event(), RootGuardPage(), and save_application_rules().
|
private |
Definition at line 71 of file RootGuardPage.hpp.
Referenced by on_snapshot(), and RootGuardPage().
|
private |
Definition at line 68 of file RootGuardPage.hpp.
Referenced by on_snapshot(), and RootGuardPage().
|
private |
Definition at line 55 of file RootGuardPage.hpp.
Referenced by RootGuardPage().
|
private |
Definition at line 87 of file RootGuardPage.hpp.
Referenced by RootGuardPage().
|
private |
Definition at line 86 of file RootGuardPage.hpp.
Referenced by add_installed_application_defaults(), populate_application_rules(), RootGuardPage(), and save_application_rules().
|
private |
Definition at line 89 of file RootGuardPage.hpp.
Referenced by RootGuardPage().
|
private |
Definition at line 88 of file RootGuardPage.hpp.
Referenced by populate_application_rules(), RootGuardPage(), and save_application_rules().
|
private |
Definition at line 99 of file RootGuardPage.hpp.
Referenced by on_protection_toggled(), and on_snapshot().