ZprPolicy Sample¶
This page is generated from the checked-in sample manifest at config/samples/zpr_v1beta1_zprpolicy.yaml.
| Field | Value |
|---|---|
| Resource | zpr/ZprPolicy |
| API Version | zpr.oracle.com/v1beta1 |
| Source Path | config/samples/zpr_v1beta1_zprpolicy.yaml |
#
# Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
#
#
# Replace the OCI identifiers below before running e2e.
#
apiVersion: zpr.oracle.com/v1beta1
kind: ZprPolicy
metadata:
name: zprpolicy-sample
spec:
compartmentId: ocid1.compartment.oc1..exampleuniqueID
name: zprpolicy-sample
description: Sample Zero Trust Packet Routing policy
statements:
- "ALLOW any-user to communicate in tenancy where source.resource.compartment.id = target.resource.compartment.id"