InlineEnvironmentRecommendationSession1

InlineEnvironmentRecommendationSession1
InlineEnvironmentRecommendationSession1
JSON Example
{
    "display_name": "Environment Recommendation Example",
    "description": "Recommendation created on 3/11/26, 11:37 AM",
    "site_ids": [
        "9e0865d0-9d89-44c7-8cc0-9f96a9b35721"
    ],
    "start_time": 1772665427892,
    "monitoring_enabled": true,
    "action": "ANALYZE",
    "recommendation_type": "ENVIRONMENT",
    "context_environment_pair": {
        "source": {
            "id": "53facdae-df9f-4c29-b060-d9a73f808db9",
            "display_name": "My Dev Environment",
            "site_ids": [
                "9e0865d0-9d89-44c7-8cc0-9f96a9b35721"
            ]
        },
        "destination": {
            "id": "dbe05a95-4447-447b-b7c7-e9a9b7279bb2",
            "display_name": "My Staging Environment",
            "site_ids": [
                "9e0865d0-9d89-44c7-8cc0-9f96a9b35721"
            ]
        }
    },
    "protection_rule_action": "JUMP_TO_APPLICATION",
    "exclude_multicast_flows": true,
    "exclude_broadcast_flows": true
}
context_environment_pair
Required  

Detailed representation of the directional context in which recommendation will be generated for all flows from the source to destination environments. Includes metadata such as environment IDs and names.

protection_rule_action
Optional
Constraints: default: JUMP_TO_APPLICATION

The action to be applied to the protection rule for environment-based recommendations. This determines how traffic between the source and destination environments will be handled. JUMP_TO_APPLICATION is the default action, which redirects traffic to application-level policies for more granular control.

Enumeration: ALLOW, DROP, REJECT, JUMP_TO_APPLICATION
array of Resource
context_security_policies
Optional
Constraints: maxItems: 1

The Security policies provided by user that will be used to generate recommendations. The context_security_policies must contain the pair section if it exists. Currently we only accept one security policy.

boolean
exclude_multicast_flows
Optional
Constraints: default: true

If enabled, multicast flows will not be considered in the analysis

boolean
exclude_broadcast_flows
Optional
Constraints: default: true

If enabled, broadcast flows will not be considered in the analysis