Skip to content

VT quota management #287

@MarcOverIP

Description

@MarcOverIP

Im getting Virus Total quota issues although it seems that I still have space left in my quota. Output from daemon.log reads:

2022-12-05 12:26:26,399 - DEBUG - alarm_filehash - module.py - check_hashes -- Results from VirusTotal: {'02bc35ae711eee0977c0cc099954ecad': {'result': 'skipped, quota reached'},
<here follows a very long list of hashes>

My hypothesis is that although the quota says 240 left for now, the actual list of items to check exceeds 240. I checked this manually for one call and indeed it wanted to check 386 hashes in one go. VT will see the too big result come in and therefor nothing will be checked. This is an endless loop as the amount of to be checked items will only grow.

It would be ideal if alarm_filehash module would actually parse the output of VT's report on available quota, and tune the amount of to be checked hashed accordingly.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions