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>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user