- Products
- Learn
- Local User Groups
- Partners
- More
Access Control and Threat Prevention Best Practices
5 November @ 5pm CET / 11am ET
Ask Check Point Threat Intelligence Anything!
October 28th, 9am ET / 3pm CET
Check Point Named Leader
2025 Gartner® Magic Quadrant™ for Hybrid Mesh Firewall
HTTPS Inspection
Help us to understand your needs better
CheckMates Go:
Spark Management Portal and More!
🛒 More SmartTasks
👍 Tested to be working with R81.20+
SmartTask to verify that a session description is at least 20 characters.
test `cat $1|jq -r .session.\"session-description\"|wc -c` -le 20 && echo '{"result":"failure","message":"Session description should be at least 20 characters"}' || echo '{"result":"success"}'
Name | Trigger | Action | Enabled |
Verify Session Description Length | Before Publish | Run Script | ✔️ |
🛒 More SmartTasks
👍 Tested to be working with R81.20+
SmartTask to verify that a session description is at least 20 characters.
test `cat $1|jq -r .session.\"session-description\"|wc -c` -le 20 && echo '{"result":"failure","message":"Session description should be at least 20 characters"}' || echo '{"result":"success"}'
Verified in R81.20 lab. for "Session Name"
It also works perfectly with session name..
Just it will be necessary to modify the script the way Danny wrote in my post:
"change "session-description" to "session-name" and adjust the message accordingly".
By doing this, you get the failure message when publishing with a session name is less of 20 characters, and you get the success message (see bellow) when publishing with a session name longer than 20 characters
Verified in R81.20 lab. for "Session Name"
It also works perfectly with session name..
Just it will be necessary to modify the script the way Danny wrote in my post:
"change "session-description" to "session-name" and adjust the message accordingly".
By doing this, you get the failure message when publishing with a session name is less of 20 characters, and you get the success message (see bellow) when publishing with a session name longer than 20 characters
;
About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY