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

Do not use absolute indexes in Prelude fields #893

Merged
merged 1 commit into from
Aug 2, 2016

Conversation

antoineluong
Copy link
Contributor

When defining Prelude fields with absolute indexes, the following error can occur:

IDMEF: Cannot add object 'alert.target(0).file(0).File_Access(1).user_id.number': An index below the one specified is undefined.

This happens because alert.target(0).file(0).File_Access(0) has not been set previously.

Use the append (>>) method instead, supported since libprelude-0.9.10.

@ddpbsd
Copy link
Member

ddpbsd commented Jul 12, 2016

How many people actually use the prelude support? I'd much rather drop it completely.

@antoineluong
Copy link
Contributor Author

Hard to say... I do know that Prelude is packaged in some Linux distributions, and that OSSEC is widely used when deploying Prelude as the recommended HIDS.

@ddpbsd ddpbsd merged commit 09cf1af into ossec:master Aug 2, 2016
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

Successfully merging this pull request may close these issues.

2 participants