Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to apply rule_conditions to postprocessing #283

Open
0xFustang opened this issue Oct 8, 2024 · 1 comment
Open

Ability to apply rule_conditions to postprocessing #283

0xFustang opened this issue Oct 8, 2024 · 1 comment

Comments

@0xFustang
Copy link

Description

Hello! Is there a way to apply rule_conditions in a post-processing? The idea would be to apply a post-processing based on a certain condition such as:

- type: template
  template: |+
    {{ query }} | extend ServiceName = tostring(ParsedFields.ServiceName) | project foo, bar, ServiceName
  rule_conditions:
    - type: contains_detection_item
      field: "Provider_Name"
      value: "Service Control Manager"

- type: template
  template: |+
    {{ query }} | extend Balance = tostring(ParsedFields.Bar) | project foo, Balance
  rule_conditions:
    - type: contains_detection_item
      field: "Provider_Name"
      value: "balance"
@thomaspatzke
Copy link
Member

Postprocessing items are already capable of this. Did you tried it and it doesn't worked?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants