Push Notifications¶
Data Structures¶
Attribute |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Read-only. Unique notification identifier. |
|
|
string {access_request_accepted, access_request_pending, access_request_rejected, session_ai_summary, session_finish, session_inject_close, session_inject_open, session_live_analysis, session_ml, session_regexp, session_start, session_sudo, session_waiting} |
Read-only. Name of event that triggered the notification. |
|
|
string {access_request, session} |
Read-only. Type of event that triggered the notification. |
|
|
string {mail, push, slack} |
Read-only. Transport used to deliver the notification. |
|
|
string |
Read-only. Additional message associated with the event. |
|
|
string |
Read-only; expensive to use. Additional arguments necessary to display the event. |
|
|
datetime |
Read-only. Time when the event occurred. |
|
|
string |
Read-only. ID of the user who is the recipient of the notification. |
|
|
string |
If |
Read-only. Access request identifier. |
|
string |
If |
Read-only. Access request reason. |
|
string {expired, granted, pending, rejected} |
If |
Read-only; expensive to use. Access request status. |
|
string {immediate, scheduled, preview} |
If |
Read-only. Access request type. |
|
number |
If |
Read-only; expensive to use. Access request immediate interval (1-24 hours). |
|
datetime |
If |
Read-only. When access request starts. |
|
datetime |
If |
Read-only. When access request expires. |
|
datetime |
If |
Read-only. When access request was created. |
|
string |
If |
Read-only. Access request rejection reason. |
|
string |
If |
Read-only. Session identifier. |
|
string |
If |
Read-only. Session source IP address. |
|
string |
If |
Read-only. Session destination IP address. |
|
number |
If |
Read-only. Session destination port. |
|
string |
If |
Read-only. Session login reason. |
|
datetime |
If |
Read-only. When session started. |
|
datetime |
If |
Read-only. When session finished. |
|
string {unknown, low, medium, high} |
If |
Read-only. Peak severity reported by live LLM session analysis. |
|
number |
If |
Read-only. Session ML threat level. |
|
number |
If |
Read-only. Session ML threat level maximum. |
|
number |
If |
Read-only. Session ML threat level minimum. |
|
string |
If |
Read-only. AI-generated summary of the session. |
|
object-array |
If |
Read-only. Session summary key risks. |
|
string {unprocessed, pending, processing, succeeded, failed} |
If |
Read-only. Current processing state of the AI summarizer. |
|
object-array |
If |
Read-only. Session scores. |
|
string |
Read-only. Account identifier. |
|
|
string |
Read-only. Account name. |
|
|
string |
Read-only. Account login. |
|
|
string |
Read-only. Account domain. |
|
|
string |
Read-only. Listener identifier. |
|
|
string |
If |
Read-only. Listener name. |
|
string |
Read-only. Pool identifier. |
|
|
string |
Read-only. Pool name. |
|
|
string {checkout, http, modbus, mysql, oracle, pgsql, rdp, ssh, tcp, tds, telnet, tn3270, tn5250, vnc} |
Read-only. Protocol used. |
|
|
string |
Read-only. Safe identifier. |
|
|
string |
Read-only. Safe name. |
|
|
string |
Read-only. Server identifier. |
|
|
string |
Read-only. Server name. |
|
|
string |
Read-only. User identifier. |
|
|
string |
Read-only. User domain. |
|
|
string |
Read-only. User full name. |
|
|
string |
Read-only. User name. |
|
|
string |
Read-only. User organization. |
|
|
string |
Read-only. ID of another user related to the notification: for example user who joined the session. |
|
|
string |
Read-only. Extra user domain. |
|
|
string |
Read-only. Extra user name. |
|
|
string |
Read-only. Extra user organization. |
|
|
object-array |
If |
Read-only. List of policies that triggered the notification. |
|
boolean |
Read-only; expensive to use. Is the access available via the web client or was the session established using the web client? |
|
|
string |
Read-only. Secret identifier. |
|
|
string |
Read-only. Secret name. |
|
|
string |
Read-only. Secret login. |
|
|
string |
Read-only. Secret domain. |
|
|
string |
Read-only. Secret description. |
|
|
string-array |
Read-only. Secret URIs. |
|
|
string |
Read-only. Collection identifier. |
|
|
string |
Read-only. Collection name. |
Get Push Notification Object Specification¶
Request
Method |
|
Path |
|
GET /api/v2/objspec/push_notification
Example Request
curl -s -k -X GET \
-H 'Authorization: <token>' \
'https://10.31.135.179/api/v2/objspec/push_notification'
Response
{
"result": "success",
"push_notification": {
"id": {
"type": "string",
"readonly": true,
"filterable": true
},
"event_name": {
"type": "string",
"description": "Name of event that triggered the notification",
"readonly": true,
"values": [
"access_request_accepted", "access_request_pending", "access_request_rejected",
"session_ai_summary", "session_finish", "session_inject_close",
"session_inject_open", "session_ml", "session_regexp",
"session_start", "session_waiting"
],
"filterable": true
},
"event_type": {
"type": "string",
"description": "Type of event that triggered the notification",
"readonly": true,
"values": ["access_request", "session"],
"filterable": true
},
"event_transport": {
"type": "string",
"description": "Transport used to deliver the notification",
"readonly": true,
"values": ["mail", "push", "slack"],
"filterable": true
},
"event_message": {
"type": "string",
"description": "Additional message associated with the event",
"readonly": true,
"filterable": true
},
"occurred_at": {
"type": "string",
"description": "Time when the event occurred",
"db-subtype": "timestamp",
"readonly": true,
"filterable": true
},
"session_summary": {
"type": "string",
"description": "AI-generated summary of the session.",
"readonly": true,
"filterable": true
}
}
}
List Push Notifications¶
Request
Method |
|
Path |
|
GET /api/v2/notification/push
Example Request
curl -s -k -X GET \
-H 'Authorization: <token>' \
'https://10.31.135.179/api/v2/notification/push'
Response
{
"result": "success",
"push_notification": [
{
"id": "notif123",
"event_name": "session_ai_summary",
"event_type": "session",
"event_transport": "push",
"event_message": "AI summary generated for session",
"occurred_at": "2025-01-15T14:30:00Z",
"session_id": "session_456",
"session_summary": "User performed database maintenance tasks with elevated privileges.",
"user_name": "john.doe"
}
]
}
Get Push Notification by ID¶
Request
Method |
|
Path |
|
GET /api/v2/notification/push/<id>
Example Request
curl -s -k -X GET \
-H 'Authorization: <token>' \
'https://10.31.135.179/api/v2/notification/push/notif123'
Response
{
"result": "success",
"push_notification": [
{
"id": "notif123",
"event_name": "access_request_pending",
"event_type": "access_request",
"event_transport": "push",
"occurred_at": "2025-01-15T14:30:00Z",
"access_request_id": "ar789",
"access_request_status": "pending",
"user_name": "jane.smith",
"safe_name": "Production Safe"
}
]
}