Class AnalysisConfig

java.lang.Object
ai.reveng.model.AnalysisConfig

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class AnalysisConfig extends Object
AnalysisConfig
  • Field Details

  • Constructor Details

    • AnalysisConfig

      public AnalysisConfig()
  • Method Details

    • scrapeThirdPartyConfig

      public AnalysisConfig scrapeThirdPartyConfig(@Nullable ScrapeThirdPartyConfig scrapeThirdPartyConfig)
    • getScrapeThirdPartyConfig

      @Nullable public ScrapeThirdPartyConfig getScrapeThirdPartyConfig()
      Settings to scrape third party sources
      Returns:
      scrapeThirdPartyConfig
    • setScrapeThirdPartyConfig

      public void setScrapeThirdPartyConfig(@Nullable ScrapeThirdPartyConfig scrapeThirdPartyConfig)
    • generateCves

      public AnalysisConfig generateCves(@Nullable Boolean generateCves)
    • getGenerateCves

      @Nullable public Boolean getGenerateCves()
      A configuration option for fetching CVEs data.
      Returns:
      generateCves
    • setGenerateCves

      public void setGenerateCves(@Nullable Boolean generateCves)
    • generateSbom

      public AnalysisConfig generateSbom(@Nullable Boolean generateSbom)
    • getGenerateSbom

      @Nullable public Boolean getGenerateSbom()
      A configuration option for generating software bill of materials data.
      Returns:
      generateSbom
    • setGenerateSbom

      public void setGenerateSbom(@Nullable Boolean generateSbom)
    • generateCapabilities

      public AnalysisConfig generateCapabilities(@Nullable Boolean generateCapabilities)
    • getGenerateCapabilities

      @Nullable public Boolean getGenerateCapabilities()
      A configuration option for generating capabilities of a binary
      Returns:
      generateCapabilities
    • setGenerateCapabilities

      public void setGenerateCapabilities(@Nullable Boolean generateCapabilities)
    • noCache

      public AnalysisConfig noCache(@Nullable Boolean noCache)
    • getNoCache

      @Nullable public Boolean getNoCache()
      When enabled, skips using cached data within the processing.
      Returns:
      noCache
    • setNoCache

      public void setNoCache(@Nullable Boolean noCache)
    • advancedAnalysis

      public AnalysisConfig advancedAnalysis(@Nullable Boolean advancedAnalysis)
    • getAdvancedAnalysis

      @Nullable public Boolean getAdvancedAnalysis()
      Enables an advanced security analysis.
      Returns:
      advancedAnalysis
    • setAdvancedAnalysis

      public void setAdvancedAnalysis(@Nullable Boolean advancedAnalysis)
    • sandboxConfig

      public AnalysisConfig sandboxConfig(@Nullable SandboxOptions sandboxConfig)
    • getSandboxConfig

      @Nullable public SandboxOptions getSandboxConfig()
      Including a sandbox config enables the dynamic execution sandbox
      Returns:
      sandboxConfig
    • setSandboxConfig

      public void setSandboxConfig(@Nullable SandboxOptions sandboxConfig)
    • putAdditionalProperty

      public AnalysisConfig putAdditionalProperty(String key, Object value)
      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 property
      value - value of the property
      Returns:
      the AnalysisConfig instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static AnalysisConfig fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of AnalysisConfig to an JSON string
      Returns:
      JSON string