Skip to content

Commit

Permalink
Removing deep_scan setting, increasing service timeout, allowing inte…
Browse files Browse the repository at this point in the history
…rnet access in Docker
  • Loading branch information
cccs-kevin committed May 26, 2021
1 parent ee28a8b commit 09fb424
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion antivirus.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def execute(self, request: ServiceRequest) -> None:
max_workers = len(self.hosts)
av_version_result_sections: List[ResultSection] = []
av_hit_result_sections: List[AvHitSection] = []
request.deep_scan = True

with ThreadPoolExecutor(max_workers=max_workers) as executor:
# Submit the file to each of the hosts
futures = [
Expand Down
4 changes: 2 additions & 2 deletions service_manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ stage: CORE
category: Antivirus

file_required: true
timeout: 10
timeout: 60
disable_cache: false

enabled: false
Expand All @@ -21,7 +21,6 @@ config:
hosts:
- ip: "localhost"
port: 1344
endpoint: "resp"
method: "icap"
name: "ICAP_Server"
- ip: "localhost"
Expand All @@ -47,3 +46,4 @@ heuristics:
docker_config:
image: ${REGISTRY}cccs/assemblyline-service-antivirus:$SERVICE_TAG
cpu_cores: 0.25
allow_internet_access: true

0 comments on commit 09fb424

Please sign in to comment.