Enable or disable custom YARA scanners Enable or disable the custom YARA scanner settings. Resource URL POST https://<MATD_IP>/php/configloader/configCreator.php Specify these HTTP headers in the resource URL request: Accept: application/vnd.ve.v1.0+json VE-SDK-API: Base64 encoded "session:user id" string Input parameters Input key Input value Description command customYaraScannerSetting The API call handles the custom YARA scanner settings. yaraEnable 0 Disables the custom YARA scanner. 1 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"} Parent topic: McAfee Advanced Threat Defense APIs
Enable or disable custom YARA scanners Enable or disable the custom YARA scanner settings. Resource URL POST https://<MATD_IP>/php/configloader/configCreator.php Specify these HTTP headers in the resource URL request: Accept: application/vnd.ve.v1.0+json VE-SDK-API: Base64 encoded "session:user id" string Input parameters Input key Input value Description command customYaraScannerSetting The API call handles the custom YARA scanner settings. yaraEnable 0 Disables the custom YARA scanner. 1 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"} Parent topic: McAfee Advanced Threat Defense APIs