Connect Deployed Agents to SaaS Management (Docker)
Prerequisites
Access to a SaaS tenant on my.openappsec.io (WebUI for SaaS management) Follow the instructions available here:
Agent profile created for open-appsec Docker deployment in SaaS tenant Follow the instructions available bellow, once done, don't forget to copy the profile token after policy installation as this is needed in the installation steps further below:
Linux machine with:
Docker software installed (or similar compatible Container runtime)
Root Permissions
Existing open-appsec WAF deployment on Docker which is:
locally managed
not connected to the central WebUI yet
Instructions:
Step 1: Update your docker-compose.yaml
file:
Locate the
AGENT_TOKEN
key in yourdocker-compose.yaml
file.Copy the Token from your WebUI Docker Profile (as described in the prerequisites) and paste it as the value for the
AGENT_TOKEN
key.
Example docker-compose.yaml
snippet:
If you chose "“Declarative configuration” management make sure to keep the agent local configuration policy mount.
If you chose "This Management" this is no longer needed, and can be removed.
Step 2: Redeploy your Docker Compose setup:
Run the following commands to update and redeploy your Docker Compose file with the new AGENT_TOKEN
:
Step 3: Verify the connection:
Log in to the Web UI and check if your agent is connected.
If you chose “This management” management mode:
Step 4: Create one or more assets in the Web UI, make sure to connect the asset to the profile you have created in the Prerequisites:
Protect Additional AssetsLast updated