Dibyajyoti Ghosh
unread,May 8, 2008, 12:46:15 AM5/8/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to axf-general...@googlegroups.com
Hi all once again
The objective is to save a scan profile using Pyscan shell; For that i'm doing the following :
>>> scanobj = Watchfire.AppScan.Scheduling.ScheduledScanFactory.CreateInstance("Hello","user","password","demo.testfire.net.scan")
>>> Watchfire.AppScan.Scheduling.IScheduledScanManager.SaveScheduledScans({scanobj})
>>> SyntaxError: invalid syntax
I think the problem is with Python implementation of C++ List objects. Since in SDK
void SaveScheduledScans(
List<IScheduledScan> scheduledScans
) abstract
Then i tried the following :
>>> Watchfire.AppScan.Scheduling.IScheduledScanManager.SaveScheduledScans(list((IScheduledScan)scanobj))
>>> SyntaxError: invalid syntax
Please suggest how this problem can be addressed. It will be very kind if you can reply ASAP since i am struck with this.
Thanking You in advance
dibyajyoti