Microsoft Graph Search
Use the Microsoft Search API in Microsoft Graph to search content stored in OneDrive or SharePoint: files, folders, lists, list items, or sites.
Cloud Services · Microsoft Graph Search
Details
| ID | Microsoft Graph Search |
|---|---|
| Provider | Microsoft |
| Category | Cloud Services |
| From Version | 6.0.0 |
| Docker Image | demisto/crypto:1.0.0.5490413 |
| Supported Modules | Agentix Cloud Runtime Security XSIAM EDR Cortex Cloud |
README
Use the Microsoft Search API in Microsoft Graph to search content stored in OneDrive or SharePoint: files, folders, lists, list items, or sites.
Configure Microsoft Graph Search in Cortex
| Parameter | Description | Required |
|---|---|---|
| ID or Client ID | True | |
| Token or Tenant ID | True | |
| Key or Client Secret (can be used instead of Certificate Thumbprint and Private Key) | False | |
| Certificate Thumbprint (can be used instead of Client Secret) | False | |
| Private Key | False | |
| Authorization code | True | |
| Application redirect URI | True | |
| Trust any certificate (not secure) | False | |
| Use system proxy settings | False |
Commands
You can execute these commands from the CLI, as part of an automation, or in a playbook.
After you successfully execute a command, a DBot message appears in the War Room with the command details.
msgraph-search-test
Tests connectivity.
Base Command
msgraph-search-test
msgraph-search-content
Use the Microsoft Search API in Microsoft Graph to search content stored in OneDrive or SharePoint: files, folders, lists, list items, or sites.
Base Command
msgraph-search-content
Input
| Argument Name | Description | Required |
|---|---|---|
| query_string | Represents a (text string) search query that contains search terms and optional filters. | Required |
| entity_type | One or more types of resources expected in the response. . Possible values are: list, site, listItem, message, event, drive, driveItem, externalItem. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| SearchContent | unknown | OneDrive or SharePoint content returned from the search |
msgraph-search-generate-login-url
Generate the login url used for Authorization code flow.
Base Command
msgraph-search-generate-login-url
Input
| Argument Name | Description | Required |
| — | — | — |
Context Output
There is no context output for this command.
Configuration parameters
creds_auth_id— (required)creds_refresh_token— (required)creds_enc_key—creds_certificate— Certificate Thumbprint (can be used instead of Client Secret)private_key— Private Keycreds_auth_code—redirect_uri— Application redirect URI (required)insecure— Trust any certificate (not secure)proxy— Use system proxy settings
Commands (3)
-
msgraph-search-contentUse the Microsoft Search API in Microsoft Graph to search content stored in OneDrive or SharePoint: files, folders, lists, list items, or sites.
-
msgraph-search-generate-login-urlGenerate the login url used for Authorization code flow.
-
msgraph-search-testTests connectivity.
# Authentication ### Authentication Based on Entra ID Applications Microsoft integrations (Graph and Azure) in Cortex XSOAR use Entra ID applications to authenticate with Microsoft APIs. These integrations use OAuth 2.0 and OpenID Connect standard compliant authentication services, which use an application to sign in or delegate authentication. For more information, see the Microsoft identity platform overview. There is only one application authentication method available: * [Self-Deployed Application](https://xsoar.pan.dev/docs/reference/articles/microsoft-integrations---authentication#self-deployed-application)