-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlondon_bicycles.yaml
50 lines (47 loc) · 1.35 KB
/
london_bicycles.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
- backend:
big_query:
name: "london_bicycles"
service_account_key: $SERVICE_ACCOUNT_KEY
project_id: "bigquery-public-data"
dataset_id: "london_bicycles"
staging_project_id: $STAGING_PROJECT_ID
staging_dataset_id: $STAGING_DATASET_ID
- dataset:
name: "safe_dataset"
data:
- resource.backend.big_query.london_bicycles.data["cycle_hire"]
- resource.backend.big_query.london_bicycles.data["cycle_stations"]
entities: []
policy_bindings:
- name: "default_view"
groups:
- resource.group.wheel
policies:
- policy.whitelist.abstract_trips_are_ok
- policy.obfuscate.station_names_should_be_obfuscated
- policy.obfuscate.names_should_be_obfuscated
- policy.obfuscate.locations_should_be_obfuscated
priority: 10
policies:
- whitelist:
name: "abstract_trips_are_ok"
fields:
- "start_date"
- "end_date"
- "start_station_id"
- "end_station_id"
- "rental_id"
- obfuscate:
name: "station_names_should_be_obfuscated"
fields:
- "start_station_name"
- "end_station_name"
- obfuscate:
name: "names_should_be_obfuscated"
fields:
- "name"
- obfuscate:
name: "locations_should_be_obfuscated"
fields:
- "longitude"
- "latitude"