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

On-upload: Tag files immediately #38

Closed
GdataGithubBot opened this issue Jun 12, 2024 · 0 comments
Closed

On-upload: Tag files immediately #38

GdataGithubBot opened this issue Jun 12, 2024 · 0 comments

Comments

@GdataGithubBot
Copy link
Contributor

Acceptance criteria:

  • When a file is uploaded a tag is added immediately
  • Too large files are tagged as Won't scan
  • On VaaS errors files are tagged as Unscanned
pstadermann pushed a commit that referenced this issue Jun 12, 2024
Tag uploaded files with "Unscanned"
pstadermann pushed a commit that referenced this issue Jun 12, 2024
Tag uploaded files with scan result
pstadermann pushed a commit that referenced this issue Jun 12, 2024
On-upload: If scan fails, tag uploaded file as "Unscanned"
pstadermann pushed a commit that referenced this issue Jun 12, 2024
On-upload: If file is too big, tag uploaded file as "Won't scan"

# Test cases

## Small files
Clean -> Clean
Pup -> Pup
Malicious -> blocks upload

## Large files
Any -> Won't scan

## VaaS error (e.g. wrong credentials)
Any -> Unscanned
pstadermann pushed a commit that referenced this issue Jun 13, 2024
* Rename EventListener to CacheEntryListener
* Add documentation to VerdictService
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

No branches or pull requests

2 participants