add audit hook for fs, network and processes

This commit is contained in:
Ian Chua committed 2026-08-13 19:16:18 +08:00
1 parent 35970f61dc
commit ddd62e25df
6 files changed
+424 -97

No files matched your search

+4 -2
View File
@@ -83,9 +83,11 @@ inline nlohmann::json py_to_json(const pybind11::handle& o)
struct PluginPermissions
{
std::vector<std::string> networking;
std::vector<std::string> fs_read;
std::vector<std::string> fs_write;
std::vector<std::string> fs_readwrite;
std::vector<std::string> network_http;
std::vector<std::string> network_socket;
std::vector<std::string> process;
};
struct PluginInstallState {