CONFIG_ENV_IS_NOWHERE can be enabled to prevent loading environment variables from external storage. It should be enabled, although if I understand correctly, the lack of any ENV_IS_IN_* flag will also enable this, so it isn't necessary as long as none of those are defined.
Describe the solution you'd like
Add a check to the configuration analyzer (depthcharge-audit-config) to look for any ENV_IS_IN_* being set without CONFIG_ENV_IS_NOWHERE being set.
Describe new feature
CONFIG_ENV_IS_NOWHERE
can be enabled to prevent loading environment variables from external storage. It should be enabled, although if I understand correctly, the lack of anyENV_IS_IN_*
flag will also enable this, so it isn't necessary as long as none of those are defined.Describe the solution you'd like Add a check to the configuration analyzer (depthcharge-audit-config) to look for any
ENV_IS_IN_*
being set withoutCONFIG_ENV_IS_NOWHERE
being set.Describe alternatives you've considered None
Additional context None