Giter Club home page Giter Club logo

im7mortal / pulumi-policy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pulumi/pulumi-policy

0.0 0.0 0.0 648 KB

Pulumi's Policy as Code SDK, CrossGuard. Define infrastructure checks in code to enforce security, compliance, cost, and other practices, enforced at deployment time.

Home Page: https://www.pulumi.com/docs/guides/crossguard/

License: Apache License 2.0

Shell 0.66% JavaScript 1.88% Python 37.40% Go 8.55% TypeScript 48.24% Makefile 2.77% Batchfile 0.02% Dockerfile 0.47%

pulumi-policy's Introduction

Build Status

Pulumi Policy SDK

Overview

Define and manage policy for cloud resources deployed through Pulumi.

Policy rules run during pulumi preview and pulumi up, asserting that cloud resource definitions comply with the policy immediately before they are created or updated. Policies may optionally define remediations that automatically fix policy violations rather than issue warnings.

During preview, every rule is run on every resource, and policy violations are batched up into a final report. During the update, the first policy violation will halt the deployment.

Policy violations can have enforcement levels that are advisory, which results in a printed warning, or mandatory, which results in an error after pulumi preview or pulumi up completes. The enforcement level remediate is stronger than both and enables automatic remediations.

Getting Started

Please see Get Started with Policy as Code to get started authoring and enforcing policies.

Documentation

For additional documentation, guides, best practices, and FAQs, see Policy as Code.

Examples

Looking for examples? Please refer to the examples repo.

Languages

Policies can be written in TypeScript/JavaScript (Node.js) or Python and can be applied to Pulumi stacks written in any language.

Language Status
TypeScript Stable
JavaScript Stable
Python Preview
.NET Coming Soon
Go Coming Soon

pulumi-policy's People

Contributors

justinvp avatar hausdorff avatar joeduffy avatar komalali avatar dependabot[bot] avatar tgummerer avatar stack72 avatar clstokes avatar im7mortal avatar chrsmith avatar cnunciato avatar ekrengel avatar lukehoban avatar arunsathiya avatar jesperseverinsen avatar jaxxstorm avatar mikhailshilkov avatar rsclarke-vgw avatar

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.