# Adding a product asset

{% hint style="warning" %}
To ensure the proper functioning of Auditor, include assets for products created in the Portal in version v23.10.1 and earlier.
{% endhint %}

If the product has already been [created](https://docs.whitespots.io/appsec-portal/features/working-with-products), add its Asset data. To do this, select the product on the Product page

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FOahCjUA7zLlY5nHzYiHF%2Fimage.png?alt=media&#x26;token=fb54b5ea-9d4e-4f1e-a2e2-b3b9a496942f" alt=""><figcaption></figcaption></figure>

Specify the location of the product by adding <img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FgQn2s6JuhgeWYXDkdGew%2Fimage.png?alt=media&#x26;token=8d804cea-2647-4be3-8c62-af3f0cacd4a2" alt="" data-size="line">  information about:

* [**Repository**](#repository): to analyse the product <mark style="color:blue;">code</mark> in the repository
* [**Docker image**](#docker-image): to analyse your <mark style="color:blue;">image</mark>
* [**Domain or Host**](#domain-and-host): to analyse your <mark style="color:blue;">web</mark> product
* [**Cloud Account:**](#cloud-account) to analyse the product in a <mark style="color:blue;">cloud account</mark>

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FuxtyxYxeJDeiE3Is8gN2%2Fimage.png?alt=media&#x26;token=55676a60-af48-4b61-9db7-8554b9073090" alt=""><figcaption></figcaption></figure>

## Repository

In the Repository tab, fill in the required fields:

1. **Repository SSH URL**: enter the address of your repository in a specific format, for example: <git@gitlab.com>:whitespots-public/appsec-portal.git

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2F9n5W4hQTZ04m6pGdPtde%2Fimage.png?alt=media&#x26;token=d39c22f9-0401-49a8-903b-c6d4ed475660" alt=""><figcaption></figcaption></figure>

1. **Repository Link config**: repository source link used to link the portal to your repository based on a created pattern

Select a [pre-created](https://docs.whitespots.io/appsec-portal/general-portal-settings/repository-link-configs) pattern from the drop-down list or use the find a matching config function

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FthnqHprNjEBJaU3z66OV%2Fasset%20link.gif?alt=media&#x26;token=053a4101-028f-4abd-aca4-07e049359514" alt=""><figcaption></figcaption></figure>

Or create a new pattern directly from this section

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2F0aBREIFDOexsS4xEG89o%2Flink2.gif?alt=media&#x26;token=56fdad7f-2c78-4863-9046-fb36b770d454" alt=""><figcaption></figcaption></figure>

3. Save the created asset by clicking on the **Create** button

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FRkmeerhlKNShxTVva6WR%2Fasset%20rep%204.png?alt=media&#x26;token=92ffe155-cc02-4aa4-81b7-dbee1b67f3d2" alt=""><figcaption></figcaption></figure>

## Docker Image

In the **Repository tab** enter the address of the **registry** where your product is located and click **Create**

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FJE807ux3g7JNYlgY6hTI%2Fimage.png?alt=media&#x26;token=2a3fb841-c6b8-4952-84a1-aed0768b5e0d" alt=""><figcaption></figcaption></figure>

## Domain & Host

In the **Domain tab** enter **domain name**, for example whitespots.io

In the **Host tab** enter **host IP**, for example 83.110.124.0

Click **Create**

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2F54I4gy895wdMm7n9nrrj%2Fimage.png?alt=media&#x26;token=9ad8e1d9-e066-47a0-8623-24ee14c46307" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FWHG3o4EHGMVsn87dNaDZ%2Fimage.png?alt=media&#x26;token=4ac2d158-b108-4d8c-86d9-393019ba6ce8" alt=""><figcaption></figcaption></figure>

## Cloud Account

In the **Cloud account tab** enter the **Cloud Account Name** where your product is located,  its **Cloud key ID** and **Cloud key secret** and click **Create**

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2Fh6QaoGAGJRachefOXXze%2Fcloud.png?alt=media&#x26;token=8ed49602-3443-4839-8012-84425b5aa9a7" alt=""><figcaption></figcaption></figure>

Apply the created assets when using the[ **Auditor**](https://docs.whitespots.io/auditor/features/run-audit)
