Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2182880

Summary: Satellite does not support Insights Malware detection with yara
Product: Red Hat Satellite Reporter: Matthew Yee <myee>
Component: RH Cloud - InsightsAssignee: Shimon Shtein <sshtein>
Status: CLOSED UPSTREAM QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.12.1CC: ahumbe, aruzicka, ehelms, smcdowel
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-11 14:05:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthew Yee 2023-03-29 21:05:36 UTC
Description of problem:
I have a host with yara installed. I want to enable the forwarding of yara data to Insights with insights-client so that Insights can detect Malware attacks. This is currently impossible.


Version-Release number of selected component (if applicable):
6.12.2

How reproducible:
Consistent

Steps to Reproduce:
1. Install yara on a rhel host.
2. Run insights-client --collector malware-detection

Actual results:
[root@ip-172-31-29-5 ~]# insights-client --collector malware-detection
Starting to collect Insights data for ip-172-31-29-5.us-west-1.compute.internal

Performing a test scan of /etc/insights-client/malware-detection-config.yml and the current process (PID 4500) to verify the malware-detection app is installed and scanning correctly ...

Unable to download rules from https://ip-172-31-29-12.us-west-1.compute.internal:443/redhat_access/r/insights/platform/malware-detection/v1/test-rule.yar: HTTPSConnectionPool(host='ip-172-31-29-12.us-west-1.compute.internal', port=443): Max retries exceeded with url: /redhat_access/r/insights/platform/malware-detection/v1/test-rule.yar (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:897)'),))

Expected results:


Additional info:

Comment 4 Eric Helms 2023-07-11 14:05:49 UTC
This was a fix that needed to happen in insights-core and has been fixed:

https://github.com/RedHatInsights/insights-core/pull/3826