I’m facing an issue with a role assignment criteria that I created using a role importer script. In the script, I specified the criteria using lastname, but in the UI, it appears as attributes.lastname instead of just lastname.
It looks like the issue might be with how the attribute is referenced in your script. Instead of using attributes.lastname, you should use attribute.lastname.
Update your role importer script input to use attribute.lastname and see if that resolves the issue. This should ensure that the UI displays the criteria as lastname.