Skip to main content

SAP Cloud For Customer (C4C)

This Integration is part of the SAP Cloud For Customer C4C Pack.#

Supported versions

Supported Cortex XSOAR versions: 8.0.0 and later.

Use the SAP Cloud for Customer C4C integration to fetch events from SAP Cloud API.

Configure SAP Cloud For Customer C4C in Cortex#

ParameterDescriptionRequired
Server URLConfirm that the pre-filled URL matches the correct API endpoint for your SAP C4C integration instance.True
UsernameThe credentials to associate with the instance.True
PasswordThe password to set for the user.True
Report IDThe unique identifier of the report to retrieve data from SAP Cloud for Customer (C4C).True
Trust any certificate (not secure)False
Use system proxy settingsRuns the integration instance using the proxy server (HTTP or HTTPS) that you defined in the server configuration.False
Maximum number of audit events per fetchMaximum number of events to retrieve per fetch. The default value is 10000.False

Timezone Configuration#

Before configuring this integration, you must ensure that the timezone for the user configured in your SAP C4C instance matches the UTC format. Failure to do so may result in errors when fetching events due to timestamp mismatches.

To configure the timezone for your technical user in SAP C4C, follow these steps:

  1. Log in to your SAP C4C system with an administrator account.
  2. Navigate to Application and User Management -> Business Users.
  3. Find and select the technical user that will be used for this integration.
  4. Go to the Details section for the selected user.
  5. Under the General tab, locate the Time Zone field.
  6. Set the time zone to a UTC format (e.g., "UTC", "UTC+01:00", "UTC-05:00").
  7. Save your changes.

For a detailed explanation and visual guide, please refer to the following SAP Community blog post: Technical User Date Time Format Settings Change in C4C.

Commands#

You can execute these commands from the CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.

sap-cloud-get-events#


Retrieves events from the SAP Cloud for Customer API.

Base Command#

sap-cloud-get-events

Input#

Argument NameDescriptionRequired
start_dateThe start date for filtering events. Events newer than or equal to this date will be retrieved.
Must be in DD-MM-YYYY HH:MM:SS format (e.g., 10-07-2025 14:17:46).
.
Required
days_from_startThe number of days to include events after the start_date. For example, if start_date is
'10-07-2025 10:00:00' and days_from_start is '2', events will be retrieved up to '12-07-2025 10:00:00'.
It's recommended to keep this value no more than 5 days to avoid very large result sets.
. Default is 2.
Optional
should_push_eventsSet to true to create events in your system from the retrieved data.
If false (default), the command will only display the events without creating them.
. Possible values are: true, false. Default is false.
Optional
limitThe maximum number of events to retrieve. If more events match the criteria, only this
specified amount will be returned.
. Default is 10.
Optional

Context Output#

There is no context output for this command.

Command example#

!sap-cloud-get-events start_date="01-07-2025 14:00:00" limit="5"

Human Readable Output#

Indicators from Anomali ThreatStream Feed#

BROWSERCBROWSER_VERSIONCCAL_DAYCCLIENT_TYPECCOLD_START_INDCDEVICE_TYPE
02ver12025-04-05RUI1default
02ver22025-04-05RUI2default
02ver32025-04-05RUI2default
02ver42025-04-05RUI1default
02ver52025-04-05RUI1default