From 8d662b6a833ea5f23e1e062200427a1d829d94f0 Mon Sep 17 00:00:00 2001 From: Manabu Niseki Date: Sat, 13 Jan 2024 22:43:13 +0900 Subject: [PATCH] fix: fix typo --- lib/mihari/models/artifact.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mihari/models/artifact.rb b/lib/mihari/models/artifact.rb index 99c177d1..fccf4ac7 100644 --- a/lib/mihari/models/artifact.rb +++ b/lib/mihari/models/artifact.rb @@ -47,7 +47,7 @@ class Artifact < ActiveRecord::Base attributes reverse_dns_name: "reverse_dns_names.name" attributes cpe: "cpes.name" attributes vuln: "vulnerabilities.name" - attributes port: "ports.port" + attributes port: "ports.number" end validates_with ArtifactValidator