-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
631 additions
and
50 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"template": "https://github.com/CybercentreCanada/assemblyline-service-template.git", | ||
"commit": "349a8390e48c1607f6dc245add2627df07c7bc9b", | ||
"checkout": null, | ||
"context": { | ||
"cookiecutter": { | ||
"service_name": "metadefender", | ||
"__svc_name": "metadefender", | ||
"__repository": "assemblyline-service-metadefender", | ||
"__pkg_name": "metadefender", | ||
"class_name": "MetaDefender", | ||
"short_description": "This Assemblyline service interfaces with the [MetaDefender Core](https://www.opswat.com/metadefender-core) multi-scanning AV engine.", | ||
"short_description_fr": "Ce service Assemblyline s'interface avec le moteur AV à balayage multiple de [MetaDefender Core] (https://www.opswat.com/metadefender-core).", | ||
"stage": "CORE", | ||
"category": "Antivirus", | ||
"org_name_full": "CybercentreCanada", | ||
"org_name_short": "cccs", | ||
"license": "mit", | ||
"_template": "https://github.com/CybercentreCanada/assemblyline-service-template.git" | ||
} | ||
}, | ||
"directory": null | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "RunServiceOnce MetaDefender", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "assemblyline_v4_service.dev.run_service_once", | ||
"cwd": "${workspaceFolder}", | ||
"args": [ | ||
"-d", | ||
"metadefender.metadefender.MetaDefender", | ||
"${file}" | ||
], | ||
"justMyCode": false, | ||
}, | ||
{ | ||
"name": "[Service] MetaDefender - Privileged", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "assemblyline_v4_service.run_privileged_service", | ||
"env": { | ||
"SERVICE_MANIFEST_PATH": "service_manifest.yml", | ||
"PRIVILEGED": "true", | ||
"SERVICE_PATH": "metadefender.metadefender.MetaDefender", | ||
"TASKING_DIR": "/tmp/MetaDefender" | ||
}, | ||
"console": "internalConsole", | ||
"cwd": "${workspaceFolder}", | ||
"justMyCode": false, | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": "explicit" | ||
}, | ||
"editor.formatOnSave": true, | ||
"editor.rulers": [ | ||
120 | ||
], | ||
"editor.tabSize": 4, | ||
"editor.wordWrap": "wordWrapColumn", | ||
"editor.wordWrapColumn": 120, | ||
"files.insertFinalNewline": true, | ||
"files.trimFinalNewlines": true, | ||
"files.trimTrailingWhitespace": true, | ||
"isort.args": [ | ||
"-l", | ||
"120", | ||
"--profile=black", | ||
// "--src=${workspaceFolder}" | ||
], | ||
"[python]": { | ||
"editor.defaultFormatter": "ms-python.black-formatter" | ||
}, | ||
"black-formatter.args": [ | ||
"--line-length=120" | ||
], | ||
"flake8.args": [ | ||
"--max-line-length=120", | ||
//Added the ignore of E203 for now : https://github.com/PyCQA/pycodestyle/issues/373 | ||
"--ignore=E203,W503" | ||
], | ||
} |
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.