What Gets Scanned
Metlo analyzes all parts of API requests and responses to detect sensitive data:Request Data
- Path parameters
- Query parameters
- Request headers
- Request body
Response Data
- Response headers
- Response body
- Multiple status codes
- Different content types
Supported Data Classes
Metlo detects the following types of sensitive data out of the box:- Email: Email addresses
- Credit Card Number: Payment card numbers
- Social Security Number: SSN and national identifiers
- Phone Number: International phone numbers
- IP Address: IPv4 and IPv6 addresses
- Geographic Coordinates: Latitude/longitude pairs
- VIN: Vehicle identification numbers
- Address: Physical addresses
- Date of Birth: DOB fields
- Driver License Number: DL numbers
- Aadhar Number: Indian national IDs
- Brazil CPF: Brazilian tax IDs
You can extend Metlo’s detection capabilities by adding custom data classes with your own regex patterns and validation rules.
How Scanning Works
Data Field Extraction
For each API request, Metlo:- Parses the structure of request/response data
- Creates data field entries for each field in the payload
- Stores field metadata including data type, path, and section
- Tracks field evolution as new values are seen over time
Pattern Matching
Metlo uses multiple detection methods:- Regex patterns: Match field values against known sensitive data patterns
- Field name analysis: Identify fields with names like
ssn,creditCard,email - Validation rules: Confirm matches with checksums (e.g., Luhn algorithm for credit cards)
- Context awareness: Consider field location and surrounding data
Risk Score Calculation
Each endpoint receives a risk score based on:- Type of sensitive data: Credit cards are higher risk than email addresses
- Data location: Path/query parameters are riskier than response bodies
- Volume: Number of different sensitive fields exposed
- Authentication status: Unauthenticated endpoints with PII are critical
Risk Score Levels
None
No sensitive data detected
Low
Minimal sensitive data exposure
Medium
Moderate sensitive data, requires review
High
Critical PII exposure, immediate attention needed
Viewing Scan Results
In the Metlo dashboard:Endpoint Details Page
- Data Fields Tab: See all detected fields and their data classes
- PII Chart: Visual breakdown of sensitive data types
- Field Details: Click any field to see examples and detection metadata
Sensitive Data Summary
The summary page shows:- Total endpoints by risk score
- Most common data classes across your APIs
- Endpoints with unauthenticated sensitive data access
- Trends in sensitive data exposure over time
Alerts
Metlo generates automatic alerts when sensitive data is detected:PII Data Detected
Triggered when a new data class is found on an endpoint:Sensitive Data in Query Params
High-priority alert when PII appears in URL parameters:Sensitive Data in Path Params
Triggered when path segments contain PII:Unauthenticated Endpoint with Sensitive Data
Critical alert when endpoints without authentication return PII:Data Redaction
To protect sensitive data in stored traces:Full Trace Capture
By default, Metlo redacts request/response bodies for endpoints with sensitive data. You can:- Enable globally: Capture full traces for all endpoints (not recommended for production)
- Enable per endpoint: Capture full traces for specific endpoints you need to debug
Even when traces are redacted, metadata about sensitive data fields is preserved for security analysis.
Field-Level Blocking
Use Block Fields to prevent specific data from being captured:- Configure blocked paths like
req.body.creditCard - Metlo automatically redacts matching fields
- Applies to both storage and external data sharing
Best Practices
Regular Audits
Review high-risk endpoints monthly to ensure PII handling is appropriate
Minimize Exposure
Avoid passing sensitive data in URLs—use request bodies with POST instead
Authentication Required
Ensure all endpoints returning PII require proper authentication
Custom Data Classes
Add custom patterns for business-specific sensitive data types
Custom Data Classes
Extend detection for your specific needs:False Positive Management
If Metlo incorrectly identifies data as sensitive:- Mark the field as a false positive in the UI
- The field will no longer contribute to risk scores
- Repeated false positives help train the detection system