Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
IdentityUnknown
Contributor

mgmt_cli Runtime Error with "set access-rule"

Hi guys,

any ideas to this error, running againt R80.30 DMS (Api version 1.5).

# mgmt_cli set access-rule name "Cleanup" layer "Network" track.type "Log"

code: "generic_error"
message: "Runtime error: com.checkpoint.management.access.objects.access_rulebase.AccessCtrlSection incompatible with com.checkpoint.objects.rulebase.RulebaseRule"

 

0 Kudos
3 Replies
PhoneBoy
Admin
Admin

IdentityUnknown
Contributor

Unfortunately not.

Everything is working as expected with the command "add access-rule", but I have to use "set access-rule" to modify an existing rule to log, which is by the way the default cleanup rule.

I am not allowed to create a policy package without a default cleanup rule.

0 Kudos
PhoneBoy
Admin
Admin

It worked for me after I renamed the Cleanup rule something other than Cleanup.

> set access-rule name "Cleanup" layer "Network" track.type "log"

code: "generic_err_object_field_not_unique"
message: "Requested object name [Cleanup] is not unique."


> set access-rule name "Cleanup_Rule" layer "Network" track.type "log"
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events