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
Copy file name to clipboardExpand all lines: articles/sentinel/sap/collect-sap-hana-audit-logs.md
+20-10Lines changed: 20 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,42 +14,43 @@ This article explains how to collect audit logs from your SAP HANA database.
14
14
> [!IMPORTANT]
15
15
> Microsoft Sentinel SAP HANA support is currently in PREVIEW. The [Azure Preview Supplemental Terms](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) include additional legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
16
16
17
-
18
17
## Prerequisites
19
18
20
19
SAP HANA logs are sent over Syslog. Make sure that your AMA agent or your Log Analytics agent (legacy) is configured to collect Syslog files. For more information, see:
21
20
22
21
For more information, see [Ingest syslog and CEF messages to Microsoft Sentinel with the Azure Monitor Agent](../connect-cef-syslog-ama.md).
23
22
24
-
25
23
## Collect SAP HANA audit logs
26
24
27
25
1. Make sure that the SAP HANA audit log trail is configured to use Syslog, as described in *SAP Note 0002624117*, which is accessible from the [SAP Launchpad support site](https://launchpad.support.sap.com/#/notes/0002624117). For more information, see:
28
26
29
27
-[SAP HANA Audit Trail - Best Practice](https://help.sap.com/docs/SAP_HANA_PLATFORM/b3ee5778bc2e4a089d3299b82ec762a7/35eb4e567d53456088755b8131b7ed1d.html?version=2.0.03)
30
28
-[Recommendations for Auditing](https://help.sap.com/viewer/742945a940f240f4a2a0e39f93d3e2d4/2.0.05/en-US/5c34ecd355e44aa9af3b3e6de4bbf5c1.html)
29
+
-[SAP HANA Security Guide for SAP HANA Platform](https://help.sap.com/docs/SAP_HANA_PLATFORM/b3ee5778bc2e4a089d3299b82ec762a7/4f7cde1125084ea3b8206038530e96ce.html)
31
30
32
-
1. Check your operating system Syslog files for any relevant HANA database events.
31
+
2. Check your operating system Syslog files for any relevant HANA database events.
33
32
34
-
1. Sign into your HANA database operating system as a user with sudo privileges.
33
+
3. Sign into your HANA database operating system as a user with sudo privileges.
35
34
36
-
1. Install an agent on your machine and confirm that your machine is connected. For more information, see:
35
+
4. Install an agent on your machine and confirm that your machine is connected. For more information, see:
> Because the facilities where HANA database events are saved can change between different distributions, we recommend that you add all facilities. Check them against your Syslog logs, and then remove any that aren't relevant.
48
-
>
49
47
50
48
## Verify your configuration
51
49
52
-
In Microsoft Sentinel, check to confirm that HANA database events are now shown in the ingested logs. For example, run the following query:
50
+
Use the following steps in both Microsoft Sentinel and your SAP HANA database to verify that your system is configured as expected.
51
+
52
+
### Microsoft Sentinel
53
+
In Microsoft Sentinel's **Logs** page, check to confirm that HANA database events are now shown in the ingested logs. For example, run the following query:
53
54
54
55
```Kusto
55
56
//generated function structure for custom log Syslog
T_Syslog | union isfuzzy= true (D_Syslog | where TimeGenerated != '1000-01-01T00:00:00Z')
80
81
```
81
82
83
+
### SAP HANA
84
+
85
+
In your SAP HANA database, check your configured audit policies. For more information on the required SQL statements, see [SAP Note 3016478](https://me.sap.com/notes/3016478/E).
82
86
83
-
## Add analytics rules for SAP HANA
87
+
## Add analytics rules for SAP HANA in Microsoft Sentinel
84
88
85
89
Use the following built-in analytics rules to have Microsoft Sentinel start triggering alerts on related SAP HANA activity:
86
90
@@ -93,6 +97,11 @@ For more information, see [Microsoft Sentinel solution for SAP® applications: s
93
97
94
98
## Related content
95
99
100
+
Learn more about the Microsoft Sentinel Solution for SAP BTP:
101
+
102
+
-[Deploy Microsoft Sentinel solution for SAP® applications](deploy-sap-btp-solution.md)
103
+
-[Microsoft Sentinel Solution for SAP BTP: security content reference](sap-btp-security-content.md)
104
+
96
105
Learn more about the Microsoft Sentinel solution for SAP® applications:
97
106
98
107
-[Deploy Microsoft Sentinel solution for SAP® applications](deployment-overview.md)
@@ -107,6 +116,8 @@ Learn more about the Microsoft Sentinel solution for SAP® applications:
107
116
Troubleshooting:
108
117
109
118
-[Troubleshoot your Microsoft Sentinel solution for SAP® applications deployment](sap-deploy-troubleshoot.md)
119
+
-[HANA audit log is not generated in SYSLOG | SAP note](https://me.sap.com/notes/3305033/E)
120
+
-[How to Redirect syslog Auditing for HANA to an alternate location | SAP note](https://me.sap.com/notes/2386609)
0 commit comments