Code Monkey home page Code Monkey logo

iac-scan-rules's Introduction

Public Cloud 'Infrastructure as Code(IaC)' Policies

This is a bare-bones 'Infrastructure as Code' Policies project where policies are open to public.

The IaC policies will be verified by Palo Alto Networks(PANW) before they are available publicly.

To contribute, just add/update the IaC policies and create a PR.

How to build and run?

It's a Java maven project. Go to iac-policies project root directory and run $ mvn clean install.

It doesn't work, do I need to install something first?

Yes, you need

Where are the policies in repo structure?

There are respective folders for each template type(cft, tf & k8s) under: src/main/resouces/content/

How can i contribute to repo?

Please create PR against development branch. Development branch is used for development and testing. By default PRs are raised against development branch.

Is there any guideline on how to write policy?

Yes, Please go here for step wise documentation on how to write a policy with rule.

How can I know I am ready to check in rules?

Once the rules are written and added to the respective directory & the build is successful on the local machine, then you can go ahead and push your changes to create PR.

When would my changes be in development branch?

Once PR is generated, one non-author review approval + health check needs to passed to be merged to development branch. Add reviewer for your changes to be reviewed. Before merging to development branch, it will be reviewed by PANW team as well.

What if health check didn't pass?

Its likely because rebase is required with development branch or build failure due to compilation/unit tests. Please see the details in health check and take appropriate action.

When my rules are available in production?

Master branch is treated as production branch. If your changes are merged on any day by 11pm, they are available to be used publicly by end of that day. Please check the doc in next question: If the policy is available in that doc, its already in use in production.

For full documentation supported rules

Prisma Public Cloud IaC Scan Policies

Where can I read more about the Prisma IaC scan api and how these rules are used?

See Prisma Public Cloud IaC Scan API

iac-scan-rules's People

Contributors

junzhou-panw avatar kunjalr avatar ngarg-panw avatar nraju-panw avatar pdoshipanw avatar xuwangpalo avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iac-scan-rules's Issues

[Community Health Assessment] Changes needed

This issue was opened by a bot called Community Health (PANW) because this repo has failed too many community health checks.

Repo maintainers: Please take the time to fix the issues in the table to reach the target score. These improvements will help others find your work and contribute to it. This issue will update as your score improves until it hits the target score.

Click More info for instructions to fix each item.

Health Check Pass Score More Info
Contains a meaningful README.md file 20 / 20 More info
SUPPORT.md file exists 0 / 20 More info
Repo has a description 0 / 15 More info
Has a recognized open source license 0 / 15 More info
Has a descriptive repo name 15 / 15 More info
Required topics attached to repo 0 / 15 More info
CONTRIBUTING.md file with contribution guidelines 0 / 5 More info
Has custom issue and pull request templates 0 / 5 More info

Current score: 35
Target threshold: 100
Total possible: 110

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.