pressable_list_security_alerts
Retrieve security alerts for plugins and themes across WordPress sites to monitor vulnerabilities and maintain site protection.
Instructions
Get security alerts for plugins and themes across all sites.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Type of alerts to retrieve |
Implementation Reference
- tools/security.js:13-16 (handler)The handler function for 'pressable_list_security_alerts' which fetches security alerts from the API.
handler: async (args) => { const type = args.type || 'plugin'; return await api.get(`/security-alerts/${type}s`); } - tools/security.js:7-12 (schema)Input schema validation for 'pressable_list_security_alerts'.
inputSchema: { type: 'object', properties: { type: { type: 'string', enum: ['plugin', 'theme'], description: 'Type of alerts to retrieve' } } }, - tools/security.js:4-17 (registration)Registration of the 'pressable_list_security_alerts' tool.
{ name: 'pressable_list_security_alerts', description: 'Get security alerts for plugins and themes across all sites.', inputSchema: { type: 'object', properties: { type: { type: 'string', enum: ['plugin', 'theme'], description: 'Type of alerts to retrieve' } } }, handler: async (args) => { const type = args.type || 'plugin'; return await api.get(`/security-alerts/${type}s`); } }