Skip to content
API Documentation
BastionGuard™
ProcessInfo.hpp
Go to the documentation of this file.
1#pragma once
2#include <cstdint>
3#include <map>
4#include <string>
5#include <utility>
6#include <vector>
7
8namespace bsc::model {
9
11 std::uint64_t pid{0};
12 std::uint64_t ppid{0};
13 std::uint64_t uid{0};
14 std::string comm;
15 std::string path;
16 std::vector<std::string> args;
17 std::map<std::string, std::string> env;
18 std::string cwd;
19 std::map<std::string, std::string> checksums;
20 std::uint64_t io_reads{0};
21 std::uint64_t io_writes{0};
22 std::uint64_t net_reads{0};
23 std::uint64_t net_writes{0};
24 std::vector<std::pair<std::string, std::uint32_t>> process_tree;
25};
26
27} // namespace bsc::model
std::map< std::string, std::string > env
std::map< std::string, std::string > checksums
std::vector< std::pair< std::string, std::uint32_t > > process_tree
std::vector< std::string > args