Download and Installation

Downloading and Installing the Collector

The following are the prerequisites for the HTTPS Collector:

  1. TLS settings should be enabled.

  2. The server should be accessible by Fully Qualified Domain Name (FQDN).

  3. TLS certificate for the FQDN of the server where the collector is installed must be provided in config.yaml (See below)

  4. It is highly recommended to install the HTTPS collector in the same network/VPC as the agents

  5. Multiple collectors can be installed behind a load balancer for high availability and fault tolerance

Using existing docker container

The Sealights Collector can be found at the following DockerHub link: https://hub.docker.com/r/sealights/on-prem-collector

docker pull sealights/on-prem-collector

Create your own Collector Image

  1. Download the Collector Binaries and Unzip :

wget -nv https://agents.sealights.co/collector/0.56.0/collector.zip
unzip -oq collector.zip

#curl tool can also be used
#curl -L "https://agents.sealights.co/collector/0.56.0/collector.zip" --output collector.zip
  1. Create a Dockerfile:

  1. Build the Image:

Configuration

The following is a sample configuration that can be used to run the HTTPS Collector using Docker:

  1. Create a file called config.yaml with the following sample content (See Configuration File Reference below for all available parameters)

  1. Run the HTTPS collector in your container orchestration platform with the configuration file you set up For instancem, running it using Docker:

Enabling Proxy functionality (Optional)

When the collector needs to serve other agents' functionalities like config and scan commands (besides coverage collection), you must enable its proxy service according to the additional settings below. Please notice the port must be different from the collector service. For example below, port 16501 for proxy versus port 16500 for collector.

Configuration File Reference

Last updated

Was this helpful?