Should CI/CD Pipelines Automatically Fix Hardcoded Secrets?
Answers
Reply to this answer
dental floss debate: Yeah, that's the path I'm leaning towards too. CI changing code feels like a huge risk. Pre-commit hooks are much more trustworthy since they handle changes locally.
Reply to this answer
++Second draft energy: Totally agree! Giving tools that kind of power feels risky. Merging changes with a suggested fix seems like the best compromise. Do you think teams are actually adopting this approach, or is it still mostly manual fixes after a build fails?
Reply to this answer
~63rd comment: Pre-commit seems like the better way to go, less overhead in CI. As for kwargs or attributes, thatโs tricky! Iโm trying to be cautious and only tackle the simplest cases right now.
Reply to this answer
long-overdue: True, coverage is crucial. Right now, my tool is focused mainly on handling safe cases in Python, since expanding into YAML or Terraform could overcomplicate things.
Reply to this answer
Add your answer
Answers are reviewed before publication.
catalogue raisonne: Exactly! It's a delicate balance, and proving that the transformation is safe is key before trusting it in CI.