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

policy manager: Hegehog policy subscription and application #375

Open
mmguero opened this issue Nov 4, 2024 · 0 comments
Open

policy manager: Hegehog policy subscription and application #375

mmguero opened this issue Nov 4, 2024 · 0 comments
Labels
enhancement New feature or request policy Related to issues dealing with "policy" (rules, configuration, etc.) management
Milestone

Comments

@mmguero
Copy link
Collaborator

mmguero commented Nov 4, 2024

@mmguero cloned issue idaholab/Malcolm#573 on 2024-10-01:

sub-item of this meta-issue: "policy manager" for Malcolm and Hedgehog Linux (idaholab#477)

This issue involves how Hedgehog sensors get the contents of policies stored on a Malcolm server.

As it's the way everything else is done, I'm way more inclined to have sensors "pull" policy updates from their Malcolm server, rather than Malcolm "push" the changes to the sensor. Today, a Malcolm instance doesn't really "know" about its hedgehogs, 99% of the data flow goes from the sensor to the aggregator and not vice-versa.

So ideally the configuration works such that the sensor can talk to its Malcolm's Git repositories (see idaholab#572) and "subscribe" (check out) the branches that you want it to use. Then it would periodically pull changes via Git, and apply the changes when they're observed.

I think also you should be able to subscribe to multiple branches, for example, a "global" branch as well as a "local" branch. These would need to be prioritized and then flattened out (which could be done using rsync or something like that).

@mmguero mmguero added enhancement New feature or request policy Related to issues dealing with "policy" (rules, configuration, etc.) management labels Nov 4, 2024
@mmguero mmguero added this to Malcolm Nov 5, 2024
@mmguero mmguero added this to the z.staging milestone Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request policy Related to issues dealing with "policy" (rules, configuration, etc.) management
Projects
Status: No status
Development

No branches or pull requests

1 participant