Terraform supports functions that read from local disk. We should write unit tests to ensure these functions cannot escape the fs.FS used and access actual files.
Should be done before early-access. We will add a Trivy-specific ticket to track our upstream changes after we fix this in our fork.
Example: https://developer.hashicorp.com/terraform/language/functions/file
Terraform supports functions that read from local disk. We should write unit tests to ensure these functions cannot escape the
fs.FSused and access actual files.Should be done before early-access. We will add a Trivy-specific ticket to track our upstream changes after we fix this in our fork.
Example: https://developer.hashicorp.com/terraform/language/functions/file