-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(virus-scanner): invoke lambda to scan file (#6734)
* feat: add fileKey to joi validation * feat: test lambda invoke v3 * feat: trigger virus scanner lambda * feat: log return payload * fix: show payload and logresult as string * fix: parsing of payload to json * feat: trigger lambda on local * refactor: rm version check in receiveStorageSubmission * docs: add comments with relevant references to tix * chore: update logger meta.action * fix: broken receiver tests due to answer field * docs: incl storage v2+ forms * feat: runtime typeguards for lambda output parsing * feat: add uuid check for quarantine file key * fix: use answer for quarantine file key * fix: isQuarantinedAttachmentResponse answer check * fix: playwright tests - set answer as filename * revert: "fix: broken receiver tests due to answer field" This reverts commit 4555583. * feat: parse json safely * test: triggerVirusScanning * refactor: use typeguards for type checking logic - docs: added stronger warnings in comments * feat: invalid quarantine file key error * fix: broken test due to file key error update * fix: import from shared * refactor: typeguards to know better than 'any'
- Loading branch information
1 parent
04f1070
commit c6c6b61
Showing
16 changed files
with
19,697 additions
and
15,877 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.