Java / Kotlin

Learn Java and Kotlin source and binary scan support in Xray.

Introduction

JFrog Xray provides security and compliance analysis for Java and Kotlin applications throughout the software development lifecycle. This page describes the supported scan contexts, package managers, capabilities, and dependency analysis available for Java and Kotlin.


Capabilities

The following capabilities are available for Java and Kotlin.

CapabilitySource Code ScanningBinary Scanning
Vulnerability Matching (CVEs)YESYES
License DetectionYESYES
Malicious Package DetectionYESYES
Operational RiskYESYES
Smart Remediation🔜🔜

Source code scanning analyzes your project's dependency manifest files to identify components and their vulnerabilities. You can use it with the JFrog CLI jf audit command, Frogbot, IDE integrations, and CI pipelines. For more information, see Scan Your Source Code.

Which files a source scan reads depends on the scan method. For those differences, see Source Scanning Engines and Frogbot Versions.

Supported Files

Package ManagerSupported FilesAvailable with
Mavenpom.xmlDefault jf audit
Mavenpom.xml – Parent POM resolution, dependencyManagement, property substitution, multi-moduleFrogbot V3
Gradlebuild.gradle, build.gradle.kts, gradle.lockfile, settings.gradle, settings.gradle.kts (Groovy and Kotlin DSL)Frogbot V3
IvyNO Not supported—

Dependency Graph

Package ManagerDependency GraphAvailable with
MavenYES Full (parent-child relationships)Default jf audit
MavenYES Full – Parent POM resolution, multi-module supportFrogbot V3
Gradle⚠️ Flat – Lockfile-based, dynamic dependencies not resolvedFrogbot V3

Related Topics


Did this page help you?