Package ai.reveng.api
Class ConfidenceApi
java.lang.Object
ai.reveng.api.ConfidenceApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAnalysisTagScore(Integer analysisId, TagConfidenceBody tagConfidenceBody) Calculate Tag Confidence Score for an Analysis Accepts a analysis ID and a list of tags, returns the confidence score for each tag in the listokhttp3.CallgetAnalysisTagScoreAsync(Integer analysisId, TagConfidenceBody tagConfidenceBody, ApiCallback<BaseResponseListTagOriginBoxPlotConfidence> _callback) Calculate Tag Confidence Score for an Analysis (asynchronously) Accepts a analysis ID and a list of tags, returns the confidence score for each tag in the listokhttp3.CallgetAnalysisTagScoreCall(Integer analysisId, TagConfidenceBody tagConfidenceBody, ApiCallback _callback) Build call for getAnalysisTagScoregetAnalysisTagScoreWithHttpInfo(Integer analysisId, TagConfidenceBody tagConfidenceBody) Calculate Tag Confidence Score for an Analysis Accepts a analysis ID and a list of tags, returns the confidence score for each tag in the listgetAnalysisThreatScore(Integer analysisId) Calculate Threat Score for Binary Accepts a binary ID and returns the threat score for that binaryokhttp3.CallgetAnalysisThreatScoreAsync(Integer analysisId, ApiCallback<BaseResponseBoxPlotConfidence> _callback) Calculate Threat Score for Binary (asynchronously) Accepts a binary ID and returns the threat score for that binaryokhttp3.CallgetAnalysisThreatScoreCall(Integer analysisId, ApiCallback _callback) Build call for getAnalysisThreatScoregetAnalysisThreatScoreWithHttpInfo(Integer analysisId) Calculate Threat Score for Binary Accepts a binary ID and returns the threat score for that binarygetFunctionsNameScore(FunctionNameConfidenceBody functionNameConfidenceBody) Calculate function name confidence for a set of Functions Accepts a list of function ids mapped to a function name, for each function we return a confidence score in that being the correct name for each function.okhttp3.CallgetFunctionsNameScoreAsync(FunctionNameConfidenceBody functionNameConfidenceBody, ApiCallback<BaseResponseListFunctionBoxPlotConfidence> _callback) Calculate function name confidence for a set of Functions (asynchronously) Accepts a list of function ids mapped to a function name, for each function we return a confidence score in that being the correct name for each function.okhttp3.CallgetFunctionsNameScoreCall(FunctionNameConfidenceBody functionNameConfidenceBody, ApiCallback _callback) Build call for getFunctionsNameScoregetFunctionsNameScoreWithHttpInfo(FunctionNameConfidenceBody functionNameConfidenceBody) Calculate function name confidence for a set of Functions Accepts a list of function ids mapped to a function name, for each function we return a confidence score in that being the correct name for each function.getFunctionsThreatScore(ThreatScoreFunctionBody threatScoreFunctionBody) Calculate Threat Score for a set of Functions Accepts a list of function ids and returns the threat score for each function.okhttp3.CallgetFunctionsThreatScoreAsync(ThreatScoreFunctionBody threatScoreFunctionBody, ApiCallback<BaseResponseListFunctionBoxPlotConfidence> _callback) Calculate Threat Score for a set of Functions (asynchronously) Accepts a list of function ids and returns the threat score for each function.okhttp3.CallgetFunctionsThreatScoreCall(ThreatScoreFunctionBody threatScoreFunctionBody, ApiCallback _callback) Build call for getFunctionsThreatScoregetFunctionsThreatScoreWithHttpInfo(ThreatScoreFunctionBody threatScoreFunctionBody) Calculate Threat Score for a set of Functions Accepts a list of function ids and returns the threat score for each function.intvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
ConfidenceApi
public ConfidenceApi() -
ConfidenceApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
getAnalysisTagScoreCall
public okhttp3.Call getAnalysisTagScoreCall(@Nonnull Integer analysisId, @Nonnull TagConfidenceBody tagConfidenceBody, ApiCallback _callback) throws ApiException Build call for getAnalysisTagScore- Parameters:
analysisId- The analysis to calculate the tag scores for (required)tagConfidenceBody- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getAnalysisTagScore
public BaseResponseListTagOriginBoxPlotConfidence getAnalysisTagScore(@Nonnull Integer analysisId, @Nonnull TagConfidenceBody tagConfidenceBody) throws ApiException Calculate Tag Confidence Score for an Analysis Accepts a analysis ID and a list of tags, returns the confidence score for each tag in the list- Parameters:
analysisId- The analysis to calculate the tag scores for (required)tagConfidenceBody- (required)- Returns:
- BaseResponseListTagOriginBoxPlotConfidence
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getAnalysisTagScoreWithHttpInfo
public ApiResponse<BaseResponseListTagOriginBoxPlotConfidence> getAnalysisTagScoreWithHttpInfo(@Nonnull Integer analysisId, @Nonnull TagConfidenceBody tagConfidenceBody) throws ApiException Calculate Tag Confidence Score for an Analysis Accepts a analysis ID and a list of tags, returns the confidence score for each tag in the list- Parameters:
analysisId- The analysis to calculate the tag scores for (required)tagConfidenceBody- (required)- Returns:
- ApiResponse<BaseResponseListTagOriginBoxPlotConfidence>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getAnalysisTagScoreAsync
public okhttp3.Call getAnalysisTagScoreAsync(@Nonnull Integer analysisId, @Nonnull TagConfidenceBody tagConfidenceBody, ApiCallback<BaseResponseListTagOriginBoxPlotConfidence> _callback) throws ApiException Calculate Tag Confidence Score for an Analysis (asynchronously) Accepts a analysis ID and a list of tags, returns the confidence score for each tag in the list- Parameters:
analysisId- The analysis to calculate the tag scores for (required)tagConfidenceBody- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getAnalysisThreatScoreCall
public okhttp3.Call getAnalysisThreatScoreCall(@Nonnull Integer analysisId, ApiCallback _callback) throws ApiException Build call for getAnalysisThreatScore- Parameters:
analysisId- The analysis to calculate the threat score for (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getAnalysisThreatScore
public BaseResponseBoxPlotConfidence getAnalysisThreatScore(@Nonnull Integer analysisId) throws ApiException Calculate Threat Score for Binary Accepts a binary ID and returns the threat score for that binary- Parameters:
analysisId- The analysis to calculate the threat score for (required)- Returns:
- BaseResponseBoxPlotConfidence
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getAnalysisThreatScoreWithHttpInfo
public ApiResponse<BaseResponseBoxPlotConfidence> getAnalysisThreatScoreWithHttpInfo(@Nonnull Integer analysisId) throws ApiException Calculate Threat Score for Binary Accepts a binary ID and returns the threat score for that binary- Parameters:
analysisId- The analysis to calculate the threat score for (required)- Returns:
- ApiResponse<BaseResponseBoxPlotConfidence>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getAnalysisThreatScoreAsync
public okhttp3.Call getAnalysisThreatScoreAsync(@Nonnull Integer analysisId, ApiCallback<BaseResponseBoxPlotConfidence> _callback) throws ApiException Calculate Threat Score for Binary (asynchronously) Accepts a binary ID and returns the threat score for that binary- Parameters:
analysisId- The analysis to calculate the threat score for (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getFunctionsNameScoreCall
public okhttp3.Call getFunctionsNameScoreCall(@Nonnull FunctionNameConfidenceBody functionNameConfidenceBody, ApiCallback _callback) throws ApiException Build call for getFunctionsNameScore- Parameters:
functionNameConfidenceBody- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getFunctionsNameScore
public BaseResponseListFunctionBoxPlotConfidence getFunctionsNameScore(@Nonnull FunctionNameConfidenceBody functionNameConfidenceBody) throws ApiException Calculate function name confidence for a set of Functions Accepts a list of function ids mapped to a function name, for each function we return a confidence score in that being the correct name for each function. Each function must be from the same model, or you may find some functions missing in the return.- Parameters:
functionNameConfidenceBody- (required)- Returns:
- BaseResponseListFunctionBoxPlotConfidence
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getFunctionsNameScoreWithHttpInfo
public ApiResponse<BaseResponseListFunctionBoxPlotConfidence> getFunctionsNameScoreWithHttpInfo(@Nonnull FunctionNameConfidenceBody functionNameConfidenceBody) throws ApiException Calculate function name confidence for a set of Functions Accepts a list of function ids mapped to a function name, for each function we return a confidence score in that being the correct name for each function. Each function must be from the same model, or you may find some functions missing in the return.- Parameters:
functionNameConfidenceBody- (required)- Returns:
- ApiResponse<BaseResponseListFunctionBoxPlotConfidence>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getFunctionsNameScoreAsync
public okhttp3.Call getFunctionsNameScoreAsync(@Nonnull FunctionNameConfidenceBody functionNameConfidenceBody, ApiCallback<BaseResponseListFunctionBoxPlotConfidence> _callback) throws ApiException Calculate function name confidence for a set of Functions (asynchronously) Accepts a list of function ids mapped to a function name, for each function we return a confidence score in that being the correct name for each function. Each function must be from the same model, or you may find some functions missing in the return.- Parameters:
functionNameConfidenceBody- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getFunctionsThreatScoreCall
public okhttp3.Call getFunctionsThreatScoreCall(@Nonnull ThreatScoreFunctionBody threatScoreFunctionBody, ApiCallback _callback) throws ApiException Build call for getFunctionsThreatScore- Parameters:
threatScoreFunctionBody- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getFunctionsThreatScore
public BaseResponseListFunctionBoxPlotConfidence getFunctionsThreatScore(@Nonnull ThreatScoreFunctionBody threatScoreFunctionBody) throws ApiException Calculate Threat Score for a set of Functions Accepts a list of function ids and returns the threat score for each function. Each function must be from the same model, or you may find some functions missing in the return.- Parameters:
threatScoreFunctionBody- (required)- Returns:
- BaseResponseListFunctionBoxPlotConfidence
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getFunctionsThreatScoreWithHttpInfo
public ApiResponse<BaseResponseListFunctionBoxPlotConfidence> getFunctionsThreatScoreWithHttpInfo(@Nonnull ThreatScoreFunctionBody threatScoreFunctionBody) throws ApiException Calculate Threat Score for a set of Functions Accepts a list of function ids and returns the threat score for each function. Each function must be from the same model, or you may find some functions missing in the return.- Parameters:
threatScoreFunctionBody- (required)- Returns:
- ApiResponse<BaseResponseListFunctionBoxPlotConfidence>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getFunctionsThreatScoreAsync
public okhttp3.Call getFunctionsThreatScoreAsync(@Nonnull ThreatScoreFunctionBody threatScoreFunctionBody, ApiCallback<BaseResponseListFunctionBoxPlotConfidence> _callback) throws ApiException Calculate Threat Score for a set of Functions (asynchronously) Accepts a list of function ids and returns the threat score for each function. Each function must be from the same model, or you may find some functions missing in the return.- Parameters:
threatScoreFunctionBody- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-