Skip to content
Connector

Microsoft 365 Defender

Fetch Microsoft 365 Defender incidents oldest first

A fork of the Microsoft 365 Defender connector that orders incident fetching by creation time ascending.

@ftnt-dspilleMaintainer v1.2.1 Published Nov 4, 2026
Download .tgz · 17 KB

microsoft-365-defender_1.2.1.tgz

sha256:14774f63cad1bbb60c73d8f50afcd1d7f6d592be016df932db1c5941e6bf32d1

Community code that runs on your platform. A maintainer reviewed this exact source; the download is rebuilt from it. Follow the to install it.

Fork of a Content Hub connector

An enhanced copy of Microsoft 365 Defender microsoft-365-defender v1.2.0Original's documentation

The operation list matches the Content Hub original exactly, so anything this fork changes lives below the operation level.

What the author changed: Incident fetching now orders by createdTime ascending, so the oldest incidents are returned first.

Keeps the original's machine name, so importing this upgrades the Content Hub connector in place and existing configurations survive. Differences are re-measured against the current Content Hub index at every site build, so this stays truthful as the original moves.

Superseded by Triage Microsoft 365 Defender incidents and contain endpoints.

Configuration · 2 fields

  • Get Access Token auth_type select required

    Select the method using which you will get authentication tokens used to access the Microsoft 365 Defender APIs. You can choose between On behalf of User – Delegate Permission or Without a User - Application Permission. For more information, see the Getting Access Tokens section.

    Options On behalf of User - Delegated PermissionWithout a User - Application Permission

    When Get Access Token is Without a User - Application Permission

    • Server URL resource text required

      The service-based URL to which you will connect and perform the automated operations.

      Default https://api.security.microsoft.com

    • Directory (tenant) ID tenant_id text required

      The ID of the tenant that you have been provided for your Azure Network Security Group instance.

    • Application (client) ID client_id text required

      Unique ID of the Azure Network Security Group application that is used to create an authentication token required to access the API.

    • Application (Client) Secret client_secret password required

      Unique Client Secret of the Azure Network Security Group application that is used to create an authentication token required to access the API. For information on how to get the secret key, see https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-atp/exposed-apis-create-app-webapp.

    When Get Access Token is On behalf of User - Delegated Permission

    • Server URL resource text required

      The service-based URL to which you will connect and perform the automated operations.

      Default https://api.security.microsoft.com

    • Directory (tenant) ID tenant_id text required

      The ID of the tenant that you have been provided for your Azure Network Security Group instance.

    • Application (client) ID client_id text required

      Unique ID of the Azure Network Security Group application that is used to create an authentication token required to access the API.

    • Application (Client) Secret client_secret password required

      Unique Client Secret of the Azure Network Security Group application that is used to create an authentication token required to access the API. For information on how to get the secret key, see https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-atp/exposed-apis-create-app-webapp.

    • Authorization Code code password required

      (Only Applicable to On behalf of User – Delegate Permission) The authorization code that you acquired during the authorization step. For more information, see the Getting Access Tokens using the On behalf of the user – Delegate Permission method section.

    • Redirect URI redirect_url text

      (Only Applicable to On behalf of User – Delegate Permission) The redirect_uri of your app, where authentication responses can be sent and received by your app. The redirect URL that you specify here must exactly match one of the redirect_uri's you have registered in your app registration portal.

  • Verify SSL verify_ssl checkbox

    Specifies whether the SSL certificate for the server is to be verified or not. By default, this option is set as True.

    Default true

Operations · 4

  • Get Incidents List 8 params
    list_incidents

    Retrieves a list of incidents along with their status for users to sort through and create an informed cybersecurity response. It exposes a collection of incidents that were flagged in your network, based on the time range, incident owner and other details that you have specified.

    • Last Updated Time lastUpdateTime datetime

      Specify the time when the incident was last updated on the server.

    • Created Time createdTime datetime

      Specify the time when incident was first created.

    • Status status multiselect

      Specifies the current status of the incident.

      Options ActiveResolvedIn ProgressRedirected
    • Assigned To assignedTo text

      Specify the incident owner's email address.

    • Filter Query query text

      (Optional) Specify the query to filter results retrieved from Microsoft 365 Defender. For query syntax and other information, refer to https://learn.microsoft.com/en-us/graph/filter-query-parameter.

    • Offset skip text

      (Optional) Specify the count of the first few records to skip while retrieving response from Defender Endpoint API.

    • Limit top integer

      (Optional) Specify the maximum number of incidents that this operation should return from Microsoft 365 Defender. The maximum values it can return is 100.

    • Get All Records get_all_records checkbox

      Select to retrieve all records present and ignore the parameters Offset and Limit. By default, this is selected, i.e. set to true.

      Default true

    Returns @odata.contextvalue
  • Get Incident Details 1 param
    get_incident

    Retrieves the details of a specific incident based on the incident ID that you have specified.

    • Incident ID id text required

      Specify the unique identifier that represents the incident to fetch its details.

    Returns @odata.contextincidentIdincidentUriredirectIncidentIdincidentNamecreatedTimelastUpdateTimeassignedToclassificationdeterminationstatusseveritytagscommentsalerts
  • Update Incident 6 params
    update_incident

    Updates the owner, status, comments, and other details of existing incidents based on the incident ID that you have specified.

    • Incident ID id text required

      Specify the unique identifier that represents the incident to update it.

    • Status status select

      SSelect from drop-down the status with which to update the incident.

      Options ActiveResolvedIn ProgressRedirected
    • Assigned To assignedTo text

      Specify the incident owner's email address.

    • Classification classification select

      Select from drop-down the specification of the incident:

      Options TruePositiveInformational, expected activityFalsePositive

      When Classification is TruePositive

      • Determination determination select

        Specifies that the incident was a malicious activity.

        Options Multistage attackMalicious user activityCompromised accountMalwarePhishingUnwanted softwareOther

      When Classification is Informational, expected activity

      • Determination determination select

        Specifies that the activity related to the incident was expected. For example, a security test.

        Options Security testLine-of-business applicationConfirmed activityOther

      When Classification is FalsePositive

      • Determination determination select

        Specifies that the activity was non-malicious.

        Options Not maliciousNot enough data to validateOther
    • Tags tags text

      Specify a list of incident tags.

    • Comment comment text

      Specify a comment to be added to the incident.

    Returns statusassignedToclassificationdeterminationtagscomments
  • Advanced Hunting 1 param
    advanced_hunting

    Retrieves data from the past 30 days based on the query that you have specified.

    • Query Query text required

      Specify a query to examine the past 30 days of event data in Microsoft 365 Defender. For more information on the queries, refer to Microsoft 365 Defender Advanced hunting.

    Returns StatsSchemaResults
Something wrong with this item? Sign in to report

Report a problem

Sensitive data, copied content, broken imports, anything that shouldn't be here.

At least 10 characters. Please don't paste the sensitive value itself.0/1000