Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

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

Open
trevor-vaughan opened this issue Apr 11, 2020 · 1 comment
Assignees
Labels

Comments

@trevor-vaughan
Copy link
Member

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
Copy link
Member

aaronlippold commented Apr 11, 2020 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants