Skip to content

Use Echo Go proxy in CI workflows(AST-189161) - #1599

Merged
cx-atish-jadhav merged 2 commits into
mainfrom
other/echo
Oct 27, 2026
Merged

cx-atish-jadhav merged 2 commits into
mainfrom
other/echo

Conversation

@cx-atish-jadhav

Copy link
Copy Markdown
Contributor

Configure GOPROXY with the Echo Libraries access key across test, lint, vulnerability scan, Trivy, and release workflows. Require the key for reusable release workflow calls.

By submitting this pull request, you agree to the terms within the Checkmarx Code of Conduct. Please review the contributing guidelines for guidance on creating high-quality pull requests.

Description

Please provide a summary of the changes and the related issue. Include relevant motivation and context.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Related Issues

Link any related issues or tickets.

Checklist

  • I have performed a self-review of my code
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in downstream modules
  • I have updated the CLI help for new/changed functionality in this PR (if applicable)
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used

Screenshots (if applicable)

Add screenshots to help explain your changes.

Additional Notes

Add any other relevant information.

Configure GOPROXY with the Echo Libraries access key across test, lint, vulnerability scan, Trivy, and release workflows. Require the key for reusable release workflow calls.
@cx-atish-jadhav
cx-atish-jadhav requested a review from a team October 26, 2026 08:29
@cx-atish-jadhav cx-atish-jadhav self-assigned this Oct 26, 2026
@stepsecurity-app

stepsecurity-app Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

✅ Resolved — a later workflow run passed this policy check.

Original alert (resolved)

Security Policy Alert: Secret Policy Violation

This workflow run has been blocked by StepSecurity's secrets policy because it accesses secrets and the workflow file differs from the default branch.

Secret references detected:

  • secrets.ECHO_LIBRARIES_ACCESS_KEY at line 21

To approve this workflow, please add the workflows-approved label to this PR.

Note: The label must be added by someone other than the PR author (cx-atish-jadhav) or automation bots to ensure proper security review.

After the label is added, you can re-run the blocked workflow to proceed.

This workflow will be automatically approved once merged into the default branch.

For more information, see StepSecurity's Secret Exfiltration Policy documentation.

@stepsecurity-app

Copy link
Copy Markdown
Contributor

Security Policy Alert: Secret Policy Violation

This workflow run has been blocked by StepSecurity's secrets policy because it accesses secrets and the workflow file differs from the default branch.

Secret references detected:

  • secrets.ECHO_LIBRARIES_ACCESS_KEY at line 17

To approve this workflow, please add the workflows-approved label to this PR.

Note: The label must be added by someone other than the PR author (cx-atish-jadhav) or automation bots to ensure proper security review.

After the label is added, you can re-run the blocked workflow to proceed.

This workflow will be automatically approved once merged into the default branch.

For more information, see StepSecurity's Secret Exfiltration Policy documentation.

@stepsecurity-app

Copy link
Copy Markdown
Contributor

Security Policy Alert: Secret Policy Violation

This workflow run has been blocked by StepSecurity's secrets policy because it accesses secrets and the workflow file differs from the default branch.

Secret references detected:

  • secrets.CX_BASE_URI at line 222
  • secrets.CX_CLIENT_ID at line 223
  • secrets.CX_CLIENT_SECRET at line 224
  • secrets.CX_BASE_AUTH_URI at line 225
  • secrets.CX_AST_USERNAME at line 226
  • secrets.CX_AST_PASSWORD at line 227
  • secrets.CX_APIKEY at line 228
  • secrets.CX_TENANT at line 229
  • secrets.CX_SCAN_SSH_KEY at line 230
  • secrets.ECHO_LIBRARIES_ACCESS_KEY at line 232
  • secrets.PERSONAL_ACCESS_TOKEN at line 235
  • secrets.PROXY_USER at line 238
  • secrets.PROXY_PASSWORD at line 239
  • secrets.PR_GITLAB_TOKEN at line 244
  • secrets.PR_GITLAB_NAMESPACE at line 245
  • secrets.PR_GITLAB_REPO_NAME at line 246
  • secrets.PR_GITLAB_PROJECT_ID at line 247
  • secrets.PR_GITLAB_IID at line 248
  • secrets.AZURE_ORG at line 249
  • secrets.AZURE_PROJECT at line 250
  • secrets.AZURE_REPOS at line 251
  • secrets.AZURE_TOKEN at line 252
  • secrets.BITBUCKET_WORKSPACE at line 254
  • secrets.BITBUCKET_REPOS at line 255
  • secrets.BITBUCKET_USERNAME at line 256
  • secrets.BITBUCKET_PASSWORD at line 257
  • secrets.GITLAB_TOKEN at line 258
  • secrets.PR_BITBUCKET_TOKEN at line 260
  • secrets.MS_TEAMS_WEBHOOK_URL_INTEGRATION_TESTS at line 439

