gitstream icon indicating copy to clipboard operation
gitstream copied to clipboard

Add extractTerraformChanges filter plugin

Open vim-zz opened this issue 5 months ago • 1 comments
trafficstars

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! 🚀

vim-zz avatar May 28 '25 13:05 vim-zz

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.

gitstream-cm[bot] avatar May 28 '25 13:05 gitstream-cm[bot]