Skip to content

Tweak CEL expression docs#19

Merged
nscuro merged 1 commit into
mainfrom
tweak-expression-docs
Apr 25, 2026
Merged

Tweak CEL expression docs#19
nscuro merged 1 commit into
mainfrom
tweak-expression-docs

Conversation

@nscuro
Copy link
Copy Markdown
Member

@nscuro nscuro commented Apr 25, 2026

Clearly separates expression usages for policy conditions from those for notification filters.

Adds a general CEL reference that both contexts can refer to instead of duplicating the same information across pages.

Clearly separates expression usages for policy conditions from those for notification filters.

Adds a general CEL reference that both contexts can refer to instead of duplicating the same information across pages.

Signed-off-by: nscuro <nscuro@protonmail.com>
Copilot AI review requested due to automatic review settings April 25, 2026 12:29
@nscuro nscuro added the enhancement New feature or request label Apr 25, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR reorganizes the documentation for CEL usage by separating policy condition expression details from notification filter expressions, and introducing a shared CEL primer that both can reference.

Changes:

  • Adds a new policy-focused reference page for condition expression variables, custom functions, and examples.
  • Refactors the general CEL page into a shared syntax/standard-library primer and updates policy/notification docs to link to the right context-specific references.
  • Updates reference navigation and cross-links to point to the new vulnerability policies section structure.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
docs/reference/policies/index.md Updates vulnerability policy reference to point to shared CEL primer + new condition expression page; fixes relative links.
docs/reference/policies/condition-expressions.md New comprehensive reference for policy condition contexts, variables, functions, and examples.
docs/reference/policies/.pages Adds section nav for vulnerability policies and condition expressions.
docs/reference/notifications/filter-expressions.md Updates CEL references to the shared primer and clarifies function availability for notification filters.
docs/reference/index.md Reorganizes reference landing page sections and adds links to the new policy/condition expression pages.
docs/reference/cel-expressions.md Converts CEL page into a shared syntax/standard library primer with context-specific pointers.
docs/reference/.pages Updates vulnerability policies nav entry to point to the new policies/ section directory.
docs/guides/user/managing-vulnerability-policies.md Updates reference links to the new vulnerability policies reference location.
docs/concepts/vulnerability-policies.md Updates reference links to the new vulnerability policies reference location.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/reference/policies/.pages
@nscuro nscuro merged commit 18dbee4 into main Apr 25, 2026
9 checks passed
@nscuro nscuro deleted the tweak-expression-docs branch April 25, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants