Update tests_malware

Fix incorrect "IsRunning" invocations for SentinelOne detection.
This commit is contained in:
Stefan Baumgartner 2023-09-17 10:24:52 +02:00 committed by GitHub
parent 7baf6034ef
commit bf197ffd7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -234,9 +234,9 @@
# SentinelOne
LogText "Text: checking process sentineld (SentinelOne)"
if isRunning "sentineld"; then SENTINELONE_SCANNER_RUNNING=1; fi # macOS
if isRunning "s1-agent"; then SENTINELONE_SCANNER_RUNNING=1; fi # Linux
if isRunning "SentinelAgent"; then SENTINELONE_SCANNER_RUNNING=1; fi # Windows
if IsRunning "sentineld"; then SENTINELONE_SCANNER_RUNNING=1; fi # macOS
if IsRunning "s1-agent"; then SENTINELONE_SCANNER_RUNNING=1; fi # Linux
if IsRunning "SentinelAgent"; then SENTINELONE_SCANNER_RUNNING=1; fi # Windows
if [ ${SENTINELONE_SCANNER_RUNNING} -eq 1 ]; then
FOUND=1
if IsVerbose; then Display --indent 2 --text "- ${GEN_CHECKING} SentinelOne" --result "${STATUS_FOUND}" --color GREEN; fi