About "Packages" : Links for Rego Packages : Use cases #260
Replies: 2 comments
-
Hi there! Are you talking about policy packages published by others? There's a list of them in the Awesome OPA list. If you mean something else, perhaps you could be a bit more specific, and we'll hopefully be able to help you :) |
Beta Was this translation helpful? Give feedback.
-
Hi @sbalakrishn A package is a logical grouping of rules within your policy. A package name is required for each policy or set of rules, but the naming and division of rules are up to the author. If you're making an app you might divide your rules based on function. package security.authz If you're securing your AWS infrastructure you might want to group the rules based on resources. package aws.compute.ec2 You can read more about the package structure in our docs linked below. Let us know if you have any specific questions about how this works. https://www.openpolicyagent.org/docs/latest/policy-language/#packages Cheers, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
Can some one provide me with examples of Packages that Rego have .
Is there a link to "Packages used in Rego" .
Explaining what packages we must use under what kind if use-cases.
Beta Was this translation helpful? Give feedback.
All reactions