@zhuma4/cli 4.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (288) hide show
  1. package/README.md +42 -0
  2. package/dist/commands/config.d.ts +3 -0
  3. package/dist/commands/config.d.ts.map +1 -0
  4. package/dist/commands/config.js +18 -0
  5. package/dist/commands/config.js.map +1 -0
  6. package/dist/commands/init.d.ts +3 -0
  7. package/dist/commands/init.d.ts.map +1 -0
  8. package/dist/commands/init.js +11 -0
  9. package/dist/commands/init.js.map +1 -0
  10. package/dist/commands/scan.d.ts +3 -0
  11. package/dist/commands/scan.d.ts.map +1 -0
  12. package/dist/commands/scan.js +96 -0
  13. package/dist/commands/scan.js.map +1 -0
  14. package/dist/commands/scan_appid.d.ts +20 -0
  15. package/dist/commands/scan_appid.d.ts.map +1 -0
  16. package/dist/commands/scan_appid.js +301 -0
  17. package/dist/commands/scan_appid.js.map +1 -0
  18. package/dist/commands/scan_manifest.d.ts +13 -0
  19. package/dist/commands/scan_manifest.d.ts.map +1 -0
  20. package/dist/commands/scan_manifest.js +103 -0
  21. package/dist/commands/scan_manifest.js.map +1 -0
  22. package/dist/engine/api-submit.d.ts +16 -0
  23. package/dist/engine/api-submit.d.ts.map +1 -0
  24. package/dist/engine/api-submit.js +66 -0
  25. package/dist/engine/api-submit.js.map +1 -0
  26. package/dist/engine/batch_scan.d.ts +36 -0
  27. package/dist/engine/batch_scan.d.ts.map +1 -0
  28. package/dist/engine/batch_scan.js +192 -0
  29. package/dist/engine/batch_scan.js.map +1 -0
  30. package/dist/engine/config.d.ts +12 -0
  31. package/dist/engine/config.d.ts.map +1 -0
  32. package/dist/engine/config.js +27 -0
  33. package/dist/engine/config.js.map +1 -0
  34. package/dist/engine/errors.d.ts +36 -0
  35. package/dist/engine/errors.d.ts.map +1 -0
  36. package/dist/engine/errors.js +99 -0
  37. package/dist/engine/errors.js.map +1 -0
  38. package/dist/engine/filter.d.ts +13 -0
  39. package/dist/engine/filter.d.ts.map +1 -0
  40. package/dist/engine/filter.js +64 -0
  41. package/dist/engine/filter.js.map +1 -0
  42. package/dist/engine/finding_classifier.d.ts +108 -0
  43. package/dist/engine/finding_classifier.d.ts.map +1 -0
  44. package/dist/engine/finding_classifier.js +440 -0
  45. package/dist/engine/finding_classifier.js.map +1 -0
  46. package/dist/engine/incremental/engine.d.ts +25 -0
  47. package/dist/engine/incremental/engine.d.ts.map +1 -0
  48. package/dist/engine/incremental/engine.js +337 -0
  49. package/dist/engine/incremental/engine.js.map +1 -0
  50. package/dist/engine/incremental/git-diff.d.ts +19 -0
  51. package/dist/engine/incremental/git-diff.d.ts.map +1 -0
  52. package/dist/engine/incremental/git-diff.js +175 -0
  53. package/dist/engine/incremental/git-diff.js.map +1 -0
  54. package/dist/engine/incremental/types.d.ts +33 -0
  55. package/dist/engine/incremental/types.d.ts.map +1 -0
  56. package/dist/engine/incremental/types.js +11 -0
  57. package/dist/engine/incremental/types.js.map +1 -0
  58. package/dist/engine/manifest_scanner.d.ts +48 -0
  59. package/dist/engine/manifest_scanner.d.ts.map +1 -0
  60. package/dist/engine/manifest_scanner.js +599 -0
  61. package/dist/engine/manifest_scanner.js.map +1 -0
  62. package/dist/engine/project.d.ts +22 -0
  63. package/dist/engine/project.d.ts.map +1 -0
  64. package/dist/engine/project.js +279 -0
  65. package/dist/engine/project.js.map +1 -0
  66. package/dist/engine/sarif.d.ts +13 -0
  67. package/dist/engine/sarif.d.ts.map +1 -0
  68. package/dist/engine/sarif.js +44 -0
  69. package/dist/engine/sarif.js.map +1 -0
  70. package/dist/engine/sca-integration.d.ts +36 -0
  71. package/dist/engine/sca-integration.d.ts.map +1 -0
  72. package/dist/engine/sca-integration.js +91 -0
  73. package/dist/engine/sca-integration.js.map +1 -0
  74. package/dist/engine/scanner.d.ts +18 -0
  75. package/dist/engine/scanner.d.ts.map +1 -0
  76. package/dist/engine/scanner.js +138 -0
  77. package/dist/engine/scanner.js.map +1 -0
  78. package/dist/index.d.ts +13 -0
  79. package/dist/index.d.ts.map +1 -0
  80. package/dist/index.js +41 -0
  81. package/dist/index.js.map +1 -0
  82. package/dist/report/render.d.ts +23 -0
  83. package/dist/report/render.d.ts.map +1 -0
  84. package/dist/report/render.js +335 -0
  85. package/dist/report/render.js.map +1 -0
  86. package/package.json +41 -0
  87. package/rules/android/mobile-cleartext-traffic.yaml +46 -0
  88. package/rules/android/mobile-component-security.yaml +107 -0
  89. package/rules/android/mobile-crypto-weakness.yaml +139 -0
  90. package/rules/android/mobile-cwe-1021-tapjacking.yaml +81 -0
  91. package/rules/android/mobile-cwe-114-dynamic-dex-loading.yaml +41 -0
  92. package/rules/android/mobile-cwe-200-clipboard-data-leak.yaml +66 -0
  93. package/rules/android/mobile-cwe-200-debug-builds.yaml +111 -0
  94. package/rules/android/mobile-cwe-200-log-sensitive-data.yaml +61 -0
  95. package/rules/android/mobile-cwe-200-webview-debugging.yaml +56 -0
  96. package/rules/android/mobile-cwe-200-webview-universal-access.yaml +30 -0
  97. package/rules/android/mobile-cwe-200-window-flags.yaml +96 -0
  98. package/rules/android/mobile-cwe-22-content-provider-openfile.yaml +73 -0
  99. package/rules/android/mobile-cwe-22-path-traversal.yaml +86 -0
  100. package/rules/android/mobile-cwe-287-biometric-weakness.yaml +102 -0
  101. package/rules/android/mobile-cwe-295-cert-pinning-missing.yaml +78 -0
  102. package/rules/android/mobile-cwe-295-webview-ssl-bypass.yaml +104 -0
  103. package/rules/android/mobile-cwe-312-cleartext-storage.yaml +109 -0
  104. package/rules/android/mobile-cwe-319-cleartext-communication.yaml +84 -0
  105. package/rules/android/mobile-cwe-321-hardcoded-crypto-keys.yaml +132 -0
  106. package/rules/android/mobile-cwe-326-short-rsa.yaml +108 -0
  107. package/rules/android/mobile-cwe-327-rc4-3des.yaml +107 -0
  108. package/rules/android/mobile-cwe-329-cbc-padding-oracle.yaml +76 -0
  109. package/rules/android/mobile-cwe-470-reflection-injection.yaml +39 -0
  110. package/rules/android/mobile-cwe-489-root-detection-weak.yaml +125 -0
  111. package/rules/android/mobile-cwe-489-stetho-debug.yaml +107 -0
  112. package/rules/android/mobile-cwe-502-insecure-deserialization.yaml +76 -0
  113. package/rules/android/mobile-cwe-552-world-readable-files.yaml +63 -0
  114. package/rules/android/mobile-cwe-749-webview-java-objects.yaml +78 -0
  115. package/rules/android/mobile-cwe-749-webview-jsbridge.yaml +57 -0
  116. package/rules/android/mobile-cwe-749-webview-loadurl-injection.yaml +80 -0
  117. package/rules/android/mobile-cwe-78-command-injection.yaml +77 -0
  118. package/rules/android/mobile-cwe-780-rsa-no-oaep.yaml +80 -0
  119. package/rules/android/mobile-cwe-79-webview-setdata.yaml +78 -0
  120. package/rules/android/mobile-cwe-79-webview-xss.yaml +65 -0
  121. package/rules/android/mobile-cwe-798-hardcoded-credentials.yaml +108 -0
  122. package/rules/android/mobile-cwe-89-sql-injection.yaml +100 -0
  123. package/rules/android/mobile-cwe-927-implicit-intent.yaml +121 -0
  124. package/rules/android/mobile-cwe-927-ipc-file-provider.yaml +102 -0
  125. package/rules/android/mobile-cwe-939-deeplink-validation.yaml +76 -0
  126. package/rules/android/mobile-sdk-google-firebase-open.yaml +117 -0
  127. package/rules/android/mobile-sdk-tencent-tpns-config-leak.yaml +131 -0
  128. package/rules/android/mobile-secrets-storage.yaml +136 -0
  129. package/rules/android/mobile-webview-security.yaml +88 -0
  130. package/rules/common/cwe-200-sensitive-data-exposure.yaml +61 -0
  131. package/rules/common/cwe-22-path-traversal.yaml +47 -0
  132. package/rules/common/cwe-295-ssl-bypass.yaml +217 -0
  133. package/rules/common/cwe-295-ssl-verification-disabled.yaml +64 -0
  134. package/rules/common/cwe-306-missing-authentication.yaml +44 -0
  135. package/rules/common/cwe-326-weak-key-size.yaml +107 -0
  136. package/rules/common/cwe-327-weak-crypto.yaml +177 -0
  137. package/rules/common/cwe-328-weak-hash.yaml +96 -0
  138. package/rules/common/cwe-329-cbc-mode.yaml +26 -0
  139. package/rules/common/cwe-352-csrf.yaml +23 -0
  140. package/rules/common/cwe-434-unrestricted-file-upload.yaml +41 -0
  141. package/rules/common/cwe-502-insecure-deserialization.yaml +44 -0
  142. package/rules/common/cwe-601-url-redirect.yaml +110 -0
  143. package/rules/common/cwe-611-xxe.yaml +70 -0
  144. package/rules/common/cwe-732-incorrect-permission.yaml +49 -0
  145. package/rules/common/cwe-770-resource-exhaustion.yaml +44 -0
  146. package/rules/common/cwe-78-os-command-injection.yaml +43 -0
  147. package/rules/common/cwe-787-out-of-bounds-write.yaml +37 -0
  148. package/rules/common/cwe-79-xss.yaml +51 -0
  149. package/rules/common/cwe-862-missing-authorization.yaml +40 -0
  150. package/rules/common/cwe-89-sqli.yaml +89 -0
  151. package/rules/common/cwe-918-ssrf.yaml +45 -0
  152. package/rules/common/cwe-94-code-injection.yaml +59 -0
  153. package/rules/common/zm-go-cwe22-path-traversal-fs.yaml +117 -0
  154. package/rules/common/zm-go-cwe22-path-traversal.yaml +103 -0
  155. package/rules/common/zm-go-cwe307-brute-force.yaml +129 -0
  156. package/rules/common/zm-go-cwe326-weak-crypto.yaml +124 -0
  157. package/rules/common/zm-go-cwe327-weak-cipher.yaml +152 -0
  158. package/rules/common/zm-go-cwe384-session-fixation.yaml +128 -0
  159. package/rules/common/zm-go-cwe502-deserialization.yaml +120 -0
  160. package/rules/common/zm-go-cwe78-command-injection.yaml +95 -0
  161. package/rules/common/zm-go-cwe79-xss.yaml +104 -0
  162. package/rules/common/zm-go-cwe798-hardcoded-creds.yaml +153 -0
  163. package/rules/common/zm-go-cwe89-sqli.yaml +89 -0
  164. package/rules/common/zm-go-cwe918-ssrf.yaml +117 -0
  165. package/rules/common/zm-java-cwe117-log-injection.yaml +83 -0
  166. package/rules/common/zm-java-cwe117-logforging.yaml +153 -0
  167. package/rules/common/zm-java-cwe200-actuator-exposure.yaml +8 -0
  168. package/rules/common/zm-java-cwe200-info-disclosure.yaml +91 -0
  169. package/rules/common/zm-java-cwe22-file-depth.yaml +135 -0
  170. package/rules/common/zm-java-cwe22-path-traversal-spring.yaml +81 -0
  171. package/rules/common/zm-java-cwe284-missing-auth-spring.yaml +131 -0
  172. package/rules/common/zm-java-cwe295-webview-ssl.yaml +123 -0
  173. package/rules/common/zm-java-cwe327-weakcrypto.yaml +197 -0
  174. package/rules/common/zm-java-cwe347-jwt.yaml +30 -0
  175. package/rules/common/zm-java-cwe352-csrf-depth.yaml +107 -0
  176. package/rules/common/zm-java-cwe352-csrf-disabled.yaml +15 -0
  177. package/rules/common/zm-java-cwe501-trust-boundary.yaml +124 -0
  178. package/rules/common/zm-java-cwe502-deserial-depth.yaml +128 -0
  179. package/rules/common/zm-java-cwe502-fastjson.yaml +137 -0
  180. package/rules/common/zm-java-cwe502-gadget.yaml +158 -0
  181. package/rules/common/zm-java-cwe502-jndi-injection.yaml +91 -0
  182. package/rules/common/zm-java-cwe502-shiro.yaml +108 -0
  183. package/rules/common/zm-java-cwe601-url-redirect-spring.yaml +85 -0
  184. package/rules/common/zm-java-cwe611-xxe-enhanced.yaml +80 -0
  185. package/rules/common/zm-java-cwe611-xxe-transformer.yaml +85 -0
  186. package/rules/common/zm-java-cwe639-idor.yaml +123 -0
  187. package/rules/common/zm-java-cwe79-xss-depth.yaml +98 -0
  188. package/rules/common/zm-java-cwe862-authz-depth.yaml +127 -0
  189. package/rules/common/zm-java-cwe915-mass-assignment.yaml +16 -0
  190. package/rules/common/zm-java-cwe917-expression-injection.yaml +120 -0
  191. package/rules/common/zm-java-cwe918-resttemplate.yaml +67 -0
  192. package/rules/common/zm-java-cwe918-ssrf-depth.yaml +103 -0
  193. package/rules/common/zm-java-cwe918-ssrf-resttemplate.yaml +77 -0
  194. package/rules/common/zm-java-cwe918-webclient.yaml +44 -0
  195. package/rules/common/zm-java-cwe94-ognl.yaml +66 -0
  196. package/rules/common/zm-java-cwe94-spel-injection.yaml +85 -0
  197. package/rules/common/zm-java-cwe94-spel.yaml +112 -0
  198. package/rules/common/zm-java-cwe94-ssti.yaml +22 -0
  199. package/rules/common/zm-java-cwe942-cors.yaml +15 -0
  200. package/rules/common/zm-js-cwe1321-prototype-pollution.yaml +61 -0
  201. package/rules/common/zm-js-cwe200-info-disclosure.yaml +95 -0
  202. package/rules/common/zm-js-cwe22-path-traversal-fs.yaml +113 -0
  203. package/rules/common/zm-js-cwe22-pathtraversal.yaml +111 -0
  204. package/rules/common/zm-js-cwe307-brute-force.yaml +136 -0
  205. package/rules/common/zm-js-cwe345-postmessage.yaml +75 -0
  206. package/rules/common/zm-js-cwe347-jwt-weak.yaml +95 -0
  207. package/rules/common/zm-js-cwe352-csrf.yaml +52 -0
  208. package/rules/common/zm-js-cwe384-session-fixation.yaml +132 -0
  209. package/rules/common/zm-js-cwe502-deserialization.yaml +119 -0
  210. package/rules/common/zm-js-cwe611-xxe.yaml +108 -0
  211. package/rules/common/zm-js-cwe639-idor.yaml +122 -0
  212. package/rules/common/zm-js-cwe693-helmet-missing.yaml +46 -0
  213. package/rules/common/zm-js-cwe78-exec.yaml +37 -0
  214. package/rules/common/zm-js-cwe78-spawn.yaml +37 -0
  215. package/rules/common/zm-js-cwe79-domxss.yaml +84 -0
  216. package/rules/common/zm-js-cwe79-react-xss.yaml +18 -0
  217. package/rules/common/zm-js-cwe79-xss-ejs.yaml +70 -0
  218. package/rules/common/zm-js-cwe89-sqli.yaml +153 -0
  219. package/rules/common/zm-js-cwe915-mass-assignment.yaml +111 -0
  220. package/rules/common/zm-js-cwe918-ssrf-fetch.yaml +134 -0
  221. package/rules/common/zm-js-cwe918-ssrf.yaml +132 -0
  222. package/rules/common/zm-js-cwe94-template-injection.yaml +130 -0
  223. package/rules/common/zm-js-cwe942-cors.yaml +49 -0
  224. package/rules/common/zm-js-cwe943-nosql-injection.yaml +52 -0
  225. package/rules/common/zm-js-cwe95-eval.yaml +59 -0
  226. package/rules/common/zm-js-cwe95-function-ctor.yaml +31 -0
  227. package/rules/common/zm-py-cwe22-path-traversal.yaml +86 -0
  228. package/rules/common/zm-py-cwe327-weak-crypto.yaml +103 -0
  229. package/rules/common/zm-py-cwe502-pickle.yaml +92 -0
  230. package/rules/common/zm-py-cwe611-xxe.yaml +100 -0
  231. package/rules/common/zm-py-cwe78-command-injection.yaml +121 -0
  232. package/rules/common/zm-py-cwe79-xss.yaml +123 -0
  233. package/rules/common/zm-py-cwe798-hardcoded-creds.yaml +86 -0
  234. package/rules/common/zm-py-cwe89-sqli.yaml +59 -0
  235. package/rules/common/zm-py-cwe918-ssrf.yaml +123 -0
  236. package/rules/common/zm-py-cwe94-ssti.yaml +87 -0
  237. package/rules/common/zm-py-cwe943-nosql-injection.yaml +123 -0
  238. package/rules/iac/ansible/zm-ansible-cwe269-privilege-escalation.yaml +63 -0
  239. package/rules/iac/ansible/zm-ansible-cwe78-command-injection.yaml +67 -0
  240. package/rules/iac/ansible/zm-ansible-cwe798-hardcoded-creds.yaml +93 -0
  241. package/rules/iac/terraform/zm-tf-cwe200-s3-bucket-public.yaml +100 -0
  242. package/rules/iac/terraform/zm-tf-cwe284-sg-wide-open.yaml +88 -0
  243. package/rules/iac/terraform/zm-tf-cwe311-iam-wildcard.yaml +83 -0
  244. package/rules/iac/terraform/zm-tf-cwe319-rds-public.yaml +72 -0
  245. package/rules/iac/terraform/zm-tf-cwe798-hardcoded-creds.yaml +102 -0
  246. package/rules/iac/zm-docker-cwe250-root-user.yaml +50 -0
  247. package/rules/iac/zm-docker-cwe400-resource-limit.yaml +92 -0
  248. package/rules/iac/zm-docker-security.yaml +104 -0
  249. package/rules/iac/zm-k8s-cwe200-service-account.yaml +83 -0
  250. package/rules/iac/zm-k8s-cwe250-privileged.yaml +56 -0
  251. package/rules/iac/zm-k8s-security.yaml +79 -0
  252. package/rules/rules_index.yaml.off +477 -0
  253. package/rules/semgrep-registry/anonymous-ldap-bind.yaml +34 -0
  254. package/rules/semgrep-registry/bad-hexa-conversion.yaml +32 -0
  255. package/rules/semgrep-registry/blowfish-insufficient-key-size.yaml +39 -0
  256. package/rules/semgrep-registry/cbc-padding-oracle.yaml +38 -0
  257. package/rules/semgrep-registry/command-injection-formatted-runtime-call.yaml +90 -0
  258. package/rules/semgrep-registry/command-injection-process-builder.yaml +148 -0
  259. package/rules/semgrep-registry/cookie-missing-httponly.yaml +38 -0
  260. package/rules/semgrep-registry/cookie-missing-secure-flag.yaml +38 -0
  261. package/rules/semgrep-registry/crlf-injection-logs.yaml +86 -0
  262. package/rules/semgrep-registry/dangerous-groovy-shell.yaml +46 -0
  263. package/rules/semgrep-registry/el-injection.yaml +137 -0
  264. package/rules/semgrep-registry/formatted-sql-string.yaml +95 -0
  265. package/rules/semgrep-registry/http-response-splitting.yaml +44 -0
  266. package/rules/semgrep-registry/index.txt +1 -0
  267. package/rules/semgrep-registry/insecure-smtp-connection.yaml +34 -0
  268. package/rules/semgrep-registry/java-reverse-shell.yaml +43 -0
  269. package/rules/semgrep-registry/jdbc-sql-formatted-string.yaml +120 -0
  270. package/rules/semgrep-registry/ldap-entry-poisoning.yaml +41 -0
  271. package/rules/semgrep-registry/ldap-injection.yaml +82 -0
  272. package/rules/semgrep-registry/md5-used-as-password.yaml +44 -0
  273. package/rules/semgrep-registry/object-deserialization.yaml +34 -0
  274. package/rules/semgrep-registry/ognl-injection.yaml +839 -0
  275. package/rules/semgrep-registry/overly-permissive-file-permission.yaml +49 -0
  276. package/rules/semgrep-registry/permissive-cors.yaml +77 -0
  277. package/rules/semgrep-registry/script-engine-injection.yaml +66 -0
  278. package/rules/semgrep-registry/tainted-cmd-from-http-request.yaml +74 -0
  279. package/rules/semgrep-registry/tainted-env-from-http-request.yaml +46 -0
  280. package/rules/semgrep-registry/tainted-ldapi-from-http-request.yaml +42 -0
  281. package/rules/semgrep-registry/tainted-session-from-http-request.yaml +70 -0
  282. package/rules/semgrep-registry/tainted-xpath-from-http-request.yaml +38 -0
  283. package/rules/semgrep-registry/unsafe-reflection.yaml +39 -0
  284. package/rules/semgrep-registry/unvalidated-redirect.yaml +127 -0
  285. package/rules/semgrep-registry/url-rewriting.yaml +82 -0
  286. package/rules/semgrep-registry/weak-ssl-context.yaml +34 -0
  287. package/rules/semgrep-registry/xml-decoder.yaml +53 -0
  288. package/rules/semgrep-registry/xssrequestwrapper-is-insecure.yaml +40 -0
