--- title: Agent Client Collector API description: The Agent Client Collector API provides endpoints to manage actions on available agents and managing policies.Gets the information of a specified agent.Disables data collection for a specified agent in the up/alive state.Enables data collection for a specified agent in the up/alive state.Runs a discovery check to locate CIs related to an agent. The specified agent must be in alive/up status.Gets a specified check definition with details.Gets a list of check definitions with details.Stops a background check.Gets status of the request with the given ID.Gets the test check status of the given test result.Gets a list of agents with related information.Requests the log of a specified agent with alive/up status.Checks the status of a grab log request.Gets a list of policies that are in published or unpublished draft state.Activates a published policy.Deactivates a published policy.Publishes a draft policy.Gets the sandbox copy of a published policy and provides policy details.Restarts a specified agent with alive/up status.Runs a check against the given configuration item.Enables building test check requests on check definitions.Enables building test check requests on check instances.Updates a selected policy check.Enables changing one or more field values of a specified check parameter.Enables changing one or more field values of a specified check secure parameter.Enables changing one or more field values of a specified check definition.Updates a selected policy check parameter.Updates a selected policy check secure parameter.Updates a sandbox copy of a policy. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/api-reference/rest-apis/agnt\_clnt\_cll-api.html release: australia product: REST APIs classification: rest-apis topic_type: concept last_updated: "2026-03-12" reading_time_minutes: 77 breadcrumb: [REST API reference, API reference, API implementation and reference] --- # Agent Client Collector API The Agent Client Collector API provides endpoints to manage actions on available agents and managing policies. This API requires the Agent Client Collector Framework \(sn\_agent\) store application and is provided within the `sn_agent` namespace. The endpoints in this API require the agent\_client\_collector\_admin role. For more information, refer to [Agent Client Collector](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/it-operations-management/acc-landing-page.md). - **Agent management endpoints** - Get extensive information of one or more agents. These endpoints are also accessible to users with the agent\_client\_collector\_user role. - [GET /agents/\{agent\_id\}](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md) - [GET /agents/list](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md) - Submit a request to grab an agent log and retrieving information about the request progress. - [GET /agents/\{agent\_id\}/log](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md) - [GET /agents/log/\{request\_id\}/](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md) - Disable or enable agent data collection. - [GET /agents/\{agent\_id\}/data/off](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md) - [GET /agents/\{agent\_id\}/data/on](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md) - Restart an agent with [GET /agents/\{agent\_id\}/restart](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md). - Run discovery on an agent with [GET /agents/\{agent\_id\}/discovery](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md). For information on performing similar tasks in a script include, see [AccAgentsAPI](https://developer.servicenow.com/go_to_api.do?ID=AccAgentsAPIAPIScoped&v=utah). - **Policy management and workflow** Use policy management APIs to view details, activate/deactivate a policy, update a policy, and publish a policy. To update a policy: 1. Get a list of policies and details with [GET /agents/policies/list](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md). This endpoint requires the agent\_client\_collector\_user role. - To update a policy in the Draft state, use the sys\_ids retrieved from the policies list in the update endpoints. - To update a policy in Published or Published\* state, get an editable sandbox copy with [GET /agents/policy/sandbox\_from\_published/\{policy\_id\}](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md). Use the sys\_ids from this response to modify properties using an update endpoint. 2. Modify policy details using an update endpoint. - [POST /agents/update/policy/\{policy\_id\}](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md) - [POST /agents/update/check/\{check\_id\}](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md) - [POST /agents/update/check\_param/\{param\_id\}](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md) - [POST /agents/update/check\_secure\_param/\{param\_id\}](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md) 3. Publish the policy using [GET /agents/policy/publish/\{policy\_id\}](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md). Once published, the policy becomes Active. This API also includes endpoints for activating or deactivating a published policy: - [GET /agents/policy/activate/\{policy\_id\}](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md) - [GET /agents/policy/deactivate/\{policy\_id\}](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md) **Parent Topic:**[REST API reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/api-rest.md) ## Agent Client Collector - GET /agents/\{agent\_id\} Gets the information of a specified agent. ### URL format `/api/sn_agent/agents/{agent_id}` ### Supported request parameters
| Name | Description |
|---|---|
| agent\_id | Unique ID of an agent listed in the Agent ID column of the Agent Client Collectors \[sn\_agent\_cmdb\_ci\_agent\] table. For a list of agent IDs and other details, run the GET /agents/list endpoint. Data type: String |
| Name | Description |
|---|---|
| <Array> | Array of JSON objects containing extended agent information.``` { "agent_id": "String", "data_collection": Number, "ip_address": "String", "is_duplicate": Boolean, "is_restart_enabled": Boolean, "name": "String", "number_of_running_checks": Number, "status": Number, "up_since": "String", "version": "String" } ``` |
| agent\_id | ID of the agent as submitted.Data type: String |
| data\_collection | Data collection indicates whether scheduled checks are to be run. These checks are a part of the policies scheduled for this agent to run.Possible values: - 0: On – Checks run as scheduled. - 1: Off \(manual\) – Checks have been disabled manually. - 2: Off \(auto\) – Checks have been disabled automatically due to high CPU consumption by the Data type: Number |
| ip\_address | Agent IP address.Data type: String |
| is\_duplicate | Flag that indicates whether this agent is a duplicate of another. There should be only a single agent on a given host. Possible values: - true: The agent has the same host as an Alive/Up agent with a different agent ID. Turn off or uninstall the duplicate - false: This agent has no duplicates in the Alive/Up state. Data type: Boolean |
| is\_restart\_enabled | Flag that indicates whether restart is enabled. Agent restart is not configurable. It depends on the OS and the version of the OS the agent is running on. Possible values: - true: Restart is enabled for this agent. - false: Restart is disabled for this agent. Data type: Boolean |
| name | Name of the agent.Data type: String |
| number\_of\_running\_checks | The number of checks the agent is scheduled to run. These checks are a part of the policies scheduled for this agent to run.Data type: Number |
| status | Status of the agent.Possible values: - 0: Alive/Up – The agent is active. - 1: Warning – The agent has not received a keep-alive message in the past few minutes. - 2: Down – The agent has not received a keep-alive message in a long time. - 3: Restarting – The agent is restarting. Data type: Number |
| up\_since | UTC time since the agent's status became alive/up. The value is in [GlideDateTime](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/server-api-reference/c_GlideDateTimeScoped.md) format.Data type: String |
| version | Version of Agent Client Collector the agent is running.Data type: String |
| Name | Description |
|---|---|
| agent\_id | Unique ID of an agent listed in the Agent ID column of the Agent Client Collectors \[sn\_agent\_cmdb\_ci\_agent\] table. For a list of agent IDs and other details, run the GET /agents/list endpoint. Data type: String |
| Name | Description |
|---|---|
| message | Message containing operation success or failure results.Data type: String |
| Name | Description |
|---|---|
| agent\_id | Unique ID of an agent listed in the Agent ID column of the Agent Client Collectors \[sn\_agent\_cmdb\_ci\_agent\] table. For a list of agent IDs and other details, run the GET /agents/list endpoint. Data type: String |
| Name | Description |
|---|---|
| message | Message containing operation success or failure results.Data type: String |
| Name | Description |
|---|---|
| agent\_id | Unique ID of an agent listed in the Agent ID column of the Agent Client Collectors \[sn\_agent\_cmdb\_ci\_agent\] table. For a list of agent IDs and other details, run the GET /agents/list endpoint. Data type: String |
| Name | Description |
|---|---|
| message | Message containing operation success or failure results.Data type: String |
| Name | Description |
|---|---|
| check\_def\_id | Sys\_id of the check definition listed in the Check Definitions \[sn\_agent\_check\_def\] table. Data type: String |
| Name | Description |
|---|---|
| X-Include-Check-Params | Flag that indicates whether existing check parameter details are returned. Information for each standard and secure check parameter is included in a JSON object. Valid values: - true: Return check parameter details. - false: Do not return check parameter details. Data type: Boolean Default: False |
| Properties | Description |
|---|---|
| check | Details of the specified check definition.``` { "background": Boolean, "check_group": "String", "check_type": "String", "command": "String", "error": "String", "name": "String", "params": [Array], "plugins": [Array], "proxy_valid": Boolean, "secure_params": [Array], "sys_id": "String", "timeout": Number } ``` |
| background | Flag that indicates whether this check definition is a background check. A background check is a check which the agent starts execution of and doesn't wait for it to finish running. Valid values: - true: This check definition is a background check. - false: This check definition is not a background check. Data type: Boolean |
| check\_group | Group specified for this check definition. Data type: String |
| check\_type | Type of check. Possible values: - Events – Check results are transformed into an Event Management event. - Metrics – Values from the check result are transformed to metrics. Data type: String |
| command | Command that the Agent Client Collector executes. Data type: String |
| error | Message if there is an error. Null otherwise.Data type: String |
| name | Name of the check. Data type: String |
| params | List of parameter definitions associated with the check definition. These results are only included if the **withParams** parameter is set to true.``` "params": [ { "active": Boolean, "default_value": "String", "mandatory": Boolean, "name": "String", "sys_id": "String" } ] ``` Data type: Array |
| params.active | Flag that indicates whether the check parameter is active. Valid values: - true: The check parameter is active. - false: The check parameter is inactive. Data type: Boolean |
| params.default\_value | Specifies the default value for this check parameter. Data type: String |
| params.mandatory | Flag that indicates whether the check parameter is required. Valid values: - true: The check parameter is required. - false: The check parameter is optional. Data type: Boolean |
| params.name | Name of the check parameter. Data type: String |
| params.sys\_id | Sys\_id of the check parameter listed in the Check Secure Parameter Definitions \[sn\_agent\_check\_param\_def\] table. Data type: String |
| plugins | List of [Agent Client Collector plugins](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/it-operations-management/acc-assets.md) associated with this check. Data type: Array |
| proxy\_valid | Flag that indicates whether the check definition policy is set to work as a proxy. Valid values: - true: This check definition policy is set to work as a proxy. - false: This check definition policy is not set to work as a proxy. Data type: Boolean |
| secure\_params | List of assigned to this check. These results are only included if the **withParams** parameter is set to true.``` "secure_params": [ { "active": Boolean, "name": "String", "order": Number, "sys_id": "String" } ] ``` Data type: Array |
| secure\_params.active | Flag that indicates whether the secure parameter is active. Valid values: - true: The secure parameter is active. - false: The secure parameter is inactive. Data type: Boolean |
| secure\_params.name | Name of the secure parameter. Data type: String |
| secure\_params.order | Order in which the parameter is sent to the check command/script. Data type: Number |
| secure\_params.sys\_id | Sys\_id of the secure parameter listed in the Check Secure Parameter Definitions \[sn\_agent\_check\_secure\_param\_def\] table. Data type: String |
| sys\_id | Sys\_id of the check definition listed in the Check Definitions \[sn\_agent\_check\_def\] table. Data type: String |
| timeout | Timeout in seconds. Data type: Number |
| Name | Description |
|---|---|
| X-Enc-Query | An [encoded query string](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-user-interface/c_EncodedQueryStrings.md) to filter the check definition result list. Use null for an unfiltered list of check definitions in the system. Data type: String |
| X-Include-Check-Params | Flag that indicates whether existing check parameter details are returned. Information for each standard and secure check parameter is included in a JSON object. Valid values: - true: Return check parameter details. - false: Do not return check parameter details. Data type: Boolean Default: False |
| X-Limit | Limits the number of returned records. Set to null to use the default value. Data type: Number Default: 20,000 |
| Name | Description |
|---|---|
| check definitions | List of check definition and details provided as JSON objects.``` [ { "background": Boolean, "check_group": "String", "check_type": "String", "command": "String", "name": "String", "params": [Array], "plugins": [Array], "proxy_valid": Boolean, "secure_params": [Array], "sys_id": "String", "timeout": Number } ] ``` Data type: Array |
| background | Flag that indicates whether this check definition is a background check. A background check is a check which the agent starts execution of and doesn't wait for it to finish running. Valid values: - true: This check definition is a background check. - false: This check definition is not a background check. Data type: Boolean |
| check\_group | Group specified for this check definition. Data type: String |
| check\_type | Type of check. Possible values: - Events – Check results are transformed into an Event Management event. - Metrics – Values from the check result are transformed to metrics. Data type: String |
| command | Command that the Agent Client Collector executes. Data type: String |
| name | Name of the check. Data type: String |
| params | List of parameter definitions associated with the check definition. These results are only included if the **withParams** parameter is set to true.``` "params": [ { "active": Boolean, "default_value": "String", "mandatory": Boolean, "name": "String", "sys_id": "String" } ] ``` Data type: Array |
| params.active | Flag that indicates whether the check parameter is active. Valid values: - true: The check parameter is active. - false: The check parameter is inactive. Data type: Boolean |
| params.default\_value | Specifies the default value for this check parameter. Data type: String |
| params.mandatory | Flag that indicates whether the check parameter is required. Valid values: - true: The check parameter is required. - false: The check parameter is optional. Data type: Boolean |
| params.name | Name of the check parameter. Data type: String |
| params.sys\_id | Sys\_id of the check parameter listed in the Check Secure Parameter Definitions \[sn\_agent\_check\_param\_def\] table. Data type: String |
| plugins | List of [Agent Client Collector plugins](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/it-operations-management/acc-assets.md) associated with this check. Data type: Array |
| proxy\_valid | Flag that indicates whether the check definition policy is set to work as a proxy. Valid values: - true: This check definition policy is set to work as a proxy. - false: This check definition policy is not set to work as a proxy. Data type: Boolean |
| secure\_params | List of assigned to this check. These results are only included if the **withParams** parameter is set to true.``` "secure_params": [ { "active": Boolean, "name": "String", "order": Number, "sys_id": "String" } ] ``` Data type: Array |
| secure\_params.active | Flag that indicates whether the secure parameter is active. Valid values: - true: The secure parameter is active. - false: The secure parameter is inactive. Data type: Boolean |
| secure\_params.name | Name of the secure parameter. Data type: String |
| secure\_params.order | Order in which the parameter is sent to the check command/script. Data type: Number |
| secure\_params.sys\_id | Sys\_id of the secure parameter listed in the Check Secure Parameter Definitions \[sn\_agent\_check\_secure\_param\_def\] table. Data type: String |
| sys\_id | Sys\_id of the check definition listed in the Check Definitions \[sn\_agent\_check\_def\] table. Data type: String |
| timeout | Timeout in seconds. Data type: Number |
| Name | Description |
|---|---|
| status | Request status.Possible values: - done – Check is successful. - failure – Check has failed. See error message for details. - mid\_flow – Request output is being handled by the MID server. - processing – Check is in progress. - timeout – Check processing exceeded time limit set in the runCheckForCis\(\) method. Data type: String |
| err\_msg | Error message if any.Possible values: - No agents found for relevant CIs. - No background check request with given ID. - No request with given ID. - No test result with given ID. - Request timeout. Data type: String |
| Properties | Description |
|---|---|
| status | Status of the test results.Possible values: - 0: Pending - 1: In progress - 2: Complete - 3: No test result with given ID Data type: String |
| output | Output describing the status.Data type: String |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Only supports **application/json**. |
| X-Enc-Query | Encoded query on the Agent Client Collectors \[sn\_agent\_cmdb\_ci\_agent\] table in standard Glide format. See [Encoded query strings](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-user-interface/c_EncodedQueryStrings.md). |
| X-Limit | Restricts results to a maximum number of agents. Use null or undefined for both if they are not required.Default/Max: 20,000Data type: Number |
| Property | Description |
|---|---|
| <Array> | Array of JSON objects containing extended agent information.``` [ { "agent_id": "String", "data_collection": Number, "ip_address": "String", "is_duplicate": Boolean, "is_restart_enabled": Boolean, "name": "String", "number_of_running_checks": Number, "status": Number, "up_since": "String", "version": "String" } ] ``` |
| agent\_id | ID of the agent as submitted.Data type: String |
| data\_collection | Data collection indicates whether scheduled checks are to be run. These checks are a part of the policies scheduled for this agent to run.Possible values: - 0: On – Checks run as scheduled. - 1: Off \(manual\) – Checks have been disabled manually. - 2: Off \(auto\) – Checks have been disabled automatically due to high CPU consumption by the Data type: Number |
| ip\_address | Agent IP address.Data type: String |
| is\_duplicate | Flag that indicates whether this agent is a duplicate of another. There should be only a single agent on a given host. Possible values: - true: The agent has the same host as an Alive/Up agent with a different agent ID. Turn off or uninstall the duplicate - false: This agent has no duplicates in the Alive/Up state. Data type: Boolean |
| is\_restart\_enabled | Flag that indicates whether restart is enabled. Agent restart is not configurable. It depends on the OS and the version of the OS the agent is running on. Possible values: - true: Restart is enabled for this agent. - false: Restart is disabled for this agent. Data type: Boolean |
| name | Name of the agent.Data type: String |
| number\_of\_running\_checks | The number of checks the agent is scheduled to run. These checks are a part of the policies scheduled for this agent to run.Data type: Number |
| status | Status of the agent.Possible values: - 0: Alive/Up – The agent is active. - 1: Warning – The agent has not received a keep-alive message in the past few minutes. - 2: Down – The agent has not received a keep-alive message in a long time. - 3: Restarting – The agent is restarting. Data type: Number |
| up\_since | UTC time since the agent's status became alive/up. The value is in [GlideDateTime](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/server-api-reference/c_GlideDateTimeScoped.md) format.Data type: String |
| version | Version of Agent Client Collector the agent is running.Data type: String |
| Name | Description |
|---|---|
| agent\_id | Unique ID of an agent listed in the Agent ID column of the Agent Client Collectors \[sn\_agent\_cmdb\_ci\_agent\] table. For a list of agent IDs and other details, run the GET /agents/list endpoint. Data type: String |
| Name | Description |
|---|---|
| request\_id | Sys\_id of a request in the Agent Client Collector Requests \[sn\_agent\_request\] table. You can use this ID to retrieve the log and check its progress with the GET /agents/log/\{request\_id\}/ endpoint. Data type: String |
| Name | Description |
|---|---|
| request\_id | Sys\_id of a request in the Agent Client Collector Requests \[sn\_agent\_request\] table. For the request id, run GET /api/sn\_agent/agents/\{agent\_id\}/log. Data type: String |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Only supports **application/json**. |
| X-Enc-Query | Optional. Encoded query string in the standard platform format. |
| X-Include-Check-Params | Optional. Flag that indicates whether to return check instances and their parameters in the results.Valid values: - true: Includes check instances and their parameters in the results. - false: Do not include check instances and their parameters in the results. Default: false Data type: Boolean |
| X-Include-Checks-And-Agents | Optional. Flag that indicates whether to include check instances and agents in the results.Valid values: - true: Includes check instances and agents in the results. - false: Do not include checks and agents in the results. Default: false Data type: Boolean |
| Property | Description |
|---|---|
| policies | List of policies retrieved. Includes checks and agent in results if queried using specific request headers. For information on policies, see [default checks and policies](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/it-operations-management/agent-policies-checks.md).``` { "policies": [ { "active": Boolean, "agent_ids": "String", "checks": [Array], "cred_alias": "String", "credential_alias": "String", "filter": "String", "interval": "Number", "monitored_ci_group": "String", "monitored_ci_script": "String", "monitored_ci_type_filter": Boolean, "monitored_ci_type_group": Boolean, "monitored_ci_type_script": "String", "name": "String", "params": [Array], "publish_status": "String", "secure_params": [Array], "sys_id": "String", "sys_updated_on": "String", "table": "String" } ] } ``` Data type: Array |
| policies.active | Flag that indicates whether the policy is active.Valid values: - true: Policy is active. - false: Policy isn't active. Data type: Boolean |
| policies.agent\_ids | Unique ID of an agent. These results only display if the **X-Include-Checks-And-Agents** header parameter is set to true.For extended information of an agent, run the ID in the [GET /agents/\{agent\_id\}](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md) endpoint. Data type: String Table: In the Agent ID column of the Agent Client Collectors \[sn\_agent\_cmdb\_ci\_agent\] table. |
| policies.checks | List of objects defining checks listed in the Check Instances \[sn\_agent\_check\] table. These results only display if the **X-Include-Checks-And-Agents** or **X-Include-Check-Params** header parameter is set to true.Data type: Array of Objects ``` "checks": [ { "active": Boolean, "auto_generate": Boolean, "check_type": "String" "command_prefix": "String", "command": "String", "event_status_change_threshold": Number, "event_status_repair_threshold": Number, "interval": Number, "name": "String", "sys_id": "String", "timeout": "String" } ] ``` Table: |
| policies.checks.active | Flag that indicates whether the policy check is active.Valid values: - true: Policy check is active. - false: Policy check is inactive. Data type: Boolean |
| policies.checks.auto\_generate | Flag that indicates whether to automatically generate the command with the **command\_prefix** value.Valid values: - true: Automatically populate the **command** property with active parameter values. - false: Command isn't automatically generated. Data type: Boolean |
| policies.checks.check\_type | Check type specifying the monitoring option.Possible values: - Discovery: Check that locates CIs related to the agent. - Events: The check's result is transformed into an Event Management event. - Metrics: The values from the check result are transformed to metrics. Data type: String |
| policies.checks.command | Command that the Agent Client Collector executes. Parameter taken from a template or monitored CI.**Note:** If **auto\_generate** is true, this property is automatically populated with the prefix and flags of the active parameters listed in the **parameters** object. Data type: String |
| policies.checks.command\_prefix | If the **auto\_generate** property is true, this command is used for automatic generation. The prefix consists of any portion of the command which is static \(does not change\), such as the script name.Data type: String |
| policies.checks.event\_status\_change\_threshold | Number of consecutive times that a check's response status must happen before a new event is sent. Returns null if not set.For example, if this value is 3, a check whose response status changes from OK to Error generates a new event with an Error status after the third consecutive occurrence of the status change. Data type: Number |
| policies.checks.event\_status\_repair\_threshold | Number of consecutive times that a check's response status must improve to close the previous event. Returns null if not set. For example, if this value is 3, a check whose response status changes from Error to OK closes the previous event and generates a new event with an OK status after the third consecutive occurrence of the status change. Data type: Number |
| policies.checks.interval | Amount of time in seconds to wait between check executions. For example, a value of 60 means that the check runs every 60 seconds.Data type: Number |
| policies.checks.name | Name of the check.Data type: String |
| policies.checks.sys\_id | Sys\_id of the check.Data type: String Table: Check Instances \[sn\_agent\_check\] |
| policies.checks.timeout | Amount of time, in seconds, after which the check execution stops when no output is returned. For example, a value of 60 means that when the check execution doesn't return a value for 60 seconds, the execution stops.Data type: String |
| policies.cred\_alias | Credential name.Data type: String Table: Credentials \[discovery\_credentials\] |
| policies.credential\_alias | Sys\_id of the credential alias.Data type: String Table: Connection & Credential Aliases \[sys\_alias\] |
| policies.filter | Filter restricting the policy's checks to monitor only the specified criteria. Data type: String |
| policies.interval | Amount of time in seconds to wait between policy checks. For example, a value of 60 means that the check runs every 60 seconds.**Note:** The value of the **checks.interval** property overrides the value configured in this field. Data type: Number |
| policies.monitored\_ci\_group | Name of the [CMDB groups](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/servicenow-platform/cmdb-groups.md) associated with the policy.This field is only applied if the value of the **monitored\_ci\_type\_group** property is true. Data type: String Table: CMDB Groups \[cmdb\_group\] |
| policies.monitored\_ci\_script | Script for monitoring CIs.This field is only applied if the value of the **policies.monitored\_ci\_type\_script** property is true. Data type: String |
| policies.monitored\_ci\_type\_filter | Flag that indicates whether filtering by CI type is enabled. The CI type is listed in the **table** property.Valid values: - true: Filtering by checks group is enabled. - false: Filtering by checks group is disabled. Data type: Boolean |
| policies.monitored\_ci\_type\_group | Flag that indicates whether monitoring by CMDB group type is enabled.Valid values: - true: CMDB group type is enabled. - false: CMDB group type is disabled. Data type: Boolean |
| policies.monitored\_ci\_type\_script | Flag that indicates whether the script for monitoring CIs is enabled.Valid values: - true: Script for monitoring CIs is enabled. - false: Script for monitoring CIs is disabled. Data type: Boolean |
| policies.name | Name of the policy.Data type: String |
| policies.publish\_status | Indicates whether the policy is published. Possible values: - Draft: Policy has not been published and is editable using the update endpoints. - Published: Policy is published. The draft \(sandbox copy\) and published copy are identical. - Published\*: Policy is published, but the draft copy \(sandbox view\) has changes not found in the published copy. Data type: String |
| policies.sys\_id | Sys\_id of the policy.Data type: String Table: Policies \[sn\_agent\_policy\] |
| policies.sys\_updated\_on | Date and time that the policy was last updated.Data type: String |
| policies.table | Monitored CI-type field on the policy. This field is only applied if **monitored\_ci\_type\_filter** is true.Data type: String |
| policies.params | List of objects containing information of check parameters. These results only display if the **X-Include-Check-Params** header parameter is set to true.Data type: Array of Objects ``` "params": [ { "active": Boolean, "flag": "String", "mandatory: Boolean, "name": "String", "sys_id": "String", "value": "String", "value_required": Boolean } ] ``` Table: Check Parameters \[sn\_agent\_check\_param\] |
| policies.params.active | Flag that indicates whether the check parameter is active.Valid values: - true: Check parameter is active. - false: Check parameter is inactive. Data type: Boolean |
| policies.params.flag | Parameter flag to use during check invocation.Data type: String |
| policies.params.mandatory | Flag that indicates whether this check is mandatory.Valid values: - true: This check is mandatory. - false: This check is optional. Data type: Boolean |
| policies.params.name | Name of the parameter.Data type: String |
| policies.params.sys\_id | Sys\_id of the parameter.Data type: String Table: Check Parameters \[sn\_agent\_check\_param\] |
| policies.params.value | Value of the parameter.Data type: String |
| policies.params.value\_required | Flag that indicates whether the information provided by the value property is required.Valid values: - true: The value property is required. - false: The value property is null or not required. Data type: Boolean |
| policies.secure\_params | List of objects containing information of check secure parameters. For more information, see [Create a secure parameter for a check](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/it-operations-management/acc-create-secure-params.md). These results only display if the **X-Include-Check-Params** header parameter is set to true.Data type: Array of Objects ``` "secure_params": [ { "active": Boolean, "name": "String", "order": Number, "sys_id": "String" } ] ``` Table: Check Secure Parameters \[sn\_agent\_check\_secure\_param\] |
| policies.secure\_params.active | Flag that indicates whether the check secure parameter is active.Valid values: - true: The check secure parameter is active. - false: The check secure parameter is inactive. Data type: Boolean |
| policies.secure\_params.name | Name of the secure parameter.Data type: String |
| policies.secure\_params.order | Order in which the parameter is sent to the check command/script.Data type: Number |
| policies.secure\_params.sys\_id | Sys\_id of the record.Data type: String Table: Check Secure Parameter \[sn\_agent\_check\_secure\_param\] |
| Name | Description |
|---|---|
| policy\_id | Sys\_id of the published policy.Data type: String Table: Policies \[sn\_agent\_policy\] |
| Header | Description |
|---|---|
| message | Message containing operation success or failure results.Data type: String |
| Name | Description |
|---|---|
| policy\_id | Sys\_id of the published policy.Data type: String Table: Policies \[sn\_agent\_policy\] |
| Header | Description |
|---|---|
| message | Message containing operation success or failure results.Data type: String |
| Name | Description |
|---|---|
| policy\_id | Sys\_id of a policy in the Policies \[sn\_agent\_policy\] table that is in Draft state or a sandbox copy.- For a list of policies and details including publish state, use [GET /agents/policies/list](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md). - To retrieve sandbox copy of a policy, use [GET /agents/policy/sandbox\_from\_published/\{policy\_id\}](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md). Data type: String |
| Header | Description |
|---|---|
| message | Message containing operation success or failure results.Data type: String |
| Name | Description |
|---|---|
| policy\_id | Sys\_id of the published policy.Data type: String Table: Policies \[sn\_agent\_policy\] |
| Property | Description |
|---|---|
| <Object> | Extended details of the sandbox copy associated with the policy. For information on policies, see [default checks and policies](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/it-operations-management/agent-policies-checks.md).``` { "active": Boolean" "agent_ids": "String", "checks": [Array], "cred_alias": "String", "credential_alias": "String", "filter": "String", "interval": "Number", "monitored_ci_group": "String", "monitored_ci_script": "String", "monitored_ci_type_filter": Boolean, "monitored_ci_type_group": Boolean, "monitored_ci_type_script": "String", "name": "String", "params": [Array], "publish_status": "String", "secure_params": [Array], "sys_id": "String", "sys_updated_on": "String", "table": "String" } ``` |
| active | Flag that indicates whether the policy is active.Valid values: - true: Policy is active. - false: Policy isn't active. Data type: Boolean |
| agent\_ids | Unique ID of an agent. These results only display if the **X-Include-Checks-And-Agents** header parameter is set to true.For extended information of an agent, run the ID in the [GET /agents/\{agent\_id\}](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md) endpoint. Data type: String Table: In the Agent ID column of the Agent Client Collectors \[sn\_agent\_cmdb\_ci\_agent\] table. |
| checks | List of objects defining checks listed in the Check Instances \[sn\_agent\_check\] table. ``` "checks": [ { "active": Boolean, "auto_generate": Boolean, "check_type": "String" "command_prefix": "String", "command": "String", "event_status_change_threshold": Number, "event_status_repair_threshold": Number, "interval": Number, "name": "String", "sys_id": "String", "timeout": "String" } ] ``` Data type: Array |
| checks.active | Flag that indicates whether the policy check is active.Valid values: - true: Policy check is active. - false: Policy check is inactive. Data type: Boolean |
| checks.auto\_generate | Flag that indicates whether to automatically generate the command with the **command\_prefix** value.Valid values: - true: Automatically populate the **command** property with active parameter values. - false: Command isn't automatically generated. Data type: Boolean |
| checks.check\_type | Check type specifying the monitoring option.Possible values: - Discovery: Check that locates CIs related to the agent. - Events: The check's result is transformed into an Event Management event. - Metrics: The values from the check result are transformed to metrics. Data type: String |
| checks.command | Command that the Agent Client Collector executes. Parameter taken from a template or monitored CI.**Note:** If **auto\_generate** is true, this property is automatically populated with the prefix and flags of the active parameters listed in the **parameters** object. Data type: String |
| checks.command\_prefix | If the **auto\_generate** property is true, this command is used for automatic generation. The prefix consists of any portion of the command which is static \(does not change\), such as the script name.Data type: String |
| checks.event\_status\_change\_threshold | Number of consecutive times that a check's response status must happen before a new event is sent. Returns null if not set.For example, if this value is 3, a check whose response status changes from OK to Error generates a new event with an Error status after the third consecutive occurrence of the status change. Data type: Number |
| checks.event\_status\_repair\_threshold | Number of consecutive times that a check's response status must improve to close the previous event. Returns null if not set. For example, if this value is 3, a check whose response status changes from Error to OK closes the previous event and generates a new event with an OK status after the third consecutive occurrence of the status change. Data type: Number |
| checks.interval | Amount of time in seconds to wait between check executions. For example, a value of 60 means that the check runs every 60 seconds.Data type: Number |
| checks.name | Name of the check.Data type: String |
| checks.sys\_id | Sys\_id of the check. The [POST /agents/update/check/\{check\_id\}](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md) endpoint takes this value to update the sandbox copy.Data type: String Table: Check Instances \[sn\_agent\_check\] |
| checks.timeout | Amount of time, in seconds, after which the check execution stops when no output is returned. For example, a value of 60 means that when the check execution doesn't return a value for 60 seconds, the execution stops.Data type: String |
| cred\_alias | Credential name.Data type: String Table: Credentials \[discovery\_credentials\] |
| credential\_alias | Sys\_id of the credential alias.Data type: String Table: Connection & Credential Aliases \[sys\_alias\] |
| filter | Filter restricting the policy's checks to monitor only the specified criteria. Data type: String |
| interval | Amount of time in seconds to wait between policy checks. For example, a value of 60 means that the check runs every 60 seconds.**Note:** The value of the **checks.interval** property overrides the value configured in this field. Data type: Number |
| monitored\_ci\_group | Name of the [CMDB groups](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/servicenow-platform/cmdb-groups.md) associated with the policy.This field is only applied if the value of the **monitored\_ci\_type\_group** property is true. Data type: String Table: CMDB Groups \[cmdb\_group\] |
| monitored\_ci\_script | Script for monitoring CIs.This field is only applied if the value of the **policies.monitored\_ci\_type\_script** property is true. Data type: String |
| monitored\_ci\_type\_filter | Flag that indicates whether filtering by CI type is enabled. The CI type is listed in the **table** property.Valid values: - true: Filtering by checks group is enabled. - false: Filtering by checks group is disabled. Data type: Boolean |
| monitored\_ci\_type\_group | Flag that indicates whether monitoring by CMDB group type is enabled.Valid values: - true: CMDB group type is enabled. - false: CMDB group type is disabled. Data type: Boolean |
| monitored\_ci\_type\_script | Flag that indicates whether the script for monitoring CIs is enabled.Valid values: - true: Script for monitoring CIs is enabled. - false: Script for monitoring CIs is disabled. Data type: Boolean |
| name | Name of the policy.Data type: String |
| publish\_status | Indicates whether the policy is published. Possible values: - Draft: Policy has not been published and is editable using the update endpoints. - Published: Policy is published. The draft \(sandbox copy\) and published copy are identical. - Published\*: Policy is published, but the draft copy \(sandbox view\) has changes not found in the published copy. Data type: String |
| params | List of objects containing information of check parameters. These results only display if the **X-Include-Check-Params** header parameter is set to true.Data type: Array of Objects ``` "params": [ { "active": Boolean, "flag": "String", "mandatory: Boolean, "name": "String", "sys_id": "String", "value": "String", "value_required": Boolean } ] ``` Table: Check Parameters \[sn\_agent\_check\_param\] |
| params.active | Flag that indicates whether the check parameter is active.Valid values: - true: Check parameter is active. - false: Check parameter is inactive. Data type: Boolean |
| params.flag | Parameter flag to use during check invocation.Data type: String |
| params.mandatory | Flag that indicates whether this check is mandatory.Valid values: - true: This check is mandatory. - false: This check is optional. Data type: Boolean |
| params.name | Name of the parameter.Data type: String |
| params.sys\_id | Sys\_id of the parameter listed in the Check Parameters \[sn\_agent\_check\_param\] table. The [POST /agents/update/check\_param/\{param\_id\}](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md) endpoint takes this value to update the sandbox copy.Data type: String |
| params.value | Value of the parameter.Data type: String |
| params.value\_required | Flag that indicates whether the information provided by the value property is required.Valid values: - true: The value property is required. - false: The value property is null or not required. Data type: Boolean |
| secure\_params | List of objects containing information of check secure parameters. For more information, see [Create a secure parameter for a check](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/it-operations-management/acc-create-secure-params.md). These results only display if the **X-Include-Check-Params** header parameter is set to true.Data type: Array of Objects ``` "secure_params": [ { "active": Boolean, "name": "String", "order": Number, "sys_id": "String" } ] ``` Table: Check Secure Parameters \[sn\_agent\_check\_secure\_param\] |
| secure\_params.active | Flag that indicates whether the check secure parameter is active.Valid values: - true: The check secure parameter is active. - false: The check secure parameter is inactive. Data type: Boolean |
| secure\_params.name | Name of the secure parameter.Data type: String |
| secure\_params.order | Order in which the parameter is sent to the check command/script.Data type: Number |
| secure\_params.sys\_id | Sys\_id of the record. The [POST /agents/update/check\_secure\_param/\{param\_id\}](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md) endpoint takes this value to update the sandbox copy.Data type: String Table: Check Secure Parameter \[sn\_agent\_check\_secure\_param\] |
| sys\_id | Sys\_id of the policy. The [POST /agents/update/policy/\{policy\_id\}](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/agnt_clnt_cll-api.md) endpoint takes this value to update the sandbox copy.Data type: String Table: Policies \[sn\_agent\_policy\] |
| sys\_updated\_on | Date and time that the policy was last updated.Data type: String |
| table | Monitored CI-type field on the policy. This field is only applied if **monitored\_ci\_type\_filter** is true.Data type: String |
| Name | Description |
|---|---|
| agent\_id | Unique ID of an agent listed in the Agent ID column of the Agent Client Collectors \[sn\_agent\_cmdb\_ci\_agent\] table. For a list of agent IDs and other details, run the GET /agents/list endpoint. Data type: String |
| Name | Description |
|---|---|
| message | Message containing operation success or failure results.Data type: String |
| Name | Description |
|---|---|
| params |
Map of parameter names and values. These settings can be used to override the parameter records of the check definition and its specified values. ```
"params": {
" |
| priority | Priority of the request to be set on the ECC queue. Possible values: - 0: interactive - 1: expedited - 2: standard Data type: Number |
| query | Encoded query for retrieving the GlideRecord from the table specified in the **table** property.Data type: String |
| table | Name of the cmdb\_ci table for this background check.Data type: String |
| timeout | Value of the timeout for the request in seconds. Data type: Number |
| Name | Description |
|---|---|
| check\_id | Sys\_id of a policy check sandbox copy in the Check Instances \[sn\_agent\_check\] table.Data type: String |
| Name | Description |
|---|---|
| active | Flag that indicates whether the policy check is active.Valid values: - true: Policy check is active. - false: Policy check is inactive. Data type: Boolean |
| auto\_generate | Flag that indicates whether to automatically generate the command with the **command\_prefix** value.Valid values: - true: Automatically populate the **command** property with active parameter values. - false: Command isn't automatically generated. Data type: Boolean |
| check\_type | Check type specifying the monitoring option.Possible values: - Discovery: Check that locates CIs related to the agent. - Events: The check's result is transformed into an Event Management event. - Metrics: The values from the check result are transformed to metrics. Data type: String |
| command | Command that the Agent Client Collector executes. Parameter taken from a template or monitored CI.**Note:** If **auto\_generate** is true, this property is automatically populated with the prefix and flags of the active parameters listed in the **parameters** object. Data type: String |
| command\_prefix | If the **auto\_generate** property is true, this command is used for automatic generation. The prefix consists of any portion of the command which is static \(does not change\), such as the script name.Data type: String |
| event\_status\_change\_threshold | Number of consecutive times that a check's response status must happen before a new event is sent. Returns null if not set.For example, if this value is 3, a check whose response status changes from OK to Error generates a new event with an Error status after the third consecutive occurrence of the status change. Data type: Number |
| event\_status\_repair\_threshold | Number of consecutive times that a check's response status must improve to close the previous event. Returns null if not set. For example, if this value is 3, a check whose response status changes from Error to OK closes the previous event and generates a new event with an OK status after the third consecutive occurrence of the status change. Data type: Number |
| interval | Amount of time in seconds to wait between check executions. For example, a value of 60 means that the check runs every 60 seconds.Data type: Number |
| name | Name of the check.Data type: String |
| timeout | Amount of time, in seconds, after which the check execution stops when no output is returned. For example, a value of 60 means that when the check execution doesn't return a value for 60 seconds, the execution stops.Data type: String |
| Name | Description |
|---|---|
| message | Message containing operation success or failure results.Data type: String |
| Name | Description |
|---|---|
| check\_def\_param\_id | Sys\_id of the check parameter.Data type: String Table: Check Parameter Definitions \[sn\_agent\_check\_param\_def\] |
| Name | Description |
|---|---|
| active | Flag that indicates whether the check parameter is active.Valid values: - true: The check parameter is active. - false: The check parameter is inactive. Data type: Boolean |
| default\_value | Specifies the default value for this check parameter.Data type: String |
| mandatory | Flag that indicates whether the check parameter is required. Valid values: - true: The check parameter is required. - false: The check parameter is optional. Data type: Boolean |
| name | Name of the check parameter.Data type: String |
| Name | Description |
|---|---|
| check\_def\_secure\_param\_id | Sys\_id of the secure parameter.Data type: String Table: Check Secure Parameter Definitions \[sn\_agent\_check\_secure\_param\_def\] |
| Name | Description |
|---|---|
| active | Flag that indicates whether the secure parameter is active.Valid values: - true: The secure parameter is active. - false: The secure parameter is inactive. Data type: Boolean |
| name | Name of the secure parameter.Data type: String |
| order | Order in which the parameter is sent to the check command/script.Data type: String |
| Name | Description |
|---|---|
| check\_def\_id | Sys\_id of the check definition listed in the Check Definitions \[sn\_agent\_check\_def\] table. Data type: String |
| Name | Description |
|---|---|
| active | Indicates whether this check definition is active.Valid values: - 0: This check definition is inactive. - 1: This check definition is active. Data type: Number |
| background | Flag that indicates whether this check definition is a background check. A background check is a check which the agent starts execution of and doesn’t wait for it to finish running.Valid values: - true: This check definition is a background check. - false: This check definition is not a background check. Data type: Boolean |
| check\_group | Group specified for this check definition. |
| check\_type | Type of check.Possible values: - Events – Check results are transformed into an Event Management event. - Metrics – Values from the check result are transformed to metrics. Data type: String |
| command | Command that the Agent Client Collector executes.Data type: String |
| name | Name of the check.Data type: String |
| params |
Map of parameter names and values. These settings can be used to override the parameter records of the check definition and its specified values. ```
"params": {
" |
| plugins | List of [Agent Client Collector plugins](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/it-operations-management/acc-assets.md) associated with this check.Data type: Array |
| proxy\_valid | Flag that indicates whether the check definition policy is set to work as a proxy. Valid values: - true: This check definition policy is set to work as a proxy. - false: This check definition policy is not set to work as a proxy. Data type: Boolean |
| query | Encoded query for retrieving the GlideRecord from the table specified in the **table** property.Data type: String |
| table | Name of the cmdb\_ci table for this check.Data type: String |
| timeout | Timeout in seconds.Data type: Number |
| Name | Description |
|---|---|
| param\_id | Sys\_id of policy check parameter sandbox copy.Data type: String Table: Check Parameters \[sn\_agent\_check\_param\] |
| Name | Description |
|---|---|
| active | Flag that indicates whether the check parameter is active.Valid values: - true: Check parameter is active. - false: Check parameter is inactive. Data type: Boolean |
| flag | |
| mandatory | Flag that indicates whether this check is mandatory.Valid values: - true: This check is mandatory. - false: This check is optional. Data type: Boolean |
| name | Name of the parameter.Data type: String |
| value | Value of the parameter.Data type: String |
| value\_required | Flag that indicates whether the information provided by the value property is required.Valid values: - true: The value property is required. - false: The value property is null or not required. Data type: Boolean |
| Name | Description |
|---|---|
| message | Message containing operation success or failure results.Data type: String |
| Name | Description |
|---|---|
| param\_id | Sys\_id of the policy check secure parameter sandbox copy.Data type: String Table: Check Secure Parameter \[sn\_agent\_check\_secure\_param\] |
| Name | Description |
|---|---|
| active | Flag that indicates whether the check secure parameter is active.Valid values: - true: The check secure parameter is active. - false: The check secure parameter is inactive. Data type: Boolean |
| name | Name of the secure parameter.Data type: String |
| order | Order in which the parameter is sent to the check command/script.Data type: Number |
| Name | Description |
|---|---|
| message | Message containing operation success or failure results.Data type: String |
| Name | Description |
|---|---|
| policy\_id | Sys\_id of a policy sandbox copy.Data type: String Table: Policies \[sn\_agent\_policy\] |
| Name | Description |
|---|---|
| cred\_alias | Credential name.Data type: String Table: Credentials \[discovery\_credentials\] |
| credential\_alias | Sys\_id of the credential alias.Data type: String Table: Connection & Credential Aliases \[sys\_alias\] |
| filter | Filter restricting the policy's checks to monitor only the specified criteria. Data type: String |
| interval | Amount of time in seconds to wait between policy checks. For example, a value of 60 means that the check runs every 60 seconds.**Note:** The value of the **checks.interval** property overrides the value configured in this field. Data type: Number |
| monitored\_ci\_group | Name of the [CMDB groups](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/servicenow-platform/cmdb-groups.md) associated with the policy.This field is only applied if the value of the **monitored\_ci\_type\_group** property is true. Data type: String Table: CMDB Groups \[cmdb\_group\] |
| monitored\_ci\_script | Script for monitoring CIs.This field is only applied if the value of the **policies.monitored\_ci\_type\_script** property is true. Data type: String |
| monitored\_ci\_type\_filter | Flag that indicates whether filtering by CI type is enabled. The CI type is listed in the **table** property.Valid values: - true: Filtering by checks group is enabled. - false: Filtering by checks group is disabled. Data type: Boolean |
| monitored\_ci\_type\_group | Flag that indicates whether monitoring by CMDB group type is enabled.Valid values: - true: CMDB group type is enabled. - false: CMDB group type is disabled. Data type: Boolean |
| monitored\_ci\_type\_script | Flag that indicates whether the script for monitoring CIs is enabled.Valid values: - true: Script for monitoring CIs is enabled. - false: Script for monitoring CIs is disabled. Data type: Boolean |
| name | Name of the policy.Data type: String |
| table | Monitored CI-type field on the policy. This field is only applied if **monitored\_ci\_type\_filter** is true.Data type: String |
| Name | Description |
|---|---|
| message | Message containing operation success or failure results.Data type: String |