Skip to content

Commit

Permalink
precommit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorwalton committed Sep 3, 2024
1 parent f3df942 commit 7409de8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/app/agents/wazuh/services/vulnerabilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ async def collect_agent_vulnerabilities(agent_id: str, vulnerability_severity: s
message="Vulnerabilities collected successfully",
)


def process_agent_vulnerabilities(
agent_vulnerabilities: List[dict],
) -> List[WazuhAgentVulnerabilities]:
Expand All @@ -72,6 +73,7 @@ def process_agent_vulnerabilities(
detail=f"Failed to process agent vulnerabilities: {e}",
)


async def collect_agent_vulnerabilities_new(agent_id: str, vulnerability_severity: str):
"""
Collects vulnerabilities for a specific agent from the Wazuh Indexer Index.
Expand Down

0 comments on commit 7409de8

Please sign in to comment.