grove.connectors.atlassian package

Atlassian connectors for Grove.

Submodules

grove.connectors.atlassian.api module

Atlassian API client.

As Atlassian does not currently support the Events API, this client has been created in the interim.

class grove.connectors.atlassian.api.Client(identity: str | None = None, token: str | None = None, retry: bool | None = True)[source]

Bases: object

get_audit(cursor: str | None = None, from_date: str | None = None) AuditLogEntries[source]

Fetches a list of signing attempt logs.

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

  • from_date – The earliest date an event represented as a UNIX epoch time.

Returns:

AuditLogEntries object containing a pagination cursor, and log entries.

grove.connectors.atlassian.audit_events module

Atlassian Audit connector for Grove.

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

Bases: BaseConnector

LOG_ORDER = 'REVERSE_CHRONOLOGICAL'
NAME = 'atlassian_audit_events'
POINTER_PATH = 'attributes.time'
collect()[source]

Collects all logs from the Atlassian Events 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.