> ## Documentation Index
> Fetch the complete documentation index at: https://docs.endorlabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Scan artifacts and binaries

> Detect and manage software supply chain risks by scanning software binaries and artifacts using Endor Labs.

You can now perform endorctl scan on your binaries and artifacts without requiring access to source code or build systems. Scan Java and Python packages that are pre-built, bundled, or downloaded into your local system by specifying a file path to your artifact or binary package.

Endor Labs scans the specified package, producing vital scan artifacts such as details about resolved dependencies and transitive dependencies, along with comprehensive call graphs. It enables you to acquire valuable insights and improve the security and reliability of the software components.

## System specifications for deep scan

Before you proceed to run a deep scan, ensure that your system meets the following specification.

| Project Size | Processor | Memory |
| - | - | - |
| Small projects | 4-core processor | 16 GB |
| Mid-size projects | 8-core processor | 32 GB |
| Large projects | 16-core processor | 64 GB |

### File format specifications




&#x20; \- Language: Java
&#x20; Package\_file\_formats: JAR, WAR, EAR, .zip, tar.gz, and tar
&#x20; \- Language: Python
&#x20; Package\_file\_formats: EGG(tar.gz) and Wheel(.whl)


&#x20;&#x20;

When scanning archive formats such as `.zip`, `tar`, and `.tar.gz`, we support embedded package formats including `.jar`, `.ear`, `.war`, and `.whl.` We also support `.tar.gz` archives that contain Python package metadata such as egg-info.

You can scan JAR, WAR, and EAR package file formats built using Maven or Gradle with a `pom.xml` configuration file. To scan packages without a `pom.xml` configuration, see [Scan Java packages without pom.xml](https://docs.endorlabs.com/scan/sca/java.md#scan-projects-without-pom-xml).

### Software prerequisites

If you have a private registry and internal dependencies on other projects, you must configure private registries for the Python and Java projects. See [Configure package manager integrations](https://docs.endorlabs.com/integrations/package-managers.md) for more information.

## Understand the scan arguments

Use `--package` as an argument to scan artifacts or binaries. You must provide the path of your file using `--path` and specify a name for your project using `--project-name`.

```bash theme={null}
endorctl scan --package --path --project-name
```

## Run the scan

Use the following options to scan your repositories.

### Option 1 - Quick scan

Perform a quick scan of the local packages to get quick visibility into your software composition. This scan won't perform reachability analysis to help you prioritize vulnerabilities.

**Syntax**:

```bash theme={null}
endorctl scan --quick-scan --package --path=<<specify-the-path-of-your-file>> --project-name=<<specify-a-name-for-the-project>>
```

**Example**:

```bash theme={null}
endorctl scan --quick-scan --package --path=/Users/username/packages/logback-classic-1.4.10.jar --project-name=package-scan-for-java
```

### Option 2 - Deep scan

Use the deep scan to perform dependency resolution, reachability analysis, and generate call graphs. You can do this after you complete the quick scan successfully.

**Syntax**:

```bash theme={null}
endorctl scan --package --path=<<specify-the-path-of-your-file>> --project-name=<<specify-a-name-for-the-project>>
```

**Example**:

```bash theme={null}
endorctl scan --package --path=/Users/username/packages/logback-classic-1.4.10.jar --project-name=java-package-scan
```

## View results

You can sign into the [Endor Labs user interface](https://app.endorlabs.com), click the **Projects** on the left sidebar, and find your project using the name you entered to review its results.

> [!NOTE]
>
> If you use Endor Labs with an EU tenant, use `https://app.eu.endorlabs.com` instead of `https://app.endorlabs.com`.

You can view the list of projects created for scanning packages using the `Platform Source in: Binary` filter.

![Projects search results for package scans with Platform Source binary filter](https://mintcdn.com/endorlabs-b4795f4f/Uc3T4mPoaFbRUPbf/images/scan/sca/package-scan-search-result.webp?fit=max\&auto=format\&n=Uc3T4mPoaFbRUPbf\&q=85\&s=29e1a4f73ffcccc8c03ddf951028409f)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.