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

Audit config does not work as documented #345

Closed
1 of 2 tasks
endrec opened this issue Jul 9, 2021 · 2 comments · Fixed by #346
Closed
1 of 2 tasks

Audit config does not work as documented #345

endrec opened this issue Jul 9, 2021 · 2 comments · Fixed by #346

Comments

@endrec
Copy link

endrec commented Jul 9, 2021

ISSUE TYPE
  • Bug Report
  • Feature Idea

BUG REPORT

SUMMARY

In the README.md, the example config says

enabledAuditors:
  # Auditors are enabled by default if they are not explicitly set to "false"
  apparmor: false

However, if only disabled auditors are listed, all auditors will run.

ENVIRONMENT
  • Kubeaudit version: 0.14.1
  • Kubeaudit install method: Binary
STEPS TO REPRODUCE
  1. Create a config file:
enabledAuditors:
  # Auditors are enabled by default if they are not explicitly set to "false"
  apparmor: false
  1. call kubeaudit all -k <config from 1>
EXPECTED RESULTS

All auditors, expect apparmor to run.

ACTUAL RESULTS

All auditors run, including apparmor.

@ghost
Copy link

ghost commented Jul 9, 2021

Thanks for opening your first issue here! Be sure to follow the issue template!

@genevieveluyt
Copy link
Contributor

Thanks for opening an issue! Confirmed this is a bug 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants