github.com/anchore/syft@v1.38.2/syft/pkg/cataloger/terraform/cataloger.go (about)

     1  package terraform
     2  
     3  import (
     4  	"github.com/anchore/syft/syft/pkg"
     5  	"github.com/anchore/syft/syft/pkg/cataloger/generic"
     6  )
     7  
     8  func NewLockCataloger() pkg.Cataloger {
     9  	return generic.NewCataloger("terraform-lock-cataloger").
    10  		WithParserByGlobs(parseTerraformLock, "**/.terraform.lock.hcl")
    11  }