diff --git a/functions/cybersecurity/osint_document.go b/functions/core/document.go similarity index 60% rename from functions/cybersecurity/osint_document.go rename to functions/core/document.go index 8a1d9e5c..3d42d3ee 100644 --- a/functions/cybersecurity/osint_document.go +++ b/functions/core/document.go @@ -1,7 +1,7 @@ -package cybersecurity +package core -// OsintDocument represents a document or file of interest in an OSINT investigation. -type OsintDocument struct { +// Document represents a document or file of interest. +type Document struct { Title string `json:"title"` Format string `json:"format"` Classification string `json:"classification"` diff --git a/functions/cybersecurity/osint_domain.go b/functions/core/domain.go similarity index 62% rename from functions/cybersecurity/osint_domain.go rename to functions/core/domain.go index 4386c38b..2ae59069 100644 --- a/functions/cybersecurity/osint_domain.go +++ b/functions/core/domain.go @@ -1,7 +1,7 @@ -package cybersecurity +package core -// OsintDomain represents an internet domain tracked in an OSINT investigation. -type OsintDomain struct { +// Domain represents an internet domain. +type Domain struct { FQDN string `json:"fqdn"` Registrar string `json:"registrar"` CreatedDate string `json:"created_date"` diff --git a/functions/cybersecurity/osint_email.go b/functions/core/email.go similarity index 52% rename from functions/cybersecurity/osint_email.go rename to functions/core/email.go index 819c6f96..75b55980 100644 --- a/functions/cybersecurity/osint_email.go +++ b/functions/core/email.go @@ -1,7 +1,7 @@ -package cybersecurity +package core -// OsintEmail represents an email address of interest in an OSINT investigation. -type OsintEmail struct { +// Email represents an email address of interest. +type Email struct { Address string `json:"address"` Provider string `json:"provider"` Verified bool `json:"verified"` diff --git a/functions/cybersecurity/osint_event.go b/functions/core/event.go similarity index 60% rename from functions/cybersecurity/osint_event.go rename to functions/core/event.go index b28b534e..f4ed1610 100644 --- a/functions/cybersecurity/osint_event.go +++ b/functions/core/event.go @@ -1,7 +1,7 @@ -package cybersecurity +package core -// OsintEvent represents a notable event or incident in an OSINT investigation. -type OsintEvent struct { +// Event represents a notable event or incident. +type Event struct { EventType string `json:"event_type"` Date string `json:"date"` Location string `json:"location"` diff --git a/functions/cybersecurity/osint_location.go b/functions/core/location.go similarity index 53% rename from functions/cybersecurity/osint_location.go rename to functions/core/location.go index d4a63c4c..8d98a5f9 100644 --- a/functions/cybersecurity/osint_location.go +++ b/functions/core/location.go @@ -1,7 +1,7 @@ -package cybersecurity +package core -// OsintLocation represents a geographic location of interest in an OSINT investigation. -type OsintLocation struct { +// Location represents a geographic location of interest. +type Location struct { Lat float64 `json:"lat"` Lon float64 `json:"lon"` Address string `json:"address"` diff --git a/functions/cybersecurity/osint_organization.go b/functions/core/organization.go similarity index 56% rename from functions/cybersecurity/osint_organization.go rename to functions/core/organization.go index 3c5011b8..a69b831d 100644 --- a/functions/cybersecurity/osint_organization.go +++ b/functions/core/organization.go @@ -1,7 +1,7 @@ -package cybersecurity +package core -// OsintOrganization represents a company or group of interest in an OSINT investigation. -type OsintOrganization struct { +// Organization represents a company or group of interest. +type Organization struct { LegalName string `json:"legal_name"` Country string `json:"country"` Sector string `json:"sector"` diff --git a/functions/cybersecurity/osint_person.go b/functions/core/person.go similarity index 65% rename from functions/cybersecurity/osint_person.go rename to functions/core/person.go index 0d60f45d..7565bdc4 100644 --- a/functions/cybersecurity/osint_person.go +++ b/functions/core/person.go @@ -1,7 +1,7 @@ -package cybersecurity +package core -// OsintPerson represents an individual of interest in an OSINT investigation. -type OsintPerson struct { +// Person represents an individual of interest. +type Person struct { FullName string `json:"full_name"` Alias []string `json:"alias"` Nationality string `json:"nationality"` diff --git a/functions/cybersecurity/osint_phone.go b/functions/core/phone.go similarity index 55% rename from functions/cybersecurity/osint_phone.go rename to functions/core/phone.go index 885d64f7..459c8287 100644 --- a/functions/cybersecurity/osint_phone.go +++ b/functions/core/phone.go @@ -1,7 +1,7 @@ -package cybersecurity +package core -// OsintPhone represents a phone number of interest in an OSINT investigation. -type OsintPhone struct { +// Phone represents a phone number of interest. +type Phone struct { Number string `json:"number"` CountryCode string `json:"country_code"` Carrier string `json:"carrier"` diff --git a/functions/core/social_media.go b/functions/core/social_media.go new file mode 100644 index 00000000..26a35a9d --- /dev/null +++ b/functions/core/social_media.go @@ -0,0 +1,10 @@ +package core + +// SocialMedia represents a social media account of interest. +type SocialMedia struct { + Platform string `json:"platform"` + Username string `json:"username"` + URL string `json:"url"` + Followers int `json:"followers"` + Verified bool `json:"verified"` +} diff --git a/functions/cybersecurity/osint_crypto_wallet.go b/functions/cybersecurity/crypto_wallet.go similarity index 63% rename from functions/cybersecurity/osint_crypto_wallet.go rename to functions/cybersecurity/crypto_wallet.go index da331c40..f3f770c2 100644 --- a/functions/cybersecurity/osint_crypto_wallet.go +++ b/functions/cybersecurity/crypto_wallet.go @@ -1,7 +1,7 @@ package cybersecurity -// OsintCryptoWallet represents a cryptocurrency wallet tracked in an OSINT investigation. -type OsintCryptoWallet struct { +// CryptoWallet represents a cryptocurrency wallet tracked in an OSINT investigation. +type CryptoWallet struct { Address string `json:"address"` Blockchain string `json:"blockchain"` Balance float64 `json:"balance"` diff --git a/functions/cybersecurity/osint_ip_address.go b/functions/cybersecurity/ip_address.go similarity index 68% rename from functions/cybersecurity/osint_ip_address.go rename to functions/cybersecurity/ip_address.go index 4df40520..4af94dd0 100644 --- a/functions/cybersecurity/osint_ip_address.go +++ b/functions/cybersecurity/ip_address.go @@ -1,7 +1,7 @@ package cybersecurity -// OsintIPAddress represents an IP address of interest in an OSINT investigation. -type OsintIPAddress struct { +// IPAddress represents an IP address of interest in an OSINT investigation. +type IPAddress struct { IP string `json:"ip"` ASN string `json:"asn"` Country string `json:"country"` diff --git a/functions/cybersecurity/osint_malware.go b/functions/cybersecurity/malware.go similarity index 67% rename from functions/cybersecurity/osint_malware.go rename to functions/cybersecurity/malware.go index d6cefd1a..5863ba50 100644 --- a/functions/cybersecurity/osint_malware.go +++ b/functions/cybersecurity/malware.go @@ -1,7 +1,7 @@ package cybersecurity -// OsintMalware represents a malware sample tracked in an OSINT investigation. -type OsintMalware struct { +// Malware represents a malware sample tracked in an OSINT investigation. +type Malware struct { Family string `json:"family"` HashSHA256 string `json:"hash_sha256"` FirstSeen string `json:"first_seen"` diff --git a/functions/cybersecurity/osint_social_media.go b/functions/cybersecurity/osint_social_media.go deleted file mode 100644 index 46455688..00000000 --- a/functions/cybersecurity/osint_social_media.go +++ /dev/null @@ -1,10 +0,0 @@ -package cybersecurity - -// OsintSocialMedia represents a social media account of interest in an OSINT investigation. -type OsintSocialMedia struct { - Platform string `json:"platform"` - Username string `json:"username"` - URL string `json:"url"` - Followers int `json:"followers"` - Verified bool `json:"verified"` -} diff --git a/functions/cybersecurity/osint_vulnerability.go b/functions/cybersecurity/vulnerability.go similarity index 66% rename from functions/cybersecurity/osint_vulnerability.go rename to functions/cybersecurity/vulnerability.go index c3beb546..54022eb7 100644 --- a/functions/cybersecurity/osint_vulnerability.go +++ b/functions/cybersecurity/vulnerability.go @@ -1,7 +1,7 @@ package cybersecurity -// OsintVulnerability represents a CVE or security vulnerability in an OSINT investigation. -type OsintVulnerability struct { +// Vulnerability represents a CVE or security vulnerability in an OSINT investigation. +type Vulnerability struct { CVEID string `json:"cve_id"` CVSS float64 `json:"cvss"` AffectedProduct string `json:"affected_product"` diff --git a/types/cybersecurity/osint_document.md b/types/core/document.md similarity index 51% rename from types/cybersecurity/osint_document.md rename to types/core/document.md index e663b739..2c3bd9c3 100644 --- a/types/cybersecurity/osint_document.md +++ b/types/core/document.md @@ -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" --- diff --git a/types/cybersecurity/osint_domain.md b/types/core/domain.md similarity index 52% rename from types/cybersecurity/osint_domain.md rename to types/core/domain.md index c98d43be..967e25c4 100644 --- a/types/cybersecurity/osint_domain.md +++ b/types/core/domain.md @@ -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" --- diff --git a/types/core/email.md b/types/core/email.md new file mode 100644 index 00000000..f581ee0e --- /dev/null +++ b/types/core/email.md @@ -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" +--- diff --git a/types/cybersecurity/osint_event.md b/types/core/event.md similarity index 51% rename from types/cybersecurity/osint_event.md rename to types/core/event.md index 9ed9b83f..e7b20a5e 100644 --- a/types/cybersecurity/osint_event.md +++ b/types/core/event.md @@ -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" --- diff --git a/types/core/location.md b/types/core/location.md new file mode 100644 index 00000000..4f6bd541 --- /dev/null +++ b/types/core/location.md @@ -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" +--- diff --git a/types/core/organization.md b/types/core/organization.md new file mode 100644 index 00000000..ef525cee --- /dev/null +++ b/types/core/organization.md @@ -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" +--- diff --git a/types/cybersecurity/osint_person.md b/types/core/person.md similarity index 55% rename from types/cybersecurity/osint_person.md rename to types/core/person.md index 30088765..c437bba5 100644 --- a/types/cybersecurity/osint_person.md +++ b/types/core/person.md @@ -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" --- diff --git a/types/core/phone.md b/types/core/phone.md new file mode 100644 index 00000000..1cf9b84d --- /dev/null +++ b/types/core/phone.md @@ -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" +--- diff --git a/types/core/social_media.md b/types/core/social_media.md new file mode 100644 index 00000000..19fdc2db --- /dev/null +++ b/types/core/social_media.md @@ -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" +--- diff --git a/types/cybersecurity/osint_crypto_wallet.md b/types/cybersecurity/crypto_wallet.md similarity index 81% rename from types/cybersecurity/osint_crypto_wallet.md rename to types/cybersecurity/crypto_wallet.md index f4c025b7..47e6c53f 100644 --- a/types/cybersecurity/osint_crypto_wallet.md +++ b/types/cybersecurity/crypto_wallet.md @@ -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" --- diff --git a/types/cybersecurity/osint_ip_address.md b/types/cybersecurity/ip_address.md similarity index 82% rename from types/cybersecurity/osint_ip_address.md rename to types/cybersecurity/ip_address.md index a10170e3..fc5cd838 100644 --- a/types/cybersecurity/osint_ip_address.md +++ b/types/cybersecurity/ip_address.md @@ -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" --- diff --git a/types/cybersecurity/osint_malware.md b/types/cybersecurity/malware.md similarity index 82% rename from types/cybersecurity/osint_malware.md rename to types/cybersecurity/malware.md index 3138bc78..6998016a 100644 --- a/types/cybersecurity/osint_malware.md +++ b/types/cybersecurity/malware.md @@ -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" --- diff --git a/types/cybersecurity/osint_email.md b/types/cybersecurity/osint_email.md deleted file mode 100644 index ad50f52a..00000000 --- a/types/cybersecurity/osint_email.md +++ /dev/null @@ -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" ---- diff --git a/types/cybersecurity/osint_location.md b/types/cybersecurity/osint_location.md deleted file mode 100644 index 14937d65..00000000 --- a/types/cybersecurity/osint_location.md +++ /dev/null @@ -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" ---- diff --git a/types/cybersecurity/osint_organization.md b/types/cybersecurity/osint_organization.md deleted file mode 100644 index 0d5576e3..00000000 --- a/types/cybersecurity/osint_organization.md +++ /dev/null @@ -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" ---- diff --git a/types/cybersecurity/osint_phone.md b/types/cybersecurity/osint_phone.md deleted file mode 100644 index 4823faa1..00000000 --- a/types/cybersecurity/osint_phone.md +++ /dev/null @@ -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" ---- diff --git a/types/cybersecurity/osint_social_media.md b/types/cybersecurity/osint_social_media.md deleted file mode 100644 index 03f98db1..00000000 --- a/types/cybersecurity/osint_social_media.md +++ /dev/null @@ -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" ---- diff --git a/types/cybersecurity/osint_vulnerability.md b/types/cybersecurity/vulnerability.md similarity index 81% rename from types/cybersecurity/osint_vulnerability.md rename to types/cybersecurity/vulnerability.md index 7abea230..47bd7344 100644 --- a/types/cybersecurity/osint_vulnerability.md +++ b/types/cybersecurity/vulnerability.md @@ -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" ---