<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									FirstWave Forum - Recent Topics				            </title>
            <link>https://community.firstwave.com/community/</link>
            <description>FirstWave Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Fri, 24 Apr 2026 03:54:15 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>How to create custom SQL queries in Open-Audit</title>
                        <link>https://community.firstwave.com/community/open-audit/how-to-create-custom-sql-queries-in-open-audit/</link>
                        <pubDate>Tue, 09 Dec 2025 23:16:50 +0000</pubDate>
                        <description><![CDATA[Hello, I have tried creating a custom SQL query in Open-Audit and running the SQL query but it fails to return the data I am looking for.I am following standard SQL query command structure, ...]]></description>
                        <content:encoded><![CDATA[<p>Hello, <br />I have tried creating a custom SQL query in Open-Audit and running the SQL query but it fails to return the data I am looking for.<br />I am following standard SQL query command structure, but I think I am doing something wrong. There isn't enough information in the WIKI page around creating a custom SQL query and what syntax is required.<br />Let me give an example.<br />Lets say that you want to reach into the Software database table and Devices table and get the following information:<br />Software Name, Software Version number, Operating System Name, Operating System Version Number.<br />Lets say that you are only running this query against RedHat Linux systems.<br />How would you write a SQL query to return this information?<br />I know that from the Web UI you can go to manage &gt; queries &gt; create query.<br />I have written several custom queries, but none of them work. They time out and don't return data, or OpenAudit throws an error bar and I don't get the information returned.<br /><br />Here is the first query I wrote as a test to pull software data:<br />SELECT devices.id AS 'devices.id', software.name AS 'software.name', software.version AS 'software.version' FROM devices LEFT JOIN software on (software.device_id = devices.id AND software.current = 'y') WHER @filter<br /><br />This query fails.<br /><br />Another query I wrote:<br /><br />SELECT devices.id AS 'devices.id', system.name AS 'device_name', system.os_name AS 'os_name', system.os_version AS 'os_version', software.name AS 'software.name', software.version AS 'software.version' FROM devices LEFT JOIN software ON 9software.device_id = devices.id AND software.current = 'y') LEFT JOIN system ON system.device_id = devices.id<br /><br />Both of these query statements failed to return data in the web UI.</p>
<p><br />Not exactly sure what is wrong with this SQL query statement, if anyone could post what the correct SQL query should look like, I would really appreciate it!</p>]]></content:encoded>
						                            <category domain="https://community.firstwave.com/community/"></category>                        <dc:creator>Nathan_Smith_81</dc:creator>
                        <guid isPermaLink="true">https://community.firstwave.com/community/open-audit/how-to-create-custom-sql-queries-in-open-audit/</guid>
                    </item>
				                    <item>
                        <title>Test Q</title>
                        <link>https://community.firstwave.com/community/open-audit/test-q/</link>
                        <pubDate>Mon, 26 Aug 2024 23:51:26 +0000</pubDate>
                        <description><![CDATA[How does OA working.]]></description>
                        <content:encoded><![CDATA[<p>How does OA working.</p>]]></content:encoded>
						                            <category domain="https://community.firstwave.com/community/"></category>                        <dc:creator>Luke</dc:creator>
                        <guid isPermaLink="true">https://community.firstwave.com/community/open-audit/test-q/</guid>
                    </item>
							        </channel>
        </rss>
		