greenbone / gvm-tools

Remote control your Greenbone Community Edition or Greenbone Enterprise Appliance
https://greenbone.github.io/gvm-tools/
GNU General Public License v3.0
166 stars 89 forks source link

Add: New create-consolidated-report container opts #1063

Closed timopollmeier closed 11 months ago

timopollmeier commented 11 months ago

What

This adds the command line options ++container-id and ++new-container-name to the create-consolidated-report script.

The ++container-id option checks if a container task with the given id exists and upload the consolidated report there instead of creating a new task.

The ++new-container-name defines the name of the container task when creating a new one instead of using an automatically generated name.

Why

To give users more control where the report is uploaded.

References

GEA-372

Checklist

github-actions[bot] commented 11 months ago

Conventional Commits Report

Type Number
Added 1

:rocket: Conventional commits found.

codecov[bot] commented 11 months ago

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (5e211b3) 53.10% compared to head (300fb9e) 53.55%.

Files Patch % Lines
scripts/create-consolidated-report.gmp.py 81.81% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1063 +/- ## ========================================== + Coverage 53.10% 53.55% +0.45% ========================================== Files 15 15 Lines 1064 1083 +19 ========================================== + Hits 565 580 +15 - Misses 499 503 +4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.