# Symantec Cloud Secure Web Gateway

## Connection Requirements

{% stepper %}
{% step %}

### IP

IP address that hosts Symantec Cloud Secure Web Gateway.
{% endstep %}

{% step %}

### Port

Port that is going to be used for connection.
{% endstep %}

{% step %}

### Username

The username which is going to be used by OctoXLabs CSAM PLATFORM Asset to fetch data from Symantec Cloud Secure Web Gateway.
{% endstep %}

{% step %}

### Password

The Password of the provided username.
{% endstep %}

{% step %}

### Fetch Agents

Enable this if you want the fetch agents. If enabled username and password credentials should be in the format **X-APIUsername** and **X-APIPassword**.
{% endstep %}

{% step %}

### Proxy

Proxy url. (optional)
{% endstep %}

{% step %}

### Is Secure?

Choose this if your connection is going to be over HTTPS.
{% endstep %}

{% step %}

### Timeout

Define the maximum duration, in seconds, before the connection is automatically closed if there is no response. This field is optional and defaults to 60 seconds. Adjust this value if your network or server configuration requires a longer timeout period.
{% endstep %}
{% endstepper %}

## Generate API Credentials & Required Permissions

* In the Cloud SWG portal, select Account ConfigurationAPI Credentials.
* Click Add API Credentials. The portal displays the New API Credential dialog, which contains randomly generated characters in the Username and Password fields.
* Select the API Expiry according to your needs. We advise to use it on **Never**.
* Select the **Location Management**.
* Copy the Username and Password.

{% hint style="warning" %}
⚠️ Attention

Please perform a connection test to ensure there is a valid connection to the Symantec Cloud Secure Web Gateway host. When the discovery operation finalizes you will be able to see the details on the Assets page.
{% endhint %}


---

# 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.octoxlabs.com/adapters/adapters/symantec-cloud-secure-web-gateway.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.
