Skip to content

[QUESTION]: API permissions for api/diagnostics/interface/getProtocolStatistics #66

@hslabbert

Description

@hslabbert

With applying all of the permissions listed in the README, I still get a permissions issue on the api/diagnostics/interface/getProtocolStatistics path:

level=ERROR source=collector.go:234 msg="failed to update" component=collector collector_name=protocol err="opnsense-client api call error: endpoint: api/diagnostics/interface/getProtocolStatistics; failed status code: 403; msg: {\"status\":403,\"message\":\"Forbidden\"}"

This goes away if I give the user admin access to test. This then shows up as missing stats in the Received or Transmitted Bytes panels for rates.

I can't track down what permissions group this corresponds to, though. Is there something I missed in the permissions set? Diagnostics: Netstat, Reporting: Traffic, etc are all definitely selected for access for the user.

opnsense is currently 25.7.1. Using latest tag for opnsense-exporter, which currently then shows as v0.0.10 in logs.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions