|
|
@ -12,7 +12,12 @@ import org.sonar.plugins.java.api.semantic.Symbol; |
|
|
|
import org.sonar.plugins.java.api.tree.*; |
|
|
|
import org.sonar.plugins.java.api.tree.*; |
|
|
|
|
|
|
|
|
|
|
|
import java.util.*; |
|
|
|
import java.util.*; |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 日志中包含敏感信息 |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @author WuHaoYang |
|
|
|
|
|
|
|
* @date 2024/1/23 |
|
|
|
|
|
|
|
*/ |
|
|
|
@Rule(key = "AvoidSensitiveInfoInLogsCheck") |
|
|
|
@Rule(key = "AvoidSensitiveInfoInLogsCheck") |
|
|
|
public class AvoidSensitiveInfoInLogsCheck extends IssuableSubscriptionVisitor { |
|
|
|
public class AvoidSensitiveInfoInLogsCheck extends IssuableSubscriptionVisitor { |
|
|
|
|
|
|
|
|
|
|
|