SCA checks within a policy
wazuh_sca_checksRetrieve SCA policy checks for a Wazuh agent, including remediation text. Filter by result like 'failed' to focus on actionable hardening steps.
Instructions
List the individual configuration checks in one SCA policy, including the remediation text for each. Filter to result='failed' to get an actionable hardening list for a host.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| result | No | Filter by outcome. 'failed' is the actionable set. | failed |
| search | No | Free-text match across check titles and text. | |
| agent_id | Yes | Agent ID, e.g. '001'. | |
| policy_id | Yes | Policy ID from wazuh_sca_policies, e.g. 'cis_debian10' or 'cis_win2019_enterprise'. | |
| include_remediation | No | Include rationale and remediation prose. Informative but verbose; turn off when you only need the list of failures. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||