To approve this workflow, please add the workflows-approved label to this PR.

Note: The label must be added by someone other than the PR author (cx-atish-jadhav) or automation bots to ensure proper security review.

After the label is added, you can re-run the blocked workflow to proceed.

This workflow will be automatically approved once merged into the default branch.

For more information, see StepSecurity's Secret Exfiltration Policy documentation.

@stepsecurity-app

Copy link
Copy Markdown
Contributor

Security Policy Alert: Secret Policy Violation

This workflow run has been blocked by StepSecurity's secrets policy because it accesses secrets and the workflow file differs from the default branch.

Secret references detected:

  • secrets.ECHO_LIBRARIES_ACCESS_KEY at line 21

To approve this workflow, please add the workflows-approved label to this PR.

Note: The label must be added by someone other than the PR author (cx-atish-jadhav) or automation bots to ensure proper security review.

After the label is added, you can re-run the blocked workflow to proceed.

This workflow will be automatically approved once merged into the default branch.

For more information, see StepSecurity's Secret Exfiltration Policy documentation.

@stepsecurity-app

Copy link
Copy Markdown
Contributor

Security Policy Alert: Secret Policy Violation

This workflow run has been blocked by StepSecurity's secrets policy because it accesses secrets and the workflow file differs from the default branch.

Secret references detected:

  • secrets.ECHO_LIBRARIES_ACCESS_KEY at line 19

To approve this workflow, please add the workflows-approved label to this PR.

Note: The label must be added by someone other than the PR author (cx-atish-jadhav) or automation bots to ensure proper security review.

After the label is added, you can re-run the blocked workflow to proceed.

This workflow will be automatically approved once merged into the default branch.

For more information, see StepSecurity's Secret Exfiltration Policy documentation.

@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

⚠️ Potential secret(s) detected (unverified)

@cx-atish-jadhav — TruffleHog found 12 potential secret(s) in this PR (0 verified, 12 unverified).

Secret Type Status Commit File Path View
URI ⚠️ unverified 0996fc220b internal/commands/gitmetadata_test.go 🔎 View secret
URI ⚠️ unverified 0996fc220b internal/commands/gitmetadata_test.go 🔎 View secret
URI ⚠️ unverified 0996fc220b internal/commands/gitmetadata_test.go 🔎 View secret
URI ⚠️ unverified 0996fc220b internal/commands/gitmetadata_test.go 🔎 View secret
URI ⚠️ unverified 0996fc220b internal/commands/gitmetadata_test.go 🔎 View secret
URI ⚠️ unverified 0996fc220b internal/commands/gitmetadata_test.go 🔎 View secret
URI ⚠️ unverified 6fb5248d7e internal/commands/gitmetadata_test.go 🔎 View secret
URI ⚠️ unverified 6fb5248d7e internal/commands/gitmetadata_test.go 🔎 View secret
URI ⚠️ unverified 6fb5248d7e internal/commands/gitmetadata_test.go 🔎 View secret
URI ⚠️ unverified 6fb5248d7e internal/commands/gitmetadata_test.go 🔎 View secret
URI ⚠️ unverified 6fb5248d7e internal/commands/gitmetadata_test.go 🔎 View secret
URI ⚠️ unverified 6fb5248d7e internal/commands/gitmetadata_test.go 🔎 View secret

🛠 Guidelines to remediate hardcoded secrets

To avoid such incidents in the future consider:

  • Following the best practices for managing and storing secrets, including API keys and other credentials.
  • Re-scan after cleanup before merging.

⚠️ These are unverified matches and do not block the merge — please review and confirm they are not real secrets.

Refresh the Checkmarx Bash base image and upgrade KICS from v2.1.20 to v2.2.0 for scans and remediation. Remove the ignore entry for the base-image vulnerability.

@cx-anurag-dalke cx-anurag-dalke 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.

ok

@cx-atish-jadhav
cx-atish-jadhav merged commit 5ee1ca6 into main Oct 27, 2026
25 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants