Project

General

Profile

Actions

Bug #19138

closed

Add an option to invert result of a node query

Added by François ARMAND over 3 years ago. Updated over 3 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:

Description

Since #19137 is hard to correct, as a workaround, we can add the possibility to invert restsult of a query globaly
(better solution whould be to add "not" for each criteria, but this is almost as hard as correcting #19137).

Expected UI:

Example of results if you have the following installed software:

- root: {nano}
- agent1: {nano, emacs-common}
- agent2: {}

  • for nano:
       name = nano               => agent1
invert name = nano               => agent2
       name = nano, include root => agent1, root
invert name = nano, include root => agent2
  • for emacs-common:
       name = emacs               => agent1
invert name = emacs               => agent2
       name = emacs, include root => agent1
invert name = emacs, include root => agent2, root

Files

clipboard-202104091521-f2rbn.png (42.9 KB) clipboard-202104091521-f2rbn.png François ARMAND, 2021-04-09 15:21

Subtasks 5 (0 open5 closed)

Bug #19139: "isBlank" is not supported in jvm8ReleasedVincent MEMBRÉActions
Bug #19143: inverting a request with 0 answer leads to 0 answerReleasedVincent MEMBRÉActions
Bug #19146: in some case inverting a request leads to an error and 0 resultsReleasedVincent MEMBRÉActions
Bug #19160: Query type constructor broke scale out relay pluginReleasedFrançois ARMANDActions
Bug #19170: Binary compatibility still broken by queryReleasedAlexis MoussetActions

Related issues 1 (1 open0 closed)

Related to Rudder - Bug #19137: notExists, notEquals, notRegex does not work on subelements like software, disks, etcNewActions
Actions

Also available in: Atom PDF