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
inspec/lib/inspec/profile.rb:264:in `block in filter_waived_controls': undefined method `keys' for "control_id,justification,run,expiration_date,,, 03_waivered_no_expiry_ran_passes,Sound reasoning,TRUE,,,, 04_waivered_no_expiry_ran_fails,Unassailable thinking,TRUE,2077-11-10T00:00:00Z,,, ,,,,,, 05_waivered_no_expiry_not_ran,Sheer cleverness,FALSE,,,, 06_waivered_expiry_in_past_ran_passes,Necessity,TRUE,,,, 14_waivered_expiry_in_future_z_not_ran,Lack of imagination,FALSE,2077-11-10T00:00:00Z,,, random contorl id with no data,,,,,,random data in csv!":String (NoMethodError)
from inspec/lib/inspec/profile.rb:257:in `each'
from inspec/lib/inspec/profile.rb:257:in `filter_waived_controls'
from inspec/lib/inspec/profile.rb:223:in `collect_tests'
from inspec/lib/inspec/runner.rb:123:in `block in load'
from inspec/lib/inspec/runner.rb:104:in `each'
from inspec/lib/inspec/runner.rb:104:in `load'
from inspec/lib/inspec/runner.rb:163:in `run'
from inspec/lib/inspec/cli.rb:364:in `exec'
Possible Solution
Needs handling of different file formats in this logic of filter_waved_controls on line profile.rb:258
The text was updated successfully, but these errors were encountered:
Describe the problem
Tried running inspec profile with following command:
bundle exec inspec exec test/fixtures/profiles/waivers/basic --waiver-file test/fixtures/profiles/waivers/basic/files/waivers.csv --filter-waived-controls
Got exception:
Possible Solution
Needs handling of different file formats in this logic of filter_waved_controls on line profile.rb:258
The text was updated successfully, but these errors were encountered: