added scanner logic and SQS stuff, untested
Showing
- .eslintrc.json 9 additions, 9 deletions.eslintrc.json
- LICENSE 1 addition, 1 deletionLICENSE
- index.js 162 additions, 5 deletionsindex.js
- lib/S3.js 9 additions, 0 deletionslib/S3.js
- lib/SQS.js 9 additions, 0 deletionslib/SQS.js
- lib/freshclam.js 21 additions, 0 deletionslib/freshclam.js
- lib/getfile.js 0 additions, 11 deletionslib/getfile.js
- lib/refreshclam.js 0 additions, 15 deletionslib/refreshclam.js
- lib/scanner.js 0 additions, 22 deletionslib/scanner.js
- package.json 15 additions, 8 deletionspackage.json
lib/S3.js
0 → 100644
lib/SQS.js
0 → 100644
lib/freshclam.js
0 → 100644
lib/getfile.js
deleted
100644 → 0
lib/refreshclam.js
deleted
100644 → 0
lib/scanner.js
deleted
100644 → 0
{ | { | ||
"name": "whats-a-virus", | "name": "s3-scanner", | ||
"version": "0.0.1", | "version": "0.0.1", | ||
"description": "Whats this, a virus? Scanner built for whats-th.is file uploader.", | "description": "Node.js microservice to process events from S3 over SNS and scan new objects.", | ||
"main": "index.js", | "main": "index.js", | ||
"scripts": { | "scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | "test": "echo \"Error: no test specified\" && exit 1" | ||
... | @@ -14,22 +14,29 @@ | ... | @@ -14,22 +14,29 @@ |
"av", | "av", | ||
"antivirus", | "antivirus", | ||
"clamscan", | "clamscan", | ||
"clamav" | "clamav", | ||
"s3", | |||
"simple storage service", | |||
"simple-storage-service", | |||
"aws", | |||
"amazon web services", | |||
"amazon-web-services" | |||
], | ], | ||
"author": "aurieh", | "author": "Aurieh", | ||
"license": "MIT", | "license": "MIT", | ||
"bugs": { | "bugs": { | ||
"url": "https://github.com/whats-this/scanner/issues" | "url": "https://github.com/whats-this/scanner/issues" | ||
}, | }, | ||
"homepage": "https://github.com/whats-this/scanner#readme", | "homepage": "https://github.com/whats-this/scanner#readme", | ||
"dependencies": { | |||
"aws-sdk": "^2.7.15", | |||
"clamscan": "^0.8.4", | |||
"debug": "^2.4.4" | |||
}, | |||
"devDependencies": { | "devDependencies": { | ||
"eslint": "^3.12.1", | "eslint": "^3.12.1", | ||
"eslint-config-standard": "^6.2.1", | "eslint-config-standard": "^6.2.1", | ||
"eslint-plugin-promise": "^3.4.0", | "eslint-plugin-promise": "^3.4.0", | ||
"eslint-plugin-standard": "^2.0.1" | "eslint-plugin-standard": "^2.0.1" | ||
}, | |||
"dependencies": { | |||
"clamscan": "^0.8.4", | |||
"debug": "^2.4.4" | |||
} | } | ||
} | } |
Please register or sign in to comment