Policy

Retrieves the specified policy group.

get/api/3/policies/{policyId}/groups/{groupId}

Request

Path parameters

groupIdinteger required

The identifier of the policy group.

Example:71
policyIdinteger required

The identifier of the policy

Example:84

Response

OK

descriptionstring

A description of the policy group.

idstring

The textual representation of the policy group identifier.

namestring

The name of the policy group.

scopestring

The textual representation of the policy group scope. Policy groups that are automatically available have "Built-in" scope, whereas policy groups created by users have scope as "Custom".

status'PASS' | 'FAIL' | 'NOT_APPLICABLE'

The overall compliance status of the policy group.

surrogateIdobject

The identifier of the policy group.

titlestring

The title of the policy group as visible to the user.

Example response

{
  "assets": {
    "links": [
      {
        "href": "https://hostname:3780/api/3/...",
        "rel": "self"
      }
    ]
  },
  "benchmark": {
    "links": [
      {
        "href": "https://hostname:3780/api/3/...",
        "rel": "self"
      }
    ]
  },
  "links": [
    {
      "href": "https://hostname:3780/api/3/...",
      "rel": "self"
    }
  ],
  "policy": {
    "links": [
      {
        "href": "https://hostname:3780/api/3/...",
        "rel": "self"
      }
    ]
  }
}

Changes

    • info

      added the media type application/json;charset=UTF-8 for the response with the status

    • info

      added the media type application/json;charset=UTF-8 for the response with the status

    • info

      added the media type application/json;charset=UTF-8 for the response with the status

    • info

      added the media type application/json;charset=UTF-8 for the response with the status

    • info

      added the media type application/json;charset=UTF-8 for the response with the status