From 12f3a1e9d9c18b3c71bc1496a8c9ec1a7d19916b Mon Sep 17 00:00:00 2001 From: SeAndersonT Date: Thu, 15 May 2025 11:21:19 -0500 Subject: [PATCH] changed moved rulebooks out of eda --- eda/rulebooks/insights_detection.yml | 19 ------------------- .../insights_detection.yml | 0 2 files changed, 19 deletions(-) delete mode 100644 eda/rulebooks/insights_detection.yml rename {decision_environments => rulebooks}/insights_detection.yml (100%) diff --git a/eda/rulebooks/insights_detection.yml b/eda/rulebooks/insights_detection.yml deleted file mode 100644 index 142cdb6..0000000 --- a/eda/rulebooks/insights_detection.yml +++ /dev/null @@ -1,19 +0,0 @@ ---- -- name: Listen for Red Hat Insights events - hosts: localhost - sources: - - redhat.insights_eda.insights: - host: 0.0.0.0 - port: 5000 - rules: - - name: Match Malware detected-malware event - condition: - event.payload.application == "malware-detection" - and event.payload.event_type == "detected-malware" - action: - run_job_template: - name: "handle-malware-detection" - organization: Default - job_args: - extra_vars: "{{ event.payload }}" - diff --git a/decision_environments/insights_detection.yml b/rulebooks/insights_detection.yml similarity index 100% rename from decision_environments/insights_detection.yml rename to rulebooks/insights_detection.yml