mirror of https://github.com/MISP/MISP
Merge branch 'master' of https://github.com/MISP/MISP
commit
3ca4bf96e0
|
@ -1480,7 +1480,7 @@ class Server extends AppModel {
|
||||||
|
|
||||||
public function stixDiagnostics(&$diagnostic_errors, &$stixVersion, &$cyboxVersion) {
|
public function stixDiagnostics(&$diagnostic_errors, &$stixVersion, &$cyboxVersion) {
|
||||||
$result = array();
|
$result = array();
|
||||||
$expected = array('stix' => '1.1.1.4', 'cybox' => '2.1.0.10');
|
$expected = array('stix' => '1.1.1.4', 'cybox' => '2.1.0.12');
|
||||||
// check if the STIX and Cybox libraries are working using the test script stixtest.py
|
// check if the STIX and Cybox libraries are working using the test script stixtest.py
|
||||||
$scriptResult = shell_exec('python ' . APP . 'files' . DS . 'scripts' . DS . 'stixtest.py');
|
$scriptResult = shell_exec('python ' . APP . 'files' . DS . 'scripts' . DS . 'stixtest.py');
|
||||||
$scriptResult = json_decode($scriptResult, true);
|
$scriptResult = json_decode($scriptResult, true);
|
||||||
|
|
Loading…
Reference in New Issue