Enable or disable the custom YARA scanner settings.
Resource URL
POST https://<TIS_IP>/php/configloader/configCreator.php
Input parameters
The following HTTP headers should be specified in the resource URL request:
Accept: application/vnd.ve.v1.0+json
Content-Type: multipart/form-data
VE-SDK-API: Base64 encoded "session:user id" string
Note
Make sure to supply as form-data in body.
Input key | Input value | Description |
|---|---|---|
command | customYaraScannerSetting | The API call handles the custom YARA scanner settings. |
yaraEnable | 0 or false | Disables the custom YARA scanner. |
1 or true | Enables the custom YARA scanner. | |
vmProfileID | Profile ID from the analyzer profile. | The analyzer profile with the enabled or disabled Custom Yara Scanner checkbox. |
Output parameters
Input key | Input value | Description |
|---|---|---|
success | true | The custom YARA scanner enable or disable action succeeded. |
Enable custom YARA settings example
Input
An example in Python:
postdata = {"command":" customYaraScannerSetting", "yaraEnable":’1’, "vmProfileID": ‘1’}
file_upload_req =requests.post(url,postdata,headers=headers,verify=False)Output
{"success": "true"}