> ## 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 On-Prem Database Scanned Assessment report > Get On-Prem Database Scanned Assessment report ## OpenAPI ````json GET /api/v1/discovery/scans/{id}/assessment_report/on_prem/database { "openapi": "3.0.0", "info": { "description": "**API of the Fortanix Unified Data and AI Security Platform**\n\nThe API client *must* follow HTTP redirects, including 308 redirects. Many HTTP libraries (such as Python Requests, JavaScript fetch) do this by default. With cURL, you must pass `--location`.\n", "title": "Armor API", "version": "0.1.0" }, "servers": [ { "url": "https://api.armor.fortanix.com" } ], "tags": [ { "description": "APIs regarding creating or ending a session.", "name": "Authentication" }, { "description": "APIs regarding obtaining details about the connection.", "name": "DiscoveryConnection" }, { "description": "APIs regarding obtaining details about the policies.", "name": "DiscoveryPolicies" }, { "description": "APIs regarding obtaining details about the scans.", "name": "DiscoveryScan" }, { "description": "APIs regarding obtaining the reports related to AWS.", "name": "DiscoveryAwsReports" }, { "description": "APIs regarding obtaining the reports related to Azure.", "name": "DiscoveryAzureReports" }, { "description": "APIs regarding obtaining the reports for Services.", "name": "DiscoveryServicesReports" }, { "description": "APIs regarding obtaining the PQC reports.", "name": "DiscoveryPqcReports" }, { "description": "APIs regarding obtaining the reports related to DSM.", "name": "DiscoveryDsmReports" }, { "description": "APIs regarding obtaining the details about the inventory objects.", "name": "DiscoveryInventory" }, { "description": "APIs regarding obtaining the reports related to On-Prem infrastructure.", "name": "DiscoveryOnPremReports" }, { "description": "APIs regarding obtaining the details about the inventory objects associated to a scan.", "name": "DiscoveryScanInventory" } ], "paths": { "/api/v1/discovery/scans/{id}/assessment_report/on_prem/database": { "get": { "description": "Get On-Prem Database Scanned Assessment report", "operationId": "GetOnpremDatabaseScanAssessmentReport", "parameters": [ { "in": "path", "name": "id", "required": true, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "2XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DiscoveryOnPremDatabaseScanAssessmentReport" } } }, "description": "Success result" } }, "security": [ { "Oauth2ClientCredentials": [] } ], "summary": "Get On-Prem Database Scanned Assessment report", "tags": [ "DiscoveryOnPremReports" ] } } }, "components": { "schemas": { "DiscoveryOnPremDatabaseScanAssessmentReport": { "allOf": [ { "properties": { "crypto_asset_metrics": { "$ref": "#/components/schemas/DiscoveryOnPremDatabaseAssessmentCryptoAssetMetrics" }, "resource_metrics": { "$ref": "#/components/schemas/DiscoveryOnPremDatabaseAssessmentResourceMetrics" }, "resource_violations": { "$ref": "#/components/schemas/DiscoveryOnPremDatabaseResourceViolations" }, "risk_assessment": { "$ref": "#/components/schemas/DiscoveryOnPremDatabaseRiskAssessment" }, "security_issues": { "additionalProperties": { "$ref": "#/components/schemas/DiscoveryViolationMetrics" }, "type": "object" } }, "required": [ "risk_assessment", "security_issues", "resource_violations", "crypto_asset_metrics", "resource_metrics" ], "type": "object" } ] }, "DiscoveryOnPremDatabaseAssessmentCryptoAssetMetrics": { "allOf": [ { "properties": { "total_keys": { "type": "integer" } }, "required": [ "total_keys" ], "type": "object" } ] }, "DiscoveryOnPremDatabaseAssessmentResourceMetrics": { "allOf": [ { "properties": { "quantum_vulnerable_databases": { "type": "integer" }, "total_databases": { "type": "integer" } }, "required": [ "total_databases", "quantum_vulnerable_databases" ], "type": "object" } ] }, "DiscoveryOnPremDatabaseResourceViolations": { "allOf": [ { "properties": { "total_violations": { "type": "integer" }, "violation_details_by_variant": { "additionalProperties": { "$ref": "#/components/schemas/DiscoveryOnPremDatabaseVariantViolations" }, "type": "object" } }, "required": [ "total_violations", "violation_details_by_variant" ], "type": "object" } ] }, "DiscoveryOnPremDatabaseRiskAssessment": { "allOf": [ { "properties": { "findings": { "additionalProperties": { "additionalProperties": { "additionalProperties": { "$ref": "#/components/schemas/DiscoveryViolationMetrics" }, "type": "object" }, "type": "object" }, "type": "object" }, "overall_risk": { "$ref": "#/components/schemas/DiscoveryRiskLevel" } }, "required": [ "findings", "overall_risk" ], "type": "object" } ] }, "DiscoveryViolationMetrics": { "allOf": [ { "description": "A structure to store the violation metrics for each violation.", "properties": { "count": { "type": "integer" } }, "required": [ "count" ], "type": "object" } ] }, "DiscoveryOnPremDatabaseVariantViolations": { "allOf": [ { "properties": { "risk_level": { "$ref": "#/components/schemas/DiscoveryRiskLevel" }, "violations": { "additionalProperties": { "$ref": "#/components/schemas/DiscoveryViolationDetails" }, "type": "object" } }, "required": [ "risk_level", "violations" ], "type": "object" } ] }, "DiscoveryRiskLevel": { "enum": [ "critical", "high", "medium", "low", "good" ], "type": "string" }, "DiscoveryViolationDetails": { "allOf": [ { "properties": { "count": { "type": "integer" }, "risk_level": { "$ref": "#/components/schemas/DiscoveryRiskLevel" } }, "required": [ "count" ], "type": "object" } ] } }, "securitySchemes": { "Oauth2ClientCredentials": { "description": "OAuth 2.0 client credential flow, see https://datatracker.ietf.org/doc/html/rfc6749#section-4.4.", "flows": { "clientCredentials": { "scopes": {}, "tokenUrl": "https://api.armor.fortanix.com/api/v1/iam/session/oauth2/token" } }, "type": "oauth2" } } } } ````