aws / language-servers

AWS related Language Servers
Apache License 2.0
17 stars 15 forks source link

Filter out Git Ignored files from security scans #358

Closed rbbarad closed 1 week ago

rbbarad commented 1 week ago

Problem

Security scans were not respecting .gitignore files. This is an AppSec concern, as users would not want git ignored files to be processed.

Solution

This PR fixes the issue by adding logic to handle .gitignore files and filter out the necessary files from the security scan.

Testing

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.