Skip to content

Conversation

@victormlg
Copy link
Contributor

Example:

body common control
{
  evaluation_order => "classic";
}

bundle agent __main__
{
# here the evaluation is "classic"
  methods:
    usebundle => A;
    usebundle => B;
}

bundle agent A
{
# here the evaluation is "classic"
}

body file control
{
  evaluation_order => "top_down";
}

bundle agent B
{
# here the evaluation is "top_down"
}

Changelog: Title
Ticket: CFE-4598
Signed-off-by: Victor Moene <[email protected]>
@victormlg victormlg force-pushed the body_file_control_evalorder branch from e7872f4 to 4c3215c Compare November 10, 2025 10:31
@victormlg victormlg force-pushed the body_file_control_evalorder branch from 4c3215c to 7be731d Compare November 10, 2025 13:09
@victormlg victormlg force-pushed the body_file_control_evalorder branch from 7be731d to 2270d92 Compare November 10, 2025 14:04
Signed-off-by: Victor Moene <[email protected]>
}

Bundle *bundle = PolicyAppendBundle(policy, ns, name, type, args, source_path);
// TODO: add eval order in json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you can link this to a ticket?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you're adding it in the next commit. Then you should probably remove the comment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants