Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Commit

Permalink
updates readme with right field name (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
dani-santos-code authored Feb 16, 2021
1 parent 8be8c73 commit e4cfb47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ enabledAuditors:
auditors:
capabilities:
# add capabilities needed to the add list, so kubeaudit won't report errors
add: ['AUDIT_WRITE', 'CHOWN']
allowAddList: ['AUDIT_WRITE', 'CHOWN']
image:
# If no image is specified and the 'image' auditor is enabled, WARN results
# will be generated for containers which use an image without a tag
Expand Down
4 changes: 2 additions & 2 deletions docs/auditors/capabilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ A custom Add list can be provided in the config file. See [docs](docs/all.md) fo
auditors:
capabilities:
# add capabilities needed to the add list, so kubeaudit won't report errors
add: ['KILL', 'MKNOD']
allowAddList: ['KILL', 'MKNOD']
```
`manifest.yaml`
Expand Down Expand Up @@ -98,7 +98,7 @@ $ kubeaudit all --kconfig "config.yaml" -f "manifest.yaml"

### Example with Custom Add List

A custom add list can be provided as a comma separated value list of capabilities using the `--add` flag. These are the capabilities you'd like to add and not have kubeaudit raise an error:
A custom add list can be provided as a comma separated value list of capabilities using the `--allow-add-list` flag. These are the capabilities you'd like to add and not have kubeaudit raise an error:

`manifest.yaml` (example manifest)

Expand Down

0 comments on commit e4cfb47

Please sign in to comment.