Skip to contents

Retrieves detailed analysis results for a file from VirusTotal using the v3 API.

Usage

file_report(hash, ...)

Arguments

hash

File hash (MD5, SHA1, or SHA256) or analysis ID

...

Additional arguments passed to virustotal_GET

Value

A virustotal_file_report object containing file analysis results including antivirus scans, file metadata, and threat detection information

See also

set_key for setting the API key, scan_file for submitting files

Examples

if (FALSE) { # \dontrun{
# Set API key first
set_key('your_api_key_here')

# Get file report using hash
report <- file_report(hash = '99017f6eebbac24f351415dd410d522d')
print(report)
summary(report)

# Work with the rich nested structure returned by v3 API
print(report$data$attributes$last_analysis_stats)
} # }