# Job configuration

Each job (scanner) has a preset configuration that can be changed or supplemented as necessary.

* **Job Type**:  determines the [technical](https://docs.whitespots.io/auditor/features/settings/jobs/technical-jobs) or [scanner](https://docs.whitespots.io/auditor/features/settings/jobs/scanner-jobs) job

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FUu05HqyORxBm4PI7Uk1r%2Fjob%20conf1.png?alt=media&#x26;token=20bb10bd-a914-437a-876a-dfe3d5048997" alt=""><figcaption></figcaption></figure>

* **Shared Volume**: in activated position passes its scan results to the next jobs in the sequence

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2Fx4MYFq9ByQKimbes7Kh8%2Fjob%20conf%202.png?alt=media&#x26;token=c0a578e3-f6a1-4014-8a4c-b8576b4156ff" alt=""><figcaption></figcaption></figure>

* **Image**: contains the address of the job's image registry. \
  If you are using your own job, change the address of the registry and specify its credentials

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FcsLnsrZ2ye7PeYQmO87e%2Fjob%20conf%203.png?alt=media&#x26;token=37018b14-338f-4b81-930e-c6e65bf1a163" alt=""><figcaption></figcaption></figure>

* **Run Command**: specifies the command code to run the scan. \
  If you are using your own command, you should specify the ***/data/*** directory to save the report in, so that it can be sent to the AppSec Portal.

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FdPRPFti4dKN08ta3OdrG%2Fjob%20config%203.png?alt=media&#x26;token=e565e6e8-2fba-4aae-bbe6-9e6de4a3942c" alt=""><figcaption></figcaption></figure>

* **Environment Variables**: environment variables to be used by the job are specified. \
  You can ***delete*** a variable, ***mark*** it ***as required***, ***hide*** it or ***add*** additional environment variables if necessary

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FgRV6cWO8HiMlJOjB2pRc%2Fjob%20conf%204.png?alt=media&#x26;token=3aeeb433-b7b1-4c11-8eb1-4821dafe7a93" alt=""><figcaption></figcaption></figure>

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td></td><td><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FCcjPtdbLY4Qbh0heiSYy%2Fimage.png?alt=media&#x26;token=d896a00b-2dc4-45b0-8280-154ecd91a046" alt="" data-size="original"></td><td></td><td></td></tr><tr><td></td><td><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FH3Wv7gm1KkU2fXvFMXY0%2Fimage.png?alt=media&#x26;token=3ba041ca-1b42-4602-b756-50582e04f3ac" alt="" data-size="original"></td><td></td><td></td></tr><tr><td></td><td><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FMpfzfyTi4w2xy7wUxWSC%2Fimage.png?alt=media&#x26;token=5e6c4da3-7984-4c51-b617-1cc845bda0c9" alt="" data-size="original"></td><td></td><td></td></tr></tbody></table>

{% hint style="warning" %}
Mandatory environment variables for each job type **Scanner**:\ <mark style="color:blue;">`REPORT_FILE_NAME`</mark> file name should send to the portal and \ <mark style="color:blue;">`SCAN_TYPE`</mark> [**importer**](https://docs.whitespots.io/appsec-portal/features/scanners) (parser)  to process the report.
{% endhint %}
