Skip to content

Commit

Permalink
fix(veinmind-sensitive): 修改rule id 98的环境变量增加忽略大小写标记、修复拼写错误 (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
testwill authored Sep 1, 2023
1 parent 793220c commit 825e339
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions plugins/go/veinmind-sensitive/embed/rules.toml
Original file line number Diff line number Diff line change
Expand Up @@ -701,9 +701,9 @@ level = 'medium'

[[rule]]
id = 98
name = "Password In Enviroment"
description = "Password In Enviroment"
env = '''[^=]*(auth|pass|key|secret|token)[^=]*=.*'''
name = "Password In Environment"
description = "Password In Environment"
env = '''(?i)[^=]*(auth|pass|key|secret|token)[^=]*=.*'''
level = 'high'

[[rule]]
Expand Down
4 changes: 2 additions & 2 deletions plugins/python/veinmind-sensitive/rules.toml
Original file line number Diff line number Diff line change
Expand Up @@ -701,8 +701,8 @@ level = 'medium'

[[rules]]
id = 98
name = "Password In Enviroment"
description = "Password In Enviroment"
name = "Password In Environment"
description = "Password In Environment"
env = '''[^=]*(auth|pass|key|secret|token)[^=]*=.*'''
level = 'high'

Expand Down

0 comments on commit 825e339

Please sign in to comment.