get https://{domain_prefix}.retail.lightspeed.app/api/2.0/security_events
This API returns a list of all the security log events for the current user. If you want a list of all the security events for all users please use the auditlog_events with filter type == "security". See the auditlog_events API in the beta documentation for more information.