| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The `nonroot` user assignment was removed from the dockerfile as this was already set via the `:nonroot` tag. This user is already set using its uid. This allows the `runAsNonRoot` securityContext Flag to work correctly.
This is more online with the parser and allows them to run in cluster with extremly high security requirements / or hard enforced multi tenancy. See: https://kubernetes.io/docs/concepts/containers/images/#use-cases
These will be extended later to best represent the needs of the individual scanners. Also added `env`, `extraVolumes`, `extraVolumeMounts`, `extraContainers` config values missing in scanner templates.
|
While adding the securityContext i've noticed that all scanners had env, extraVolumes, extraVolumeMounts, extraContainers config values in their Helm values but their templates didn't really support them. I've added them to all integrated scanners. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Add configurable Kubernetes securityContext to all included pods.
For all direct "secureCodeBox" components (Operator, Lurcher, Parser & Hooks) these are completely pre-configured to enable all securityContext features which are generally available on all supported Kubernetes Versions.
For the scanner container these have not yet been configured, as this might required more tweaking to properly support the individual scanner without messing with their functionality. For now only Nmap has been configured with a proper securityContext. As the securityContext is exposed via the Helm values it can be configured individually by the user.