Files
coolify/app/Livewire/ImageScan/TeamImageScanning.php
T
Andras BacsaiandClaude Opus 5.5 1d21a27812 refactor(image-scan): remove the instance switch and the vulnerability DB URL
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>
2026-11-08 15:49:05 +01:00

30 lines
688 B
PHP

<?php
namespace App\Livewire\ImageScan;
use App\Models\Team;
use Illuminate\Contracts\View\View;
use Livewire\Attributes\Locked;
use Livewire\Component;
/**
* Team settings page for image scanning. Members see the values, admins edit them (authorized in ScanSettings).
*/
class TeamImageScanning extends Component
{
#[Locked]
public int $teamId;
public function mount(): void
{
$team = currentTeam();
abort_unless($team instanceof Team && auth()->user()->teams->contains('id', $team->id), 403);
$this->teamId = $team->id;
}
public function render(): View
{
return view('livewire.image-scan.team-image-scanning');
}
}