Audit
Get account audit logs (Version 2)
accounts.logs.audit.list(AuditListParams**kwargs) -> SyncCursorPaginationAfter[AuditListResponse]
GET/accounts/{account_id}/logs/audit
Get resource change history from an account audit log entry (Version 2)
accounts.logs.audit.history(strid, AuditHistoryParams**kwargs) -> AuditHistoryResponse
GET/accounts/{account_id}/logs/audit/{id}/history
List account audit log product categories (Version 2)
accounts.logs.audit.product_categories(AuditProductCategoriesParams**kwargs) -> SyncSinglePage[AuditProductCategoriesResponse]
GET/accounts/{account_id}/logs/audit/product_categories
ModelsExpand Collapse
class AuditListResponse: …
class AuditListResponse: …
actor: Optional[Actor]Provides details about the actor who performed the action.
actor: Optional[Actor]
Provides details about the actor who performed the action.
id: Optional[str]
The ID of the actor who performed the action. If a user performed the action, this will be their User ID.
context: Optional[Literal["api", "api_key", "api_token", 3 more]]The context in which the action was initiated.
api: The action was performed through the API. The specific credential type was not recorded.
api_key: The action was authenticated with a Cloudflare Global API Key.
api_token: The action was authenticated with an API token.
dash: The action was performed through the Cloudflare dashboard.
oauth: The action was authenticated with an OAuth token.
origin_ca_key: The action was authenticated with an Origin CA key.
context: Optional[Literal["api", "api_key", "api_token", 3 more]]
The context in which the action was initiated.
api: The action was performed through the API. The specific credential type was not recorded.api_key: The action was authenticated with a Cloudflare Global API Key.api_token: The action was authenticated with an API token.dash: The action was performed through the Cloudflare dashboard.oauth: The action was authenticated with an OAuth token.origin_ca_key: The action was authenticated with an Origin CA key.
List[AuditHistoryResponseItem]
List[AuditHistoryResponseItem]
actor: Optional[AuditHistoryResponseItemActor]Provides details about the actor who performed the action.
actor: Optional[AuditHistoryResponseItemActor]
Provides details about the actor who performed the action.
id: Optional[str]
The ID of the actor who performed the action. If a user performed the action, this will be their User ID.
context: Optional[Literal["api", "api_key", "api_token", 3 more]]The context in which the action was initiated.
api: The action was performed through the API. The specific credential type was not recorded.
api_key: The action was authenticated with a Cloudflare Global API Key.
api_token: The action was authenticated with an API token.
dash: The action was performed through the Cloudflare dashboard.
oauth: The action was authenticated with an OAuth token.
origin_ca_key: The action was authenticated with an Origin CA key.
context: Optional[Literal["api", "api_key", "api_token", 3 more]]
The context in which the action was initiated.
api: The action was performed through the API. The specific credential type was not recorded.api_key: The action was authenticated with a Cloudflare Global API Key.api_token: The action was authenticated with an API token.dash: The action was performed through the Cloudflare dashboard.oauth: The action was authenticated with an OAuth token.origin_ca_key: The action was authenticated with an Origin CA key.