- Products
- Learn
- Local User Groups
- Partners
- More
What’s New in Device Diagnostics?
Dec 2nd @ 5pm CET / 11am EST
Check Point Live Patch in Practice
Dec 9nd @ 5pm CET / 11am EST
CPX is Back!
Join us in Las Vegas, Vienna, and/or Bangkok!
Check Point Named a Leader
The Forrester Wave:
Enterprise Firewall Solutions, Q4 2026
CheckMates Go:
Security Management Improvements
Hi CheckMates,
Encountered an issue with Management API while creating a rule via Web API.
Trying to set track level according to https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/set-access-rule~v1.5%20 , track field is able to receive "log" (even though it seems not to be documented).
However, it automatically switches on "Accounting" log feature as well.
Trying to adjust the accounting setting results in an error.
Any thoughts how it can be resolved?
Sent payload that creates a rule with logging enabled plus accounting:
payload_For_API = {
"layer": "Network",
"position": "top",
"name": "API 1",
"action": "Accept",
"destination": "hst_dst_1.10.1.100",
"service": "Kubernetes1",
"enabled": True,
"source": "Any",
"track": "log"
}
Trying to use track.type (as in https://community.checkpoint.com/t5/Policy-Management/change-to-Track-setting-in-policy/m-p/47958#M2...) results in
{'code': 'generic_err_invalid_parameter_name', 'message': 'Unrecognized parameter [track.type]'}
Trying to configure track using additional fields:
{'code': 'generic_err_invalid_parameter', 'message': 'Invalid parameter for [track]. The invalid value [ "accounting" : False }] should be replaced by one of the following values: [none, log, extended log, detailed log]'}
or:
{'code': 'generic_err_invalid_parameter', 'message': 'Invalid parameter for [track]. The invalid value [ "log" , {"accounting" : False }] should be replaced by one of the following values: [none, log, extended log, detailed log]'}
Thanks,
Vlad Tonne
@Vlad_Tonne , @Maik ,
Which version are we talking about?
Here are commands that worked for me on R80.30.
mgmt_cli:
mgmt_cli add access-rule layer "Network" position 1 name "Rule 1" track.type "Log" track.accounting true
Web Services:
{
"name": "amiad rule1",
"position" : 1,
"track": {
"accounting": true,
"type": "Log"
},
"layer": "Network"
}
As Maarten mentioned "track.accounting true" should work fine.
The documentation mentions that accounting only accepts boolean values; meaning true or false.
The "type" option can only be used with "Log", "Extended Log", "Detailed Log" or "None".
Hi,
Usage of "track.accounting" results in error.
"track": "log",
"track.accounting": False
{'layer': 'Network', 'position': 'top', 'name': 'API 1', 'action': 'Accept', 'destination': 'hst_dst_1.10.1.100', 'service': 'Kubernetes1', 'enabled': True, 'source': 'Any', 'track': 'log', 'track.accounting': False}
{'code': 'generic_err_invalid_parameter_name', 'message': 'Unrecognized parameter [track.accounting]'}
BR,
Vlad Tonne.
Works via management cli:
"add access-rule name 'Test' layer Network position bottom track.accounting true"
My guess is that you cant use both statements with one task:
"track": "log",
"track.accounting": False
Try to create the rule with track log first and afterwards use the set access rule command and enable account via "track.accounting": True.
Maybe @Amiad_Stern can help.
@Vlad_Tonne , @Maik ,
Which version are we talking about?
Here are commands that worked for me on R80.30.
mgmt_cli:
mgmt_cli add access-rule layer "Network" position 1 name "Rule 1" track.type "Log" track.accounting true
Web Services:
{
"name": "amiad rule1",
"position" : 1,
"track": {
"accounting": true,
"type": "Log"
},
"layer": "Network"
}
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 1 | |
| 1 |
Thu 03 Dec 2026 @ 11:00 AM (EST)
Email Agent Hijacking: repensar la seguridad del correo en la era de la IAThu 03 Dec 2026 @ 11:00 AM (EST)
Under the Hood: Check Point Cloud Firewall for Nutanix - How to Secure your AI WorkloadsWed 09 Dec 2026 @ 10:00 AM (CET)
2026 in Review, 2027 in Preview: Why Endpoint Is the Next Chapter of Workspace SecurityWed 09 Dec 2026 @ 11:00 AM (EST)
Closing the Exposure Window: Check Point Live Patch in PracticeFri 11 Dec 2026 @ 10:00 AM (CET)
Check Mates Live Netherlands: #51: Check Point SmartConsoile extensiesThu 03 Dec 2026 @ 11:00 AM (EST)
Email Agent Hijacking: repensar la seguridad del correo en la era de la IAThu 03 Dec 2026 @ 11:00 AM (EST)
Under the Hood: Check Point Cloud Firewall for Nutanix - How to Secure your AI WorkloadsWed 09 Dec 2026 @ 10:00 AM (CET)
2026 in Review, 2027 in Preview: Why Endpoint Is the Next Chapter of Workspace SecurityWed 09 Dec 2026 @ 11:00 AM (EST)
Closing the Exposure Window: Check Point Live Patch in PracticeFri 11 Dec 2026 @ 10:00 AM (CET)
Check Mates Live Netherlands: #51: Check Point SmartConsoile extensiesAbout CheckMates
Learn Check Point
Advanced Learning
WE SECURE YOUR AI TRANSFORMATION