响范围</h2><p>运行下面的命令可以打印下面的输出，检测在您的集群中是否使用了 Istio 正则表达式相关的 API。</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 data-repo=istio>$ cat &lt;&lt;&#39;EOF&#39; | bash -
set -e
set -u
set -o pipefail

red=`tput setaf 1`
green=`tput setaf 2`
reset=`tput