es requests from the &ldquo;dev&rdquo; namespace to the &ldquo;POST&rdquo; method on all workloads
in the &ldquo;foo&rdquo; namespace.</p><pre><code class=language-yaml>apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
 name: httpbin
 namespace: foo
spec:
 action: DENY
 rules:
 - from:
   - source:
       namespaces: [&quot;dev&quot;]
   to:
   - operation:
       methods: [&quot;POST&quot;]
</code></pre><p>The following authorization policy sets the <code>action</code> to &ldquo;AUD