Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Commit

Permalink
Disable Template Downloads (#160)
Browse files Browse the repository at this point in the history
* typo update

* Add note to mention mandatory and optional fields

* misc update

* Update nuclei.md

fixed a small typo

* Add docs for disabling template downloads

* Switch env naming convention per feedback in PR

---------

Co-authored-by: Sandeep Singh <[email protected]>
Co-authored-by: sandeep <[email protected]>
Co-authored-by: shubhamrasal <[email protected]>
Co-authored-by: Pj Metz <[email protected]>
  • Loading branch information
5 people authored Jul 21, 2023
1 parent 9d90bd7 commit 0d3d60d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/nuclei/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,15 @@ export AZURE_CONTAINER_NAME=templates
</pre>
</details>

Environment variables can also be provided to disable download from default and custom template locations:

```
export DISABLE_NUCLEI_TEMPLATES_PUBLIC_DOWNLOAD=true # Disable download from the default nuclei-templates project
export DISABLE_NUCLEI_TEMPLATES_GITHUB_DOWNLOAD=true # Disable download from public / private GitHub project(s)
export DISABLE_NUCLEI_TEMPLATES_GITLAB_DOWNLOAD=true # Disable download from public / private GitLab project(s)
export DISABLE_NUCLEI_TEMPLATES_AWS_DOWNLOAD=true # Disable download from public / private AWS Bucket(s)
export DISABLE_NUCLEI_TEMPLATES_AZURE_DOWNLOAD=true # Disable download from public / private Azure Blob Storage
```

Once the environment variables are set, following command to download the custom templates:

Expand Down

0 comments on commit 0d3d60d

Please sign in to comment.