Coder Social home page Coder Social logo

Comments (5)

gruebel avatar gruebel commented on June 7, 2024

hey @nbowes24 can you try to restrict checkov to just scanning TF plans? I know there is an open issue related to secrets scanning in TF plans, checkov --framework terraform_plan ...

from checkov.

nbowes24 avatar nbowes24 commented on June 7, 2024

Hey @gruebel that does solve the hanging as well as using --skip-framework secrets as suggested in #6206.

Seems like it would best if I comment on that issue and close this one. Thanks for the suggestion!

from checkov.

gruebel avatar gruebel commented on June 7, 2024

Yeah, just wanted to make sure, it is the same or a different problem.

from checkov.

nbowes24 avatar nbowes24 commented on June 7, 2024

This is still hanging in v3.2.98 for some of our plans. It was not fixed by the PR in #6206.

We are still having to pin v.3.2.63 which is working.

from checkov.

nbowes24 avatar nbowes24 commented on June 7, 2024

Update: I have been playing around with the plan file and discovered its the formatting?

This will hang

terraform show -json test.plan > test.json
checkov -f test.json --framework secrets

This will work

terraform show -json test.plan | ConvertFrom-Json | ConvertTo-Json -Depth 20 > pretty.json
checkov -f pretty.json --framework secrets

from checkov.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.