Commit Graph

3000 Commits

Author SHA1 Message Date
Oliver Gorwits
6f8af7ed9d #1059 add NETDISCO_SNMP_BULKWALK_OFF environment to disable bulkwalk 2023-07-12 21:42:24 +01:00
Oliver Gorwits
0c7371f56b add --force to netdisco-do docs 2023-07-12 19:24:01 +01:00
Oliver Gorwits
cbecb372fa #482 Alien::SNMP will help and is recommended 2023-07-12 16:37:42 +01:00
Oliver Gorwits
bd61c0c2bd #1067 add --force for enqueue of more than 512 jobs 2023-07-12 13:48:22 +01:00
Oliver Gorwits
91409d1bb0 add loadmibs to netdisco-do doc 2023-07-01 19:26:04 +01:00
Oliver Gorwits
d7bdcc8edb delete device is now always a job 2023-07-01 09:37:27 +01:00
Ambroise
61b9e01b52 Fix an error when the log string is empty (#1058) 2023-07-01 09:32:57 +01:00
Oliver Gorwits
4ec1c2abec release 2.063001 2023-06-28 17:03:46 +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
Oliver Gorwits
39562e0633 avoid CSS vulnerability in Job Queue page 2023-06-28 11:26:43 +01:00
Oliver Gorwits
6375989bd5 release 2.063000 2023-06-28 10:01:34 +01:00
Oliver Gorwits
8e0aa3a309 #975 RBAC for port control with new portctl_by_role setting 2023-06-28 10:00:01 +01:00
Oliver Gorwits
2cbb68889a #975 RBAC for port control with new portctl_by_role setting 2023-06-27 22:52:04 +01:00
Oliver Gorwits
8d85562396 release 2.062005 2023-06-26 19:32:41 +01:00
Oliver Gorwits
33b4a6c231 fix op:and not working for prop:value ACL rules 2023-06-26 19:31:54 +01:00
Oliver Gorwits
2da15f9c33 release 2.062004 2023-06-26 17:56:54 +01:00
Oliver Gorwits
b89e8913b6 #843 redux - also refresh API token for getapikey 2023-06-26 16:54:40 +01:00
Oliver Gorwits
a76dc79b79 permit import of check_acl from Util::Permission in case other modules are still using it 2023-06-22 14:11:06 +01:00
Oliver Gorwits
814ccc9267 permit import of check_acl from Util::Permission in case other modules are still using it 2023-06-22 14:09:34 +01:00
Oliver Gorwits
5515b93c88 #1036 redux allow use of /login even when authN is delegated 2023-06-22 13:55:00 +01:00
Oliver Gorwits
a7cd5603cb #1036 redux allow use of /login even when authN is delegated 2023-06-22 13:35:51 +01:00
Oliver Gorwits
3da92a9ab5 release 2.062003 2023-06-20 10:08:29 +01:00
Oliver Gorwits
bb046f036e tune the portvlanmismatch and include domain name in report view 2023-06-19 21:28:23 +01:00
Oliver Gorwits
f14e495e49 use new faster portvlanmismatch query without duplication 2023-06-13 17:41:20 +01:00
Oliver Gorwits
460b014e91 swagger-ui allows adding X-REMOTE_USER header when behind proxy 2023-06-13 17:41:20 +01:00
Oliver Gorwits
5181d83742 fix for undef HTTP_SERVER and HTTP_PORT err when browsing swagger-ui 2023-06-13 17:41:20 +01:00
Christian Ramseyer
bb9be51acc Update Changes 2023-06-10 10:40:15 +02:00
Christian Ramseyer
82dea7de2a Try to fix #1044 by subquery inlining instead of CTE (#1046) 2023-06-08 16:29:14 +01:00
Oliver Gorwits
1aef847af3 add "phone" to phone_platforms default config for additional phones not using capabilities 2023-06-08 16:14:20 +01:00
Oliver Gorwits
b5a8f685ab add missing validate_remote_user default to config 2023-06-08 16:14:20 +01:00
Christian Ramseyer
5d6697b035 Add indexes for custom_fields in device + device_port (#1045) 2023-06-08 16:12:59 +01:00
Oliver Gorwits
cec6105105 release 2.062002 2023-06-06 07:04:36 +01:00
Oliver Gorwits
3b4236ed90 fix mistaken release with device ports partial search default as on 2023-06-06 07:03:54 +01:00
Oliver Gorwits
b4c48ac78e release 2.062001 2023-06-05 17:59:08 +01:00
Oliver Gorwits
339ecd429a #1038 ability to set "partial" default "on" in device ports sidebar 2023-06-05 17:50:32 +01:00
Oliver Gorwits
4391d60b99 upgrade jquery to 1.12.4 to fix XSS vuln 2023-06-05 17:37:57 +01:00
Oliver Gorwits
195f98dff1 make safe the api calls with potential for demo site damage 2023-06-05 17:28:34 +01:00
Oliver Gorwits
65a908dcd3 #1036 skip API login for trust_remote_user, trust_x_remote_user, no_auth 2023-06-05 17:02:20 +01:00
Oliver Gorwits
01928fa85d #1037 add new names for vlan 1003 and 1005 in Cisco-land 2023-05-31 20:10:38 +01:00
Oliver Gorwits
ac959ff6a6 add links for API, config, sponsor, to user menu 2023-05-31 17:35:43 +01:00
Oliver Gorwits
11bca7b80e add links for API, config, sponsor, to user menu 2023-05-31 14:46:46 +01:00
Ambroise
130fa4aebe Change the way to retrieve IP address of interface (#1026)
Use by default the ipTable MIB entry to retrieve the IP address of interfaces and fallback to the index method as previously.
Fixe the issue with the case where the index is not really an IP address (seen in Fortinet with VDOM).

Related to issue #1016
2023-05-31 14:06:00 +01:00
Oliver Gorwits
6a7e732ea3 try to work around change from 5.36.0 to 5.36.1 2023-05-30 19:16:03 +01:00
Oliver Gorwits
517b20a325 update copyright year in license 2023-05-30 12:17:43 +01:00
Oliver Gorwits
0e010959f9 release 2.062000 2023-05-30 09:55:00 +01:00
Oliver Gorwits
9355f5c2b9 Refactored ACL support with multi-object compare
Squashed commit of the following:

commit 4081e22202693bd7c4ea00e95daad8e628c6fd5a
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon May 29 21:02:07 2023 +0100

    large rename of check_acl* to acl_matches*

commit 3cfa284ddd24d68765c255578cc5c184afbdcd83
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Fri May 19 20:39:03 2023 +0100

    update permission doc

commit 8c7bb93cc5e9fafb770f98f446e45cbd94b14894
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed May 17 21:50:07 2023 +0100

    migrate most check_acl_only to acl_matches_only

commit c47f699f2a22f08f2f3e093ed0f24c891e6f9a82
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed May 17 21:39:19 2023 +0100

    rename check_acl* to be acl_matches*

commit a884a22c3ab1f3262118c3a47ed8e25b0b0a7336
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun May 14 16:50:42 2023 +0100

    update macsuck_no_deviceports to use acl_matches

commit 8c256af728721329b64d071fa529dfc844073ac6
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun May 7 22:54:33 2023 +0100

    update hide_deviceports to use acl_matches multi @things

commit cd5d9978aba1da459be4fed4500f395df13f7784
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun May 7 22:53:38 2023 +0100

    check_acl fix to allow all @things to offer a property before fallback to missing as empty string

commit 1a3ab9a7646e9f994f03126d45fc36e9e5a13ed5
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue May 2 15:31:17 2023 +0100

    add ignore_deviceports to portproperties discover; improve comments

commit 51385ce89458dc939587dae902fda431719c22c9
Merge: b97c07d2 3f8ffe78
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue May 2 15:21:48 2023 +0100

    Merge branch 'master' into og-acl_multidict

commit b97c07d237d750c1d9eb3095d8ff3908512eac2a
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat Mar 25 14:37:53 2023 +0000

    add support for arrayref of items, and unblessed hash, to check_acl
2023-05-29 21:32:07 +01:00
Oliver Gorwits
3f8ffe787f hooks only queued if their trigger job is successful (done) 2023-04-30 22:59:20 +01:00
Oliver Gorwits
949aeb9eea delete hook (#1032)
* make log_message optional in delete_device

* add hooks support to delete job

* make delete job high prio

* web delete now queues job instead of inline delete

* move web logging into web package and remove userlog from device delete helper

* submit delete job for expire device instead of inline delete

* fixes to get web submit form for delete device to work

* enable delete hook functionality
2023-04-30 22:58:42 +01:00