Tested for all different date formats and formats specified by customer : Not breaking , but GMT is not getting converted.
This should be fine as we cacualte for 7 days scan and diffeternt GMT/IST to UTC dffer by 4-8 hours which should not be concerning.
As mcafee can only be installed 10 times I am testing it on Ubuntu 20.x vrsion only.
scandateparsed = Time.parse(scandatestring) scandateparsed.utc.strftime('%m/%d/%Y %H:%M:%S')
scan status as array populating successfully
Tested for all different date formats and formats specified by customer : Not breaking , but GMT is not getting converted. This should be fine as we cacualte for 7 days scan and diffeternt GMT/IST to UTC dffer by 4-8 hours which should not be concerning.
As mcafee can only be installed 10 times I am testing it on Ubuntu 20.x vrsion only.
https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/0ee9d577-9bc4-4a32-a4e8-c29981025378/resourceGroups/alimaye-am-rg/providers/Microsoft.Compute/virtualMachines/alimaye-omsagent-test-2/vmLogAnalytics