File Scan API Reference
Since File Scan generally requires an asynchronous response, the most common workflow is as follows:
- Scan a file using the POST method. The scan returns a response with a 202 success code.
- Input the Request ID from the response into the GET method.
- The API polls the File Scan request until it receives a response.
- Once the API's GET method receives a response, it returns the score, verdict, category, and raw data if requested.
For more information on asynchronous responses, refer to Asynchronous Responses.
CrowdStrike supports the following file formats:
- Portable Executable (PE)
- Mach object file (Mach-O)
- Executable and Linkable Format (ELF)
- Microsoft Office Word, Excel, and PowerPoint documents
- Portable Document Format (PDF)
- ZIP Archives (ZIP)
ReversingLabs supports most file types. Supported file types are subject to change and can vary between service providers.
post/v1/scan
cURL
curl -sSLX POST 'https://file-scan.aws.us.pangea.cloud/v1/scan' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: multipart/form-data'
Response
200
Scan
POST
https://file-scan.aws.us.pangea.cloud/v1/scanScan a file for malicious content using the provider configured in File-Scan settings, or use the optional “provider” parameter to specify the provider to be used.
multipart/form-data
Was this article helpful?