File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828
2929## Debug Logs
3030
31- Debug Logs are stored in /var/log/cb/cb-defense.log
31+ Debug Logs are stored in /var/log/cb/cb-defense.log
32+
33+ ## Sample Config File
34+
35+ ```
36+ [ general]
37+
38+ #
39+ # Template for syslog output.
40+ # This is a jinja 2 template
41+ # NOTE: The source variable corresponds to the Cb Defense Server used to retrieve results
42+ #
43+ template = {{source}}|{{version}}|{{vendor}}|{{product}}|{{dev_version}}|{{signature}}|{{name}}|{{severity}}|{{extension}}
44+
45+ #
46+ # Specify a file containing PEM-encoded CA certificates for verifying the peer server when using TLS+TCP syslog
47+ #
48+ ca_cert = /etc/cb/integrations/cb-defense/cert.pem
49+
50+ #
51+ # Specify a host to send notifications from all Cb Defense Servers
52+ #
53+ tcp_tls_host = localhost
54+
55+ #
56+ # Specify the port to send notifications
57+ #
58+ tcp_tls_port = 8888
59+
60+ [ cbdefenseserver1]
61+
62+ #
63+ # Cb Defense Connector ID
64+ #
65+ connector_id = F8KFGNF100
66+
67+ #
68+ # Cb Defense API Key
69+ #
70+ api_key = WT9T3QDP4UGCK2NS96999999
71+
72+ #
73+ # Cb Defense Server URL
74+ # NOTE: this is not the url to the web ui, but to the url of sensor checkins
75+ #
76+ server_url = https://server.yourcompany.com
77+
78+ #
79+ # For more than one Cb Defense Servers, add another server using the following template including the stanza
80+ #
81+ #[ cbdefenseserver2]
82+ #connector_id = F8KFGNFVS6
83+ #api_key = WT9T3QDP4UGCK2NS96JSGTDZ
84+ #server_url = https://server.yourcompany.com
85+ ```
You can’t perform that action at this time.
0 commit comments