Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Audit local disk terraform functions and write some supporting tests #19

Description

@Emyrk

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

early-accesscandidate for an early-access, or experimental, release

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions