Skip to content

Commit

Permalink
Merge pull request #32 from jvanz/backgroundAudit
Browse files Browse the repository at this point in the history
Background audit
  • Loading branch information
viccuad authored Jul 11, 2023
2 parents 5826928 + dcf5bda commit 1a1283d
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "readonly-root-filesystem-psp-policy"
version = "0.1.5"
version = "0.1.6"
authors = ["Flavio Castelli <[email protected]>"]
edition = "2018"

Expand Down
10 changes: 5 additions & 5 deletions artifacthub-pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,30 @@
#
# This config can be saved to its default location with:
# kwctl scaffold artifacthub > artifacthub-pkg.yml
version: 0.1.5
version: 0.1.6
name: readonly-root-filesystem-psp
displayName: Readonly Root Filesystem PSP
createdAt: 2023-03-21T11:32:29.293074943Z
createdAt: 2023-07-11T13:25:47.728299208Z
description: A Kubewarden policy that enforces root filesystem to be readonly
license: Apache-2.0
homeURL: https://github.com/kubewarden/readonly-root-filesystem-psp-policy
containersImages:
- name: policy
image: ghcr.io/kubewarden/policies/readonly-root-filesystem-psp:v0.1.5
image: ghcr.io/kubewarden/policies/readonly-root-filesystem-psp:v0.1.6
keywords:
- psp
- container
- filesystem
- volume
links:
- name: policy
url: https://github.com/kubewarden/readonly-root-filesystem-psp-policy/releases/download/v0.1.5/policy.wasm
url: https://github.com/kubewarden/readonly-root-filesystem-psp-policy/releases/download/v0.1.6/policy.wasm
- name: source
url: https://github.com/kubewarden/readonly-root-filesystem-psp-policy
install: |
The policy can be obtained using [`kwctl`](https://github.com/kubewarden/kwctl):
```console
kwctl pull ghcr.io/kubewarden/policies/readonly-root-filesystem-psp:v0.1.5
kwctl pull ghcr.io/kubewarden/policies/readonly-root-filesystem-psp:v0.1.6
```
maintainers:
- name: Kubewarden developers
Expand Down
23 changes: 15 additions & 8 deletions metadata.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
rules:
- apiGroups: [""]
apiVersions: ["v1"]
resources: ["pods"]
operations: ["CREATE", "UPDATE"]
- apiGroups:
- ''
apiVersions:
- v1
resources:
- pods
operations:
- CREATE
- UPDATE
mutating: false
contextAware: false
executionMode: kubewarden-wapc
Expand All @@ -11,12 +16,14 @@ annotations:
io.artifacthub.displayName: Readonly Root Filesystem PSP
io.artifacthub.resources: Pod
io.artifacthub.keywords: psp, container, filesystem, volume
# kubewarden specific
io.kubewarden.policy.ociUrl: ghcr.io/kubewarden/policies/readonly-root-filesystem-psp
# io.kubewarden.hidden-ui: "true"
# rest
io.kubewarden.policy.title: readonly-root-filesystem-psp
io.kubewarden.policy.description: A Kubewarden policy that enforces root filesystem to be readonly
io.kubewarden.policy.author: "Kubewarden developers <[email protected]>"
io.kubewarden.policy.description: A Kubewarden policy that enforces root filesystem
to be readonly
io.kubewarden.policy.author: Kubewarden developers <[email protected]>
io.kubewarden.policy.url: https://github.com/kubewarden/readonly-root-filesystem-psp-policy
io.kubewarden.policy.source: https://github.com/kubewarden/readonly-root-filesystem-psp-policy
io.kubewarden.policy.license: Apache-2.0
io.kubewarden.policy.category: PSP
io.kubewarden.policy.severity: medium

0 comments on commit 1a1283d

Please sign in to comment.