Compliance overview
Tracer is designed to meet the audit requirements of financial regulations including:
| Regulation | Requirement | How Tracer complies |
|---|---|---|
| SOX (Sarbanes-Oxley) | Complete audit trail of financial decisions | Every validation is recorded with full context |
| GLBA (Gramm-Leach-Bliley) | Protection of customer financial data | Data encrypted at rest and in transit |
| General audit | Ability to reconstruct decisions | Immutable records with input/output snapshots |
Audit trail architecture
Tracer records every validation decision with full context for compliance and investigation.
What gets recorded
Every validation creates an immutable audit record containing:| Data | Description |
|---|---|
| Request snapshot | Complete input payload as received |
| Response snapshot | Full response including decision and details |
| Decision | ALLOW, DENY, or REVIEW |
| Reason | Why the decision was made |
| Evaluated rules | All rules that were evaluated |
| Matched rules | Rules that triggered (if any) |
| Limit details | Usage information for checked limits |
| Processing time | How long validation took |
| Timestamp | When the validation occurred |
Immutability guarantees
Audit records are write-once:- Records cannot be modified after creation
- Records cannot be deleted (except by retention policy)
- Each record has a unique validation ID for reference
The audit trail is designed for compliance audits. You can reconstruct exactly what happened for any validation, even years later.
Data retention
Tracer retains data according to regulatory requirements and operational needs.
Retention periods
| Data type | Retention period | Reason |
|---|---|---|
| Validation records | 7 years minimum | SOX/GLBA compliance requirement |
| Rules (active/inactive) | Indefinite | Operational continuity |
| Rules (deleted) | Not retained | Permanently removed |
| Limits | Indefinite | Operational continuity |
| Application logs | 90 days | Debugging and troubleshooting |
Compliance considerations
- SOX requirement: Maintain records for 7 years from the date of the audit report
- GLBA requirement: Retain records demonstrating compliance with privacy rules
- Data export: Records can be exported for external audit systems
Querying validation history
Use the
GET /v1/validations endpoint to query historical validations.
Basic query
Filtered query
Available filters
| Parameter | Type | Description |
|---|---|---|
startDate | RFC3339 | Start of date range (inclusive) |
endDate | RFC3339 | End of date range (exclusive) |
decision | enum | Filter by ALLOW, DENY, or REVIEW |
accountId | UUID | Filter by account |
segmentId | UUID | Filter by segment |
portfolioId | UUID | Filter by portfolio |
transactionType | enum | Filter by CARD, WIRE, PIX, CRYPTO |
matchedRuleId | UUID | Filter by rule that matched |
exceededLimitId | UUID | Filter by limit that was exceeded |
Date format requirement
Valid:Pagination
Results use cursor-based pagination. The response includesnextCursor and hasMore fields to navigate through results.
| Parameter | Default | Maximum | Description |
|---|---|---|---|
limit | 100 | 1000 | Results per page |
cursor | - | - | Pagination cursor from previous response |
When using cursor pagination,
sortBy and sortOrder are fixed from the original query.Sorting
| Parameter | Options | Default |
|---|---|---|
sortBy | createdAt, processingTimeMs | createdAt |
sortOrder | ASC, DESC | DESC |
Getting validation details
Retrieve complete details for a specific validation using
GET /v1/validations/{validationId}.
The response contains everything needed to understand a validation decision:
- Request snapshot: The complete input payload as received
- Response snapshot: Full response including decision and reason
- Evaluated rules: All rules that were checked
- Matched rules: Rules that triggered (if any)
- Limit details: Usage information for checked limits
- Timestamps: When the validation occurred and processing time
Compliance reporting scenarios
Common queries for audit and compliance reporting.
Scenario 1: Audit investigation
“Why was this transaction denied on January 15th?”Scenario 2: Monthly compliance report
“Show all denied transactions for corporate accounts in January”Scenario 3: Rule effectiveness analysis
“Which transactions were denied by a specific fraud rule?”Scenario 4: Limit utilization review
“Which transactions exceeded spending limits this month?”Best practices for compliance
Recommendations for maintaining audit readiness.
Record keeping
- Store validation IDs in your transaction records for easy cross-reference
- Log the requestId you send to Tracer for correlation
- Export regularly if you need records in external audit systems
Audit preparation
- Test queries before audit season to ensure you can retrieve needed data
- Verify date ranges work correctly with your timezone requirements
- Document your retention policy alignment with Tracer’s 7-year retention
Investigation workflow
When investigating a specific transaction:- Find the validation ID from your transaction logs or Tracer history
- Retrieve full details using GET /v1/validations/
- Review the request snapshot to see what data was provided
- Check matched rules to understand why the decision was made
- Verify limit status if limits were involved
Fail-open behavior and audit
Tracer uses a configurable fail-open approach by default:
| Scenario | Default behavior | Audit record |
|---|---|---|
| No rules match | ALLOW | Recorded with reason “no_match” |
| Database temporarily unavailable | ALLOW with warning | Recorded if possible; alert generated |
| Evaluation timeout | ALLOW with warning | Recorded with reason “timeout” |
Fail-open behavior can be configured to fail-closed for high-security environments. Contact your administrator for configuration options.
Quick reference
Key endpoints and retention information.
Endpoints
| Operation | Method | Endpoint |
|---|---|---|
| List validations | GET | /v1/validations |
| Get validation | GET | /v1/validations/{validationId} |
Retention summary
| Data | Retention |
|---|---|
| Validation records | 7+ years |
| Active rules/limits | Indefinite |
| Application logs | 90 days |

