This URL is to display the analyzer profiles. Only the analyzer profiles to which the user has access are displayed.
Resource URL
GET https://<TIS_IP>/php/vmprofiles.php
The following HTTP headers should be specified in the resource URL request:
Accept: application/vnd.ve.v1.0+json
Content-Type: application/json
VE-SDK-API: Base64 encoded "session:user id" string
Output parameters
Output parameter | Description |
|---|---|
| Displays the analyzer profiles, which the user can access. |
Note
Users with admin rights can see all analyzer profiles. Other users will see analyzer profiles created by themselves and the ones assigned to them in user profile.
Example
User - admin
Output
{"success":true,"results":[{"vmProfileid":1,"userid":1,"imageid":10,"maxExecTime":
180,"minExecTime":5,
"recursiveAnalysis":1,"name":"winXP","vmDesc":"winXPsp3","summary":0,"userLog":0,"asm":
0,"locBlackList":0,"mfeAV":0,"reAnalysis":0,
"gtiTS":0,"gam":0,"selectedOSName":"winXPsp3","sandbox":1,"internet":1},"vmProfileid":
10,"userid":1,"imageid":11,
"maxExecTime":180,"minExecTime":5,"recusiveAnalysis":
0,"name":"win7sp1x64","vmDesc":"win7","summary":1,"userLog":0,"reAnalysis":1,
"asm":0,"locBlackList":0,"mfeAV":0,"gtiTS":0,"gam":
0,,"selectedOSName":"win7sp1x64","sandbox":1,"internet":0}]}
User - <non-admin user>
Output
{"success":true,"results":[{"vmProfileid":11,"userid":36,"imageid":10,"maxExecTime":
180,"minExecTime":5,
"recursiveAnalysis":0,"name":"winXP","vmDesc":"winXPsp3","summary":1,"userLog":1, "asm":1,
"locBlackList":0,"mfeAV":1,"reAnalysis":0,
"gtiTS":1,"gam":1, selectedOSName":"winXPsp3","sandbox":1,"internet":0}]}
User - nsp
Output
{"success":true,"results":[{"vmProfileid":10,"userid":1,"imageid":11,"maxExecTime":
180,"minExecTime":5,
"recursiveAnalysis":0,"name":"win7sp1x64","vmDesc":"win7","summary":1,"userLog":0, "asm":0,
"locBlackList":0,"mfeAV":0,"reAnalysis":1,
"gtiTS":0,"gam":0,selectedOSName":"win7sp1x64","sandbox":1,"internet":0}]}
Note
reAnalysis parameter mentioned above is given importance in absence of analyzeAgain data parameter in fileupload API for end points.
"reAnalysis":0 indicates that Skip files if previously analyzed is selected in Analyzer Profile setting.