Skip to content
API Documentation
BastionGuard™
bsc::config::Config Struct Reference

#include <Config.hpp>

Classes

struct  ServerTLSOptions
struct  ServerAuth
struct  ServerConfig
struct  RulesOptions
struct  FwOptions
struct  StatsOptions
struct  InternalOptions
struct  TasksOptions

Public Attributes

std::string source_path
std::int32_t log_level {1}
std::string firewall {"nftables"}
std::string default_action {"allow"}
std::string default_duration {"once"}
std::string proc_monitor_method {"proc"}
std::string ebpf_obj_path {}
FwOptions fw_options
ServerConfig server
RulesOptions rules
InternalOptions internal
StatsOptions stats
TasksOptions tasks
bool intercept_unknown {false}
bool log_utc {true}
bool log_micro {false}

Detailed Description

Definition at line 7 of file Config.hpp.

Member Data Documentation

◆ default_action

std::string bsc::config::Config::default_action {"allow"}

◆ default_duration

std::string bsc::config::Config::default_duration {"once"}

◆ ebpf_obj_path

std::string bsc::config::Config::ebpf_obj_path {}

◆ firewall

std::string bsc::config::Config::firewall {"nftables"}

◆ fw_options

◆ intercept_unknown

bool bsc::config::Config::intercept_unknown {false}

◆ internal

InternalOptions bsc::config::Config::internal

◆ log_level

std::int32_t bsc::config::Config::log_level {1}

◆ log_micro

bool bsc::config::Config::log_micro {false}

◆ log_utc

bool bsc::config::Config::log_utc {true}

◆ proc_monitor_method

std::string bsc::config::Config::proc_monitor_method {"proc"}

◆ rules

◆ server

◆ source_path

std::string bsc::config::Config::source_path

Definition at line 49 of file Config.hpp.

Referenced by bsc::config::load_file().

◆ stats

StatsOptions bsc::config::Config::stats

◆ tasks


The documentation for this struct was generated from the following file:
  • BastionGuard/thirdparty/bastionguard-secure-connection/daemon/include/bsc/config/Config.hpp