ON THIS PAGE
POST /config/extension_management/extensions
SUMMARY Uploads the supplied extension file to the JSA system.
Requires the System Administrator or Security Admin permissions. Uploads the supplied extension file to the JSA system.
MIME Type |
---|
application/json |
Parameter | Type | Optionality | Data Type | MIME Type | Description |
---|---|---|---|---|---|
fields |
header |
Optional |
String |
text/plain |
Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas. |
Parameter | Data Type | MIME Type | Description | Sample |
---|---|---|---|---|
file |
File |
application/x-gzip |
Required - The Extension file. Must be a properly-formed JSA extension/content export, either an XML file or an XML within a ZIP or TAR.GZ archive. Must be provided with MIME type application/xml, application/zip, application/x-gzip or multipart/form-data |
File |
HTTP Response Code | Unique Code | Description |
---|---|---|
201 |
The supplied extension file has been uploaded. |
|
409 |
22613 |
The supplied extension file can not be uploaded because it shares the same hub_id and version as one of the extensions in the system. |
412 |
22619 |
null |
412 |
22620 |
null |
422 |
22607 |
The supplied extension could not be validated successfully |
422 |
22616 |
The supplied manifest for the extension is invalid. |
500 |
22602 |
An error has occurred while trying to upload the extension file. |
Response Description
- id - Number - The unique ID of this extension within the JSA deployment.
- name - String - The name of the extension.
- description - String - The description of the extension.
- author - String - The person who generated the extension.
- authored_by_email - String - The email address of the author.
- version - String - The version of the extension.
- supported_languages - Array of strings - The language tags supported by this extension.
- exported_qradar_version - String - The version of the JSA deployment this extension was exported from.
- min_qradar_version - String - The minimum JSA version required for the extension to function properly.
- file_location - String - The location of the extension file on disk.
- size - Number - The size in bytes of the extension file.
- signed - String - The state of the extension's signature.
- beta - Boolean - True if the extension is considered to be beta or experimental.
- added_by - String - The user or authorized service that added the extension to JSA.
- installed_by - String The user or authorized service that installed the extension.
- add_time - Number - The date/time at which the extension was added to JSA, represented as number of milliseconds since Unix epoch.
- install_time - Number - The date/time at which the extension was installed, represented as number of milliseconds since Unix epoch.
- full_uninstall - Boolean - True if the extension and all of its contents can be fully uninstalled.
- status - String - The tag corresponding to the current status of the extension. Possible values are UPLOADED, UPLOADING, INSTALLED, INSTALLING, INSTALL_FAILED, UNINSTALLED, UNINSTALLING, UNINSTALL_FAILED, NOT_INSTALLED, PREVIEWING, NONE.
- contents - An array of objects representing an item contained within the extension. Each object has the following fields:
- content_type_id - Number - The ID of the content type.
- content_type_name - String - The name of the content type.
- identifier - String - The descriptive name/identifier of the item.
- fips_compliant - Boolean - True if the extension is FIPS compliant.
Response Sample
{ "add_time": 42, "added_by": "String", "author": "String", "authored_by_email": "String", "beta": true, "content_operation_error": "String", "contents": [ { "content_metadata": "String", "content_type_id": 42, "content_type_name": "String", "identifier": "String" } ], "description": "String", "exported_qradar_version": "String", "file_location": "String", "fips_compliant": true, "full_uninstall": true, "id": 42, "install_time": 42, "installed_by": "String", "min_qradar_version": "String", "name": "String", "signed": "String <one of: NOT_SIGNED, SIGNED_NOT_VERIFIED, SIGNED_AND_VERIFIED, UNKNOWN>", "size": 42, "status": "String <one of: UPLOADED, UPLOADING, INSTALLED, INSTALLING, INSTALL_FAILED, UNINSTALLED, UNINSTALLING, UNINSTALL_FAILED, NOT_INSTALLED, PREVIEWING, NONE, INSTALLED_WITH_ERROR, UNINSTALL_PREVIEWING, UNINSTALL_PREVIEW_FAILED>", "supported_languages": [ "String" ], "version": "String" }