Is there a way to completely change a ruleset? #1292
-
So, was doing some testing with an agent that is not using a sync server, and was looking to manual import the json rule list. I got the list to import fine, but when I try to import a different rule list I still see the full list of rules in the database. Do I need to script out a removal line by line and then re-import the new list or perhaps script removal and reinstall of the agent? I would have expected the import to purge the current list and then import the rules in the new config file. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
No, but there should be.
It doesn't do this so that you could import multiple sets of rules additively. We can add a |
Beta Was this translation helpful? Give feedback.
No, but there should be.
It doesn't do this so that you could import multiple sets of rules additively. We can add a
--clean
flag to clear out any existing rules and you could combine that with--import
to have the replacement added at the same time.