io.bitsensor.lib.entity.Constants Maven / Gradle / Ivy
package io.bitsensor.lib.entity;
public class Constants {
public static final String CONTEXT = "context";
public static final String ERRORS = "errors";
public static final String ENDPOINT = "endpoint";
public static final String META = "meta";
public static final String DETECTIONS = "detections";
public static final String INPUT = "input";
public static final String INVOCATION = "invocation";
public static final String VULNERABILITIES = "vulnerabilities";
public static final String DATALEAKAGES = "dataLeakages";
public static final String PERSONALDATA = "personalData";
public static final String[] DATAPOINT_FIELDS = {CONTEXT, ERRORS, ENDPOINT, META, DETECTIONS, INPUT, INVOCATION, VULNERABILITIES, DATALEAKAGES, PERSONALDATA};
public static final String[] DATAPOINT_BLACKLIST_MATCH_FIELDS = {CONTEXT, ENDPOINT, META, INPUT};
public static final class Detection {
public static final String IDS = "ids";
public static final String RULE = "name";
public static final String DESCRIPTION = "description";
public static final String TYPE = "type";
public static final String SEVERITY = "severity";
public static final String CERTAINTY = "certainty";
public static final String SUCCESSFUL = "successful";
public static final String RELEVANT = "relevant";
public static final String REASON = "reason";
public static final String ATTACK = "attack";
public static final String INPUT = "input";
public static final String ERRORS = "errors";
public static final String HASH = "hash";
public static final String RULEHASH = "ruleHash";
public static final String ONKEY = "onKey";
public static final String BYINPUT = "byInput";
public static final String[] DETECTION_HASH_FIELDS = {IDS, RULE, DESCRIPTION, TYPE, ONKEY};
public static final String[] DETECTION_RULE_FIELDS = {IDS, RULE, DESCRIPTION, TYPE};
public static abstract class Type {
public static final String ACCESS_CONTROL = "accesscontrol";
public static final String CSRF = "csrf";
public static final String DISCOVERY = "discovery";
public static final String LFI = "lfi";
public static final String RFI = "rfi";
public static final String SQLI = "sqli";
public static final String XSS = "xss";
public static final String HPP = "hpp";
public static final String CODE = "codeexec";
public static final String SESS = "sessionfix";
}
}
public static final class Error {
public static abstract class Type {
public static final String MYSQL = "mysql";
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy