- Products
- Learn
- Local User Groups
- Partners
-
More
Celebrate the New Year
With CheckMates!
Value of Security
Vendor Self-Awareness
Join Us for CPX 360
23-24 February 2021
Important certificate update to CloudGuard Controller, CME,
and Azure HA Security Gateways
How to Remediate Endpoint & VPN
Issues (in versions E81.10 or earlier)
Mobile Security
Buyer's Guide Out Now
Important! R80 and R80.10
End Of Support around the corner (May 2021)
Hello,
I want to set Track field to Log for all our rules. We are running R80.20.
I have followed sk109766 but it is not working. I guess this is only working for R77.30.
Is there an other way to do that beside doing it manually with Smartconsole ?
regards,
Cedric
ok I have finally found the command to do it in CLI:
# mgmt_cli set access-rule rule-number 1 layer "Security" track.type "Log"
It is also working with a CSV as source to be able to update all rules:
# mgmt_cli set access-rule layer "Security" -b rulebase_log.csv
In CSV file:
rule-number,track.type,layer
1,"Log","Security"
2,"Log","Security"
...
sk109766 is for R77.xx versions, but not for R80.xx - most configuration parameters are now saved in SQL database instead of in file rulebases_5_0.fws. So the contemporary way to do this is Management API.
ok I have finally found the command to do it in CLI:
# mgmt_cli set access-rule rule-number 1 layer "Security" track.type "Log"
It is also working with a CSV as source to be able to update all rules:
# mgmt_cli set access-rule layer "Security" -b rulebase_log.csv
In CSV file:
rule-number,track.type,layer
1,"Log","Security"
2,"Log","Security"
...
Yes, the API is a helpful toolbox...
About CheckMates
Learn Check Point
Advanced Learning
WELCOME TO THE FUTURE OF CYBER SECURITY