Skip to content

feat(scan): Add a flag to wait for analysis completion#71

Merged
mgmacias95 merged 14 commits intomasterfrom
wait_for_scan_completion
Mar 10, 2023
Merged

feat(scan): Add a flag to wait for analysis completion#71
mgmacias95 merged 14 commits intomasterfrom
wait_for_scan_completion

Conversation

@mgmacias95
Copy link
Copy Markdown
Member

@mgmacias95 mgmacias95 commented Mar 9, 2023

closes #15

It checks the analysis status every second and has a timeout of 2 minutes.

Sample of usage:

$ ./build/vt scan file -w ~/Downloads/oliver.jpg -i _id,last_analysis_stats,type_description
- _id: "80ce08d3295a41fe3997a40f3891b124626635ad367b1cd3c3eec334d10429a0"
  last_analysis_stats: 
    confirmed-timeout: 0
    failure: 0
    harmless: 0
    malicious: 0
    suspicious: 0
    timeout: 0
    type-unsupported: 14
    undetected: 59
  type_description: "JPEG"

@mgmacias95 mgmacias95 requested a review from guspascual March 9, 2023 13:55
@mgmacias95 mgmacias95 merged commit b6a0c30 into master Mar 10, 2023
@mgmacias95 mgmacias95 deleted the wait_for_scan_completion branch March 10, 2023 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make the scanning of a file/URL less cumbersome

3 participants