Support Center > Search Results > SecureKnowledge Details
Missing Policy Installation Information when querying using Management API Technical Level
Symptoms
  • Running the following query using Management API is missing information regarding policy installation (Access Control and Threat Prevention), specifically the date of installation, if one is installed and the name:
    # mgmt_cli -r true -d [Domain IP] login enter-last-published-session true > sid.txt
    # mgmt_cli -s sid.txt show gateways-and-servers details-level full


    While the output of the following command does show the missing information:
    # mgmt_cli -r true -d [Domain IP] show gateways-and-servers details-level full

    Note: this might also occur when using web services call or other forms of the Management API.
Solution
Not getting the below details when entering the last published session using the Management API is an expected behavior.
To get these details, do not specify the enter-last-published-session flag upon login on the Management API.

Missing information:
  • Access Policy Installed (Boolean)
  • Access Policy Name (String)
  • Access Policy Installation Date (Object)
  • Threat Policy Installed (Boolean)
  • Threat Policy Name (String)
  • Threat Policy Installation Date (Object)
     
This solution has been verified for the specific scenario, described by the combination of Product, Version and Symptoms. It may not work in other scenarios.

Give us Feedback
Please rate this document
[1=Worst,5=Best]
Comment