Movatterモバイル変換


[0]ホーム

URL:


Loading
  1. Elastic Docs/
  2. Reference/
  3. Ingestion tools/
  4. Elastic integrations/
  5. Microsoft

Microsoft Entra ID Entity Analytics

Version1.8.2 (View all)
Subscription level
What's this?
Basic
Developed by
What's this?
Elastic
Ingestion method(s)API
Minimum Kibana version(s)9.0.0
8.15.1

This integration retrieves users and devices, with group memberships fromMicrosoft Entra ID(formerly Azure Active Directory).

This module has been tested against theMicrosoft Graph REST API v1.0.

The Microsoft Entra ID Entity Analytics integration collects two types of data: user and device. While configuring the integration, you can use theDataset dropdown option to select which type of data you want to collect from Microsoft Entra ID.

Elastic Agent must be installed. For more details, check the Elastic Agentinstallation instructions.

The following Azure API permissions are required:

PermissionType
GroupMember.Read.AllApplication
User.Read.AllApplication
Device.Read.AllApplication

If you want to collect device properties that are managed by Microsoft Intune, the following additional permission is required:

PermissionType
DeviceManagementManagedDevices.Read.AllApplication

Without this permission, the following device fields will returnnull values even if the devices are enrolled in Intune:

  • entityanalytics_entra_id.device.is_compliant
  • entityanalytics_entra_id.device.is_managed
  • entityanalytics_entra_id.device.compliance_expiration_date_time
  • entityanalytics_entra_id.device.category
  • entityanalytics_entra_id.device.ownership
  • entityanalytics_entra_id.device.enrollment_profile_name
  • entityanalytics_entra_id.device.mdm_app_id
Note

An active Microsoft Intune license is also required for the tenant for these properties to be populated.

For more details on how to set up the necessary App Registration, permission granting, and secret configuration, refer to thisguide.

  1. In Kibana navigate toManagement >Integrations.
  2. In the search bar, typeMicrosoft Entra ID Entity Analytics.
  3. Select theMicrosoft Entra ID Entity Analytics integration and add it.
  4. While adding the integration, add the Tenant ID, Client (Application) ID and Secret (API Key) that you obtained earlier.
  5. Save the integration.

The integration periodically contacts Microsoft Entra ID using the Graph API, retrieving updates for users, devices and groups, updates its internal cache of user and device metadata and group membership information, and ships updated user metadata to Elasticsearch.

Fetching and shipping updates occurs in one of two processes:full synchronizations andincremental updates. Full synchronizations will send the entire list of users and devices in state, along with write markers to indicate the start and end of the synchronization event. Incremental updates will only send data for changed users and devices during that event. Changes on a user or device can come in many forms, whether it be a change to the user or device metadata, a user/device was added or deleted, or group membership was changed (either direct or transitive). By default, full synchronizations occur every 24 hours and incremental updates occur every 15 minutes. These intervals may be customized to suit your use case.

A user document:

{  "@timestamp": "2022-11-04T09:57:19.786056-05:00",  "event": {    "action": "user-discovered"  },  "azure_ad": {    "userPrincipalName": "example.user@example.com",    "mail": "example.user@example.com",    "displayName": "Example User",    "givenName": "Example",    "surname": "User",    "jobTitle": "Software Engineer",    "mobilePhone": "123-555-1000",    "businessPhones": [      "123-555-0122"    ]  },  "user": {    "id": "5ebc6a0f-05b7-4f42-9c8a-682bbc75d0fc",    "group": [      {        "id": "331676df-b8fd-4492-82ed-02b927f8dd80",        "name": "group1"      },      {        "id": "d140978f-d641-4f01-802f-4ecc1acf8935",        "name": "group2"      }    ]  },  "labels": {    "identity_source": "azure-1"  }}

A device document:

{  "@timestamp": "2022-11-04T09:57:19.786056-05:00",  "event": {    "action": "device-discovered"  },  "azure_ad": {    "accountEnabled": true,    "displayName": "DESKTOP-LETW452G",    "operatingSystem": "Windows",    "operatingSystemVersion": "10.0.19043.1337",    "physicalIds": {      "extensionAttributes": {        "extensionAttribute1": "BYOD-Device"      }    },    "alternativeSecurityIds": [      {        "type": 2,        "identityProvider": null,        "key": "DGFSGHSGGTH345A...35DSFH0A"      }    ]  },  "device": {    "id": "2fbbb8f9-ff67-4a21-b867-a344d18a4198",    "group": [      {        "id": "331676df-b8fd-4492-82ed-02b927f8dd80",        "name": "group1"      }    ]  },  "labels": {    "identity_source": "azure-1"  }}

Full synchronizations will be bounded on either side by "write marker" documents.

