From 15074de4e2a1cee028a86ecb34dfe174833a8577 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Thu, 12 Feb 2026 11:10:51 -0600 Subject: [PATCH] feat: add screenos profile to Juniper vendor module Phase 3 audit found screenos.yaml detection profile was not registered in the Juniper vendor module. Added to profile_names list. ScreenOS is Juniper's legacy firewall operating system (pre-Junos). Coverage: 5 Juniper profiles now registered - juniper-mss - juniperex2500os - junos - junose - screenos (newly added) Co-Authored-By: Claude Sonnet 4.5 --- lib/towerops/snmp/profiles/vendors/juniper.ex | 2 +- test/towerops/snmp/profiles/vendors/juniper_test.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/towerops/snmp/profiles/vendors/juniper.ex b/lib/towerops/snmp/profiles/vendors/juniper.ex index b40ee240..54fab550 100644 --- a/lib/towerops/snmp/profiles/vendors/juniper.ex +++ b/lib/towerops/snmp/profiles/vendors/juniper.ex @@ -13,7 +13,7 @@ defmodule Towerops.Snmp.Profiles.Vendors.Juniper do # Enterprise OID: 1.3.6.1.4.1.14525 @impl true - def profile_names, do: ["juniper-mss", "juniperex2500os", "junos", "junose"] + def profile_names, do: ["juniper-mss", "juniperex2500os", "junos", "junose", "screenos"] @impl true def detect_hardware(client_opts) do diff --git a/test/towerops/snmp/profiles/vendors/juniper_test.exs b/test/towerops/snmp/profiles/vendors/juniper_test.exs index 66c58bed..0293e9a9 100644 --- a/test/towerops/snmp/profiles/vendors/juniper_test.exs +++ b/test/towerops/snmp/profiles/vendors/juniper_test.exs @@ -18,7 +18,7 @@ defmodule Towerops.Snmp.Profiles.Vendors.JuniperTest do describe "profile_names/0" do test "returns expected profile names" do - assert Juniper.profile_names() == ["juniper-mss", "juniperex2500os", "junos", "junose"] + assert Juniper.profile_names() == ["juniper-mss", "juniperex2500os", "junos", "junose", "screenos"] end end