File Scanner 1.0.0
A high-performance C++ malicious file scanner.
|
Defines the contract for a component that logs malicious detections. More...
#include <interfaces.h>
Public Member Functions | |
virtual | ~ILogger ()=default |
virtual void | LogDetection (const std::filesystem::path &path, const std::string &hash, const std::string &verdict)=0 |
Logs the detection of a malicious file. | |
Defines the contract for a component that logs malicious detections.
Implementations of this interface must be thread-safe, as multiple scanning threads may report detections concurrently.
|
virtualdefault |
|
pure virtual |
Logs the detection of a malicious file.
path | The path to the detected file. |
hash | The calculated hash of the file. |
verdict | The verdict from the hash database. |
Implemented in scanner::FileLogger.