Skip to main content

FP&A Platform — Data Classification Matrix

Version: 1.0
Last Updated: 2026-02-03
Document ID: GOV-001
Classification: Confidential


1. Overview

This document defines the data classification framework for the FP&A Platform, mapping all data elements to classification levels and specifying handling requirements for each level.

Classification Levels

LevelLabelColor CodeDescription
1PUBLIC🟢 GreenInformation that can be freely shared externally
2INTERNAL🔵 BlueBusiness information for internal use only
3CONFIDENTIAL🟡 YellowSensitive business information requiring protection
4RESTRICTED🔴 RedHighly sensitive data with regulatory requirements

2. Data Classification by Domain

2.1 User Data

Data ElementTable.ColumnClassificationRegulatory TagsJustification
User IDusers.idINTERNAL-Internal identifier
Email Addressusers.emailRESTRICTEDPII, GDPR, LGPDPersonal identifier
First Nameusers.first_nameRESTRICTEDPII, GDPR, LGPDPersonal identifier
Last Nameusers.last_nameRESTRICTEDPII, GDPR, LGPDPersonal identifier
Phone Numberusers.phoneRESTRICTEDPII, GDPR, LGPDPersonal contact
Password Hashusers.password_hashRESTRICTEDSecurityAuthentication credential
MFA Secretusers.mfa_secretRESTRICTEDSecurityAuthentication credential
Avatar URLusers.avatar_urlINTERNAL-Non-sensitive
Timezoneusers.timezoneINTERNAL-Preference
Last Loginusers.last_login_atINTERNAL-Operational
Role Assignmentsuser_roles.*CONFIDENTIALSOXAccess control
Session Tokenssessions.tokenRESTRICTEDSecurityAuthentication

2.2 Tenant & Entity Data

Data ElementTable.ColumnClassificationRegulatory TagsJustification
Tenant IDtenants.idINTERNAL-Internal identifier
Tenant Nametenants.nameINTERNAL-Business name
Subscription Tiertenants.plan_tierCONFIDENTIAL-Commercial terms
Entity IDlegal_entities.idINTERNAL-Internal identifier
Legal Entity Namelegal_entities.nameINTERNALSOXLegal name
Tax ID (EIN/CNPJ)legal_entities.tax_idRESTRICTEDPII, TaxGovernment identifier
Bank Account Numberbank_accounts.account_numberRESTRICTEDPCI, SOXFinancial account
Routing Numberbank_accounts.routing_numberCONFIDENTIALPCIBanking info
SWIFT Codebank_accounts.swift_codeINTERNAL-Public banking info

2.3 Financial Data

Data ElementTable.ColumnClassificationRegulatory TagsJustification
Account Numberaccounts.account_numberINTERNALSOXChart of accounts
Account Nameaccounts.nameINTERNALSOXAccount description
Account Balanceaccounts.balanceCONFIDENTIALSOX, SECFinancial state
Journal Entry IDjournal_entries.idINTERNALSOXTransaction reference
Journal Entry Amountjournal_lines.debit/creditCONFIDENTIALSOX, SECFinancial transaction
Journal Descriptionjournal_entries.descriptionCONFIDENTIALSOXBusiness context
Period Statusperiods.statusINTERNALSOXOperational
Trial BalanceComputedCONFIDENTIALSOX, SECFinancial summary
Financial StatementsComputedCONFIDENTIALSOX, SEC, GAAPReportable financials
Budget Amountsbudget_lines.amountCONFIDENTIAL-Planning data
Forecast Valuesforecasts.*CONFIDENTIAL-Projections

2.4 Bank & Transaction Data

Data ElementTable.ColumnClassificationRegulatory TagsJustification
Bank Transaction IDbank_transactions.idINTERNAL-Internal reference
Transaction Amountbank_transactions.amountCONFIDENTIALSOXFinancial data
Transaction Datebank_transactions.transaction_dateINTERNAL-Temporal data
Transaction Descriptionbank_transactions.descriptionCONFIDENTIAL-May contain PII
Payee Namebank_transactions.payeeCONFIDENTIALPIIThird party identity
Check Numberbank_transactions.check_numberINTERNAL-Reference
Plaid Account IDbank_accounts.plaid_account_idRESTRICTEDSecurityIntegration credential

2.5 Integration & Credentials

Data ElementTable.ColumnClassificationRegulatory TagsJustification
Connection IDconnections.idINTERNAL-Internal reference
Connector Typeconnections.connector_typeINTERNAL-Configuration
OAuth Tokenscredentials.oauth_tokenRESTRICTEDSecurityAuthentication
API Keyscredentials.api_keyRESTRICTEDSecurityAuthentication
Refresh Tokenscredentials.refresh_tokenRESTRICTEDSecurityAuthentication
Sync Logssync_logs.*INTERNAL-Operational

2.6 AI/Agent Data

