Commit Graph

4942 Commits

Author SHA1 Message Date
Philip Conrad 63e1877c48 linters+testdata: Reformat all yaml testcases for linting. (#6511)
This commit adds a config for yamllint, mass-reformats all of
the existing Yaml testcases to pass linting, and adds a Yaml
linting job to the pull-request Github Actions workflow. A few 
careful exceptions and ignores were added to the linter's
config to allow keeping our existing Yaml files with minimal
reformatting.

Signed-off-by: Philip Conrad <philipaconrad@gmail.com>
2024-01-10 13:16:01 -05:00
Rudrakh Panigrahi 018b8adc04 Add documentation for new cache config parameters (#6518)
Related to commit: f063c90

Signed-off-by: Rudrakh Panigrahi <rudrakh97@gmail.com>
2024-01-10 08:55:39 +01:00
Rudrakh Panigrahi f063c90275 Clean expired cache entries periodically
Regularly clean up of cache entries that have expired for a more efficient use of memory.
Introduce two new parameters to tune clean up frequency and threshold for forced FIFO eviction.

Fixes #5320

Signed-off-by: Rudrakh Panigrahi <rudrakh97@gmail.com>
2024-01-09 13:13:30 -08:00
Charlie Egan ea1ecdfef1 docs: Add a new debugging page (#6513)
This page is intended to be a starting point for users debugging various
OPA issues. It outlines various OPA features that can help narrowing
down issues in one place.

Signed-off-by: Charlie Egan <charlie@styra.com>
2024-01-04 21:36:17 +01:00
Trung Nguyen ee6799a912 docs/website: add 's' to the word public_server
Signed-off-by: Trung Nguyen <nghotr@yahoo.com>
2024-01-04 09:22:56 -08:00
dependabot[bot] b7b17c481e build(deps): bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.16.0 to 1.18.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.16.0...v1.18.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-03 12:26:16 -08:00
dependabot[bot] 90ec389460 build(deps): bump aquasecurity/trivy-action from 0.16.0 to 0.16.1 (#6510)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.16.0 to 0.16.1.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.16.0...0.16.1)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-03 13:35:27 +01:00
Stephan Renatus eb17a716b9 runtime/logging: actually do not panic when rctx is missing
Signed-off-by: Stephan Renatus <stephan@styra.com>
2023-12-22 09:29:26 -08:00
dependabot[bot] fd96808dfb build(deps): bump github.com/go-logr/logr from 1.4.0 to 1.4.1
Bumps [github.com/go-logr/logr](https://github.com/go-logr/logr) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/go-logr/logr/releases)
- [Changelog](https://github.com/go-logr/logr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-logr/logr/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: github.com/go-logr/logr
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-22 09:26:48 -08:00
dependabot[bot] 4ed9fdc2ac build(deps): bump github.com/go-logr/logr from 1.3.0 to 1.4.0
Bumps [github.com/go-logr/logr](https://github.com/go-logr/logr) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/go-logr/logr/releases)
- [Changelog](https://github.com/go-logr/logr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-logr/logr/compare/v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/go-logr/logr
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-21 08:52:10 -08:00
Ashutosh Narkar 85496dfcba Prepare v0.61.0 development (#6502)
Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
2023-12-21 10:49:13 +01:00
Ashutosh Narkar a1a2ae3cbb Prepare v0.60.0 release
Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
v0.60.0
2023-12-20 14:07:16 -08:00
Johan Fylling 9f63fdb041 ast+cmd: Allowing bundle to contain calls to unknown functions when inspected (#6462)
Fixes: #6457

Signed-off-by: Johan Fylling <johan.dev@fylling.se>
2023-12-20 14:38:20 +01:00
cli-docs-updater f04636adc2 docs: Update generated CLI docs 2023-12-20 10:00:46 +00:00
Johan Fylling 38c2f0c5e0 Adding --v1-compatible flag to build, opa eval (#6478)
* ast+cmd+rego: Adding `--rego-v1` flag to `opa eval`

Fixes: #6463
Signed-off-by: Johan Fylling <johan.dev@fylling.se>

* Adding `--rego-v1` flag to `opa build`

Fixes: #6463
Signed-off-by: Johan Fylling <johan.dev@fylling.se>

* Formatting PE support modules to comply with rego-v1 when required

Signed-off-by: Johan Fylling <johan.dev@fylling.se>

* Removing rego.v1 import when formatting for rego-v1 (not rego-v0-compat-v1)

Signed-off-by: Johan Fylling <johan.dev@fylling.se>

* touch up

Signed-off-by: Johan Fylling <johan.dev@fylling.se>

* Fixing linting issues

Signed-off-by: Johan Fylling <johan.dev@fylling.se>

* Consolidating `Bundle.FormatModules()` and `Bundle.FormatModulesForRegoVersion()`

Suggested by @ashutosh-narkar

Signed-off-by: Johan Fylling <johan.dev@fylling.se>

* Adding descriptions to `RegoVersion`

Requested by @ashutosh-narkar

Signed-off-by: Johan Fylling <johan.dev@fylling.se>

* Using `--v1-compatible` flag instead of `--rego-v1`

Signed-off-by: Johan Fylling <johan.dev@fylling.se>

* Updating docs

Signed-off-by: Johan Fylling <johan.dev@fylling.se>

* Reintroducing `ParserOptions.RegoV1Compatible` to avoid breaking change

Signed-off-by: Johan Fylling <johan.dev@fylling.se>

* cmd & tester

Adding `--v1-compatible` flag to `opa test`

Fixes: #6463
Signed-off-by: Johan Fylling <johan.dev@fylling.se>

* Adding `--v1-compatible` flag to `opa fmt`

Fixes: #6463
Signed-off-by: Johan Fylling <johan.dev@fylling.se>

* Adding `--v1-compatible` flag to `opa check`

Fixes: #6463
Signed-off-by: Johan Fylling <johan.dev@fylling.se>

* Making linter happy

Signed-off-by: Johan Fylling <johan.dev@fylling.se>

* Review modifications suggested by @ashutosh-narkar

* Changing `ParserOptions.RegoV1Compatible` take precedence over `ParserOptions.RegoVersion`
* Fixing comment in test
* Updating `fmt --rego-v1` CLI description

Signed-off-by: Johan Fylling <johan.dev@fylling.se>

* Review modifications suggested by @ashutosh-narkar

* Changing `ParserOptions.RegoV1Compatible` take precedence over `ParserOptions.RegoVersion`
* Fixing comment in test
* Updating `fmt --rego-v1` CLI description
* Adding back `Opts.RegoV1` and deprecating.
  * Making `Opts.RegoV1` take precedence over `Opts.RegoVersion`

Signed-off-by: Johan Fylling <johan.dev@fylling.se>

* Review modifications suggested by @ashutosh-narkar

* Changing `ParserOptions.RegoV1Compatible` take precedence over `ParserOptions.RegoVersion`
* Fixing comment in test
* Updating `fmt --rego-v1` CLI description
* Adding back `Opts.RegoV1` and deprecating.
  * Making `Opts.RegoV1` take precedence over `Opts.RegoVersion`
* `TestPartialWitRegoV1` -> `TestPartialWithRegoV1`

Signed-off-by: Johan Fylling <johan.dev@fylling.se>

* Review modifications suggested by @ashutosh-narkar

* Changing `ParserOptions.RegoV1Compatible` take precedence over `ParserOptions.RegoVersion`
* Fixing comment in test
* Updating `fmt --rego-v1` CLI description
* Adding back `Opts.RegoV1` and deprecating.
  * Making `Opts.RegoV1` take precedence over `Opts.RegoVersion`
* `TestPartialWitRegoV1` -> `TestPartialWithRegoV1`
* removing `Println` in test

Signed-off-by: Johan Fylling <johan.dev@fylling.se>

* Review modifications suggested by @ashutosh-narkar

* Changing `ParserOptions.RegoV1Compatible` take precedence over `ParserOptions.RegoVersion`
* Fixing comment in test
* Updating `fmt --rego-v1` CLI description
* Adding back `Opts.RegoV1` and deprecating.
  * Making `Opts.RegoV1` take precedence over `Opts.RegoVersion`
* `TestPartialWitRegoV1` -> `TestPartialWithRegoV1`
* removing `Println` in test
* Updating docs with per-command behavioural descriptions for `--v1-compatible`.

Signed-off-by: Johan Fylling <johan.dev@fylling.se>

---------

Signed-off-by: Johan Fylling <johan.dev@fylling.se>
2023-12-20 10:59:14 +01:00
dependabot[bot] 84751f0836 build(deps): bump google.golang.org/grpc from 1.60.0 to 1.60.1
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.60.0 to 1.60.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.60.0...v1.60.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-19 10:08:53 -08:00
Stephan Renatus 979e626595 internal/presentation: cleanup location handling (#6498)
Signed-off-by: Stephan Renatus <stephan@styra.com>
2023-12-19 15:25:01 +01:00
Ashutosh Narkar b85eb642a5 .github/workflows: Update name of the checkout action token
This PR attempts to fix the failures seen in the Post Merge workflow.
Previously the token used in the checkout action had probably expired
and a new token was generated to test out this hypothesis. Now that
the Post Merge workflow succeeds, we're renaming the token as before
and updating the token value in the repo.

Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
2023-12-18 15:18:53 -08:00
Ashutosh Narkar 24f09cd078 .github/workflows: Update checkout action token
Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
2023-12-18 14:29:03 -08:00
Luiz Carvalho ba4611227e Docs: Explain %T behavior of sprintf
Fixes #6487

Signed-off-by: Luiz Carvalho <lucarval@redhat.com>
2023-12-18 13:50:59 -08:00
James Alseth 6d26f98a33 feat: Support raising builtin errors in the test runner
It can be useful to know if Rego unit tests fail due to logic errors, or
if a builtin raised an error, such as parsing JSON input that was typo'd.

Signed-off-by: James Alseth <james@jalseth.me>
2023-12-18 11:43:36 -08:00
Ashutosh Narkar 414df4e909 Include OPA min compat version in telemetry report
This commit extends the telemetry report to include the
minimum compatible version of policies loaded into OPA.
This information can be helpful to get visibility into
era of Rego being adopted in the wild.

Fixes: #6361

Co-authored-by: Stephan Renatus <stephan@styra.com>
Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
2023-12-18 11:06:03 -08:00
Johan Fylling b9398bf1ac docs: Updating Rego examples in docs to be 1.0 compliant (#6444)
* Updating Rego examples in docs to be 1.0 compliant

Signed-off-by: Johan Fylling <johan.dev@fylling.se>
2023-12-15 13:51:49 +01:00
dependabot[bot] da805352d1 build(deps): bump github/codeql-action from 2 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-14 14:39:47 -08:00
Charlie Egan ef42b2817f docs: Add CTA for ecosystem submissions (#6482)
* docs: Add CTA for ecosystem submissions

We're trying to encourage users to list their projects, this will
hopefully be a good prompt.

Signed-off-by: Charlie Egan <charlie@styra.com>

* Update docs/website/layouts/partials/ecosystem-cta.html

Co-authored-by: Johan Fylling <johan.dev@fylling.se>
Signed-off-by: Charlie Egan <git@charlieegan3.com>

---------

Signed-off-by: Charlie Egan <charlie@styra.com>
Signed-off-by: Charlie Egan <git@charlieegan3.com>
Co-authored-by: Johan Fylling <johan.dev@fylling.se>
2023-12-14 16:31:47 +00:00
dependabot[bot] 078c9c3934 build(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/uuid/compare/v1.4.0...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/google/uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-13 09:49:55 -08:00
Charlie Egan 1609eb5ba4 server: Use tlsconfig mutex when accessing certpool
This was missed in https://github.com/open-policy-agent/opa/pull/6415

https://github.com/open-policy-agent/opa/actions/runs/7194437460/job/19595009978?pr=6476

We have a warning of this data race here:

```
==================
WARNING: DATA RACE
Write at 0x00c009b562e8 by goroutine 1815:
  github.com/open-policy-agent/opa/server.(*Server).reloadTLSConfig()
      /src/server/certs.go:65 +0x608
  github.com/open-policy-agent/opa/server.(*Server).getListener.(*Server).certLoopNotify.func2()
      /src/server/certs.go:174 +0x434
  github.com/open-policy-agent/opa/server.TestCertPoolReloading.func1()
      /src/server/server_test.go:5105 +0x4f
  github.com/open-policy-agent/opa/server.TestCertPoolReloading.func2()
      /src/server/server_test.go:5108 +0x41

Previous read at 0x00c009b562e8 by goroutine 1824:
  github.com/open-policy-agent/opa/server.(*Server).getListenerForHTTPSServer.func1()
      /src/server/server.go:649 +0x145
  crypto/tls.(*Conn).readClientHello()
      /usr/local/go/src/crypto/tls/handshake_server.go:149 +0x97d
  crypto/tls.(*Conn).serverHandshake()
      /usr/local/go/src/crypto/tls/handshake_server.go:42 +0x64
  crypto/tls.(*Conn).serverHandshake-fm()
      <autogenerated>:1 +0x47
  crypto/tls.(*Conn).handshakeContext()
      /usr/local/go/src/crypto/tls/conn.go:1552 +0x615
  crypto/tls.(*Conn).HandshakeContext()
      /usr/local/go/src/crypto/tls/conn.go:1492 +0x16b8
  net/http.(*conn).serve()
      /usr/local/go/src/net/http/server.go:1891 +0x16c0
  net/http.(*Server).Serve.func3()
      /usr/local/go/src/net/http/server.go:3086 +0x4f
```

Signed-off-by: Charlie Egan <charlie@styra.com>
2023-12-13 09:28:45 -08:00
Charlie Egan 913ae2b775 docs: shutdown community badges (#6479)
This programme hasn't been active for sometime but the docs were still
here. Removing.

Signed-off-by: Charlie Egan <charlie@styra.com>
2023-12-13 17:51:22 +01:00
Charlie Egan a307ec4135 server: Support fsnotify reloading of certs (#6415)
Reload certs, keys and optionally the CA cert pool when they change on
disk.

The polling behaviour and flag is also still supported.
2023-12-13 08:52:59 +00:00
dependabot[bot] f7fcae68bb build(deps): bump google.golang.org/grpc from 1.59.0 to 1.60.0 (#6472)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.59.0 to 1.60.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.59.0...v1.60.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 12:41:34 +01:00
dependabot[bot] 5c3d3f7635 build(deps): bump github.com/sergi/go-diff from 1.1.0 to 1.3.1 (#6473)
Bumps [github.com/sergi/go-diff](https://github.com/sergi/go-diff) from 1.1.0 to 1.3.1.
- [Commits](https://github.com/sergi/go-diff/compare/v1.1.0...v1.3.1)

---
updated-dependencies:
- dependency-name: github.com/sergi/go-diff
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 12:28:18 +01:00
Peter ef9e8376d3 Preserve user provided http headers in aws.sign_req
Currently while all the headers are signed the headers in the
returned object are missing all the original user provided headers
This means that if you pass the object directly to http.send
amazon will fail the request because the signed data doesn't match
the canonical request. Users can work around it by using object.union
to restore the original headers, but would be nice to avoid that extra
step

Signed-off-by: Peter <c2zwdjnlcg@users.noreply.github.com>
2023-12-11 17:23:16 -08:00
dependabot[bot] 30fa90e963 build(deps): bump aquasecurity/trivy-action from 0.15.0 to 0.16.0
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.15.0...0.16.0)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 09:42:31 -08:00
dependabot[bot] d10b46879d build(deps): bump github.com/containerd/containerd from 1.7.10 to 1.7.11
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.10 to 1.7.11.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.7.10...v1.7.11)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 09:41:57 -08:00
Anders Eknert 0c50c99d4d fmt: restrict = true rewrite to functions with implicit true (#6468)
And add test cases using chained bodies, as that would previously
get mistaken for implicit return without chaining.

Fixes #6467

Signed-off-by: Anders Eknert <anders@styra.com>
2023-12-11 09:37:25 +01:00
Fabio Coatti 73ed588077 Allow custom GOFLAGS (#6459)
In some cases it would be useful to specify custom GOFLAGS.
So, add the logic in Makefile and set the previous static value as default (-buildmode=exe)

closes #6458
Signed-off-by: Fabio Coatti <fabio.coatti@gmail.com>
2023-12-08 11:59:13 +01:00
Johan Fylling 4eb95c56f8 OPA 1.0 docs (#6455)
* Adding `OPA 1.0` page detailing breaking changes and tools for being compatible
* Adding `rego.v1 import` section to Rego language docs

Fixes: #6453
Signed-off-by: Johan Fylling <johan.dev@fylling.se>
2023-12-08 10:18:06 +01:00
Charlie Egan fde716edc5 docs: add some more links to OPA talks (#6466)
Signed-off-by: Charlie Egan <charlie@styra.com>
2023-12-08 07:24:11 +01:00
Charlie Egan 5aa3524d75 docs: Update note about use of manual triggers (#6465)
This option is only available when using OPA from go and not in the
server.

Context: https://github.com/open-policy-agent/opa/issues/1336

Signed-off-by: Charlie Egan <charlie@styra.com>
2023-12-07 19:18:20 +01:00
Anders Eknert c72ebef05e Add Digger to ecosystem (#6464)
Signed-off-by: Anders Eknert <anders@eknert.com>
2023-12-07 18:38:06 +01:00
dependabot[bot] e0330824f8 build(deps): bump aquasecurity/trivy-action from 0.14.0 to 0.15.0 (#6454)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.14.0...0.15.0)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-07 13:27:47 +01:00
dependabot[bot] 59afa1473d build(deps): bump actions/setup-go from 4 to 5 (#6461)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-07 12:34:07 +01:00
Stephan Renatus 8dda66dec5 golang: bump 1.21.4 -> 1.21.5 (#6460)
https://pkg.go.dev/vuln/GO-2023-2185

Signed-off-by: Stephan Renatus <stephan@styra.com>
2023-12-07 09:14:50 +01:00
Luiz Carvalho 2eba2e66fc Propagate description of custom builtins (#6451)
This allows processes, such as doc generation, to have additional
information about custom builtin functions.

Fixes: #6449

Signed-off-by: Luiz Carvalho <lucarval@redhat.com>
2023-12-05 10:05:00 +00:00
Colin J Lacy 2f431321ef cmd: removes hidden dependency on diff command (#6452)
Replace call to local diff command as a hidden dependency
with call to go-diff, which is already included in the repo.

Fixes #6284

Signed-off-by: Colin Lacy <colinjlacy@gmail.com>
2023-12-04 09:21:29 +01:00
dependabot[bot] 26ceadb530 build(deps): bump github.com/containerd/containerd from 1.7.9 to 1.7.10
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.9 to 1.7.10.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.7.9...v1.7.10)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-30 08:45:06 -08:00
Johan Fylling 199c90de7b Prepare v0.60.0 development (#6448)
Signed-off-by: Johan Fylling <johan.dev@fylling.se>
2023-11-30 16:51:49 +01:00
Johan Fylling c8e7863c83 Prepare v0.59.0 release (#6447)
Signed-off-by: Johan Fylling <johan.dev@fylling.se>
v0.59.0
2023-11-30 16:17:55 +01:00
cli-docs-updater 79271563e9 docs: Update generated CLI docs 2023-11-30 10:38:32 +00:00
Johan Fylling 8497550f34 Adding --rego-v1 flag to check cmd (#6430)
When enabled, checked module(s) must be compliant with OPA 1.0 Rego.

Fixes: #6429
Signed-off-by: Johan Fylling <johan.dev@fylling.se>
2023-11-30 11:36:51 +01:00