diff --git a/src/main/kotlin/de/fraunhofer/iem/app/tools/trivy/service/TrivyService.kt b/src/main/kotlin/de/fraunhofer/iem/app/tools/trivy/service/TrivyService.kt index f6f3115033f87975e9d6dfc46ecbd1f7c429e03f..1c0c49b043da55fd9a2a666e97cf18dac51e47ce 100644 --- a/src/main/kotlin/de/fraunhofer/iem/app/tools/trivy/service/TrivyService.kt +++ b/src/main/kotlin/de/fraunhofer/iem/app/tools/trivy/service/TrivyService.kt @@ -46,6 +46,9 @@ class TrivyService( private suspend fun queryToolServiceApi(projectId: Long): ToolResultsDto { logger.info("projectId $projectId: Query Tool Service API for repo") val response: HttpResponse = httpClient.get(getToolApiPath(projectId)) + // TODO: this should be a debug log + logger.info("Tool service response: $response") + logger.info("Tool service API response body: ${response.bodyAsText()}") val toolResults = parseToolResults(response.body<List<RawToolResult>>()) logger.info("projectId $projectId: Query Tool Service API returned with ${response.status}") if (response.status != HttpStatusCode.OK) {