Expose only the agent-only API on a node
When a satellite is installed, it may need to be exposed on the internet so that agents can communicate. In this case, it may be interesting to disable access to the GUI and expose only the API reserved for agents. Another use case is to distinguish the administration interface from the production interface.
To do this, you must:
Add the following line in file
/etc/cyberwatch/containers.env
:ONLY_API_AND_THIRD_PARTIES="true"
Restart Cyberwatch:
sudo cyberwatch restart