Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Data scanned: 0.00 MB instead of actual size #71

Open
satishmscict opened this issue Jan 5, 2024 · 0 comments
Open

[BUG]: Data scanned: 0.00 MB instead of actual size #71

satishmscict opened this issue Jan 5, 2024 · 0 comments
Labels
needs-triage Issue that requires triage type/bug Something isn't working

Comments

@satishmscict
Copy link

Describe the bug
File count in scanning results is accurate, but 'Data Scanned' always shows 0.00 MB instead of the actual size.

To Reproduce
Steps to reproduce the behavior:

  1. Step 1 : Upload large file above 100 MB
  2. Step 2 : Perform the scan with the following code:
image

- name: Malware Scanner id: malware-scanner uses: dell/common-github-actions/malware-scanner@main with: directories: sample-test-files options: "-ri --scan-pe=YES --stdout -l FILE.txt --log=FILE"
4. Step 3 : Scan summary result will get the Data scanned: 0.00 MB

Expected behavior
Need to display actual size of Data scanned instead of showing 0.00 MB. I have tried with a single file .exe with 127 MB in this case I also got 0.00 MB.

Screenshots
image

FILE SIZES:
EICAR.txt. 69 bytes
hiveDisk-1.23.0 Setup.exe: 127 MB

Logs
If applicable, submit logs or stack traces from the affected services
----------- SCAN SUMMARY -----------
Known viruses: 8682025
Engine version: 0.103.9
Scanned directories: 1
Scanned files: 2
Infected files: 1
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 20.643 sec (0 m 20 s)
Start Date: 2024:01:05 02:43:38
End Date: 2024:01:05 02:43:58

System Information (please complete the following information):

  • GitHub Actions with runs-on: ubuntu-latest Ubuntu runner
    .
@satishmscict satishmscict added needs-triage Issue that requires triage type/bug Something isn't working labels Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Issue that requires triage type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant