Skip to content
API Documentation
BastionGuard™
anonymous_namespace{main.cpp}::Options Struct Reference

Public Attributes

std::filesystem::path policyPath {"/etc/bastionguard/rootguard.conf"}
std::optional< bastionguard::rootguard::Mode > modeOverride
bool allowUnsafePolicy {}
bool checkOnly {}

Detailed Description

Definition at line 39 of file main.cpp.

Member Data Documentation

◆ allowUnsafePolicy

bool anonymous_namespace{main.cpp}::Options::allowUnsafePolicy {}

◆ checkOnly

bool anonymous_namespace{main.cpp}::Options::checkOnly {}

Definition at line 43 of file main.cpp.

Referenced by anonymous_namespace{main.cpp}::parseOptions().

◆ modeOverride

std::optional<bastionguard::rootguard::Mode> anonymous_namespace{main.cpp}::Options::modeOverride

◆ policyPath

std::filesystem::path anonymous_namespace{main.cpp}::Options::policyPath {"/etc/bastionguard/rootguard.conf"}

The documentation for this struct was generated from the following file:
  • BastionGuard/src/rootguard/src/main.cpp