simp / inspec-profile-disa_stig-el7

InSpec Profile for the EL7 DISA STIG
Apache License 2.0
23 stars 46 forks source link

The 'file_integrity_tool' input in V-71973 is beting set to 'weekly' somehow #153

Open trevor-vaughan opened 4 years ago

trevor-vaughan commented 4 years ago

Found this when running a test:

Inspec Version: 4.18.105

 pry(#<#<Class:0x0000000005c07420>>)> crontab('root')
=> #<#<Class:0x0000000006c9c218>:0x0000000006ca4760
 @__backend_runner__=Inspec::Backend::Class @transport=Train::Transports::Local::Connection,
 @__resource_name__=:crontab,
 @params=
  [{"minute"=>"5",
    "hour"=>"4",
    "day"=>"*",
    "month"=>"*",
    "weekday"=>"0",
    "command"=>"/bin/nice -n 19 /usr/sbin/aide -C",
    "user"=>"root"}],
 @path=nil,
 @resource_exception_message=nil,
 @resource_failed=false,
 @resource_skipped=false,
 @supports=[{:platform=>"unix"}],
 @user="root">
[2] pry(#<#<Class:0x0000000005c07420>>)> file_integrity_tool
=> "weekly"

The code itself seems OK so I'm not quite sure what's going on.

aaronlippold commented 4 years ago

I’ll take a look in the morning and let you know if I have any questions

On Fri, Apr 10, 2020 at 9:28 PM Trevor Vaughan notifications@github.com wrote:

Assigned #153 https://github.com/simp/inspec-profile-disa_stig-el7/issues/153 to @aaronlippold https://github.com/aaronlippold.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/simp/inspec-profile-disa_stig-el7/issues/153#event-3223500142, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALK42CZNYA6YOZX2BUED3LRL7BTZANCNFSM4MFZVOUA .

--

Aaron Lippold

lippold@gmail.com

260-255-4779

twitter/aim/yahoo,etc. 'aaronlippold'