41 const Glib::ustring& description,
50 std::vector<std::string>
collect_rules(
const Gtk::ListBox& list)
const;
112 std::shared_ptr<std::atomic_bool>
alive_{std::make_shared<std::atomic_bool>(
true)};
Gtk::CheckButton show_trusted_
std::optional< BastionGuard::RootGuard::Snapshot > last_snapshot_
Gtk::Entry trusted_executables_entry_
Gtk::Button refresh_button_
std::set< std::string > notified_paths_
Gtk::Label incidents_title_
void on_snapshot(const BastionGuard::RootGuard::Snapshot &snapshot)
std::set< std::string > dismissed_paths_
Gtk::ListBox denied_executables_list_
void on_protection_toggled()
void queue_new_alerts(const BastionGuard::RootGuard::Snapshot &snapshot)
void save_application_rules()
Gtk::Label home_scope_value_
Gtk::Entry denied_executables_entry_
std::string rules_signature_
Gtk::Button save_rules_button_
void close_current_alert()
sigc::connection client_update_connection_
Gtk::StackSwitcher rules_switcher_
std::set< std::string > seen_events_
void render_incidents(const BastionGuard::RootGuard::Snapshot &snapshot)
void remove_event(const BastionGuard::RootGuard::Event &event)
Gtk::Button start_button_
void dismiss_alert(const BastionGuard::RootGuard::Event &event)
Gtk::MenuButton protection_info_button_
std::shared_ptr< std::atomic_bool > alive_
std::vector< std::string > collect_rules(const Gtk::ListBox &list) const
Gtk::Entry trusted_applications_entry_
Gtk::Label service_value_
std::chrono::steady_clock::time_point last_global_burst_alert_shown_
void restore_event(const BastionGuard::RootGuard::Event &event)
void render_events(const BastionGuard::RootGuard::Snapshot &snapshot)
Gtk::ListBox trusted_applications_list_
Gtk::ListBox trusted_executables_list_
Gtk::Button restart_button_
sigc::connection auto_refresh_connection_
Gtk::ListBox incidents_list_
Gtk::StackSwitcher page_switcher_
Gtk::Button reload_button_
void populate_application_rules(const BastionGuard::RootGuard::ApplicationRules &rules)
Gtk::Box * make_rule_editor(const Glib::ustring &title, const Glib::ustring &description, Gtk::ListBox &list, Gtk::Entry &entry)
std::queue< BastionGuard::RootGuard::Event > alert_queue_
Gtk::Label system_scope_value_
Gtk::Switch protection_switch_
Gtk::ScrolledWindow events_scroller_
Gtk::Popover protection_info_popover_
BastionGuard::RootGuard::Client client_
void add_rule_from_entry(Gtk::Entry &entry, Gtk::ListBox &list)
Gtk::TextView events_view_
void add_installed_application_defaults()
std::unique_ptr< Gtk::Window > current_alert_
Gtk::Label protection_label_
std::set< std::string > dismissed_events_
void dismiss_event(const BastionGuard::RootGuard::Event &event)
void remove_selected_rule(Gtk::ListBox &list)
Gtk::ScrolledWindow incidents_scroller_