# Functions
No description provided by the author
DefaultInintInfo Create a default Info.
GetAgentKey read from Environment and if not found there, try default file.
No description provided by the author
No description provided by the author
LoadAgentKeyMap read all agent infos from a file (/var/ossec/etc/client.keys).
LoadClientConfig Load the client configuration from a fole.
NewAgent create a new Agent for the target server.
NewClientConfig new client config with default values set.
No description provided by the author
NewEnrollmentConfig initialize new enrolment config.
No description provided by the author
NewInitInfo read InitInfo from default location.
NewQueue create new wodle.
No description provided by the author
No description provided by the author
ParseAgentKey parse a single key entry line.
No description provided by the author
Use PKCS7 to fill, IOS is also 7.
No description provided by the author
ReadInitInfo read InitInfo from file.
RegisterAgent register an agent via the AuthD Service.
WithAgentAllowedIPs which IPs are allwed.
WithAgentIP use specific Agent IP in messages.
WithBasePath use specific where to cache downloaded files.
WithClientName use a custom client name.
WithClientVersion use a custom client version.
WithConfigHash specify a local config hash.
WithContext use a custom context.
WithEncryptionMethod specify encryption method to use.
WithInitInfo use a custom context.
WithPort use specific port.
WithQueueLogger use a custom logger.
WithQueuePath use a custom queue path.
WithTargetQueue use a custom target queue.
WithTCP use TCP as Transport.
WithUDP use UDP as Transport.
WithZapLogger use a custom logger.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Windows log */.
EncryptionMethodAES use AES for transprot encryption.
EncryptionMethodBlowFish use BlowFish for transprot encryption.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Firewall event */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Host information log (from nmap or similar) */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IDS alert */.
No description provided by the author
No description provided by the author
time between server pings.
OSSEC rule */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
maximum number of messages that can be send ber second (500 is the hard limit on the server - be gentle ).
Squid log */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
each 60th ping -> 1/h.
syslog message */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Types of events (from decoders) */.
No description provided by the author
Apache log */.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
LocalInitInfo contains the init info of the locally installed OSSEC.
No description provided by the author
# Structs
AgentKey a single key entry.
No description provided by the author
Client allowes to handshake with the server to reach a pending state (which allowes the agent to become a group member).
ClientConfig see: https://documentation.wazuh.com/4.0/user-manual/reference/ossec-conf/client.html.
No description provided by the author
No description provided by the author
EnrollmentConfig enrolment configuration.
Event static structured event data user, srcip, dstip, srcport, dstport, protocol, action, id, url, data, extra_data, status, system_name https://documentation.wazuh.com/4.0/user-manual/ruleset/dynamic-fields.html https://github.com/wazuh/wazuh/blob/master/src/analysisd/decoders/plugins/json_decoder.c.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InitInfo information gathered from ossec-init.conf.
IntegrationEvent basic integration message.
IntegrationMeta standard metadata.
No description provided by the author
No description provided by the author
LocalConfig see https://documentation.wazuh.com/4.0/user-manual/reference/ossec-conf/index.html.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
R"([{"architecture":"amd64","scan_time":"2020/12/28 21:49:50", "group":"x11","name":"xserver-xorg","priority":"optional","size":"411","source":"xorg","version":"1:7.7+19ubuntu14","os_patch":""},{"hotfix":"KB4586786"}])")));.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Queue helper to create a custom wodle.
No description provided by the author
QueuePosting a massage for the queue.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
AgentKeyMap map of agents in agents key file.
AgentOption allows setting custom parameters during construction.
ConvertibleBoolean xml bool values (0,no,false / 1,yes,true).
EncryptionMethod supported transport encryption.
QueueOption allows setting custom parameters during construction.