Top Level Namespace
Defined Under Namespace
Modules: Path
Constant Summary collapse
- API_METADATA_TO_ELEVATE =
[ "device_id", "app_version", "platform", "os_name", "os_version", "device_brand", "device_manufacturer", "device_model", "carrier", "country", "region", # We do not elevate city because at that level it is possibly PII "dma", "language", "price", "quantity", "revenue", "productId", "revenueType", # We do not elevate lat/long/IP because it is PII (IP at least for analytics) "event_id", "session_id", "insert_id", "plan" ].freeze
- DISALLOWED_METADATA_PII_KEYS =
Amplitue is not HIPAA compliant, so there are a number of PII things we want to make sure to filter out. These are keys (all lowercase) that are things we want to filter. Lowercased matching keys in data are obfuscated.
%w[ email name first_name firstname last_name lastname zip ssn dob address phone contactinfo patient_chart_id ].freeze
- MAX_METADATA_DEPTH =
Don't clean to infinity (and beyond)
4