policies_event_matcher_list
GET/api/v3//policies/event_matcher/
Event Matcher Policy Viewset
Request
Query Parameters
action string
Possible values: [authorize_application
, configuration_error
, custom_
, email_sent
, flow_execution
, impersonation_ended
, impersonation_started
, invitation_used
, login
, login_failed
, logout
, model_created
, model_deleted
, model_updated
, password_set
, policy_exception
, policy_execution
, property_mapping_exception
, secret_rotate
, secret_view
, source_linked
, suspicious_request
, system_exception
, system_task_exception
, system_task_execution
, update_available
, user_write
]
Match created events with this action type. When left empty, all action types will be matched.
app string
client_ip string
created date-time
execution_logging boolean
last_updated date-time
model string
name string
ordering string
Which field to use when ordering the results.
page integer
A page number within the paginated result set.
page_size integer
Number of results to return per page.
policy_uuid uuid
search string
A search term.
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (auto)
Schema
pagination objectrequired
results object[]required
{
"pagination": {
"next": 0,
"previous": 0,
"count": 0,
"current": 0,
"total_pages": 0,
"start_index": 0,
"end_index": 0
},
"results": [
{
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"execution_logging": true,
"component": "string",
"verbose_name": "string",
"verbose_name_plural": "string",
"meta_model_name": "string",
"bound_to": 0,
"action": "login",
"client_ip": "string",
"app": "authentik.tenants",
"model": "authentik_tenants.domain"
}
]
}
- application/json
- Schema
- Example (auto)
Schema
non_field_errorsstring[]
codestring
property name*any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (auto)
Schema
detailstringrequired
codestring
{
"detail": "string",
"code": "string"
}
Authorization: http
name: authentiktype: httpscheme: bearer
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "/api/v3/policies/event_matcher/");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());