Skip to content

Real Time Response Audit

The Real Time Response Audit service collection provides operations for auditing RTR sessions created for a customer in a specified duration.

LanguageLast Update
Pythonv1.6.5
PowerShellv2.2.9
Gov0.22.0
TypeScriptv0.6.0
Rustv0.7.1
Rubyv1.4.0


OperationDescription
RTRAuditSessions
audit_sessions
Get all the RTR sessions created for a customer in a specified duration

Get all the RTR sessions created for a customer in a specified duration

Method GET
Route /real-time-response-audit/combined/sessions/v1
Scope Real time response audit: READ
PEP 8 audit_sessions
filter query · string
Optional filter criteria in FQL format.
sort query · string
Sort order in FQL format.
Available values (3)
created_atupdated_atdeleted_at
limit query · string
number of sessions to be returned
offset query · string
offset value to be used for paginated results
with_command_info query · boolean
get sessions with command info included; by default sessions are returned without command info which include cloud_request_ids and logs fields
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import RealTimeResponseAudit
falcon = RealTimeResponseAudit(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.audit_sessions(filter="string",
limit="string",
offset="string",
sort="string",
with_command_info=boolean)
print(response)
[
{
"cid": "string",
"cloud_request_ids": [],
"commands": {},
"commands_queued": false,
"created_at": "string",
"deleted_at": "string",
"device_details": {},
"device_id": "string",
"duration": 0.0,
"execution_id": "string",
"hostname": "string",
"id": "string",
"logs": [],
"offline_queued": false,
"origin": "string",
"platform_id": 0,
"platform_name": "string",
"pwd": "string",
"updated_at": "string",
"user_id": "string",
"user_uuid": "string"
}
]