Panoptes 1.0.0
Endpoint Detection and Response
Loading...
Searching...
No Matches
containers.h
Go to the documentation of this file.
1#pragma once
2#include <Windows.h>
3#include <string>
4#include <vector>
5#include <panoptes.pb.h>
6#include "service_constants.h"
7#include "Configuration.hpp"
8
10
12void StopContainers();
13
18
21std::wstring DetectorExecutablePath();
22
25bool IsServiceChildProcess(HANDLE process);
ERRORCODE StartContainers()
bool IsServiceChildProcess(HANDLE process)
Whether a process is one the service started (a container or the detector).
void StopContainers()
Ends every container started by StartContainers. Safe to call if none were started.
std::wstring DetectorExecutablePath()
The path the service starts the detector from: PanoptesDetector.exe in the service's folder....
ERRORCODE StartDetector()
Starts PanoptesDetector.exe from the service's folder with the rules in its rules subfolder,...
#define ERRORCODE