List Alerts
Retrieve a list of security alerts with optional filtering.cURL
Query Parameters
Filter by specific alert UUID
Filter by endpoint UUID
Filter by risk scores:
HIGH, MEDIUM, LOW, NONEFilter by alert status:
RESOLVED, IGNORED, etc.Filter by alert types (e.g.,
UNAUTHENTICATED_ENDPOINT, PII_DATA_DETECTED, OPEN_API_SPEC_DIFF)Filter by hostnames
Number of results to skip for pagination
Maximum number of results to return
Sort order:
ASC or DESCResponse
Array of alert objects
Response Example
Alert Types
Metlo can detect various types of security issues:PII_DATA_DETECTED
PII_DATA_DETECTED
Personally Identifiable Information (PII) detected in API requests or responses.
UNAUTHENTICATED_ENDPOINT
UNAUTHENTICATED_ENDPOINT
Endpoint is accessible without proper authentication.
OPEN_API_SPEC_DIFF
OPEN_API_SPEC_DIFF
Differences detected between actual API behavior and OpenAPI specification.
QUERY_SENSITIVE_DATA
QUERY_SENSITIVE_DATA
Sensitive data being sent in query parameters (should be in body).
PATH_SENSITIVE_DATA
PATH_SENSITIVE_DATA
Sensitive data exposed in URL paths.
BASIC_AUTHENTICATION_DETECTED
BASIC_AUTHENTICATION_DETECTED
Use of basic authentication (should use more secure methods).
UNSECURED_ENDPOINT
UNSECURED_ENDPOINT
Endpoint accessible over HTTP instead of HTTPS.
Update Alert
Update the status of a specific alert.cURL
Path Parameters
The unique identifier of the alert
Request Body
Type of update to apply:
RESOLVE: Mark the alert as resolvedIGNORE: Ignore the alertUNRESOLVE: Reopen a resolved alert
Optional message describing how the issue was resolved or why it’s being ignored
Response
The updated alert object
Response Example
Update Multiple Alerts
Update multiple alerts at once using filter criteria.cURL
Request Body
Type of update:
RESOLVE, IGNORE, or UNRESOLVEOptional resolution or ignore message
Filter by specific alert UUID
Filter by endpoint UUID
Filter by risk scores:
HIGH, MEDIUM, LOW, NONEFilter by current status
Filter by alert types
Filter by hostnames
Response
null on success with HTTP status 200.
Be careful with batch updates - they will affect all alerts matching the specified filters.
Alert Object Structure
Alert Fields
Unique identifier for the alert
Type of security issue detected
Severity level:
HIGH, MEDIUM, LOW, or NONEUUID of the affected endpoint
Summary information about the affected endpoint
Human-readable description of the alert
Current status of the alert
Message explaining resolution or why alert was ignored
Additional context specific to the alert type
ISO 8601 timestamp when alert was created
ISO 8601 timestamp when alert was last updated
Common Use Cases
Get All High-Risk Unresolved Alerts
Get Alerts for a Specific Endpoint
Resolve All Alerts for a Host
Ignore Low-Priority Alerts
Error Responses
400 Bad Request
404 Not Found
Best Practices
Alert Management Tips
- Prioritize by Risk Score: Focus on
HIGHrisk alerts first - Add Context: Always include meaningful resolution messages
- Regular Review: Periodically review ignored alerts to ensure they’re still acceptable
- Automate Responses: Use the API to integrate alert management into your workflows
- Monitor Trends: Track alert types over time to identify recurring issues