# Objects / Security Event

# Security Event

**Object**
## SecurityEvent

| Fields | Type | Description |
| --- | --- | --- |
| id | [ID!](/documentation/Types/UUID#UUID) | The ID of the event |
| outlet | [Outlet](/documentation/Objects/Outlets#Outlet) | The outlet the event occurred in (if null, it was in global mode) |
| register | [Register](/documentation/Objects/Register#Register) | The register the event occurred at (if null, it wasn't at a register) |
| user | [User](/documentation/Objects/User#User) | The user who caused the event |
| deviceId | *String!* | The internal device ID, note, this is randomly assigned to a device when they first open Shopfront |
| event | [SecurityEventEnum!](/documentation/Enums/Miscellaneous#SecurityEventEnum) | The event that occurred |
| metaData | [JSON](/documentation/Types/JSON#JSON) | The internal data relating to the event, contact Shopfront for examples of how this data is stored |
| ipv4 | [IPv4](/documentation/Types/IPV4#IPV4) | The IP Address (version 4) that this event originated from |
| ipv6 | [IPv6](/documentation/Types/IPV6#IPV6) | The IP Address (version 6) that this event originated from |
| userAgent | *String* | The user agent of the device which created the event |
| timestamp | [DateTime!](/documentation/Types/Date-Time#DateTime) | The time that the action occurred |