Data ElementTable.ColumnClassificationRegulatory TagsJustification
Agent Session IDagent_sessions.idINTERNAL-Internal reference
User Inputagent_sessions.inputCONFIDENTIAL-May contain sensitive queries
Agent Outputagent_sessions.outputCONFIDENTIAL-May contain financial data
Tool Callsagent_actions.tool_callsCONFIDENTIAL-Operational details
Model Predictionsagent_actions.predictionsCONFIDENTIAL-Business insights
Confidence Scoresagent_actions.confidenceINTERNAL-Quality metric
Checkpoint Stateagent_checkpoints.stateCONFIDENTIAL-Session context
Human Feedbackagent_feedback.*INTERNAL-Training data

2.7 Compliance & Audit Data

Data ElementTable.ColumnClassificationRegulatory TagsJustification
Control IDcompliance_controls.idINTERNAL-Reference
Control Definitioncompliance_controls.descriptionINTERNALSOX, HIPAA, FDAControl documentation
Test Resultscontrol_tests.resultCONFIDENTIALSOX, HIPAA, FDACompliance evidence
Finding Detailsfindings.*CONFIDENTIALSOX, HIPAA, FDACompliance gaps
Evidence Filesevidence.file_pathCONFIDENTIALSOX, HIPAA, FDAAudit artifacts
Audit Log Entryaudit_events.*RESTRICTEDSOX, FDA, HIPAAImmutable record
User Actionsaudit_events.actionRESTRICTEDSOX, FDAActivity tracking
IP Addressaudit_events.ip_addressRESTRICTEDPII, SecurityAccess tracking

2.8 System & Operational Data

Data ElementTable.ColumnClassificationRegulatory TagsJustification
Application LogsLog filesINTERNAL-Operational
Error MessagesLog filesINTERNAL-Debugging
Performance MetricsPrometheusINTERNAL-Monitoring
ConfigurationConfigMapsCONFIDENTIALSecuritySystem settings
Infrastructure StateTerraformCONFIDENTIALSecurityArchitecture details

3. Handling Requirements by Classification Level

3.1 PUBLIC (Level 1)

RequirementSpecification
StorageNo restrictions
Encryption at RestNot required
Encryption in TransitHTTPS recommended
Access ControlNone required
RetentionBusiness discretion
DisposalStandard deletion
LoggingNot required
Masking (Non-Prod)Not required

Examples: Marketing materials, public documentation, published financial reports

3.2 INTERNAL (Level 2)

RequirementSpecification
StorageCompany-managed systems only
Encryption at RestVolume-level (AES-256)
Encryption in TransitTLS 1.2+ required
Access ControlAuthentication required
RetentionPer retention policy (typically 3 years)
DisposalSecure deletion
LoggingAccess logging recommended
Masking (Non-Prod)Not required

Examples: Internal reports, operational data, system configurations

3.3 CONFIDENTIAL (Level 3)

RequirementSpecification
StorageEncrypted storage only
Encryption at RestAES-256 (CMEK)
Encryption in TransitTLS 1.3 required
Access ControlRole-based access (RBAC)
RetentionPer regulatory requirements (7 years for financial)
DisposalCryptographic erasure or physical destruction
LoggingAll access logged
Masking (Non-Prod)Required - anonymization or synthetic data

Examples: Financial statements, budgets, forecasts, business strategies

3.4 RESTRICTED (Level 4)

RequirementSpecification
StorageEncrypted, isolated storage
Encryption at RestField-level AES-256-GCM
Encryption in TransitTLS 1.3 + mTLS for internal
Access ControlNeed-to-know, explicit authorization
RetentionRegulatory minimum (varies: 7 years SOX, 6 years HIPAA)
DisposalCertified destruction with audit trail
LoggingAll access logged to immutable audit trail
Masking (Non-Prod)Required - full anonymization
AdditionalDLP monitoring, breach notification

Examples: PII, PHI, credentials, audit logs, tax IDs


4. Regulatory Mappings

4.1 PII Fields (GDPR/CCPA/LGPD)

FieldData Subject RightsConsent RequiredPortability
EmailAccess, Rectification, ErasureYes (marketing)Yes
NameAccess, Rectification, ErasureNo (legitimate interest)Yes
PhoneAccess, Rectification, ErasureYesYes
IP AddressAccess, ErasureNo (legitimate interest)No
LocationAccess, ErasureYesYes

Implementation:

  • Right to Access: GET /api/data-subject/{id}/export
  • Right to Erasure: DELETE /api/data-subject/{id} (with cascading anonymization)
  • Data Portability: JSON export of all user data

4.2 PHI Fields (HIPAA)

FieldCoveredMinimum NecessaryDe-identification
Patient NameYesRole-basedSafe Harbor: Remove
Medical Record #YesRole-basedSafe Harbor: Remove
Diagnosis CodesYesTreatment purposeExpert Determination
Provider NotesYesTreatment purposeExpert Determination

