get_ossec_configuration
Retrieve the OSSEC configuration, either the full config or a specific section like syscheck or rootcheck, for security monitoring analysis.
Instructions
Read the OSSEC configuration (ossec.conf).
Retrieves the parsed configuration. Can return the full config or a specific section.
Args: section: Optional configuration section to retrieve. Common sections: 'global', 'alerts', 'syscheck', 'rootcheck', 'localfile', 'remote', 'rules', 'command', 'active-response', 'syslog_output'. If not specified, returns the full configuration.
Returns: JSON object with the parsed configuration.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_ossec_configuration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| section | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |