Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating SBOM for Java apps built with Ant #177

Open
lweitzel01 opened this issue Feb 23, 2022 · 5 comments
Open

Generating SBOM for Java apps built with Ant #177

lweitzel01 opened this issue Feb 23, 2022 · 5 comments
Labels
question Further information is requested

Comments

@lweitzel01
Copy link

Hello Team,

What tool can I use to generate SBOM for Java applications built with Ant? There does not appear to be a specific plugin for Ant (only Maven and Gradle) and the CLI tool does not actually generate library components and scan the jars to determine the version/license.

Thanks.

@lweitzel01 lweitzel01 changed the title Generating SBOM for Java apps not built with Ant Generating SBOM for Java apps built with Ant Feb 23, 2022
@stevespringett
Copy link
Member

If you're using Ivy, you should be able to use the Maven plugin with Ant/Ivy. If you're not using Ivy, then its highly likely you're manually managing dependencies, in which case you'll also need to manually manage the SBOM, or acquire a binary analysis tool that can evaluate the dependencies and generate the SBOM from the evidence.

@stevespringett stevespringett added the question Further information is requested label Feb 23, 2022
@lweitzel01
Copy link
Author

lweitzel01 commented Feb 23, 2022

I had assumed that the CycloneDX CLI tool would actually scan the binaries and produce a similar SBOM the same as the Maven/Gradle plugin. Is that not the case?

Would the scancode toolkit be a binary scanner to start with?

@stevespringett
Copy link
Member

The CycloneDX CLI is a useful utility that does many things. But it doesn't understand any build systems or file types, that's not in scope for the app. The CLI can create source SBOMs, basically a listing of all sources files and their properties. So that's likely not what you're looking for.

scancode toolkit would be my first choice, yes. scancode also supports CycloneDX.

@lweitzel01
Copy link
Author

Steve,
It looks like you contribute to the OWASP Dependency Checker as a binary scanner for jenkins which we use extensively. Are there any tools that would take the output from dependency checker and convert it to SBOM?

@stevespringett
Copy link
Member

I have not contributed to Dependency-Check or the Jenkins plugin for several years. The Jenkins plugin has a new maintainer. I have no idea if there are tools that support exporting to CycloneDX from Dependency-Check. You may want to ask that community.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants