Project

General

Profile

Actions

Bug #22180

open

Missing reports when using complex expressions

Added by Benoît PECCATTE over 1 year ago. Updated 13 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Generic methods
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
I dislike using that feature
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
63
Name check:
To do
Fix check:
To do
Regression:
No

Description

when we call an audit_from_command with this command

if [ $(rpm -q ${pkg} &>/dev/null; echo $?) -eq 0 ]; then
        [ $(systemctl is-enabled ${service}) != "disabled" ] && state=1
        [ $(netstat -tupln | egrep ":${port} " | wc -l) -ne 0 ] && state=2
    fi
    [ $state -eq 0 ]

The report is missing

This probably happens on othe methods

Actions

Also available in: Atom PDF