diff --git a/src/main/kotlin/com/bridgecrew/CheckovResult.kt b/src/main/kotlin/com/bridgecrew/CheckovResult.kt index c6f7ab8a..e219d5ec 100644 --- a/src/main/kotlin/com/bridgecrew/CheckovResult.kt +++ b/src/main/kotlin/com/bridgecrew/CheckovResult.kt @@ -33,7 +33,7 @@ fun getFailedChecksFromResultString(raw: String): ArrayList { var checkovResult = "checkovResult" val outputListOfLines = raw.split("\n").map { it.trim() } for (i in outputListOfLines.indices) { - if (!outputListOfLines[i].startsWith('{') && !outputListOfLines[i].startsWith('[')){ + if (!outputListOfLines[i].startsWith('{') && !outputListOfLines[i].startsWith('[') || outputListOfLines[i].startsWith("[Clang")){ continue } checkovResult = outputListOfLines.subList(i,outputListOfLines.size-1).joinToString("\n")