diff --git a/Packs/CyberArkEPV/README.md b/Packs/CyberArkEPV/README.md index 41de4207d1f2..a58ce5a2ad9d 100644 --- a/Packs/CyberArkEPV/README.md +++ b/Packs/CyberArkEPV/README.md @@ -16,7 +16,189 @@ the XML event records must be converted to suitable [CEF](https://www.microfocus ### Set up the XSL Translator This transformation from XML event records to CEF messages is done though a suitable [XSL](https://en.wikipedia.org/wiki/XSL) translator file. -An example of an XSL file can be found [here](https://raw.githubusercontent.com/demisto/content/fcf4535d373df78bded4b1bedacdd505d25cc095/Packs/CyberArkEPV/doc_files/XSIAM.xsl). This file can be used directly within the target vault. +The following is an example for an XSL file. This file can be used directly within the target vault; +``` xml + + + + + + + + CEF:0|||||Failure: + + + + |10750|act= + + + + suser= + + + + fname= + + + + dvc= + + + + shost= + + + + + + + + + + + + dhost= + + + + + + + + + + + + + + + + + + + + + + + + + duser= + + + + + + + + + + + + + + + + + externalId= + + + + app= + + + + reason= + + + + cs1Label=Affected User Name cs1= + + + + cs2Label=Safe Name cs2= + + + + cs3Label=Device Type cs3= + + + + cs4Label=Database cs4= + + + + cs5Label=Other info cs5= + + + + + + + + + + + + cs6Label=IsoTimestamp cs6= + + + + cn1Label=RequestId cn1= cn2Label=TicketId cn2= msg= + + + + Failure: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +``` + #### Set up the Syslog Configuration 1. Navigate to the *Conf* subfolder under the CyberArk Vault server installation folder (*PrivateArk\Server\Conf*). diff --git a/Packs/Salesforce/ParsingRules/SalesforceParsingRules/SalesforceParsingRules.xif b/Packs/Salesforce/ParsingRules/SalesforceParsingRules/SalesforceParsingRules.xif index 9f6c7e10f894..57faaebf629e 100644 --- a/Packs/Salesforce/ParsingRules/SalesforceParsingRules/SalesforceParsingRules.xif +++ b/Packs/Salesforce/ParsingRules/SalesforceParsingRules/SalesforceParsingRules.xif @@ -11,14 +11,10 @@ filter CreatedDate ~= "\d{4}\-\d{2}\-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}[+-]\d{4}" [INGEST:vendor="salesforce", product="eventlogfile", target_dataset="salesforce_eventlogfile_raw", no_hit = keep] -filter to_string(_TIMESTAMP_DERIVED_) ~= "\d{4}\-\d{2}\-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z" -| alter tmp_time_string = arrayindex(regextract(to_string(_TIMESTAMP_DERIVED_) , "\d{4}\-\d{2}\-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z"),0) -| alter _time = parse_timestamp("%Y-%m-%dT%H:%M:%E3SZ", tmp_time_string ) -| fields -tmp_time_string; +filter to_string(TIMESTAMP_DERIVED) ~= "\d{4}\-\d{2}\-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z" +| alter _time = TIMESTAMP_DERIVED; [INGEST:vendor="salesforce", product="login", target_dataset="salesforce_login_raw", no_hit = keep] -filter to_string(_TIMESTAMP_DERIVED_) ~= "\d{4}\-\d{2}\-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z" -| alter tmp_time_string = arrayindex(regextract(to_string(_TIMESTAMP_DERIVED_) , "\d{4}\-\d{2}\-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z"),0) -| alter _time = parse_timestamp("%Y-%m-%dT%H:%M:%E3SZ", tmp_time_string ) -| fields -tmp_time_string; \ No newline at end of file +filter to_string(TIMESTAMP_DERIVED) ~= "\d{4}\-\d{2}\-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z" +| alter _time = TIMESTAMP_DERIVED; \ No newline at end of file diff --git a/Packs/Salesforce/ReleaseNotes/2_1_2.md b/Packs/Salesforce/ReleaseNotes/2_1_2.md new file mode 100644 index 000000000000..99911fe7010a --- /dev/null +++ b/Packs/Salesforce/ReleaseNotes/2_1_2.md @@ -0,0 +1,6 @@ + +#### Parsing Rules + +##### Salesforce Parsing Rule + +Updated the Salesforce Parsing Rule parsing rule. Removed the underscores at the beginning and end of the **TIMESTAMP_DERIVED** field. diff --git a/Packs/Salesforce/pack_metadata.json b/Packs/Salesforce/pack_metadata.json index 5946b16eca81..a94f9036853e 100644 --- a/Packs/Salesforce/pack_metadata.json +++ b/Packs/Salesforce/pack_metadata.json @@ -2,7 +2,7 @@ "name": "Salesforce", "description": "CRM Services", "support": "xsoar", - "currentVersion": "2.1.1", + "currentVersion": "2.1.2", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "", @@ -10,12 +10,16 @@ "categories": [ "Case Management" ], - "tags": [], + "tags": [ + "Security" + ], "useCases": [], - "keywords": [], + "keywords": [ + "salesforce" + ], "marketplaces": [ "xsoar", "marketplacev2" ], "defaultDataSource": "Salesforce" -} \ No newline at end of file +}