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,31 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('findings', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('target_id')->constrained()->cascadeOnDelete();
|
||||
$table->foreignId('source_id')->constrained()->cascadeOnDelete();
|
||||
$table->foreignId('run_by')->nullable()->constrained('users')->nullOnDelete();
|
||||
$table->string('status')->default('pending');
|
||||
$table->json('raw_payload')->nullable();
|
||||
$table->text('summary')->nullable();
|
||||
$table->text('error')->nullable();
|
||||
$table->timestamp('ran_at')->nullable();
|
||||
$table->timestamps();
|
||||
|
||||
$table->index(['target_id', 'source_id']);
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('findings');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user