GitGuardian / ggshield

Find and fix 400+ types of hardcoded secrets and 70+ types of infrastructure-as-code misconfigurations.
https://gitguardian.com
MIT License
1.62k stars 143 forks source link

feat(ignore): add output for no longer ignored incidents #805

Closed carla-gitguardian closed 9 months ago

carla-gitguardian commented 9 months ago

Adapt ggshield's output when the grace period of an IAC incident ignored by a developer has been expired, for both all and diff scans.

codecov-commenter commented 9 months ago

Codecov Report

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

Comparison is base (53c001e) 92.10% compared to head (4d114ce) 92.09%.

Files Patch % Lines
ggshield/cmd/iac/scan/ci.py 33.33% 2 Missing :warning:
ggshield/cmd/iac/scan/precommit.py 33.33% 2 Missing :warning:
ggshield/cmd/iac/scan/prereceive.py 0.00% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #805 +/- ## ========================================== - Coverage 92.10% 92.09% -0.02% ========================================== Files 159 159 Lines 6663 6715 +52 ========================================== + Hits 6137 6184 +47 - Misses 526 531 +5 ``` | [Flag](https://app.codecov.io/gh/GitGuardian/ggshield/pull/805/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GitGuardian) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/GitGuardian/ggshield/pull/805/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GitGuardian) | `92.09% <90.56%> (-0.02%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GitGuardian#carryforward-flags-in-the-pull-request-comment) to find out more.

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