Introduced risk accountability
This commit is contained in:
@@ -169,10 +169,18 @@ typedef enum {
|
||||
CLIENT_FULL_RISK_PERCENTAGE = 100 /* 0% server risk */
|
||||
} risk_percentage;
|
||||
|
||||
typedef enum {
|
||||
NDPI_NO_ACCOUNTABILITY = 0,
|
||||
NDPI_CLIENT_ACCOUNTABLE, /* flow client triggered the risk */
|
||||
NDPI_SERVER_ACCOUNTABLE, /* flow server triggered the risk */
|
||||
NDPI_BOTH_ACCOUNTABLE /* Both actors are responsible */
|
||||
} ndpi_risk_accountability;
|
||||
|
||||
typedef struct {
|
||||
ndpi_risk_enum risk;
|
||||
ndpi_risk_severity severity;
|
||||
risk_percentage default_client_risk_pctg; /* 0-100 */
|
||||
ndpi_risk_accountability accountability;
|
||||
} ndpi_risk_info;
|
||||
|
||||
/* NDPI_VISIT */
|
||||
|
||||
Reference in New Issue
Block a user