This function lists the Apache SpamAssassin™ scores for each symbolic test.
uapi --output=jsonpretty \ --user=username \ SpamAssassin \ get_symbolic_test_names
{- "apiversion": 3,
- "errors": null,
- "func": "get_symbolic_test_names",
- "messages": null,
- "module": "SpamAssassin",
- "result": {
- "data": [
- {
- "key": "ACT_NOW_ALL_CAPS",
- "rule_type": "body_tests",
- "score": 1
}
], - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}, - "status": null
}