{
"data": {
"attributes": {
"active_detections_count": 12,
"category": "security",
"created_at": "2024-01-15T09:30:00Z",
"created_by": "11111111-2222-3333-4444-555555555555",
"description": "Identifies API keys that have not been used within your specified time threshold, helping reduce security risks from dormant credentials.",
"detection_frequency": "daily",
"detection_parameters": {},
"detection_type": "unused_api_keys",
"feature_flags": [
[]
],
"insights": [
[]
],
"last_detection_at": "2024-03-01T12:00:00Z",
"mitigated_detections_count": 3,
"mitigation_parameters": {},
"mitigation_type": "revoke_api_key",
"mitigations": [
{
"action_verb": "revoke",
"description": "Automatically identifies and revokes inactive API keys to improve security and reduce potential attack surface.",
"execution_modes": [
"manual",
"automatic"
],
"feature_flags": [
[]
],
"id": "revoke_api_key",
"manual_mitigation_warning": "These API keys will be revoked immediately upon confirmation. To revoke future API keys, you must go through this flow again.",
"permissions": [
"api_keys_write",
"api_keys_delete"
],
"requires_ai": false,
"supported_parameters": [
{
"default_value": 30,
"description": "Number of days of inactivity before an API key is considered unused.",
"display_name": "Unused API Key Threshold",
"hidden": false,
"name": "api_key_threshold",
"required": false,
"supported_values": [
{
"label": "30 days",
"value": "thirty"
}
],
"type": "integer"
}
],
"title": "Revoke Unused API Keys"
}
],
"name": "Unused API Keys",
"next_steps": "Review and revoke API keys that are no longer in use to maintain a secure authentication posture.",
"notification_frequency": "",
"notification_parameters": {},
"notification_type": "",
"priority": "High",
"product": "api_keys",
"release_status": "prod",
"resource_type": "api_key",
"resource_type_display_name": "API Key",
"supported_detection_parameters": [
{
"default_value": 30,
"description": "Number of days of inactivity before an API key is considered unused.",
"display_name": "Unused API Key Threshold",
"hidden": false,
"name": "api_key_threshold",
"required": false,
"supported_values": [
{
"label": "30 days",
"value": "thirty"
}
],
"type": "integer"
}
],
"supported_notification_parameters": [
{
"default_value": 30,
"description": "Number of days of inactivity before an API key is considered unused.",
"display_name": "Unused API Key Threshold",
"hidden": false,
"name": "api_key_threshold",
"required": false,
"supported_values": [
{
"label": "30 days",
"value": "thirty"
}
],
"type": "integer"
}
],
"task": "Review and revoke unused API keys.",
"type": "Proactive",
"usage_concern": "Security"
},
"id": "0d4e6f8a-1b2c-3d4e-5f6a-7b8c9d0e1f2a",
"type": "governance_control"
}
}