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

War analysis require pom.xml? #91

Open
mvanini opened this issue Nov 16, 2021 · 1 comment
Open

War analysis require pom.xml? #91

mvanini opened this issue Nov 16, 2021 · 1 comment

Comments

@mvanini
Copy link

mvanini commented Nov 16, 2021

Is pom.xml inside artifact required when I analyze a war/ear?
I have some artifacts built with Apache Ant (so without a pom inside) and cdxgen fail to analyze them:

root@5a1a49758fe7:/app# cdxgen --version
3.2.9
root@5a1a49758fe7:/app# cdxgen -t java myapplication.war
Cleaning up /tmp/war-deps-SjtRrX
Unable to produce BOM for myapplication.war
root@5a1a49758fe7:/app#
@prabhu
Copy link
Collaborator

prabhu commented Jan 11, 2022

@mvanini The logic is here - https://github.com/AppThreat/cdxgen/blob/master/utils.js#L2261

I'm looking at MANIFEST.MF recursively. Would you be able to share a sample war file with me directly so that I can think about a different mode?

Email: prabhu @ appthreat .com

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

No branches or pull requests

2 participants