Skip to main content

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
MethodGET
AuthorizationBearer Token

Request Headers

HeaderTypeDescription
Content-TypeStringMust 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

FieldTypeDescription
idUUIDUnique identifier of the process set policy
tenant_idUUIDIdentifier of the tenant that owns the process set policy
nameStringName of the process set policy
descriptionStringDescription of the process set policy
processesArrayList of processes included in the policy
directoryStringDirectory path where the process is located
fileStringFile name of the process
created_byUUIDIdentifier of the user who created the policy
created_by_nameStringDisplay name of the user who created the policy
updated_byUUIDIdentifier of the user who last updated the policy
updated_by_nameStringDisplay name of the user who last updated the policy
created_atIntegerCreation timestamp in Unix format
updated_atIntegerLast update timestamp in Unix format
totalIntegerTotal number of process set policies available
page_sizeIntegerNumber of records returned per page
last_pageIntegerTotal number of available pages

info
  • A valid Bearer Token is required to access this endpoint.
  • The description field may not be present if the policy was created without a description.
  • When file is 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.