[hermes] ariadne #5: python:S2208 #7
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hermes auto-triage classified incident
sonar/ariadne/python:S2208/AZ2y0FYFKy9i4pkIpNlVas python:S2208 (confidence n/a); first failed gate:unknown.Why a human is needed
The module uses a wildcard import from cluster_state_contract, which obscures its actual dependencies. Importing the specific constants and re-exported types preserves all current behavior while making those dependencies explicit.
Ariadne did not authorize automated remediation:
no automated patch was possible for this finding.Facts
ariadne/services/cluster_state_profiles.py:5)Suggested fix (not applied)
Hermes could not open a pull request for this, so the change below was not written, validated, or pushed anywhere. It is a starting point for whoever picks this up, not a reviewed patch.
ariadne/services/cluster_state_profiles.py— Replace the wildcard import with the two constants used by this module and the two types intentionally exposed through all. This fixes S2208 without changing runtime behavior or the module's public exports.Links
/api/admin/audit/events, event typeshermes_autotriage_incidentandhermes_autotriage_diagnosis.Filed automatically by Ariadne from a Hermes Agent diagnosis (run run_d2203531510146539204e791e29436b6). Hermes has no write access to this repository; no files or infrastructure were changed.