mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-16 09:42:29 -04:00
Scanning is now controlled per server and per app. Each server downloads the Grype database from its default source. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
492 B
PHP
25 lines
492 B
PHP
<?php
|
|
|
|
namespace App\Livewire\ImageScan;
|
|
|
|
use Illuminate\Contracts\View\View;
|
|
use Livewire\Component;
|
|
|
|
/**
|
|
* Instance settings page for image scanning: the default rules of every team.
|
|
*/
|
|
class InstanceImageScanning extends Component
|
|
{
|
|
public function mount()
|
|
{
|
|
if (! isInstanceAdmin()) {
|
|
return redirect()->route('dashboard');
|
|
}
|
|
}
|
|
|
|
public function render(): View
|
|
{
|
|
return view('livewire.image-scan.instance-image-scanning');
|
|
}
|
|
}
|