canonical / data-platform-libs

A collection of charm libraries curated by the Data Platform Team
https://charmhub.io/data-platform-libs
Apache License 2.0
10 stars 9 forks source link

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

Open juditnovak opened 8 months ago

juditnovak commented 8 months ago

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.

github-actions[bot] commented 8 months ago

https://warthogs.atlassian.net/browse/DPE-3327