Bug #18741

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

Added by Ondřej Pražák 5 months ago. Updated about 16 hours ago.

Status:Ready For TestingSpent time:-
Priority:Normal
Assigned To:Ondřej Pražák
Category:-
Target version:Foreman - Team Marek Iteration 18
Difficulty: Bugzilla link:1418859
Found in release: Pull request:https://github.com/theforeman/foreman_openscap/pull/270
Triaged:No
Story points-
Velocity based estimate-

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.

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

Rules-filter

History

#1 Updated by Ondřej Pražák 5 months 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 Team Marek backlog

#2 Updated by Marek Hulán about 1 month ago

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

#3 Updated by Ondřej Pražák about 1 month ago

Marek Hulán wrote:

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

Yes, we do.

#4 Updated by The Foreman Bot 25 days ago

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

#5 Updated by Marek Hulán 4 days ago

  • Target version changed from Team Marek backlog to Team Marek Iteration 18

Also available in: Atom PDF