Comment on page
Connect Deployed Agents to SaaS Management Using Tool (K8s & Linux)
When logged in to the open-appsec portal, click on Getting Started. You will see this page:
Follow these steps to connect your agents to the management:
Check the "I deployed an agent" box, the Central Management box will become enabled.
The best-practice recommendation is to create an individual profile in the WebUI for each of your open-appsec deployments. Examples for "deployments" would be e.g.:
- K8s deployment using HELM or installation tool (consisting of one or multiple open-appsec agents) - redundant deployment using Docker on two or more virtual machines (each having it's own agent) protecting the same web assets - redundant embedded deployment on one or multiple redundant Linux machines protecting the same web assets Security-wise this makes sure that only policies for those assets which are protected by specific agents are enforced on those agents (by linking the Assets to only the relevant profile(s)), in addition to having a separate tokens per each deployment and all associated agents. In addition this approach provides the flexibility of being able to configure various settings available on profile-level individually per each deployment, if required.
- 1.In the Getting Started page, click Manage and choose either Kubernetes Profile or Linux Embedded Agent Profile depending on your installation type. You will get into the related Profile page:
NGINX Kubernetes Ingress Profile Example
Kong Linux Profile Example
In the "sub type" field select either NGINX or Kong depending on what kind of open-appsec agent / deployment you want to connect.
Choose the relevant option to decide whether you want to edit assets and policies via the WebUI or locally in a declarative way (using CRDs or configuration file). If you choose a declarative option you can still view the configuration in the WebUI in read-only mode.
Kubernetes management mode
NGINX management mode
In case you want to connect to the SaaS Management using only Helm values (e.g. in a GitOps scenario where you deploy the Helm chart from a Git repo) please continue here and don't perform this step below.
Follow the guidelines under Download & Deployment:
- 1.Enforce policy, by clicking the button at the top right of the page.
- 2.Copy the commands as shown in the selected profile and run it in your Kubernetes or Linux Environment to connect your deployed agents to this profile and the central management. Here are some examples:
Connect Existing open-appsec NGINX Linux Example
Connect Existing open-appsec Kong Kubernetes Example
Once you performed the instructions, after about two minutes, you will see a green notification bar in the Web UI. Your open-appsec agents are now connected to the management!