Package ai.reveng.model
Class ReportAnalysisResponse
java.lang.Object
ai.reveng.model.ReportAnalysisResponse
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ReportAnalysisResponse
extends Object
ReportAnalysisResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe type of software being analyzed -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddExecutableTechniquesItem(MITRETechnique executableTechniquesItem) addIoCsItem(IOC ioCsItem) attackFlowSummary(String attackFlowSummary) booleanexecutableTechniques(List<MITRETechnique> executableTechniques) static ReportAnalysisResponseCreate an instance of ReportAnalysisResponse given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A summary in markdown format of the attack flowA series of MITRE Techniques foundgetIoCs()A list of IOCs (Indicators of Compromise) found in the analysisThe number of functions that were analyzed in the binaryThe type of software being analyzedA markdown summary of the reportThe total number of functions identified in the binaryThe YARA rule generated for the binaryinthashCode()numberOfAnalysedFunctions(Integer numberOfAnalysedFunctions) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttackFlowSummary(String attackFlowSummary) voidsetExecutableTechniques(List<MITRETechnique> executableTechniques) voidvoidsetNumberOfAnalysedFunctions(Integer numberOfAnalysedFunctions) voidsetSoftwareType(ReportAnalysisResponse.SoftwareTypeEnum softwareType) voidsetSummary(String summary) voidsetTotalNumberOfFunctions(Integer totalNumberOfFunctions) voidsetYaraRule(String yaraRule) softwareType(ReportAnalysisResponse.SoftwareTypeEnum softwareType) toJson()Convert an instance of ReportAnalysisResponse to an JSON stringtoString()totalNumberOfFunctions(Integer totalNumberOfFunctions) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_SUMMARY
- See Also:
-
SERIALIZED_NAME_SOFTWARE_TYPE
- See Also:
-
SERIALIZED_NAME_TOTAL_NUMBER_OF_FUNCTIONS
- See Also:
-
SERIALIZED_NAME_NUMBER_OF_ANALYSED_FUNCTIONS
- See Also:
-
SERIALIZED_NAME_ATTACK_FLOW_SUMMARY
- See Also:
-
SERIALIZED_NAME_IO_CS
- See Also:
-
SERIALIZED_NAME_EXECUTABLE_TECHNIQUES
- See Also:
-
SERIALIZED_NAME_YARA_RULE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ReportAnalysisResponse
public ReportAnalysisResponse()
-
-
Method Details
-
summary
-
getSummary
A markdown summary of the report- Returns:
- summary
-
setSummary
-
softwareType
public ReportAnalysisResponse softwareType(@Nonnull ReportAnalysisResponse.SoftwareTypeEnum softwareType) -
getSoftwareType
The type of software being analyzed- Returns:
- softwareType
-
setSoftwareType
-
totalNumberOfFunctions
-
getTotalNumberOfFunctions
The total number of functions identified in the binary- Returns:
- totalNumberOfFunctions
-
setTotalNumberOfFunctions
-
numberOfAnalysedFunctions
-
getNumberOfAnalysedFunctions
The number of functions that were analyzed in the binary- Returns:
- numberOfAnalysedFunctions
-
setNumberOfAnalysedFunctions
-
attackFlowSummary
-
getAttackFlowSummary
A summary in markdown format of the attack flow- Returns:
- attackFlowSummary
-
setAttackFlowSummary
-
ioCs
-
addIoCsItem
-
getIoCs
A list of IOCs (Indicators of Compromise) found in the analysis- Returns:
- ioCs
-
setIoCs
-
executableTechniques
public ReportAnalysisResponse executableTechniques(@Nonnull List<MITRETechnique> executableTechniques) -
addExecutableTechniquesItem
-
getExecutableTechniques
A series of MITRE Techniques found- Returns:
- executableTechniques
-
setExecutableTechniques
-
yaraRule
-
getYaraRule
The YARA rule generated for the binary- Returns:
- yaraRule
-
setYaraRule
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the ReportAnalysisResponse instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to ReportAnalysisResponse
-
fromJson
Create an instance of ReportAnalysisResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ReportAnalysisResponse
- Throws:
IOException- if the JSON string is invalid with respect to ReportAnalysisResponse
-
toJson
Convert an instance of ReportAnalysisResponse to an JSON string- Returns:
- JSON string
-