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

missing project version on sonarqube2hdf #1984

Open
Jiri-Stary opened this issue Nov 3, 2023 · 0 comments
Open

missing project version on sonarqube2hdf #1984

Jiri-Stary opened this issue Nov 3, 2023 · 0 comments

Comments

@Jiri-Stary
Copy link

Ok so i am trying to export sonarqube -> HDF -> SARIF and the conversion is crashing on HDF file not having project version

i am generating HDF file this way

sarif_files_path=$(pwd)
convert_command="docker run --rm -w /share -v ${sarif_files_path}:/share -e SONAR_HOST_URL -e SONAR_TOKEN mitre/saf convert sonarqube2hdf -n -u $SONAR_HOST_URL --auth $SONAR_TOKEN -o ./hdf/sonarqube_scan.json"
echo "Running conversion command: ${convert_command}"
${convert_command}

initialy i though it my be my issue since sonarqube project did not have any version, so i hardcoded it in the sonar analysis via properties and still the value in HDF file is null

attaching sample HDF file
sonarqube_scan.json

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

No branches or pull requests

1 participant