Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
joshd
Explorer

show-changes via REST API shows incorrect enabled state for deleted disabled access rule

Hi, we are using the show-changes command via REST API with the latest version (1.9.1) and when I delete an access rule which is disabled, the response shows enabled: true.

Is this a known issue?

Here's an example of some of the properties returned by show-changes:

 

{
  "modified-objects": [],
  "deleted-objects": [
    {
      "uid": "5b259b8a-314b-4576-ad7e-568ae42bc6c5",
      "name": "Disabled Rule",
      "type": "access-rule",
      "layer": "d6177f77-596a-425e-b730-aa034282f80a",
      "comments": "",
      "enabled": true,
    }
  ],
  "added-objects": []
}

 

 Steps to reproduce:

  1. Create an access rule in the disabled state.
  2. Pulish changes.
  3. Delete rule.
  4. Run show-changes command.

The enabled property of the deleted access rule shows "true" when it should be "false".

I also took over the session with the deleted rule in draft in the SmartConsole and when viewing the changes could not see any indication as to whether the rule was enabled or not.

0 Kudos
2 Replies
PhoneBoy
Admin
Admin

May be an API bug, in which case a TAC case is warranted.
Also paging @Omer_Kleinstern 

0 Kudos
Omer_Kleinstern
Employee
Employee

Please open a TAC case.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events