Project

General

Profile

Actions

Bug #18741

closed

Show log messages "failed only" incorrect produces messages with "pass" result

Added by Ondřej Pražák about 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Description of problem:

An SCAP compliance report shows zero failed events for a particular host. When viewing that host only and filtering in the "Show log messages:" drop down box for "Failed only", two results are shown both with a "pass" in the Result column.

How reproducible:

Use the "Failed only" events filter for a specific host with zero failed events.

Steps to Reproduce:
1. Run an SCAP compliance report and select a host with zero failed events.
2. Examine this host specifically and filter for "Failed only" events.

Actual results:

Events with "pass" result are shown.

Expected results:

No events should be shown.

Additional info:

I failed to reproduce for 'Failed only' but 'Failed and Othered' showed me all passed and othered rules.


Files

rules-filter.png View rules-filter.png 142 KB Ondřej Pražák, 06/21/2017 02:39 AM

Related issues 1 (0 open1 closed)

Related to Foreman - Bug #20529: filter_by_level broken when there are multiple columns with labelsClosedOndřej Pražák08/08/2017Actions
Actions #1

Updated by Ondřej Pražák about 7 years ago

  • Subject changed from Show log messages "failed only" incorrect produces messages with "pass" result to Show log messages "failed only" incorrect produces messages with "pass" result
  • Target version set to 115
Actions #2

Updated by Marek Hulán almost 7 years ago

It seems to work for me with latest upstream version. Do we have a reproducer?

Actions #3

Updated by Ondřej Pražák almost 7 years ago

Marek Hulán wrote:

It seems to work for me with latest upstream version. Do we have a reproducer?

Yes, we do.

Actions #4

Updated by The Foreman Bot almost 7 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ondřej Pražák
  • Pull request https://github.com/theforeman/foreman_openscap/pull/270 added
Actions #5

Updated by Marek Hulán over 6 years ago

  • Target version changed from 115 to 1.17.0-RC2
Actions #6

Updated by Marek Hulán over 6 years ago

  • Target version changed from 1.17.0-RC2 to 1.18.0-RC2
Actions #7

Updated by Ondřej Pražák over 6 years ago

  • Related to Bug #20529: filter_by_level broken when there are multiple columns with labels added
Actions #8

Updated by Marek Hulán over 6 years ago

  • translation missing: en.field_release set to 274
Actions #9

Updated by Ondřej Pražák over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #10

Updated by Marek Hulán over 6 years ago

  • translation missing: en.field_release changed from 274 to 275
Actions

Also available in: Atom PDF