title: Istio AuthorizationPolicy with Wildcard
body: <p>authorizationpolicy does not supports any wildcard pattern on paths?</p>
  <p>i have the following endpoints:</p>
  <pre><code>/my-service/docs/active (GET)
  /my-service/docs/&lt;id&gt;/activate/&lt;bool&gt; (PUT)
  </code></pre>
  <p>the  first one will get all active docs, and second will activate/deactivate the specific doc.
  i’ve tried to set it on the authorizationpolicy and it seems to ignore this policy due to willdcard.</p>
  <pre><code>apiVersion: security.istio.io/v1beta1
  kind: AuthorizationPolicy
  metadata:
    name: my-service-private
    namespace: default
  spec:
    action: DENY
    selector:
      matchLabels:
        app:my-service
    rules:
      - from:
          - source:
              notNamespaces: [ &quot;default&quot; ]
        to:
          - operation:
              methods: [&quot;GET&quot;]
              paths: [&quot;/my-service/docs/active&quot;]
          - operation:
              methods: [&quot;PUT&quot;]
              paths: [&quot;/my-service/docs/*/activate/*&quot;]  
  </code></pre>
  <p>any different  solution here except updating all my endpoints?</p>
  <p>10x</p>