List Process Set Policies
This API returns a list of process set policies available within the tenant.
Endpoint Details
| URL | /v1/config-agent/process-sets |
| Method | GET |
| Authorization | Bearer Token |
Request Headers
| Header | Type | Description |
|---|---|---|
| Content-Type | String | Must be application/json |
Response
Here is an example of a response when viewing a list of data:
Response
{
"data": [
{
"id": "9cc1e6db-67fa-4867-84bd-a821b7d74e77",
"tenant_id": "5ebde17c-01a1-4394-977b-9e611250cf5d",
"name": "Dummy Process Set",
"processes": [
{
"directory": "/usr/bin",
"file": "java"
}
],
"created_by": "0a937c60-0ed4-4d06-870a-2e284b54287d",
"created_by_name": "Admin Aplikasi",
"updated_by": "0a937c60-0ed4-4d06-870a-2e284b54287d",
"updated_by_name": "Admin Aplikasi",
"created_at": 1785221207,
"updated_at": 1785221207
},
{
"id": "187415fd-0274-4f43-96ed-639b48d2e82d",
"tenant_id": "5ebde17c-01a1-4394-977b-9e611250cf5d",
"name": "Mysql",
"processes": [
{
"directory": "/usr/sbin",
"file": "mysqld"
}
],
"created_by": "414a45e9-f194-4a8a-9876-97abb990d4d9",
"created_by_name": "Iqbal Adhi",
"updated_by": "414a45e9-f194-4a8a-9876-97abb990d4d9",
"updated_by_name": "Iqbal Adhi",
"created_at": 1781677780,
"updated_at": 1781677780
},
{
"id": "5eab1f76-b2a5-4f85-9aa5-a802370fde2a",
"tenant_id": "5ebde17c-01a1-4394-977b-9e611250cf5d",
"name": "Process 45677104",
"processes": [
{
"directory": "/testing",
"file": "*.csv"
}
],
"created_by": "414a45e9-f194-4a8a-9876-97abb990d4d9",
"created_by_name": "Iqbal Adhi",
"updated_by": "414a45e9-f194-4a8a-9876-97abb990d4d9",
"updated_by_name": "Iqbal Adhi",
"created_at": 1780045692,
"updated_at": 1780045725
}
],
"pagination": {
"total": 7,
"page_size": 7,
"last_page": 1
}
}
Field Descriptions
| Field | Type | Description |
|---|---|---|
| id | UUID | Unique identifier of the process set policy |
| tenant_id | UUID | Identifier of the tenant that owns the process set policy |
| name | String | Name of the process set policy |
| description | String | Description of the process set policy |
| processes | Array | List of processes included in the policy |
| directory | String | Directory path where the process is located |
| file | String | File name of the process |
| created_by | UUID | Identifier of the user who created the policy |
| created_by_name | String | Display name of the user who created the policy |
| updated_by | UUID | Identifier of the user who last updated the policy |
| updated_by_name | String | Display name of the user who last updated the policy |
| created_at | Integer | Creation timestamp in Unix format |
| updated_at | Integer | Last update timestamp in Unix format |
| total | Integer | Total number of process set policies available |
| page_size | Integer | Number of records returned per page |
| last_page | Integer | Total number of available pages |
info
- A valid Bearer Token is required to access this endpoint.
- The
descriptionfield may not be present if the policy was created without a description. - When
fileis set to*or left empty, the policy applies to all files in the directory. - Unix timestamp fields can be converted to a human-readable date and time format as needed.