Skip to content

Commit

Permalink
docs: update log4shell command help
Browse files Browse the repository at this point in the history
  • Loading branch information
awileysnyk authored and Avishag Israeli committed Jan 12, 2022
1 parent 9bacb09 commit ba0f9e7
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions help/cli-commands/log4shell.md
@@ -1,18 +1,18 @@
# snyk log4shell -- Finds Log4Shell vulnerability
# snyk log4shell -- find Log4Shell vulnerability

## Usage

`snyk log4shell`

## Description

This command finds traces of the Log4J library that are affected by the Log4Shell vulnerability [CVE-2021-44228](https://security.snyk.io/vuln/SNYK-JAVA-ORGAPACHELOGGINGLOG4J-2314720), even if this library is not declared in the manifest files (such as pom.xml or build.gradle).
The `snyk log4shell` command finds traces of the Log4J library that are affected by the Log4Shell vulnerability [CVE-2021-44228](https://security.snyk.io/vuln/SNYK-JAVA-ORGAPACHELOGGINGLOG4J-2314720), even if this library is not declared in the manifest files (such as pom.xml or build.gradle).

## Managed projects

To test Java projects using their package manager manifest files, see Snyk for Java (Gradle, Maven).
To test Java projects using their package manager manifest files, see [Snyk for Java (Gradle, Maven)](https://docs.snyk.io/products/snyk-open-source/language-and-package-manager-support/snyk-for-java-gradle-maven).

To learn more about the `snyk test --scan-all-unmanaged`, see the Maven options section of the CLI reference.
For information about `snyk test --scan-all-unmanaged`, see the Maven options section of the [CLI reference](https://docs.snyk.io/features/snyk-cli/cli-reference).

## Exit codes

Expand All @@ -21,3 +21,7 @@ Possible exit codes and their meaning:
**0**: success, Log4Shell not found<br />
**1**: action_needed, Log4Shell found<br />
**2**: failure, try to re-run command<br />

## Debug

Use the `-d` option to output the debug logs.

0 comments on commit ba0f9e7

Please sign in to comment.