mirror of
https://github.com/openappsec/openappsec.git
synced 2025-06-28 16:41:02 +03:00
Support local managment for embedded agent on nginx
This commit is contained in:
parent
1b4b7d17e0
commit
8e65a39c27
@ -14,14 +14,18 @@
|
|||||||
#ifndef __I_LOCAL_POLICY_MGMT_GEN_H__
|
#ifndef __I_LOCAL_POLICY_MGMT_GEN_H__
|
||||||
#define __I_LOCAL_POLICY_MGMT_GEN_H__
|
#define __I_LOCAL_POLICY_MGMT_GEN_H__
|
||||||
|
|
||||||
class I_K8S_Policy_Gen
|
class I_LocalPolicyMgmtGen
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
enum class LocalPolicyEnv { LINUX, K8S, COUNT };
|
||||||
|
|
||||||
|
|
||||||
virtual std::string parsePolicy(const std::string &policy_version) = 0;
|
virtual std::string parsePolicy(const std::string &policy_version) = 0;
|
||||||
virtual const std::string & getPolicyPath(void) const = 0;
|
virtual const std::string & getPolicyPath(void) const = 0;
|
||||||
|
virtual LocalPolicyEnv getEnvType() const = 0;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
~I_K8S_Policy_Gen() {}
|
~I_LocalPolicyMgmtGen() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif //__I_LOCAL_POLICY_MGMT_GEN_H__
|
#endif //__I_LOCAL_POLICY_MGMT_GEN_H__
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user