mirror of
https://github.com/CISOfy/lynis.git
synced 2025-04-08 17:15:25 +02:00
Update tests_malware
Fix incorrect "IsRunning" invocations for SentinelOne detection.
This commit is contained in:
parent
7baf6034ef
commit
bf197ffd7f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user