...
Anchor | ||||
---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
Following is a sample session management template for REST API endpoint:
{
"name": "session",
"version": "2.0",
...
"session_duration": 60000
}
...
Note: The The login_template and logout_template lines specify the templates to be executed for login and logout.
The session_duration line specifies the length of the session. You must upload the login and logout templates and logout templates before configuring a session management template that refers them.
...
{
...
Following is a sample session management template for DXL endpoint:
{"name": "
...
session_tmplate",
...
"version": "
...
3.0",
...
"
...
type": "
...
DXL_ENDPOINT",
...
"
...
vendor_identifier": "
...
DXL",
...
"
...
dxl_keep_alive_interval": 60,
"dxl_topic": "
...
/outbound/session"
}
Anchor | ||||
---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
{
"name": "login",
"version": "2.0",
"vendor_identifier": "Rapid7",
"type": "REST_EVENT",
"event_type": ["SESSION"],
"content_type": "text/xml",
"quoting": "XMLA",
"steps": [
...
Anchor | ||||
---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
Following is a sample action template for DXL endpoint:
{
"vendor_identifier": "DXL",
"version": "3.0",
"name": "action",
"type": "DXL_EVENT",
"event_type": [
"FIXED_ADDRESS_IPV4"
],
"dxl_topic": "/outbound/action",
"steps": [
{
"operation": "DXL_SEND_EVENT",
"name": "send_ip",
"body": "address ${E:A:values{ipv4addr}}",
"dxl_topic": "/outbound/step"
}
]
}
Following is a sample action template for REST API endpoint:
{
"name": "action",
"vendor_identifier": "Rapid7",
...