mirror of
https://github.com/mayanayza/netvisor.git
synced 2025-12-10 08:24:08 -06:00
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@@ -56,6 +56,7 @@ jobs:
|
||||
build-binaries:
|
||||
name: Build Daemon Binaries
|
||||
runs-on: ${{ matrix.os }}
|
||||
needs: test-and-update-fixtures
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
|
||||
@@ -40,7 +40,7 @@ impl Default for UserBase {
|
||||
impl UserBase {
|
||||
pub fn new_seed() -> Self {
|
||||
Self {
|
||||
email: EmailAddress::new_unchecked("user@example.com"),
|
||||
email: EmailAddress::new_unchecked(format!("{}@netvisor.io", Uuid::new_v4())),
|
||||
password_hash: None,
|
||||
oidc_linked_at: None,
|
||||
oidc_provider: None,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"server_target": "http://server",
|
||||
"network_id": "34a11e2d-c6a5-4c99-ae3a-8652cefb3006",
|
||||
"network_id": "6da3caff-c772-413c-97d6-24c9d15281ab",
|
||||
"server_port": 60072,
|
||||
"daemon_port": 60073,
|
||||
"name": "netvisor-daemon",
|
||||
@@ -8,8 +8,9 @@
|
||||
"heartbeat_interval": 30,
|
||||
"bind_address": "0.0.0.0",
|
||||
"concurrent_scans": 15,
|
||||
"id": "89ff8a1d-ab03-42f9-9ff4-58906242e198",
|
||||
"id": "6157f68a-50db-4045-9b94-d9715e7adce9",
|
||||
"last_heartbeat": null,
|
||||
"host_id": "ff3a869b-7ff4-4ab4-870e-9cd19c536bc9",
|
||||
"daemon_api_key": "82f926bcaf214b5e9e475af72a233c80"
|
||||
"host_id": "4e04f3fa-034c-40b7-a547-3462c2dc8fae",
|
||||
"daemon_api_key": "2f46c70ebe954a7da70fd7b6c13beb96",
|
||||
"docker_proxy": null
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
-- PostgreSQL database dump
|
||||
--
|
||||
|
||||
\restrict W3q98DSNGlZX47WJu1q4Y4Av4sMbWt44CbbTuz55h93R4pKBG3e9TLkgyxjgdGf
|
||||
\restrict OyHJwGlF1m5muVQCaB84mLbuOXzkNHZGInlbaxIaNvwatPYGpC80p6c89E0n1Dn
|
||||
|
||||
-- Dumped from database version 17.6
|
||||
-- Dumped by pg_dump version 17.6
|
||||
@@ -29,7 +29,8 @@ ALTER TABLE IF EXISTS ONLY public.discovery DROP CONSTRAINT IF EXISTS discovery_
|
||||
ALTER TABLE IF EXISTS ONLY public.discovery DROP CONSTRAINT IF EXISTS discovery_daemon_id_fkey;
|
||||
ALTER TABLE IF EXISTS ONLY public.daemons DROP CONSTRAINT IF EXISTS daemons_network_id_fkey;
|
||||
ALTER TABLE IF EXISTS ONLY public.api_keys DROP CONSTRAINT IF EXISTS api_keys_network_id_fkey;
|
||||
DROP INDEX IF EXISTS public.idx_users_name_lower;
|
||||
DROP INDEX IF EXISTS public.idx_users_oidc_provider_subject;
|
||||
DROP INDEX IF EXISTS public.idx_users_email_lower;
|
||||
DROP INDEX IF EXISTS public.idx_subnets_network;
|
||||
DROP INDEX IF EXISTS public.idx_services_network;
|
||||
DROP INDEX IF EXISTS public.idx_services_host_id;
|
||||
@@ -254,11 +255,13 @@ ALTER TABLE public.subnets OWNER TO postgres;
|
||||
|
||||
CREATE TABLE public.users (
|
||||
id uuid NOT NULL,
|
||||
name text NOT NULL,
|
||||
created_at timestamp with time zone NOT NULL,
|
||||
updated_at timestamp with time zone NOT NULL,
|
||||
password_hash text,
|
||||
username text
|
||||
oidc_provider text,
|
||||
oidc_subject text,
|
||||
oidc_linked_at timestamp with time zone,
|
||||
email text NOT NULL
|
||||
);
|
||||
|
||||
|
||||
@@ -282,19 +285,20 @@ ALTER TABLE tower_sessions.session OWNER TO postgres;
|
||||
--
|
||||
|
||||
COPY public._sqlx_migrations (version, description, installed_on, success, checksum, execution_time) FROM stdin;
|
||||
20251006215000 users 2025-11-07 17:56:15.20566+00 t \\x4f13ce14ff67ef0b7145987c7b22b588745bf9fbb7b673450c26a0f2f9a36ef8ca980e456c8d77cfb1b2d7a4577a64d7 2024167
|
||||
20251006215100 networks 2025-11-07 17:56:15.208338+00 t \\xeaa5a07a262709f64f0c59f31e25519580c79e2d1a523ce72736848946a34b17dd9adc7498eaf90551af6b7ec6d4e0e3 1785625
|
||||
20251006215151 create hosts 2025-11-07 17:56:15.210296+00 t \\x6ec7487074c0724932d21df4cf1ed66645313cf62c159a7179e39cbc261bcb81a24f7933a0e3cf58504f2a90fc5c1962 1222041
|
||||
20251006215155 create subnets 2025-11-07 17:56:15.211716+00 t \\xefb5b25742bd5f4489b67351d9f2494a95f307428c911fd8c5f475bfb03926347bdc269bbd048d2ddb06336945b27926 1483667
|
||||
20251006215201 create groups 2025-11-07 17:56:15.213362+00 t \\x0a7032bf4d33a0baf020e905da865cde240e2a09dda2f62aa535b2c5d4b26b20be30a3286f1b5192bd94cd4a5dbb5bcd 1338375
|
||||
20251006215204 create daemons 2025-11-07 17:56:15.214889+00 t \\xcfea93403b1f9cf9aac374711d4ac72d8a223e3c38a1d2a06d9edb5f94e8a557debac3668271f8176368eadc5105349f 1493666
|
||||
20251006215212 create services 2025-11-07 17:56:15.216567+00 t \\xd5b07f82fc7c9da2782a364d46078d7d16b5c08df70cfbf02edcfe9b1b24ab6024ad159292aeea455f15cfd1f4740c1d 1490708
|
||||
20251029193448 user-auth 2025-11-07 17:56:15.218219+00 t \\xfde8161a8db89d51eeade7517d90a41d560f19645620f2298f78f116219a09728b18e91251ae31e46a47f6942d5a9032 5759250
|
||||
20251030044828 daemon api 2025-11-07 17:56:15.224139+00 t \\x181eb3541f51ef5b038b2064660370775d1b364547a214a20dde9c9d4bb95a1c273cd4525ef29e61fa65a3eb4fee0400 598167
|
||||
20251030170438 host-hide 2025-11-07 17:56:15.224891+00 t \\x87c6fda7f8456bf610a78e8e98803158caa0e12857c5bab466a5bb0004d41b449004a68e728ca13f17e051f662a15454 472250
|
||||
20251102224919 create discovery 2025-11-07 17:56:15.225517+00 t \\xb32a04abb891aba48f92a059fae7341442355ca8e4af5d109e28e2a4f79ee8e11b2a8f40453b7f6725c2dd6487f26573 4234041
|
||||
20251106235621 normalize-daemon-cols 2025-11-07 17:56:15.229919+00 t \\x5b137118d506e2708097c432358bf909265b3cf3bacd662b02e2c81ba589a9e0100631c7801cffd9c57bb10a6674fb3b 563792
|
||||
20251107034459 api keys 2025-11-07 17:56:15.230653+00 t \\x3133ec043c0c6e25b6e55f7da84cae52b2a72488116938a2c669c8512c2efe72a74029912bcba1f2a2a0a8b59ef01dde 3927458
|
||||
20251006215000 users 2025-11-08 20:34:19.295782+00 t \\x4f13ce14ff67ef0b7145987c7b22b588745bf9fbb7b673450c26a0f2f9a36ef8ca980e456c8d77cfb1b2d7a4577a64d7 6097583
|
||||
20251006215100 networks 2025-11-08 20:34:19.304061+00 t \\xeaa5a07a262709f64f0c59f31e25519580c79e2d1a523ce72736848946a34b17dd9adc7498eaf90551af6b7ec6d4e0e3 4337459
|
||||
20251006215151 create hosts 2025-11-08 20:34:19.308678+00 t \\x6ec7487074c0724932d21df4cf1ed66645313cf62c159a7179e39cbc261bcb81a24f7933a0e3cf58504f2a90fc5c1962 2000125
|
||||
20251006215155 create subnets 2025-11-08 20:34:19.310922+00 t \\xefb5b25742bd5f4489b67351d9f2494a95f307428c911fd8c5f475bfb03926347bdc269bbd048d2ddb06336945b27926 3503167
|
||||
20251006215201 create groups 2025-11-08 20:34:19.314833+00 t \\x0a7032bf4d33a0baf020e905da865cde240e2a09dda2f62aa535b2c5d4b26b20be30a3286f1b5192bd94cd4a5dbb5bcd 2740208
|
||||
20251006215204 create daemons 2025-11-08 20:34:19.317709+00 t \\xcfea93403b1f9cf9aac374711d4ac72d8a223e3c38a1d2a06d9edb5f94e8a557debac3668271f8176368eadc5105349f 3210292
|
||||
20251006215212 create services 2025-11-08 20:34:19.321343+00 t \\xd5b07f82fc7c9da2782a364d46078d7d16b5c08df70cfbf02edcfe9b1b24ab6024ad159292aeea455f15cfd1f4740c1d 3187292
|
||||
20251029193448 user-auth 2025-11-08 20:34:19.324724+00 t \\xfde8161a8db89d51eeade7517d90a41d560f19645620f2298f78f116219a09728b18e91251ae31e46a47f6942d5a9032 14600875
|
||||
20251030044828 daemon api 2025-11-08 20:34:19.339491+00 t \\x181eb3541f51ef5b038b2064660370775d1b364547a214a20dde9c9d4bb95a1c273cd4525ef29e61fa65a3eb4fee0400 639417
|
||||
20251030170438 host-hide 2025-11-08 20:34:19.340277+00 t \\x87c6fda7f8456bf610a78e8e98803158caa0e12857c5bab466a5bb0004d41b449004a68e728ca13f17e051f662a15454 480375
|
||||
20251102224919 create discovery 2025-11-08 20:34:19.340906+00 t \\xb32a04abb891aba48f92a059fae7341442355ca8e4af5d109e28e2a4f79ee8e11b2a8f40453b7f6725c2dd6487f26573 5955958
|
||||
20251106235621 normalize-daemon-cols 2025-11-08 20:34:19.347012+00 t \\x5b137118d506e2708097c432358bf909265b3cf3bacd662b02e2c81ba589a9e0100631c7801cffd9c57bb10a6674fb3b 582291
|
||||
20251107034459 api keys 2025-11-08 20:34:19.347779+00 t \\x3133ec043c0c6e25b6e55f7da84cae52b2a72488116938a2c669c8512c2efe72a74029912bcba1f2a2a0a8b59ef01dde 5429208
|
||||
20251107222650 oidc-auth 2025-11-08 20:34:19.353405+00 t \\xd349750e0298718cbcd98eaff6e152b3fb45c3d9d62d06eedeb26c75452e9ce1af65c3e52c9f2de4bd532939c2f31096 12588459
|
||||
\.
|
||||
|
||||
|
||||
@@ -303,7 +307,7 @@ COPY public._sqlx_migrations (version, description, installed_on, success, check
|
||||
--
|
||||
|
||||
COPY public.api_keys (id, key, network_id, name, created_at, updated_at, last_used, expires_at, is_enabled) FROM stdin;
|
||||
71b68374-5339-4ea0-bce3-b1ae66ff36f5 82f926bcaf214b5e9e475af72a233c80 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 Integrated Daemon API Key 2025-11-07 17:56:15.287064+00 2025-11-07 17:57:22.534686+00 2025-11-07 17:57:22.532925+00 \N t
|
||||
de7c726d-106a-42bc-af04-6ddf7537262f 2f46c70ebe954a7da70fd7b6c13beb96 6da3caff-c772-413c-97d6-24c9d15281ab Integrated Daemon API Key 2025-11-08 20:34:19.425784+00 2025-11-08 20:35:26.689023+00 2025-11-08 20:35:26.685487+00 \N t
|
||||
\.
|
||||
|
||||
|
||||
@@ -312,7 +316,7 @@ COPY public.api_keys (id, key, network_id, name, created_at, updated_at, last_us
|
||||
--
|
||||
|
||||
COPY public.daemons (id, network_id, host_id, ip, port, created_at, last_seen, capabilities, updated_at) FROM stdin;
|
||||
89ff8a1d-ab03-42f9-9ff4-58906242e198 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 ff3a869b-7ff4-4ab4-870e-9cd19c536bc9 "172.25.0.4" 60073 2025-11-07 17:56:15.33727+00 2025-11-07 17:56:15.33727+00 {"has_docker_socket": false, "interfaced_subnet_ids": ["18e4ccc3-6522-4ceb-af90-924d3e529197"]} 2025-11-07 17:56:15.346306+00
|
||||
6157f68a-50db-4045-9b94-d9715e7adce9 6da3caff-c772-413c-97d6-24c9d15281ab 4e04f3fa-034c-40b7-a547-3462c2dc8fae "172.25.0.4" 60073 2025-11-08 20:34:19.483305+00 2025-11-08 20:34:19.483304+00 {"has_docker_socket": false, "interfaced_subnet_ids": ["2eb09447-ca29-43e9-942b-7c55a4b3921c"]} 2025-11-08 20:34:19.493116+00
|
||||
\.
|
||||
|
||||
|
||||
@@ -321,10 +325,10 @@ COPY public.daemons (id, network_id, host_id, ip, port, created_at, last_seen, c
|
||||
--
|
||||
|
||||
COPY public.discovery (id, network_id, daemon_id, run_type, discovery_type, name, created_at, updated_at) FROM stdin;
|
||||
6d4c4b75-1769-4a2e-afd8-e3fef54cc5cf 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 89ff8a1d-ab03-42f9-9ff4-58906242e198 {"type": "Scheduled", "enabled": true, "last_run": null, "cron_schedule": "0 0 0 * * *"} {"type": "SelfReport", "host_id": "ff3a869b-7ff4-4ab4-870e-9cd19c536bc9"} Self Report @ 172.25.0.4 2025-11-07 17:56:15.337817+00 2025-11-07 17:56:15.337817+00
|
||||
11601fce-7081-46b5-a8e6-44b0e7fe7bcb 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 89ff8a1d-ab03-42f9-9ff4-58906242e198 {"type": "Scheduled", "enabled": true, "last_run": null, "cron_schedule": "0 0 0 * * *"} {"type": "Network", "subnet_ids": null, "host_naming_fallback": "BestService"} Network Scan @ 172.25.0.4 2025-11-07 17:56:15.341739+00 2025-11-07 17:56:15.341739+00
|
||||
3eaa2dd6-d0e8-410a-a22b-1d2a3c4bda2e 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 89ff8a1d-ab03-42f9-9ff4-58906242e198 {"type": "Historical", "results": {"error": null, "phase": "Complete", "daemon_id": "89ff8a1d-ab03-42f9-9ff4-58906242e198", "processed": 1, "network_id": "34a11e2d-c6a5-4c99-ae3a-8652cefb3006", "session_id": "89e4f14f-d1aa-45ad-a139-705e2df77588", "started_at": "2025-11-07T17:56:15.341590211Z", "finished_at": "2025-11-07T17:56:15.352356753Z", "discovery_type": {"type": "SelfReport", "host_id": "ff3a869b-7ff4-4ab4-870e-9cd19c536bc9"}, "total_to_process": 1}} {"type": "SelfReport", "host_id": "ff3a869b-7ff4-4ab4-870e-9cd19c536bc9"} Discovery Run 2025-11-07 17:56:15.34159+00 2025-11-07 17:56:15.352754+00
|
||||
4a3e88d3-99f9-4646-ad23-294c35e2a39b 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 89ff8a1d-ab03-42f9-9ff4-58906242e198 {"type": "Historical", "results": {"error": null, "phase": "Complete", "daemon_id": "89ff8a1d-ab03-42f9-9ff4-58906242e198", "processed": 12, "network_id": "34a11e2d-c6a5-4c99-ae3a-8652cefb3006", "session_id": "7d58c112-d20a-4891-b1f1-ac35950466d3", "started_at": "2025-11-07T17:56:15.359730669Z", "finished_at": "2025-11-07T17:57:22.526707298Z", "discovery_type": {"type": "Network", "subnet_ids": null, "host_naming_fallback": "BestService"}, "total_to_process": 16}} {"type": "Network", "subnet_ids": null, "host_naming_fallback": "BestService"} Discovery Run 2025-11-07 17:56:15.35973+00 2025-11-07 17:57:22.534589+00
|
||||
18827cb0-469f-48da-bc11-b26a331663ca 6da3caff-c772-413c-97d6-24c9d15281ab 6157f68a-50db-4045-9b94-d9715e7adce9 {"type": "Scheduled", "enabled": true, "last_run": null, "cron_schedule": "0 0 0 * * *"} {"type": "SelfReport", "host_id": "4e04f3fa-034c-40b7-a547-3462c2dc8fae"} Self Report @ 172.25.0.4 2025-11-08 20:34:19.483963+00 2025-11-08 20:34:19.483963+00
|
||||
b39e05c2-3b25-4dc9-b50e-48653e4c0ca5 6da3caff-c772-413c-97d6-24c9d15281ab 6157f68a-50db-4045-9b94-d9715e7adce9 {"type": "Scheduled", "enabled": true, "last_run": null, "cron_schedule": "0 0 0 * * *"} {"type": "Network", "subnet_ids": null, "host_naming_fallback": "BestService"} Network Scan @ 172.25.0.4 2025-11-08 20:34:19.487198+00 2025-11-08 20:34:19.487198+00
|
||||
bcb0fc7d-0192-4133-bb6a-28b33646f038 6da3caff-c772-413c-97d6-24c9d15281ab 6157f68a-50db-4045-9b94-d9715e7adce9 {"type": "Historical", "results": {"error": null, "phase": "Complete", "daemon_id": "6157f68a-50db-4045-9b94-d9715e7adce9", "processed": 1, "network_id": "6da3caff-c772-413c-97d6-24c9d15281ab", "session_id": "1240fa2d-e5be-4a00-b362-34c4b69f31e5", "started_at": "2025-11-08T20:34:19.487079090Z", "finished_at": "2025-11-08T20:34:19.498969632Z", "discovery_type": {"type": "SelfReport", "host_id": "4e04f3fa-034c-40b7-a547-3462c2dc8fae"}, "total_to_process": 1}} {"type": "SelfReport", "host_id": "4e04f3fa-034c-40b7-a547-3462c2dc8fae"} Discovery Run 2025-11-08 20:34:19.487079+00 2025-11-08 20:34:19.499453+00
|
||||
ffa23467-90cd-4d83-a35c-30795c91e7c3 6da3caff-c772-413c-97d6-24c9d15281ab 6157f68a-50db-4045-9b94-d9715e7adce9 {"type": "Historical", "results": {"error": null, "phase": "Complete", "daemon_id": "6157f68a-50db-4045-9b94-d9715e7adce9", "processed": 12, "network_id": "6da3caff-c772-413c-97d6-24c9d15281ab", "session_id": "4c262c4c-eb8a-47e6-be3b-297836b59f5f", "started_at": "2025-11-08T20:34:19.506499799Z", "finished_at": "2025-11-08T20:35:26.639742636Z", "discovery_type": {"type": "Network", "subnet_ids": null, "host_naming_fallback": "BestService"}, "total_to_process": 16}} {"type": "Network", "subnet_ids": null, "host_naming_fallback": "BestService"} Discovery Run 2025-11-08 20:34:19.506499+00 2025-11-08 20:35:26.688674+00
|
||||
\.
|
||||
|
||||
|
||||
@@ -341,13 +345,13 @@ COPY public.groups (id, network_id, name, description, group_type, created_at, u
|
||||
--
|
||||
|
||||
COPY public.hosts (id, network_id, name, hostname, description, target, interfaces, services, ports, source, virtualization, created_at, updated_at, hidden) FROM stdin;
|
||||
61f22e20-ccb6-4c86-a714-e85e9cadd583 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 Cloudflare DNS \N \N {"type": "ServiceBinding", "config": "7e15044c-f83c-42bb-9b0d-9ae5d1112dd9"} [{"id": "fe0e4f16-da04-4c51-8795-b8864ac03e62", "name": "Internet", "subnet_id": "e563d2d5-a92f-46c6-8650-65aacffdae15", "ip_address": "1.1.1.1", "mac_address": null}] ["e76505fc-6725-4591-bab7-d6950b90a3ab"] [{"id": "744c8245-07df-43cd-b4ca-542248f6768b", "type": "DnsUdp", "number": 53, "protocol": "Udp"}] {"type": "System"} null 2025-11-07 17:56:15.27529+00 2025-11-07 17:56:15.281331+00 f
|
||||
dee0e25e-d971-464a-8e67-e82c0192c302 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 Google.com \N \N {"type": "ServiceBinding", "config": "96ad8b00-5b85-4486-b99e-585f60c4bdcd"} [{"id": "9e4ad041-bc86-4838-b34a-e73e40a71618", "name": "Internet", "subnet_id": "e563d2d5-a92f-46c6-8650-65aacffdae15", "ip_address": "203.0.113.197", "mac_address": null}] ["79153558-fd49-4e95-8e01-da0329840fc1"] [{"id": "59ae5ea2-961a-4706-9886-89fd07bc2487", "type": "Https", "number": 443, "protocol": "Tcp"}] {"type": "System"} null 2025-11-07 17:56:15.275294+00 2025-11-07 17:56:15.28415+00 f
|
||||
5dcb5b79-8ec3-4f60-8a9e-68b956f927a6 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 Mobile Device \N A mobile device connecting from a remote network {"type": "ServiceBinding", "config": "40b23445-a9f9-43c8-b348-294599caa6cf"} [{"id": "fa04358c-fc8c-4ea1-8728-341a2cfa2081", "name": "Remote Network", "subnet_id": "f59b14bf-53da-49cf-99a5-5cac15359db6", "ip_address": "203.0.113.187", "mac_address": null}] ["714d1dc1-7ce6-4c8c-bc74-d4069788503e"] [{"id": "f26354f3-fb79-4bd1-b7ad-71589556720e", "type": "Custom", "number": 0, "protocol": "Tcp"}] {"type": "System"} null 2025-11-07 17:56:15.275297+00 2025-11-07 17:56:15.286741+00 f
|
||||
2881fe85-fce0-48fb-8716-ecb54132299f 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 netvisor-server-1.netvisor_netvisor-dev netvisor-server-1.netvisor_netvisor-dev \N {"type": "Hostname"} [{"id": "7385100e-0d8e-470e-bbd3-bd70eb3efe61", "name": null, "subnet_id": "18e4ccc3-6522-4ceb-af90-924d3e529197", "ip_address": "172.25.0.3", "mac_address": "86:87:D3:B7:CC:C7"}] ["e67048b8-07f5-4bdc-ba02-1c835148a722"] [{"id": "dbed6bcd-53d2-4fd0-8564-bcca03db384f", "type": "Custom", "number": 60072, "protocol": "Tcp"}] {"type": "Discovery", "metadata": [{"date": "2025-11-07T17:56:19.392783255Z", "type": "Network", "daemon_id": "89ff8a1d-ab03-42f9-9ff4-58906242e198", "subnet_ids": null, "host_naming_fallback": "BestService"}]} null 2025-11-07 17:56:19.392783+00 2025-11-07 17:56:28.589005+00 f
|
||||
7e59ef02-6432-42b9-8d53-69899308a026 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 homeassistant-discovery.netvisor_netvisor-dev homeassistant-discovery.netvisor_netvisor-dev \N {"type": "Hostname"} [{"id": "37f60ce2-5f2f-4229-b50c-ff9a91f4a2c7", "name": null, "subnet_id": "18e4ccc3-6522-4ceb-af90-924d3e529197", "ip_address": "172.25.0.5", "mac_address": "8E:2F:B0:D3:76:D6"}] ["822285a2-273c-462a-ba79-4c30ceb94505"] [{"id": "569c0e3c-169d-4ad9-97eb-6fd843898ef1", "type": "Custom", "number": 8123, "protocol": "Tcp"}] {"type": "Discovery", "metadata": [{"date": "2025-11-07T17:56:28.554981759Z", "type": "Network", "daemon_id": "89ff8a1d-ab03-42f9-9ff4-58906242e198", "subnet_ids": null, "host_naming_fallback": "BestService"}]} null 2025-11-07 17:56:28.554986+00 2025-11-07 17:56:37.644739+00 f
|
||||
ff3a869b-7ff4-4ab4-870e-9cd19c536bc9 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 172.25.0.4 6f0f13a11741 NetVisor daemon {"type": "None"} [{"id": "7cd206ca-2627-4f92-af3c-8b79d376fe03", "name": "eth0", "subnet_id": "18e4ccc3-6522-4ceb-af90-924d3e529197", "ip_address": "172.25.0.4", "mac_address": "FA:36:21:BC:95:65"}] ["45308010-ef93-4987-ba1d-8371f260b8f8", "cbbc4ba9-a85b-474a-8dce-aad129c3752d"] [{"id": "948ad210-939e-4245-8f23-8df160a6bf9a", "type": "Custom", "number": 60073, "protocol": "Tcp"}] {"type": "Discovery", "metadata": [{"date": "2025-11-07T17:56:19.391258255Z", "type": "Network", "daemon_id": "89ff8a1d-ab03-42f9-9ff4-58906242e198", "subnet_ids": null, "host_naming_fallback": "BestService"}, {"date": "2025-11-07T17:56:15.346900253Z", "type": "SelfReport", "host_id": "ff3a869b-7ff4-4ab4-870e-9cd19c536bc9", "daemon_id": "89ff8a1d-ab03-42f9-9ff4-58906242e198"}]} null 2025-11-07 17:56:15.304497+00 2025-11-07 17:56:19.398815+00 f
|
||||
de02c34d-491a-40fd-b1d0-a827f66a617a 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 Home Assistant \N \N {"type": "None"} [{"id": "9cbf2d34-2a1f-4a10-9c45-572bb1b56103", "name": null, "subnet_id": "18e4ccc3-6522-4ceb-af90-924d3e529197", "ip_address": "172.25.0.1", "mac_address": "06:05:EF:47:B0:D4"}] ["c618967a-7ece-4d86-9879-cd6d2f47d9c4", "fcec642b-9ef5-4157-be8a-ffc7d136e913"] [{"id": "ee4908b9-1c4f-467a-b056-02fe93c94467", "type": "Custom", "number": 8123, "protocol": "Tcp"}, {"id": "df7fc0eb-f0c3-4488-be94-44a9dc5000b9", "type": "Custom", "number": 60072, "protocol": "Tcp"}] {"type": "Discovery", "metadata": [{"date": "2025-11-07T17:56:37.631990972Z", "type": "Network", "daemon_id": "89ff8a1d-ab03-42f9-9ff4-58906242e198", "subnet_ids": null, "host_naming_fallback": "BestService"}]} null 2025-11-07 17:56:37.631992+00 2025-11-07 17:56:46.862456+00 f
|
||||
2d5ef120-3721-4c6e-82b5-83a78f535706 6da3caff-c772-413c-97d6-24c9d15281ab Cloudflare DNS \N \N {"type": "ServiceBinding", "config": "dec9d1ab-b666-40cb-8d14-654a265a7c35"} [{"id": "00feed89-bcdb-442e-a735-75bc5cba709d", "name": "Internet", "subnet_id": "1b7119ae-9b65-40d6-98dc-e35407240635", "ip_address": "1.1.1.1", "mac_address": null}] ["6de2446e-45ca-4165-95e3-9640b934294f"] [{"id": "4bb72b22-7c54-4b65-ac21-6ecc5651bd68", "type": "DnsUdp", "number": 53, "protocol": "Udp"}] {"type": "System"} null 2025-11-08 20:34:19.410515+00 2025-11-08 20:34:19.417594+00 f
|
||||
506a9862-714e-444b-bbe6-6a215187994b 6da3caff-c772-413c-97d6-24c9d15281ab Google.com \N \N {"type": "ServiceBinding", "config": "df028430-48f5-4e63-8b98-f9664bf0ad84"} [{"id": "d6f36ca9-e4e2-4438-8b4c-f19c6dd75d9e", "name": "Internet", "subnet_id": "1b7119ae-9b65-40d6-98dc-e35407240635", "ip_address": "203.0.113.217", "mac_address": null}] ["93a5d952-4790-4249-bffc-d3427a23e95b"] [{"id": "352729c9-3ad5-4bf8-855f-8b7361d43b0a", "type": "Https", "number": 443, "protocol": "Tcp"}] {"type": "System"} null 2025-11-08 20:34:19.41052+00 2025-11-08 20:34:19.420646+00 f
|
||||
d9163714-50c0-4475-bf6f-736ea5a70178 6da3caff-c772-413c-97d6-24c9d15281ab Mobile Device \N A mobile device connecting from a remote network {"type": "ServiceBinding", "config": "dfaba881-e84d-4a5e-8e99-aef423e29587"} [{"id": "3d83e5e4-aa31-4980-9d30-71a1a789c5c3", "name": "Remote Network", "subnet_id": "bc96fe5e-8b06-48e2-a74f-43346c4a8f4b", "ip_address": "203.0.113.174", "mac_address": null}] ["1ea74035-6492-49fe-b613-c93726ecb3d5"] [{"id": "f4118c71-e628-48b9-be50-c1745d0053d0", "type": "Custom", "number": 0, "protocol": "Tcp"}] {"type": "System"} null 2025-11-08 20:34:19.410522+00 2025-11-08 20:34:19.425375+00 f
|
||||
37aae152-5374-4b52-9252-7471bb1c6acb 6da3caff-c772-413c-97d6-24c9d15281ab netvisor-server-1.netvisor_netvisor-dev netvisor-server-1.netvisor_netvisor-dev \N {"type": "Hostname"} [{"id": "cd21a96e-e260-4a14-bd28-0a8a6c5ae169", "name": null, "subnet_id": "2eb09447-ca29-43e9-942b-7c55a4b3921c", "ip_address": "172.25.0.3", "mac_address": "D2:CA:F0:17:7D:66"}] ["9dcef035-7591-4854-80e5-18c83e0fe843"] [{"id": "98008b39-5359-4aea-b43a-d4ddefd053ff", "type": "Custom", "number": 60072, "protocol": "Tcp"}] {"type": "Discovery", "metadata": [{"date": "2025-11-08T20:34:23.553639217Z", "type": "Network", "daemon_id": "6157f68a-50db-4045-9b94-d9715e7adce9", "subnet_ids": null, "host_naming_fallback": "BestService"}]} null 2025-11-08 20:34:23.553643+00 2025-11-08 20:34:33.312206+00 f
|
||||
ca1c031c-5e2a-483b-a8e8-3af9e42d9110 6da3caff-c772-413c-97d6-24c9d15281ab homeassistant-discovery.netvisor_netvisor-dev homeassistant-discovery.netvisor_netvisor-dev \N {"type": "Hostname"} [{"id": "97e16e8c-f17b-4fac-81ab-1e5b018fbea0", "name": null, "subnet_id": "2eb09447-ca29-43e9-942b-7c55a4b3921c", "ip_address": "172.25.0.5", "mac_address": "52:14:1F:52:4A:8D"}] ["8f113c82-6572-4765-9260-3c0b921859b1"] [{"id": "c984cfed-e9e7-4b8e-9e97-7ffe036289e2", "type": "Custom", "number": 8123, "protocol": "Tcp"}] {"type": "Discovery", "metadata": [{"date": "2025-11-08T20:34:33.259285555Z", "type": "Network", "daemon_id": "6157f68a-50db-4045-9b94-d9715e7adce9", "subnet_ids": null, "host_naming_fallback": "BestService"}]} null 2025-11-08 20:34:33.259286+00 2025-11-08 20:34:42.333031+00 f
|
||||
4e04f3fa-034c-40b7-a547-3462c2dc8fae 6da3caff-c772-413c-97d6-24c9d15281ab 172.25.0.4 56357de64c4c NetVisor daemon {"type": "None"} [{"id": "224d34a6-24f0-48d5-9533-8e0cba506bac", "name": "eth0", "subnet_id": "2eb09447-ca29-43e9-942b-7c55a4b3921c", "ip_address": "172.25.0.4", "mac_address": "82:93:81:2E:8E:F2"}] ["7dda57d9-23bb-4566-8b88-dac590ffe791", "3d87a8bb-e987-40d4-98ab-3a5b1fd7be11"] [{"id": "a9eb87bb-1df8-4098-9b4d-999cb1bdc7dd", "type": "Custom", "number": 60073, "protocol": "Tcp"}] {"type": "Discovery", "metadata": [{"date": "2025-11-08T20:34:23.550635676Z", "type": "Network", "daemon_id": "6157f68a-50db-4045-9b94-d9715e7adce9", "subnet_ids": null, "host_naming_fallback": "BestService"}, {"date": "2025-11-08T20:34:19.493855507Z", "type": "SelfReport", "host_id": "4e04f3fa-034c-40b7-a547-3462c2dc8fae", "daemon_id": "6157f68a-50db-4045-9b94-d9715e7adce9"}]} null 2025-11-08 20:34:19.447121+00 2025-11-08 20:34:23.570115+00 f
|
||||
abf410b4-b5ac-4a13-a9e2-2293092ac974 6da3caff-c772-413c-97d6-24c9d15281ab NetVisor Server API \N \N {"type": "None"} [{"id": "8911b885-12d8-4c42-b5b7-0a9f5e641ae0", "name": null, "subnet_id": "2eb09447-ca29-43e9-942b-7c55a4b3921c", "ip_address": "172.25.0.1", "mac_address": "AA:F5:86:07:85:2C"}] ["38356603-bf1a-4a43-9a22-4d33bbb65ca0", "7ff4179b-a5d4-4a84-a619-73cecc7eee25"] [{"id": "89edda74-c4e8-43f6-9e96-c9c602cdf5ce", "type": "Custom", "number": 60072, "protocol": "Tcp"}, {"id": "0ed13c51-d531-462e-a72b-f03b2ad43fc6", "type": "Custom", "number": 8123, "protocol": "Tcp"}] {"type": "Discovery", "metadata": [{"date": "2025-11-08T20:34:42.327080837Z", "type": "Network", "daemon_id": "6157f68a-50db-4045-9b94-d9715e7adce9", "subnet_ids": null, "host_naming_fallback": "BestService"}]} null 2025-11-08 20:34:42.327084+00 2025-11-08 20:34:52.22652+00 f
|
||||
\.
|
||||
|
||||
|
||||
@@ -356,7 +360,7 @@ de02c34d-491a-40fd-b1d0-a827f66a617a 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 Home A
|
||||
--
|
||||
|
||||
COPY public.networks (id, name, created_at, updated_at, is_default, user_id) FROM stdin;
|
||||
34a11e2d-c6a5-4c99-ae3a-8652cefb3006 My Network 2025-11-07 17:56:15.274263+00 2025-11-07 17:56:15.274263+00 t 99161829-d067-4bc1-894f-6363f9188046
|
||||
6da3caff-c772-413c-97d6-24c9d15281ab My Network 2025-11-08 20:34:19.40925+00 2025-11-08 20:34:19.40925+00 t 6289f8ac-3773-4d87-92d7-31e2757e328b
|
||||
\.
|
||||
|
||||
|
||||
@@ -365,14 +369,14 @@ COPY public.networks (id, name, created_at, updated_at, is_default, user_id) FRO
|
||||
--
|
||||
|
||||
COPY public.services (id, network_id, created_at, updated_at, name, host_id, bindings, service_definition, virtualization, source) FROM stdin;
|
||||
e76505fc-6725-4591-bab7-d6950b90a3ab 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 2025-11-07 17:56:15.275291+00 2025-11-07 17:56:15.280818+00 Cloudflare DNS 61f22e20-ccb6-4c86-a714-e85e9cadd583 [{"id": "7e15044c-f83c-42bb-9b0d-9ae5d1112dd9", "type": "Port", "port_id": "744c8245-07df-43cd-b4ca-542248f6768b", "interface_id": "fe0e4f16-da04-4c51-8795-b8864ac03e62"}] "Dns Server" null {"type": "System"}
|
||||
79153558-fd49-4e95-8e01-da0329840fc1 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 2025-11-07 17:56:15.275296+00 2025-11-07 17:56:15.283792+00 Google.com dee0e25e-d971-464a-8e67-e82c0192c302 [{"id": "96ad8b00-5b85-4486-b99e-585f60c4bdcd", "type": "Port", "port_id": "59ae5ea2-961a-4706-9886-89fd07bc2487", "interface_id": "9e4ad041-bc86-4838-b34a-e73e40a71618"}] "Web Service" null {"type": "System"}
|
||||
714d1dc1-7ce6-4c8c-bc74-d4069788503e 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 2025-11-07 17:56:15.275298+00 2025-11-07 17:56:15.286355+00 Mobile Device 5dcb5b79-8ec3-4f60-8a9e-68b956f927a6 [{"id": "40b23445-a9f9-43c8-b348-294599caa6cf", "type": "Port", "port_id": "f26354f3-fb79-4bd1-b7ad-71589556720e", "interface_id": "fa04358c-fc8c-4ea1-8728-341a2cfa2081"}] "Client" null {"type": "System"}
|
||||
822285a2-273c-462a-ba79-4c30ceb94505 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 2025-11-07 17:56:30.8869+00 2025-11-07 17:56:37.644024+00 Home Assistant 7e59ef02-6432-42b9-8d53-69899308a026 [{"id": "61ae7203-ca55-4f4b-8089-7e730c8c084c", "type": "Port", "port_id": "569c0e3c-169d-4ad9-97eb-6fd843898ef1", "interface_id": "37f60ce2-5f2f-4229-b50c-ff9a91f4a2c7"}] "Home Assistant" null {"type": "DiscoveryWithMatch", "details": {"reason": {"data": "Response from http://172.25.0.5:8123/auth/authorize contained \\"home assistant\\"", "type": "reason"}, "confidence": "High"}, "metadata": [{"date": "2025-11-07T17:56:30.886893385Z", "type": "Network", "daemon_id": "89ff8a1d-ab03-42f9-9ff4-58906242e198", "subnet_ids": null, "host_naming_fallback": "BestService"}]}
|
||||
45308010-ef93-4987-ba1d-8371f260b8f8 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 2025-11-07 17:56:15.346916+00 2025-11-07 17:56:19.398251+00 NetVisor Daemon API ff3a869b-7ff4-4ab4-870e-9cd19c536bc9 [{"id": "b8c4b842-e881-41f1-9dbe-aa7fb2b76537", "type": "Port", "port_id": "948ad210-939e-4245-8f23-8df160a6bf9a", "interface_id": "7cd206ca-2627-4f92-af3c-8b79d376fe03"}] "NetVisor Daemon API" null {"type": "DiscoveryWithMatch", "details": {"reason": {"data": ["NetVisor Daemon self-report", [{"data": "Response from http://172.25.0.4:60073/api/health contained \\"netvisor\\"", "type": "reason"}, {"data": "NetVisor Daemon self-report", "type": "reason"}]], "type": "container"}, "confidence": "Certain"}, "metadata": [{"date": "2025-11-07T17:56:19.392086171Z", "type": "Network", "daemon_id": "89ff8a1d-ab03-42f9-9ff4-58906242e198", "subnet_ids": null, "host_naming_fallback": "BestService"}, {"date": "2025-11-07T17:56:15.346910128Z", "type": "SelfReport", "host_id": "ff3a869b-7ff4-4ab4-870e-9cd19c536bc9", "daemon_id": "89ff8a1d-ab03-42f9-9ff4-58906242e198"}]}
|
||||
e67048b8-07f5-4bdc-ba02-1c835148a722 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 2025-11-07 17:56:28.101058+00 2025-11-07 17:56:28.58831+00 NetVisor Server API 2881fe85-fce0-48fb-8716-ecb54132299f [{"id": "668770c2-7b5c-4a84-8c34-b12e427b5b30", "type": "Port", "port_id": "dbed6bcd-53d2-4fd0-8564-bcca03db384f", "interface_id": "7385100e-0d8e-470e-bbd3-bd70eb3efe61"}] "NetVisor Server API" null {"type": "DiscoveryWithMatch", "details": {"reason": {"data": "Response from http://172.25.0.3:60072/api/health contained \\"netvisor\\"", "type": "reason"}, "confidence": "High"}, "metadata": [{"date": "2025-11-07T17:56:28.101047342Z", "type": "Network", "daemon_id": "89ff8a1d-ab03-42f9-9ff4-58906242e198", "subnet_ids": null, "host_naming_fallback": "BestService"}]}
|
||||
c618967a-7ece-4d86-9879-cd6d2f47d9c4 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 2025-11-07 17:56:39.85792+00 2025-11-07 17:56:46.861544+00 Home Assistant de02c34d-491a-40fd-b1d0-a827f66a617a [{"id": "57a14a1c-53ed-4e17-a6c0-2f51221dc169", "type": "Port", "port_id": "ee4908b9-1c4f-467a-b056-02fe93c94467", "interface_id": "9cbf2d34-2a1f-4a10-9c45-572bb1b56103"}] "Home Assistant" null {"type": "DiscoveryWithMatch", "details": {"reason": {"data": "Response from http://172.25.0.1:8123/auth/authorize contained \\"home assistant\\"", "type": "reason"}, "confidence": "High"}, "metadata": [{"date": "2025-11-07T17:56:39.857914125Z", "type": "Network", "daemon_id": "89ff8a1d-ab03-42f9-9ff4-58906242e198", "subnet_ids": null, "host_naming_fallback": "BestService"}]}
|
||||
fcec642b-9ef5-4157-be8a-ffc7d136e913 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 2025-11-07 17:56:46.384413+00 2025-11-07 17:56:46.86182+00 NetVisor Server API de02c34d-491a-40fd-b1d0-a827f66a617a [{"id": "bc7ad126-1cb3-4e63-8499-337feeae5955", "type": "Port", "port_id": "df7fc0eb-f0c3-4488-be94-44a9dc5000b9", "interface_id": "9cbf2d34-2a1f-4a10-9c45-572bb1b56103"}] "NetVisor Server API" null {"type": "DiscoveryWithMatch", "details": {"reason": {"data": "Response from http://172.25.0.1:60072/api/health contained \\"netvisor\\"", "type": "reason"}, "confidence": "High"}, "metadata": [{"date": "2025-11-07T17:56:46.384401295Z", "type": "Network", "daemon_id": "89ff8a1d-ab03-42f9-9ff4-58906242e198", "subnet_ids": null, "host_naming_fallback": "BestService"}]}
|
||||
6de2446e-45ca-4165-95e3-9640b934294f 6da3caff-c772-413c-97d6-24c9d15281ab 2025-11-08 20:34:19.410517+00 2025-11-08 20:34:19.417097+00 Cloudflare DNS 2d5ef120-3721-4c6e-82b5-83a78f535706 [{"id": "dec9d1ab-b666-40cb-8d14-654a265a7c35", "type": "Port", "port_id": "4bb72b22-7c54-4b65-ac21-6ecc5651bd68", "interface_id": "00feed89-bcdb-442e-a735-75bc5cba709d"}] "Dns Server" null {"type": "System"}
|
||||
93a5d952-4790-4249-bffc-d3427a23e95b 6da3caff-c772-413c-97d6-24c9d15281ab 2025-11-08 20:34:19.41052+00 2025-11-08 20:34:19.420077+00 Google.com 506a9862-714e-444b-bbe6-6a215187994b [{"id": "df028430-48f5-4e63-8b98-f9664bf0ad84", "type": "Port", "port_id": "352729c9-3ad5-4bf8-855f-8b7361d43b0a", "interface_id": "d6f36ca9-e4e2-4438-8b4c-f19c6dd75d9e"}] "Web Service" null {"type": "System"}
|
||||
1ea74035-6492-49fe-b613-c93726ecb3d5 6da3caff-c772-413c-97d6-24c9d15281ab 2025-11-08 20:34:19.410522+00 2025-11-08 20:34:19.424868+00 Mobile Device d9163714-50c0-4475-bf6f-736ea5a70178 [{"id": "dfaba881-e84d-4a5e-8e99-aef423e29587", "type": "Port", "port_id": "f4118c71-e628-48b9-be50-c1745d0053d0", "interface_id": "3d83e5e4-aa31-4980-9d30-71a1a789c5c3"}] "Client" null {"type": "System"}
|
||||
8f113c82-6572-4765-9260-3c0b921859b1 6da3caff-c772-413c-97d6-24c9d15281ab 2025-11-08 20:34:36.050615+00 2025-11-08 20:34:42.332616+00 Home Assistant ca1c031c-5e2a-483b-a8e8-3af9e42d9110 [{"id": "98604816-783e-4c55-9a22-95e366286445", "type": "Port", "port_id": "c984cfed-e9e7-4b8e-9e97-7ffe036289e2", "interface_id": "97e16e8c-f17b-4fac-81ab-1e5b018fbea0"}] "Home Assistant" null {"type": "DiscoveryWithMatch", "details": {"reason": {"data": "Response from http://172.25.0.5:8123/auth/authorize contained \\"home assistant\\"", "type": "reason"}, "confidence": "High"}, "metadata": [{"date": "2025-11-08T20:34:36.050589417Z", "type": "Network", "daemon_id": "6157f68a-50db-4045-9b94-d9715e7adce9", "subnet_ids": null, "host_naming_fallback": "BestService"}]}
|
||||
7dda57d9-23bb-4566-8b88-dac590ffe791 6da3caff-c772-413c-97d6-24c9d15281ab 2025-11-08 20:34:19.493877+00 2025-11-08 20:34:23.568204+00 NetVisor Daemon API 4e04f3fa-034c-40b7-a547-3462c2dc8fae [{"id": "72403c52-598a-4425-8358-a780d97b493f", "type": "Port", "port_id": "a9eb87bb-1df8-4098-9b4d-999cb1bdc7dd", "interface_id": "224d34a6-24f0-48d5-9533-8e0cba506bac"}] "NetVisor Daemon API" null {"type": "DiscoveryWithMatch", "details": {"reason": {"data": ["NetVisor Daemon self-report", [{"data": "Response from http://172.25.0.4:60073/api/health contained \\"netvisor\\"", "type": "reason"}, {"data": "NetVisor Daemon self-report", "type": "reason"}]], "type": "container"}, "confidence": "Certain"}, "metadata": [{"date": "2025-11-08T20:34:23.551056509Z", "type": "Network", "daemon_id": "6157f68a-50db-4045-9b94-d9715e7adce9", "subnet_ids": null, "host_naming_fallback": "BestService"}, {"date": "2025-11-08T20:34:19.493870799Z", "type": "SelfReport", "host_id": "4e04f3fa-034c-40b7-a547-3462c2dc8fae", "daemon_id": "6157f68a-50db-4045-9b94-d9715e7adce9"}]}
|
||||
9dcef035-7591-4854-80e5-18c83e0fe843 6da3caff-c772-413c-97d6-24c9d15281ab 2025-11-08 20:34:26.554831+00 2025-11-08 20:34:33.311684+00 NetVisor Server API 37aae152-5374-4b52-9252-7471bb1c6acb [{"id": "d590d2a5-0b16-4b5e-ae58-81dd9398fcf1", "type": "Port", "port_id": "98008b39-5359-4aea-b43a-d4ddefd053ff", "interface_id": "cd21a96e-e260-4a14-bd28-0a8a6c5ae169"}] "NetVisor Server API" null {"type": "DiscoveryWithMatch", "details": {"reason": {"data": "Response from http://172.25.0.3:60072/api/health contained \\"netvisor\\"", "type": "reason"}, "confidence": "High"}, "metadata": [{"date": "2025-11-08T20:34:26.554820594Z", "type": "Network", "daemon_id": "6157f68a-50db-4045-9b94-d9715e7adce9", "subnet_ids": null, "host_naming_fallback": "BestService"}]}
|
||||
38356603-bf1a-4a43-9a22-4d33bbb65ca0 6da3caff-c772-413c-97d6-24c9d15281ab 2025-11-08 20:34:45.261425+00 2025-11-08 20:34:52.194369+00 NetVisor Server API abf410b4-b5ac-4a13-a9e2-2293092ac974 [{"id": "a614f28b-f71a-47b5-a73f-21185ea6ae31", "type": "Port", "port_id": "89edda74-c4e8-43f6-9e96-c9c602cdf5ce", "interface_id": "8911b885-12d8-4c42-b5b7-0a9f5e641ae0"}] "NetVisor Server API" null {"type": "DiscoveryWithMatch", "details": {"reason": {"data": "Response from http://172.25.0.1:60072/api/health contained \\"netvisor\\"", "type": "reason"}, "confidence": "High"}, "metadata": [{"date": "2025-11-08T20:34:45.261407505Z", "type": "Network", "daemon_id": "6157f68a-50db-4045-9b94-d9715e7adce9", "subnet_ids": null, "host_naming_fallback": "BestService"}]}
|
||||
7ff4179b-a5d4-4a84-a619-73cecc7eee25 6da3caff-c772-413c-97d6-24c9d15281ab 2025-11-08 20:34:45.261522+00 2025-11-08 20:34:52.225983+00 Home Assistant abf410b4-b5ac-4a13-a9e2-2293092ac974 [{"id": "985c79f7-cdba-4197-92aa-c3134fdea586", "type": "Port", "port_id": "0ed13c51-d531-462e-a72b-f03b2ad43fc6", "interface_id": "8911b885-12d8-4c42-b5b7-0a9f5e641ae0"}] "Home Assistant" null {"type": "DiscoveryWithMatch", "details": {"reason": {"data": "Response from http://172.25.0.1:8123/auth/authorize contained \\"home assistant\\"", "type": "reason"}, "confidence": "High"}, "metadata": [{"date": "2025-11-08T20:34:45.261518380Z", "type": "Network", "daemon_id": "6157f68a-50db-4045-9b94-d9715e7adce9", "subnet_ids": null, "host_naming_fallback": "BestService"}]}
|
||||
\.
|
||||
|
||||
|
||||
@@ -381,9 +385,9 @@ fcec642b-9ef5-4157-be8a-ffc7d136e913 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 2025-1
|
||||
--
|
||||
|
||||
COPY public.subnets (id, network_id, created_at, updated_at, cidr, name, description, subnet_type, source) FROM stdin;
|
||||
e563d2d5-a92f-46c6-8650-65aacffdae15 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 2025-11-07 17:56:15.275245+00 2025-11-07 17:56:15.275245+00 "0.0.0.0/0" Internet This subnet uses the 0.0.0.0/0 CIDR as an organizational container for services running on the internet (e.g., public DNS servers, cloud services, etc.). "Internet" {"type": "System"}
|
||||
f59b14bf-53da-49cf-99a5-5cac15359db6 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 2025-11-07 17:56:15.275246+00 2025-11-07 17:56:15.275246+00 "0.0.0.0/0" Remote Network This subnet uses the 0.0.0.0/0 CIDR as an organizational container for hosts on remote networks (e.g., mobile connections, friend's networks, public WiFi, etc.). "Remote" {"type": "System"}
|
||||
18e4ccc3-6522-4ceb-af90-924d3e529197 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 2025-11-07 17:56:15.342164+00 2025-11-07 17:56:15.342164+00 "172.25.0.0/28" 172.25.0.0/28 \N "Lan" {"type": "Discovery", "metadata": [{"date": "2025-11-07T17:56:15.342158086Z", "type": "SelfReport", "host_id": "ff3a869b-7ff4-4ab4-870e-9cd19c536bc9", "daemon_id": "89ff8a1d-ab03-42f9-9ff4-58906242e198"}]}
|
||||
1b7119ae-9b65-40d6-98dc-e35407240635 6da3caff-c772-413c-97d6-24c9d15281ab 2025-11-08 20:34:19.410421+00 2025-11-08 20:34:19.410421+00 "0.0.0.0/0" Internet This subnet uses the 0.0.0.0/0 CIDR as an organizational container for services running on the internet (e.g., public DNS servers, cloud services, etc.). "Internet" {"type": "System"}
|
||||
bc96fe5e-8b06-48e2-a74f-43346c4a8f4b 6da3caff-c772-413c-97d6-24c9d15281ab 2025-11-08 20:34:19.410424+00 2025-11-08 20:34:19.410424+00 "0.0.0.0/0" Remote Network This subnet uses the 0.0.0.0/0 CIDR as an organizational container for hosts on remote networks (e.g., mobile connections, friend's networks, public WiFi, etc.). "Remote" {"type": "System"}
|
||||
2eb09447-ca29-43e9-942b-7c55a4b3921c 6da3caff-c772-413c-97d6-24c9d15281ab 2025-11-08 20:34:19.488523+00 2025-11-08 20:34:19.488523+00 "172.25.0.0/28" 172.25.0.0/28 \N "Lan" {"type": "Discovery", "metadata": [{"date": "2025-11-08T20:34:19.488514632Z", "type": "SelfReport", "host_id": "4e04f3fa-034c-40b7-a547-3462c2dc8fae", "daemon_id": "6157f68a-50db-4045-9b94-d9715e7adce9"}]}
|
||||
\.
|
||||
|
||||
|
||||
@@ -391,8 +395,8 @@ f59b14bf-53da-49cf-99a5-5cac15359db6 34a11e2d-c6a5-4c99-ae3a-8652cefb3006 2025-1
|
||||
-- Data for Name: users; Type: TABLE DATA; Schema: public; Owner: postgres
|
||||
--
|
||||
|
||||
COPY public.users (id, name, created_at, updated_at, password_hash, username) FROM stdin;
|
||||
99161829-d067-4bc1-894f-6363f9188046 testuser 2025-11-07 17:56:15.273335+00 2025-11-07 17:56:19.336681+00 $argon2id$v=19$m=19456,t=2,p=1$0sjZTxphWxdsaKVjXiJsnw$fwrvVaMN35bXf3kONAOgzlPxZAl4oMDPHr6FVVV6pJY testuser
|
||||
COPY public.users (id, created_at, updated_at, password_hash, oidc_provider, oidc_subject, oidc_linked_at, email) FROM stdin;
|
||||
6289f8ac-3773-4d87-92d7-31e2757e328b 2025-11-08 20:34:19.408607+00 2025-11-08 20:34:21.927062+00 $argon2id$v=19$m=19456,t=2,p=1$p1CwdL2oJxckLV5E0R2X+g$93oDaq8dEpJKVGl+5gGegQ+AGmscAeX/uPxfu2XJwRM \N \N \N user@example.com
|
||||
\.
|
||||
|
||||
|
||||
@@ -401,7 +405,7 @@ COPY public.users (id, name, created_at, updated_at, password_hash, username) FR
|
||||
--
|
||||
|
||||
COPY tower_sessions.session (id, data, expiry_date) FROM stdin;
|
||||
hYA9Q8xKGziQ7Qx4kM_tfA \\x93c4107cedcf90780ced90381b4acc433d808581a7757365725f6964d92439393136313832392d643036372d346263312d383934662d36333633663931383830343699cd07e9cd0155113813ce147ba758000000 2025-12-07 17:56:19.343648+00
|
||||
HajPbCIG3pF_ukFms6qb2w \\x93c410db9baab36641ba7f91de06226ccfa81d81a7757365725f6964d92436323839663861632d333737332d346438372d393264372d33316532373537653332386299cd07e9cd0156142215ce376adf10000000 2025-12-08 20:34:21.92975+00
|
||||
\.
|
||||
|
||||
|
||||
@@ -579,10 +583,17 @@ CREATE INDEX idx_subnets_network ON public.subnets USING btree (network_id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: idx_users_name_lower; Type: INDEX; Schema: public; Owner: postgres
|
||||
-- Name: idx_users_email_lower; Type: INDEX; Schema: public; Owner: postgres
|
||||
--
|
||||
|
||||
CREATE UNIQUE INDEX idx_users_name_lower ON public.users USING btree (lower(name));
|
||||
CREATE UNIQUE INDEX idx_users_email_lower ON public.users USING btree (lower(email));
|
||||
|
||||
|
||||
--
|
||||
-- Name: idx_users_oidc_provider_subject; Type: INDEX; Schema: public; Owner: postgres
|
||||
--
|
||||
|
||||
CREATE UNIQUE INDEX idx_users_oidc_provider_subject ON public.users USING btree (oidc_provider, oidc_subject) WHERE ((oidc_provider IS NOT NULL) AND (oidc_subject IS NOT NULL));
|
||||
|
||||
|
||||
--
|
||||
@@ -669,5 +680,5 @@ ALTER TABLE ONLY public.subnets
|
||||
-- PostgreSQL database dump complete
|
||||
--
|
||||
|
||||
\unrestrict W3q98DSNGlZX47WJu1q4Y4Av4sMbWt44CbbTuz55h93R4pKBG3e9TLkgyxjgdGf
|
||||
\unrestrict OyHJwGlF1m5muVQCaB84mLbuOXzkNHZGInlbaxIaNvwatPYGpC80p6c89E0n1Dn
|
||||
|
||||
|
||||
Reference in New Issue
Block a user