{
    "metadata": {
        "id": "_z21qiv8b1_newSession",
        "name": "New session",
        "description": "Fill session attributes when a new session is created",
        "readOnly":true
    },

    "condition": {
        "type": "sessionCreatedEventCondition",
        "parameterValues": {
        }
    },

    "actions": [
        {
            "type": "setRemoteHostInfoAction",
            "parameterValues": {
            }
        },
        {
            "type": "requestHeaderToProfilePropertyAction",
            "parameterValues": {
                "requestHeaderName": "User-Agent",
                "sessionPropertyName": "userAgent"
            }
        }
    ]

}