Skip to content

Commit

Permalink
fix: xccdf parameter type (#1440)
Browse files Browse the repository at this point in the history
Signed-off-by: Lou DeGenaro <lou.degenaro@gmail.com>
  • Loading branch information
degenaro committed Aug 28, 2023
1 parent c7bef58 commit 431670c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trestle/transforms/implementations/xccdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def _ingest_xml(self, blob: str) -> Optional[Results]:
results.__root__.append(self._results_factory.result)
return results

def _ingest_configmaps(self, jdata: str) -> None:
def _ingest_configmaps(self, jdata: dict) -> None:
"""Ingest configmaps."""
items = jdata['items']
for item in items:
Expand All @@ -121,7 +121,7 @@ def _ingest_configmaps(self, jdata: str) -> None:
resource = item
self._results_factory.ingest(resource)

def _ingest_auditree(self, jdata: str) -> None:
def _ingest_auditree(self, jdata: dict) -> None:
"""Ingest auditree."""
for key in jdata.keys():
for group in jdata[key]:
Expand Down

0 comments on commit 431670c

Please sign in to comment.