Skip to content

Commit

Permalink
RHINENG-6036: add cyndi filters
Browse files Browse the repository at this point in the history
  • Loading branch information
psegedy committed Dec 13, 2023
1 parent a0b8e70 commit b713b5d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions deploy/clowdapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,15 @@ objects:
enabled: true
appName: patch
insightsOnly: true
additionalFilters:
- name: "nonCentOS"
type: "com.redhat.insights.kafka.connect.transforms.Filter"
if: "!record.headers().lastWithName('os_name').value().match(/centos/i)"
where: "COALESCE(system_profile_facts->'operating_system'->>'name', '') NOT ILIKE '%centos%'"
- name: "excludedReporters"
type: "com.redhat.insights.kafka.connect.transforms.Filter"
if: "!record.headers().lastWithName('reporter').value().match(/^(yupana|satellite|discovery|rhsm-conduit)$/i)"
where: "reporter NOT IN ('yupana', 'satellite', 'discovery', 'rhsm-conduit')"
testing:
iqePlugin: patchman

Expand Down

0 comments on commit b713b5d

Please sign in to comment.