We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c7b952 commit a9d1f42Copy full SHA for a9d1f42
rules/java/security/system-setproperty-hardcoded-secret-java.yml
@@ -16,6 +16,8 @@ utils:
16
match_string_literal:
17
kind: string_literal
18
nthChild: 2
19
+ not:
20
+ regex: ^""$
21
inside:
22
stopBy: end
23
kind: argument_list
@@ -24,12 +26,12 @@ utils:
24
26
kind: method_invocation
25
27
all:
28
- has:
- stopBy: end
- kind: identifier
29
+ stopBy: end
30
+ kind: identifier
31
32
- regex: '^setProperty$'
33
34
+ regex: "^setProperty$"
35
36
kind: expression_statement
37
rule:
0 commit comments