@@ -0,0 +1,839 @@
1
+ rules:
2
+ - id: ognl-injection
3
+ message: >-
4
+ A expression is built with a dynamic value. The source of the value(s) should
5
+ be verified to avoid that unfiltered values fall into this risky code evaluation.
6
+ metadata:
7
+ cwe:
8
+ - "CWE-94: Improper Control of Generation of Code ('Code Injection')"
9
+ owasp:
10
+ - A03:2021 - Injection
11
+ - A05:2025 - Injection
12
+ source-rule-url: https://find-sec-bugs.github.io/bugs.htm#OGNL_INJECTION
13
+ category: security
14
+ technology:
15
+ - ognl
16
+ references:
17
+ - https://owasp.org/Top10/A03_2021-Injection
18
+ cwe2022-top25: true
19
+ subcategory:
20
+ - audit
21
+ likelihood: LOW
22
+ impact: MEDIUM
23
+ confidence: LOW
24
+ severity: WARNING
25
+ languages: [java]
26
+ patterns:
27
+ - pattern-either:
28
+ - pattern: |
29
+ $X $METHOD(...,OgnlReflectionProvider $P,...) {
30
+ ...
31
+ $P.getGetMethod($T, $INPUT,...);
32
+ ...
33
+ }
34
+ - pattern: |
35
+ $X $METHOD(...,OgnlReflectionProvider $P,...) {
36
+ ...
37
+ $P.getSetMethod($T, $INPUT,...);
38
+ ...
39
+ }
40
+ - pattern: |
41
+ $X $METHOD(...,OgnlReflectionProvider $P,...) {
42
+ ...
43
+ $P.getField($T, $INPUT,...);
44
+ ...
45
+ }
46
+ - pattern: |
47
+ $X $METHOD(...,OgnlReflectionProvider $P,...) {
48
+ ...
49
+ $P.setProperties($INPUT,...);
50
+ ...
51
+ }
52
+ - pattern: |
53
+ $X $METHOD(...,OgnlReflectionProvider $P,...) {
54
+ ...
55
+ $P.setProperty($INPUT,...);
56
+ ...
57
+ }
58
+ - pattern: |
59
+ $X $METHOD(...,OgnlReflectionProvider $P,...) {
60
+ ...
61
+ $P.getValue($INPUT,...);
62
+ ...
63
+ }
64
+ - pattern: |
65
+ $X $METHOD(...,OgnlReflectionProvider $P,...) {
66
+ ...
67
+ $P.setValue($INPUT,...);
68
+ ...
69
+ }
70
+ - pattern: |
71
+ $X $METHOD(...,ReflectionProvider $P,...) {
72
+ ...
73
+ $P.getGetMethod($T, $INPUT,...);
74
+ ...
75
+ }
76
+ - pattern: |
77
+ $X $METHOD(...,ReflectionProvider $P,...) {
78
+ ...
79
+ $P.getSetMethod($T, $INPUT,...);
80
+ ...
81
+ }
82
+ - pattern: |
83
+ $X $METHOD(...,ReflectionProvider $P,...) {
84
+ ...
85
+ $P.getField($T, $INPUT,...);
86
+ ...
87
+ }
88
+ - pattern: |
89
+ $X $METHOD(...,ReflectionProvider $P,...) {
90
+ ...
91
+ $P.setProperties($INPUT,...);
92
+ ...
93
+ }
94
+ - pattern: |
95
+ $X $METHOD(...,ReflectionProvider $P,...) {
96
+ ...
97
+ $P.setProperty($INPUT,...);
98
+ ...
99
+ }
100
+ - pattern: |
101
+ $X $METHOD(...,ReflectionProvider $P,...) {
102
+ ...
103
+ $P.getValue($INPUT,...);
104
+ ...
105
+ }
106
+ - pattern: |
107
+ $X $METHOD(...,ReflectionProvider $P,...) {
108
+ ...
109
+ $P.setValue($INPUT,...);
110
+ ...
111
+ }
112
+ - pattern: |
113
+ $X $METHOD(...,TextParseUtil $P,...) {
114
+ ...
115
+ $P.translateVariables($INPUT,...);
116
+ ...
117
+ }
118
+ - pattern: |
119
+ $X $METHOD(...,TextParseUtil $P,...) {
120
+ ...
121
+ $P.translateVariablesCollection($INPUT,...);
122
+ ...
123
+ }
124
+ - pattern: |
125
+ $X $METHOD(...,TextParseUtil $P,...) {
126
+ ...
127
+ $P.shallBeIncluded($INPUT,...);
128
+ ...
129
+ }
130
+ - pattern: |
131
+ $X $METHOD(...,TextParseUtil $P,...) {
132
+ ...
133
+ $P.commaDelimitedStringToSet($INPUT,...);
134
+ ...
135
+ }
136
+ - pattern: |
137
+ $X $METHOD(...,TextParser $P,...) {
138
+ ...
139
+ $P.evaluate($INPUT,...);
140
+ ...
141
+ }
142
+ - pattern: |
143
+ $X $METHOD(...,OgnlTextParser $P,...) {
144
+ ...
145
+ $P.evaluate($INPUT,...);
146
+ ...
147
+ }
148
+ - pattern: |
149
+ $X $METHOD(...,OgnlUtil $P,...) {
150
+ ...
151
+ $P.setProperties($INPUT,...);
152
+ ...
153
+ }
154
+ - pattern: |
155
+ $X $METHOD(...,OgnlUtil $P,...) {
156
+ ...
157
+ $P.setProperty($INPUT,...);
158
+ ...
159
+ }
160
+ - pattern: |
161
+ $X $METHOD(...,OgnlUtil $P,...) {
162
+ ...
163
+ $P.getValue($INPUT,...);
164
+ ...
165
+ }
166
+ - pattern: |
167
+ $X $METHOD(...,OgnlUtil $P,...) {
168
+ ...
169
+ $P.setValue($INPUT,...);
170
+ ...
171
+ }
172
+ - pattern: |
173
+ $X $METHOD(...,OgnlUtil $P,...) {
174
+ ...
175
+ $P.callMethod($INPUT,...);
176
+ ...
177
+ }
178
+ - pattern: |
179
+ $X $METHOD(...,OgnlUtil $P,...) {
180
+ ...
181
+ $P.compile($INPUT,...);
182
+ ...
183
+ }
184
+ - pattern: |
185
+ $X $METHOD(...,VelocityStrutsUtil $P,...) {
186
+ ...
187
+ $P.evaluate($INPUT,...);
188
+ ...
189
+ }
190
+ - pattern: |
191
+ $X $METHOD(...,StrutsUtil $P,...) {
192
+ ...
193
+ $P.isTrue($INPUT,...);
194
+ ...
195
+ }
196
+ - pattern: |
197
+ $X $METHOD(...,StrutsUtil $P,...) {
198
+ ...
199
+ $P.findString($INPUT,...);
200
+ ...
201
+ }
202
+ - pattern: |
203
+ $X $METHOD(...,StrutsUtil $P,...) {
204
+ ...
205
+ $P.findValue($INPUT,...);
206
+ ...
207
+ }
208
+ - pattern: |
209
+ $X $METHOD(...,StrutsUtil $P,...) {
210
+ ...
211
+ $P.getText($INPUT,...);
212
+ ...
213
+ }
214
+ - pattern: |
215
+ $X $METHOD(...,StrutsUtil $P,...) {
216
+ ...
217
+ $P.translateVariables($INPUT,...);
218
+ ...
219
+ }
220
+ - pattern: |
221
+ $X $METHOD(...,StrutsUtil $P,...) {
222
+ ...
223
+ $P.makeSelectList($INPUT,...);
224
+ ...
225
+ }
226
+ - pattern: |
227
+ $X $METHOD(...,OgnlTool $P,...) {
228
+ ...
229
+ $P.findValue($INPUT,...);
230
+ ...
231
+ }
232
+ - pattern: |
233
+ $X $METHOD(...,ValueStack $P,...) {
234
+ ...
235
+ $P.findString($INPUT,...);
236
+ ...
237
+ }
238
+ - pattern: |
239
+ $X $METHOD(...,ValueStack $P,...) {
240
+ ...
241
+ $P.findValue($INPUT,...);
242
+ ...
243
+ }
244
+ - pattern: |
245
+ $X $METHOD(...,ValueStack $P,...) {
246
+ ...
247
+ $P.setValue($INPUT,...);
248
+ ...
249
+ }
250
+ - pattern: |
251
+ $X $METHOD(...,ValueStack $P,...) {
252
+ ...
253
+ $P.setParameter($INPUT,...);
254
+ ...
255
+ }
256
+ - pattern: |
257
+ $X $METHOD(...) {
258
+ ...
259
+ OgnlReflectionProvider $P = ...;
260
+ ...
261
+ $P.getGetMethod($T, $INPUT,...);
262
+ ...
263
+ }
264
+ - pattern: |
265
+ $X $METHOD(...) {
266
+ ...
267
+ OgnlReflectionProvider $P = ...;
268
+ ...
269
+ $P.getSetMethod($T, $INPUT,...);
270
+ ...
271
+ }
272
+ - pattern: |
273
+ $X $METHOD(...) {
274
+ ...
275
+ OgnlReflectionProvider $P = ...;
276
+ ...
277
+ $P.getField($T, $INPUT,...);
278
+ ...
279
+ }
280
+ - pattern: |
281
+ $X $METHOD(...) {
282
+ ...
283
+ OgnlReflectionProvider $P = ...;
284
+ ...
285
+ $P.setProperties($INPUT,...);
286
+ ...
287
+ }
288
+ - pattern: |
289
+ $X $METHOD(...) {
290
+ ...
291
+ OgnlReflectionProvider $P = ...;
292
+ ...
293
+ $P.setProperty($INPUT,...);
294
+ ...
295
+ }
296
+ - pattern: |
297
+ $X $METHOD(...) {
298
+ ...
299
+ OgnlReflectionProvider $P = ...;
300
+ ...
301
+ $P.getValue($INPUT,...);
302
+ ...
303
+ }
304
+ - pattern: |
305
+ $X $METHOD(...) {
306
+ ...
307
+ OgnlReflectionProvider $P = ...;
308
+ ...
309
+ $P.setValue($INPUT,...);
310
+ ...
311
+ }
312
+ - pattern: |
313
+ $X $METHOD(...) {
314
+ ...
315
+ ReflectionProvider $P = ...;
316
+ ...
317
+ $P.getGetMethod($T, $INPUT,...);
318
+ ...
319
+ }
320
+ - pattern: |
321
+ $X $METHOD(...) {
322
+ ...
323
+ ReflectionProvider $P = ...;
324
+ ...
325
+ $P.getSetMethod($T, $INPUT,...);
326
+ ...
327
+ }
328
+ - pattern: |
329
+ $X $METHOD(...) {
330
+ ...
331
+ ReflectionProvider $P = ...;
332
+ ...
333
+ $P.getField($T, $INPUT,...);
334
+ ...
335
+ }
336
+ - pattern: |
337
+ $X $METHOD(...) {
338
+ ...
339
+ ReflectionProvider $P = ...;
340
+ ...
341
+ $P.setProperties($INPUT,...);
342
+ ...
343
+ }
344
+ - pattern: |
345
+ $X $METHOD(...) {
346
+ ...
347
+ ReflectionProvider $P = ...;
348
+ ...
349
+ $P.setProperty($INPUT,...);
350
+ ...
351
+ }
352
+ - pattern: |
353
+ $X $METHOD(...) {
354
+ ...
355
+ ReflectionProvider $P = ...;
356
+ ...
357
+ $P.getValue($INPUT,...);
358
+ ...
359
+ }
360
+ - pattern: |
361
+ $X $METHOD(...) {
362
+ ...
363
+ ReflectionProvider $P = ...;
364
+ ...
365
+ $P.setValue($INPUT,...);
366
+ ...
367
+ }
368
+ - pattern: |
369
+ $X $METHOD(...) {
370
+ ...
371
+ TextParseUtil $P = ...;
372
+ ...
373
+ $P.translateVariables($INPUT,...);
374
+ ...
375
+ }
376
+ - pattern: |
377
+ $X $METHOD(...) {
378
+ ...
379
+ TextParseUtil $P = ...;
380
+ ...
381
+ $P.translateVariablesCollection($INPUT,...);
382
+ ...
383
+ }
384
+ - pattern: |
385
+ $X $METHOD(...) {
386
+ ...
387
+ TextParseUtil $P = ...;
388
+ ...
389
+ $P.shallBeIncluded($INPUT,...);
390
+ ...
391
+ }
392
+ - pattern: |
393
+ $X $METHOD(...) {
394
+ ...
395
+ TextParseUtil $P = ...;
396
+ ...
397
+ $P.commaDelimitedStringToSet($INPUT,...);
398
+ ...
399
+ }
400
+ - pattern: |
401
+ $X $METHOD(...) {
402
+ ...
403
+ TextParser $P = ...;
404
+ ...
405
+ $P.evaluate($INPUT,...);
406
+ ...
407
+ }
408
+ - pattern: |
409
+ $X $METHOD(...) {
410
+ ...
411
+ OgnlTextParser $P = ...;
412
+ ...
413
+ $P.evaluate($INPUT,...);
414
+ ...
415
+ }
416
+ - pattern: |
417
+ $X $METHOD(...) {
418
+ ...
419
+ OgnlUtil $P = ...;
420
+ ...
421
+ $P.setProperties($INPUT,...);
422
+ ...
423
+ }
424
+ - pattern: |
425
+ $X $METHOD(...) {
426
+ ...
427
+ OgnlUtil $P = ...;
428
+ ...
429
+ $P.setProperty($INPUT,...);
430
+ ...
431
+ }
432
+ - pattern: |
433
+ $X $METHOD(...) {
434
+ ...
435
+ OgnlUtil $P = ...;
436
+ ...
437
+ $P.getValue($INPUT,...);
438
+ ...
439
+ }
440
+ - pattern: |
441
+ $X $METHOD(...) {
442
+ ...
443
+ OgnlUtil $P = ...;
444
+ ...
445
+ $P.setValue($INPUT,...);
446
+ ...
447
+ }
448
+ - pattern: |
449
+ $X $METHOD(...) {
450
+ ...
451
+ OgnlUtil $P = ...;
452
+ ...
453
+ $P.callMethod($INPUT,...);
454
+ ...
455
+ }
456
+ - pattern: |
457
+ $X $METHOD(...) {
458
+ ...
459
+ OgnlUtil $P = ...;
460
+ ...
461
+ $P.compile($INPUT,...);
462
+ ...
463
+ }
464
+ - pattern: |
465
+ $X $METHOD(...) {
466
+ ...
467
+ VelocityStrutsUtil $P = ...;
468
+ ...
469
+ $P.evaluate($INPUT,...);
470
+ ...
471
+ }
472
+ - pattern: |
473
+ $X $METHOD(...) {
474
+ ...
475
+ StrutsUtil $P = ...;
476
+ ...
477
+ $P.isTrue($INPUT,...);
478
+ ...
479
+ }
480
+ - pattern: |
481
+ $X $METHOD(...) {
482
+ ...
483
+ StrutsUtil $P = ...;
484
+ ...
485
+ $P.findString($INPUT,...);
486
+ ...
487
+ }
488
+ - pattern: |
489
+ $X $METHOD(...) {
490
+ ...
491
+ StrutsUtil $P = ...;
492
+ ...
493
+ $P.findValue($INPUT,...);
494
+ ...
495
+ }
496
+ - pattern: |
497
+ $X $METHOD(...) {
498
+ ...
499
+ StrutsUtil $P = ...;
500
+ ...
501
+ $P.getText($INPUT,...);
502
+ ...
503
+ }
504
+ - pattern: |
505
+ $X $METHOD(...) {
506
+ ...
507
+ StrutsUtil $P = ...;
508
+ ...
509
+ $P.translateVariables($INPUT,...);
510
+ ...
511
+ }
512
+ - pattern: |
513
+ $X $METHOD(...) {
514
+ ...
515
+ StrutsUtil $P = ...;
516
+ ...
517
+ $P.makeSelectList($INPUT,...);
518
+ ...
519
+ }
520
+ - pattern: |
521
+ $X $METHOD(...) {
522
+ ...
523
+ OgnlTool $P = ...;
524
+ ...
525
+ $P.findValue($INPUT,...);
526
+ ...
527
+ }
528
+ - pattern: |
529
+ $X $METHOD(...) {
530
+ ...
531
+ ValueStack $P = ...;
532
+ ...
533
+ $P.findString($INPUT,...);
534
+ ...
535
+ }
536
+ - pattern: |
537
+ $X $METHOD(...) {
538
+ ...
539
+ ValueStack $P = ...;
540
+ ...
541
+ $P.findValue($INPUT,...);
542
+ ...
543
+ }
544
+ - pattern: |
545
+ $X $METHOD(...) {
546
+ ...
547
+ ValueStack $P = ...;
548
+ ...
549
+ $P.setValue($INPUT,...);
550
+ ...
551
+ }
552
+ - pattern: |
553
+ $X $METHOD(...) {
554
+ ...
555
+ ValueStack $P = ...;
556
+ ...
557
+ $P.setParameter($INPUT,...);
558
+ ...
559
+ }
560
+ - pattern-not: |
561
+ $X $METHOD(...) {
562
+ ...
563
+ $P.getGetMethod($T,"...",...);
564
+ ...
565
+ }
566
+ - pattern-not: |
567
+ $X $METHOD(...) {
568
+ ...
569
+ $P.getSetMethod($T,"...",...);
570
+ ...
571
+ }
572
+ - pattern-not: |
573
+ $X $METHOD(...) {
574
+ ...
575
+ $P.getField($T,"...",...);
576
+ ...
577
+ }
578
+ - pattern-not: |
579
+ $X $METHOD(...) {
580
+ ...
581
+ $P.setProperties("...",...);
582
+ ...
583
+ }
584
+ - pattern-not: |
585
+ $X $METHOD(...) {
586
+ ...
587
+ $P.setProperty("...",...);
588
+ ...
589
+ }
590
+ - pattern-not: |
591
+ $X $METHOD(...) {
592
+ ...
593
+ $P.getValue("...",...);
594
+ ...
595
+ }
596
+ - pattern-not: |
597
+ $X $METHOD(...) {
598
+ ...
599
+ $P.setValue("...",...);
600
+ ...
601
+ }
602
+ - pattern-not: |
603
+ $X $METHOD(...) {
604
+ ...
605
+ $P.translateVariables("...",...);
606
+ ...
607
+ }
608
+ - pattern-not: |
609
+ $X $METHOD(...) {
610
+ ...
611
+ $P.translateVariablesCollection("...",...);
612
+ ...
613
+ }
614
+ - pattern-not: |
615
+ $X $METHOD(...) {
616
+ ...
617
+ $P.shallBeIncluded("...",...);
618
+ ...
619
+ }
620
+ - pattern-not: |
621
+ $X $METHOD(...) {
622
+ ...
623
+ $P.commaDelimitedStringToSet("...",...);
624
+ ...
625
+ }
626
+ - pattern-not: |
627
+ $X $METHOD(...) {
628
+ ...
629
+ $P.evaluate("...",...);
630
+ ...
631
+ }
632
+ - pattern-not: |
633
+ $X $METHOD(...) {
634
+ ...
635
+ $P.callMethod("...",...);
636
+ ...
637
+ }
638
+ - pattern-not: |
639
+ $X $METHOD(...) {
640
+ ...
641
+ $P.compile("...",...);
642
+ ...
643
+ }
644
+ - pattern-not: |
645
+ $X $METHOD(...) {
646
+ ...
647
+ $P.isTrue("...",...);
648
+ ...
649
+ }
650
+ - pattern-not: |
651
+ $X $METHOD(...) {
652
+ ...
653
+ $P.findString("...",...);
654
+ ...
655
+ }
656
+ - pattern-not: |
657
+ $X $METHOD(...) {
658
+ ...
659
+ $P.findValue("...",...);
660
+ ...
661
+ }
662
+ - pattern-not: |
663
+ $X $METHOD(...) {
664
+ ...
665
+ $P.getText("...",...);
666
+ ...
667
+ }
668
+ - pattern-not: |
669
+ $X $METHOD(...) {
670
+ ...
671
+ $P.makeSelectList("...",...);
672
+ ...
673
+ }
674
+ - pattern-not: |
675
+ $X $METHOD(...) {
676
+ ...
677
+ $P.setParameter("...",...);
678
+ ...
679
+ }
680
+ - pattern-not: |
681
+ $X $METHOD(...) {
682
+ ...
683
+ String $S = "...";
684
+ ...
685
+ $P.getGetMethod($T,$S,...);
686
+ ...
687
+ }
688
+ - pattern-not: |
689
+ $X $METHOD(...) {
690
+ ...
691
+ String $S = "...";
692
+ ...
693
+ $P.getSetMethod($T,$S,...);
694
+ ...
695
+ }
696
+ - pattern-not: |
697
+ $X $METHOD(...) {
698
+ ...
699
+ String $S = "...";
700
+ ...
701
+ $P.getField($T,$S,...);
702
+ ...
703
+ }
704
+ - pattern-not: |
705
+ $X $METHOD(...) {
706
+ ...
707
+ String $S = "...";
708
+ ...
709
+ $P.setProperties($S,...);
710
+ ...
711
+ }
712
+ - pattern-not: |
713
+ $X $METHOD(...) {
714
+ ...
715
+ String $S = "...";
716
+ ...
717
+ $P.setProperty($S,...);
718
+ ...
719
+ }
720
+ - pattern-not: |
721
+ $X $METHOD(...) {
722
+ ...
723
+ String $S = "...";
724
+ ...
725
+ $P.getValue($S,...);
726
+ ...
727
+ }
728
+ - pattern-not: |
729
+ $X $METHOD(...) {
730
+ ...
731
+ String $S = "...";
732
+ ...
733
+ $P.setValue($S,...);
734
+ ...
735
+ }
736
+ - pattern-not: |
737
+ $X $METHOD(...) {
738
+ ...
739
+ String $S = "...";
740
+ ...
741
+ $P.translateVariables($S,...);
742
+ ...
743
+ }
744
+ - pattern-not: |
745
+ $X $METHOD(...) {
746
+ ...
747
+ String $S = "...";
748
+ ...
749
+ $P.translateVariablesCollection($S,...);
750
+ ...
751
+ }
752
+ - pattern-not: |
753
+ $X $METHOD(...) {
754
+ ...
755
+ String $S = "...";
756
+ ...
757
+ $P.shallBeIncluded($S,...);
758
+ ...
759
+ }
760
+ - pattern-not: |
761
+ $X $METHOD(...) {
762
+ ...
763
+ String $S = "...";
764
+ ...
765
+ $P.commaDelimitedStringToSet($S,...);
766
+ ...
767
+ }
768
+ - pattern-not: |
769
+ $X $METHOD(...) {
770
+ ...
771
+ String $S = "...";
772
+ ...
773
+ $P.evaluate($S,...);
774
+ ...
775
+ }
776
+ - pattern-not: |
777
+ $X $METHOD(...) {
778
+ ...
779
+ String $S = "...";
780
+ ...
781
+ $P.callMethod($S,...);
782
+ ...
783
+ }
784
+ - pattern-not: |
785
+ $X $METHOD(...) {
786
+ ...
787
+ String $S = "...";
788
+ ...
789
+ $P.compile($S,...);
790
+ ...
791
+ }
792
+ - pattern-not: |
793
+ $X $METHOD(...) {
794
+ ...
795
+ String $S = "...";
796
+ ...
797
+ $P.isTrue($S,...);
798
+ ...
799
+ }
800
+ - pattern-not: |
801
+ $X $METHOD(...) {
802
+ ...
803
+ String $S = "...";
804
+ ...
805
+ $P.findString($S,...);
806
+ ...
807
+ }
808
+ - pattern-not: |
809
+ $X $METHOD(...) {
810
+ ...
811
+ String $S = "...";
812
+ ...
813
+ $P.findValue($S,...);
814
+ ...
815
+ }
816
+ - pattern-not: |
817
+ $X $METHOD(...) {
818
+ ...
819
+ String $S = "...";
820
+ ...
821
+ $P.getText($S,...);
822
+ ...
823
+ }
824
+ - pattern-not: |
825
+ $X $METHOD(...) {
826
+ ...
827
+ String $S = "...";
828
+ ...
829
+ $P.makeSelectList($S,...);
830
+ ...
831
+ }
832
+ - pattern-not: |
833
+ $X $METHOD(...) {
834
+ ...
835
+ String $S = "...";
836
+ ...
837
+ $P.setParameter($S,...);
838
+ ...
839
+ }