Example DPO Policy
This example DPO policy is a simple policy that allows a DPO to view all data in the organization, created from the flowcore cli. (See IAM for more information on how to create a policy)
apiVersion: iam.flowcore.io/v1kind: Policymetadata:  name: dpo-access-policy  tenant: <tenant-name>spec:  version: "1.0.0"  description: "Data Protection Officer access to the <tenant-name> tenant"  policyDocuments:    - resource: "frn::<tenant-name>:*"      action:        - "sensitive-data-fetch"
---apiVersion: iam.flowcore.io/v1kind: RoleBindingmetadata:  name: dpo-access-policy-binding  tenant: <tenant-name>spec:  role: dpo-role  subjects:    - type: user      id: <user-id>
---apiVersion: iam.flowcore.io/v1kind: Rolemetadata:  name: dpo-role  tenant: <tenant-name>spec:  version: "1.0.0"  description: "Role to PII access to the DPO to the <tenant-name> tenant"  policies:    - dpo-access-policythen run the following command to create the policy:
flowcore apply -f dpo-policy.yaml --v2