| 895 | | # TODO: Need to update the API first. |
|---|
| 896 | | #if ($DB_ENABLE && ($vm->database_id > 0)) { |
|---|
| 897 | | # # Mark the VM as suspended within the database. |
|---|
| 898 | | # HoneyClient::Manager::Database::set_client_suspicious($vm->database_id); |
|---|
| 899 | | #} |
|---|
| | 895 | if ($DB_ENABLE && ($vm->database_id > 0)) { |
|---|
| | 896 | # Mark the VM as suspended within the database. |
|---|
| | 897 | my $dt = DateTime::HiRes->now(time_zone => "local"); |
|---|
| | 898 | HoneyClient::Manager::Database::set_client_suspicious({ |
|---|
| | 899 | client_id => $vm->database_id, |
|---|
| | 900 | compromise => $dt->ymd('-').'T'.$dt->hms(':'), |
|---|
| | 901 | }); |
|---|
| | 902 | } |
|---|