-
Notifications
You must be signed in to change notification settings - Fork 179
🚧 [Consistency] Make all files of cmseek follow consistent templates #727
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Replaced some unnecessary comments 2. Added xy.xyz.zxy descriptions to all values 3. Added security context to all scanners 4. Added cascading rules to all scanners (when no cascading rules exist, they are set to false) 5. Changed nuclei image tag from "latest" to "null" 6. Set RunAsNonRoot for whatweb from "false" to "true" 7. ncrack, zap/zap-advanced have some special settings that have not been touched Signed-off-by: Sebastian <sebastian.franz@iteratec.com>
Signed-off-by: GitHub Actions <securecodebox@iteratec.com>
…nsistency/value-files
This is necessary because the provided amass container has a non-numeric user that cannot be verified to be root or not: Error: container has runAsNonRoot and image has non-numeric user (user), cannot verify user is non-root (pod: "scan-amass-scanner-dummy-scan, container: amass) Signed-off-by: Sebastian <sebastian.franz@iteratec.com>
Signed-off-by: GitHub Actions <securecodebox@iteratec.com>
A non-numeric user cannot be checked to be non-root by Kubernetes and causes an error if runAsNonRoot is (justifiably) activated. Signed-off-by: Sebastian <sebastian.franz@iteratec.com>
Signed-off-by: Sebastian <sebastian.franz@iteratec.com>
Like Kubehunter Dockerfile, non-root user is not needed Signed-off-by: Sebastian <sebastian.franz@iteratec.com>
Changes to USER did not yield the desired effect Signed-off-by: Sebastian <sebastian.franz@iteratec.com>
For scanners: gitleaks, kube-hunter, ssh-scan, sslyze, trivy, wpscan, zap, zap-advanced Signed-off-by: Sebastian <sebastian.franz@iteratec.com>
Signed-off-by: GitHub Actions <securecodebox@iteratec.com>
Signed-off-by: Sebastian <sebastian.franz@iteratec.com>
Member
|
@SebieF this seems to include a lot of changes from the other consistency pr's not just the cms seek |
Contributor
Author
|
Yeah :( but this should be no problem when the other PRs are merged first? |
Signed-off-by: Sebastian <sebastian.franz@iteratec.com>
Signed-off-by: Sebastian Franz <sebastian11@online.de>
6d60aec to
d859e7f
Compare
Signed-off-by: Sebastian Franz <sebastian11@online.de>
Signed-off-by: Sebastian Franz <sebastian11@online.de>
Necessary because unrelated files were included in the PR.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Because cmseek was added as a new security scanner while recent consistentcy refactoring was done, some files from cmseek do not follow the new template structure. This PR fixes all the inconsistencies with other scanners.
It also seems like the securityContext of values.yaml needs readOnlyRootFilesystem to be false (see #723).
Checklist