Hello, I
have a WAPT Enterprise server (version 2.5.5, build 15697) on a CentOS 7 server with Windows 10 22H2 clients.
I want to allow people who don't have console access to view installation reports for specific software.
I considered using the /api/v3/reporting_exec API, for example, which works well in Python but can't be implemented in PHP due to certificate issues.
I also thought about accessing the PostgreSQL database, but it's not accessible externally.
The goal isn't to manually retrieve the results of a query every morning, but to automate the entire process.
Perhaps a bit naively, I envision it as a web page showing that Firefox installation was at x% on certain dates.
If you have any suggestions or ideas, I'd appreciate them.
[SOLVED] Creating reports for external users
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
- dcardon
- WAPT Expert
- Messages: 1929
- Registration: June 18, 2014 - 09:58
- Location: Saint Sébastien sur Loire
- Contact :
Hello Yann,
Sincerely,
Denis
With all the security measures that have been put in place (especially for passing certifications), it's quite complicated now to authenticate without using the official API. However, you could use a Python script to handle the extraction and PHP to display your web pages.yann83 wrote: ↑Nov 22, 2024 - 2:56 PM WAPT enterprise server 2.5.5 15697 on a CentOS 7 server with Windows 10 22H2 clients.
I want to allow people who don't have console access to view installation reports for specific software.
I thought about using the /api/v3/reporting_exec API, for example, which works well in Python but can't be implemented in PHP, for example, because of certificates.
You can create a readonly user on the database (preferably) and modify the postgresql.conf and pg_hba.conf files to open a connection to the database, and the appropriate firewall configuration if necessary.I thought about accessing the postgresql database, but it is not accessible from the outside.
Sincerely,
Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
