Files
osint/app/Models/Source.php
T
cedry2k1992andClaude Sonnet 5 873699e23e Initial commit: Laravel OSINT platform
Multi-user OSINT investigation tool with owner-controlled per-user and
per-group access grants. Includes Sherlock, theHarvester, crt.sh, WHOIS,
and ip-api.com collectors wired through a pluggable Runner/queue pipeline,
investigation search, and printable/CSV/JSON reporting.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-20 10:22:05 +03:00

25 lines
542 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Attributes\Fillable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasMany;
#[Fillable(['key', 'name', 'description', 'target_types', 'runner', 'enabled'])]
class Source extends Model
{
protected function casts(): array
{
return [
'target_types' => 'array',
'enabled' => 'boolean',
];
}
public function findings(): HasMany
{
return $this->hasMany(Finding::class);
}
}