Skip to main content
Version: 5.3

Retrieving an Archive with Required Apps and Binaries

GET /app/content

Retrieves an archive with required apps and binaries:

curl -k -XGET https://<SAF BM IP-address>:7767/app/content

Input Parameters (Headers)

NameTypeDescription
СlientIPstringIP address of the host from which the request originates
FileTypestringType of requested resource: app or binary

Input Parameters (Body)

NameTypeDescription
ipstringIP address of the host from which the request originates
dnsstringDNS of the host from which the request originates
hostnamestringHostname of the host from which the request originates
systemstringOperating system of the host from which the request originates
guidstringUnique identifier of the SAF Beat from which the request originates
appstringName of the requested resource

Output Parameters

Byte array.

Header:

NameTypeDescription
HashstringSHA256 hash sum of the archive being sent

Supported Errors

StatusError ContentDescription
400<syntax error>Syntax error in the request body
400Wrong json fieldsIncorrect field name or missing required field
500<error writing response to request>Internal SAF Beat Manager error
400Cannot find file <file name>The archive data was not found
400Header is not filledFileType header is missing

Examples

Input parameters example:

{
"ip": "133.133.133.133",
"dns": "google",
"hostname": "coolHost",
"system": "windows-amd64",
"guid": "1231",
"app": "filebeat"
}