Skip to content

Commit

Permalink
Update sdk to v2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ramanan-ravi committed Nov 21, 2024
1 parent ce572b9 commit 20b8c54
Show file tree
Hide file tree
Showing 540 changed files with 17,953 additions and 1,223 deletions.
2 changes: 1 addition & 1 deletion openapi_config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package_name_override: "threatstryker"
project_name_override: "threatstryker"
package_version_override: "2.3.1"
package_version_override: "2.5.0"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "threatstryker"
version = "2.3.1"
version = "2.5.0"
description = "A client library for accessing Deepfence ThreatStryker"
authors = []
readme = "README.md"
Expand Down
16 changes: 12 additions & 4 deletions threatstryker/api/agent_config/attach_agent_filesystem_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ def sync_detailed(
Attach Agent Filesystem config
Args:
body (ModelAttachAgentConfigReq):
body (ModelAttachAgentConfigReq): Example: {'config_id': 'config_id', 'agent_ids':
[{'node_type': 'node_type', 'available_workload': 0, 'node_id': 'node_id'}, {'node_type':
'node_type', 'available_workload': 0, 'node_id': 'node_id'}]}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -113,7 +115,9 @@ def sync(
Attach Agent Filesystem config
Args:
body (ModelAttachAgentConfigReq):
body (ModelAttachAgentConfigReq): Example: {'config_id': 'config_id', 'agent_ids':
[{'node_type': 'node_type', 'available_workload': 0, 'node_id': 'node_id'}, {'node_type':
'node_type', 'available_workload': 0, 'node_id': 'node_id'}]}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -139,7 +143,9 @@ async def asyncio_detailed(
Attach Agent Filesystem config
Args:
body (ModelAttachAgentConfigReq):
body (ModelAttachAgentConfigReq): Example: {'config_id': 'config_id', 'agent_ids':
[{'node_type': 'node_type', 'available_workload': 0, 'node_id': 'node_id'}, {'node_type':
'node_type', 'available_workload': 0, 'node_id': 'node_id'}]}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -168,7 +174,9 @@ async def asyncio(
Attach Agent Filesystem config
Args:
body (ModelAttachAgentConfigReq):
body (ModelAttachAgentConfigReq): Example: {'config_id': 'config_id', 'agent_ids':
[{'node_type': 'node_type', 'available_workload': 0, 'node_id': 'node_id'}, {'node_type':
'node_type', 'available_workload': 0, 'node_id': 'node_id'}]}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down
16 changes: 12 additions & 4 deletions threatstryker/api/agent_config/attach_agent_network_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ def sync_detailed(
Attach Agent Network config
Args:
body (ModelAttachAgentConfigReq):
body (ModelAttachAgentConfigReq): Example: {'config_id': 'config_id', 'agent_ids':
[{'node_type': 'node_type', 'available_workload': 0, 'node_id': 'node_id'}, {'node_type':
'node_type', 'available_workload': 0, 'node_id': 'node_id'}]}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -113,7 +115,9 @@ def sync(
Attach Agent Network config
Args:
body (ModelAttachAgentConfigReq):
body (ModelAttachAgentConfigReq): Example: {'config_id': 'config_id', 'agent_ids':
[{'node_type': 'node_type', 'available_workload': 0, 'node_id': 'node_id'}, {'node_type':
'node_type', 'available_workload': 0, 'node_id': 'node_id'}]}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -139,7 +143,9 @@ async def asyncio_detailed(
Attach Agent Network config
Args:
body (ModelAttachAgentConfigReq):
body (ModelAttachAgentConfigReq): Example: {'config_id': 'config_id', 'agent_ids':
[{'node_type': 'node_type', 'available_workload': 0, 'node_id': 'node_id'}, {'node_type':
'node_type', 'available_workload': 0, 'node_id': 'node_id'}]}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -168,7 +174,9 @@ async def asyncio(
Attach Agent Network config
Args:
body (ModelAttachAgentConfigReq):
body (ModelAttachAgentConfigReq): Example: {'config_id': 'config_id', 'agent_ids':
[{'node_type': 'node_type', 'available_workload': 0, 'node_id': 'node_id'}, {'node_type':
'node_type', 'available_workload': 0, 'node_id': 'node_id'}]}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down
16 changes: 12 additions & 4 deletions threatstryker/api/agent_config/attach_agent_policy_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ def sync_detailed(
Attach Agent Policy config
Args:
body (ModelAttachAgentConfigReq):
body (ModelAttachAgentConfigReq): Example: {'config_id': 'config_id', 'agent_ids':
[{'node_type': 'node_type', 'available_workload': 0, 'node_id': 'node_id'}, {'node_type':
'node_type', 'available_workload': 0, 'node_id': 'node_id'}]}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -113,7 +115,9 @@ def sync(
Attach Agent Policy config
Args:
body (ModelAttachAgentConfigReq):
body (ModelAttachAgentConfigReq): Example: {'config_id': 'config_id', 'agent_ids':
[{'node_type': 'node_type', 'available_workload': 0, 'node_id': 'node_id'}, {'node_type':
'node_type', 'available_workload': 0, 'node_id': 'node_id'}]}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -139,7 +143,9 @@ async def asyncio_detailed(
Attach Agent Policy config
Args:
body (ModelAttachAgentConfigReq):
body (ModelAttachAgentConfigReq): Example: {'config_id': 'config_id', 'agent_ids':
[{'node_type': 'node_type', 'available_workload': 0, 'node_id': 'node_id'}, {'node_type':
'node_type', 'available_workload': 0, 'node_id': 'node_id'}]}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -168,7 +174,9 @@ async def asyncio(
Attach Agent Policy config
Args:
body (ModelAttachAgentConfigReq):
body (ModelAttachAgentConfigReq): Example: {'config_id': 'config_id', 'agent_ids':
[{'node_type': 'node_type', 'available_workload': 0, 'node_id': 'node_id'}, {'node_type':
'node_type', 'available_workload': 0, 'node_id': 'node_id'}]}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down
16 changes: 12 additions & 4 deletions threatstryker/api/agent_config/attach_agent_process_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ def sync_detailed(
Attach Agent Process config
Args:
body (ModelAttachAgentConfigReq):
body (ModelAttachAgentConfigReq): Example: {'config_id': 'config_id', 'agent_ids':
[{'node_type': 'node_type', 'available_workload': 0, 'node_id': 'node_id'}, {'node_type':
'node_type', 'available_workload': 0, 'node_id': 'node_id'}]}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -113,7 +115,9 @@ def sync(
Attach Agent Process config
Args:
body (ModelAttachAgentConfigReq):
body (ModelAttachAgentConfigReq): Example: {'config_id': 'config_id', 'agent_ids':
[{'node_type': 'node_type', 'available_workload': 0, 'node_id': 'node_id'}, {'node_type':
'node_type', 'available_workload': 0, 'node_id': 'node_id'}]}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -139,7 +143,9 @@ async def asyncio_detailed(
Attach Agent Process config
Args:
body (ModelAttachAgentConfigReq):
body (ModelAttachAgentConfigReq): Example: {'config_id': 'config_id', 'agent_ids':
[{'node_type': 'node_type', 'available_workload': 0, 'node_id': 'node_id'}, {'node_type':
'node_type', 'available_workload': 0, 'node_id': 'node_id'}]}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -168,7 +174,9 @@ async def asyncio(
Attach Agent Process config
Args:
body (ModelAttachAgentConfigReq):
body (ModelAttachAgentConfigReq): Example: {'config_id': 'config_id', 'agent_ids':
[{'node_type': 'node_type', 'available_workload': 0, 'node_id': 'node_id'}, {'node_type':
'node_type', 'available_workload': 0, 'node_id': 'node_id'}]}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down
16 changes: 12 additions & 4 deletions threatstryker/api/agent_config/attach_agent_quarantine_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ def sync_detailed(
Attach Agent Quarantine config
Args:
body (ModelAttachAgentConfigReq):
body (ModelAttachAgentConfigReq): Example: {'config_id': 'config_id', 'agent_ids':
[{'node_type': 'node_type', 'available_workload': 0, 'node_id': 'node_id'}, {'node_type':
'node_type', 'available_workload': 0, 'node_id': 'node_id'}]}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -113,7 +115,9 @@ def sync(
Attach Agent Quarantine config
Args:
body (ModelAttachAgentConfigReq):
body (ModelAttachAgentConfigReq): Example: {'config_id': 'config_id', 'agent_ids':
[{'node_type': 'node_type', 'available_workload': 0, 'node_id': 'node_id'}, {'node_type':
'node_type', 'available_workload': 0, 'node_id': 'node_id'}]}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -139,7 +143,9 @@ async def asyncio_detailed(
Attach Agent Quarantine config
Args:
body (ModelAttachAgentConfigReq):
body (ModelAttachAgentConfigReq): Example: {'config_id': 'config_id', 'agent_ids':
[{'node_type': 'node_type', 'available_workload': 0, 'node_id': 'node_id'}, {'node_type':
'node_type', 'available_workload': 0, 'node_id': 'node_id'}]}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -168,7 +174,9 @@ async def asyncio(
Attach Agent Quarantine config
Args:
body (ModelAttachAgentConfigReq):
body (ModelAttachAgentConfigReq): Example: {'config_id': 'config_id', 'agent_ids':
[{'node_type': 'node_type', 'available_workload': 0, 'node_id': 'node_id'}, {'node_type':
'node_type', 'available_workload': 0, 'node_id': 'node_id'}]}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down
8 changes: 4 additions & 4 deletions threatstryker/api/agent_config/get_agent_filesystem_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def sync_detailed(
Get Agent Filesystem config
Args:
body (ModelGetAgentConfigReq):
body (ModelGetAgentConfigReq): Example: {'config_ids': ['config_ids', 'config_ids']}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -120,7 +120,7 @@ def sync(
Get Agent Filesystem config
Args:
body (ModelGetAgentConfigReq):
body (ModelGetAgentConfigReq): Example: {'config_ids': ['config_ids', 'config_ids']}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -146,7 +146,7 @@ async def asyncio_detailed(
Get Agent Filesystem config
Args:
body (ModelGetAgentConfigReq):
body (ModelGetAgentConfigReq): Example: {'config_ids': ['config_ids', 'config_ids']}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -175,7 +175,7 @@ async def asyncio(
Get Agent Filesystem config
Args:
body (ModelGetAgentConfigReq):
body (ModelGetAgentConfigReq): Example: {'config_ids': ['config_ids', 'config_ids']}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down
8 changes: 4 additions & 4 deletions threatstryker/api/agent_config/get_agent_network_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def sync_detailed(
Get Agent Network config
Args:
body (ModelGetAgentConfigReq):
body (ModelGetAgentConfigReq): Example: {'config_ids': ['config_ids', 'config_ids']}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -120,7 +120,7 @@ def sync(
Get Agent Network config
Args:
body (ModelGetAgentConfigReq):
body (ModelGetAgentConfigReq): Example: {'config_ids': ['config_ids', 'config_ids']}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -146,7 +146,7 @@ async def asyncio_detailed(
Get Agent Network config
Args:
body (ModelGetAgentConfigReq):
body (ModelGetAgentConfigReq): Example: {'config_ids': ['config_ids', 'config_ids']}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -175,7 +175,7 @@ async def asyncio(
Get Agent Network config
Args:
body (ModelGetAgentConfigReq):
body (ModelGetAgentConfigReq): Example: {'config_ids': ['config_ids', 'config_ids']}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down
8 changes: 4 additions & 4 deletions threatstryker/api/agent_config/get_agent_policy_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def sync_detailed(
Get Agent Policy config
Args:
body (ModelGetAgentConfigReq):
body (ModelGetAgentConfigReq): Example: {'config_ids': ['config_ids', 'config_ids']}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -120,7 +120,7 @@ def sync(
Get Agent Policy config
Args:
body (ModelGetAgentConfigReq):
body (ModelGetAgentConfigReq): Example: {'config_ids': ['config_ids', 'config_ids']}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -146,7 +146,7 @@ async def asyncio_detailed(
Get Agent Policy config
Args:
body (ModelGetAgentConfigReq):
body (ModelGetAgentConfigReq): Example: {'config_ids': ['config_ids', 'config_ids']}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -175,7 +175,7 @@ async def asyncio(
Get Agent Policy config
Args:
body (ModelGetAgentConfigReq):
body (ModelGetAgentConfigReq): Example: {'config_ids': ['config_ids', 'config_ids']}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down
8 changes: 4 additions & 4 deletions threatstryker/api/agent_config/get_agent_process_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def sync_detailed(
Get Agent Process config
Args:
body (ModelGetAgentConfigReq):
body (ModelGetAgentConfigReq): Example: {'config_ids': ['config_ids', 'config_ids']}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -120,7 +120,7 @@ def sync(
Get Agent Process config
Args:
body (ModelGetAgentConfigReq):
body (ModelGetAgentConfigReq): Example: {'config_ids': ['config_ids', 'config_ids']}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -146,7 +146,7 @@ async def asyncio_detailed(
Get Agent Process config
Args:
body (ModelGetAgentConfigReq):
body (ModelGetAgentConfigReq): Example: {'config_ids': ['config_ids', 'config_ids']}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -175,7 +175,7 @@ async def asyncio(
Get Agent Process config
Args:
body (ModelGetAgentConfigReq):
body (ModelGetAgentConfigReq): Example: {'config_ids': ['config_ids', 'config_ids']}.
Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down
Loading

0 comments on commit 20b8c54

Please sign in to comment.