Create-Agent-Config Script
Table of Contents
On Github: https://github.com/cumulodev/hoster-tools#create-agent-config
Create a nimbusec agent configuration file based on an import CSV file. The create-agent-config
tool outputs the configuration to stdout, so redirect it to the desired path (e.g. /opt/nimbusec/agent.conf).
Installation
If you have Go installed, the create-agent-config
can simply be installed by go get:
go get github.com/cumulodev/hoster-tools/create-agent-config
Example Usage
As key
and secret
please use an Server Agent Token (can be found at https://portal.nimbusec.com/einstellungen/serveragent).
create-agent-config -key abc -secret abc -file import.csv > /opt/nimbusec/agent.conf
Or define another path for writing the temporary results file
create-agent-config -key abc -secret abc -tmpfile C:\\tmp\\nimbusec.tmp -file import.csv > /opt/nimbusec/agent.conf
An example for the import.csv file is in the create-agent-config directory.