Skip to content

Terrascan failing with 0 errors #4159

@mstavreski

Description

@mstavreski

Describe the bug
We are running Megalinter on our Terraform code and all of our linters are coming up with 0 errors and passing except for Terrascan which is still failing despite showing 0 errors

Is there a solution/workaround for this?

[SARIF Reporter] Generated TERRAFORM_TERRASCAN report: /tmp/lint/megalinter-reports/sarif/TERRAFORM_TERRASCAN.sarif
Unable to get total errors from SARIF output.

:x: Linted [TERRAFORM] files with [terrascan]: Found 0 error(s) - (11.43s)

- Using [terrascan v1.18.11] https://megalinter.io/7.13.0/descriptors/terraform_terrascan

- MegaLinter key: [TERRAFORM_TERRASCAN]

- Rules config: identified by [terrascan]

[Pre][TERRAFORM_TERRASCAN] run: [terrascan] in cwd [/]

[Pre][TERRAFORM_TERRASCAN] result:

Terrascan

Screenshot 2024-10-18 at 1 03 36 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions