EnvironmentRecommendationSession
The context input for environment recommendation
A recommendation session configured for environment-based macrosegmentation.
Notes:
- This session type takes an SSP environment pair (source and destination environments) as input and generates security policies to protect traffic flows between the environments.
AllOf
This class requires all of the following:
JSON Example
{
"_create_user": "string",
"_create_time": 0,
"_last_modified_user": "string",
"_last_modified_time": 0,
"_revision": 0,
"_resource_type": "string",
"_system_owned": false,
"id": "string",
"display_name": "Environment Recommendation Example",
"description": "Recommendation created on 3/11/26, 11:37 AM",
"site_ids": [
"9e0865d0-9d89-44c7-8cc0-9f96a9b35721"
],
"recommendation_type": "ENVIRONMENT",
"start_time": 1772665427892,
"time_interval": {
"start_time": 0,
"end_time": 0
},
"monitoring_enabled": true,
"action": "ANALYZE",
"status": {
"recommendation_overall_status": "READY_TO_PUBLISH",
"recommendation_analysis_states": [
{
"site_id": "9e0865d0-9d89-44c7-8cc0-9f96a9b35721",
"status_message": "",
"status": "SUCCESS"
}
],
"recommendation_result_states": [
{
"id": "9e0865d0-9d89-44c7-8cc0-9f96a9b35721",
"site_id": "9e0865d0-9d89-44c7-8cc0-9f96a9b35721",
"status": "READY_TO_PUBLISH"
}
],
"rerun_recommended": false,
"alerts": [],
"groups_with_alert": []
},
"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
}