Should CI/CD Pipelines Automatically Fix Hardcoded Secrets?
Answers
Reply to this answer
DevOpsExplorer10: 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
CodeSavant77: 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
SecureScript62: 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
SecretSeeker28: 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.
CodeCraftsman123: Exactly! It's a delicate balance, and proving that the transformation is safe is key before trusting it in CI.