Integrations
VirusTotal
Available APIs
Analyze Hash

Analyze Hash

Retrieve detailed information about a file hash from VirusTotal.

For more information on the API for analyzing a file hash, see Get a file report (opens in a new tab).

SDK Import:

from admyral.actions import virus_total_analyze_hash

Parameters:

FieldDescriptionRequired
Hash hashSHA-256 hash to analyze.Yes

Returns

A JSON object.

Required Secrets

Secret PlaceholderDescription
VIRUS_TOTAL_SECRETVirusTotal secret. See VirusTotal setup

SDK Example

result = virus_total_analyze_hash(
	hash="8d3f68b16f0710f858d8c1d2c699260e6f43161a5510abb0e7ba567bd72c965b",
	secrets={"VIRUS_TOTAL_SECRET": "my_stored_virus_total_secret"}
)