 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 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 sgr0`

echo &#34;Checking regex usage in Istio API ...&#34;

AFFECTED=()

JWT_REGEX=()
JWT_REGEX+=($(kubectl get Policy --all-namespaces