You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -131,13 +131,13 @@ The following screenshot shows a sample of the output of the code above, display
131
131
132
132
## Access Microsoft Entra ID sign-in logs for a specific user
133
133
134
-
The following code sample demonstrates how to access the Microsoft Entra ID `SignInLogs` table and filter the results for a specific user. It retrieves various fields such as UserDisplayName, UserPrincipalName, UserId, and more.
134
+
The following code sample demonstrates how to access the Microsoft Entra ID `SigninLogs` table and filter the results for a specific user. It retrieves various fields such as UserDisplayName, UserPrincipalName, UserId, and more.
135
135
136
136
```python
137
137
from sentinel_lake.providers import MicrosoftSentinelProvider
138
138
data_provider = MicrosoftSentinelProvider(spark)
139
139
140
-
table_name ="SignInLogs"
140
+
table_name ="SigninLogs"
141
141
workspace_name ="your-workspace-name"# Replace with your actual workspace name
The following code sample demonstrates how to extract and display sign-in locations from the Microsoft Entra ID SignInLogs table. It uses the `from_json` function to parse the JSON structure of the `LocationDetails` field, allowing you to access specific location attributes such as city, state, and country or region.
152
+
The following code sample demonstrates how to extract and display sign-in locations from the Microsoft Entra ID SigninLogs table. It uses the `from_json` function to parse the JSON structure of the `LocationDetails` field, allowing you to access specific location attributes such as city, state, and country or region.
153
153
154
154
```python
155
155
from sentinel_lake.providers import MicrosoftSentinelProvider
@@ -158,7 +158,7 @@ from pyspark.sql.types import StructType, StructField, StringType
158
158
159
159
data_provider = MicrosoftSentinelProvider(spark)
160
160
workspace_name ="your-workspace-name"# Replace with your actual workspace name
0 commit comments