Uploads the supplied Yara rule file to the JSA system. If the provided Yara file is empty - all rules are deleted from the system.
Uploads the supplied Yara rule file to the JSA system.
Table 1: PUT /staged_config/yara_rules Resource Details
Table 2: PUT /staged_config/yara_rules Request Body Details
Required - The Yara rule file. Must be properly-formed Yara rule content, either a TEXT file, or a TEXT file within a ZIP or TAR.GZ archive. Must be provided with MIME type text/plain, application/zip, application/x-gzip or multipart/form-data
Table 3: PUT /staged_config/yara_rules Response Codes
HTTP Response Code
The supplied Yara rule file was uploaded.
Must be a correctly-formatted Yara rule file.
The archive file must only contain a single Yara rule file.
Invalid archive file was provided.
Failed to extract the contents of the archive file.
Yara validator script was terminated owing to timeout.
Yara validator script encountered an unknown exception.
In case of an error, the method returns an exception.