refactor: reorganize OSINT types — genéricos a core, específicos en cybersecurity

Mueve tipos genéricos (Person, Organization, Location, Email, Phone, Document,
Domain, Event, SocialMedia) de cybersecurity a core. Mantiene en cybersecurity
solo los específicos de seguridad (CryptoWallet, IPAddress, Malware, Vulnerability).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-06 23:47:01 +02:00
parent 97a3c84625
commit 817ec9fc36
32 changed files with 171 additions and 171 deletions
@@ -1,19 +1,19 @@
---
name: osint_document
name: document
lang: go
domain: cybersecurity
domain: core
version: "1.0.0"
algebraic: product
definition: |
type OsintDocument struct {
type Document struct {
Title string `json:"title"`
Format string `json:"format"`
Classification string `json:"classification"`
HashSHA256 string `json:"hash_sha256"`
Source string `json:"source"`
}
description: "Documento o archivo de interes en una investigacion OSINT. Contiene titulo, formato, clasificacion y hash."
tags: [osint, document, file, intelligence]
description: "Documento o archivo de interes. Contiene titulo, formato, clasificacion y hash."
tags: [document, file, entity]
uses_types: []
file_path: "functions/cybersecurity/osint_document.go"
file_path: "functions/core/document.go"
---
@@ -1,19 +1,19 @@
---
name: osint_domain
name: domain
lang: go
domain: cybersecurity
domain: core
version: "1.0.0"
algebraic: product
definition: |
type OsintDomain struct {
type Domain struct {
FQDN string `json:"fqdn"`
Registrar string `json:"registrar"`
CreatedDate string `json:"created_date"`
ExpiresDate string `json:"expires_date"`
NameServers []string `json:"name_servers"`
}
description: "Dominio de internet rastreado en una investigacion OSINT. Contiene FQDN, registrar y nameservers."
tags: [osint, domain, dns, infrastructure, intelligence]
description: "Dominio de internet. Contiene FQDN, registrar y nameservers."
tags: [domain, dns, infrastructure, entity]
uses_types: []
file_path: "functions/cybersecurity/osint_domain.go"
file_path: "functions/core/domain.go"
---
+18
View File
@@ -0,0 +1,18 @@
---
name: email
lang: go
domain: core
version: "1.0.0"
algebraic: product
definition: |
type Email struct {
Address string `json:"address"`
Provider string `json:"provider"`
Verified bool `json:"verified"`
Breached bool `json:"breached"`
}
description: "Direccion de email de interes. Indica si fue verificada y si aparece en breaches."
tags: [email, identity, entity]
uses_types: []
file_path: "functions/core/email.go"
---
@@ -1,19 +1,19 @@
---
name: osint_event
name: event
lang: go
domain: cybersecurity
domain: core
version: "1.0.0"
algebraic: product
definition: |
type OsintEvent struct {
type Event struct {
EventType string `json:"event_type"`
Date string `json:"date"`
Location string `json:"location"`
Description string `json:"description"`
Severity string `json:"severity"`
}
description: "Evento o incidente notable en una investigacion OSINT. Contiene tipo, fecha, ubicacion y severidad."
tags: [osint, event, incident, intelligence]
description: "Evento o incidente notable. Contiene tipo, fecha, ubicacion y severidad."
tags: [event, incident, entity]
uses_types: []
file_path: "functions/cybersecurity/osint_event.go"
file_path: "functions/core/event.go"
---
+19
View File
@@ -0,0 +1,19 @@
---
name: location
lang: go
domain: core
version: "1.0.0"
algebraic: product
definition: |
type Location struct {
Lat float64 `json:"lat"`
Lon float64 `json:"lon"`
Address string `json:"address"`
Country string `json:"country"`
City string `json:"city"`
}
description: "Ubicacion geografica de interes. Contiene coordenadas, direccion y pais."
tags: [location, geography, entity]
uses_types: []
file_path: "functions/core/location.go"
---
+19
View File
@@ -0,0 +1,19 @@
---
name: organization
lang: go
domain: core
version: "1.0.0"
algebraic: product
definition: |
type Organization struct {
LegalName string `json:"legal_name"`
Country string `json:"country"`
Sector string `json:"sector"`
Founded string `json:"founded"`
RiskScore float64 `json:"risk_score"`
}
description: "Organizacion o empresa de interes. Contiene datos legales, sector y score de riesgo."
tags: [organization, company, entity]
uses_types: []
file_path: "functions/core/organization.go"
---
@@ -1,11 +1,11 @@
---
name: osint_person
name: person
lang: go
domain: cybersecurity
domain: core
version: "1.0.0"
algebraic: product
definition: |
type OsintPerson struct {
type Person struct {
FullName string `json:"full_name"`
Alias []string `json:"alias"`
Nationality string `json:"nationality"`
@@ -13,8 +13,8 @@ definition: |
Gender string `json:"gender"`
RiskScore float64 `json:"risk_score"`
}
description: "Persona de interes en una investigacion OSINT. Contiene identidad, nacionalidad y score de riesgo."
tags: [osint, person, identity, intelligence]
description: "Persona de interes. Contiene identidad, nacionalidad y score de riesgo."
tags: [person, identity, entity]
uses_types: []
file_path: "functions/cybersecurity/osint_person.go"
file_path: "functions/core/person.go"
---
+18
View File
@@ -0,0 +1,18 @@
---
name: phone
lang: go
domain: core
version: "1.0.0"
algebraic: product
definition: |
type Phone struct {
Number string `json:"number"`
CountryCode string `json:"country_code"`
Carrier string `json:"carrier"`
PhoneType string `json:"phone_type"`
}
description: "Numero de telefono de interes. Contiene carrier, codigo de pais y tipo."
tags: [phone, telecom, identity, entity]
uses_types: []
file_path: "functions/core/phone.go"
---
+19
View File
@@ -0,0 +1,19 @@
---
name: social_media
lang: go
domain: core
version: "1.0.0"
algebraic: product
definition: |
type SocialMedia struct {
Platform string `json:"platform"`
Username string `json:"username"`
URL string `json:"url"`
Followers int `json:"followers"`
Verified bool `json:"verified"`
}
description: "Cuenta de red social de interes. Contiene plataforma, usuario y seguidores."
tags: [social_media, identity, entity]
uses_types: []
file_path: "functions/core/social_media.go"
---
@@ -1,11 +1,11 @@
---
name: osint_crypto_wallet
name: crypto_wallet
lang: go
domain: cybersecurity
version: "1.0.0"
algebraic: product
definition: |
type OsintCryptoWallet struct {
type CryptoWallet struct {
Address string `json:"address"`
Blockchain string `json:"blockchain"`
Balance float64 `json:"balance"`
@@ -15,5 +15,5 @@ definition: |
description: "Wallet de criptomonedas rastreada en una investigacion OSINT. Contiene direccion, blockchain, balance y timestamps."
tags: [osint, crypto, wallet, blockchain, intelligence]
uses_types: []
file_path: "functions/cybersecurity/osint_crypto_wallet.go"
file_path: "functions/cybersecurity/crypto_wallet.go"
---
@@ -1,11 +1,11 @@
---
name: osint_ip_address
name: ip_address
lang: go
domain: cybersecurity
version: "1.0.0"
algebraic: product
definition: |
type OsintIPAddress struct {
type IPAddress struct {
IP string `json:"ip"`
ASN string `json:"asn"`
Country string `json:"country"`
@@ -16,5 +16,5 @@ definition: |
description: "Direccion IP de interes en una investigacion OSINT. Contiene ASN, geolocalizacion e ISP."
tags: [osint, ip, network, infrastructure, intelligence]
uses_types: []
file_path: "functions/cybersecurity/osint_ip_address.go"
file_path: "functions/cybersecurity/ip_address.go"
---
@@ -1,11 +1,11 @@
---
name: osint_malware
name: malware
lang: go
domain: cybersecurity
version: "1.0.0"
algebraic: product
definition: |
type OsintMalware struct {
type Malware struct {
Family string `json:"family"`
HashSHA256 string `json:"hash_sha256"`
FirstSeen string `json:"first_seen"`
@@ -15,5 +15,5 @@ definition: |
description: "Muestra de malware rastreada en una investigacion OSINT. Contiene familia, hash SHA256 y nivel de amenaza."
tags: [osint, malware, threat, intelligence]
uses_types: []
file_path: "functions/cybersecurity/osint_malware.go"
file_path: "functions/cybersecurity/malware.go"
---
-18
View File
@@ -1,18 +0,0 @@
---
name: osint_email
lang: go
domain: cybersecurity
version: "1.0.0"
algebraic: product
definition: |
type OsintEmail struct {
Address string `json:"address"`
Provider string `json:"provider"`
Verified bool `json:"verified"`
Breached bool `json:"breached"`
}
description: "Direccion de email de interes en una investigacion OSINT. Indica si fue verificada y si aparece en breaches."
tags: [osint, email, identity, intelligence]
uses_types: []
file_path: "functions/cybersecurity/osint_email.go"
---
-19
View File
@@ -1,19 +0,0 @@
---
name: osint_location
lang: go
domain: cybersecurity
version: "1.0.0"
algebraic: product
definition: |
type OsintLocation struct {
Lat float64 `json:"lat"`
Lon float64 `json:"lon"`
Address string `json:"address"`
Country string `json:"country"`
City string `json:"city"`
}
description: "Ubicacion geografica de interes en una investigacion OSINT. Contiene coordenadas, direccion y pais."
tags: [osint, location, geography, intelligence]
uses_types: []
file_path: "functions/cybersecurity/osint_location.go"
---
-19
View File
@@ -1,19 +0,0 @@
---
name: osint_organization
lang: go
domain: cybersecurity
version: "1.0.0"
algebraic: product
definition: |
type OsintOrganization struct {
LegalName string `json:"legal_name"`
Country string `json:"country"`
Sector string `json:"sector"`
Founded string `json:"founded"`
RiskScore float64 `json:"risk_score"`
}
description: "Organizacion o empresa de interes en una investigacion OSINT. Contiene datos legales, sector y score de riesgo."
tags: [osint, organization, company, intelligence]
uses_types: []
file_path: "functions/cybersecurity/osint_organization.go"
---
-18
View File
@@ -1,18 +0,0 @@
---
name: osint_phone
lang: go
domain: cybersecurity
version: "1.0.0"
algebraic: product
definition: |
type OsintPhone struct {
Number string `json:"number"`
CountryCode string `json:"country_code"`
Carrier string `json:"carrier"`
PhoneType string `json:"phone_type"`
}
description: "Numero de telefono de interes en una investigacion OSINT. Contiene carrier, codigo de pais y tipo."
tags: [osint, phone, telecom, identity, intelligence]
uses_types: []
file_path: "functions/cybersecurity/osint_phone.go"
---
-19
View File
@@ -1,19 +0,0 @@
---
name: osint_social_media
lang: go
domain: cybersecurity
version: "1.0.0"
algebraic: product
definition: |
type OsintSocialMedia struct {
Platform string `json:"platform"`
Username string `json:"username"`
URL string `json:"url"`
Followers int `json:"followers"`
Verified bool `json:"verified"`
}
description: "Cuenta de red social de interes en una investigacion OSINT. Contiene plataforma, usuario y seguidores."
tags: [osint, social_media, identity, intelligence]
uses_types: []
file_path: "functions/cybersecurity/osint_social_media.go"
---
@@ -1,11 +1,11 @@
---
name: osint_vulnerability
name: vulnerability
lang: go
domain: cybersecurity
version: "1.0.0"
algebraic: product
definition: |
type OsintVulnerability struct {
type Vulnerability struct {
CVEID string `json:"cve_id"`
CVSS float64 `json:"cvss"`
AffectedProduct string `json:"affected_product"`
@@ -15,5 +15,5 @@ definition: |
description: "Vulnerabilidad CVE rastreada en una investigacion OSINT. Contiene CVSS score y estado de explotacion."
tags: [osint, vulnerability, cve, threat, intelligence]
uses_types: []
file_path: "functions/cybersecurity/osint_vulnerability.go"
file_path: "functions/cybersecurity/vulnerability.go"
---