Azure / ShieldGuard

Enables best security practices for your project from day zero.
MIT License
8 stars 6 forks source link

chore(deps): bump github.com/open-policy-agent/opa from 0.55.0 to 0.56.0 in /sg #73

Closed dependabot[bot] closed 11 months ago

dependabot[bot] commented 12 months ago

Bumps github.com/open-policy-agent/opa from 0.55.0 to 0.56.0.

Release notes

Sourced from github.com/open-policy-agent/opa's releases.

v0.56.0

This release contains a mix of new features, bugfixes and a new builtin function.

Support for General References in Rule Heads (Experimental)

A new experimental feature in OPA is support for general refs in rule heads. Where a general ref is a reference with variables at arbitrary locations.

package example

import future.keywords

Converting a flat list of users to a mapping by "role" and then "id".

users_by_role[role][id] := user if { some user in data.users id := user.id role := user.role }

Explicit "admin" key override to the above mapping.

users_by_role.admin[id] := user if { some user in data.admins id := user.id }

Leaf entries can be multi-value.

users_by_country[country] contains user.id if { some user in data.users country := user.country }

General refs are currently not supported by the OPA planner, making this feature unsupported for Wasm and IR.

Note: this feature is disabled by default, and needs to be enabled by setting the EXPERIMENTAL_GENERAL_RULE_REFS environment variable (once the feature is complete - supports Wasm and IR - this requirement will be dropped).

Authored by @​johanfylling.

New Built-In Function: numbers.range_step

Similar to the numbers.range built-in function, numbers.range_step returns an array of numbers in a given range. The new built-in function also allows you to control the step between each entry.

See the documentation on the new built-in for all the details.

Authored by @​sspaink.

New Ecosystem page on The Website

The OPA Ecosystem of related integrations has been refreshed and moved to a more prominent location on the website.

... (truncated)

Changelog

Sourced from github.com/open-policy-agent/opa's changelog.

0.56.0

This release contains a mix of new features, bugfixes and a new builtin function.

Support for General References in Rule Heads (Experimental)

A new experimental feature in OPA is support for general refs in rule heads. Where a general ref is a reference with variables at arbitrary locations.

package example

import future.keywords

Converting a flat list of users to a mapping by "role" and then "id".

users_by_role[role][id] := user if { some user in data.users id := user.id role := user.role }

Explicit "admin" key override to the above mapping.

users_by_role.admin[id] := user if { some user in data.admins id := user.id }

Leaf entries can be multi-value.

users_by_country[country] contains user.id if { some user in data.users country := user.country }

General refs are currently not supported by the OPA planner, making this feature unsupported for Wasm and IR.

Note: this feature is disabled by default, and needs to be enabled by setting the EXPERIMENTAL_GENERAL_RULE_REFS environment variable (once the feature is complete - supports Wasm and IR - this requirement will be dropped).

Authored by @​johanfylling.

New Built-In Function: numbers.range_step

Similar to the numbers.range built-in function, numbers.range_step returns an array of numbers in a given range. The new built-in function also allows you to control the step between each entry.

See the documentation on the new built-in for all the details.

Authored by @​sspaink.

New Ecosystem page on The Website

... (truncated)

Commits
  • 016cb07 Prepare v0.56.0 release (#6202)
  • 65a8b7d [docs] Address issues with Ecosystem links in navs (#6200)
  • 760c586 [docs] Add intro text to Ecosystem sections (#6201)
  • 0431567 General refs in rule heads (#5913)
  • 9bf5478 [docs] Move OPA ecosystem pages to site top-level (#6198)
  • df0addf Changed the LoadPaths function.
  • dea7c10 build(deps): bump oras.land/oras-go/v2 from 2.2.1 to 2.3.0
  • 9cab6c9 chore: Replace ghodss/yaml with sigs.k8s.io/yaml (#6195)
  • c28eaf7 topdown: add numbers.range_step built-in function (#6187)
  • 519eea7 remove not required basedir for oci bundles & add test to verify signature ve...
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 11 months ago

Superseded by #75.