Skip to content

updates to loop logic and documentation#14506

Open
AcceleryntSecurityDev wants to merge 1 commit into
Azure:masterfrom
Accelerynt-Security:06-16-2026--AS-Checkmarx-SAST-Ingestion
Open

updates to loop logic and documentation#14506
AcceleryntSecurityDev wants to merge 1 commit into
Azure:masterfrom
Accelerynt-Security:06-16-2026--AS-Checkmarx-SAST-Ingestion

Conversation

@AcceleryntSecurityDev

Copy link
Copy Markdown
Contributor

Reason for Change(s):

  • Updates to pagination logic, loop optimization, improvements to documentation

Version Updated:
-N/A

Testing Completed:

  • Yes
image

@AcceleryntSecurityDev AcceleryntSecurityDev requested review from a team as code owners June 17, 2026 03:13
@v-maheshbh v-maheshbh self-assigned this Jun 17, 2026
@v-maheshbh v-maheshbh added the Playbook Playbook specialty review needed label Jun 17, 2026
@v-maheshbh v-maheshbh requested a review from Copilot June 17, 2026 04:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

This PR updates the Checkmarx SAST ingestion playbook to improve pagination/loop behavior and refresh related documentation so deployments and post-deployment tuning are clearer.

Changes:

  • Added ARM parameters for DCE/DCR resource names to avoid same-RG naming collisions.
  • Updated Logic App workflow logic (scan/result pagination, batching, token handling) and tuned execution limits/concurrency.
  • Updated README deployment links and added a post-deployment tuning section.

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 4 comments.

File Description
Playbooks/AS-Checkmarx-SAST-Ingestion/azuredeploy.json Adds DCE/DCR name parameters and updates Logic App pagination/loop behavior & role assignment scope.
Playbooks/AS-Checkmarx-SAST-Ingestion/README.md Updates deploy buttons to this repo and documents new deployment/tuning guidance.

Comment on lines +120 to 125
"defaultValue": 2,
"minValue": 1,
"metadata": {
"description": "Number of days prior to each run to pull completed Checkmarx scans from. Set higher for an initial backfill, then lower for steady-state daily runs."
}
},
"ScanPageSize": {
"type": "int",
"defaultValue": 100,
"metadata": {
"description": "Page size for the Checkmarx /api/scans pagination loop"
}
},
"BatchSize": {
"type": "int",
"defaultValue": 200,
"metadata": {
"description": "Number of SAST results sent per DCR ingestion request. The DCR API enforces a 1 MB maximum payload size; this controls how results are chunked to stay under that limit."
"description": "Number of days prior to each run to pull completed Checkmarx scans from. Default is 2. Set higher for an initial backfill, then reduce for steady-state daily operation. Can be changed later by editing the LookbackDays variable in the Logic App's Initialize_Variables action."
}
}
Comment on lines 299 to 313
{
"name": "BatchSize",
"name": "ScanPageSize",
"type": "integer",
"value": "[parameters('BatchSize')]"
"value": 100
},
{
"name": "ScanPageSize",
"name": "ResultPageSize",
"type": "integer",
"value": 1000
},
{
"name": "BatchSize",
"type": "integer",
"value": "[parameters('ScanPageSize')]"
"value": 200
},
Comment on lines +788 to +792
"runtimeConfiguration": {
"concurrency": {
"repetitions": 10
}
}
* Role assignment may still be propagating. Wait up to 10 minutes after deployment before retrying.

**Logic App fails at "HTTP - Get Token" step:**
**Logic App fails at "HTTP - Get Token Initial" or "HTTP - Refresh Token" step:**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Playbook Playbook specialty review needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants