Skip to content

Commit 640eba4

Browse files
committed
Made changes to scala rule
1 parent bf998be commit 640eba4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

rules/scala/security/xmlinputfactory-dtd-enabled-scala.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,4 @@ rule:
1919
- pattern: new XMLInputFactory($$$)
2020
precedes:
2121
not:
22-
pattern: $XMLFACTORY.setProperty($MODE, false)
23-
constraints:
24-
MODE:
25-
regex: "javax.xml.stream.isSupportingExternalEntities"
22+
pattern: $XMLFACTORY.setProperty(javax.xml.stream.isSupportingExternalEntities, false)

0 commit comments

Comments
 (0)