{
    "name"  : "论坛发帖控制策略是否有针对这个用户丢包",
    "problems" : {
        "strategy" : {
            "desc"      : "【问题】论坛发帖控制策略存在阻断记录",
            "advice"    : "【建议】请检查行为策略配置"
        }
    }
}
---------------------------code-------------------------------
userNoNetIp = precondition('userNoNetIp')
cmd = "show web-bbs-audit detail recent 3 ip " + userNoNetIp + " deny order-by time desc"
response = cli(cmd)
currentLength = 0
if response.indexOf("Invalid input") == -1:
    results = response.split(/\r?\n/)
    i = 0
    while i < results.length :
        resTmp = results[i]
        if resTmp != "" :
            currentLength = currentLength + 1
        end
        i = i + 1
    end
end

if currentLength > 2 :
    add_problem("strategy")
    return "warn"
end
return "success"
