ajaxbits/ds-migrator

Anti-malware module not transforming schedule configurations

Closed this issue · 0 comments

Right now, it seems like the anti-malware module doesn't put in new shedule ids. For example:

[10:50:29] #0 Schedule Config name: Daily
 759   │            #0 Schedule Config ID: 1
 760   │            #1 Schedule Config name: Nightly
 761   │            #1 Schedule Config ID: 2
 762   │            #2 Schedule Config name: Weekends
 763   │            #2 Schedule Config ID: 3
 764   │            #3 Schedule Config name: Every Day All Day
 765   │            #3 Schedule Config ID: 4
 766   │            Done
 767   │            Transfering All Schedule Configuration...
 768   │ [10:50:31] #0 Schedule Config name: Daily
 769   │            #0 Schedule Config ID: 67
 770   │ [10:50:32] #1 Schedule Config name: Nightly
 771   │            #1 Schedule Config ID: 68
 772   │ [10:50:34] #2 Schedule Config name: Weekends
 773   │            #2 Schedule Config ID: 69
 774   │ [10:50:35] #3 Schedule Config name: Every Day All Day
 775   │            #3 Schedule Config ID: 34
 776   │            Done!

While a given policy will say:

'antiMalware': {
  'state': 'on', 
  'moduleStatus': {'status': 'active', 'statusMessage': 'Real Time'},
  'realTimeScanConfigurationID': 67, 
  'realTimeScanScheduleID': 4, 
  'manualScanConfigurationID': 0,
  'scheduledScanConfigurationID': 68
},