Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions common/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from uuid import uuid4

import asyncpg
import pytz
import requests
from dateutil.parser import isoparse
from prometheus_client import Counter
Expand Down Expand Up @@ -362,7 +363,6 @@ def send_inventory_views(
inventory_id,
org_id,
rh_account_id,
last_evaluation,
total_cves,
critical_cves,
high_severity_cves,
Expand All @@ -380,7 +380,7 @@ def send_inventory_views(

msg = {
"org_id": org_id,
"timestamp": str(last_evaluation),
"timestamp": datetime.now(tz=pytz.utc).isoformat(),
"hosts": [
{
"id": inventory_id,
Expand Down
1 change: 0 additions & 1 deletion evaluator/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,6 @@ async def _evaluate_system(
inventory_id,
org_id,
system_platform.rh_account_id,
system_platform.last_evaluation,
total_cves,
critical_cves,
high_severity_cves,
Expand Down