mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Co-authored-by: Aditya Tripathi <aditya@climactic.co>
24 lines
528 B
PHP
24 lines
528 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\ImageScanIgnore;
|
|
use App\Models\Team;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends Factory<ImageScanIgnore>
|
|
*/
|
|
class ImageScanIgnoreFactory extends Factory
|
|
{
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'team_id' => Team::factory(),
|
|
'vulnerability_id' => 'CVE-2024-'.fake()->numerify('#####'),
|
|
'reason' => 'Not reachable in this application',
|
|
'expires_at' => null,
|
|
];
|
|
}
|
|
}
|