Closed Vincent056 closed 2 years ago
@Vincent056: This pull request references Bugzilla bug 2040282, which is invalid:
Comment /bugzilla refresh
to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.
/retest
The code looks good and thank you for the quick reply, but could you also extend the existing e2e test with coverage of some rule that was previously broken?
Sorry for the late reply, just added the e2e test to it
/test e2e-aws
/retest
/retest-required
Please review the full test history for this PR and help us cut down flakes.
/retest-required
Please review the full test history for this PR and help us cut down flakes.
@jhrozek I set the expected checkType wrong, just corrected to Node instead.
@Vincent056: all tests passed!
Full PR test history. Your PR dashboard.
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jhrozek, Vincent056
The full list of commands accepted by this bot can be found here.
The pull request process is described here
@Vincent056: All pull requests linked via external trackers have merged:
Bugzilla bug 2040282 has been moved to the MODIFIED state.
Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=2040282
We had issues where some rules have checkType of None instead of the correct type.
We only set checkType to None if the rule does not have any OVAL test, and we check if the rule has OVAL check by looking up the test definition tables. When we created the rule test definition table, those test definitions that have extended definitions are not included. For rules that have multiple checks, they usually have extended definitions, and therefore the checkType of those rules were set to None instead of Node/Platform