Skip to content

Commit 87a38a6

Browse files
committed
Updating content per recording
1 parent 30a679f commit 87a38a6

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

articles/sentinel/sap/update-sap-data-connector.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Update Microsoft Sentinel's SAP data connector agent
33
description: This article shows you how to update an already existing SAP data connector to its latest version.
44
author: MSFTandrelom
55
ms.author: andrelom
6-
ms.topic: reference
6+
ms.topic: how-to
77
ms.date: 12/31/2022
88
---
99

@@ -13,23 +13,25 @@ This article shows you how to update an already existing Microsoft Sentinel for
1313

1414
If you have a Docker container already running with an earlier version of the SAP data connector, run the SAP data connector update script to get the latest features available.
1515

16-
You can choose to [enable auto-update](#automatically-update-the-sap-data-connector-agent) the SAP data connector agent when a new version of the SAP agent is available, or [manually update the agent](#manually-update-sap-data-connector-agent).
16+
You can choose to [enable automatic updates](#automatically-update-the-sap-data-connector-agent) for the SAP data connector agent, or [manually update the agent](#manually-update-sap-data-connector-agent).
17+
18+
Note that the automatic or manual update described in this article are relevant to the SAP connector agent only, and not to the Microsoft Sentinel Solution for SAP. To successfully update the solution, your agent needs to be up to date. The solution is updated separately.
1719

1820
## Automatically update the SAP data connector agent
1921

2022
You can choose to enable automatic updates for the connector agent on [all existing containers](#enable-automatic-updates-on-all-existing-containers) or a [specific container](#enable-automatic-updates-on-a-specific-container).
2123

2224
### Enable automatic updates on all existing containers
2325

24-
To enable automatic updates on all existing containers, run the following command:
26+
To enable automatic updates on all existing containers (all containers with a connected SAP agent), run the following command:
2527

2628
```
2729
wget -O sapcon-sentinel-auto-update.sh https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/Solutions/SAP/sapcon-sentinel-auto-update.sh && bash ./sapcon-sentinel-auto-update.sh
2830
```
2931

30-
The command creates a cron job that runs daily and checks for updates. If the job detects a new version of the agent, it updates the agent on all containers that exist when you run the command above. This includes containers in a Preview version. If you add containers after you run the command, the new containers are not automatically updated.
32+
The command creates a cron job that runs daily and checks for updates. If the job detects a new version of the agent, it updates the agent on all containers that exist when you run the command above. The job also checks containers running a Preview version. If the Preview version is newer than the later version, the job doesn't update those containers.
3133

32-
To update additional containers, in the */opt/sapcon/[SID or Agent GUID]/settings.json* file, define the `auto_update` parameter for each of the containers as `true`.
34+
If you add containers after you run the cron job, the new containers are not automatically updated. To update these containers, in the */opt/sapcon/[SID or Agent GUID]/settings.json* file, define the `auto_update` parameter for each of the containers as `true`.
3335

3436
The logs for this update are under *var/log/sapcon-sentinel-register-autoupdate.log/*.
3537

@@ -43,14 +45,17 @@ wget -O sapcon-sentinel-auto-update.sh https://raw.githubusercontent.com/Azure/A
4345

4446
The logs for this update are under */var/log/sapcon-sentinel-register-autoupdate.log*.
4547

48+
### Disable automatic updates
49+
50+
To disable automatic updates for a container or containers, define the `auto_update` parameter for each of the containers as `false`.
4651

4752
## Manually update SAP data connector agent
4853

49-
Make sure that you have the most recent versions of the relevant deployment scripts from the Microsoft Sentinel GitHub repository.
54+
To manually update the connector agent, make sure that you have the most recent versions of the relevant deployment scripts from the Microsoft Sentinel GitHub repository.
5055

5156
Run:
5257

53-
```azurecli
58+
```
5459
wget -O sapcon-instance-update.sh https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/Solutions/SAP/sapcon-instance-update.sh && bash ./sapcon-instance-update.sh
5560
```
5661

0 commit comments

Comments
 (0)