nihalaninihal commited on
Commit
197e7c5
·
1 Parent(s): aea9d7d

Fix schema drift renames to target actual Customer model fields

Browse files

SCHEMA_DRIFT_RENAMES referenced non-existent fields (email, address,
phone, id). Updated to use real Customer model fields: contact_email,
region, tier, notes.

Files changed (1) hide show
  1. sentinelops_arena/demo.py +4 -4
sentinelops_arena/demo.py CHANGED
@@ -124,10 +124,10 @@ class RandomizedAttacker:
124
 
125
  SCHEMA_DRIFT_RENAMES = [
126
  {"old_field": "name", "new_field": "full_name"},
127
- {"old_field": "email", "new_field": "contact_email"},
128
- {"old_field": "address", "new_field": "mailing_address"},
129
- {"old_field": "phone", "new_field": "phone_number"},
130
- {"old_field": "id", "new_field": "customer_id"},
131
  ]
132
 
133
  POLICY_DRIFT_CHANGES = [
 
124
 
125
  SCHEMA_DRIFT_RENAMES = [
126
  {"old_field": "name", "new_field": "full_name"},
127
+ {"old_field": "contact_email", "new_field": "email_address"},
128
+ {"old_field": "region", "new_field": "geo_region"},
129
+ {"old_field": "tier", "new_field": "membership_level"},
130
+ {"old_field": "notes", "new_field": "annotations"},
131
  ]
132
 
133
  POLICY_DRIFT_CHANGES = [