Skip to content

CyberArk Audit New CCF Data Connector#13473

Merged
v-dvedak merged 22 commits intoAzure:masterfrom
nitsan-tzur:cyberark-audit-ccf
Mar 3, 2026
Merged

CyberArk Audit New CCF Data Connector#13473
v-dvedak merged 22 commits intoAzure:masterfrom
nitsan-tzur:cyberark-audit-ccf

Conversation

@nitsan-tzur
Copy link
Contributor

Required items, please complete

Change(s):

  • New Audit Service CCF data connector

Reason for Change(s):

  • An alternative to Azure Functions based connector

Testing Completed:

  • Yes

@nitsan-tzur nitsan-tzur requested review from a team as code owners January 20, 2026 18:47
@v-maheshbh
Copy link
Contributor

Hi @nitsan-tzur
Kindly attach the CCF connector screenshot in the connected state, and please share the invocation details and logs.

Thanks!

@nitsan-tzur
Copy link
Contributor Author

Hi @v-maheshbh, attaching relevant screenshots of connected status and recent data fetch from target custom table
Screenshot 2026-01-21 at 8 05 21 AM
Screenshot 2026-01-21 at 8 04 34 AM

@v-maheshbh
Copy link
Contributor

Hi @nitsan-tzur
Since the solution was originally implemented using an Azure Functions–based connector and now incorporates a CCF connector, the earlier Azure Function implementation is recommended to be deprecated.

Thanks!

@nitsan-tzur
Copy link
Contributor Author

Hi @nitsan-tzur Since the solution was originally implemented using an Azure Functions–based connector and now incorporates a CCF connector, the earlier Azure Function implementation is recommended to be deprecated.

Thanks!

It was discussed and agreed with Microsoft team we've worked with on CCF to not deprecate the Azure Functions connector at this point

@v-maheshbh
Copy link
Contributor

v-maheshbh commented Jan 23, 2026

Hi @nitsan-tzur
Kindly repackage the solution, as the createUiDefinition file has not been updated to align with the analytical rule and the mainTemplate file.
As the last published version on the Content Hub is 3.0.2 while the current package has been built with version 3.1.0.

Thanks!

@nitsan-tzur
Copy link
Contributor Author

Hi @nitsan-tzur Kindly repackage the solution, as the createUiDefinition file has not been updated to align with the analytical rule and the mainTemplate file. As the last published version on the Content Hub is 3.0.2 while the current package has been built with version 3.1.0.

Thanks!

Hi @v-maheshbh,
Edited createUiDefinition.json and zip package were updated

Co-authored-by: nitsan-tzur <153099157+nitsan-tzur@users.noreply.github.com>
@v-maheshbh
Copy link
Contributor

Hi @nitsan-tzur

The solution contains three analytical rules, which are not reflected here.
Kindly repackage the solution using the V3 tool:
https://github.com/Azure/Azure-Sentinel/blob/master/Tools/Create-Azure-Sentinel-Solution/V3/README.md

image

@nitsan-tzur
Copy link
Contributor Author

Hi @nitsan-tzur

The solution contains three analytical rules, which are not reflected here. Kindly repackage the solution using the V3 tool: https://github.com/Azure/Azure-Sentinel/blob/master/Tools/Create-Azure-Sentinel-Solution/V3/README.md

image

Hi @v-maheshbh updated Analytic Rules in createUiDefinition.json

@v-maheshbh
Copy link
Contributor

Hi @nitsan-tzur
The main template deployment is failing. Kindly review the configuration and address the underlying issue to ensure successful deployment.

image

Thanks!

@nitsan-tzur
Copy link
Contributor Author

Hi @nitsan-tzur The main template deployment is failing. Kindly review the configuration and address the underlying issue to ensure successful deployment.

image Thanks!

Hi @v-maheshbh please see screen shots of successful deployment with corresponding paramters.
I think you might have misconfigured the deployment parameters
Screenshot 2026-01-29 at 9 51 46 AM
Screenshot 2026-01-29 at 9 51 11 AM

@v-maheshbh
Copy link
Contributor

Hi @nitsan-tzur

I checked on my end and I'm getting a deployment error. Please verify using the latest main template.

Thanks!

@nitsan-tzur
Copy link
Contributor Author

Hi @nitsan-tzur

I checked on my end and I'm getting a deployment error. Please verify using the latest main template.

Thanks!

Hi @v-maheshbh
Please see attached a successful fresh deployment from today. Looking at the screenshot you've shared it seems you've entered a wrong workspace-location parameter. It should be a valid Azure region value e.g. eastus
Screenshot 2026-02-04 at 10 17 18 AM

Update CyberArkAudit solution package (3.1.0) and ARM/UI templates. Changes include UI text simplification and wording updates, renaming/reshuffling of analytic section labels and descriptions, removal of some duplicate guidance, and minor metadata tweaks. mainTemplate.json: swap/rename workspace parameters, add three AnalyticsRule template objects (scheduled rules) with queries and metadata, introduce stepId variable usage, update data connector titles and graph table name to CyberArkAuditV2_CL, add x-cybr-telemetry header, fix OAuth label casing, and include manual Azure Functions deployment instructions. Also update stream/CL schema (column order/types) and transformKql to cast dynamic fields. Binary package 3.1.0.zip was updated to match these changes.
@v-maheshbh
Copy link
Contributor

v-maheshbh commented Feb 9, 2026

Hi @nitsan-tzur

