07-13-2022 08:55 AM
I have a bunch of endpoints that have failed for one reason or another. They are clogging up my CV and I want to get them purged automatically. You can see from the image that they fail at a point where they don't even hit a rule. There are some basic profiles being applied, but nothing too specific. Because the profiles are all over the place, I'm not able to get good endpoint purge rules created. Any idea on how I can either stop these from clogging up my CV or create a single purge rule to get them regularly removed?
07-13-2022 10:38 AM
I would recommend the "Inactive Days" attribute. If the endpoint hasn't been seen by ISE in X days, then delete. In theory, it shouldn't matter which authc/authz profile the endpoint hit.
07-13-2022 11:33 AM
Thanks, I use that attribute in other rules. I dont like creating blanket rules, however, because I have a ton of wired MAB. And using Inactive Days without another attribute would likely remove many of my static endpoints. This is a sticky situation because its difficult for me to get my customers to tell me when a device is truly decommissioned vs temporarily out of service.
If I look at wireless alone, I don't have any statically assigned devices, so maybe I can create a purge rule that using the attribute of Device Type = Wireless combined with the Inactive Days attribute.
07-13-2022 06:59 PM
Hi @Josh Morris ,
please try:
ENDPOINTPURGE.DeviceRegistrationStatus EQUALS NotRegistered
AND
ENDPOINTPURGE.InactiveDays GREATERTHAN <# of days>
Hope this helps !!!
07-14-2022 10:52 AM
Thanks. Does the Device Registration Status attribute translate to an endpoint being statically assigned to an Endpoint Identity Group? In other words, with the method you've recommended, would I be purging statically assigned endpoints?
07-14-2022 11:40 AM
AFAIK that registration attribute applies to BYOD flows. Not static group assignments. So as I understand it, yes you would be purging endpoints assigned to static groups. How many static groups do you have? Are you not using profiling?
07-14-2022 01:54 PM
I have more static groups than I'd care to admit. I could try to use more profiling in some instances (security cameras), but others are machines assigned to security zones, so there could be any number of devices types in those groups.
07-14-2022 04:36 PM
Just a warning on endpoint identity groups, the more you have the slower the ERS API runs. This is due to how the RBAC is evaluated while making API calls.
I have two suggestions that you could use here.
I honestly suggest purging all endpoints, static or not, but treating them differently. If an endpoint hasn't connected in 180 days, or whatever is deemed appropriate then purge it. This avoids having ID groups full of stale decommissioned endpoints with minimal risk and rework.
07-15-2022 06:12 AM
Your first option is interesting. I hadn't considered it. I was thinking about creating a parent group for all my static endpoint groups and adding that parent group to the purge exception list. But this would mean that I would never purge anything in that group. That's been the most difficult part of making this decision...I'm scared to purge a static endpoint that was somehow still in use.
I have been looking at endpoint purge in a more granular way, but you're showing me here that I can really get away with just two purge rules with this method. I've also been focusing on Elapsed Days instead of Inactive Days, but maybe I should switch that as well.
07-22-2022 08:18 AM - edited 07-22-2022 08:20 AM
Hi @Josh Morris ,
about " ... Does the Device Registration Status attribute translate to an endpoint being statically assigned to an Endpoint Identity Group? ... ", you are correct, since a Statically Endpoint has not been through the BYOD Flow, then the default state of the DeviceRegistrationStatus attribute is always Not Registered, in other words, the DeviceRegistrationStatus is not an option for Statically Endpoints.
Thanks !!!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide