Delete Systems and System List

10 replies [Last post]
Offline
Joined: 2009-09-04
Posts: 25

Hello,
i use
Opensuse 11.1
Apache 2.2
Mysql 5.1
php 5.2.9
Openfisma 2.4.current

I have two problems:

How can i delete a system, i do not found a way or button to do it, even with other roles than root(admin), because i think, i have to delete the systeme bacause i cannot move the system into another organization

And

system list show only 20 systems even that there aor more systems in the database, it ist no Problem to create an asset with the systems, in this menues the systems are listed. but unfortunately not in the system list

Thanks for your help

Offline
Joined: 2009-08-27
Posts: 99
Re: Delete Systems and System List

As far as I can tell, it's not possible to delete a system once it's created.

As far as the system list only showing 20 systems, try rebuilding the Lucene index. The script is found in /scripts/bin/. You may have to set permissions on the index files to match that of your web server after updating the index.

There's also the daily cronjob under /scripts/cronjobs/ to do a cache refresh for Finding summaries and Organization summaries.

__________________

Josh Boyd
Endeavor Systems, Inc.
Software Engineer

Offline
Joined: 2009-09-04
Posts: 25
Re: Delete Systems and System List

Zhanks,
In the version 2.3.3 of openfisma there wee buttons to delete a system but there was no need.

My Problem is that i have to move a system into anothter parent organisation, but i can not edit the field/value, is there a way to do it.

I thought i delete the system and add it then again.

with the Lucene index i have problems becaus i don't know what to do, can you explain it to me.

on some sites there is the message: The search index needs to be built

Offline
Joined: 2009-04-16
Posts: 89
Re: Delete Systems and System List

Josh is correct, there is currently no delete feature for information systems. In the future we plan to implement a "soft delete" so that you can remove a system from active status without deleting all of the metadata (audit history, etc.) associated with it.

But the good news is that you can move a system between organizations by doing the following:

1) Click the "System Inventory" menu and select "Organizations".
2) OpenFISMA will show a tree view of the organizations
3) Click and drag the system out of the organization it is currently in and drop it onto the organization you want it to be in.

Offline
Joined: 2009-09-04
Posts: 25
Re: Delete Systems and System List

Thanks for vour apply.

That's ok for me.

Can you still tell me how to rebuild the index, so I can see more then twenty systems in the system list. that would be a great help for me.

Thanks

Offline
Joined: 2009-08-27
Posts: 99
Re: Delete Systems and System List

dhoss wrote:

Thanks for vour apply.

That's ok for me.

Can you still tell me how to rebuild the index, so I can see more then twenty systems in the system list. that would be a great help for me.

Thanks

From the command line run (as the same user that your webserver is running as, you may need to use su/sudo, depending on your setup) from the root directory of OpenFISMA:


php scripts/bin/optimize-indexes.php

__________________

Josh Boyd
Endeavor Systems, Inc.
Software Engineer

Offline
Joined: 2009-04-16
Posts: 89
Re: Delete Systems and System List

That's a bug in the version you are using. Rebuilding the index won't fix it. We are planning a patch release Wednesday night which will be posted to Sourceforge which will include the fix for that bug.

If you're trying to do some analysis before then, have you tried our demo server?

http://openfisma.org/content/online-demo

Offline
Joined: 2009-09-04
Posts: 25
Re: Delete Systems and System List

Thakns for your replies.
Did you publish the new version?

on subversion current I found only the same release, under scripts bin there is no php script optimize-indexes.php.

Offline
Joined: 2009-04-16
Posts: 89
Re: Delete Systems and System List

Just wanted to update you, release 2.4.8 has been posted on Sourceforge and should solve the issue which you were seeing in that earlier version.

Please let me know how it works out for you.

Offline
Joined: 2009-09-04
Posts: 25
Re: Delete Systems and System List

Hello,

Thanks for your help, I tested the new Version and the Version 2.4.3 and 2.4.4

at The moment I Think the Version 2.4.2 ist the best version i can use, even in this Version there i the problem with the System list.

In the other Version , there ist no problem with the System list, but when i create findings there seems to be problems with characters in the entry field, so that i cannot create any findings

Thanks for your help

Offline
Joined: 2009-09-04
Posts: 25
Re: Delete Systems and System List

In Version 2.4.8 if i want to create a new finding there is following error message:

Could not create the object

Notice: Trying to get property of non-object in /srv/www/htdocs/openfisma248/application/models/listener/FindingListener.php on line 166