prisma-cloud-shiftleft / iac-scan-action Goto Github PK
View Code? Open in Web Editor NEWPrisma Cloud IaC Scan GitHub Action
License: MIT License
Prisma Cloud IaC Scan GitHub Action
License: MIT License
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.
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
Templates with variables are not scanned.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.