You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SNMP not in Enum Validation for security_audit_log #54
When queried cluster contains security_audit_logs logs type of Application=SNMP, you get the following error:
netapp_ontap.error.NetAppRestError: Caused by ValidationError({'application': ["snmp" is not one of ['internal', 'console', 'rsh', 'telnet', 'ssh', 'ontapi', 'http', 'system']']})
To reproduce the issue have SNMP logs in cluster and run the following code:
from netapp_ontap import config, HostConnection
from netapp_ontap.resources import SecurityAuditLog
config.CONNECTION = HostConnection(
host="example-host.com",
username="username",
password="password",
verify=False
)
res = SecurityAuditLog.get_collection()
for r in res:
print(r)
curl-ing /api/security/audit/messages returns 200 status code with SNMP logs included.
From /docs/api SNMP is not a valid value. However, you can view SNMP logs through Web UI and CLI. Note that SNMP GET audit logging is enabled.
Thank you for reporting an issue! If you haven't already joined our Discord community,
then we invite you to do so. This is a great place to get help and ask questions from our community.
Activity
github-actions commentedon Nov 20, 2025
Thank you for reporting an issue! If you haven't already joined our Discord community,
then we invite you to do so. This is a great place to get help and ask questions from our community.