Skip to content

Commit

Permalink
Merge branch 'main' into rego-v1/docs_description
Browse files Browse the repository at this point in the history
  • Loading branch information
johanfylling committed Dec 8, 2023
2 parents 4ea46af + fde716e commit 9be6d1b
Show file tree
Hide file tree
Showing 10 changed files with 39 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT

- name: Install Go (${{ steps.go_version.outputs.go_version }})
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ steps.go_version.outputs.go_version }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT

- name: Install Go (${{ steps.go_version.outputs.go_version }})
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ steps.go_version.outputs.go_version }}

Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
# Equivalent to:
# $ trivy image openpolicyagent/opa:edge-static
- name: Run Trivy scan on image
uses: aquasecurity/trivy-action@0.14.0
uses: aquasecurity/trivy-action@0.15.0
with:
image-ref: 'openpolicyagent/opa:edge-static'
format: table
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
# Equivalent to:
# $ trivy fs .
- name: Run Trivy scan on repo
uses: aquasecurity/trivy-action@0.14.0
uses: aquasecurity/trivy-action@0.15.0
with:
scan-type: fs
format: table
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT

- name: Install Go (${{ steps.go_version.outputs.go_version }})
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ steps.go_version.outputs.go_version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/post-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT

- name: Install Go (${{ steps.go_version.outputs.go_version }})
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ steps.go_version.outputs.go_version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/post-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT

- name: Install Go (${{ steps.go_version.outputs.go_version }})
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ steps.go_version.outputs.go_version }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT

- name: Install Go (${{ steps.go_version.outputs.go_version }})
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ steps.go_version.outputs.go_version }}
if: matrix.os == 'darwin'
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT

- name: Install Go (${{ steps.go_version.outputs.go_version }})
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ steps.go_version.outputs.go_version }}

