Frequently Asked Questions

Question: How can I upgrade from an existing Docker SWAG deployment to using Docker SWAG integrated with open-appsec?

Keeping your existing Docker SWAG configuration when deploying Docker SWAG with open-appsec is simple and straightforward:

Moke sure to follow these important notes related to the deployment:

  • Create a new folder for the Docker SWAG with open-appsec deployment so that you can keep the original one as backup.

  • Copy your existing SWAG configuration into ./swag-config within that new folder. The docker-compose.yaml by default mounts the config from the folder ./swag-config on the docker host as a volume into /config inside the swag-attachment container.

  • Before deployment of the docker-compose.yaml and .env file for the SWAG with open-appsec deployment: Make sure to configure all parameters which you had previously adjusted in the docker-compose.yaml file of your existing Docker SWAG deployment also within the docker-compose.yaml file or respectively in the .env file for the Docker SWAG with open-appsec deployment (e.g. env variables URL, VALIDATION, ...)

For the actual deployment follow the steps explained here:

Deploy Docker SWAG with open-appsec

Last updated

Was this helpful?