You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using dev-sec windows-patch-baseline profile and generating a html report. But in the report for below control I get the value 1 due to the line describe win_update.all.length as this check for the number of updates available to be installed and returns the value.
Is there a possibility to do get somethings as All updates should be installed is "value" instead of value 1 as shown in the attached screenshot with green highlights.
I do understand that this is due to the inspec reporter as it shows in the heading what is coded in "describe" in this case describe win_update.all.length. But I am hoping to know is there a way to concatenate title in describe like describe All updates should be installed is +" "+ win_update.all.length
win_update = windows_update
control 'verify-kb' do
impact 0.3
title 'All updates should be installed'
describe win_update.all.length do
it { should eq 0 }
end
end
The text was updated successfully, but these errors were encountered:
Hi,
I am using dev-sec windows-patch-baseline profile and generating a html report. But in the report for below control I get the value 1 due to the line describe win_update.all.length as this check for the number of updates available to be installed and returns the value.
Is there a possibility to do get somethings as All updates should be installed is "value" instead of value 1 as shown in the attached screenshot with green highlights.
I do understand that this is due to the inspec reporter as it shows in the heading what is coded in "describe" in this case describe win_update.all.length. But I am hoping to know is there a way to concatenate title in describe like describe All updates should be installed is +" "+ win_update.all.length
The text was updated successfully, but these errors were encountered: