canonical / canonical/data-platform-libs

[CodeQL] Change log messages that trigger CodeQL false-positives

Open
#129 1 comment 0 reactions 1 assignee Claimed by @juditnovak View on GitHub
Dominant language
Python
Stars
13
Forks
12
PR merge metrics
No merged PRs in 30d

Description

CodeQL keeps thinking that the code below distributes sensitive information.

```
except KeyError:
logger.error(
"Non-existing field '%s' was attempted to be removed from the databag (relation ID: %s)",
str(field),
```

This is an issue for all Charm Developers who use `data-platform-libs`, as they ALL manually need to supress the error on their pipelines.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.