Unfortunately there is currently no native way to convert from other inputs
formats. You can however, use an external command.
1
2
3
4
5
6
7
8
9
10
11
12
13
bundleagentmain{vars:"mock_sys_last_policy_update"string=>"Sat Jan 27 20:18:37 2018",comment=>"This is the same format that sys.last_policy_update uses";reports:"$(with) == $(mock_sys_last_policy_update)"with=>execresult('date --date="$(mock_sys_last_policy_update)" "+%s"',useshell);}