> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Scan File

Upload a file to Kaspersky Threat Intelligence Portal for scanning.

Analysis may take several minutes to complete. Use the `Get File Scan Result` action with the returned file hash to retrieve the full report once it's ready.

**Note**: Files larger than 256 MB cannot be scanned.

<Note>
  External Documentation

  To learn more, visit the [Kaspersky Threat Intelligence Portal documentation](https://opentip.kaspersky.com/Help/Doc_data/en-US/SubmitFileAPI.htm).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter | Description |
  | - | - |
  | File Identifier | The identifier of the file to scan. You can create a file identifier using the `Set File Variable` action. |
  | File Name | The name of the file being scanned. |
</div>

## Example Output

```json theme={"dark"}
{
	"Zone": "Red",
	"FileGeneralInfo": {
		"FileStatus": "Malware",
		"Sha1": "<string>",
		"Md5": "<string>",
		"Sha256": "<string>",
		"Size": 1024000,
		"Type": "PE executable"
	},
	"DetectionsInfo": [
		{
			"LastDetectDate": "2023-06-20T14:45:00Z",
			"DescriptionUrl": "https://threats.kaspersky.com/en/threat/Trojan.Win32.Generic",
			"Zone": "Red",
			"DetectionName": "Trojan.Win32.Generic",
			"DetectionMethod": "Heuristic analysis"
		}
	],
	"DynamicDetections": [
		{
			"Zone": "Red",
			"Threat": 2
		}
	]
}
```

## Workflow Library Example

[Scan File with Kaspersky Threat Intelligence Portal and Send Results Via Email](https://library.blinkops.com/workflows/scan-file-with-kaspersky-threat-intelligence-portal-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/scan-file-with-kaspersky-threat-intelligence-portal-and-send-results-via-email/canvas" />
</div>
