Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..
2017-08-11 10:04 AM
Hello,
if ny of you is looking to start with Python and SOAP API, I have attache a class easy to use with Archer 6.2
#you import class
from ArcherSOAP import Archer
#you create an instance:
MyArcher=Archer(Archer_DNS,Instance,UserName,Password)
#Login
MyArcher.Login()
#Logout
MyArcher.Logout()
SimpleSearch, CreateRecord, UpdateRecord are the most usefull function
Best regards,
Philippe
2017-08-11 12:11 PM
Thanks for sharing, Philippe!
2017-08-31 04:16 PM
This is great Philippe! Was able to login and get a session token. Do you have an example syntax for making a SimpleSearch call?
2017-09-04 04:11 AM
Hello, that's THE touchy part... I asled it to RSA support, and they helped me a lot.
using ArcherSOAP.py, it should look like:
Results = self.SimpleSearch(Title,Vulnerabilities_Title_Id,App_Id,DisplayFields=[7205,7226])
Where:
- Title is your research,
- Vulnerabilities_Title_Id the field ID where you search (Vuln title is 7226)
- App_Id is the application ID (vulnerability =17)
- DisplayFields are field you want to display
The difficult part are IDs (and SOAP enveloppe)