Does anybody know how to write a rule in HP Fortify SCA to check for an XML tag value in an XLM file?
I have an XML like this with a regular expression and want to write a rule which checks whether the element matches a regex.
<xml>
<email>[a-z]@.com]</email>
</xml>
This is done with an XML style ConfigurationRule. I'm not sure if you want to match the value against a regular expression, or determine that the value is itself a regular expression. But regardless I will provide the structure of the rule and you are on your own for the pattern.