</h2><p><strong>ISTIO-SECURITY-2019-003</strong>: To detect if there is any regular expressions used in Istio APIs in your cluster, run the following command which prints either of the following output:</p><ul><li>YOU ARE AFFECTED: found regex used in <code>AuthenticationPolicy</code> or <code>VirtualService</code></li><li>YOU ARE NOT AFFECTED: did not find regex usage</li></ul><pre><code class=language-bash data-expandlinks=true>$ cat &lt;&lt;&#39;EOF&#39; | bash -
set -e
set -u
set -o pipefail

red=`tput 