Skip to content

Commit

Permalink
Merge pull request #539 from dbarzin/dev
Browse files Browse the repository at this point in the history
Fix logical view
  • Loading branch information
dbarzin authored Nov 7, 2023
2 parents 18358d1 + 58fab14 commit 551663f
Show file tree
Hide file tree
Showing 3 changed files with 396 additions and 1,109 deletions.
70 changes: 35 additions & 35 deletions app/Http/Controllers/Admin/ReportController.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,59 +5,59 @@
// GDPR
use App\Activity;
// ecosystem
use App\Entity;
use App\Relation;
use App\Actor;
// information system
use App\MacroProcessus;
use App\Process;
use App\Operation;
use App\Task;
use App\DataProcessing;
// Applications
use App\Annuaire;
use App\ApplicationBlock;
use App\MApplication;
use App\ApplicationService;
// information system
use App\ApplicationModule;
use App\ApplicationService;
use App\Bay;
use App\Building;
use App\Certificate;
// Applications
use App\Cluster;
use App\Database;
use App\Information;
// Administration
use App\DataProcessing;
use App\DhcpServer;
use App\Dnsserver;
use App\DomaineAd;
use App\Annuaire;
// Administration
use App\Entity;
use App\ExternalConnectedEntity;
use App\Flux;
use App\ForestAd;
use App\Gateway;
use App\ZoneAdmin;
// Logique
use App\ExternalConnectedEntity;
use App\Http\Controllers\Controller;
use App\Information;
use App\LogicalServer;
use App\MacroProcessus;
use App\MApplication;
use App\Network;
use App\NetworkSwitch;
use App\Operation;
use App\Peripheral;
use App\DhcpServer;
use App\Dnsserver;
use App\Cluster;
use App\Certificate;
use App\LogicalServer;
use App\Flux;
use App\Vlan;
// Physique
use App\PhysicalServer;
use App\PhysicalSwitch;
use App\Phone;
use App\PhysicalLink;
// Physique
use App\PhysicalRouter;
use App\PhysicalSecurityDevice;
use App\Phone;
use App\PhysicalServer;
use App\PhysicalSwitch;
use App\Process;
use App\Relation;
use App\Router;
use App\SecurityDevice;
use App\Site;
use App\StorageDevice;
use App\Subnetwork;
use App\Task;
use App\Vlan;
use App\WifiTerminal;
use App\Workstation;
use App\Site;
use App\Building;
use App\Bay;
//

use App\ZoneAdmin;
use Carbon\Carbon;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Log;
Expand Down Expand Up @@ -2880,9 +2880,9 @@ public function cve()
$sheet->setCellValue("E{$row}", $cve->id);
$sheet->setCellValue("F{$row}", $cve->summary);
$sheet->setCellValue("G{$row}", implode("\n", $cve->references));
$sheet->setCellValue("H{$row}", $cve->impactScore ?? "");
$sheet->setCellValue("I{$row}", $cve->exploitabilityScore ?? "");
$sheet->setCellValue("J{$row}", $cve->Published ?? "");
$sheet->setCellValue("H{$row}", $cve->impactScore ?? '');
$sheet->setCellValue("I{$row}", $cve->exploitabilityScore ?? '');
$sheet->setCellValue("J{$row}", $cve->Published ?? '');
$row++;
}
} else {
Expand Down
Loading

0 comments on commit 551663f

Please sign in to comment.