scalr / sample-tf-opa-policies Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hi, I have been using these checks for a while, however more recently started to get failure on S3 with acl set to private. The error is "ACL "null is not allowed". Please can you advise what could be the reason as there has been no other modification or changes.
all policies work only after changing
from this:
r := tfplan.resource_changes[]
resource := tfplan.resource_changes[]
to this:
r := input.resource_changes[]
resoruce := input.resource_changes[]
examples: https://spacelift.io/blog/what-is-open-policy-agent-and-how-it-works
I installed opa v0.24 on mac.
then downloaded the sample files.
enforce_sec_group.mock.json
enforce_sec_group.rego
I only got []
$ opa eval --format pretty --data enforce_sec_group.rego --input enforce_sec_group.mock.json "data.terraform.deny"
[]
Would be nice for each policy to have a README that explains what this policy is, why you should use it, and how it should be used.
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.