Fix Verkada.json schema and template expressions for RestApiPoller compatibility#1
Merged
Conversation
Copilot
AI
changed the title
[WIP] Fix Sentinel Verkada.json to satisfy TimeGenerated schema and deployment ordering
Fix Verkada.json schema and template expressions for RestApiPoller compatibility
Aug 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes critical issues in
Sentinel/CCF/Verkada.jsonthat were preventing the RestApiPoller data connector from successfully creating required resources.Issues Fixed
1. Table Schema Type Mismatch
The
Verkada_Camera_Alerts_CLtable had an incorrectTimeGeneratedcolumn type that caused deployment failures:"type": "Datetime"(uppercase)"type": "datetime"(lowercase)2. DCR Schema Inconsistencies
The Data Collection Rule (DCR) had mismatched column types compared to the target table:
TimeGeneratedtype from"Datetime"to"datetime"createdtype from"string"to"datetime"to match table schema3. Incomplete Transform Logic
The KQL transform was missing the
createdcolumn in the final projection:4. Template Deployment Dependencies
Added missing dependency to ensure proper deployment order:
5. ARM Template Expression Typos
Fixed multiple template expression syntax errors:
"[[newGuid()]"→"[newGuid()]""[[concat(...)]"→"[concat(...)]""[[parameters('password')]"→"[parameters('password')]""[[parameters('dcrConfig')...]"→"[parameters('dcrConfig')...]"6. Resource Definition Cleanup
Removed unnecessary
"kind": nullproperty from table resource definition.Validation
[[patterns)Result: The RestApiPoller data connector will now successfully deploy without schema validation errors, and the Connections template will wait for prerequisite resources to be created.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.