GithubHelp home page GithubHelp logo

iac-scan-action's People

Contributors

john-c-schneider avatar pubs-mv avatar turbodog avatar yatin-panw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

iac-scan-action's Issues

Support for Terraform 1.x

The most recent template_version for Terraform seems to be 0.13. Unsure if this project has been abandoned but if not it would be great to see the action support a modern version of Terraform.

SARIF Result URI is using the Docker image name

After using the Prisma scan action, it seems that the SARIF results URI uses the Docker image name org/name:release which is not a valid URI. This means that if the up-stream solution like GitHub Code Scanning validates the URI (which it does) if will fail to upload correctly.

I took a look at the Action code and from what I could tell this is done server side and the Action just downloads the resulting SARIF. The fix might have to be server side in Prisma versus the Action itself.

+cc @josepalafox

Scanning Templates with Variables

Behavior Observed

Templates with variables are not scanned.

Configuration Information

When testing scanning using the samples from https://github.com/prisma-cloud-shiftleft/iac-samples/tree/main/CFT with the following configuration does not produce any results for templates that contain variables, other templates produce the expected results.

      - name: Run Scan on CFT
        uses: prisma-cloud-shiftleft/[email protected]
        id: iac-scan
        with:
          prisma_api_url: 'https://api3.prismacloud.io'
          access_key: ${{ secrets.PRISMA_CLOUD_ACCESS_KEY }}
          secret_key: ${{ secrets.PRISMA_CLOUD_SECRET_KEY }}
          asset_name: 'cfn-templates'
          template_type: 'CFT'
          scan_path: ./CFT
          variable_files: ./CFT/cft_variables.json
          variables: AccessControl:PublicRead

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.