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

[BUG] Plugins #1622

Open
Parnoud opened this issue Aug 2, 2024 · 0 comments
Open

[BUG] Plugins #1622

Parnoud opened this issue Aug 2, 2024 · 0 comments

Comments

@Parnoud
Copy link

Parnoud commented Aug 2, 2024

This isn't a bug but a wiki creation and plugins update :

I did my ticket here because i won't do on each plugins. In my society we create some plugin based on your's or fully internal but we figured all plugins add data or modify data but never clear data if they need. we search a lot and after reverse engineering you"r code we find this :
In the Map.pm of the plugins (exemple you"r Bitlocker plugins)

$DATA_MAP{bitlockerstatus} = {
	mask => 0,
		multi => 1,
		auto => 1,
		delOnReplace => 1,
		sortBy => 'DRIVE',
		writeDiff => 0,
		cache => 0,
		fields => {
			DRIVE => {},
			VOLUMETYPE => {},
			CONVERSIONSTATUS => {},
			PROTECTIONSTATUS => {},
			ENCRYPMETHOD => {},
			INITPROTECT => {}
}
};

It will create data if the computer is bitlocked, but if the same computer remove bitlocker, the xml send is now empty or clear but after inventory, the computer doesnt clear his data in database.
Activity.log show no xxx:u:bitlockerstatus (+0-1)

If you need to clear data we need to add madatory => 1 int he map plugins section for that.
Now the activity.log show all plugins an remove the data.

So my question is : can you add a section in wiki for plugins creation, delete and update (i think we will get more contribution for plugins when you will do this, maybe i will upload my plugins for Roles and feature windows server, service, user, service, port ...)

And thanks a lot for the 2.12.2 who cleary remove lots of but like the double "_ _" bug.

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

No branches or pull requests

5 participants