Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何变更规则的等级,以及新增规则? #58

Open
flydreamhoho opened this issue Aug 17, 2021 · 1 comment
Open

如何变更规则的等级,以及新增规则? #58

flydreamhoho opened this issue Aug 17, 2021 · 1 comment

Comments

@flydreamhoho
Copy link

No description provided.

@Atient
Copy link

Atient commented Aug 20, 2021

错误等级需要修改cfg/cfg.xml中的

中寻找对应于你要修改的规则的 ,然后修改该标签下的severity属性
新增规则的话则需要修改源代码,在上边所说的文件中新增规则的配置,并在setting类中完成读取,然后完成相应的check函数并在适当位置进行调用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants