Policy Effectiveness
Use the policy effectiveness request to get the amount of fully effective and partially effective policies (by policy category) across a specific time frame. The total effective policies across the specified time frame is also included in the response.
Endpoint
Method: POST
URL: /analytics/policy/effectiveness
Request Parameter
Parameter Name | Data Type | Description | Required/Optional |
|---|---|---|---|
| Array | Set the time range to get the policy effectiveness across a specific time frame, this array consists of a | Required |
| Date Time | Set the earlier time frame parameter for the | Required |
| Date Time | Set the later time frame parameter for the | Required |
For an example request, see Sample Request.
Response and Error Code
Response Code | Condition |
|---|---|
200 | OK |
Response Parameter
Parameter Name | Data Type | Description |
|---|---|---|
| Number | The total number of effective policies during the |
| Array | The total number of effective polices during the |
| String | Specifies the policy category that the following
|
| Number | The total number of effective polices (of the previously stated |
| Array | Shows the effectiveness of each policy category by showing how many fully effective and partially effective policies are in each policy category. The |
| String | Specifies the policy category that the following |
| Array | Shows the effectiveness of each policy category by showing how many fully effective and partially effective policies are in he previously stated |
| String | Specifies the status that the following
|
| Number | The quantity of policies for the previously stated |
For an example response, see Sample Response.
Sample Request
{
"time_range":{
"start_time":"2024-01-01T00:00:00.000Z",
"end_time":"2024-12-31T23:59:59.999Z"
}
}Sample Response
{
"totalEffectivePolicies": "26",
"policyCategoryStats": [{
"policyCategory": "POLICY_CATEGORY_LOCKS",
"policyCount": "2"
}, {
"policyCategory": "POLICY_CATEGORY_EXPORT",
"policyCount": "2"
}, {
"policyCategory": "POLICY_CATEGORY_TRANSCRIPTION",
"policyCount": "0"
}, {
"policyCategory": "POLICY_CATEGORY_RECORDING",
"policyCount": "4"
}, {
"policyCategory": "POLICY_CATEGORY_STORAGE",
"policyCount": "18"
}, {
"policyCategory": "POLICY_CATEGORY_ACCESS_CONTROL",
"policyCount": "0"
}],
"policyCategoryEffectivenessStats": [{
"policyCategory": "POLICY_CATEGORY_LOCKS",
"stats": [{
"status": "EFFECTIVENESS_STATUS_PARTIALLY_EFFECTIVE",
"policyCount": "2"
}, {
"status": "EFFECTIVENESS_STATUS_FULLY_EFFECTIVE",
"policyCount": "0"
}]
}, {
"policyCategory": "POLICY_CATEGORY_EXPORT",
"stats": [{
"status": "EFFECTIVENESS_STATUS_PARTIALLY_EFFECTIVE",
"policyCount": "2"
}, {
"status": "EFFECTIVENESS_STATUS_FULLY_EFFECTIVE",
"policyCount": "0"
}]
}, {
"policyCategory": "POLICY_CATEGORY_TRANSCRIPTION",
"stats": [{
"status": "EFFECTIVENESS_STATUS_PARTIALLY_EFFECTIVE",
"policyCount": "0"
}, {
"status": "EFFECTIVENESS_STATUS_FULLY_EFFECTIVE",
"policyCount": "0"
}]
}, {
"policyCategory": "POLICY_CATEGORY_RECORDING",
"stats": [{
"status": "EFFECTIVENESS_STATUS_PARTIALLY_EFFECTIVE",
"policyCount": "4"
}, {
"status": "EFFECTIVENESS_STATUS_FULLY_EFFECTIVE",
"policyCount": "0"
}]
}, {
"policyCategory": "POLICY_CATEGORY_STORAGE",
"stats": [{
"status": "EFFECTIVENESS_STATUS_PARTIALLY_EFFECTIVE",
"policyCount": "18"
}, {
"status": "EFFECTIVENESS_STATUS_FULLY_EFFECTIVE",
"policyCount": "0"
}]
}, {
"policyCategory": "POLICY_CATEGORY_ACCESS_CONTROL",
"stats": [{
"status": "EFFECTIVENESS_STATUS_PARTIALLY_EFFECTIVE",
"policyCount": "0"
}, {
"status": "EFFECTIVENESS_STATUS_FULLY_EFFECTIVE",
"policyCount": "0"
}]
}]
}