> For the complete CircleCI developer hub index, see [llms.txt](https://circleci.com/developer/llms.txt)

# circleci/lein-nvd

Automatically and easily scan a Clojure project for vulnerabilities using `lein-nvd`


## Commands

### run_lein_nvd

Scan a Clojure project for vulnerabilities using lein-nvd.


| Parameter | Type | Default | Description |
|---|---|---|---|
| `suppressions_file` | string |  | The location of an XML file to suppress false positive results from
the report. The format is documented at
https://jeremylong.github.io/DependencyCheck/general/suppression.html
 |

## Jobs

### scan

Scan a Clojure project for vulnerabilities using lein-nvd.

| Parameter | Type | Default | Description |
|---|---|---|---|
| `executor` | executor | default | The name of a custom executor to use |
| `suppressions_file` | string |  | The location of an XML file to suppress false positive results from
the report. The format is documented at
https://jeremylong.github.io/DependencyCheck/general/suppression.html
 |

## Executors

### default

A Docker container that can be used to run lein nvd check.


| Parameter | Type | Default | Description |
|---|---|---|---|
| `tag` | string | 1.10 | Select an available tag here:
https://hub.docker.com/r/cimg/clojure/tags
 |

## Examples

### scan_project

Easily scan your clojure project by simply adding the `scan` job


```yaml
orbs:
  lein-nvd: circleci/lein-nvd@x.y
version: 2.1
workflows:
  my_clojure_workflow:
    jobs:
      - lein-nvd/scan:
          suppressions_file: ./suppression.xml
```