Expand Down Expand Up @@ -281,7 +281,7 @@ jobs:
uses: actions/download-artifact@v3
with:
name: generated
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.version }}
- run: make build
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ For concrete examples of how to integrate OPA with systems like [Kubernetes](htt

## Presentations

- Open Policy Agent (OPA) Intro & Deep Dive @ Kubecon NA 2023: [video](https://www.youtube.com/watch?v=wJkjsvVpj_Q)
- Open Policy Agent (OPA) Intro & Deep Dive @ Kubecon EU 2023: [video](https://www.youtube.com/watch?v=6RNp3m_THw4)
- Running Policy in Hard to Reach Places with WASM & OPA @ CN Wasm Day EU 2023: [video](https://www.youtube.com/watch?v=BdeBhukLwt4)
- OPA maintainers talk @ Kubecon NA 2022: [video](https://www.youtube.com/watch?v=RMiovzGGCfI)
- Open Policy Agent (OPA) Intro & Deep Dive @ Kubecon EU 2022: [video](https://www.youtube.com/watch?v=MhyQxIp1H58)
- Open Policy Agent Intro @ KubeCon EU 2021: [Video](https://www.youtube.com/watch?v=2CgeiWkliaw)
Expand Down
8 changes: 4 additions & 4 deletions docs/content/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ included in the actual bundle gzipped tarball.
| `bundles[_].service` | `string` | Yes | Name of service to use to contact remote server. |
| `bundles[_].polling.min_delay_seconds` | `int64` | No (default: `60`) | Minimum amount of time to wait between bundle downloads. |
| `bundles[_].polling.max_delay_seconds` | `int64` | No (default: `120`) | Maximum amount of time to wait between bundle downloads. |
| `bundles[_].trigger` | `string` (default: `periodic`) | No | Controls how bundle is downloaded from the remote server. Allowed values are `periodic` and `manual`. |
| `bundles[_].trigger` | `string` (default: `periodic`) | No | Controls how bundle is downloaded from the remote server. Allowed values are `periodic` and `manual` (`manual` triggers are only possible when using OPA as a Go package). |
| `bundles[_].polling.long_polling_timeout_seconds` | `int64` | No | Maximum amount of time the server should wait before issuing a timeout if there's no update available. |
| `bundles[_].persist` | `bool` | No | Persist activated bundles to disk. |
| `bundles[_].signing.keyid` | `string` | No | Name of the key to use for bundle signature verification. |
Expand All @@ -900,7 +900,7 @@ included in the actual bundle gzipped tarball.
| `status.console` | `boolean` | No (default: `false`) | Log the status updates locally to the console. When enabled alongside a remote status update API the `service` must be configured, the default `service` selection will be disabled. |
| `status.prometheus` | `boolean` | No (default: `false`) | Export the status (bundle and plugin) metrics to prometheus (see [the monitoring documentation](../monitoring/#prometheus)). When enabled alongside a remote status update API the `service` must be configured, the default `service` selection will be disabled. |
| `status.plugin` | `string` | No | Use the named plugin for status updates. If this field exists, the other configuration fields are not required. |
| `status.trigger` | `string` (default: `periodic`) | No | Controls how status updates are reported to the remote server. Allowed values are `periodic` and `manual`. |
| `status.trigger` | `string` (default: `periodic`) | No | Controls how status updates are reported to the remote server. Allowed values are `periodic` and `manual` (`manual` triggers are only possible when using OPA as a Go package). |

### Decision Logs

Expand All @@ -914,7 +914,7 @@ included in the actual bundle gzipped tarball.
| `decision_logs.reporting.upload_size_limit_bytes` | `int64` | No (default: `32768`) | Decision log upload size limit in bytes. OPA will chunk uploads to cap message body to this limit. |
| `decision_logs.reporting.min_delay_seconds` | `int64` | No (default: `300`) | Minimum amount of time to wait between uploads. |
| `decision_logs.reporting.max_delay_seconds` | `int64` | No (default: `600`) | Maximum amount of time to wait between uploads. |
| `decision_logs.reporting.trigger` | `string` | No (default: `periodic`) | Controls how decision logs are reported to the remote server. Allowed values are `periodic` and `manual`. |
| `decision_logs.reporting.trigger` | `string` | No (default: `periodic`) | Controls how decision logs are reported to the remote server. Allowed values are `periodic` and `manual` (`manual` triggers are only possible when using OPA as a Go package). |
| `decision_logs.mask_decision` | `string` | No (default: `/system/log/mask`) | Set path of masking decision. |
| `decision_logs.drop_decision` | `string` | No (default: `/system/log/drop`) | Set path of drop decision. |
| `decision_logs.plugin` | `string` | No | Use the named plugin for decision logging. If this field exists, the other configuration fields are not required. |
Expand All @@ -929,7 +929,7 @@ included in the actual bundle gzipped tarball.
| `discovery.decision` | `string` | No | The path of the decision to evaluate in the discovery bundle. By default, OPA will evaluate `data` in the discovery bundle to produce the configuration. |
| `discovery.polling.min_delay_seconds` | `int64` | No (default: `60`) | Minimum amount of time to wait between configuration downloads. |
| `discovery.polling.max_delay_seconds` | `int64` | No (default: `120`) | Maximum amount of time to wait between configuration downloads. |
| `discovery.trigger` | `string` (default: `periodic`) | No | Controls how bundle is downloaded from the remote server. Allowed values are `periodic` and `manual`. |
| `discovery.trigger` | `string` (default: `periodic`) | No | Controls how bundle is downloaded from the remote server. Allowed values are `periodic` and `manual` (`manual` triggers are only possible when using OPA as a Go package). |
| `discovery.polling.long_polling_timeout_seconds` | `int64` | No | Maximum amount of time the server should wait before issuing a timeout if there's no update available. |
| `discovery.signing.keyid` | `string` | No | Name of the key to use for bundle signature verification. |
| `discovery.signing.scope` | `string` | No | Scope to use for bundle signature verification. |
Expand Down
18 changes: 18 additions & 0 deletions docs/website/content/integrations/digger.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: Digger
subtitle: GitOps for Terraform
labels:
layer: cicd
category: Infrastructure as Code
software:
- terraform
inventors:
- diggerhq
code:
- https://github.com/diggerhq/digger
tutorials:
- https://docs.digger.dev/readme/introduction
- https://docs.digger.dev/digger-api/rbac-via-opa-guide
- https://docs.digger.dev/configuration/using-opa-conftest
---
Digger is an open-source CI/CD orchestrator for Terraform. It provides role-based access control via OPA, and also integrates Conftest to check Terraform plan output against policies.
4 changes: 4 additions & 0 deletions docs/website/content/organizations/diggerhq.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
link: https://github.com/diggerhq
title: DiggerHQ
---
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9be6d1b

Please sign in to comment.