Whitelist
whitelist
Request method: GET
Description: Returns a list of whitelisted hashes for the system
Output: data: {id, file_cksum_id, creator_id, md5sum, creation_date, active, activation_date, sha1, sha256, sha512, ssdeep}; extraPKValues; positionInTable: {offset}
Response codes: 200 OK - List of Whitelists are returned
whitelist/delete
Request method: POST
Description: Removes a whitelisted hash from the system. The data must be supplied in a JSON format in the body, with the following structure:
["6f285db987e5714df03e4aafcad413d3"]
Response codes: 204 No Content - Hash was deleted
whitelist/create
Request method: POST
Description: Adds a new MD5 hash to the whitelist. The hash must be supplied in a form-data
format, with the following structure:
hashes[]=<hash>
If a hash already exists, it will be returned in the duplicate
key instead of the added
key.
Output: duplicate; added: id, file_cksum_id, creator_id, md5sum, creation_date, active, activation_date, sha1, sha256, sha512, ssdeep
Response codes: 200 OK - Hash was created