Update opnsense.md to reflect effective privileges section

Amend notes on effective privileges that need to be selected for OPNSense API. It appears that in the 24.7.x release the "Status: Traffic Graph" privilege no longer exists. However, this appears to have been replaced / is covered by the Reporting: Traffic privilege grouping, which covers the /api/diagnostics/traffic/* endpoint(s).
This commit is contained in:
ChainSauz 2024-11-09 00:41:48 -05:00 committed by GitHub
parent 01cb9e8830
commit bf8ac287d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,7 @@ Learn more about [OPNSense](https://opnsense.org/).
The API key & secret can be generated via the webui by creating a new user at _System/Access/Users_. Ensure "Generate a scrambled password to prevent local database logins for this user" is checked and then edit the effective privileges selecting **only**:
- Diagnostics: System Activity
- Status: Traffic Graph
- Status: Traffic Graph / Reporting: Traffic (OPNSENSE 24.7.x)
Finally, create a new API key which will download an `apikey.txt` file with your key and secret in it. Use the values as the username and password fields, respectively, in your homepage config.