Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Fri Mar 29, 2024 5:45 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: RSS Feature
PostPosted: Mon Aug 06, 2012 9:16 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
So I've been doing some work on enabling RSS feeds from Reports in OAv2.
There are a couple of caveats...
You have to put your username and password in the URL. It's not as bad as it looks. If you are really concerned about someone sniffing your internal web traffic, use an SSL cert. Everything after the hostname is encrypted.
So a Report URL goes from
[code]http://open-audit/index.php/show_report/1/1[/code]
to
[code]http://open-audit/index.php/show_report/1/1/username/mark.unwin/password/MYPASS/rss[/code]
The only place this would be stored is in your RSS Reader.
I have seen other RSS programs use the format
[code]http://username:password@open-audit/index.php/show_report/1/1[/code]
but that is using apache authorisation. I have deliberately steered away from using the web server itself for authorisation. The current auth system built into OAv2 works fine. I am using the last position in the URL like I do with XML, CSV, etc.
Attached is a screenshot of it working. In the screenshot you can see TAGS have been assigned. This isn't quite true. I did those manually. FeedDemon will suggest TAG names based on the categories assigned by the RSS server. It kind of defeats the purpose for OAv2 Alerts though. You want the alert, not to keep all the items and categorise them. So the RSS feed does assign categories - I just haven't found an RSS Reader that uses them... You might have better luck.

Thoughts and comments appreciated.


Attachments:
File comment: RSS screenshot
rss.png
rss.png [ 145.69 KiB | Viewed 3837 times ]

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.
Top
 Profile  
Reply with quote  
 Post subject: Re: RSS Feature
PostPosted: Thu Aug 09, 2012 12:36 am 
Offline
Contributor

Joined: Wed Apr 07, 2010 8:04 am
Posts: 105
Location: Boston, MA
Thank you for this! Looking forward to it.
I guess you can set up an RSS user with rights only to the RSS feeds?

_________________
Old OA Setup: 500 Windows 7 workstations & 200 Apple OSX with OA v1.5.2 on Windows Server 2003 and WAMP 2
New OA Setup: 100 Windows servers with OA 2.2 on Windows Server 2016 and WAMP 3


Top
 Profile  
Reply with quote  
 Post subject: Re: RSS Feature
PostPosted: Thu Aug 09, 2012 6:43 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
You use a normal User within OAv2 and assign them rights to a specific Group - all as you normally would. That user then runs the Report on a Group using the RSS Reader. The User, Group & Report are all in the URL that the RSS Reader sends.

I have not done anything extra as far as Users are concerned. I deliberately wanted to keep it simple and use the same code the rest of the app uses. The only really new items are validating the username and password in the URL and the RSS output itself.

You _could_ set up a user dedicated to just receiving RSS feeds, I suppose. If anyone using their RSS Reader wants to log on to the web app though, they can. There are links in the feed as well though, so you can click on a RSS "article" and be taken directly to the System in question. For that reason, I would use real users and not an "RSS user" (that might be shared by a few people).

Hope that makes sense...

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group