Description of problem:
Incorrect pattern gets matched when this rule is run while analyzing tackle-testapp with eap8 target . See attached screenshot.
ruleID: weblogic-webservices-eap7-03000
when:
java.referenced:
location: METHOD_CALL
pattern: weblogic.wsee.connection.transport.http.HttpTransportInfo.setUsername*
Version-Release number of selected component (if applicable):
MTA 7.1
How reproducible:
Always
Steps to Reproduce:
Analysis was run through CLI
mta-cli analyze --input ./tackle-testapp-main --output ./static_report/tc-default-rules-source --mode source-only --target eap8 --overwrite
Actual results:
Pattern is incorrectly matched
Expected results:
Rule should be run since --target eap8 is passed to mta-cli , but the pattern shouldn't get matched.