Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .sdk-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.98.0
v3.100.0
1 change: 0 additions & 1 deletion docs/AnalysisConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**scrape_third_party_config** | [**ScrapeThirdPartyConfig**](ScrapeThirdPartyConfig.md) | Settings to scrape third party sources | [optional]
**generate_cves** | **bool** | A configuration option for fetching CVEs data. | [optional] [default to False]
**analyse_functions** | **bool** | When enabled (default), runs the static AI analysis pipeline. | [optional] [default to True]
**generate_sbom** | **bool** | A configuration option for generating software bill of materials data. | [optional] [default to False]
**generate_capabilities** | **bool** | A configuration option for generating capabilities of a binary | [optional] [default to False]
**no_cache** | **bool** | When enabled, skips using cached data within the processing. | [optional] [default to False]
Expand Down
2 changes: 1 addition & 1 deletion revengai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
""" # noqa: E501


__version__ = "v3.98.0"
__version__ = "v3.100.0"

# Define package exports
__all__ = [
Expand Down
2 changes: 1 addition & 1 deletion revengai/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def __init__(
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/v3.98.0/python'
self.user_agent = 'OpenAPI-Generator/v3.100.0/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
4 changes: 2 additions & 2 deletions revengai/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,8 @@ def to_debug_report(self) -> str:
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: v3.98.0\n"\
"SDK Package Version: v3.98.0".\
"Version of the API: v3.100.0\n"\
"SDK Package Version: v3.100.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self) -> List[HostSetting]:
Expand Down
4 changes: 1 addition & 3 deletions revengai/models/analysis_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,12 @@ class AnalysisConfig(BaseModel):
""" # noqa: E501
scrape_third_party_config: Optional[ScrapeThirdPartyConfig] = Field(default=None, description="Settings to scrape third party sources")
generate_cves: Optional[StrictBool] = Field(default=False, description="A configuration option for fetching CVEs data.")
analyse_functions: Optional[StrictBool] = Field(default=True, description="When enabled (default), runs the static AI analysis pipeline.")
generate_sbom: Optional[StrictBool] = Field(default=False, description="A configuration option for generating software bill of materials data.")
generate_capabilities: Optional[StrictBool] = Field(default=False, description="A configuration option for generating capabilities of a binary")
no_cache: Optional[StrictBool] = Field(default=False, description="When enabled, skips using cached data within the processing.")
advanced_analysis: Optional[StrictBool] = Field(default=False, description="Enables an advanced security analysis.")
sandbox_config: Optional[SandboxOptions] = Field(default=None, description="Including a sandbox config enables the dynamic execution sandbox")
__properties: ClassVar[List[str]] = ["scrape_third_party_config", "generate_cves", "analyse_functions", "generate_sbom", "generate_capabilities", "no_cache", "advanced_analysis", "sandbox_config"]
__properties: ClassVar[List[str]] = ["scrape_third_party_config", "generate_cves", "generate_sbom", "generate_capabilities", "no_cache", "advanced_analysis", "sandbox_config"]

model_config = ConfigDict(
populate_by_name=True,
Expand Down Expand Up @@ -96,7 +95,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"scrape_third_party_config": ScrapeThirdPartyConfig.from_dict(obj["scrape_third_party_config"]) if obj.get("scrape_third_party_config") is not None else None,
"generate_cves": obj.get("generate_cves") if obj.get("generate_cves") is not None else False,
"analyse_functions": obj.get("analyse_functions") if obj.get("analyse_functions") is not None else True,
"generate_sbom": obj.get("generate_sbom") if obj.get("generate_sbom") is not None else False,
"generate_capabilities": obj.get("generate_capabilities") if obj.get("generate_capabilities") is not None else False,
"no_cache": obj.get("no_cache") if obj.get("no_cache") is not None else False,
Expand Down