-
Notifications
You must be signed in to change notification settings - Fork 189
Add command to run ALL the audits #82
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am only requesting changes because I think it is not prominent enough in the readme and I think it should be! Overall a really solid implementation and the refactor with the mergeAuditFunctions
is really nice.
@@ -60,9 +60,6 @@ func auditImages(image imgFlags, resource k8sRuntime.Object) (results []Result) | |||
break | |||
} | |||
} | |||
for _, result := range results { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯 👍
fixtures/audit_all.yml
Outdated
kind: Deployment | ||
metadata: | ||
creationTimestamp: null | ||
name: cababilitiesAdded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cababilitiesAdded
and no caps added 😢
README.md
Outdated
@@ -265,6 +266,19 @@ WARN[0000] CPU limit exceeded, it is set to 1 but it must not exceed 500m. Pleas | |||
WARN[0000] Memory limit exceeded, it is set to 512Mi but it must not exceed 125Mi. Please adjust it! | |||
``` | |||
|
|||
<a name="all" /> | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a great feature and I think will be the audit that 99% of all the people will run 99% of the time. Thus, it needs to be above all other audits, right next to autofix
@klautcomputing @fedorlis This can also be merged now :) |
Adds
all
command, does what it says on the tin.