GitGuardian / ggshield

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

feat(cmd): modify exitcode when directory to scan is in ignore-paths #763

Closed gg-jonathangriffe closed 1 year ago

codecov-commenter commented 1 year ago

Codecov Report

Merging #763 (fdca4b2) into main (7bf3a9c) will increase coverage by 0.03%. The diff coverage is 100.00%.

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

@@            Coverage Diff             @@
##             main     #763      +/-   ##
==========================================
+ Coverage   92.46%   92.50%   +0.03%     
==========================================
  Files         153      154       +1     
  Lines        6262     6280      +18     
==========================================
+ Hits         5790     5809      +19     
+ Misses        472      471       -1     
Flag Coverage Δ
unittests 92.50% <100.00%> (+0.03%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
ggshield/cmd/iac/scan/all.py 100.00% <100.00%> (ø)
ggshield/cmd/iac/scan/diff.py 78.20% <100.00%> (+0.57%) :arrow_up:
ggshield/cmd/sca/scan/diff.py 100.00% <100.00%> (ø)
ggshield/cmd/sca/scan/sca_scan_utils.py 78.72% <100.00%> (+0.94%) :arrow_up:
ggshield/cmd/secret/scan/path.py 100.00% <100.00%> (ø)
ggshield/cmd/utils/files.py 100.00% <100.00%> (ø)
ggshield/core/errors.py 94.59% <100.00%> (ø)

... and 1 file with indirect coverage changes