Skip to content

website/docs: Add improved akql docs#22693

Open
PeshekDotDev wants to merge 11 commits into
mainfrom
akql-docs
Open

website/docs: Add improved akql docs#22693
PeshekDotDev wants to merge 11 commits into
mainfrom
akql-docs

Conversation

@PeshekDotDev
Copy link
Copy Markdown
Contributor

Details

Closes #22274


Checklist

  • Local tests pass (ak test authentik/)
  • The code has been formatted (make lint-fix)

If an API change has been made

  • The API schema and clients have been updated (make gen)

If changes to the frontend have been made

  • The code has been formatted (make web)

If applicable

  • The documentation has been updated
  • The documentation has been formatted (make docs)

@netlify
Copy link
Copy Markdown

netlify Bot commented May 27, 2026

Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 5d63485
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6a18cc426a9047000861d119
😎 Deploy Preview https://deploy-preview-22693--authentik-integrations.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 27, 2026

Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 5d63485
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6a18cc4272fe250008cec1a7
😎 Deploy Preview https://deploy-preview-22693--authentik-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 27, 2026

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 5d63485
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a18cc427c79520007951323
😎 Deploy Preview https://deploy-preview-22693--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 37.64%. Comparing base (9e75f62) to head (5d63485).
✅ All tests successful. No failed tests found.

❗ There is a different number of reports uploaded between BASE (9e75f62) and HEAD (5d63485). Click for more details.

HEAD has 32 uploads less than BASE
Flag BASE (9e75f62) HEAD (5d63485)
e2e 10 4
conformance 6 1
unit 10 0
integration 1 0
unit-migrate 10 0
Additional details and impacted files
@@             Coverage Diff             @@
##             main   #22693       +/-   ##
===========================================
- Coverage   93.30%   37.64%   -55.66%     
===========================================
  Files        1033     1026        -7     
  Lines       60150    59652      -498     
  Branches      400      400               
===========================================
- Hits        56120    22455    -33665     
- Misses       4030    37197    +33167     
Flag Coverage Δ
conformance 35.79% <ø> (-0.77%) ⬇️
e2e 36.92% <ø> (-4.85%) ⬇️
integration ?
rust 0.00% <ø> (ø)
unit ?
unit-migrate ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@PeshekDotDev PeshekDotDev marked this pull request as ready for review May 28, 2026 08:36
@PeshekDotDev PeshekDotDev requested a review from a team as a code owner May 28, 2026 08:36
@dominic-r dominic-r requested a review from a team as a code owner May 28, 2026 09:06
Comment thread website/docs/releases/2026/v2026.5.md Outdated
### `AKQL` is now open source

The `AKQL` search query language was previously an enterprise-only feature for [querying logs](../../sys-mgmt/events/logging-events.mdx#advanced-queries) and [users](../../users-sources/user/user_basic_operations.md#advanced-queries). `AKQL` is now free for everyone to use, allowing searches based on specific attributes such as `context.geo.country = "Germany"`.
The `AKQL` search query language was previously an enterprise-only feature for [querying logs](../../sys-mgmt/events/logging-events.mdx#advanced-queries) and [users](../../users-sources/user/user_basic_operations.md#advanced-queries). `AKQL` is now free for everyone to use, allowing searches based on specific attributes such as `context.geo.country = "Germany"`. For the full syntax and a list of where you can use it, see the new [AKQL reference](../../sys-mgmt/akql.mdx).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The `AKQL` search query language was previously an enterprise-only feature for [querying logs](../../sys-mgmt/events/logging-events.mdx#advanced-queries) and [users](../../users-sources/user/user_basic_operations.md#advanced-queries). `AKQL` is now free for everyone to use, allowing searches based on specific attributes such as `context.geo.country = "Germany"`. For the full syntax and a list of where you can use it, see the new [AKQL reference](../../sys-mgmt/akql.mdx).
The `AKQL` search query language was previously an enterprise-only feature for [querying logs](../../sys-mgmt/events/logging-events.mdx#advanced-queries) and [users](../../users-sources/user/user_basic_operations.md#advanced-queries). `AKQL` is now free for everyone to use, allowing searches based on specific attributes such as `context.geo.country = "Germany"`. For the full syntax and a list of where you can use it, see the [AKQL reference](../../sys-mgmt/akql.mdx).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Comment thread website/docs/sys-mgmt/akql.mdx Outdated

import { KeyBindingsTable } from "@goauthentik/docusaurus-theme/components/KeyBindingsTable";

**AKQL** (authentik Query Language) is the advanced search syntax used throughout the authentik Admin interface. It lets you filter long lists, such as events, users, and groups, by writing structured expressions like `action = "login"` or `context.geo.country = "Germany"` instead of relying on a single free-text search.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to standardize on either "list" or "area" throughout the doc

Comment thread website/docs/sys-mgmt/akql.mdx Outdated
Comment thread website/docs/sys-mgmt/akql.mdx Outdated

### Operators

The operator that's valid for a given comparison depends on the [type of the field](#field-types). The full set of operators is:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The operator that's valid for a given comparison depends on the [type of the field](#field-types). The full set of operators is:
The operator that is valid for a given comparison depends on the [type of the field](#field-types). The full set of operators is:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this area was removed

Comment thread website/docs/sys-mgmt/akql.mdx Outdated
Comment thread website/docs/users-sources/groups/manage_groups.mdx Outdated
@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core May 28, 2026
@dewi-tik
Copy link
Copy Markdown
Contributor

My suggested changes are still applicable despite showing as outdated

Comment thread website/docs/releases/2026/v2026.5.md Outdated
PeshekDotDev and others added 3 commits May 28, 2026 04:14
Signed-off-by: Connor Peshek <connor@connorpeshek.me>
Co-authored-by: Dewi Roberts <dewi@goauthentik.io>
Signed-off-by: Connor Peshek <connor@connorpeshek.me>
Comment thread website/docs/sys-mgmt/akql.mdx Outdated
dominic-r and others added 2 commits May 28, 2026 11:25
Signed-off-by: Dominic R <dominic@goauthentik.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

Restructure our Docs about AKQL, more centralized, links out, better promoted

3 participants