grove.connectors.oomnitza package

Oomnitza connectors for Grove.

Submodules

grove.connectors.oomnitza.activities module

Oomnitza Activities connector for Grove.

class grove.connectors.oomnitza.activities.Connector(config: ConnectorConfig, context: Dict[str, str])[source]

Bases: BaseConnector

LOG_ORDER = 'REVERSE_CHRONOLOGICAL'
NAME = 'oomnitza_activities'
POINTER_PATH = 'timestamp'
collect()[source]

Collects Oomnitza activities from the Oomnitza API.

This will first check whether there are any pointers cached to indicate previous collections. If not, the last week of data will be collected.

grove.connectors.oomnitza.api module

Oomnitza API client.

class grove.connectors.oomnitza.api.Client(identity: str | None = None, token: str | None = None)[source]

Bases: object

get_activites(cursor: int = 0, start_date: str | None = None, end_date: str | None = None) AuditLogEntries[source]

Fetches a list of signing attempt logs.

Parameters:
  • cursor – Cursor to use when fetching results.

  • start_date – The earliest date an event represented as an epoch value.

  • end_date – The latest date an event represented as an epoch value.

Returns:

AuditLogEntries object containing a pagination cursor, and log entries.