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

Dockerized DevAudit does not work with nuget security audit for *.csproj targets #113

Closed
ari-luokkala opened this issue May 2, 2019 · 3 comments

Comments

@ari-luokkala
Copy link

ari-luokkala commented May 2, 2019

I tried to run dockerized devaudit to perform a nuget module security audit:
docker run ossindex/devaudit:latest nuget -f src/sample.csproj

Security audit did not succeed, instead I got this error:
Error initialzing audit library for package source audit target: Could not find the file src/sample.csproj.
Parameter name: package_source_options.

@ari-luokkala
Copy link
Author

My mistake, closing.

@colinlabs
Copy link

@aluokkal same error, how do you fix?

@allisterb
Copy link
Contributor

@colinlabs To use the Docker container you have to mount a folder on your local filesystem as hostroot e.g you can do
docker run -i -t -v /:/hostroot:ro ossindex/devaudit nuget -f /home/ubuntu/Projects/DevAudit/DevAudit.AuditLibrary/Examples/packages.config.example.3

if your project is on the local path /home/ubuntu/Projects/

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

3 participants