Get Health Policy Settings

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Retrieves the system health policy configuration that defines patch compliance thresholds.

Request URL

https://{server-hostname}:8383/dcapi/patch/settings/healthPolicy

Scope

PatchMgmt.READCopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url https://appdomain/dcapi/patch/settings/healthPolicy \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'

Response Parameters

- HTTP code 200

Response Body - application/json
JSON Object
Hide Sub-Attributes
healthyThresholdstring

Maximum number of missing patches for a system to be considered healthy

vulnerableThresholdstring

Missing patch count above which system is considered vulnerable

highlyVulnerableThresholdstring

Missing patch count above which system is considered highly vulnerable

criticalPatchWeightstring

Weight multiplier for critical severity patches in health calculation

importantPatchWeightstring

Weight multiplier for important severity patches

moderatePatchWeightstring

Weight multiplier for moderate severity patches

lowPatchWeightstring

Weight multiplier for low severity patches

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Default health policy settings

Copied!
  {
    "highlyVulnerableThreshold": 10,
    "vulnerableThreshold": 5,
    "importantPatchWeight": 3,
    "moderatePatchWeight": 1,
    "lowPatchWeight": 0,
    "healthyThreshold": 0,
    "criticalPatchWeight": 5
  }
                
Show full

Duration: 1 minute | Threshold: 30 | Lock period: 5 minutes

Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.