Skip to content

Commit 67141c2

Browse files
Merge pull request #283415 from MartinPankraz/sentinel-hana-db-guide-update
hana guide update
2 parents 902e972 + b77d871 commit 67141c2

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

articles/sentinel/sap/collect-sap-hana-audit-logs.md

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,42 +14,43 @@ This article explains how to collect audit logs from your SAP HANA database.
1414
> [!IMPORTANT]
1515
> 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.
1616
17-
1817
## Prerequisites
1918

2019
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:
2120

2221
For more information, see [Ingest syslog and CEF messages to Microsoft Sentinel with the Azure Monitor Agent](../connect-cef-syslog-ama.md).
2322

24-
2523
## Collect SAP HANA audit logs
2624

2725
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:
2826

2927
- [SAP HANA Audit Trail - Best Practice](https://help.sap.com/docs/SAP_HANA_PLATFORM/b3ee5778bc2e4a089d3299b82ec762a7/35eb4e567d53456088755b8131b7ed1d.html?version=2.0.03)
3028
- [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)
3130

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.
3332

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.
3534

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:
3736

3837
- [Azure Monitor Agent](/azure/azure-monitor/agents/azure-monitor-agent-manage?tabs=azure-portal)
3938
- [Log Analytics Agent](../../azure-monitor/agents/agent-linux.md) (legacy)
4039

41-
1. Configure your agent to collect Syslog data. For more information, see:
40+
5. Configure your agent to collect Syslog data. For more information, see:
4241

4342
- [Azure Monitor Agent](/azure/azure-monitor/agents/data-collection-syslog)
4443
- [Log Analytics Agent](/azure/azure-monitor/agents/data-sources-syslog) (legacy)
4544

4645
> [!TIP]
4746
> 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-
>
4947
5048
## Verify your configuration
5149

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:
5354

5455
```Kusto
5556
//generated function structure for custom log Syslog
@@ -79,8 +80,11 @@ TimeGenerated = column_ifexists('TimeGenerated', '1000-01-01T00:00:00Z')
7980
T_Syslog | union isfuzzy= true (D_Syslog | where TimeGenerated != '1000-01-01T00:00:00Z')
8081
```
8182

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).
8286

83-
## Add analytics rules for SAP HANA
87+
## Add analytics rules for SAP HANA in Microsoft Sentinel
8488

8589
Use the following built-in analytics rules to have Microsoft Sentinel start triggering alerts on related SAP HANA activity:
8690

@@ -93,6 +97,11 @@ For more information, see [Microsoft Sentinel solution for SAP® applications: s
9397

9498
## Related content
9599

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+
96105
Learn more about the Microsoft Sentinel solution for SAP® applications:
97106

98107
- [Deploy Microsoft Sentinel solution for SAP® applications](deployment-overview.md)
@@ -107,6 +116,8 @@ Learn more about the Microsoft Sentinel solution for SAP® applications:
107116
Troubleshooting:
108117

109118
- [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)
110121

111122
Reference files:
112123

@@ -117,4 +128,3 @@ Reference files:
117128
- [Systemconfig.ini file reference](reference-systemconfig.md)
118129

119130
For more information, see [Microsoft Sentinel solutions](../sentinel-solutions.md).
120-

0 commit comments

Comments
 (0)