Commit Graph

764 Commits

Author SHA1 Message Date
Oliver Gorwits
fb58b62b1a fix jobqueue actions dropdown to get all available 2023-10-24 18:51:41 +01:00
Oliver Gorwits
b1e253465a filtered web queue (#1113)
implements #969 partially
2023-10-24 18:29:48 +01:00
Oliver Gorwits
2536bfc12f fix bug in worker runner 2023-09-27 14:16:17 +01:00
Oliver Gorwits
3a160206a1 make sure internal plugin asciibetical load order is preserved 2023-09-27 14:13:40 +01:00
Oliver Gorwits
582163aa3e instantiate helper SNMP::Info instances with better defaults 2023-09-27 13:32:14 +01:00
Oliver Gorwits
993edd0c6a ACL support for scheduled jobs (#1106)
implements #580
2023-09-27 12:03:49 +01:00
Oliver Gorwits
a8db56fa8c add internal worker plugin to set fqdn for cli actions 2023-09-26 09:27:23 +01:00
Oliver Gorwits
c27fa94e8c also show unknown/unknown platforms and releases in inventory 2023-09-24 20:56:56 +01:00
Oliver Gorwits
c651ff107b collapse on inventory for long lists (#1103)
implements #1083
2023-09-19 08:11:05 +01:00
Oliver Gorwits
3a820c06e4 #1084 move slow skiplist build to the first job on running backend 2023-09-05 22:55:33 +01:00
Oliver Gorwits
791e97b746 #1099 missing join to device_port when searching for device using mac address 2023-08-29 17:56:40 +01:00
Ambroise
848aa05de9 App::Netdisco::SSHCollector::Platform::FortiOS (#1096)
Update the SSH Colector for FortiOS to support the multivdom environment
2023-08-21 13:30:34 +02:00
Oliver Gorwits
82e084a87f #1095 fix with multiple netdisco-do -d, snmpfastdiscover runs multiple times 2023-08-20 21:39:23 +01:00
Matt Haught
eb90458685 add support for custom radius VSAs (#1091) 2023-08-13 19:40:53 +01:00
Oliver Gorwits
bb15abce58 allow deferrable_actions exceptions to device deferrals 2023-08-12 19:51:05 +01:00
Oliver Gorwits
a78870c49f Revert "revert log from internal worker so other failed worker log appears"
This reverts commit 6757bc2d94.
2023-08-11 14:41:26 +01:00
Oliver Gorwits
6757bc2d94 revert log from internal worker so other failed worker log appears 2023-08-11 13:48:08 +01:00
Oliver Gorwits
c4ca7fa1da make sure internal workers run before others 2023-08-11 13:47:47 +01:00
Oliver Gorwits
0ff88a8be2 fix debug messages using -> in wrong place 2023-08-11 13:31:28 +01:00
Oliver Gorwits
f01f03caa4 check loadmibs has run before running snapshot 2023-08-11 13:29:10 +01:00
Oliver Gorwits
5efcdd7707 better status reporting from SNMPFastDiscover 2023-08-11 13:28:55 +01:00
Oliver Gorwits
b9041f87b2 fix bug with internal actions overriding job actions 2023-08-11 13:28:28 +01:00
Oliver Gorwits
3e1d6a1505 #1090 snapshot request via web fix params 2023-08-11 10:28:38 +01:00
Oliver Gorwits
21afacccc4 #1087 netdisco-do show handles qualified MIB leafs 2023-08-11 10:24:05 +01:00
Oliver Gorwits
3e883e163e fix use specific class for snmp transport 2023-08-11 10:13:12 +01:00
Oliver Gorwits
9eb537a4c1 #910 implement import of snmpwalk and more robust snapshot handling (#1086)
* initial work

* initial work

* initial work

* some fixes for time and Layer3 weird spec

* store again the snapshot after update for specific

* resolve the enums

* monkeypatch SNMP::translateObj to avoid hardware exception on macOS

* only save cache to db in the late phase worker

* no need to check for cache on transport, can just go ahead and try

* use database only for oidmap instead of netdisco-mibs

* rewrite device snapshot to gather loaded mib leafs only

* remove old walker code from snapshot worker

* allow snmp browser to work without snapshot

* only store snapshot leafs which the device responded on

* refactor to separate snapshot work from snmp transport work

* refactor to separate snapshot work from snmp transport work

* allow typeahead on MIB qualified leafs

* fixes for snmpwalk input after previous refactor

* add the extra stuff SNMP::Info device class uses into snapshot

* better width for snmp search box

* fix css for snmp options

* add spinner while snmp loading

* add spinner while snmp loading

* add spinner while snmp loading

* support SNMP::Info device class or named MIBs as extra on snapshot

* add final tidy and bug fix
2023-08-10 22:27:02 +01:00
Oliver Gorwits
7afae0b9b2 avoid tags worker if device not in storage 2023-07-27 07:12:08 +01:00
Oliver Gorwits
e2ce601782 fix double encoding on JSON UTF-8 custom fields 2023-07-25 12:42:20 +01:00
Oliver Gorwits
4b6227fa2b fix tests 2023-07-20 20:39:31 +01:00
Oliver Gorwits
2d5e4dddee #1063 allow acls to match custom_fields 2023-07-20 18:08:36 +01:00
Oliver Gorwits
47c4226788 refactor CustomFields so with_custom_fields is available on backend 2023-07-20 16:51:04 +01:00
Oliver Gorwits
1eabe7064f #1062 allow job submit API to use extra field instead of subaction 2023-07-20 16:19:13 +01:00
Oliver Gorwits
663d5da1d3 #1062 allow job submit API to use extra field instead of subaction 2023-07-20 12:56:48 +01:00
Oliver Gorwits
31489ba550 #1072 clean custom_fields keys on rediscover 2023-07-20 12:49:40 +01:00
Oliver Gorwits
f8222e7890 #1072 clean custom_fields keys on rediscover 2023-07-19 22:18:00 +01:00
Oliver Gorwits
1067b82dc6 avoid mixing device and port custom_field fields 2023-07-19 18:11:12 +01:00
Oliver Gorwits
0378e01af7 skip set tags if none to set 2023-07-19 17:46:20 +01:00
Oliver Gorwits
04ee1e1613 #1064 display device and device port tags in web ui 2023-07-19 13:01:51 +01:00
Oliver Gorwits
4b99f0bb9c #1064 implement setting of tags on discovery based on config 2023-07-19 11:24:41 +01:00
Oliver Gorwits
f72acb6006 #1064 implement tags in database and ACL 2023-07-19 11:15:49 +01:00
Oliver Gorwits
6eed661c43 avoid mistaking v6 in ACL for prop:val 2023-07-15 11:08:22 +01:00
Oliver Gorwits
71aa261737 fix skip long SNMP timeout for initial discover 2023-07-15 10:14:01 +01:00
Oliver Gorwits
fcd1c45606 allow ACL property match to contain ":" 2023-07-14 20:20:21 +01:00
Oliver Gorwits
eac55a581d #1066 implement snmp_try_slow_connect and fast device discover from queue 2023-07-14 17:37:52 +01:00
Oliver Gorwits
2f7e3f80a3 #1066 try all communities on highest snmp version before lowering version and trying communities again 2023-07-13 13:33:24 +01:00
Oliver Gorwits
6f8af7ed9d #1059 add NETDISCO_SNMP_BULKWALK_OFF environment to disable bulkwalk 2023-07-12 21:42:24 +01:00
Ambroise
61b9e01b52 Fix an error when the log string is empty (#1058) 2023-07-01 09:32:57 +01:00
Oliver Gorwits
a2da6a7a04 avoid open redirect vulnerability with return_url login helper 2023-06-28 16:56:04 +01:00
Oliver Gorwits
ef4e3f5181 explicitly use SameSite=Lax Cookie Attribute for dancer.session cookies 2023-06-28 16:39:24 +01:00
Oliver Gorwits
9f4401f2fb avoid CSS vulnerability in Find Anything 2023-06-28 12:06:11 +01:00