abacusai.hosted_database_health

Classes

HostedDatabaseHealth

Database health of a web app's database (_getHostedDatabaseHealth): the findings recorded within the last day.

Module Contents

class abacusai.hosted_database_health.HostedDatabaseHealth(client, webAppProjectId=None, hostedDatabaseId=None, databaseName=None, deploymentConversationId=None, canFix=None, scannedAt=None, findings={})

Bases: abacusai.return_class.AbstractApiClass

Database health of a web app’s database (_getHostedDatabaseHealth): the findings recorded within the last day.

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • webAppProjectId (id) – The project ID

  • hostedDatabaseId (id) – The database examined

  • databaseName (str) – The database’s display name

  • deploymentConversationId (id) – The app’s build conversation ID

  • canFix (bool) – Whether the caller may send findings to the agent (the app owner or an admin)

  • scannedAt (str) – When the findings were last recorded

  • findings (HostedDatabaseFinding) – The findings seen within the last day, most recently seen first

web_app_project_id = None
hosted_database_id = None
database_name = None
deployment_conversation_id = None
can_fix = None
scanned_at = None
findings
deprecated_keys
__repr__()
to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict