Microsoft Graph API Security
Manage Graph security incidents and alerts
A custom connector for the Microsoft Graph security API long term endpoints: work with incidents, alerts and advanced hunting.
microsoft-graph-api-security_1.0.0.tgz
Community code that runs on your platform. A maintainer reviewed this exact source; the download is rebuilt from it. Follow the to install it.
Superseded by Manage Graph security incidents, alerts and advanced hunting.
Configuration · 2 fields
- Get Access Token
auth_typeselect requiredOptions On behalf of User - Delegated PermissionWithout a User - Application PermissionWhen Get Access Token is Without a User - Application Permission
- Server URL
resourcetext requiredThe service-based URL to which you will connect and perform the automated operations.
Default
https://graph.microsoft.com - Directory (tenant) ID
tenant_idtext requiredThe ID of the tenant that you have been provided for your Azure Network Security Group instance.
- Application (client) ID
client_idtext requiredUnique 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_secretpassword requiredUnique 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
resourcetext requiredThe service-based URL to which you will connect and perform the automated operations.
Default
https://graph.microsoft.com - Directory (tenant) ID
tenant_idtext requiredThe ID of the tenant that you have been provided for your Azure Network Security Group instance.
- Application (client) ID
client_idtext requiredUnique 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_secretpassword requiredUnique 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
codepassword 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_urltext(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_sslcheckboxDefault
false
Operations · 5
Update Security Incident 6 params
update_security_incidentupdate_security_incidentUpdates the owner, status, comments, and other details of existing incidents based on the incident ID that you have specified.
- Incident ID
incidentIDtext requiredUnique identifier to represent the incident
- Status
statusselectSpecify the status of the incident.
Options ActiveInProgressResolved - Assigned To
assignedTotextSpecify the owner of the incident.
- Classification
classificationselectSelect the classification of the incident.
Options UnknownTrue PositiveFalse PositiveInformational Expected ActivityUnknown Future ValueWhen Classification is True Positive
- Determination
determinationselectSpecifies that the incident was a malicious activity.
Options AptMultistage attackMalicious user activityCompromised accountMalwarePhishingUnwanted softwareSecurity personnelOther
When Classification is Informational Expected Activity
- Determination
determinationselectSpecifies that the activity related to the incident was expected. For example, a security test.
Options Security testingLine-of-business applicationConfirmed user activityOther
When Classification is False Positive
- Determination
determinationselectSpecifies that the activity was non-malicious.
Options Not maliciousNot enough data to validateOther
When Classification is Unknown
- Determination
determinationselectSpecifies that the activity was unknown.
Options Unknown
When Classification is Unknown Future Value
- Determination
determinationselectSpecifies that the activity is an unknown future value.
Options Unknown future value
- Custom Tags
customTagstextArray of custom tags associated with an incident.
- Resolving Comment
resolvingCommenttextUser input that explains the resolution of the incident.
ReturnsstatusassignedToclassificationdeterminationcustomTagscommentsGet Security Incidents 7 params
get_security_incidentsget_security_incidentsFetch XDR Incidents via MS Graph API
- Top
topintegerMaximum records to fetch.
- Skip
skipintegerSkip records.
- Filter
filtertextOData filter expression. Example: status eq 'new'
- Order By
orderBytextSort order.
- Expand Alerts
expandAlertscheckboxFetch each alert associated with the incident.
Default
false - Include Count
includeCountcheckboxReturn the total number of matching alerts.
Default
false - Get All Records
getAllRecordscheckboxDefault
false
Run Advanced Hunting 2 params
run_advanced_huntingrun_advanced_huntingAdvanced hunting is a query based threat-hunting tool that lets you explore raw data based on the 'Query' and 'Timespan' parameters.
- Query
querytextSpecify the query for Advanced Hunting.
- Timespan
timespantextISO 8601 format for durations. Example: PT1H: Last 1 hour, PT12H: Last 12 hours, P1D: Last 24 hours, P2D: Last 2 days)
Get Security Alerts 5 params
get_security_alertsget_security_alertsFetch XDR alerts via MS Graph API
- Top
topintegerMaximum records to fetch.
- Skip
skipintegerSkip records.
- Filter
filtertextOData filter expression. Example: status eq 'new', serviceSource eq 'microsoftSentinel'
- Include Count
includeCountcheckboxReturn the total number alerts.
Default
false - Get All Records
getAllRecordscheckboxDefault
false
Get Security Alert 1 param
get_security_alertget_security_alertFetch XDR alert based on alert ID.
- Alert ID
alertIDtext requiredSpecify the alert ID.