> For the complete documentation index, see [llms.txt](https://docs.cloudeka.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.id/security/deka-ast/dynamic-security.md).

# Dynamic Security

On the Dynamic Security menu you can identify, analyze, and address the potential vulnerabilities that arise while your website is running.

## Create Site

Here are the steps to add the site addresses to be scanned.

* On the Cloud services portal page click the Site Scan menu in Dynamic Security on Deka AST.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/19dekaast/13.0create-site.png" alt=""><figcaption><p>Create Site (a)</p></figcaption></figure>

* Click the Create Sites button to add the addresses of web links to be scanned.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/19dekaast/13.1create.png" alt=""><figcaption><p>Create Site (b)</p></figcaption></figure>

* In the first step, you are asked to fill in the site to be scanned by filling in several fields.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/19dekaast/13.2create.png" alt=""><figcaption><p>Create Site (c)</p></figcaption></figure>

<table><thead><tr><th width="218">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Site Name</strong></td><td>The name of the site to be created.</td></tr><tr><td><strong>Description</strong></td><td>Description of the site to be created.</td></tr><tr><td><strong>URL</strong></td><td>The url of the site to be created.</td></tr><tr><td><strong>Environment Site</strong></td><td>a. Development: site still under development.<br>b. Staging: site that is already duplicated from an active Production site and you can make changes without having to think about risks.<br>c. Production: site is already in the production</td></tr></tbody></table>

* On the Site Details page, fill in the fields Site Name, Description, URL, Environment Site and click the Next Step button.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/19dekaast/13.3fillcolumn.png" alt=""><figcaption><p>Create Site (d)</p></figcaption></figure>

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/19dekaast/13.4fillcolumn.png" alt=""><figcaption><p>Create Site (e)</p></figcaption></figure>

* On the Configure Site page in the Type section you can choose Dynamic Website or API.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/19dekaast/13.5step-2a.png" alt=""><figcaption><p>Create Site (e)</p></figcaption></figure>

### Dynamic Website

* On the Dynamic Website type, there are scanning options, namely Full Scan and Basic Scan.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/19dekaast/13.6dynamic.png" alt=""><figcaption><p>Configure Site - Dynamic Website</p></figcaption></figure>

* You can select authentication to neither enable nor enable. If using authentication you must fill in several columns.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/19dekaast/13.7dynamic.png" alt=""><figcaption><p>Dynamic Website - Enable authentication</p></figcaption></figure>

<table><thead><tr><th width="262">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Login URL</strong></td><td>Website address. For example: https://localhost:host/host</td></tr><tr><td><strong>Username field name</strong></td><td>Username field name website.</td></tr><tr><td><strong>Username</strong></td><td>The username for login the website.</td></tr><tr><td><strong>Password field name</strong></td><td>Password field name website.</td></tr><tr><td><strong>Password</strong></td><td>Password for login the website.</td></tr><tr><td><strong>Submit field nama</strong></td><td>Button name.</td></tr></tbody></table>

### API

* On the Configure Site page, selecting the API site type, there is one step before starting the scan, namely Upload Content.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/19dekaast/13.8%20API.png" alt=""><figcaption><p>Configure Site - API</p></figcaption></figure>

<table><thead><tr><th width="246">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>API Tpe</strong></td><td>In the site type column there are three APIs provided:<br>a.SOAP uses XML files to transmit data over HTTP/HTTPS.<br>b. GraphQL uses data consumption with GraphQL.<br>c.REST/Open API using data consumption with Rest/Open API.</td></tr><tr><td><strong>Default Rule (Optional)</strong></td><td>Add custom rules to your site.</td></tr><tr><td><strong>Custom Rule (Optional)</strong></td><td>Add custom rules to your site.</td></tr></tbody></table>

* The next step is to upload the API collection.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/19dekaast/13.9uploadAPI.png" alt=""><figcaption><p>Upload Collection</p></figcaption></figure>

* Click the Create Site and Scan Site button.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/19dekaast/13.10.png" alt=""><figcaption><p>Create Site (f)</p></figcaption></figure>

* Wait until the scanning process is complete and you will automatically go to the Dynamic Security page showing the scan results.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/19dekaast/13.11process.png" alt=""><figcaption><p>Create Site (g)</p></figcaption></figure>

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/19dekaast/13.12result.png" alt=""><figcaption><p>Create Site (h)</p></figcaption></figure>

## Scan History

Download the report from the scan results, you can see sub-section 19.15.2 Dynamic Security Report. Here are the steps to view the scan logs:

* On the Cloud services portal page click the Scan History menu in Dynamic Security on Deka AST.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/19dekaast/13.14scan.png" alt=""><figcaption><p>Scan History (a)</p></figcaption></figure>

* On column Action press the details button.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/19dekaast/13.15scanhistory.png" alt=""><figcaption><p>Scan History (b)</p></figcaption></figure>

* You can view the scan results in detail.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/19dekaast/13.16scanhis.png" alt=""><figcaption><p>Scan History (c)</p></figcaption></figure>

## Delete Site

Here are the steps to remove a site from Dynamic Security:

* On the Cloud services portal page click the Site Scan menu in Dynamic Security on Deka AST.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/19dekaast/13.0create-site.png" alt=""><figcaption><p>Delete Site (a)</p></figcaption></figure>

* Select the site to delete.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/19dekaast/13.17delete.png" alt=""><figcaption><p>Delete Site (b)</p></figcaption></figure>

* Click the Settings icon button.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/19dekaast/13.18del.png" alt=""><figcaption><p>Delete Site (c)</p></figcaption></figure>

* Enter the name of the site to delete and click the Delete button.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/19dekaast/13.19del.png" alt=""><figcaption><p>Delete Site (d)</p></figcaption></figure>

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/19dekaast/13.20.png" alt=""><figcaption><p>Delete Site (e)</p></figcaption></figure>

* Click the Yes, sure button to continue the process.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/19dekaast/13.21del.png" alt=""><figcaption><p>Delete Site (f)</p></figcaption></figure>