Kindly note that I have repackaged the solution, as the analytic rule was not previously updated correctly in the mainTemplate.json.
The analytic rule has been updated now. Kindly check once and confirm if everything is working as expected after deployment.
image

Thanks!

@nitsan-tzur
Copy link
Contributor Author

Hi @nitsan-tzur

Kindly note that I have repackaged the solution, as the analytic rule was not previously updated correctly in the mainTemplate.json. The analytic rule has been updated now. Kindly check once and confirm if everything is working as expected after deployment. image

Thanks!

Hi @v-maheshbh,
Please see attached an error I'm getting trying to deploy recent changes. Also, the renaming of CyberArk_AuditEvents_CL (that you've reverted) was made intentionally to support seamless transition from Azure Functions based connector to CCF, keeping data flowing to already existing table.
image

@v-maheshbh
Copy link
Contributor

Hi @nitsan-tzur
Kindly review the comments shared above and address them accordingly.

image

Thanks!

@nitsan-tzur
Copy link
Contributor Author

Hi @nitsan-tzur Kindly review the comments shared above and address them accordingly.

image Thanks!

Hi @v-maheshbh,

Table renamed as suggested but template validation is still failing on same error:
{
"code": "InvalidTemplate",
"message": "Deployment template validation failed: 'The resource 'Microsoft.OperationalInsights/workspaces/eastus/providers/Microsoft.SecurityInsights/contentTemplates/eastus-ar-aaaaaaaaaaaaa' at line '1' and column '58754' is defined multiple times in a template. Please see https://aka.ms/arm-syntax-resources for usage details.'."
}

Add explicit GUID ids to three CyberArk analytics rule YAMLs and update mainTemplate.json to reference those IDs (contentId, analyticRuleId, template spec names, and product productIds). Bump API versions for CyberArkAuditDCR and CyberArk_AuditEvents_CL to 2025-07-01. Replace variable stepId usage with literal CreateQuery and normalize fieldMappings key order. Update packaged artifact 3.1.0.zip.
@v-maheshbh
Copy link
Contributor

Hi @nitsan-tzur Kindly review the comments shared above and address them accordingly.
image
Thanks!

Hi @v-maheshbh,

Table renamed as suggested but template validation is still failing on same error: { "code": "InvalidTemplate", "message": "Deployment template validation failed: 'The resource 'Microsoft.OperationalInsights/workspaces/eastus/providers/Microsoft.SecurityInsights/contentTemplates/eastus-ar-aaaaaaaaaaaaa' at line '1' and column '58754' is defined multiple times in a template. Please see https://aka.ms/arm-syntax-resources for usage details.'." }

Hi @nitsan-tzur

The above error was encountered because the GUID was missing in the analytical rule. This issue has now been resolved.
Kindly deploy the latest main template and attach a testing screenshot of the CCF data connector in a connected state for reference.

Thanks!

@v-maheshbh
Copy link
Contributor

Hi @nitsan-tzur

Kindly review and address the above comments.

Thanks!

@nitsan-tzur
Copy link
Contributor Author

Hi @nitsan-tzur

Kindly review and address the above comments.

Thanks!

Hi @nitsan-tzur

Kindly review and address the above comments.

Thanks!

Hi @v-maheshbh,

Getting this error after connecting:
Failed to create required resources for data connector InvalidPayload:Data collection rule is invalid, [{"code":"InvalidTransformOutput","message":"Types of transform output columns do not match the ones defined by the output stream: timestamp [produced:'Long', output:'Int']","target":"properties.dataFlows[0]"}]

@nitsan-tzur
Copy link
Contributor Author

@v-maheshbh I pushed a fix addressing latest deployment error.
E2E test are passing on our end

@v-maheshbh
Copy link
Contributor

Hi @nitsan-tzur

Kindly update the datatype of the timestamp field in both the DCR and the corresponding custom table schema. This will ensure the updated schema is reflected correctly in the packaged solution and in the main template.

Please avoid manual updates to the main template, as this is not recommended.

Thanks!

@nitsan-tzur
Copy link
Contributor Author

Hi @nitsan-tzur

Kindly update the datatype of the timestamp field in both the DCR and the corresponding custom table schema. This will ensure the updated schema is reflected correctly in the packaged solution and in the main template.

Please avoid manual updates to the main template, as this is not recommended.

Thanks!

Hi @v-maheshbh,
DCR was updated together with new zip package

Update CyberArkAudit package (3.1.0.zip) and mainTemplate.json. Swap/rename the 'workspace' and 'workspace-location' parameter blocks (adjusting defaultValue and metadata; workspace-location description now uses a concat with parameters('location')). Normalize entityMappings across multiple rule definitions by moving 'entityType' before 'fieldMappings' and standardizing the order of 'columnName' and 'identifier' in field mappings for Account/Host/IP entries. These edits tidy the JSON structure and improve consistency.
@v-maheshbh
Copy link
Contributor

Hi @nitsan-tzur
Kindly deploy the latest main template and attach the screenshot showing the CCF connected state so we can proceed with the approval.

Thanks!

@nitsan-tzur
Copy link
Contributor Author

Hi @nitsan-tzur Kindly deploy the latest main template and attach the screenshot showing the CCF connected state so we can proceed with the approval.

Thanks!

Hi @v-maheshbh,
Please find attached screenshot of connected CCF and data flowing in
Screenshot 2026-03-02 at 8 37 31 AM

@v-dvedak v-dvedak merged commit 3e6be17 into Azure:master Mar 3, 2026
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants