New commit detected on ManageIQ/manageiq/euwe: https://github.com/ManageIQ/manageiq/commit/22250ed7e91811e580603f6b5bf9d045a6d7e429 commit 22250ed7e91811e580603f6b5bf9d045a6d7e429 Author: Greg McCullough <gmccullo> AuthorDate: Fri Mar 17 12:00:48 2017 -0400 Commit: Satoe Imaishi <simaishi> CommitDate: Fri Mar 17 12:22:27 2017 -0400 Merge pull request #14370 from lfu/prevent_request_vm_scan_1433084 Add the logic to allow a policy to prevent request_vm_scan. (cherry picked from commit 83a1785facb87e8d108c1033b8591530b1bbfd18) https://bugzilla.redhat.com/show_bug.cgi?id=1433435 app/models/vm_or_template/scanning.rb | 28 +++++++---------- .../job_proxy_dispatcher_embedded_scan_spec.rb | 2 +- ...dispatcher_get_eligible_proxies_for_job_spec.rb | 2 +- spec/models/job_proxy_dispatcher_spec.rb | 16 +++++----- .../job_proxy_dispatcher_vm_proxies4job_spec.rb | 2 +- spec/models/job_spec.rb | 4 +-- spec/models/vm_scan_spec.rb | 17 +++++++++-- spec/models/vm_spec.rb | 35 ++++++++++++++++++++++ 8 files changed, 73 insertions(+), 33 deletions(-)
Created attachment 1264212 [details] hot fix
Verified in 5.7.2.0.20170321181409_349f1b1. I created policy which prevents analysis of any VM that is tagged as Do Not Analyze. It works correctly for a vm which was tagged "Do Not Analyze".
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:0898