Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API permissions Monitoring Microsoft Graph #7300

Open
javiersanchz opened this issue May 10, 2024 · 0 comments
Open

API permissions Monitoring Microsoft Graph #7300

javiersanchz opened this issue May 10, 2024 · 0 comments

Comments

@javiersanchz
Copy link
Member

javiersanchz commented May 10, 2024

Wazuh version
4.7.3

Description

User has reported about the lack of API permissions for Microsoft Graph, receiving the following logs:

2024/05/08 15:26:35 wazuh-modulesd:ms-graph: WARNING: Received unsuccessful status code when attempting to get relationship 'alerts_v2' logs: Status code was '403' & response was '{"error":{"code":"Forbidden","message":"Missing application roles. API required roles: SecurityAlert.Read.All,SecurityAlert.ReadWrite.All,SecurityIncident.Read.All,SecurityIncident.ReadWrite.All, application roles: .","innerError":{"date":"2024-05-08T08:26:35","request-id":"xxxxx","client-request-id":"xxxxx"}}}'
2024/05/08 15:26:36 wazuh-modulesd:ms-graph: WARNING: Received unsuccessful status code when attempting to get relationship 'incidents' logs: Status code was '403' & response was '{"error":{"code":"Forbidden","message":"Missing application roles. API required roles: SecurityIncident.Read.All,SecurityIncident.ReadWrite.All, application roles: .","innerError":{"date":"2024-05-08T08:26:36","request-id":"xxxxxx,"client-request-id":"xxxxxx"}}}'

He stated that he granted the current permissions mentioned in the documentation: SecurityAlert.Read.All and SecurityIncident.Read.All with administrator consent, and continues to receive the same warning logs.

t seems that he also needs the following permissions: SecurityAlert.ReadWrite.All and SecurityIncident.ReadWrite.All
We should check if these permissions have changed recently.

https://documentation.wazuh.com/current/cloud-security/ms-graph/monitoring-ms-graph-activity.html#api-permissions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants