[ https://issues.apache.org/jira/browse/IGNITE-25853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nusrat Shakarov updated IGNITE-25853: ------------------------------------- Description: It can be useful for audit purposes to fire an eventĀ on REST API calls. The event should contain information about the call, including client information(address) and user login. Each API call can generate 2 events: * REST_API_REQUEST_STARTED * REST_API_REQUEST_FINISHED Event metadata example: {code:java} { "timestamp": "2025-07-08T13:17:22Z", "method": "POST", "endpoint": "/management/v1/license", "requestId": "36d3f7aa-c84c-47a9-9e78-bf6d8e20b7ba", "clientAddress": "203.0.113.24", "userLogin": "vasya", "status": 200, "durationMs": 128 } {code} {{}} was: It can be useful for audit purposes to [fire an event|https://www.gridgain.com/docs/gridgain9/latest/developers-guide/events/events-list] on REST API calls. The event should contain information about the call, including client information(address) and user login. Each API call can generate 2 events: * MANAGEMENT_REST_API_REQUEST_STARTED * MANAGEMENT_REST_API_REQUEST_FINISHED Event metadata example: {code:java} { "event": "REST_MANAGEMENT_API_FINISHED", "timestamp": "2025-07-08T13:17:22Z", "method": "POST", "endpoint": "/management/v1/license", "requestId": "36d3f7aa-c84c-47a9-9e78-bf6d8e20b7ba", "clientAddress": "203.0.113.24", "userLogin": "vasya", "status": 200, "durationMs": 128 } {code} {{}} > Fire events on REST API calls. > ------------------------------ > > Key: IGNITE-25853 > URL: https://issues.apache.org/jira/browse/IGNITE-25853 > Project: Ignite > Issue Type: Improvement > Components: rest ai3 > Reporter: Nusrat Shakarov > Priority: Major > Labels: ignite-3 > > It can be useful for audit purposes to fire an eventĀ on REST API calls. > The event should contain information about the call, including client > information(address) and user login. > Each API call can generate 2 events: > * REST_API_REQUEST_STARTED > * REST_API_REQUEST_FINISHED > Event metadata example: > {code:java} > { > "timestamp": "2025-07-08T13:17:22Z", > "method": "POST", > "endpoint": "/management/v1/license", > "requestId": "36d3f7aa-c84c-47a9-9e78-bf6d8e20b7ba", > "clientAddress": "203.0.113.24", > "userLogin": "vasya", > "status": 200, > "durationMs": 128 > } {code} > {{}} -- This message was sent by Atlassian Jira (v8.20.10#820010)