Skip to content

Conversation

tammy-baylis-swi
Copy link
Contributor

WIP/PoC to split current ApmConfig into two parts init'd by distro then configurator.


logger.debug(
"Set up transaction filters: %s",
self.__config["transaction_filters"],

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information

This expression logs [sensitive data (secret)](1) as clear text.
else:
logger.warning(
"Ignore invalid configuration key: %s",
".".join(keys),

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information

This expression logs [sensitive data (secret)](1) as clear text.
except (ValueError, TypeError):
logger.warning(
"Ignore config option with invalid (non-convertible or out-of-range) type: %s",
".".join(keys if keys[0] != "transaction" else keys[1:]),

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information

This expression logs [sensitive data (secret)](1) as clear text.
with open(env_filepath, "x", encoding="utf-8") as env_file:
for config_key, config_value in self.__config.items():
# TODO transactionSettings dumps
env_file.write(f"{config_key}={config_value}\n")

Check failure

Code scanning / CodeQL

Clear-text storage of sensitive information

This expression stores [sensitive data (secret)](1) as clear text.
apm_fwkv_manager = SolarWindsFrameworkKvManager()

# TODO Use to init/merge/?? with ApmConfig
user_config = extract_user_config()

Check notice

Code scanning / CodeQL

Unused local variable

Variable user_config is not used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant