Concrete Policy Statistics
This endpoint returns statistics for concrete policies given the agent ID and the concrete policy ID. The endpoint returns an array of Timeseries Concrete Policy Result objects.
GET /openapi/v1/enforcement/agents/{aid}/concrete_policies/{cid}/stats?t0=<t0>&t1=<t1> ˓→&td=<td>
Parameters:
The request URL contains the following parameters
Name |
Type |
Description |
---|---|---|
aid |
string |
Agent UUID for statistics. |
cid |
string |
Concrete Policy UUID for statistics. |
The JSON query body contains the following keys
Name |
Type |
Description |
---|---|---|
t0 |
integer |
Start time for statistics in epoch time |
t1 |
integer |
End time for statistics in epoch time |
td |
integer or string |
Granularity for statistic aggregations. An integer specifies number of seconds. Strings may be passed such as “minute”, “hour”, and “day”. |