The Scanning Agent allows scanning internal applications with a secure, clean, and easy-to-set-up solution to scan your non-public applications. You can learn more about the Scanning Agent in this article on how to scan internal applications with a Scanning Agent.
Installing a Scanning Agent involves two steps:
Create the Scanning Agent in Probely.
Install Probely’s Farcaster Agent on your network.
This article describes these steps in detail.
Step 1: Create the Scanning Agent
This first step creates the Scanning Agent on the Probely’s side:
Open the dropdown menu on the top-right corner of the navigation bar and click on Scanning Agents. If you do not see this option, contact your account owner.
Click on ADD AGENT.
Type the name of the Scanning Agent.
If the Scanning Agent is restricted to targets of some teams, tick the checkbox and select those teams from the dropdown. Learn how to get started with Teams.
Click on GENERATE.
A pop-up window is displayed with important information that, for security reasons, will not be visible again. So, you should do the following:
Under Agent Token, copy and save the token securely.
Under Installation, go to the tabs for the way you want to install the agent:
DOCKER - To use Docker, copy and save securely the following:
The Docker command to install the agent.
The Docker command to check the agent logs.
DOCKER-COMPOSE - To use Docker-compose, copy and save securely the following:
docker-compose.ymlmanifest for the agent.
The Docker-compose command to start the agent.
KUBERNETES - To use Kubernetes, copy and save securely the following:
The Kubernetes command to create the Probely namespace.
The Kubernetes command to create the agent token secret.
The Kubernetes command to deploy the agent pod.
Step 2: Install Probely’s Farcaster Agent
In this step, you will install Probely’s Farcaster Agent on your network. It is the piece that will allow connecting Probely Cloud servers and your internal applications to perform scans. For that, read and follow the instructions on GitHub using the information you saved in Step 1. of this article.
In any case, you can quickly install the Farcaster Agent by executing the following command in your terminal:
docker run -d \
--cap-add NET_ADMIN \
--device /dev/net/tun \
-e FARCASTER_AGENT_TOKEN=<YOUR_FARCASTER_AGENT_TOKEN> \
In the command, replace <YOUR_FARCASTER_AGENT_TOKEN> with the token you generated and saved in Step 1.
After running this command, the container should be up and running. You just have to configure the Scanning Agent in your targets and run scans on those targets to scan your internal applications.
Please don't hesitate to contact us with any questions about the Scanning Agent.
P.S.: Why the name Farcaster? Read about it in Why is the Scanning Agent named Farcaster?