|
|
@ -21,7 +21,7 @@ public class JavaSecurityDesignWayProfile implements BuiltInQualityProfilesDefin |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void define(Context context) { |
|
|
|
public void define(Context context) { |
|
|
|
var way = context.createBuiltInQualityProfile("Java信息安全设计准则", "java"); |
|
|
|
var way = context.createBuiltInQualityProfile("Java信息安全性设计准则", "java"); |
|
|
|
way.activateRule(JavaSecurityDesignRulesRepository.REPOSITORY_KEY, "ABCVarNameChecker"); |
|
|
|
way.activateRule(JavaSecurityDesignRulesRepository.REPOSITORY_KEY, "ABCVarNameChecker"); |
|
|
|
way.activateRule(JavaSecurityDesignRulesRepository.REPOSITORY_KEY, "AbsolutePathDetectorChecker"); |
|
|
|
way.activateRule(JavaSecurityDesignRulesRepository.REPOSITORY_KEY, "AbsolutePathDetectorChecker"); |
|
|
|
way.activateRule(JavaSecurityDesignRulesRepository.REPOSITORY_KEY, "DynamicCodeChecker"); |
|
|
|
way.activateRule(JavaSecurityDesignRulesRepository.REPOSITORY_KEY, "DynamicCodeChecker"); |
|
|
|