Open Hephaisto-dev opened 3 months ago
Hello, i think the pattern matching should be simply "mfetpd"
It did not worked with "^mfetpd.*$" personnally.
It's probably because of the "^" which implies that "^ asserts position at start of a line" so it needs to actually start with
mfetpd
and here it looks like it's trying to match with the prefix of the location: "/opt/McAfee/ens/tp/bin/mfetpd" and this will probably not work,
maybe something like
.*\/mfetpd.*$ could work
Yes you are correct
Hello, i think the pattern matching should be simply "mfetpd"
https://github.com/ComplianceAsCode/content/blob/e6ea793613ea472813ffe59d20e4c23f323da6cc/linux_os/guide/system/software/integrity/endpoint_security_software/mcafee_security_software/mcafee_endpoint_security_software/agent_mfetpd_running/oval/shared.xml#L13 It did not worked with "^mfetpd.*$" personnally.
As you can see i have correct output when running the commands recommanded by the STIG https://www.stigviewer.com/stig/red_hat_enterprise_linux_9/2023-12-01/finding/V-257780
There might be either an issue with the pattern used or the instruction