Skip to content
API Documentation
BastionGuard™
ArchiveInspectionResult Struct Reference

#include <ArchiveResult.hpp>

Public Attributes

bool success = false
bool sandbox_timeout = false
bool sandbox_failed = false
bool is_zip = false
bool stored_size_mismatch = false
bool header_mismatch = false
bool invalid_offset = false
bool overlapping_entries = false
bool nested_archive = false
int risk_score = 0
ArchiveRisk risk = ArchiveRisk::CLEAN
std::string reason_code
std::string detail
std::string raw_json

Detailed Description

Definition at line 42 of file ArchiveResult.hpp.

Member Data Documentation

◆ detail

std::string ArchiveInspectionResult::detail

Definition at line 59 of file ArchiveResult.hpp.

Referenced by log_archive_result(), and InotifyEngine::maybe_inspect_archive().

◆ header_mismatch

bool ArchiveInspectionResult::header_mismatch = false

Definition at line 50 of file ArchiveResult.hpp.

◆ invalid_offset

bool ArchiveInspectionResult::invalid_offset = false

Definition at line 51 of file ArchiveResult.hpp.

◆ is_zip

bool ArchiveInspectionResult::is_zip = false

Definition at line 47 of file ArchiveResult.hpp.

Referenced by log_archive_result(), and InotifyEngine::maybe_inspect_archive().

◆ nested_archive

bool ArchiveInspectionResult::nested_archive = false

Definition at line 53 of file ArchiveResult.hpp.

◆ overlapping_entries

bool ArchiveInspectionResult::overlapping_entries = false

Definition at line 52 of file ArchiveResult.hpp.

◆ raw_json

std::string ArchiveInspectionResult::raw_json

Definition at line 60 of file ArchiveResult.hpp.

◆ reason_code

std::string ArchiveInspectionResult::reason_code

◆ risk

ArchiveRisk ArchiveInspectionResult::risk = ArchiveRisk::CLEAN

Definition at line 56 of file ArchiveResult.hpp.

Referenced by log_archive_result(), and InotifyEngine::maybe_inspect_archive().

◆ risk_score

int ArchiveInspectionResult::risk_score = 0

Definition at line 55 of file ArchiveResult.hpp.

Referenced by log_archive_result(), and InotifyEngine::maybe_inspect_archive().

◆ sandbox_failed

bool ArchiveInspectionResult::sandbox_failed = false

Definition at line 45 of file ArchiveResult.hpp.

◆ sandbox_timeout

bool ArchiveInspectionResult::sandbox_timeout = false

Definition at line 44 of file ArchiveResult.hpp.

◆ stored_size_mismatch

bool ArchiveInspectionResult::stored_size_mismatch = false

Definition at line 49 of file ArchiveResult.hpp.

◆ success

bool ArchiveInspectionResult::success = false

Definition at line 43 of file ArchiveResult.hpp.

Referenced by log_archive_result(), and InotifyEngine::maybe_inspect_archive().


The documentation for this struct was generated from the following file: