[ZBX-24945] Zabbix SCIM in docker and normal installations issue Created: 2024 Jul 31  Updated: 2025 Feb 07

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A), Frontend (F)
Affects Version/s: 7.0.1, 7.0.2
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Justin Assignee: Marks Sunins
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubunbtu 24.02 (VM) and ubuntu for Azure


Attachments: PNG File image-2024-07-31-12-58-03-755.png     PNG File image-2024-07-31-13-01-21-289.png    
Team: Team B

 Description   

Steps to reproduce:

  1. Do a regular installation of zabbix on the latest ubuntu (24.02)
  2. Once finish setup login to dashboard then proceed to <zabbix_url>/api_scim.php/Users?filter=userName+eq+"Admin"

Result:

**ignore the NULL* i was (lightly) editing the scim/API.php file to figure out which of the two "This filter is not supported" was getting tripped. can tell you it doesn't change how the bug works** 
Expected:
*screenshot of it working in the docker-compose environment, also at the latest version*

 

Ive been setting up SSO/SAML with entra ID when i came across this problem, originally wasnt using the "Admin" for it as it was using the super Admin token with its Provisioning testing tool, but still was throwing up the "filter is not supported" 

i tried changing userName to displayName in conjunction to the /Groups? and that wasnt working either.
i tried comparing the contents of the /usr/share/zabbix/include/classes/scim/ to the docker environment but i couldn't find any differences 
Even install php8.3 on the azure machine to see if that would work because the docker environments have it, but that didnt change anything



 Comments   
Comment by francismh [ 2025 Feb 07 ]

Hi,

I ran into this with Zabbix 7.0, Nginx and Zabbix-provided Nginx config on Ubuntu.

The Nginx config provided by Zabbix is missing PATH_INFO.
Once I added it to the config, I no longer got `{"schemas":["urn:ietf:params:scim:api:messages:2.0:Error"],"detail":"This filter is not supported","status":400}`.

— zabbix.conf    2025-02-06 21:52:10.481621878 +0000
+++ /etc/nginx/conf.d/zabbix.conf    2025-02-06 21:55:20.514492548 +0000
@@ -53,6 +53,7 @@
                 fastcgi_param   REQUEST_METHOD  $request_method;
                 fastcgi_param   CONTENT_TYPE    $content_type;
                 fastcgi_param   CONTENT_LENGTH  $content_length;
+               fastcgi_param   PATH_INFO       $fastcgi_path_info;

                 fastcgi_intercept_errors        on;
                 fastcgi_ignore_client_abort     off;

$ dpkg -l | grep zabbix
ii  zabbix-agent                           1:7.0.9-1+ubuntu22.04                   amd64        Zabbix network monitoring solution - agent
ii  zabbix-frontend-php                    1:7.0.9-1+ubuntu22.04                   all          Zabbix network monitoring solution - PHP front-end
ii  zabbix-nginx-conf                      1:7.0.9-1+ubuntu22.04                   all          Zabbix network monitoring solution - nginx and php-fpm configuration for front-end
ii  zabbix-release                         1:7.0-2+ubuntu22.04                     all          Zabbix official repository configuration
ii  zabbix-server-pgsql                    1:7.0.9-1+ubuntu22.04                   amd64        Zabbix network monitoring solution - server (PostgreSQL)
ii  zabbix-sql-scripts                     1:7.0.9-1+ubuntu22.04                   all          Zabbix network monitoring solution - sql-scripts

Generated at Wed Jul 30 03:06:55 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.