Package ai.reveng.model
Class AnalysisConfig
java.lang.Object
ai.reveng.model.AnalysisConfig
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class AnalysisConfig
extends Object
AnalysisConfig
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadvancedAnalysis(Boolean advancedAnalysis) booleanstatic AnalysisConfigCreate an instance of AnalysisConfig given an JSON stringgenerateCapabilities(Boolean generateCapabilities) generateCves(Boolean generateCves) generateSbom(Boolean generateSbom) Enables an advanced security analysis.A configuration option for generating capabilities of a binaryA configuration option for fetching CVEs data.A configuration option for generating software bill of materials data.When enabled, skips using cached data within the processing.Including a sandbox config enables the dynamic execution sandboxSettings to scrape third party sourcesinthashCode()sandboxConfig(SandboxOptions sandboxConfig) scrapeThirdPartyConfig(ScrapeThirdPartyConfig scrapeThirdPartyConfig) voidsetAdvancedAnalysis(Boolean advancedAnalysis) voidsetGenerateCapabilities(Boolean generateCapabilities) voidsetGenerateCves(Boolean generateCves) voidsetGenerateSbom(Boolean generateSbom) voidsetNoCache(Boolean noCache) voidsetSandboxConfig(SandboxOptions sandboxConfig) voidsetScrapeThirdPartyConfig(ScrapeThirdPartyConfig scrapeThirdPartyConfig) toJson()Convert an instance of AnalysisConfig to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_SCRAPE_THIRD_PARTY_CONFIG
- See Also:
-
SERIALIZED_NAME_GENERATE_CVES
- See Also:
-
SERIALIZED_NAME_GENERATE_SBOM
- See Also:
-
SERIALIZED_NAME_GENERATE_CAPABILITIES
- See Also:
-
SERIALIZED_NAME_NO_CACHE
- See Also:
-
SERIALIZED_NAME_ADVANCED_ANALYSIS
- See Also:
-
SERIALIZED_NAME_SANDBOX_CONFIG
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AnalysisConfig
public AnalysisConfig()
-
-
Method Details
-
scrapeThirdPartyConfig
public AnalysisConfig scrapeThirdPartyConfig(@Nullable ScrapeThirdPartyConfig scrapeThirdPartyConfig) -
getScrapeThirdPartyConfig
Settings to scrape third party sources- Returns:
- scrapeThirdPartyConfig
-
setScrapeThirdPartyConfig
-
generateCves
-
getGenerateCves
A configuration option for fetching CVEs data.- Returns:
- generateCves
-
setGenerateCves
-
generateSbom
-
getGenerateSbom
A configuration option for generating software bill of materials data.- Returns:
- generateSbom
-
setGenerateSbom
-
generateCapabilities
-
getGenerateCapabilities
A configuration option for generating capabilities of a binary- Returns:
- generateCapabilities
-
setGenerateCapabilities
-
noCache
-
getNoCache
When enabled, skips using cached data within the processing.- Returns:
- noCache
-
setNoCache
-
advancedAnalysis
-
getAdvancedAnalysis
Enables an advanced security analysis.- Returns:
- advancedAnalysis
-
setAdvancedAnalysis
-
sandboxConfig
-
getSandboxConfig
Including a sandbox config enables the dynamic execution sandbox- Returns:
- sandboxConfig
-
setSandboxConfig
-
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 AnalysisConfig
-
fromJson
Create an instance of AnalysisConfig given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AnalysisConfig
- Throws:
IOException- if the JSON string is invalid with respect to AnalysisConfig
-
toJson
Convert an instance of AnalysisConfig to an JSON string- Returns:
- JSON string
-