Skip to content

Commit

Permalink
Updated getting started for file visibility
Browse files Browse the repository at this point in the history
Signed-off-by: PrimalPimmy <[email protected]>

added more info

Signed-off-by: PrimalPimmy <[email protected]>

improved msg

Signed-off-by: PrimalPimmy <[email protected]>
  • Loading branch information
PrimalPimmy committed Feb 1, 2024
1 parent 933047a commit c8a19b7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions getting-started/deployment_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ POD=$(kubectl get pod -l app=nginx -o name)
> [!NOTE]
> `$POD` is used to refer to the target nginx pod in many cases below.

## Sample policies

<details>
Expand Down Expand Up @@ -190,6 +191,13 @@ If you don't see Permission denied please refer [here](FAQ.md#debug-kubearmor-in

Access to certain folders/paths might have to be audited for compliance/reporting reasons.

File Visibility is disabled by default to minimize telemetry. Some file based policies will need that enabled. To enable file visibility on a namespace level:
```
kubectl annotate ns default kubearmor-visibility="process,file,network" --overwrite
```

For more details on this: https://docs.kubearmor.io/kubearmor/documentation/kubearmor_visibility#updating-namespace-visibility

Lets audit access to `/etc/nginx/` folder within the deployment.
```
cat <<EOF | kubectl apply -f -
Expand Down

0 comments on commit c8a19b7

Please sign in to comment.