---
title: "Get Services report grouped by violation type."
slug: "get-services-report-grouped-by-violation-type"
updated: 2025-10-18T04:50:53Z
published: 2025-10-18T04:50:58Z
canonical: "support.fortanix.com/get-services-report-grouped-by-violation-type"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.fortanix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Services report grouped by violation type.

Get/api/v1/discovery/scans/{id}/services_report/by_violation

Get Services report grouped by violation type.

SecurityOAuth

OAuth 2.0 client credential flow, see [https://datatracker.ietf.org/doc/html/rfc6749#section-4.4](https://datatracker.ietf.org/doc/html/rfc6749#section-4.4).

FlowClient Credentials Token URLhttps://api.armor.fortanix.com/api/v1/iam/session/oauth2/token
		

Path parametersidstring (uuid) Required

Query parametersDiscoveryScannedServicesReportByViolationTypeParamsobject  filterstring    

Responses2XX

Success result

<select class='api-response-data' aria-label='Media type'><option value='e5018870-c299-4539-b676-b663d25299b3'>application/json</option>
</select>Expand Allobject  items Array of object (DiscoveryViolationTypeMetrics)   object  overall_riskstring    Valid values[
  "critical",
  "high",
  "medium",
  "low",
  "good"
]
violationstring    Valid values[
  "shared_keys",
  "expired_keys",
  "exportable_keys",
  "noncompliant_keys",
  "csp_generated_keys",
  "keys_without_expiry",
  "unused_keys",
  "quantum_vulnerable_keys",
  "keys_with_rotation_disabled",
  "cross_account_keys",
  "shared_certificate",
  "expired_certificate",
  "non_compliant_certificate_by_key_algorithm",
  "non_compliant_certificate_by_signature_algorithm",
  "overly_permissive_certificate_usage",
  "overly_permissive_key_usage",
  "overly_permissive_key_management",
  "services_encrypted_with_overly_permissive_usage_key",
  "services_encrypted_with_overly_permissive_management_key",
  "unencrypted_services",
  "services_encrypted_with_shared_key",
  "services_encrypted_with_noncompliant_key",
  "services_encrypted_with_soft_deleted_key",
  "services_encrypted_with_purged_key",
  "services_encrypted_with_expired_key",
  "services_encrypted_with_exportable_key",
  "services_encrypted_with_quantum_vulnerable_key",
  "services_encrypted_with_csp_generated_key",
  "services_encrypted_with_platform_managed_key",
  "services_encrypted_with_cross_account_key"
]
violations_by_serviceobject  property*object  additionalPropertiescountinteger    

metadataobject  scan_inventory_provider_metricsOneOfobjectobject$typestring    Valid values[
  "aws"
]
account_metricsobject  filtered_countinteger    
total_countinteger    

region_metricsobject  filtered_countinteger    
total_countinteger    

objectobject$typestring    Valid values[
  "azure"
]
region_metricsobject  filtered_countinteger    
total_countinteger    

resource_group_metricsobject  filtered_countinteger    
total_countinteger    

subscription_metricsobject  filtered_countinteger    
total_countinteger    

service_metricsobject  filtered_countinteger    
total_countinteger    

violation_metricsobject  filtered_countinteger    
total_countinteger
