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 #573

Closed
mmguero opened this issue Oct 1, 2024 · 1 comment
Closed

policy manager: Hegehog policy subscription and application #573

mmguero opened this issue Oct 1, 2024 · 1 comment
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 Oct 1, 2024

sub-item of this meta-issue: "policy manager" for Malcolm and Hedgehog Linux (#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 #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 Oct 1, 2024
@mmguero mmguero added this to the z.staging milestone Oct 1, 2024
@mmguero mmguero added this to Malcolm Oct 1, 2024
@mmguero mmguero moved this to Todo (design) in Malcolm Oct 1, 2024
@mmguero
Copy link
Collaborator Author

mmguero commented Nov 4, 2024

Kamino closed and cloned this issue to cisagov/Malcolm

@mmguero mmguero closed this as completed Nov 4, 2024
@github-project-automation github-project-automation bot moved this from Todo (design) to Done in Malcolm Nov 4, 2024
@mmguero mmguero moved this from Done to Migrated in Malcolm 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: Migrated
Development

No branches or pull requests

1 participant