Skip to content

Commit

Permalink
Added Personalization and Security types
Browse files Browse the repository at this point in the history
  • Loading branch information
jkwakman authored Jul 8, 2024
1 parent 0fba226 commit 88bb6a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def validate_uuid(uuid_string):
def validate_csv(file_path):
df = pd.read_csv(file_path)
columns = ['ID', 'Platform', 'Category', 'Cookie / Data Key name', 'Domain', 'Description', 'Retention period', 'Data Controller', 'User Privacy & GDPR Rights Portals', 'Wildcard match']
valid_categories = ['Functional', 'Analytics', 'Marketing', 'Security']
valid_categories = ['Functional','Personalization','Analytics', 'Marketing', 'Security']

# Check if CSV has valid structure and contains necessary columns
if not set(columns).issubset(df.columns):
Expand Down

0 comments on commit 88bb6a4

Please sign in to comment.