Note: FP&A Platform handles PHI only for healthcare customers' financial data that may include aggregate health metrics. Full PHI handling requires dedicated healthcare module.

4.3 SOX-Relevant Data

Data CategoryControl RequirementRetention
Journal EntriesSegregation of duties, approval workflow7 years
Period Close RecordsDocumented procedures, sign-off7 years
Access LogsUser activity tracking7 years
Financial ReportsVersion control, approval chain7 years

4.4 FDA 21 CFR Part 11

Data CategoryRequirementImplementation
Electronic RecordsTamper-evidentimmudb immutable storage
Audit TrailsWho, what, when, whyComprehensive event logging
Electronic SignaturesUnique, verifiable, meaningDigital signature with meaning field
System ValidationDocumented validationIQ/OQ/PQ documentation

5. Access Control Matrix

5.1 Role-Based Access by Classification

RolePUBLICINTERNALCONFIDENTIALRESTRICTED
Viewer✅ Read✅ Read
FP&A Analyst✅ Read✅ Read✅ Read (own entity)
Finance Manager✅ Read✅ Read/Write✅ Read/Write⚠️ Limited
Controller✅ Read✅ Read/Write✅ Read/Write✅ Read
CFO✅ Read✅ Read/Write✅ Read/Write✅ Read
Admin✅ Read✅ Read/Write✅ Read/Write✅ Read/Write
Auditor✅ Read✅ Read✅ Read✅ Read
System Service-✅ As needed✅ As needed✅ As needed

5.2 Sensitive Operations Requiring MFA

OperationMFA RequiredAdditional Approval
Access RESTRICTED dataYes-
Export user dataYesManager approval
Bulk data downloadYesManager approval
Change security settingsYesAdmin approval
Access audit logsYes-
View credentialsYesSystem-only

6. Data Labeling Standards

6.1 Database Column Tags

-- PostgreSQL column comments for classification
COMMENT ON COLUMN users.email IS 'CLASSIFICATION:RESTRICTED;REGULATORY:PII,GDPR,LGPD';
COMMENT ON COLUMN users.first_name IS 'CLASSIFICATION:RESTRICTED;REGULATORY:PII';
COMMENT ON COLUMN journal_lines.debit IS 'CLASSIFICATION:CONFIDENTIAL;REGULATORY:SOX';
COMMENT ON COLUMN audit_events.action IS 'CLASSIFICATION:RESTRICTED;REGULATORY:SOX,FDA';

6.2 API Response Headers

HTTP/1.1 200 OK
Content-Type: application/json
X-Data-Classification: CONFIDENTIAL
X-Contains-PII: false
X-Audit-Required: true

6.3 Log Redaction Rules

REDACTION_RULES = {
'RESTRICTED': {
'email': lambda x: hash_email(x),
'ssn': lambda x: 'XXX-XX-' + x[-4:],
'account_number': lambda x: '*' * (len(x)-4) + x[-4:],
'api_key': lambda x: x[:4] + '***' + x[-4:],
},
'CONFIDENTIAL': {
'amount': lambda x: x, # Keep for debugging
'description': lambda x: x[:50] + '...' if len(x) > 50 else x,
}
}

7. Data Flow Classification

7.1 External Data Flows

FlowSourceDestinationClassificationControls
Bank Feed ImportPlaid/BanksPlatformCONFIDENTIALTLS 1.3, OAuth2
ERP SyncQuickBooks/NetSuitePlatformCONFIDENTIALTLS 1.3, OAuth2
Report ExportPlatformUser DownloadCONFIDENTIALEncrypted, watermarked
API IntegrationPlatformCustomer SystemsCONFIDENTIALTLS 1.3, API Key
Audit ExportPlatformAuditor SystemsRESTRICTEDEncrypted, signed

7.2 Cross-Boundary Requirements

BoundaryRequirement
Internet ↔ PlatformTLS 1.3, WAF, rate limiting
Platform ↔ DatabasePrivate network, TLS, IAM
Platform ↔ AI ModelsPrivate endpoint, auth token
Production ↔ Non-ProdNo RESTRICTED data transfer
US ↔ BrazilLGPD compliance for transfers

8. Compliance Checklist

8.1 New Data Element Checklist

  • Classification level assigned
  • Regulatory tags identified
  • Access control configured
  • Encryption requirements met
  • Retention policy defined
  • Masking rules for non-prod
  • Audit logging configured
  • Data dictionary updated
  • Privacy impact assessed

8.2 Periodic Review

ReviewFrequencyOwner
Classification auditQuarterlyData Governance
Access reviewQuarterlySecurity
Retention complianceAnnuallyCompliance
Data inventory updateMonthlyData Governance

Data Classification Matrix v1.0 — FP&A Platform Document ID: GOV-001 Classification: Confidential