metadata/policy_taxonomies/policy_taxonomies.yaml (24 lines of code) (raw):
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
project: {{ project_id_tgt }}
taxonomies:
- display_name: "aef_data_sensitivity"
description: "pii data taxonomy"
policy_tags:
- display_name: "geolocation"
description: "physical location"
## Add readers who can see the plain text data.
# See the link below for how to specify members:
# https://github.com/googleapis/python-grpc-google-iam-v1/blob/98deb9f3664dd00ef2feedf1632eb689ef7fcbf2/google/iam/v1/policy.proto#L162
unmasked_readers: []
data_policies:
- display_name: "hash_mask"
masking_rule: SHA256
## Add readers who can see the masked data.
# See the link below for how to specify members:
# https://github.com/googleapis/python-grpc-google-iam-v1/blob/98deb9f3664dd00ef2feedf1632eb689ef7fcbf2/google/iam/v1/policy.proto#L162
masked_readers: []
child_policy_tags:
- display_name: "lat_long"
description: "lat & long"
- display_name: "address"
description: "physical address"
# Another taxonomy.
- display_name: "aef_data_origin"
description: "data origin taxonomy"
policy_tags:
- display_name: "user"
description: "User data"
- display_name: "employee"
description: "Employee data"