Skip to content

Primary branch flag for scan create command (AST-102468) #1207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

cx-anjali-deore
Copy link
Contributor

@cx-anjali-deore cx-anjali-deore commented Jul 3, 2025

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

Create an optional flag in the Create Scan command to define a PRIMARY branch --branch-primary

Type of Change

  • New feature (non-breaking change which adds functionality)
  • 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 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.

@cx-anjali-deore cx-anjali-deore changed the title Feature/branch primary ast 102468 primary branch flag for scan create command (AST-102468) Jul 3, 2025
@cx-anjali-deore cx-anjali-deore changed the title primary branch flag for scan create command (AST-102468) Primary branch flag for scan create command (AST-102468) Jul 3, 2025
Copy link

github-actions bot commented Jul 3, 2025

Logo
Checkmarx One – Scan Summary & Details54567b22-b7e5-40a1-ae7a-ce1bb0fa9d31

New Issues (1)

Checkmarx found the following issues in this Pull Request

Severity Issue Source File / Package Checkmarx Insight
MEDIUM Cx29be568b-d699 Go-github.com/mitchellh/mapstructure-v1.5.0
detailsDescription: A vulnerability in github.com/go-viper/mapstructure/v2 package prior to version 2.3.0, allows attackers to trigger error messages that may expose s...
Attack Vector: NETWORK
Attack Complexity: HIGH

ID: lTxTAcmNYl7JusHa08MKAEI6cWPRu3FoFkOYuh%2FkTl8%3D
Vulnerable Package

@cx-anjali-deore cx-anjali-deore force-pushed the feature/BranchPrimary-AST-102468 branch from 6622446 to 4a86a14 Compare July 4, 2025 12:44
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.

1 participant