public CxWSResponseResultCollection GetResults(string sessionId, long scanId) { CxWSResponseResultCollection result = _web_Service.GetResults(sessionId, scanId); new CxTeamMentor().TMFilterFor_CxWSResponseResultCollection(result); return(result); }
public void TMFilterFor_CxWSResponseResultCollection(CxWSResponseResultCollection cxWsResponseResultCollection) { AuditScanResult[] results = cxWsResponseResultCollection.ResultCollection.Results; foreach (AuditScanResult result in results) { result.CWE = TeamMentorIdentifier+ result.QueryId; // set the Cwe value to the negative of the QueryId result.QueryName += "_TM"; // Temp query name minor change } }
public void TMFilterFor_CxWSResponseResultCollection(CxWSResponseResultCollection cxWsResponseResultCollection) { AuditScanResult[] results = cxWsResponseResultCollection.ResultCollection.Results; foreach (AuditScanResult result in results) { result.CWE = TeamMentorIdentifier + result.QueryId; // set the Cwe value to the negative of the QueryId result.QueryName += "_TM"; // Temp query name minor change } }