Resource URL: /platform/<<version=3>>/hardening/state

    Overview: This resource exposes the state of hardening operation.

     Methods: GET

********************************************************************************

Method GET: Get the state of the current hardening operation, if one is
            happening.  Note that this is different from the /status resource,
            which returns the overall hardening status of the cluster.

       URL: GET /platform/<<version=3>>/hardening/state

There are no query arguments for this method.

GET response body schema:
{
  "type": "object", 
  "properties": {
    "state": {
      "type": "object", 
      "description": "The state of hardening operation on the cluster.", 
      "properties": {
        "issues_file": {
          "type": "string", 
          "description": "Full path name of issues file. This file contains all issues found when the cluster configuration is checked against expected configuration."
        }, 
        "message": {
          "type": "string", 
          "description": "This contains more information and details about the operation state."
        }, 
        "state": {
          "enum": [
            "Disabled", 
            "Checking_Before_Apply", 
            "Issues_Found_Before_Apply", 
            "Applying", 
            "Enabled", 
            "Checking_Before_Revert", 
            "Issues_Found_Before_Revert", 
            "Reverting", 
            "Failed", 
            "Resolving", 
            "Issues_Resolved", 
            "No_Issues_Found", 
            "Resolved_failed", 
            "Issues_Found_In_Report", 
            "No_Issues_Found_In_Report"
          ], 
          "type": "string", 
          "description": "The state of the hardening operation. In case there is no operation currently going on, this will display the last state of operation."
        }
      }
    }
  }
}
