Skip to content
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

SAST-6130 | New Feature Export Project Configurations #109

Merged
merged 9 commits into from
Jan 14, 2025

Conversation

cx-RomeuAlves
Copy link
Collaborator

@cx-RomeuAlves cx-RomeuAlves commented Jan 2, 2025

Description

This PR complements the SAST Exporter by introducing functionality to export engine configurations, specifically addressing the configurations that users can set within SAST On-Prem scans. This change ensures that engine configurations are exported to two new files that I will describe bellow.

The idea is that if a user has for example a project set with Fast Scan configuration this can be migrated to CxOne.

engine_configuration_mappings.json

This file contains the mappings of all the configurations:
image

image

engine_configuration_per_project.json

This file contains the configuration per project

image

But then only the relevant information will be saved in the project

image

References

https://checkmarx.atlassian.net/browse/SAST-6130

Testing

Added unit tests for the new engine configuration export functionality.
Verified that the tests run without errors.

Checklist

  • I have added documentation for new/changed functionality in this PR (if applicable). If documentation is a Wiki Update, please indicate desired changes within PR MD Comment
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used

@cx-RomeuAlves cx-RomeuAlves self-assigned this Jan 7, 2025
@cx-RomeuAlves cx-RomeuAlves marked this pull request as ready for review January 13, 2025 11:53
Copy link

Logo
Checkmarx One – Scan Summary & Detailsfe9bfcdc-0a1b-4d40-b095-b3dfa0c78215

Great job, no security vulnerabilities found in this Pull Request

@cx-RomeuAlves cx-RomeuAlves merged commit 908afd1 into master Jan 14, 2025
6 checks passed
@cx-RomeuAlves cx-RomeuAlves deleted the SAST-6130/ExportScanConfigurations branch January 14, 2025 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants