Skip to content

Conversation

@Mujib-Ahasan
Copy link
Contributor

@Mujib-Ahasan Mujib-Ahasan commented Dec 7, 2025

Description

This PR implements feature-based access control in the Incus agent using a new configuration file (incus-agent.yml).
This allows VM maintainers to selectively disable agent capabilities.

close #2684

@Mujib-Ahasan
Copy link
Contributor Author

Hello @stgraber, I made few changes, but did not get for files, mount and info. Also let me know about the implementation.

stgraber and others added 6 commits December 19, 2025 01:52
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
Closes lxc#2684

Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
@stgraber stgraber force-pushed the restrict-agent-feature branch from 35a8009 to 3ec8278 Compare December 19, 2025 08:14
@github-actions github-actions bot added the Documentation Documentation needs updating label Dec 19, 2025
@stgraber
Copy link
Member

Made a few changes/refactoring, added documentation and added the remaining codepaths.
I ran through a test (on Linux) and everything looks good.

@stgraber stgraber merged commit ec5c347 into lxc:main Dec 19, 2025
55 of 56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Documentation needs updating

Development

Successfully merging this pull request may close these issues.

Allow restricting agent features from within the guest

2 participants