{"id":24041866,"url":"https://github.com/pulumi/pulumi-policy","last_synced_at":"2025-04-05T01:05:10.105Z","repository":{"id":45887535,"uuid":"188316788","full_name":"pulumi/pulumi-policy","owner":"pulumi","description":"Pulumi's Policy as Code SDK, CrossGuard. Define infrastructure checks in code to enforce security, compliance, cost, and other practices, enforced at deployment time.","archived":false,"fork":false,"pushed_at":"2025-03-19T19:19:52.000Z","size":627,"stargazers_count":35,"open_issues_count":62,"forks_count":5,"subscribers_count":26,"default_branch":"main","last_synced_at":"2025-03-29T00:05:37.346Z","etag":null,"topics":["javascript","policy","policy-as-code","pulumi","python","typescript"],"latest_commit_sha":null,"homepage":"https://www.pulumi.com/docs/guides/crossguard/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pulumi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE-OF-CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-23T22:47:52.000Z","updated_at":"2025-03-19T19:18:32.000Z","dependencies_parsed_at":"2024-01-07T13:40:04.975Z","dependency_job_id":"3d6f2bb6-8aa0-4a3f-998b-24f832d18cb6","html_url":"https://github.com/pulumi/pulumi-policy","commit_stats":{"total_commits":150,"total_committers":14,"mean_commits":"10.714285714285714","dds":0.5466666666666666,"last_synced_commit":"79f33b3a2ec767f4d939a6f6abdbb22d7a0fc232"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pulumi%2Fpulumi-policy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pulumi%2Fpulumi-policy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pulumi%2Fpulumi-policy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pulumi%2Fpulumi-policy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pulumi","download_url":"https://codeload.github.com/pulumi/pulumi-policy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247271520,"owners_count":20911587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","policy","policy-as-code","pulumi","python","typescript"],"created_at":"2025-01-08T22:13:33.425Z","updated_at":"2025-04-05T01:05:10.086Z","avatar_url":"https://github.com/pulumi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Build Status](https://github.com/pulumi/pulumi-policy/actions/workflows/main.yml/badge.svg)\n\n# Pulumi Policy SDK\n\n## Overview\n\nDefine and manage policy for cloud resources deployed through Pulumi.\n\nPolicy rules run during `pulumi preview` and `pulumi up`, asserting that cloud resource definitions\ncomply with the policy immediately before they are created or updated. Policies may optionally define\nremediations that automatically fix policy violations rather than issue warnings.\n\nDuring `preview`, every rule is run on every resource, and policy violations are batched up\ninto a final report. During the update, the first policy violation will halt the deployment.\n\nPolicy violations can have enforcement levels that are **advisory**, which results in a printed\nwarning, or **mandatory**, which results in an error after `pulumi preview` or `pulumi up` completes.\nThe enforcement level **remediate** is stronger than both and enables automatic remediations.\n\n## Getting Started\n\nPlease see [Get Started with Policy as Code](https://www.pulumi.com/docs/get-started/crossguard/) to get\nstarted authoring and enforcing policies.\n\n## Documentation\n\nFor additional documentation, guides, best practices, and FAQs, see [Policy as Code](https://www.pulumi.com/docs/guides/crossguard/).\n\n## Examples\n\nLooking for examples? Please refer to the [examples repo](https://github.com/pulumi/examples/tree/master/policy-packs).\n\n## Languages\n\nPolicies can be written in TypeScript/JavaScript (Node.js) or Python and can be applied to Pulumi stacks written in any language.\n\n|    | Language | Status |\n| -- | -------- | ------ |\n| \u003cimg src=\"https://www.pulumi.com/logos/tech/logo-ts.png\" height=38 /\u003e     | [TypeScript](./sdk/nodejs) | Stable      |\n| \u003cimg src=\"https://www.pulumi.com/logos/tech/logo-js.png\" height=38 /\u003e     | [JavaScript](./sdk/nodejs) | Stable      |\n| \u003cimg src=\"https://www.pulumi.com/logos/tech/logo-python.png\" height=38 /\u003e | [Python](./sdk/python)     | Preview     |\n| \u003cimg src=\"https://www.pulumi.com/logos/tech/dotnet.png\" height=38 /\u003e      | .NET                       | Coming Soon |\n| \u003cimg src=\"https://www.pulumi.com/logos/tech/logo-golang.png\" height=38 /\u003e | Go                         | Coming Soon |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpulumi%2Fpulumi-policy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpulumi%2Fpulumi-policy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpulumi%2Fpulumi-policy/lists"}