Skip to content

Commit

Permalink
#77 #23 use only one File analysis service and limit to TLP GREEN obs…
Browse files Browse the repository at this point in the history
…ervables
  • Loading branch information
jeromeleonard committed Jul 26, 2017
1 parent 79c4055 commit 8aad8dd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
"license": "AGPL-V3",
"baseConfig": "CuckooSandbox",
"config": {
"check_tlp": false,
"service": "file_analysis_inet"
"check_tlp": true,
"max_tlp":1,
"service": "file_analysis"
},
"description": "Cuckoo Sandbox file analysis with Internet access",
"dataTypeList": ["file"],
Expand Down
3 changes: 2 additions & 1 deletion analyzers/CuckooSandbox/CuckooSandbox_Url_Analysis.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"license": "AGPL-V3",
"baseConfig": "CuckooSandbox",
"config": {
"check_tlp": false,
"check_tlp": true,
"max_tlp":1,
"service": "url_analysis"
},
"description": "Cuckoo Sandbox URL analysis",
Expand Down
2 changes: 1 addition & 1 deletion analyzers/CuckooSandbox/cuckoosandbox_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def run(self):
try:

# file analysis
if self.service in ['file_analysis_inet', 'file_analysis_noinet']:
if self.service in ['file_analysis']:
filepath = self.getParam('file', None, 'File is missing')
filename = basename(filepath)
with open(filepath, "rb") as sample:
Expand Down

0 comments on commit 8aad8dd

Please sign in to comment.