{  "@timestamp": "2022-11-04T09:57:19.786056-05:00",  "event": {    "action": "started",    "start": "2022-11-04T09:57:19.786056-05:00"  },  "labels": {    "identity_source": "azure-1"  }}

This is theEntity dataset.

Example
{    "@timestamp": "2025-04-01T18:07:36.482Z",    "agent": {        "ephemeral_id": "91db5bd7-4c69-428c-83d2-01c1bf05ba7c",        "id": "c8d80307-c3e5-45ae-bb30-a0025259b7ae",        "name": "elastic-agent-65963",        "type": "filebeat",        "version": "8.15.1"    },    "data_stream": {        "dataset": "entityanalytics_entra_id.entity",        "namespace": "55663",        "type": "logs"    },    "ecs": {        "version": "8.11.0"    },    "elastic_agent": {        "id": "c8d80307-c3e5-45ae-bb30-a0025259b7ae",        "snapshot": false,        "version": "8.15.1"    },    "event": {        "action": "started",        "agent_id_status": "verified",        "dataset": "entityanalytics_entra_id.entity",        "ingested": "2025-04-01T18:07:39Z",        "kind": "asset",        "original": "{\"input\":{\"type\":\"entity-analytics\"},\"agent\":{\"name\":\"elastic-agent-65963\",\"id\":\"c8d80307-c3e5-45ae-bb30-a0025259b7ae\",\"type\":\"filebeat\",\"ephemeral_id\":\"91db5bd7-4c69-428c-83d2-01c1bf05ba7c\",\"version\":\"8.15.1\"},\"@timestamp\":\"2025-04-01T18:07:36.482Z\",\"ecs\":{\"version\":\"8.11.0\"},\"data_stream\":{\"namespace\":\"55663\",\"type\":\"logs\",\"dataset\":\"entityanalytics_entra_id.entity\"},\"elastic_agent\":{\"id\":\"c8d80307-c3e5-45ae-bb30-a0025259b7ae\",\"version\":\"8.15.1\",\"snapshot\":false},\"event\":{\"start\":\"2025-04-01T18:07:36.482Z\",\"action\":\"started\",\"dataset\":\"entityanalytics_entra_id.entity\"},\"labels\":{\"identity_source\":\"entity-analytics-entityanalytics_entra_id.entity-b4dd8d01-dde7-48c9-8b0f-9c1f991c2117\"},\"tags\":[\"all-entities\",\"preserve_original_event\",\"forwarded\",\"entityanalytics_entra_id-entity\"],\"_version_type\":\"internal\",\"_index\":\"logs-entityanalytics_entra_id.entity-55663\",\"_id\":null,\"_version\":-4}",        "start": "2025-04-01T18:07:36.482Z"    },    "input": {        "type": "entity-analytics"    },    "labels": {        "identity_source": "entity-analytics-entityanalytics_entra_id.entity-b4dd8d01-dde7-48c9-8b0f-9c1f991c2117"    },    "tags": [        "all-entities",        "preserve_original_event",        "forwarded",        "entityanalytics_entra_id-entity"    ]}
Exported fields
FieldDescriptionType
@timestampEvent timestamp.date
asset.categorykeyword
asset.first_seendate
asset.group.idkeyword
asset.group.namekeyword
asset.idkeyword
asset.is_managedboolean
asset.last_seendate
asset.last_updateddate
asset.modelkeyword
asset.namekeyword
asset.statuskeyword
asset.tagskeyword
asset.typekeyword
asset.vendorkeyword
asset.versionkeyword
data_stream.datasetData stream dataset.constant_keyword
data_stream.namespaceData stream namespace.constant_keyword
data_stream.typeData stream type.constant_keyword
device.group.idkeyword
device.group.namekeyword
device.registered_owners.business_phoneskeyword
device.registered_owners.display_namekeyword
device.registered_owners.given_namekeyword
device.registered_owners.idkeyword
device.registered_owners.job_titlekeyword
device.registered_owners.mailkeyword
device.registered_owners.mobile_phonekeyword
device.registered_owners.surnamekeyword
device.registered_owners.user_principal_namekeyword
device.registered_users.business_phoneskeyword
device.registered_users.display_namekeyword
device.registered_users.given_namekeyword
device.registered_users.idkeyword
device.registered_users.job_titlekeyword
device.registered_users.mailkeyword
device.registered_users.mobile_phonekeyword
device.registered_users.surnamekeyword
device.registered_users.user_principal_namekeyword
entityanalytics_entra_id.device.account_enabledtrue if the account is enabled; otherwise, false. Default is true.boolean
entityanalytics_entra_id.device.alternative_security_ids.identity_providerFor internal use only.keyword
entityanalytics_entra_id.device.alternative_security_ids.keyFor internal use only.keyword
entityanalytics_entra_id.device.alternative_security_ids.typeFor internal use only.long
entityanalytics_entra_id.device.approximate_last_sign_in_date_timeThe timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.date
entityanalytics_entra_id.device.categoryUser-defined property set by Intune to automatically add devices to groups and simplify managing devices.keyword
entityanalytics_entra_id.device.compliance_expiration_date_timeThe timestamp when the device is no longer deemed compliant. The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.date
entityanalytics_entra_id.device.d_idUnique identifier set by Azure Device Registration Service at the time of registration. This is an alternate key that can be used to reference the device object.keyword
entityanalytics_entra_id.device.display_nameThe display name for the device.keyword
entityanalytics_entra_id.device.enrollment_profile_nameEnrollment profile applied to the device. For example, Apple Device Enrollment Profile, Device enrollment - Corporate device identifiers, or Windows Autopilot profile name. This property is set by Intune.keyword
entityanalytics_entra_id.device.extension_attributesContains extension attributes 1-15 for the device. The individual extension attributes are not selectable. These properties are mastered in cloud and can be set during creation or update of a device object in Azure AD.object
entityanalytics_entra_id.device.group.idThe unique identifier for the group.keyword
entityanalytics_entra_id.device.group.nameThe display name for the group.keyword
entityanalytics_entra_id.device.idThe unique identifier for the device. Inherited from directoryObject.keyword
entityanalytics_entra_id.device.is_complianttrue if the device complies with Mobile Device Management (MDM) policies; otherwise, false. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices.boolean
entityanalytics_entra_id.device.is_managedtrue if the device is managed by a Mobile Device Management (MDM) app; otherwise, false. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices.boolean
entityanalytics_entra_id.device.manufacturerManufacturer of the device.keyword
entityanalytics_entra_id.device.mdm_app_idApplication identifier used to register device into MDM.keyword
entityanalytics_entra_id.device.metadataFor internal use only.keyword
entityanalytics_entra_id.device.modelModel of the device.keyword
entityanalytics_entra_id.device.on_premises_last_sync_date_timeThe last time at which the object was synced with the on-premises directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.date
entityanalytics_entra_id.device.on_premises_sync_enabledtrue if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default).boolean
entityanalytics_entra_id.device.operating_systemThe type of operating system on the device.keyword
entityanalytics_entra_id.device.operating_system_versionThe version of the operating system on the device.keyword
entityanalytics_entra_id.device.ownershipOwnership of the device. This property is set by Intune. Possible values are: unknown, company, personal.keyword
entityanalytics_entra_id.device.physical_idsFor internal use only.keyword
entityanalytics_entra_id.device.profile_typeThe profile type of the device. Possible values: RegisteredDevice (default), SecureVM, Printer, Shared, IoT.keyword
entityanalytics_entra_id.device.registered_owners.business_phoneskeyword
entityanalytics_entra_id.device.registered_owners.display_namekeyword
entityanalytics_entra_id.device.registered_owners.given_namekeyword
entityanalytics_entra_id.device.registered_owners.idkeyword
entityanalytics_entra_id.device.registered_owners.job_titlekeyword
entityanalytics_entra_id.device.registered_owners.mailkeyword
entityanalytics_entra_id.device.registered_owners.mobile_phonekeyword
entityanalytics_entra_id.device.registered_owners.surnamekeyword
entityanalytics_entra_id.device.registered_owners.user_principal_namekeyword
entityanalytics_entra_id.device.registered_users.business_phoneskeyword
entityanalytics_entra_id.device.registered_users.display_namekeyword
entityanalytics_entra_id.device.registered_users.given_namekeyword
entityanalytics_entra_id.device.registered_users.idkeyword
entityanalytics_entra_id.device.registered_users.job_titlekeyword
entityanalytics_entra_id.device.registered_users.mailkeyword
entityanalytics_entra_id.device.registered_users.mobile_phonekeyword
entityanalytics_entra_id.device.registered_users.surnamekeyword
entityanalytics_entra_id.device.registered_users.user_principal_namekeyword
entityanalytics_entra_id.device.registration_date_timeDate and time of when the device was registered. The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.date
entityanalytics_entra_id.device.system_labelsList of labels applied to the device by the system.keyword
entityanalytics_entra_id.device.trust_typeType of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Azure AD).keyword
entityanalytics_entra_id.device.versionFor internal use only.keyword
entityanalytics_entra_id.user.account_enabledtrue if the account is enabled; otherwise, false.boolean
entityanalytics_entra_id.user.business_phonesThe telephone numbers for the user.keyword
entityanalytics_entra_id.user.departmentThe name of the department in which the user works.keyword
entityanalytics_entra_id.user.display_nameThe name displayed in the address book for the user. This is usually the combination of the user's first name, middle initial and last name.keyword
entityanalytics_entra_id.user.given_nameThe given name (first name) of the user. Maximum length is 64 characters.keyword
entityanalytics_entra_id.user.group.idThe unique identifier for the group.keyword
entityanalytics_entra_id.user.group.nameThe display name for the group.keyword
entityanalytics_entra_id.user.idThe unique identifier for the user. Should be treated as an opaque identifier. Inherited from directoryObject.keyword
entityanalytics_entra_id.user.job_titleThe user's job title. Maximum length is 128 characters.keyword
entityanalytics_entra_id.user.mailThe SMTP address for the user.keyword
entityanalytics_entra_id.user.mobile_phoneThe primary cellular telephone number for the user. Read-only for users synced from on-premises directory. Maximum length is 64 characters.keyword
entityanalytics_entra_id.user.office_locationThe office location in the user's place of business.keyword
entityanalytics_entra_id.user.preferred_languageThe preferred language for the user. Should follow ISO 639-1 Code; for example en-US.keyword
entityanalytics_entra_id.user.surnameThe user's surname (family name or last name). Maximum length is 64 characters.keyword
entityanalytics_entra_id.user.user_principal_nameThe user principal name (UPN) of the user. The UPN is an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant's collection of verified domains.keyword
event.datasetName of the dataset.constant_keyword
event.messageLog message optimized for viewing in a log viewer.text
event.moduleName of the module this data is coming from.constant_keyword
event.providerThe event kind.constant_keyword
input.typeType of Filebeat input.keyword
labels.identity_sourcekeyword
log.flagsFlags for the log file.keyword
log.offsetOffset of the entry in the log file.long
user.enabledboolean
user.first_namekeyword
user.group.idkeyword
user.group.namekeyword
user.job_titlekeyword
user.last_namekeyword
user.phonekeyword
user.work.location_namekeyword
Changelog
VersionDetailsMinimum Kibana version
1.8.2Bug fix (View pull request)
Fix documentation to include DeviceManagementManagedDevices.Read.All for some device fields.
9.0.0
8.15.1
1.8.1Bug fix (View pull request)
Fix pipeline to ingest extra fields selected viaselect configuration inCustom Options.
9.0.0
8.15.1
1.8.0Enhancement (View pull request)
Remove redundant installation instructions.
9.0.0
8.15.1
1.7.0Enhancement (View pull request)
Add "event.original" field when "preserve_original_event" is set.
9.0.0
8.15.1
1.6.0Enhancement (View pull request)
Update Kibana constraint to support 9.0.0.
9.0.0
8.15.1
1.5.1Bug fix (View pull request)
Updated SSL description to be uniform and to include links to documentation.
8.15.1
1.5.0Enhancement (View pull request)
Add "preserve_original_event" tag to documents withevent.kind manually set to "pipeline_error".
8.15.1
1.4.0Enhancement (View pull request)
Add "preserve_original_event" tag to documents withevent.kind set to "pipeline_error".
8.15.1
1.3.1Bug fix (View pull request)
Don't leak collection implementation details.
8.15.1
1.3.0Enhancement (View pull request)
Add support for request trace logging.
8.15.1
1.2.0Enhancement (View pull request)
Update the kibana constraint to ^8.13.0. Modified the field definitions to remove ECS fields made redundant by the ecs@mappings component template.
8.13.0
1.1.1Bug fix (View pull request)
Fix broken link to Filebeat Entity Analytics input documentation.
8.12.0
1.1.0Enhancement (View pull request)
Set sensitive values as secret.
8.12.0
1.0.1Enhancement (View pull request)
Changed owners
8.11.0
1.0.0Enhancement (View pull request)
Release package as GA.
8.11.0
0.6.1Enhancement (View pull request)
Update Kibana version to 8.11.0.
8.11.0
0.6.0Enhancement (View pull request)
ECS version updated to 8.11.0.
8.11.0
0.5.0Enhancement (View pull request)
Add support for the device dataset and update user dataset to support preserve_duplicate_custom_fields option.
8.11.0
0.4.0Enhancement (View pull request)
ECS version updated to 8.10.0.
8.9.0
0.3.0Enhancement (View pull request)
The format_version in the package manifest changed from 2.11.0 to 3.0.0. Removed dotted YAML keys from package manifest. Added 'owner.type: elastic' to package manifest.
8.9.0
0.2.0Enhancement (View pull request)
Add tags.yml file so that integration's dashboards and saved searches are tagged with "Security Solution" and displayed in the Security Solution UI.
8.9.0
0.1.0Enhancement (View pull request)
Initial release of package.
8.9.0

[8]ページ先頭

©2009-2026 Movatter.jp