(ApiEndpoint endpoint, IHttpRequestResponse response, ApiType apiType)
| 115 | } |
| 116 | |
| 117 | private ApiDetailEntity createApiDetailEntity(ApiEndpoint endpoint, IHttpRequestResponse response, ApiType apiType) { |
| 118 | if (response.getResponse() != null && response.getResponse().length != 0) { |
| 119 | return new ApiDetailEntity(endpoint.getUrl(), BurpExtender.getHelpers().analyzeResponse(response.getResponse()).getStatusCode(), apiType.getApiTypeName(), String.valueOf(CommonUtils.isUnAuthResponse(response)), response, CommonUtils.getCurrentDateTime(), Integer.parseInt(CommonUtils.getContentLength(response))); |
| 120 | } |
| 121 | return new ApiDetailEntity(endpoint.getUrl(), 0, apiType.getApiTypeName(), "false", response, CommonUtils.getCurrentDateTime(), 0); |
| 122 | } |
| 123 | |
| 124 | @Override |
| 125 | public List<IScanIssue> doActiveScan(IHttpRequestResponse httpRequestResponse, IScannerInsertionPoint insertionPoint) { |
no test coverage detected