Setting
|
Description
|
Name
|
Required setting.
Unique name of the resource. Must contain 1 to 128 Unicode characters.
|
Tenant
|
Required setting.
The name of the tenant that owns the resource.
|
Disabled switch
|
Used when events must not be sent to the destination.
By default, sending events is enabled.
|
Type
|
Required setting.
Destination type, nats-jetstream.
|
URL
|
Required setting.
URL that you want to connect to.
|
Topic
|
Required setting.
The topic of NATS messages. Must contain Unicode characters.
|
Delimiter
|
Specify a character that defines where one event ends and the other begins. By default, \n is used.
|
Authorization
|
Type of authorization when connecting to the specified URL Possible values:
- disabled is the default value.
- plain — if this option is selected, you must indicate the secret containing user account credentials for authorization when connecting to the connector.
Add secret - If you previously created a secret, select it from the Secret drop-down list.
If no secret was previously added, the drop-down list shows No data. - If you want to add a new secret, click the button on the right of the Secret list.
The Secret window opens. - In the Name field, enter the name that will be used to display the secret in the list of available secrets.
- In the User and Password fields, enter the credentials of the user account that the Agent will use to connect to the connector.
- If necessary, add any other information about the secret in the Description field.
- Click the Save button.
The secret will be added and displayed in the Secret list.
|
Description
|
Resource description: up to 4,000 Unicode characters.
|
Setting
|
Description
|
Compression
|
You can use Snappy compression. By default, compression is disabled.
|
Buffer size
|
Sets the size of the buffer.
The default value is 1 KB, and the maximum value is 64 MB.
|
Timeout
|
The time (in seconds) to wait for a response from another service or component.
The default value is 30 .
|
Disk buffer size limit
|
Size of the disk buffer in bytes.
The default value is 10 GB.
|
Cluster ID
|
ID of the NATS cluster.
|
TLS mode
|
Use of TLS encryption. Available values:
- Disabled (default) means TLS encryption is not used.
- Enabled means encryption is used, but the certificate is not verified.
- With verification means encryption is used with verification that the certificate was signed with the KUMA root certificate. The root certificate and key of KUMA are created automatically during program installation and are stored on the KUMA Core server in the folder /opt/kaspersky/kuma/core/certificates/.
- Custom CA means encryption is used with verification that the certificate was signed by a Certificate Authority. The secret containing the certificate is selected from the Custom CA drop-down list, which is displayed when this option is selected.
Creating a certificate signed by a Certificate Authority To use this TLS mode, you must do the following on the KUMA Core server (OpenSSL commands are used in the examples below):
- Create the key that will be used by the Certificate Authority.
Example command: openssl genrsa -out ca.key 2048 - Generate a certificate for the key that was just created.
Example command: openssl req -new -x509 -days 365 -key ca.key -subj "/CN=<common host name of Certificate Authority>" -out ca.crt - Create a private key and a request to have it signed by the Certificate Authority.
Example command: openssl req -newkey rsa:2048 -nodes -keyout server.key -subj "/CN=<common host name of KUMA server>" -out server.csr - Create a certificate signed by the Certificate Authority. The subjectAltName must include the domain names or IP addresses of the server for which the certificate is being created.
Example command: openssl x509 -req -extfile <(printf "subjectAltName=DNS:domain1.ru,DNS:domain2.com,IP:192.168.0.1") -days 365 -in server.csr -CA ca.crt -CAkey ca.key -CAcreateserial -out server.crt - The obtained
server.crt certificate should be uploaded in the KUMA web interface as a certificate-type secret, which should then be selected from the Custom CA drop-down list.
When using TLS, it is impossible to specify an IP address as a URL.
|
Delimiter
|
In the drop-down list, you can select the character to mark the boundary between events. By default, \n is used.
|
Buffer flush interval
|
Time (in seconds) between sending batches of data to the destination. The default value is 1 second .
|
Workers
|
This field is used to set the number of services processing the queue. By default, this value is equal to the number of vCPUs of the KUMA Core server.
|
Debug
|
A drop-down list in which you can specify whether resource logging must be enabled. The default value is Disabled.
|
Disk buffer disabled
|
Drop-down list that lets you enable or disable the disk buffer. By default, the disk buffer is enabled.
The disk buffer is used if the collector cannot send normalized events to the destination. The amount of allocated disk space is limited by the value of the Disk buffer size limit setting.
If the disk space allocated for the disk buffer is exhausted, events are rotated as follows: new events replace the oldest events written to the buffer.
|
Filter
|
In the Filter section, you can specify the criteria for identifying events that must be processed by the resource. You can select an existing filter from the drop-down list or create a new filter.
Creating a filter in resources
- In the Filter drop-down list, select Create new.
- If you want to keep the filter as a separate resource, select the Save filter check box.
In this case, you will be able to use the created filter in various services. This check box is cleared by default. - If you selected the Save filter check box, enter a name for the created filter resource in the Name field. The name must contain 1 to 128 Unicode characters.
- In the Conditions settings block, specify the conditions that the events must meet:
- Click the Add condition button.
- In the Left operand and Right operand drop-down lists, specify the search parameters.
Depending on the data source selected in the Right operand field, you may see fields of additional parameters that you need to use to define the value that will be passed to the filter. For example, when choosing active list you will need to specify the name of the active list, the entry key, and the entry key field. - In the operator drop-down list, select the relevant operator.
Filter operators - =—the left operand equals the right operand.
- <—the left operand is less than the right operand.
- <=—the left operand is less than or equal to the right operand.
- >—the left operand is greater than the right operand.
- >=—the left operand is greater than or equal to the right operand.
- inSubnet—the left operand (IP address) is in the subnet of the right operand (subnet).
- contains—the left operand contains values of the right operand.
- startsWith—the left operand starts with one of the values of the right operand.
- endsWith—the left operand ends with one of the values of the right operand.
- match—the left operand matches the regular expression of the right operand. The RE2 regular expressions are used.
- hasBit—checks whether the left operand (string or number) contains bits whose positions are listed in the right operand (in a constant or in a list).
The value to be checked is converted to binary and processed right to left. Chars are checked whose index is specified as a constant or a list. If the value being checked is a string, then an attempt is made to convert it to integer and process it in the way described above. If the string cannot be converted to a number, the filter returns False. - hasVulnerability—checks whether the left operand contains an asset with the vulnerability and vulnerability severity specified in the right operand.
If you do not specify the ID and severity of the vulnerability, the filter is triggered if the asset in the event being checked has any vulnerability. - inActiveList—this operator has only one operand. Its values are selected in the Key fields field and are compared with the entries in the active list selected from the Active List drop-down list.
- inContextTable checks whether or not an entry exists in the context table. This operator has only one operand. Its values are selected in the Key fields field and are compared with the values of entries in the context table selected from the drop-down list of context tables.
- inDictionary—checks whether the specified dictionary contains an entry defined by the key composed with the concatenated values of the selected event fields.
- inCategory—the asset in the left operand is assigned at least one of the asset categories of the right operand.
- inActiveDirectoryGroup—the Active Directory account in the left operand belongs to one of the Active Directory groups in the right operand.
- TIDetect—this operator is used to find events using CyberTrace Threat Intelligence (TI) data. This operator can be used only on events that have completed enrichment with data from CyberTrace Threat Intelligence. In other words, it can only be used in collectors at the destination selection stage and in correlators.
- If necessary, select the do not match case check box. When this check box is selected, the operator ignores the case of the values.
The selection of this check box does not apply to the InSubnet, InActiveList, InCategory or InActiveDirectoryGroup operators. This check box is cleared by default. - If you want to add a negative condition, select If not from the If drop-down list.
- You can add multiple conditions or a group of conditions.
- If you have added multiple conditions or groups of conditions, choose a search condition (and, or, not) by clicking the AND button.
- If you want to add existing filters that are selected from the Select filter drop-down list, click the Add filter button.
You can view the nested filter settings by clicking the button.
|