canonical / canonical/data-platform-libs
[CodeQL] Change log messages that trigger CodeQL false-positives
Open
- 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
Assessment
This issue has not been assessed yet.