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

feat: Release improved project naming for csproj behind a flag #456

Merged
merged 1 commit into from
Apr 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one is CLI-wide. but only gradle uses it at the moment. It's fine here now, but we should remember to move it when we support other PM's like yarn workspaces etc.

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