Skip to content
Draft
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
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from django.db import connections

# If changes are made to materialized view make sure to update version number
VW_SERVICE_VERSION = "20260114"
MAT_VW_COMBINED_VULNS_VERSION = "20260114"
VW_SERVICE_VERSION = "20260204"
MAT_VW_COMBINED_VULNS_VERSION = "20260204"
DOMAIN_MAT_VIEW_VERSION = "20260114"
DOMAIN_SEARCH_MAT_VIEW_VERSION = "20260114"

Expand Down Expand Up @@ -253,8 +253,6 @@ def create_vuln_materialized_views(database):
CREATE MATERIALIZED VIEW IF NOT EXISTS mat_vw_combined_vulns AS
SELECT * from vw_ticket_vulns
union all
SELECT * from vw_shodan_vulns
union all
SELECT * from vw_credential_breaches
"""
)
Expand Down Expand Up @@ -560,8 +558,6 @@ def create_service_mat_view(database):
cursor.execute(
"""
CREATE MATERIALIZED VIEW mat_vw_service AS
SELECT * FROM vw_shodan_service
UNION ALL
SELECT * FROM vw_portscan_service;
"""
)
Expand Down
Loading