Class BotRecord

    • Constructor Summary

      Constructors 
      Constructor Description
      BotRecord()  
      BotRecord​(BotRecord source)
      NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getAction()
      Get 动作,取值为以为3个类型中的一个:"intercept","permit","monitor",分别表示: 拦截, 放行,监控
      Float getAvgSpeed()
      Get 平均速率
      String[] getBotFeature()
      Get 异常特征
      String getDomain()
      Get 域名 注意:此字段可能返回 null,表示取不到有效值。
      String getId()
      Get BOT记录唯一ID,用于查询访问详情
      Long getNums()
      Get 会话总次数
      String getRuleName()
      Get BotType=UB时,表示预测标签,取值如下: "crawler_unregular", "crawler_regular", "request_repeat", "credential_miss_user", "credential_without_user", "credential_only_action", "credential_user_password", "credential_cracking", "credential_stuffing", "brush_sms", "brush_captcha", "reg_malicious" BotType=TCB时,表示Bot分类,取值如下: "Uncategorised", "Search engine bot", "Site monitor", "Screenshot creator", "Link checker", "Web scraper", "Vulnerability scanner", "Virus scanner", "Speed tester", "Feed Fetcher", "Tool", "Marketing" BotType=UCB时,为二期接口,暂时未定义内容
      Long getScore()
      Get BOT得分
      Float getSessionDuration()
      Get 会话持续时间
      String getSrcIp()
      Get 访问源IP
      String getTcbDetail()
      Get BotType=TCB,表示TCB名称 注意:此字段可能返回 null,表示取不到有效值。
      String getTime()
      Get 最新检测时间
      void setAction​(String Action)
      Set 动作,取值为以为3个类型中的一个:"intercept","permit","monitor",分别表示: 拦截, 放行,监控
      void setAvgSpeed​(Float AvgSpeed)
      Set 平均速率
      void setBotFeature​(String[] BotFeature)
      Set 异常特征
      void setDomain​(String Domain)
      Set 域名 注意:此字段可能返回 null,表示取不到有效值。
      void setId​(String Id)
      Set BOT记录唯一ID,用于查询访问详情
      void setNums​(Long Nums)
      Set 会话总次数
      void setRuleName​(String RuleName)
      Set BotType=UB时,表示预测标签,取值如下: "crawler_unregular", "crawler_regular", "request_repeat", "credential_miss_user", "credential_without_user", "credential_only_action", "credential_user_password", "credential_cracking", "credential_stuffing", "brush_sms", "brush_captcha", "reg_malicious" BotType=TCB时,表示Bot分类,取值如下: "Uncategorised", "Search engine bot", "Site monitor", "Screenshot creator", "Link checker", "Web scraper", "Vulnerability scanner", "Virus scanner", "Speed tester", "Feed Fetcher", "Tool", "Marketing" BotType=UCB时,为二期接口,暂时未定义内容
      void setScore​(Long Score)
      Set BOT得分
      void setSessionDuration​(Float SessionDuration)
      Set 会话持续时间
      void setSrcIp​(String SrcIp)
      Set 访问源IP
      void setTcbDetail​(String TcbDetail)
      Set BotType=TCB,表示TCB名称 注意:此字段可能返回 null,表示取不到有效值。
      void setTime​(String Time)
      Set 最新检测时间
      void toMap​(HashMap<String,​String> map, String prefix)
      Internal implementation, normal users should not use it.
    • Constructor Detail

      • BotRecord

        public BotRecord()
      • BotRecord

        public BotRecord​(BotRecord source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getAction

        public String getAction()
        Get 动作,取值为以为3个类型中的一个:"intercept","permit","monitor",分别表示: 拦截, 放行,监控
        Returns:
        Action 动作,取值为以为3个类型中的一个:"intercept","permit","monitor",分别表示: 拦截, 放行,监控
      • setAction

        public void setAction​(String Action)
        Set 动作,取值为以为3个类型中的一个:"intercept","permit","monitor",分别表示: 拦截, 放行,监控
        Parameters:
        Action - 动作,取值为以为3个类型中的一个:"intercept","permit","monitor",分别表示: 拦截, 放行,监控
      • getNums

        public Long getNums()
        Get 会话总次数
        Returns:
        Nums 会话总次数
      • setNums

        public void setNums​(Long Nums)
        Set 会话总次数
        Parameters:
        Nums - 会话总次数
      • getRuleName

        public String getRuleName()
        Get BotType=UB时,表示预测标签,取值如下: "crawler_unregular", "crawler_regular", "request_repeat", "credential_miss_user", "credential_without_user", "credential_only_action", "credential_user_password", "credential_cracking", "credential_stuffing", "brush_sms", "brush_captcha", "reg_malicious" BotType=TCB时,表示Bot分类,取值如下: "Uncategorised", "Search engine bot", "Site monitor", "Screenshot creator", "Link checker", "Web scraper", "Vulnerability scanner", "Virus scanner", "Speed tester", "Feed Fetcher", "Tool", "Marketing" BotType=UCB时,为二期接口,暂时未定义内容
        Returns:
        RuleName BotType=UB时,表示预测标签,取值如下: "crawler_unregular", "crawler_regular", "request_repeat", "credential_miss_user", "credential_without_user", "credential_only_action", "credential_user_password", "credential_cracking", "credential_stuffing", "brush_sms", "brush_captcha", "reg_malicious" BotType=TCB时,表示Bot分类,取值如下: "Uncategorised", "Search engine bot", "Site monitor", "Screenshot creator", "Link checker", "Web scraper", "Vulnerability scanner", "Virus scanner", "Speed tester", "Feed Fetcher", "Tool", "Marketing" BotType=UCB时,为二期接口,暂时未定义内容
      • setRuleName

        public void setRuleName​(String RuleName)
        Set BotType=UB时,表示预测标签,取值如下: "crawler_unregular", "crawler_regular", "request_repeat", "credential_miss_user", "credential_without_user", "credential_only_action", "credential_user_password", "credential_cracking", "credential_stuffing", "brush_sms", "brush_captcha", "reg_malicious" BotType=TCB时,表示Bot分类,取值如下: "Uncategorised", "Search engine bot", "Site monitor", "Screenshot creator", "Link checker", "Web scraper", "Vulnerability scanner", "Virus scanner", "Speed tester", "Feed Fetcher", "Tool", "Marketing" BotType=UCB时,为二期接口,暂时未定义内容
        Parameters:
        RuleName - BotType=UB时,表示预测标签,取值如下: "crawler_unregular", "crawler_regular", "request_repeat", "credential_miss_user", "credential_without_user", "credential_only_action", "credential_user_password", "credential_cracking", "credential_stuffing", "brush_sms", "brush_captcha", "reg_malicious" BotType=TCB时,表示Bot分类,取值如下: "Uncategorised", "Search engine bot", "Site monitor", "Screenshot creator", "Link checker", "Web scraper", "Vulnerability scanner", "Virus scanner", "Speed tester", "Feed Fetcher", "Tool", "Marketing" BotType=UCB时,为二期接口,暂时未定义内容
      • getSessionDuration

        public Float getSessionDuration()
        Get 会话持续时间
        Returns:
        SessionDuration 会话持续时间
      • setSessionDuration

        public void setSessionDuration​(Float SessionDuration)
        Set 会话持续时间
        Parameters:
        SessionDuration - 会话持续时间
      • getSrcIp

        public String getSrcIp()
        Get 访问源IP
        Returns:
        SrcIp 访问源IP
      • setSrcIp

        public void setSrcIp​(String SrcIp)
        Set 访问源IP
        Parameters:
        SrcIp - 访问源IP
      • getBotFeature

        public String[] getBotFeature()
        Get 异常特征
        Returns:
        BotFeature 异常特征
      • setBotFeature

        public void setBotFeature​(String[] BotFeature)
        Set 异常特征
        Parameters:
        BotFeature - 异常特征
      • getTime

        public String getTime()
        Get 最新检测时间
        Returns:
        Time 最新检测时间
      • setTime

        public void setTime​(String Time)
        Set 最新检测时间
        Parameters:
        Time - 最新检测时间
      • getScore

        public Long getScore()
        Get BOT得分
        Returns:
        Score BOT得分
      • setScore

        public void setScore​(Long Score)
        Set BOT得分
        Parameters:
        Score - BOT得分
      • getAvgSpeed

        public Float getAvgSpeed()
        Get 平均速率
        Returns:
        AvgSpeed 平均速率
      • setAvgSpeed

        public void setAvgSpeed​(Float AvgSpeed)
        Set 平均速率
        Parameters:
        AvgSpeed - 平均速率
      • getTcbDetail

        public String getTcbDetail()
        Get BotType=TCB,表示TCB名称 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        TcbDetail BotType=TCB,表示TCB名称 注意:此字段可能返回 null,表示取不到有效值。
      • setTcbDetail

        public void setTcbDetail​(String TcbDetail)
        Set BotType=TCB,表示TCB名称 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        TcbDetail - BotType=TCB,表示TCB名称 注意:此字段可能返回 null,表示取不到有效值。
      • getId

        public String getId()
        Get BOT记录唯一ID,用于查询访问详情
        Returns:
        Id BOT记录唯一ID,用于查询访问详情
      • setId

        public void setId​(String Id)
        Set BOT记录唯一ID,用于查询访问详情
        Parameters:
        Id - BOT记录唯一ID,用于查询访问详情
      • getDomain

        public String getDomain()
        Get 域名 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Domain 域名 注意:此字段可能返回 null,表示取不到有效值。
      • setDomain

        public void setDomain​(String Domain)
        Set 域名 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Domain - 域名 注意:此字段可能返回 null,表示取不到有效值。