Skip to content

API GET /api/sense-collection/rules failed: 500 Internal Server Error: #1

@capturedsignal

Description

@capturedsignal

Hi FalconForce team,
I am facing an issue with http 500. Not sure what am I doing wrong.

First, I am running
az login (using global admin account)

Then, based on your docs, it should be working already, so I try and get http 401

./TelemetryCollectionManager --post-rules
fetch existing rules: API GET /api/sense-collection/rules failed: 401 Unauthorized

So I am manually running
az account get-access-token --resource https://securitycenter.microsoft.com/mtp
copy accessToken from output and running command:

export AZURE_TOKEN="accessTokencopypaste"

./TelemetryCollectionManager --list-rules
API GET /api/sense-collection/rules failed: 500 Internal Server Error: {"type":"https://tools.ietf.org/html/rfc9110#section-
15.6.1","title":"An error occurred while processing your request.","status":500,"traceId":"|d0f33e5e-4177141d81d17069.1.1.1."}

I have tested this for 3 days, to see if it is issue on MS end, but nothing changed.

Not sure if this is relevant but my MDE API explorer (https://security.microsoft.com/interoperability/api-explorer)
is running on https://api-eu3.securitycenter.microsoft.com/api/

In Api explorer, I am trying to GET https://api-eu3.securitycenter.microsoft.com/api/sense-collection but it results with http 404.

Thank you for your work in this project

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions