Skip to content

Commit

Permalink
Update CLI-for-JFrog-Xray.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sverdlov93 authored Sep 20, 2023
1 parent 3ad8e15 commit 69746f7
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions documentation/CLI-for-JFrog-Xray.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,22 @@ To authenticate yourself using an Xray Access Token, either configure your Acces

## Scanning Project Dependencies
### General
The _**jf audit**_ command allows scanning your source code dependencies to find security vulnerabilities and license violations, with the ability to scan against your Xray policies. The command builds a deep dependencies graph for your project, scans it with Xray, and displays the results. It uses the package manager used by the project to build the dependencies graph. Currently, the following package managers are supported.

* Maven (mvn) - Version 3.1.0 or above of Maven is supported.
* Gradle (gradle)
* Npm (npm)
* Yarn (yarn)
* Pip (pip)
* Pipenv (pipenv)
* Poetry (poetry)
* Go Modules (go)
* NuGet (nuget)
* .NET Core CLI (dotnet)
The _**jf audit**_ command allows scanning your source code dependencies to find security vulnerabilities and license violations, with the ability to scan against your Xray policies. The command builds a deep dependencies graph for your project, scans it with Xray, and displays the results.
It uses the package manager used by the project to build the dependencies graph.

Currently, the following package managers are supported:

|<img height="20" width="20" src="https://cdn.simpleicons.org/Go" alt="Go" /> Go|<img height="20" width="20" src="https://cdn.simpleicons.org/Gradle" alt="Gradle" /> Gradle|<img height="20" width="20" src="https://cdn.simpleicons.org/ApacheMaven" alt="Maven" /> Maven (3.1+)|<img height="20" width="20" src="https://cdn.simpleicons.org/npm" alt="npm" /> npm|<img height="20" width="20" src="https://cdn.simpleicons.org/Yarn" alt="Yarn" /> Yarn|
|:----|:----|:----|:----|:----|
|<img height="20" width="20" src="https://cdn.simpleicons.org/.NET" alt=".NET" /> .NET|<img height="20" width="20" src="https://cdn.simpleicons.org/NuGet" alt="NuGet" /> NuGet|<img height="20" width="20" src="https://cdn.simpleicons.org/Python" alt="Pip" /> Pip|<img height="20" width="20" src="https://cdn.simpleicons.org/Python" alt="Pipenv" /> Pipenv|<img height="20" width="20" src="https://cdn.simpleicons.org/Poetry" alt="Poetry" /> Poetry|

The command will detect the package manager used by the project automatically. It requires version 3.29.0 or above of Xray and also version 2.13.0 or above of JFrog CLI.

### Advanced Scans
This command also supports the following Advanced Scans with the **Advanced Security Package** enabled on the JFrog Platform instance. To enable the Advanced Security Package, contact us using [this](https://jfrog.com/advanced-security-contact-us/) form.

* **Static Application Security Testing (SAST)**: Provides fast and accurate security-focused engines that detect zero-day security vulnerabilities on your source code sensitive operations, while minimizing false positives.
* **Vulnerability Contextual Analysis**: This feature uses the code context to eliminate false positive reports on vulnerable dependencies that are not applicable to the code. Vulnerability Contextual Analysis is currently supported for Python and JavaScript code.
* **Vulnerability Contextual Analysis**: This feature uses the code context to eliminate false positive reports on vulnerable dependencies that are not applicable to the code. For CVE vulnerabilities that are applicable to your code, Frogbot will create pull request comments on the relevant code lines with full descriptions regarding the security issues caused by the CVE. Vulnerability Contextual Analysis is currently supported for Python, JavaScript, and Java code.
* **Secrets Detection**: Detect any secrets left exposed inside the code. to stop any accidental leak of internal tokens or credentials.
* **Infrastructure as Code scans (IaC)**: Scan Infrastructure as Code (Terraform) files for early detection of cloud and infrastructure misconfigurations.

Expand Down

0 comments on commit 69746f7

Please sign in to comment.