Skip to content

Commit

Permalink
Merge pull request snyk#456 from snyk/feat/optional-proj-names-nuget
Browse files Browse the repository at this point in the history
feat: Release improved project naming for csproj behind a flag
  • Loading branch information
lili2311 committed Apr 28, 2019
2 parents 61249e8 + 49ad843 commit a21cd0c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 11 deletions.
29 changes: 19 additions & 10 deletions help/help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,26 +39,35 @@ Options:
to true). Applicable to `snyk test`.
--project-name=<string>
Specify a custom Snyk project name (`snyk monitor` only).
--docker ........... Test or monitor a local docker image for Linux
vulnerabilities. Can be used alongside `--file` and a
path to the image's Dockerfile for more detailed
remediation advice.
--exclude-base-image-vulns
Exclude from display Docker base image vulnerabilities.
--policy-path....... Manually pass a path to a policy file.
--policy-path ...... Manually pass a path to a policy file.
--insecure ......... Ignore unknown certificate authorities.
--json ............. Return results in JSON format.
--dry-run .......... Don't apply updates or patches during protect.
--severity-threshold=<low|medium|high>
Only report vulnerabilities of provided level or higher.
-q, --quiet ........ Silence all output.
-h, --help ......... This help information.
-v, --version ...... The CLI version.

Gradle options:
--gradle-sub-project=<string>
For Gradle "multi project" configurations,
test a specific sub-project.
--all-sub-projects For "multi project" configurations, test all
sub-projects.
-q, --quiet ........ Silence all output.
-h, --help ......... This help information.
-v, --version ...... The CLI version.

.Net (Nuget) options:
--assets-project-name
When monitoring a .NET project using NuGet PackageReference use
the project name in project.assets.json, if found.

Docker options:
--docker ........... Test or monitor a local docker image for Linux
vulnerabilities. Can be used alongside `--file` and a
path to the image's Dockerfile for more detailed
remediation advice.
--exclude-base-image-vulns
Exclude from display Docker base image vulnerabilities.


Examples:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"snyk-module": "1.9.1",
"snyk-mvn-plugin": "2.0.1",
"snyk-nodejs-lockfile-parser": "1.13.0",
"snyk-nuget-plugin": "1.9.2",
"snyk-nuget-plugin": "1.10.0",
"snyk-php-plugin": "1.5.2",
"snyk-policy": "1.13.5",
"snyk-python-plugin": "1.9.2",
Expand Down

0 comments on commit a21cd0c

Please sign in to comment.