bugfix: allow json/check methods to run despite only_if in profile

Signed-off-by: Dominik Richter <dominik@vulcanosec.com>
This commit is contained in:
Dominik Richter 2015-06-21 22:36:38 +02:00
parent cb3e067a1f
commit 8294641b1e

View file

@ -21,6 +21,10 @@ module Vulcano
@errors = []
end
def only_if *a, &b
# always ignore
end
# DSL methods
def __register_rule r
fid = VulcanoBaseRule.full_id r, @profile_id