Open-AudIT
https://www.open-audit.org/phpBB3/

Changing DEVICES columns
https://www.open-audit.org/phpBB3/viewtopic.php?f=20&t=6685
Page 1 of 1

Author:  el_geto [ Sat Jul 28, 2018 3:05 am ]
Post subject:  Changing DEVICES columns

Hi there,
Stupid question, I can't find where to change the "DEVICES" page, as in index.php/devices. Would like to change one of the columns (instead of system.status, system.environment) but I can't find the query in the DB. Where do I change this?

Also, I liked the old Groups Category and having the different categories like "Application", "Device", "Org", "Locations" groups all in the landing page. I wouldn't mind making these changes myself if you can point me in the right direction.

Thanks

Author:  Mark [ Wed Aug 15, 2018 10:57 am ]
Post subject:  Re: Changing DEVICES columns

Wow, sorry for the very delayed reply :oops:

To change columns displayed on the /devices page, you'll need to specify each column you would like. The defaults are hard coded (ie, if you supply no column, you'll get this list). You could also change that I suppose, but it'll be overwritten on next upgrade. I have a ticket somewhere to make these configurable.

To change the URL, try -
[code]http://YOUR_SERVER/open-audit/index.php/devices?properties=system.id,system.icon,system.type,system.name,system.environment[/code]

Feel free to add (fully qualified) properties as you see fit.

To edit the defaults, check the file /open-audit/code_igniter/application/helpers/input_helper.php at around line 870 onwards.

Mark.

Author:  Mark [ Wed Aug 15, 2018 11:00 am ]
Post subject:  Re: Changing DEVICES columns

To change the default homepage, edit the config - menu -> Admin -> Configuration -> List Configuration and change "homepage" to groups.

Groups no longer have a category as this is not what they're really designed for.

Ideally you'd use Summaries as the homepage and use a Query (menu -> Report) to call up the devices you're interested in.

Or you can use Groups as the homepage, without categories...

Page 1 of 1 All times are UTC + 10 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/