-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
88 lines (88 loc) · 2.97 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
name: "Scan Virus"
author: "hugoalh"
description: "Scan virus (including malicious file and malware)."
inputs:
clamav_enable:
description: "{Boolean} Whether to use ClamAV."
required: false
default: "True"
clamav_update:
description: "{Boolean} Whether to update the ClamAV official assets before scan anything."
required: false
default: "True"
clamav_unofficialassets_use:
description: "{RegEx[]} ClamAV unofficial assets to use."
required: false
clamav_customassets_directory:
description: "{String} ClamAV custom assets absolute directory path, must be a mapped directory."
required: false
clamav_customassets_use:
description: "{RegEx[]} ClamAV custom assets to use."
required: false
default: ".+"
yara_enable:
description: "{Boolean} Whether to use YARA."
required: false
default: "False"
yara_unofficialassets_use:
description: "{RegEx[]} YARA unofficial assets to use."
required: false
yara_customassets_directory:
description: "{String} YARA custom assets absolute directory path, must be a mapped directory."
required: false
yara_customassets_use:
description: "{RegEx[]} YARA custom assets to use."
required: false
default: ".+"
git_integrate:
description: "{Boolean} Whether to integrate with Git to perform scan by every commits."
required: false
default: "False"
git_ignores:
description: "{ScriptBlock} Ignores by the Git commits."
required: false
git_lfs:
description: "{Boolean} Whether to process Git LFS files."
required: false
default: "False"
git_limit:
description: "{UInt64} Limit on how many Git commits will scan."
required: false
default: "0"
git_reverse:
description: "{Boolean} Whether to reverse the scan order of the Git commits."
required: false
default: "False"
ignores_pre:
description: "{ScriptBlock} Ignores by the paths, sessions, and tools before the scan."
required: false
ignores_post:
description: "{ScriptBlock} Ignores by the paths, sessions, symbols (i.e. rules or signatures), and tools after the scan."
required: false
found_log:
description: "{Boolean} Whether to record elements which found virus in the log."
required: false
default: "True"
found_summary:
description: "{Boolean} Whether to record elements which found virus in the step summary."
required: false
default: "False"
statistics_log:
description: "{Boolean} Whether to record statistics in the log."
required: false
default: "True"
statistics_summary:
description: "{Boolean} Whether to record statistics in the step summary."
required: false
default: "False"
outputs:
finish:
description: "{Boolean} Whether this action correctly finished without non catch issues."
found:
description: "{Boolean} Whether there has element which found virus."
runs:
using: "docker"
image: "docker://ghcr.io/hugoalh/scan-virus-ghaction:0.20.1"
branding:
icon: "shield"
color: "red"