Skip to content
Discussion options

You must be logged in to vote

Hey @OlegVPA-UA,

Good question. We need to shape the documentation for the Keep provider.

The first version of Keep provider used the same "filters system" as the workflow system, mainly you can do something like

filters:
  - key: severity
     value: high
...
more filters

From version 2, Keep provider support CEL directly so you can do something like

steps:
  - name: keep-step
    provider: keep
    config: "{{ providers.default-keep }}"
    with:
      version: 2
      filter: 'oraId == "ORA-01422"'  # any CEL you want

Here's a full working example - https://github.com/keephq/keep/blob/main/examples/workflows/resolve_old_alerts.yml#L15

Replies: 5 comments 11 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dosubot
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@shahargl
Comment options

@OlegVPA-UA
Comment options

@OlegVPA-UA
Comment options

@shahargl
Comment options

@OlegVPA-UA
Comment options

Answer selected by shahargl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants