This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 2212369 - RFE: Include all (regular) files found in DIRECTORY that match the regular expression REGEX in the @@include function (RHEL 8)
Summary: RFE: Include all (regular) files found in DIRECTORY that match the regular ex...
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: aide
Version: 8.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Radovan Sroka
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-05 12:38 UTC by Guilherme Covolo
Modified: 2023-08-16 15:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-16 15:18:27 UTC
Type: Story
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   RHEL-1381 0 None None None 2023-08-16 15:18:27 UTC
Red Hat Issue Tracker RHELPLAN-159009 0 None None None 2023-06-05 20:08:40 UTC
Red Hat Issue Tracker SECENGSP-5221 0 None None None 2023-06-05 20:08:48 UTC

Description Guilherme Covolo 2023-06-05 12:38:31 UTC
- Description of problem:

Include all (regular) files found in DIRECTORY that match the regular expression REGEX in the @@include function

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

Add the function @@include the option to read directories that was implemented in version 0.17.

- How reproducible:

Update the aide package version to 0.17 or backport the commits that introduce the feature (that starts in upstream commit e686d7b6)

https://github.com/aide/aide/commit/e686d7b6b11f8ab5bf59a7cb4acc1bff87b60383

- Steps to Reproduce:
1. Install RHEL 8.8
2. Install Aide
3. Configure using files found in DIRECTORY that match the regular expression REGEX in the @@include function.

- Actual results:

It is not possible to set directories using the @@include function.

- Expected results:

Configure directories using the @@include function.

- Additional info:

1. Proposed title of this feature request

Upgrade AIDE to 0.18 (latest version) or include directories using @@include function

2. What is the nature and description of the request?

Include all (regular) files found in DIRECTORY that match the regular expression REGEX in the @@include function.

The functionality for @@include to read directories was implemented in version 0.17.

3. Why do you need it? (List the business requirements here)

Better configuration management. It will be easier to distribute configuration files that apply to specific machines / environments without affecting the distributed aide configuration files.

4. How would you like to achieve this? (List the functional requirements here)

Update the aide package version to 0.18 or back port the commits that introduce the feature (that starts in upstream commit e686d7b6)

https://github.com/aide/aide/commit/e686d7b6b11f8ab5bf59a7cb4acc1bff87b60383

5. For each functional requirement listed, specify how Red Hat and you can test to confirm that the requirement was successfully implemented.

If the package is upgraded to version 0.18 or the patch series to provide the feature is back ported, then AIDE users will be able to use the directory include for configuration files.

6. Is there already an existing RFE upstream or in Red Hat Bugzilla?

I haven't found any RFE filled for Fedora or RHEL in Bugzilla.

7. Do you have any specific timeline dependencies and which version would he like to target (ie RHEL8, RHEL9)?

Customer expects it being supported in RHEL8 and RHEL9.

8. Is the sales team involved in this request and do they have any additional input?

No

9. List any affected packages or components.

RHEL8: aide-0.16-14.el8_5.1

10. Would you be able to help with testing this functionality if implemented?

Customer can do validation tests if we provide the package.

Comment 3 Radovan Sroka 2023-08-16 15:13:12 UTC
This bug is going to be migrated.

Contact point for migration questions or issues: rsroka
Guidance for Bugzilla users to test their Jira account or create one if needed:

https://redhat.service-now.com/help?id=kb_article_view&sysparm_article=KB0016394
https://redhat.service-now.com/help?id=kb_article_view&sysparm_article=KB0016694
https://redhat.service-now.com/help?id=kb_article_view&sysparm_article=KB0016774


Note You need to log in before you can comment on or make changes to this bug.