gitstream
gitstream copied to clipboard
Add extractTerraformChanges filter plugin
Analyzes Terraform HCL file changes to extract highest privilege level from modified JIT access configurations. Returns 'rw' for read-write, 'ro' for read-only, or null if no JIT objects modified.
✨ PR Description
The purpose and impact of these changes is to introduce a new GitStream filter called extractTerraformChanges that analyzes Terraform HCL file changes to extract the highest privilege level from modified JIT access configurations.
Main changes:
- Implements a new filter function to parse Terraform HCL diffs and identify privilege changes in JIT objects
- Adds documentation, examples, and test cases for the new extractTerraformChanges filter
- Creates a configuration file for using the filter in GitStream automations
Generated by LinearB AI and added by gitStream. AI-generated content may contain inaccuracies. Please verify before using. We'd love your feedback! 🚀
Please mark which AI tools you used for this PR by checking the appropriate boxes:
- [ ] GitHub Copilot
- [ ] Cursor
- [ ] ChatGPT
- [ ] Tabnine
- [ ] JetBrains AI Assistant
- [ ] VSCode IntelliCode
- [ ] Claude
- [ ] Gemini
- [x] Other AI tool
- [ ] No AI tools were used
Tip: If you want to avoid this comment in the future, you can add a label of the format 🤖 ai-* when creating your PR.