# 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](/appsec-portal/features/working-with-products.md), add its Asset data. To do this, select the product on the Product page

<figure><img src="/files/wiVpOGpjNWZ7XPgDmPEU" alt=""><figcaption></figcaption></figure>

Specify the location of the product by adding <img src="/files/qNZYwrMGhwJrCdetap1o" 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="/files/sUhxB7PGU6CqCxDxrRNO" 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="/files/sZHgSgi9BRur6AHbiDkC" 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](/appsec-portal/general-portal-settings/repository-link-configs.md) pattern from the drop-down list or use the find a matching config function

<figure><img src="/files/zwDz7qknXluUOBdPQw8c" alt=""><figcaption></figcaption></figure>

Or create a new pattern directly from this section

<figure><img src="/files/ksC714OwjFw7IzZflIhU" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/yhY9KBSuC627VECB5ssw" 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="/files/cJbhqnGafIytKPK0qDpN" 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="/files/DpmuFOpELm2KepE1yU6F" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Sb3La7D1Lqzqz7E3KGmW" 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="/files/tl9XBSPClhNyImyjvFyG" alt=""><figcaption></figcaption></figure>

Apply the created assets when using the[ **Auditor**](/auditor/features/run-audit.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.whitespots.io/appsec-portal/features/asset-management/adding-a-product-asset.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
