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/update-sap-data-connector.md
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Update Microsoft Sentinel's SAP data connector agent
3
3
description: This article shows you how to update an already existing SAP data connector to its latest version.
4
4
author: MSFTandrelom
5
5
ms.author: andrelom
6
-
ms.topic: reference
6
+
ms.topic: how-to
7
7
ms.date: 12/31/2022
8
8
---
9
9
@@ -13,23 +13,25 @@ This article shows you how to update an already existing Microsoft Sentinel for
13
13
14
14
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.
15
15
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.
17
19
18
20
## Automatically update the SAP data connector agent
19
21
20
22
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).
21
23
22
24
### Enable automatic updates on all existing containers
23
25
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:
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.
31
33
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`.
33
35
34
36
The logs for this update are under *var/log/sapcon-sentinel-register-autoupdate.log/*.
The logs for this update are under */var/log/sapcon-sentinel-register-autoupdate.log*.
45
47
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`.
46
51
47
52
## Manually update SAP data connector agent
48
53
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.
0 commit comments