Collect data from Sophos
Overview
Get SIEM Integration events from Sophos.
Configuration
Secrets
secrets.Sophos.client_IDwill reference the Client IDsecrets.Sophos_Client_Secretwill reference the Client Secret.


To add a Secret, open the Secret fields and click New secret:
Give the secret a Name.
Turn off the Expiration date option.
Click Add new value and paste the secret corresponding to the value.
Click Save.


You can now select the secret you just created in the corresponding fields.
After entering the required secrets, you can choose to manually enter the Sophos SIEM integration event fields, or simply paste the given YAML:
Toggle this ON to enable a free text field where you can paste your Cortex XDR multi alerts YAML.
Temporal Window
Toggle ON to add a temporal window for events. This repeatedly shifts the time window over which data is collected.
Duration - 5 minutes (
5m) as default, adjust based on your needs.Offset -
5mFormat -
Epoch
Authentication Phase
Toggle ON to set the Authentication settings.
Type* -
tokenRequest Method* -
POSTURL* -
https://id.sophos.com/api/v2/oauth2/tokenHeaders
Name -
Content-typeValue -
application/x-www-form-urlencoded
BodyType* -
UrlEncodedBody params
Name -
grant_typeValue -
client_credentialsName -
client_idValue -
${secrets.Sophos_Client_ID}Name -
client_secretValue -
${secrets.Sophos_Client_Secret}Name -
scopeValue -
token
Token Path* -
.access_tokenAuth Injection
In* -
headerName* -
authorizationPrefix -
BearerSuffix -
''
Enumeration Phase
Toggle ON to configure the enumeration phase. This API endpoint requires an initial request that will provide a list of alert ids. In order to get the details about that information, it will require an additional request for those details.
Pagination Type* -
noneRequest
Response Type* - JSON
Method* -
GETURL* -
https://api.central.sophos.com/whoami/v1Headers
Name - Accept
Value - application/json
Name - Accept-Encoding
Value - gzip, deflate
Name - Content-Type
Value - application/json
Name - Cache-Control
Value - no-cache
Output
Select -
.Filter -
.Map -
.Output Mode -
element
Collection Phase
Inputs
Source - input
Name - tenantId
Expression -
.idFormat -
''
Source - input
Name - dataRegionURL
Expression -
.apiHosts.dataRegionFormat -
''
Pagination Type* -
cursorCursor Selector* -
.next_cursorInitial Request
Method* -
GETURL* -
${inputs.dataRegionURL}/siem/v1/eventsHeaders -
Name - Accept
Value -
application/jsonName - Accept-Encoding
Value -
gzip, deflateName - X-Tenant-ID
Value -
${inputs.tenantId}
Query Params
Name - from_date
Value -
${temporalWindow.from}
Next Request
Method* -
GETURL* -
${inputs.dataRegionURL}/siem/v1/eventsHeaders -
Name -
AcceptValue -
application/jsonName - Accept-Encoding
Value -
gzip, deflateName - X-Tenant-ID
Value -
${inputs.tenantId}
Body type* - there is no required body type because the parameters are included in the URL. However, these fields are mandatory, so select
rawand enter the{}placeholder.
Output
Select -
.itemsFilter -
.Map -
.Output Mode -
element
This HTTP Pull Listener now uses the data export API to extract events.
Click Create labels to move on to the next step and define the required Labels if needed.
Last updated
Was this helpful?

