Git Product home page Git Product logo

Comments (7)

eerkunt avatar eerkunt commented on May 24, 2024

The problem is there is no interpolation support for now and you are using terraform interpolation in cidr_blocks

Interpolations are (at least some of them) addressed to be supported in 0.5.0.

from cli.

dginther avatar dginther commented on May 24, 2024

Cool! no worries. Thank you. Feel free to close this issue if you desire.

from cli.

eerkunt avatar eerkunt commented on May 24, 2024

Nope let's keep this open. :)

from cli.

eerkunt avatar eerkunt commented on May 24, 2024

@dginther Could you please have a try with 0.5.0 ? It won't fix the issue but at least it should skip the scenario because the interpolations not implemented.

from cli.

dginther avatar dginther commented on May 24, 2024

I gave it a try, I now get:

    Scenario Outline: Well-known insecure protocol exposure on Public Network for ingress traffic
        Given I have AWS Security Group defined
        When it contains ingress
        Then it must not have <proto> protocol and port <portNumber> for 0.0.0.0/0

    Examples:
        | ProtocolName  | proto | portNumber |
        | HTTP          | tcp   | 80         |
          AttributeError: 'unicode' object has no attribute 'get'
        | Telnet        | tcp   | 23         |
          AttributeError: 'unicode' object has no attribute 'get'
        | SSH           | tcp   | 22         |
          AttributeError: 'unicode' object has no attribute 'get'
        | MySQL         | tcp   | 3306       |
          AttributeError: 'unicode' object has no attribute 'get'
        | MSSQL         | tcp   | 1443       |
          AttributeError: 'unicode' object has no attribute 'get'
        | NetBIOS       | tcp   | 139        |
          AttributeError: 'unicode' object has no attribute 'get'
        | RDP           | tcp   | 3389       |
          AttributeError: 'unicode' object has no attribute 'get'
        | Jenkins Slave | tcp   | 50000      |
          AttributeError: 'unicode' object has no attribute 'get'

from cli.

eerkunt avatar eerkunt commented on May 24, 2024

Ok, gotcha. These interpolations are really messing up.

Will address the issue on the next patch release

from cli.

eerkunt avatar eerkunt commented on May 24, 2024

This issue is fixed with 1.0+ versions of terraform-compliance

from cli.

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.