NSX-T Data Center REST API

IdsCustomSignaturesFileUpload (type)

{
  "additionalProperties": false, 
  "extends": {
    "$ref": "NoRestRequestParameters
  }, 
  "id": "IdsCustomSignaturesFileUpload", 
  "module_id": "PolicyIDSCustomSignature", 
  "properties": {
    "file": {
      "description": "The File should be a valid zip file, containing only a signature file with extension .rules for example : signature.rules If the ZIP is created on MAC then please make sure that there will be no extra file/content added in the zip file, like .DS_Store, _MACOSX etc. To zip the signature file on MAC. One can use the below command. zip -r <name-of-zip-file>  <signature-file> -x '**/.DS_Store'", 
      "required": true, 
      "title": "IDS custom signatures file", 
      "type": "multipart_file"
    }, 
    "version_name": {
      "description": "IDS custom signature version name. If not provided custom signature version Id will be used as display name.", 
      "required": false, 
      "title": "IDS custom signature version name", 
      "type": "string"
    }
  }, 
  "title": "File containing IDS custom signatures that needs to be uploaded", 
  "type": "object"
}