What's on your network?
It is currently Wed May 23, 2018 5:18 am

All times are UTC + 10 hours

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: UUID ?
PostPosted: Fri May 11, 2018 9:18 am 

Joined: Wed Apr 07, 2010 8:04 am
Posts: 100
Location: Boston, MA
Hi all,
Long time no see since v1.12.8, I'm starting a new project related to systems architecture and we are in need of a discovery tool and figured OA would do great, however I have an issue that I need to reconcile so I figured to ask here since I've missed a lot of changes since.

Our tool uses UUID to identify elements in a node like software or user accounts. OA would do great on the discovery piece and I could export the data from OA and substitute IDs with UUIDs but I think there's a benefit to actually be able to keep both systems in sync if we had UUID in OA beyond the Systems table. I can imagine two ways to accomplish this, 1. Replace the sequential/incremental ID field for UUIDs, although this approach would be a lot more work that would require upgrading to MySQL 8, which I don't know if OA supports it yet. or 2. add a new UUID column to the tables in the database which we can populate on a need to need basis. So I'm going with the obvious second option.

1. Would it be OK to add a new UUID column for those tables (I'm thinking Software, User, User Groups initially) that we would like to keep in sync. Would customizing the database schema that way break anything?
2. Could we call those custom fields out via OA API

OA v1.5.2 on Windows Server 2003 and WAMP 2.0 (Apache 2.2.22, PHP 5.4.3, MySQL 5.1.36).
OA v1.5.3 on Linux
Auditing 500 Windows 7 computers via GPO, 200 Apple OSX 10.8/10.9/10.10

Reply with quote  
 Post subject: Re: UUID ?
PostPosted: Wed May 16, 2018 3:44 pm 
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1949
Location: Brisbane, Australia

Adding uuid to those tables shouldn't hurt anything. Is the uuid derived from something or a true "random" uuid?
The API will need a slight tweak - look at the file /code_igniter/application/models/m_collection.php and the update_fields function. I think that's all you'll need to touch.
Don't forget you'll need to apply your patch going forward for each release, to that file.


Support and Development hours available from Opmantek.
Please consider a purchase to help make Open-AudIT better for everyone.

Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 10 hours

Who is online

Users browsing this forum: No registered users and 1 guest

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